v/vlib
Delyan Angelov a00c80b98f
v: support compiler notices. Use them for `[deprecated_after: '2021-05-01']` tags
Compiler notices are like warnings, with these differences:
   a) notices use a different color.
   b) notices use a different label.
   c) notices do not prevent compilation with -prod.
   (warnings are converted to errors with -prod)
2021-03-22 19:59:00 +02:00
..
arrays arrays: implement python-inspired array zip function and test (#8667) 2021-03-07 11:58:13 +02:00
benchmark all: fix references to time.wait -> time.sleep 2021-02-28 18:01:31 +02:00
bitfield fmt: better ternary concat wrapping (#8379) 2021-01-28 11:23:48 +01:00
builtin all: simplify `return if ...` constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
cli cli: improve multiple value management (#8310) 2021-03-19 13:09:56 +02:00
clipboard checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
crypto ci: comment the `dump(fixed_array)` call in crypto_rand_read_test.v 2021-03-16 12:04:50 +02:00
darwin darwin: fix the C. function declarations (#9194) 2021-03-08 17:18:26 +02:00
dl dl: fix `v -cflags "-Werror" use_test.v` 2021-03-19 23:27:14 +02:00
encoding checker: do not allow direct initialization of builtin types (s := string{}) 2021-03-13 18:20:46 +03:00
eventbus vfmt: shorten `main.const_name` to just `const_name` 2021-01-25 20:57:33 +02:00
flag flag: return error on .finalize() on CLI arguments with unknown short options too 2021-03-22 08:21:13 +02:00
fontstash checker: stricter `unknown type` checks, show better suggestions (#8816) 2021-02-19 11:23:13 +02:00
gg checker: fixed array cannot implicitly convert to fooptr (again) (#9302) 2021-03-15 15:55:07 +02:00
glm glm: fix typo (#8748) 2021-02-15 17:53:07 +02:00
gx checker: add check for using a private const in another module (#8501) 2021-02-03 10:17:13 +02:00
hash hash.crc32: fix typo (#8749) 2021-02-15 17:52:45 +02:00
io io: BufferedReader.free() 2021-03-15 21:25:19 +01:00
json ci: fix failing -Werror steps for code generated by json.encode(map{'a': []string{}}) 2021-03-18 12:13:06 +02:00
log all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
math math: add a test suite taken from vsl/vmath (#9280) 2021-03-13 09:05:02 +02:00
mysql checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
net all: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +01:00
orm all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
os os: fix a leak in read_lines() 2021-03-22 12:20:55 +03:00
os2
pg pg: support for copy sql commands (#9272) 2021-03-13 08:06:53 +02:00
picoev checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
picohttpparser all: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +01:00
rand rand: update documentation (#9406) 2021-03-21 19:36:17 +02:00
readline all: simplify `return if ...` constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
regex regex: bug fix in replace using function, added tests (#9381) 2021-03-20 01:54:12 +02:00
runtime all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
semver all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
sokol checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
sqlite checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
stbi stbi/sokol: fix png loading bug 2021-03-16 01:39:35 +03:00
strconv all: add strings.Builder.write_string and use write_string instead of write (#8892) 2021-02-22 13:18:11 +02:00
strings strings: comment deprecation of Builder.write_bytes temporarily 2021-03-22 09:01:22 +02:00
sync tests: move rlock and shared array tests from `builtin` to `sync` 2021-03-18 19:51:11 +02:00
szip szip: fix doc-comments (#8911) 2021-02-23 09:43:19 +02:00
term all: simplify `return if ...` constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
time time: fix .sleep() with `-gc boehm` 2021-03-20 16:24:46 +02:00
v v: support compiler notices. Use them for `[deprecated_after: '2021-05-01']` tags 2021-03-22 19:59:00 +02:00
vweb cgen: minor vfmt 2021-03-17 03:41:52 +03:00
x all: simplify `return if ...` constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
.vdocignore dl: make vdoc ignore submodule "example" (#8927) 2021-02-23 18:32:48 +02:00