18424 Commits

Author SHA1 Message Date
Felipe Pena
8ae627ff79
cgen: fix C name mangling with inherited closure vars (fix #22262) (#22263) 2024-09-21 09:07:58 +03:00
Felipe Pena
651a116159
json: fix decoding of structs with embeds (#22264) 2024-09-21 09:01:11 +03:00
Delyan Angelov
7af312c542
ci: fix failures in vab_ci.yml (#22267) 2024-09-21 08:33:48 +03:00
Felipe Pena
c866e375e2
cgen: fix code for C ident when ptr is expected (#22259) 2024-09-20 11:24:03 +03:00
vlang-bot
9a0f4d8461 tools: make fast.v and fast_job.v more self sufficient 2024-09-19 13:51:27 +03:00
vlang-bot
24088a7ca4 tools: make fast_job.v more robust (setup a custom PATH) and informative on fast.v failures (compile it with -g) 2024-09-19 12:22:42 +03:00
yuyi
1f0a6337ce
ci: restore format v-analyzer job in v_apps_and_modules_compile_ci.yml (#22258) 2024-09-19 11:48:17 +03:00
yuyi
63957f248d
strconv: cleanup format_fl()/format_es() (#22257) 2024-09-19 04:49:39 +03:00
Alexander Medvednikov
7514783d83 checker: a much better and detailed unmatched fn arg error 2024-09-19 04:49:14 +03:00
Meng Zhuo
263ba23256
cgen: fix wrong type of vint_t and const riscv64 (#22251) 2024-09-18 19:23:22 +03:00
Laurent Cheylus
65504aeb8a
thirdparty: fix compilation of programs using miniz.h on OpenBSD (#22254) 2024-09-18 19:22:32 +03:00
Laurent Cheylus
5f6015fd16
docs: improve format in the conditional compilation section (#22248) 2024-09-18 17:07:33 +03:00
Laurent Cheylus
ea4bac0340
v.builder: enable LTO for clang on OpenBSD (#22247) 2024-09-18 16:54:34 +03:00
yuyi
fca336c895
strconv: fix format_fl()/format_es() (fix #13210) (#22244) 2024-09-18 16:54:09 +03:00
Felipe Pena
13fdc724a7
docs: comptime method params (#22252) 2024-09-18 16:53:16 +03:00
Meng Zhuo
c5837e4f89
builtin: drop C in int.v (#22245) 2024-09-18 16:52:19 +03:00
Laurent Cheylus
94a412dcc8
docs: add FreeBSD in cross compilation section (#22249) 2024-09-18 16:51:38 +03:00
Alexander Medvednikov
c0f7244654 veb: make implicit context work with custom user types 2024-09-18 06:30:47 +03:00
Alexander Medvednikov
c11b1f8bd1 examples: fix type in veb_example.v 2024-09-17 23:00:11 +03:00
Felipe Pena
1187e1367c
all: add comptime support for traversing the method parameters with $for arg in method.params { (#22229) 2024-09-17 20:13:07 +03:00
yuyi
15bf8222b9
flag: fix parse_bool_value() with different order short args (fix #22176) (#22242) 2024-09-17 20:07:23 +03:00
Felipe Pena
97c9f5f9e4
json: allow passing an anon struct as a decode type (#22228) 2024-09-17 15:33:17 +03:00
Delyan Angelov
0c8ce3bcb9
tests: run v fmt -w over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241) 2024-09-17 15:21:10 +03:00
Swastik Baranwal
5f495e23a4
checker: check for duplicate interface names in the implements parts of struct declarations (#22230) 2024-09-17 10:02:01 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Alexander Medvednikov
c004d0c899 examples: migrate vweb examples to veb 2024-09-17 09:15:07 +03:00
Delyan Angelov
f53b5d737f
thirdparty: update libatomic_ops to commit cc9bc49 from https://github.com/ivmai/libatomic_ops/ (#22235) 2024-09-16 21:20:42 +03:00
Laurent Cheylus
c3b55a68a5
builtin: fix compilation with tcc on OpenBSD using libgc (#22234) 2024-09-16 17:02:30 +03:00
Delyan Angelov
65e2834347 v.pkgconfig: fix parser, when includedir= lines, had trailing spaces (fix -d use_openssl for openssl 3.3.2 installed through brew on macos) 2024-09-16 16:47:49 +03:00
Swastik Baranwal
0fb95a8ff8
checker: suggest using the @[_allow_multiple_values] attribute, when declaring enums that have duplicate values (#22224) 2024-09-16 08:16:39 +03:00
yuyi
b1ffa4ecf1
ast, parser, checker: check struct implements non interface type (fix #22200) (#22218) 2024-09-16 08:06:41 +03:00
yuyi
ca5f47a966
builtin: cleanup string trim()/trim_left()/trim_right() (#22225) 2024-09-15 20:05:42 +03:00
Laurent Cheylus
9b88dc8deb
GNUmakefile: do not try to check how tcc is working, when thirdparty/tcc/tcc.exe is not present (#22226) 2024-09-15 20:05:01 +03:00
Delyan Angelov
deb7ddd9d0
ci: disable macos for now in wasm_backend_ci.yml, until github runners for it, can resolve again the get.wasmer.io domain (#22227) 2024-09-15 20:03:32 +03:00
Kim Shrier
83a015b940
crypto.scrypt: add missing comment of source for test vector (#22222) weekly.2024.37 2024-09-15 15:20:30 +03:00
Delyan Angelov
c2788f9793 thirdparty: fix compilation of thirdparty/mbedtls with tcc on macos m1 2024-09-15 15:00:27 +03:00
Delyan Angelov
755a4bc081 crypto.rand: fix compilation on macos with -cc tcc -no-retry-compilation -gc none 2024-09-15 14:53:52 +03:00
Delyan Angelov
26c560bc82 thirdparty: fix compilation of programs using miniz.h on macos 2024-09-15 13:35:18 +03:00
Felipe Pena
5fcfc27e50
cgen: fix interface type generation for generic struct (fix #22186) (#22189) 2024-09-14 23:14:59 +03:00
Felipe Pena
4eb087a347
checker: add missing check for ref passing to non-ref (#22194) 2024-09-14 23:13:25 +03:00
Delyan Angelov
469a532caa
sync.stdatomic: add OpenSUSE paths for libatomic 2024-09-14 21:31:57 +03:00
Felipe Pena
8db23006d2
cgen: fix code generated for indexexpr with complex assigning (#22203) 2024-09-14 17:04:55 +03:00
Delyan Angelov
4c68f85bc7
all: add support for @BUILD_DATE, @BUILD_TIME and @BUILD_TIMESTAMP, all using v.util.get_build_time(), and overridable through SOURCE_DATE_EPOCH (#22213) 2024-09-14 17:00:47 +03:00
yuyi
0d980a4fed
ci: restore the Format vlang/v-analyzer task in v_apps_and_modules_compile_ci.yml (#22219) 2024-09-14 16:57:43 +03:00
Kim Shrier
423f804b07
crypto.scrypt: add a new scrypt module to vlib/crypto (#22216) 2024-09-14 09:54:04 +03:00
Alexander Medvednikov
26ab7d4fe1 veb: implicit context 2024-09-14 00:41:02 +03:00
yuyi
cc7665ff32
tests: add a test for short enum syntax across modules (related #12183) (#22210) 2024-09-13 17:07:01 +03:00
yuyi
277e5eb253
fmt: add a test for fn with c binding type args (#22212) 2024-09-13 17:06:15 +03:00
Laurent Cheylus
888d84d26d
docs: add implements keyword for explicit interface implementations (#22214) 2024-09-13 16:59:38 +03:00
Delyan Angelov
56013a443a
crypto.pbkdf2: move extensive test cases to https://github.com/vlang/slower_tests, but keep test case 7, where the key_size is > block_size for sha224 and sha256 2024-09-13 10:50:55 +03:00