From ac2c3847afc0f7a9a0d3b99064188124df6a6fb5 Mon Sep 17 00:00:00 2001 From: Lukas Neubert Date: Mon, 18 Jan 2021 13:20:06 +0100 Subject: [PATCH] all: update copyright to 2019-2021 (#8029) --- LICENSE | 2 +- cmd/tools/fast/fast.v | 2 +- cmd/tools/vcomplete.v | 2 +- cmd/tools/vcreate.v | 2 +- cmd/tools/vfmt.v | 2 +- cmd/tools/vpm.v | 2 +- cmd/tools/vrepl.v | 2 +- cmd/tools/vvet/vvet.v | 2 +- cmd/v/v.v | 2 +- examples/news_fetcher.v | 2 +- examples/path_tracing.v | 2 +- examples/regex_example.v | 4 +- examples/tetris/tetris.v | 2 +- examples/word_counter/word_counter.v | 2 +- vlib/builtin/array.v | 2 +- vlib/builtin/builtin.v | 2 +- vlib/builtin/builtin_nix.c.v | 2 +- vlib/builtin/builtin_windows.c.v | 2 +- vlib/builtin/float.v | 2 +- vlib/builtin/float_x64.v | 3 +- vlib/builtin/int.v | 2 +- vlib/builtin/js/builtin.v | 2 +- vlib/builtin/js/jsfns.js.v | 4 +- vlib/builtin/js/jsfns_browser.js.v | 2 +- vlib/builtin/js/jsfns_node.js.v | 2 +- vlib/builtin/map.v | 2 +- vlib/builtin/option.v | 2 +- vlib/builtin/rune.v | 3 +- vlib/builtin/sorted_map.v | 2 +- vlib/builtin/string.v | 2 +- vlib/builtin/string_strip_margin_test.v | 2 +- vlib/builtin/string_test.v | 2 +- vlib/builtin/utf8.v | 2 +- vlib/crypto/aes/aes.v | 2 +- vlib/crypto/aes/aes_cbc.v | 2 +- vlib/crypto/aes/aes_test.v | 2 +- vlib/crypto/aes/block_generic.v | 2 +- vlib/crypto/aes/const.v | 2 +- vlib/crypto/aes/cypher_generic.v | 2 +- vlib/crypto/cipher/xor_generic.v | 2 +- vlib/crypto/internal/subtle/aliasing.v | 2 +- vlib/crypto/md5/md5.v | 2 +- vlib/crypto/md5/md5_test.v | 4 +- vlib/crypto/md5/md5block_generic.v | 2 +- vlib/crypto/rand/rand.v | 2 +- vlib/crypto/rand/rand_darwin.c.v | 2 +- vlib/crypto/rand/rand_linux.c.v | 2 +- vlib/crypto/rand/rand_solaris.c.v | 2 +- vlib/crypto/rand/rand_windows.c.v | 2 +- vlib/crypto/rand/utils.v | 2 +- vlib/crypto/rc4/rc4.v | 2 +- vlib/crypto/rc4/rc4_test.v | 12 ++--- vlib/crypto/sha1/sha1.v | 2 +- vlib/crypto/sha1/sha1_test.v | 4 +- vlib/crypto/sha1/sha1block_generic.v | 2 +- vlib/crypto/sha256/sha256.v | 2 +- vlib/crypto/sha256/sha256_test.v | 2 +- vlib/crypto/sha256/sha256block_generic.v | 2 +- vlib/crypto/sha512/sha512.v | 2 +- vlib/crypto/sha512/sha512_test.v | 3 +- vlib/crypto/sha512/sha512block_generic.v | 2 +- vlib/encoding/base64/base64.v | 2 +- vlib/encoding/binary/binary.v | 2 +- vlib/encoding/csv/reader.v | 2 +- vlib/encoding/csv/writer.v | 2 +- vlib/gg/gg.v | 2 +- vlib/gg/image.v | 2 +- vlib/gg/text_rendering.v | 2 +- vlib/glm/glm.v | 2 +- vlib/glm/glm_test.v | 2 +- vlib/hash/crc32/crc32.v | 2 +- vlib/hash/hash.v | 2 +- vlib/hash/wyhash.v | 2 +- vlib/json/json_primitives.v | 2 +- vlib/log/log.v | 2 +- vlib/math/bits.v | 3 +- vlib/math/bits/bits.v | 2 +- vlib/math/bits/bits_tables.v | 3 +- vlib/math/complex/complex.v | 2 +- vlib/math/const.v | 3 +- vlib/math/factorial/factorial.v | 2 +- vlib/math/factorial/factorial_tables.v | 2 +- vlib/math/fractions/approximations.v | 2 +- vlib/math/fractions/approximations_test.v | 2 +- vlib/math/fractions/fraction.v | 2 +- vlib/math/fractions/fraction_test.v | 2 +- vlib/math/math.c.v | 2 +- vlib/math/math.js.v | 2 +- vlib/math/math.v | 2 +- vlib/math/unsafe.v | 3 +- vlib/net/http/backend_nix.c.v | 2 +- vlib/net/http/backend_windows.c.v | 2 +- vlib/net/http/download.v | 2 +- vlib/net/http/download_nix.c.v | 2 +- vlib/net/http/download_windows.c.v | 2 +- vlib/net/http/http.v | 2 +- vlib/net/http/method.v | 2 +- vlib/net/urllib/urllib_test.v | 6 +-- vlib/net/urllib/values.v | 2 +- vlib/os/args.v | 2 +- vlib/os/environment.c.v | 2 +- vlib/os/inode.c.v | 2 +- vlib/os/os.v | 2 +- vlib/os/os_darwin.c.v | 2 +- vlib/os/os_linux.c.v | 2 +- vlib/picoev/picoev.v | 2 +- vlib/picohttpparser/picohttpparser.v | 2 +- vlib/rand/mt19937/mt19937.v | 2 +- vlib/rand/musl/musl_rng.v | 2 +- vlib/rand/pcg32/pcg32.v | 2 +- vlib/rand/rand.v | 2 +- vlib/rand/splitmix64/splitmix64.v | 2 +- vlib/rand/sys/system_rng.c.v | 2 +- vlib/rand/sys/system_rng.js.v | 2 +- vlib/rand/util/util.v | 2 +- vlib/rand/wyrand/wyrand.v | 2 +- vlib/readline/readline.v | 2 +- vlib/readline/readline_default.c.v | 2 +- vlib/readline/readline_linux.c.v | 2 +- vlib/readline/readline_windows.c.v | 2 +- vlib/regex/regex.v | 66 +++++++++++------------ vlib/regex/regex_util.v | 6 +-- vlib/runtime/runtime.c.v | 2 +- vlib/runtime/runtime.v | 2 +- vlib/stbi/stbi.v | 3 +- vlib/strconv/atoi.v | 2 +- vlib/strconv/f32_str.v | 4 +- vlib/strconv/f64_str.v | 2 +- vlib/strconv/ftoa.v | 2 +- vlib/strconv/utilities.v | 2 +- vlib/strings/builder.js.v | 2 +- vlib/strings/builder.v | 4 +- vlib/sync/sync_nix.c.v | 2 +- vlib/sync/sync_windows.c.v | 2 +- vlib/term/colors.v | 2 +- vlib/term/control.v | 2 +- vlib/time/format.v | 2 +- vlib/time/parse.v | 2 +- vlib/time/stopwatch.v | 2 +- vlib/time/time.v | 2 +- vlib/time/time_nix.c.v | 2 +- vlib/time/time_windows.c.v | 2 +- vlib/time/unix.v | 2 +- vlib/v/ast/ast.v | 2 +- vlib/v/ast/scope.v | 2 +- vlib/v/ast/str.v | 2 +- vlib/v/builder/cc.v | 2 +- vlib/v/builder/compile.v | 2 +- vlib/v/cflag/cflags.v | 2 +- vlib/v/checker/check_types.v | 2 +- vlib/v/checker/checker.v | 2 +- vlib/v/depgraph/depgraph.v | 2 +- vlib/v/eval/eval.v | 2 +- vlib/v/fmt/fmt.v | 2 +- vlib/v/gen/array.v | 2 +- vlib/v/gen/auto_eq_methods.v | 2 +- vlib/v/gen/auto_str_methods.v | 2 +- vlib/v/gen/cgen.v | 2 +- vlib/v/gen/comptime.v | 2 +- vlib/v/gen/fn.v | 2 +- vlib/v/gen/json.v | 2 +- vlib/v/gen/sql.v | 2 +- vlib/v/gen/str.v | 2 +- vlib/v/gen/x64/elf.v | 2 +- vlib/v/gen/x64/elf_obj.v | 2 +- vlib/v/gen/x64/gen.v | 2 +- vlib/v/parser/assign.v | 2 +- vlib/v/parser/comptime.v | 2 +- vlib/v/parser/containers.v | 2 +- vlib/v/parser/fn.v | 2 +- vlib/v/parser/for.v | 2 +- vlib/v/parser/if_match.v | 2 +- vlib/v/parser/module.v | 2 +- vlib/v/parser/parse_type.v | 2 +- vlib/v/parser/parser.v | 2 +- vlib/v/parser/pratt.v | 2 +- vlib/v/parser/sql.v | 2 +- vlib/v/parser/struct.v | 2 +- vlib/v/pref/default.v | 2 +- vlib/v/pref/os.v | 2 +- vlib/v/pref/pref.v | 2 +- vlib/v/scanner/scanner.v | 2 +- vlib/v/scanner/scanner_test.v | 2 +- vlib/v/table/attr.v | 2 +- vlib/v/table/cflags.v | 2 +- vlib/v/table/table.v | 2 +- vlib/v/table/types.v | 2 +- vlib/v/token/position.v | 2 +- vlib/v/token/token.v | 2 +- vlib/v/util/errors.v | 2 +- vlib/v/util/timers.v | 2 +- vlib/v/util/util.v | 2 +- vlib/v/vet/vet.v | 2 +- vlib/vweb/tmpl/tmpl.v | 2 +- vlib/vweb/vweb.v | 2 +- vlib/x/json2/decoder.v | 2 +- vlib/x/json2/encoder.v | 2 +- vlib/x/json2/json2.v | 2 +- 198 files changed, 245 insertions(+), 253 deletions(-) diff --git a/LICENSE b/LICENSE index 869b6379b..ea31d17d3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2020 Alexander Medvednikov +Copyright (c) 2019-2021 Alexander Medvednikov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/cmd/tools/fast/fast.v b/cmd/tools/fast/fast.v index 59df0f64c..ffda1b146 100644 --- a/cmd/tools/fast/fast.v +++ b/cmd/tools/fast/fast.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import os diff --git a/cmd/tools/vcomplete.v b/cmd/tools/vcomplete.v index 3190e8f9a..f9e41d512 100644 --- a/cmd/tools/vcomplete.v +++ b/cmd/tools/vcomplete.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/cmd/tools/vcreate.v b/cmd/tools/vcreate.v index 047bd71ab..6a2c76640 100644 --- a/cmd/tools/vcreate.v +++ b/cmd/tools/vcreate.v @@ -1,6 +1,6 @@ module main -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. // // This module follows a similar convention to Rust: `init` makes the diff --git a/cmd/tools/vfmt.v b/cmd/tools/vfmt.v index dfb351ff4..e4a92acfe 100644 --- a/cmd/tools/vfmt.v +++ b/cmd/tools/vfmt.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module main diff --git a/cmd/tools/vpm.v b/cmd/tools/vpm.v index 30c03009d..dafe053b9 100644 --- a/cmd/tools/vpm.v +++ b/cmd/tools/vpm.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module main diff --git a/cmd/tools/vrepl.v b/cmd/tools/vrepl.v index ac8df82b9..1b90fbef3 100644 --- a/cmd/tools/vrepl.v +++ b/cmd/tools/vrepl.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module main diff --git a/cmd/tools/vvet/vvet.v b/cmd/tools/vvet/vvet.v index f66c235c0..45ed5a325 100644 --- a/cmd/tools/vvet/vvet.v +++ b/cmd/tools/vvet/vvet.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module main diff --git a/cmd/v/v.v b/cmd/v/v.v index 97c5cd430..84a9ea25e 100644 --- a/cmd/v/v.v +++ b/cmd/v/v.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module main diff --git a/examples/news_fetcher.v b/examples/news_fetcher.v index e32abc2b0..19d42068d 100644 --- a/examples/news_fetcher.v +++ b/examples/news_fetcher.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import net.http diff --git a/examples/path_tracing.v b/examples/path_tracing.v index 351bfccd3..588cd22ec 100644 --- a/examples/path_tracing.v +++ b/examples/path_tracing.v @@ -1,7 +1,7 @@ /********************************************************************** * path tracing demo * -* Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +* Copyright (c) 2019-2021 Dario Deledda. All rights reserved. * Use of this source code is governed by an MIT license * that can be found in the LICENSE file. * diff --git a/examples/regex_example.v b/examples/regex_example.v index 8240319f6..29a2e6816 100644 --- a/examples/regex_example.v +++ b/examples/regex_example.v @@ -1,7 +1,7 @@ /********************************************************************** * regex samples * -* Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +* Copyright (c) 2019-2021 Dario Deledda. All rights reserved. * Use of this source code is governed by an MIT license * that can be found in the LICENSE file. * @@ -77,4 +77,4 @@ fn main() { // convert HTML rgb color using maned groups println(convert_html_rgb_n("#A0B0CC").hex()) println(convert_html_rgb_n("#ABC").hex()) -} \ No newline at end of file +} diff --git a/examples/tetris/tetris.v b/examples/tetris/tetris.v index 173522fdd..09aa801f6 100644 --- a/examples/tetris/tetris.v +++ b/examples/tetris/tetris.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module main diff --git a/examples/word_counter/word_counter.v b/examples/word_counter/word_counter.v index f5499be6d..efe472bf1 100644 --- a/examples/word_counter/word_counter.v +++ b/examples/word_counter/word_counter.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/array.v b/vlib/builtin/array.v index 672c0b118..241fb787b 100644 --- a/vlib/builtin/array.v +++ b/vlib/builtin/array.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/builtin.v b/vlib/builtin/builtin.v index cf0ec90a8..17b9d9981 100644 --- a/vlib/builtin/builtin.v +++ b/vlib/builtin/builtin.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/builtin_nix.c.v b/vlib/builtin/builtin_nix.c.v index 27c8c9668..ce47656a8 100644 --- a/vlib/builtin/builtin_nix.c.v +++ b/vlib/builtin/builtin_nix.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/builtin_windows.c.v b/vlib/builtin/builtin_windows.c.v index 7be88f902..5abd4f79b 100644 --- a/vlib/builtin/builtin_windows.c.v +++ b/vlib/builtin/builtin_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/float.v b/vlib/builtin/float.v index 12866858a..602f91ecd 100644 --- a/vlib/builtin/float.v +++ b/vlib/builtin/float.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/float_x64.v b/vlib/builtin/float_x64.v index 717c77aea..a265bd99a 100644 --- a/vlib/builtin/float_x64.v +++ b/vlib/builtin/float_x64.v @@ -1,7 +1,6 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module builtin fn float_test() { } - diff --git a/vlib/builtin/int.v b/vlib/builtin/int.v index 490cc3406..38f2d09e1 100644 --- a/vlib/builtin/int.v +++ b/vlib/builtin/int.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/js/builtin.v b/vlib/builtin/js/builtin.v index 9491e2bf3..d10bbd24d 100644 --- a/vlib/builtin/js/builtin.v +++ b/vlib/builtin/js/builtin.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/js/jsfns.js.v b/vlib/builtin/js/jsfns.js.v index b65945f8a..677d6aa96 100644 --- a/vlib/builtin/js/jsfns.js.v +++ b/vlib/builtin/js/jsfns.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. @@ -83,4 +83,4 @@ fn JS.Math.tan(f64) f64 // JSON fn JS.JSON.stringify(any) string -fn JS.JSON.parse(string) any \ No newline at end of file +fn JS.JSON.parse(string) any diff --git a/vlib/builtin/js/jsfns_browser.js.v b/vlib/builtin/js/jsfns_browser.js.v index d8fdb7712..dddc4277b 100644 --- a/vlib/builtin/js/jsfns_browser.js.v +++ b/vlib/builtin/js/jsfns_browser.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/js/jsfns_node.js.v b/vlib/builtin/js/jsfns_node.js.v index 161a58b7c..13b537354 100644 --- a/vlib/builtin/js/jsfns_node.js.v +++ b/vlib/builtin/js/jsfns_node.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/map.v b/vlib/builtin/map.v index a1ad407e7..7e749c359 100644 --- a/vlib/builtin/map.v +++ b/vlib/builtin/map.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/option.v b/vlib/builtin/option.v index 61a5d73a5..2591426eb 100644 --- a/vlib/builtin/option.v +++ b/vlib/builtin/option.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/rune.v b/vlib/builtin/rune.v index f8d447fcc..acfc66efc 100644 --- a/vlib/builtin/rune.v +++ b/vlib/builtin/rune.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module builtin @@ -54,4 +54,3 @@ fn bytes2string(b []byte) string { res := tos(copy.data, copy.len-1) return res } - diff --git a/vlib/builtin/sorted_map.v b/vlib/builtin/sorted_map.v index a7bd62d70..9fdd0eab9 100644 --- a/vlib/builtin/sorted_map.v +++ b/vlib/builtin/sorted_map.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/string.v b/vlib/builtin/string.v index 5672cb767..42c0ce97e 100644 --- a/vlib/builtin/string.v +++ b/vlib/builtin/string.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/builtin/string_strip_margin_test.v b/vlib/builtin/string_strip_margin_test.v index 04729a65d..6a71cd395 100644 --- a/vlib/builtin/string_strip_margin_test.v +++ b/vlib/builtin/string_strip_margin_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/string_test.v b/vlib/builtin/string_test.v index df9cc43c6..3c8bd0e8a 100644 --- a/vlib/builtin/string_test.v +++ b/vlib/builtin/string_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/builtin/utf8.v b/vlib/builtin/utf8.v index 1a2d66d90..9ce0ffa05 100644 --- a/vlib/builtin/utf8.v +++ b/vlib/builtin/utf8.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builtin diff --git a/vlib/crypto/aes/aes.v b/vlib/crypto/aes/aes.v index 53f32ddee..010c2163c 100644 --- a/vlib/crypto/aes/aes.v +++ b/vlib/crypto/aes/aes.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Based off: https://github.com/golang/go/blob/master/src/crypto/aes diff --git a/vlib/crypto/aes/aes_cbc.v b/vlib/crypto/aes/aes_cbc.v index c3f5fac84..5a7e224ff 100644 --- a/vlib/crypto/aes/aes_cbc.v +++ b/vlib/crypto/aes/aes_cbc.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Cipher block chaining (CBC) mode. diff --git a/vlib/crypto/aes/aes_test.v b/vlib/crypto/aes/aes_test.v index 069268b0c..38e773b4c 100644 --- a/vlib/crypto/aes/aes_test.v +++ b/vlib/crypto/aes/aes_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import crypto.aes diff --git a/vlib/crypto/aes/block_generic.v b/vlib/crypto/aes/block_generic.v index e07f782df..2927daa7f 100644 --- a/vlib/crypto/aes/block_generic.v +++ b/vlib/crypto/aes/block_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // This implementation is derived from the golang implementation diff --git a/vlib/crypto/aes/const.v b/vlib/crypto/aes/const.v index 4cf0c60c6..1fe33573d 100644 --- a/vlib/crypto/aes/const.v +++ b/vlib/crypto/aes/const.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/aes/cypher_generic.v b/vlib/crypto/aes/cypher_generic.v index 4855dbeef..a1b10070b 100644 --- a/vlib/crypto/aes/cypher_generic.v +++ b/vlib/crypto/aes/cypher_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module aes diff --git a/vlib/crypto/cipher/xor_generic.v b/vlib/crypto/cipher/xor_generic.v index 5d73c5bff..59a6f3685 100644 --- a/vlib/crypto/cipher/xor_generic.v +++ b/vlib/crypto/cipher/xor_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module cipher diff --git a/vlib/crypto/internal/subtle/aliasing.v b/vlib/crypto/internal/subtle/aliasing.v index 8b192238f..4108809ad 100644 --- a/vlib/crypto/internal/subtle/aliasing.v +++ b/vlib/crypto/internal/subtle/aliasing.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package subtle implements functions that are often useful in cryptographic diff --git a/vlib/crypto/md5/md5.v b/vlib/crypto/md5/md5.v index b742e2891..2f04bee40 100644 --- a/vlib/crypto/md5/md5.v +++ b/vlib/crypto/md5/md5.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package md5 implements the MD5 hash algorithm as defined in RFC 1321. diff --git a/vlib/crypto/md5/md5_test.v b/vlib/crypto/md5/md5_test.v index 9782ada1b..60530d9b5 100644 --- a/vlib/crypto/md5/md5_test.v +++ b/vlib/crypto/md5/md5_test.v @@ -1,9 +1,9 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import crypto.md5 -fn test_crypto_md5() { +fn test_crypto_md5() { assert md5.sum('this is a md5 checksum.'.bytes()).hex() == '6fb421ff99036547655984da12973431' } diff --git a/vlib/crypto/md5/md5block_generic.v b/vlib/crypto/md5/md5block_generic.v index f381bd670..e2dd6029b 100644 --- a/vlib/crypto/md5/md5block_generic.v +++ b/vlib/crypto/md5/md5block_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rand/rand.v b/vlib/crypto/rand/rand.v index 4c5fef5ec..17f5c10f9 100644 --- a/vlib/crypto/rand/rand.v +++ b/vlib/crypto/rand/rand.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rand/rand_darwin.c.v b/vlib/crypto/rand/rand_darwin.c.v index 44ea5d68e..1a91abe6a 100644 --- a/vlib/crypto/rand/rand_darwin.c.v +++ b/vlib/crypto/rand/rand_darwin.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rand/rand_linux.c.v b/vlib/crypto/rand/rand_linux.c.v index d29de7173..caca0704f 100644 --- a/vlib/crypto/rand/rand_linux.c.v +++ b/vlib/crypto/rand/rand_linux.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module rand diff --git a/vlib/crypto/rand/rand_solaris.c.v b/vlib/crypto/rand/rand_solaris.c.v index 52ceb1737..fc3bb16cc 100644 --- a/vlib/crypto/rand/rand_solaris.c.v +++ b/vlib/crypto/rand/rand_solaris.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rand/rand_windows.c.v b/vlib/crypto/rand/rand_windows.c.v index 056cd07f1..4d1eecbda 100644 --- a/vlib/crypto/rand/rand_windows.c.v +++ b/vlib/crypto/rand/rand_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rand/utils.v b/vlib/crypto/rand/utils.v index d5f852b02..537bf2891 100644 --- a/vlib/crypto/rand/utils.v +++ b/vlib/crypto/rand/utils.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/rc4/rc4.v b/vlib/crypto/rc4/rc4.v index 94d522ffd..97b2be4b2 100644 --- a/vlib/crypto/rc4/rc4.v +++ b/vlib/crypto/rc4/rc4.v @@ -1,6 +1,6 @@ module rc4 -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package rc4 implements RC4 encryption, as defined in Bruce Schneier's diff --git a/vlib/crypto/rc4/rc4_test.v b/vlib/crypto/rc4/rc4_test.v index 1ede6ef4a..d7ccc2028 100644 --- a/vlib/crypto/rc4/rc4_test.v +++ b/vlib/crypto/rc4/rc4_test.v @@ -1,22 +1,22 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import crypto.rc4 -fn test_crypto_rc4() { +fn test_crypto_rc4() { key := 'tthisisourrc4key'.bytes() - + mut c := rc4.new_cipher(key) or { println(err) return } - + mut src := 'toencrypt'.bytes() - + // src & dst same, encrypt in place c.xor_key_stream(mut src, mut src) // encrypt data - + c.reset() assert src.hex() == '189a39a91aea8afa65' diff --git a/vlib/crypto/sha1/sha1.v b/vlib/crypto/sha1/sha1.v index 3532a6e95..85dcc6f54 100644 --- a/vlib/crypto/sha1/sha1.v +++ b/vlib/crypto/sha1/sha1.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. diff --git a/vlib/crypto/sha1/sha1_test.v b/vlib/crypto/sha1/sha1_test.v index a83d70975..fb11c7fe5 100644 --- a/vlib/crypto/sha1/sha1_test.v +++ b/vlib/crypto/sha1/sha1_test.v @@ -1,9 +1,9 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import crypto.sha1 -fn test_crypto_sha1() { +fn test_crypto_sha1() { assert sha1.sum('This is a sha1 checksum.'.bytes()).hex() == 'e100d74442faa5dcd59463b808983c810a8eb5a1' } diff --git a/vlib/crypto/sha1/sha1block_generic.v b/vlib/crypto/sha1/sha1block_generic.v index f9843c260..9f2f3b4b5 100644 --- a/vlib/crypto/sha1/sha1block_generic.v +++ b/vlib/crypto/sha1/sha1block_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // This is the generic version with no architecture optimizations. diff --git a/vlib/crypto/sha256/sha256.v b/vlib/crypto/sha256/sha256.v index 52d987d71..03c78b903 100644 --- a/vlib/crypto/sha256/sha256.v +++ b/vlib/crypto/sha256/sha256.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package sha256 implements the SHA224 and SHA256 hash algorithms as defined diff --git a/vlib/crypto/sha256/sha256_test.v b/vlib/crypto/sha256/sha256_test.v index 52c928f5b..8aad0001a 100644 --- a/vlib/crypto/sha256/sha256_test.v +++ b/vlib/crypto/sha256/sha256_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/crypto/sha256/sha256block_generic.v b/vlib/crypto/sha256/sha256block_generic.v index a64990efb..1a20a5438 100644 --- a/vlib/crypto/sha256/sha256block_generic.v +++ b/vlib/crypto/sha256/sha256block_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // SHA256 block step. diff --git a/vlib/crypto/sha512/sha512.v b/vlib/crypto/sha512/sha512.v index 28cb1deb6..8639c98f2 100644 --- a/vlib/crypto/sha512/sha512.v +++ b/vlib/crypto/sha512/sha512.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 diff --git a/vlib/crypto/sha512/sha512_test.v b/vlib/crypto/sha512/sha512_test.v index 5b4e15c77..50676d9fc 100644 --- a/vlib/crypto/sha512/sha512_test.v +++ b/vlib/crypto/sha512/sha512_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import crypto.sha512 @@ -6,4 +6,3 @@ import crypto.sha512 fn test_crypto_sha512() { assert sha512.sum512('This is a sha512 checksum.'.bytes()).hex() == '4143e55fcba7e39b20f62a1368e5eb28f64a8859458886117ac66027832e0f9f5263daec688c439d2d0fa07059334668d39e59543039703dbb7e03ec9da7f8d7' } - diff --git a/vlib/crypto/sha512/sha512block_generic.v b/vlib/crypto/sha512/sha512block_generic.v index 0b4a8b493..72a6f5e36 100644 --- a/vlib/crypto/sha512/sha512block_generic.v +++ b/vlib/crypto/sha512/sha512block_generic.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // SHA512 block step. diff --git a/vlib/encoding/base64/base64.v b/vlib/encoding/base64/base64.v index 1e4ca663a..cd79e8445 100644 --- a/vlib/encoding/base64/base64.v +++ b/vlib/encoding/base64/base64.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/encoding/binary/binary.v b/vlib/encoding/binary/binary.v index e649cfaf6..3c46d1baa 100644 --- a/vlib/encoding/binary/binary.v +++ b/vlib/encoding/binary/binary.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module binary diff --git a/vlib/encoding/csv/reader.v b/vlib/encoding/csv/reader.v index 04745da02..90abd036c 100644 --- a/vlib/encoding/csv/reader.v +++ b/vlib/encoding/csv/reader.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module csv diff --git a/vlib/encoding/csv/writer.v b/vlib/encoding/csv/writer.v index 3f9a5c10b..bff55bb0e 100644 --- a/vlib/encoding/csv/writer.v +++ b/vlib/encoding/csv/writer.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module csv diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index 2828d7d34..e35540015 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gg diff --git a/vlib/gg/image.v b/vlib/gg/image.v index 5cab32030..0133cc714 100644 --- a/vlib/gg/image.v +++ b/vlib/gg/image.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gg diff --git a/vlib/gg/text_rendering.v b/vlib/gg/text_rendering.v index bf70f43ba..3094dc68a 100644 --- a/vlib/gg/text_rendering.v +++ b/vlib/gg/text_rendering.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gg diff --git a/vlib/glm/glm.v b/vlib/glm/glm.v index 61b602838..6a4c88b6b 100644 --- a/vlib/glm/glm.v +++ b/vlib/glm/glm.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module glm diff --git a/vlib/glm/glm_test.v b/vlib/glm/glm_test.v index 2ffb38d45..c7888bff0 100644 --- a/vlib/glm/glm_test.v +++ b/vlib/glm/glm_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // might need special case for this diff --git a/vlib/hash/crc32/crc32.v b/vlib/hash/crc32/crc32.v index 5babc6ef6..c415c0543 100644 --- a/vlib/hash/crc32/crc32.v +++ b/vlib/hash/crc32/crc32.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/hash/hash.v b/vlib/hash/hash.v index f2109473d..eabb166c0 100644 --- a/vlib/hash/hash.v +++ b/vlib/hash/hash.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module hash diff --git a/vlib/hash/wyhash.v b/vlib/hash/wyhash.v index df13a70cc..c25934aff 100644 --- a/vlib/hash/wyhash.v +++ b/vlib/hash/wyhash.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/json/json_primitives.v b/vlib/json/json_primitives.v index b4377e7a8..df7672b58 100644 --- a/vlib/json/json_primitives.v +++ b/vlib/json/json_primitives.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module json diff --git a/vlib/log/log.v b/vlib/log/log.v index fe864a7f5..701443b9a 100644 --- a/vlib/log/log.v +++ b/vlib/log/log.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module log diff --git a/vlib/math/bits.v b/vlib/math/bits.v index 9a93974a2..d26091a8b 100644 --- a/vlib/math/bits.v +++ b/vlib/math/bits.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math @@ -56,4 +56,3 @@ pub fn is_inf(f f64, sign int) bool { // } // return x, 0 // } - diff --git a/vlib/math/bits/bits.v b/vlib/math/bits/bits.v index e53ece5ff..990eed846 100644 --- a/vlib/math/bits/bits.v +++ b/vlib/math/bits/bits.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module bits diff --git a/vlib/math/bits/bits_tables.v b/vlib/math/bits/bits_tables.v index c1c556309..8744a8220 100644 --- a/vlib/math/bits/bits_tables.v +++ b/vlib/math/bits/bits_tables.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module bits @@ -73,4 +73,3 @@ const ( 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, ] ) - diff --git a/vlib/math/complex/complex.v b/vlib/math/complex/complex.v index a879f6ec8..afe4866bb 100644 --- a/vlib/math/complex/complex.v +++ b/vlib/math/complex/complex.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/math/const.v b/vlib/math/const.v index ba228ffe6..09eef1e78 100644 --- a/vlib/math/const.v +++ b/vlib/math/const.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math @@ -45,4 +45,3 @@ pub const ( max_u32 = u32(4294967295) max_u64 = u64(18446744073709551615) ) - diff --git a/vlib/math/factorial/factorial.v b/vlib/math/factorial/factorial.v index f47116a64..7e36d35e5 100644 --- a/vlib/math/factorial/factorial.v +++ b/vlib/math/factorial/factorial.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/math/factorial/factorial_tables.v b/vlib/math/factorial/factorial_tables.v index a8ec62ff4..9104091b0 100644 --- a/vlib/math/factorial/factorial_tables.v +++ b/vlib/math/factorial/factorial_tables.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/math/fractions/approximations.v b/vlib/math/fractions/approximations.v index ff74eb397..dc016b036 100644 --- a/vlib/math/fractions/approximations.v +++ b/vlib/math/fractions/approximations.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module fractions diff --git a/vlib/math/fractions/approximations_test.v b/vlib/math/fractions/approximations_test.v index 140d7755a..40dbeecdf 100644 --- a/vlib/math/fractions/approximations_test.v +++ b/vlib/math/fractions/approximations_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import math.fractions diff --git a/vlib/math/fractions/fraction.v b/vlib/math/fractions/fraction.v index 3d61fd72a..ebac88403 100644 --- a/vlib/math/fractions/fraction.v +++ b/vlib/math/fractions/fraction.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module fractions diff --git a/vlib/math/fractions/fraction_test.v b/vlib/math/fractions/fraction_test.v index d84579960..4928b7c58 100644 --- a/vlib/math/fractions/fraction_test.v +++ b/vlib/math/fractions/fraction_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. import math.fractions diff --git a/vlib/math/math.c.v b/vlib/math/math.c.v index b63c1f46f..f6ce74dbe 100644 --- a/vlib/math/math.c.v +++ b/vlib/math/math.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math diff --git a/vlib/math/math.js.v b/vlib/math/math.js.v index 0a2798de2..776172744 100644 --- a/vlib/math/math.js.v +++ b/vlib/math/math.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math diff --git a/vlib/math/math.v b/vlib/math/math.v index d4b890a57..5f9ab8fbe 100644 --- a/vlib/math/math.v +++ b/vlib/math/math.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math diff --git a/vlib/math/unsafe.v b/vlib/math/unsafe.v index d3687ef9c..db2be8bd7 100644 --- a/vlib/math/unsafe.v +++ b/vlib/math/unsafe.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module math @@ -35,4 +35,3 @@ pub fn f64_from_bits(b u64) f64 { p := *unsafe {&f64(&b)} return p } - diff --git a/vlib/net/http/backend_nix.c.v b/vlib/net/http/backend_nix.c.v index 205627935..b580f5cbf 100644 --- a/vlib/net/http/backend_nix.c.v +++ b/vlib/net/http/backend_nix.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/http/backend_windows.c.v b/vlib/net/http/backend_windows.c.v index c099b437b..ee3ab5ebc 100644 --- a/vlib/net/http/backend_windows.c.v +++ b/vlib/net/http/backend_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/http/download.v b/vlib/net/http/download.v index edb6a37c6..2599cfc18 100644 --- a/vlib/net/http/download.v +++ b/vlib/net/http/download.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/http/download_nix.c.v b/vlib/net/http/download_nix.c.v index 28f71a311..3d5b7de66 100644 --- a/vlib/net/http/download_nix.c.v +++ b/vlib/net/http/download_nix.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/http/download_windows.c.v b/vlib/net/http/download_windows.c.v index 61f1f74de..422b6da91 100644 --- a/vlib/net/http/download_windows.c.v +++ b/vlib/net/http/download_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/net/http/http.v b/vlib/net/http/http.v index beae96597..9d5920c49 100644 --- a/vlib/net/http/http.v +++ b/vlib/net/http/http.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/http/method.v b/vlib/net/http/method.v index 0b3d78630..91c93e1a3 100644 --- a/vlib/net/http/method.v +++ b/vlib/net/http/method.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module http diff --git a/vlib/net/urllib/urllib_test.v b/vlib/net/urllib/urllib_test.v index 5ae52b74c..947b88cf1 100644 --- a/vlib/net/urllib/urllib_test.v +++ b/vlib/net/urllib/urllib_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. @@ -27,11 +27,11 @@ fn test_str() { panic("unable to parse URL") } assert url.str() == 'https://en.wikipedia.org/wiki/Brazil_(1985_film)' -} +} fn test_escape_unescape() { original := 'те ст: т\\%' - escaped := urllib.query_escape(original) + escaped := urllib.query_escape(original) assert escaped == '%D1%82%D0%B5+%D1%81%D1%82%3A+%D1%82%5C%25' unescaped := urllib.query_unescape(escaped) or { assert false return } assert unescaped == original diff --git a/vlib/net/urllib/values.v b/vlib/net/urllib/values.v index 5dbfd0c4e..ee5c329b1 100644 --- a/vlib/net/urllib/values.v +++ b/vlib/net/urllib/values.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module urllib diff --git a/vlib/os/args.v b/vlib/os/args.v index f36fcea74..597637c4e 100644 --- a/vlib/os/args.v +++ b/vlib/os/args.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/os/environment.c.v b/vlib/os/environment.c.v index 0fbf1e348..17b29e5d4 100644 --- a/vlib/os/environment.c.v +++ b/vlib/os/environment.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/os/inode.c.v b/vlib/os/inode.c.v index ffee295fd..6a3f58d69 100644 --- a/vlib/os/inode.c.v +++ b/vlib/os/inode.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/os/os.v b/vlib/os/os.v index 708406712..f33c8350f 100644 --- a/vlib/os/os.v +++ b/vlib/os/os.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/os/os_darwin.c.v b/vlib/os/os_darwin.c.v index 0d04f6cec..9fea518b7 100644 --- a/vlib/os/os_darwin.c.v +++ b/vlib/os/os_darwin.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/os/os_linux.c.v b/vlib/os/os_linux.c.v index 67006de29..fb5e6eee5 100644 --- a/vlib/os/os_linux.c.v +++ b/vlib/os/os_linux.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module os diff --git a/vlib/picoev/picoev.v b/vlib/picoev/picoev.v index d59dfe92b..866f0229a 100644 --- a/vlib/picoev/picoev.v +++ b/vlib/picoev/picoev.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module picoev diff --git a/vlib/picohttpparser/picohttpparser.v b/vlib/picohttpparser/picohttpparser.v index 9a77a87e1..091ebfa0c 100644 --- a/vlib/picohttpparser/picohttpparser.v +++ b/vlib/picohttpparser/picohttpparser.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module picohttpparser diff --git a/vlib/rand/mt19937/mt19937.v b/vlib/rand/mt19937/mt19937.v index 8f7d05fb3..e337627d5 100644 --- a/vlib/rand/mt19937/mt19937.v +++ b/vlib/rand/mt19937/mt19937.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module mt19937 diff --git a/vlib/rand/musl/musl_rng.v b/vlib/rand/musl/musl_rng.v index 267cbb0b7..55d07a3c3 100644 --- a/vlib/rand/musl/musl_rng.v +++ b/vlib/rand/musl/musl_rng.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module musl diff --git a/vlib/rand/pcg32/pcg32.v b/vlib/rand/pcg32/pcg32.v index 85cc77f10..c28c10030 100644 --- a/vlib/rand/pcg32/pcg32.v +++ b/vlib/rand/pcg32/pcg32.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module pcg32 diff --git a/vlib/rand/rand.v b/vlib/rand/rand.v index 729a2680a..774eb8437 100644 --- a/vlib/rand/rand.v +++ b/vlib/rand/rand.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module rand diff --git a/vlib/rand/splitmix64/splitmix64.v b/vlib/rand/splitmix64/splitmix64.v index a2e3a6ccb..01cd076f7 100644 --- a/vlib/rand/splitmix64/splitmix64.v +++ b/vlib/rand/splitmix64/splitmix64.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module splitmix64 diff --git a/vlib/rand/sys/system_rng.c.v b/vlib/rand/sys/system_rng.c.v index 260380fb3..f8f4507c3 100644 --- a/vlib/rand/sys/system_rng.c.v +++ b/vlib/rand/sys/system_rng.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module sys diff --git a/vlib/rand/sys/system_rng.js.v b/vlib/rand/sys/system_rng.js.v index eae7b08a5..496794db1 100644 --- a/vlib/rand/sys/system_rng.js.v +++ b/vlib/rand/sys/system_rng.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module sys diff --git a/vlib/rand/util/util.v b/vlib/rand/util/util.v index 26a1c2d04..9f24c4dca 100644 --- a/vlib/rand/util/util.v +++ b/vlib/rand/util/util.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module util diff --git a/vlib/rand/wyrand/wyrand.v b/vlib/rand/wyrand/wyrand.v index 4b5cd96d2..253983632 100644 --- a/vlib/rand/wyrand/wyrand.v +++ b/vlib/rand/wyrand/wyrand.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module wyrand diff --git a/vlib/readline/readline.v b/vlib/readline/readline.v index e611337e1..85d1fd8f7 100644 --- a/vlib/readline/readline.v +++ b/vlib/readline/readline.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/readline/readline_default.c.v b/vlib/readline/readline_default.c.v index 9415004b9..e78c0be3d 100644 --- a/vlib/readline/readline_default.c.v +++ b/vlib/readline/readline_default.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/readline/readline_linux.c.v b/vlib/readline/readline_linux.c.v index b2624a06c..ad195e5f9 100644 --- a/vlib/readline/readline_linux.c.v +++ b/vlib/readline/readline_linux.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/readline/readline_windows.c.v b/vlib/readline/readline_windows.c.v index 44cc0048f..68fbc8aa2 100644 --- a/vlib/readline/readline_windows.c.v +++ b/vlib/readline/readline_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/regex/regex.v b/vlib/regex/regex.v index c634dc910..aec86d71e 100644 --- a/vlib/regex/regex.v +++ b/vlib/regex/regex.v @@ -2,7 +2,7 @@ regex 1.0 alpha -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. @@ -318,7 +318,7 @@ pub mut: group_map map[string]int // groups names map - group_stack []int + group_stack []int group_data []int // flags @@ -1268,7 +1268,7 @@ fn (mut re RE) impl_compile(in_txt string) (int,int) { re.prog[pc1+1].rep_max = pc2 + 1 break } - + pc2++ } // special case query of few chars, teh true can't go on the first instruction @@ -1485,7 +1485,7 @@ pub fn (re RE) get_query() string { fn (mut re RE) group_continuous_save(g_index int) { if re.group_csave_flag == true { // continuous save, save until we have space - + // init the first element as counter if re.group_csave.len == 0 { re.group_csave << 0 @@ -1503,7 +1503,7 @@ fn (mut re RE) group_continuous_save(g_index int) { re.group_csave[re.group_csave.len - 1] = end return } - + // otherwise append a new group to the list // increment counter @@ -1519,7 +1519,7 @@ fn (mut re RE) group_continuous_save(g_index int) { * * Matching * -******************************************************************************/ +******************************************************************************/ enum Match_state{ start = 0 stop @@ -1567,14 +1567,14 @@ pub mut: [direct_array_access] pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { // result status - mut result := no_match_found // function return + mut result := no_match_found // function return mut ch := rune(0) // examinated char mut char_len := 0 // utf8 examinated char len mut m_state := Match_state.start // start point for the matcher FSM mut src_end := false mut last_fnd_pc := -1 - + mut state := StateObj{} // actual state mut ist := rune(0) // actual instruction mut l_ist := rune(0) // last matched instruction @@ -1681,7 +1681,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { dbg_line++ } //****************************************** - + if ist == ist_prog_end { //println("HERE we end!") break @@ -1717,7 +1717,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { state.i = in_txt_len-1 } re.groups[g_index+1] = state.i - + if re.groups[g_index+1] >= in_txt_len { //println("clamp group on stop!") re.groups[g_index+1] = in_txt_len-1 @@ -1739,11 +1739,11 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { if state.pc == -1 { state.pc = last_fnd_pc } - + //println("Finished text!!") //println("Instruction: ${ist:08x} pc: $state.pc") //println("min_rep: ${re.prog[state.pc].rep_min} max_rep: ${re.prog[state.pc].rep_max} rep: ${re.prog[state.pc].rep}") - + // program end if ist == ist_prog_end { //println("Program end on end of text!") @@ -1757,14 +1757,14 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { //println("rep: ${re.prog[state.pc].group_rep} min: ${re.prog[state.pc].rep_min} max: ${re.prog[state.pc].rep_max}") //println("first match: ${state.first_match}") if re.prog[state.pc].last_dot_flag == true && - re.prog[state.pc].rep >= re.prog[state.pc].rep_min && + re.prog[state.pc].rep >= re.prog[state.pc].rep_min && re.prog[state.pc].rep <= re.prog[state.pc].rep_max { return state.first_match, state.i } //println("Not fitted!!") } - + //m_state = .end //break return no_match_found,0 @@ -1820,7 +1820,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { last_fnd_pc = state.pc state.pc = -1 state.i += char_len - + m_state = .ist_next re.reset_src() state.match_index = -1 @@ -1896,7 +1896,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { // save group results g_index := re.prog[state.pc].group_id*2 - + if start_i >= 0 { re.groups[g_index] = start_i } else { @@ -1906,16 +1906,16 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { re.groups[g_index+1] = state.i if g_index > 0 && re.groups[g_index] <= re.groups[g_index-1] { - re.groups[g_index] = re.groups[g_index-1] + re.groups[g_index] = re.groups[g_index-1] } if re.groups[g_index+1] >= in_txt_len { //println("clamp group!") re.groups[g_index+1] = in_txt_len-1 } - + //println("GROUP ${re.prog[state.pc].group_id} END [${re.groups[g_index]}, ${re.groups[g_index+1]}] i: $state.i in_txt_len: $in_txt_len") - + // continuous save, save until we have space re.group_continuous_save(g_index) } @@ -1951,21 +1951,21 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { // check next token to be false mut next_check_flag := false - + // if we are done with max go on dot char are dedicated case!! - if re.prog[state.pc].rep >= re.prog[state.pc].rep_max + if re.prog[state.pc].rep >= re.prog[state.pc].rep_max { re.state_list.pop() m_state = .ist_next continue } - + if re.prog[state.pc].dot_check_pc >= 0 && re.prog[state.pc].rep >= re.prog[state.pc].rep_min { // load the char //ch_t, _ := re.get_charb(in_txt, state.i+char_len) ch_t := ch chk_pc := re.prog[state.pc].dot_check_pc - + // simple char if re.prog[chk_pc].ist == ist_simple_char { if re.prog[chk_pc].ch == ch_t { @@ -1974,7 +1974,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { //println("Check [ist_simple_char] [${re.prog[chk_pc].ch}]==[${ch_t:c}] => $next_check_flag") } - // char char_class + // char char_class else if re.prog[chk_pc].ist == ist_char_class_pos || re.prog[chk_pc].ist == ist_char_class_neg { mut cc_neg := false if re.prog[chk_pc].ist == ist_char_class_neg { @@ -1996,7 +1996,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { } } - + // check if we must continue or pass to the next IST if next_check_flag == true && re.prog[state.pc+1].ist != ist_prog_end { //println("save the state!!") @@ -2016,7 +2016,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { } re.state_list << dot_state - + m_state = .ist_quant_n //println("dot_char stack len: ${re.state_list.len}") continue @@ -2205,7 +2205,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { } // ist_quant_pg => quantifier positive test on group - else if m_state == .ist_quant_pg { + else if m_state == .ist_quant_pg { //println(".ist_quant_pg") mut tmp_pc := state.pc if state.group_index >= 0 { @@ -2225,7 +2225,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { re.prog[tmp_pc].group_rep = 0 // clear the repetitions state.group_index-- m_state = .ist_next - + continue } else if rep >= re.prog[tmp_pc].rep_min { @@ -2337,10 +2337,10 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { // Check the results if state.match_index >= 0 { if state.group_index < 0 { - + if re.prog[state.pc].ist == ist_prog_end { //println("program ended!!") - + if (re.flag & f_src) != 0 { //println("find return") return state.first_match, state.i @@ -2349,9 +2349,9 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { return 0, state.i } } - + //println("No Group here, natural end [$state.first_match,$state.i] state: ${state_str(m_state)} ist: $ist pgr_end: $re.prog.len") - + if re.prog[state.pc+1].ist == ist_prog_end || re.prog[state.pc].ist == ist_prog_end{ rep := re.prog[state.pc].rep //println("rep: $rep re.prog[state.pc].rep_min: ${re.prog[state.pc].rep_min} re.prog[state.pc].rep_max: ${re.prog[state.pc].rep_max}") @@ -2386,7 +2386,7 @@ pub fn (mut re RE) match_base(in_txt byteptr, in_txt_len int ) (int,int) { * * Public functions * -******************************************************************************/ +******************************************************************************/ // // Matchers diff --git a/vlib/regex/regex_util.v b/vlib/regex/regex_util.v index ff7eddf98..9e9323ec9 100644 --- a/vlib/regex/regex_util.v +++ b/vlib/regex/regex_util.v @@ -2,7 +2,7 @@ regex 1.0 alpha -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. @@ -261,7 +261,7 @@ pub fn (mut re RE) replace(in_txt string, repl string) string { // start index of the start of the match in in_txt // end index of the end of the match in in_txt // the match is in in_txt[start..end] -pub type FnReplace = fn (re RE, in_txt string, start int, end int) string +pub type FnReplace = fn (re RE, in_txt string, start int, end int) string // replace_by_fn return a string where the matches are replaced with the string from the repl_fn callback function pub fn (mut re RE) replace_by_fn(in_txt string, repl_fn FnReplace) string { @@ -285,7 +285,7 @@ pub fn (mut re RE) replace_by_fn(in_txt string, repl_fn FnReplace) string { repl := repl_fn(re, in_txt, start, end) res += in_txt[s1..start] + repl - s1 = end + s1 = end ls = i + s i = i + e diff --git a/vlib/runtime/runtime.c.v b/vlib/runtime/runtime.c.v index e2df8e3d7..363071fdd 100644 --- a/vlib/runtime/runtime.c.v +++ b/vlib/runtime/runtime.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/runtime/runtime.v b/vlib/runtime/runtime.v index 24562e902..3cb4993e7 100644 --- a/vlib/runtime/runtime.v +++ b/vlib/runtime/runtime.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. diff --git a/vlib/stbi/stbi.v b/vlib/stbi/stbi.v index bb6a542a0..bc0022fb3 100644 --- a/vlib/stbi/stbi.v +++ b/vlib/stbi/stbi.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. @@ -75,4 +75,3 @@ pub fn (img Image) tex_image_2d() { pub fn set_flip_vertically_on_load(val bool) { C.stbi_set_flip_vertically_on_load(val) } - diff --git a/vlib/strconv/atoi.v b/vlib/strconv/atoi.v index b335e0c04..0beb8a61f 100644 --- a/vlib/strconv/atoi.v +++ b/vlib/strconv/atoi.v @@ -1,6 +1,6 @@ module strconv -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // TODO: use optionals, or some way to return default with error. diff --git a/vlib/strconv/f32_str.v b/vlib/strconv/f32_str.v index e377bdd47..270c4c245 100644 --- a/vlib/strconv/f32_str.v +++ b/vlib/strconv/f32_str.v @@ -4,7 +4,7 @@ module strconv f32 to string -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. @@ -149,7 +149,7 @@ pub fn (d Dec32) get_string_32(neg bool, i_n_digit int, i_pad_digit int) string } */ return unsafe { - tos(byteptr(&buf[0]), i) + tos(byteptr(&buf[0]), i) } } diff --git a/vlib/strconv/f64_str.v b/vlib/strconv/f64_str.v index 9c0cc8d1a..f33d54797 100644 --- a/vlib/strconv/f64_str.v +++ b/vlib/strconv/f64_str.v @@ -4,7 +4,7 @@ module strconv f32 to string -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. diff --git a/vlib/strconv/ftoa.v b/vlib/strconv/ftoa.v index faca01812..59fef2f34 100644 --- a/vlib/strconv/ftoa.v +++ b/vlib/strconv/ftoa.v @@ -4,7 +4,7 @@ module strconv f32/f64 ftoa functions -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. diff --git a/vlib/strconv/utilities.v b/vlib/strconv/utilities.v index 3dce03bb9..1e9b71861 100644 --- a/vlib/strconv/utilities.v +++ b/vlib/strconv/utilities.v @@ -4,7 +4,7 @@ module strconv f32/f64 to string utilities -Copyright (c) 2019-2020 Dario Deledda. All rights reserved. +Copyright (c) 2019-2021 Dario Deledda. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file. diff --git a/vlib/strings/builder.js.v b/vlib/strings/builder.js.v index fb8876e1b..a3c216d54 100644 --- a/vlib/strings/builder.js.v +++ b/vlib/strings/builder.js.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module strings diff --git a/vlib/strings/builder.v b/vlib/strings/builder.v index 58512e8df..7f06b616a 100644 --- a/vlib/strings/builder.v +++ b/vlib/strings/builder.v @@ -1,9 +1,9 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module strings -// strings.Builder is used to efficiently append many strings to a large +// strings.Builder is used to efficiently append many strings to a large // dynamically growing buffer, then use the resulting large string. Using // a string builder is much better for performance/memory usage than doing // constantly string concatenation. diff --git a/vlib/sync/sync_nix.c.v b/vlib/sync/sync_nix.c.v index f5903e123..2972c04d1 100644 --- a/vlib/sync/sync_nix.c.v +++ b/vlib/sync/sync_nix.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module sync diff --git a/vlib/sync/sync_windows.c.v b/vlib/sync/sync_windows.c.v index 1c789982f..10da2ffe2 100644 --- a/vlib/sync/sync_windows.c.v +++ b/vlib/sync/sync_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module sync diff --git a/vlib/term/colors.v b/vlib/term/colors.v index 643057754..2fb0666c3 100644 --- a/vlib/term/colors.v +++ b/vlib/term/colors.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module term diff --git a/vlib/term/control.v b/vlib/term/control.v index 664acec4b..db79c8be5 100644 --- a/vlib/term/control.v +++ b/vlib/term/control.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module term diff --git a/vlib/time/format.v b/vlib/time/format.v index 9abe23d69..5e1030c22 100644 --- a/vlib/time/format.v +++ b/vlib/time/format.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/parse.v b/vlib/time/parse.v index 27cc091ee..4f86ebba4 100644 --- a/vlib/time/parse.v +++ b/vlib/time/parse.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/stopwatch.v b/vlib/time/stopwatch.v index 406dd9ccb..569e10c25 100644 --- a/vlib/time/stopwatch.v +++ b/vlib/time/stopwatch.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/time.v b/vlib/time/time.v index dda562086..82f6ae504 100644 --- a/vlib/time/time.v +++ b/vlib/time/time.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/time_nix.c.v b/vlib/time/time_nix.c.v index aa6d20988..65ee96da2 100644 --- a/vlib/time/time_nix.c.v +++ b/vlib/time/time_nix.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/time_windows.c.v b/vlib/time/time_windows.c.v index eeec391fe..e431f806c 100644 --- a/vlib/time/time_windows.c.v +++ b/vlib/time/time_windows.c.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/time/unix.v b/vlib/time/unix.v index bb82d627a..65c745436 100644 --- a/vlib/time/unix.v +++ b/vlib/time/unix.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module time diff --git a/vlib/v/ast/ast.v b/vlib/v/ast/ast.v index de28fc0b2..cb0c2f026 100644 --- a/vlib/v/ast/ast.v +++ b/vlib/v/ast/ast.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module ast diff --git a/vlib/v/ast/scope.v b/vlib/v/ast/scope.v index 3b70e0538..fa304e07f 100644 --- a/vlib/v/ast/scope.v +++ b/vlib/v/ast/scope.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module ast diff --git a/vlib/v/ast/str.v b/vlib/v/ast/str.v index 199d851ff..f1ec60abf 100644 --- a/vlib/v/ast/str.v +++ b/vlib/v/ast/str.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module ast diff --git a/vlib/v/builder/cc.v b/vlib/v/builder/cc.v index bf1595f6e..9f0502e9e 100644 --- a/vlib/v/builder/cc.v +++ b/vlib/v/builder/cc.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builder diff --git a/vlib/v/builder/compile.v b/vlib/v/builder/compile.v index 1aa5658d2..b45ba0231 100644 --- a/vlib/v/builder/compile.v +++ b/vlib/v/builder/compile.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module builder diff --git a/vlib/v/cflag/cflags.v b/vlib/v/cflag/cflags.v index ea821a4fc..d6a26f2c0 100644 --- a/vlib/v/cflag/cflags.v +++ b/vlib/v/cflag/cflags.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module cflag diff --git a/vlib/v/checker/check_types.v b/vlib/v/checker/check_types.v index 408f26160..796bdec96 100644 --- a/vlib/v/checker/check_types.v +++ b/vlib/v/checker/check_types.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module checker diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 6d82f5a41..560e67e41 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module checker diff --git a/vlib/v/depgraph/depgraph.v b/vlib/v/depgraph/depgraph.v index 8370b585a..e927bd836 100644 --- a/vlib/v/depgraph/depgraph.v +++ b/vlib/v/depgraph/depgraph.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // Directed acyclic graph diff --git a/vlib/v/eval/eval.v b/vlib/v/eval/eval.v index aee147590..0d84b3eb6 100644 --- a/vlib/v/eval/eval.v +++ b/vlib/v/eval/eval.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module eval diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index 9ccf47e86..6f426b7d9 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module fmt diff --git a/vlib/v/gen/array.v b/vlib/v/gen/array.v index 6a396e851..e78a5648b 100644 --- a/vlib/v/gen/array.v +++ b/vlib/v/gen/array.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/auto_eq_methods.v b/vlib/v/gen/auto_eq_methods.v index a23714403..bf2801876 100644 --- a/vlib/v/gen/auto_eq_methods.v +++ b/vlib/v/gen/auto_eq_methods.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/auto_str_methods.v b/vlib/v/gen/auto_str_methods.v index 06e50af75..bd13f84ca 100644 --- a/vlib/v/gen/auto_str_methods.v +++ b/vlib/v/gen/auto_str_methods.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index 57c8ee0ce..8c8b7e96c 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/comptime.v b/vlib/v/gen/comptime.v index e2e0a6ee1..a583ec113 100644 --- a/vlib/v/gen/comptime.v +++ b/vlib/v/gen/comptime.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/fn.v b/vlib/v/gen/fn.v index 629c21987..8c71ba242 100644 --- a/vlib/v/gen/fn.v +++ b/vlib/v/gen/fn.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/json.v b/vlib/v/gen/json.v index 74343ae8b..74ef1c8bf 100644 --- a/vlib/v/gen/json.v +++ b/vlib/v/gen/json.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/sql.v b/vlib/v/gen/sql.v index 2d6ac5d1e..d4ae60d8d 100644 --- a/vlib/v/gen/sql.v +++ b/vlib/v/gen/sql.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/str.v b/vlib/v/gen/str.v index 73215c68a..0d0683d0f 100644 --- a/vlib/v/gen/str.v +++ b/vlib/v/gen/str.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module gen diff --git a/vlib/v/gen/x64/elf.v b/vlib/v/gen/x64/elf.v index 9e85e49cc..c1cc34c36 100644 --- a/vlib/v/gen/x64/elf.v +++ b/vlib/v/gen/x64/elf.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module x64 diff --git a/vlib/v/gen/x64/elf_obj.v b/vlib/v/gen/x64/elf_obj.v index 5cb9f48d2..ef222d3dc 100644 --- a/vlib/v/gen/x64/elf_obj.v +++ b/vlib/v/gen/x64/elf_obj.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module x64 diff --git a/vlib/v/gen/x64/gen.v b/vlib/v/gen/x64/gen.v index d4ff8834a..0b4c80d25 100644 --- a/vlib/v/gen/x64/gen.v +++ b/vlib/v/gen/x64/gen.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module x64 diff --git a/vlib/v/parser/assign.v b/vlib/v/parser/assign.v index 97d2d57c0..f6a5ad14e 100644 --- a/vlib/v/parser/assign.v +++ b/vlib/v/parser/assign.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/comptime.v b/vlib/v/parser/comptime.v index 26f4adf37..9c768922c 100644 --- a/vlib/v/parser/comptime.v +++ b/vlib/v/parser/comptime.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/containers.v b/vlib/v/parser/containers.v index e47e04f17..ebf6a4d0e 100644 --- a/vlib/v/parser/containers.v +++ b/vlib/v/parser/containers.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/fn.v b/vlib/v/parser/fn.v index deb0a3b54..32bf0fc42 100644 --- a/vlib/v/parser/fn.v +++ b/vlib/v/parser/fn.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/for.v b/vlib/v/parser/for.v index e2e0bdf43..4f087274c 100644 --- a/vlib/v/parser/for.v +++ b/vlib/v/parser/for.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/if_match.v b/vlib/v/parser/if_match.v index 1e6b1db05..aa9223faa 100644 --- a/vlib/v/parser/if_match.v +++ b/vlib/v/parser/if_match.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/module.v b/vlib/v/parser/module.v index 8cd1ff1a8..50173b8a0 100644 --- a/vlib/v/parser/module.v +++ b/vlib/v/parser/module.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/parse_type.v b/vlib/v/parser/parse_type.v index 2d817455f..cb3e9bd39 100644 --- a/vlib/v/parser/parse_type.v +++ b/vlib/v/parser/parse_type.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index 4a6f2d5fc..9366355ab 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/pratt.v b/vlib/v/parser/pratt.v index 80e4465d4..e136c70a4 100644 --- a/vlib/v/parser/pratt.v +++ b/vlib/v/parser/pratt.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/sql.v b/vlib/v/parser/sql.v index 08182739d..71d3303aa 100644 --- a/vlib/v/parser/sql.v +++ b/vlib/v/parser/sql.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/parser/struct.v b/vlib/v/parser/struct.v index d94c2f203..081d228af 100644 --- a/vlib/v/parser/struct.v +++ b/vlib/v/parser/struct.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module parser diff --git a/vlib/v/pref/default.v b/vlib/v/pref/default.v index 623d61efb..b7ceee37d 100644 --- a/vlib/v/pref/default.v +++ b/vlib/v/pref/default.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module pref diff --git a/vlib/v/pref/os.v b/vlib/v/pref/os.v index c2a1e029b..e4a921054 100644 --- a/vlib/v/pref/os.v +++ b/vlib/v/pref/os.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module pref diff --git a/vlib/v/pref/pref.v b/vlib/v/pref/pref.v index 9585fa4eb..bea7d408f 100644 --- a/vlib/v/pref/pref.v +++ b/vlib/v/pref/pref.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module pref diff --git a/vlib/v/scanner/scanner.v b/vlib/v/scanner/scanner.v index e9391ddfb..a03cd5e07 100644 --- a/vlib/v/scanner/scanner.v +++ b/vlib/v/scanner/scanner.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module scanner diff --git a/vlib/v/scanner/scanner_test.v b/vlib/v/scanner/scanner_test.v index 573f67291..d413c07c6 100644 --- a/vlib/v/scanner/scanner_test.v +++ b/vlib/v/scanner/scanner_test.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module scanner diff --git a/vlib/v/table/attr.v b/vlib/v/table/attr.v index 8eb93a608..1aa540e87 100644 --- a/vlib/v/table/attr.v +++ b/vlib/v/table/attr.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module table diff --git a/vlib/v/table/cflags.v b/vlib/v/table/cflags.v index af18a636e..282efe0a0 100644 --- a/vlib/v/table/cflags.v +++ b/vlib/v/table/cflags.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module table diff --git a/vlib/v/table/table.v b/vlib/v/table/table.v index 615ed8ae4..1e5169d74 100644 --- a/vlib/v/table/table.v +++ b/vlib/v/table/table.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module table diff --git a/vlib/v/table/types.v b/vlib/v/table/types.v index c8fe2833b..18eaa2f05 100644 --- a/vlib/v/table/types.v +++ b/vlib/v/table/types.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. // diff --git a/vlib/v/token/position.v b/vlib/v/token/position.v index 655c17671..c8016c91a 100644 --- a/vlib/v/token/position.v +++ b/vlib/v/token/position.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module token diff --git a/vlib/v/token/token.v b/vlib/v/token/token.v index dd9bb7176..bd84e95e8 100644 --- a/vlib/v/token/token.v +++ b/vlib/v/token/token.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module token diff --git a/vlib/v/util/errors.v b/vlib/v/util/errors.v index c80d20354..acd1f9a26 100644 --- a/vlib/v/util/errors.v +++ b/vlib/v/util/errors.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module util diff --git a/vlib/v/util/timers.v b/vlib/v/util/timers.v index 3b56d5833..166afe01d 100644 --- a/vlib/v/util/timers.v +++ b/vlib/v/util/timers.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module util diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index ba9933c58..06feeccec 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module util diff --git a/vlib/v/vet/vet.v b/vlib/v/vet/vet.v index c0e4bcd36..2a56b8431 100644 --- a/vlib/v/vet/vet.v +++ b/vlib/v/vet/vet.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license that can be found in the LICENSE file. module vet diff --git a/vlib/vweb/tmpl/tmpl.v b/vlib/vweb/tmpl/tmpl.v index 27e6b7bec..fc7dbb315 100644 --- a/vlib/vweb/tmpl/tmpl.v +++ b/vlib/vweb/tmpl/tmpl.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module tmpl diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 2f8eff671..84f38eafc 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module vweb diff --git a/vlib/x/json2/decoder.v b/vlib/x/json2/decoder.v index d47d58457..f06ecabdc 100644 --- a/vlib/x/json2/decoder.v +++ b/vlib/x/json2/decoder.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module json2 diff --git a/vlib/x/json2/encoder.v b/vlib/x/json2/encoder.v index 087f5f504..f107d5dd3 100644 --- a/vlib/x/json2/encoder.v +++ b/vlib/x/json2/encoder.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module json2 diff --git a/vlib/x/json2/json2.v b/vlib/x/json2/json2.v index abb58d6f8..622d40bdf 100644 --- a/vlib/x/json2/json2.v +++ b/vlib/x/json2/json2.v @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. +// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. module json2 -- 2.30.2