20453 Commits

Author SHA1 Message Date
Delyan Angelov
eed68275fa
tools,scanner: make v scan file.v output all valid tokens *before* a syntax error 2025-09-16 14:20:43 +03:00
CreeperFace
0dbbed7bde
cgen,autofree: fix method chaining generating invalid c code (fix #9094) (#25315) 2025-09-16 08:14:41 +03:00
kbkpbot
d2174e47a5
v.gen.js: simplify comptime if; catch up with cgen (fix #25295) (#25313) 2025-09-15 19:24:25 +03:00
blackshirt
89a24958a1
x.crypto.chacha20: improves the internals of chacha20, add a bench (#25311) 2025-09-15 19:20:43 +03:00
Delyan Angelov
5d98162960
builtin,cgen: fix i64 enum as a map key, when the enum values are too small (fix #25294) (#25310) 2025-09-15 19:11:07 +03:00
CreeperFace
373e5abb47
markused: fix marking of mutable generic method calls (fix #25312) (#25314) 2025-09-15 19:08:53 +03:00
kbkpbot
fa49b769e1
checker,gen: introduce if match branch's id (#25308) weekly.2025.38 2025-09-15 10:07:59 +03:00
Jorge Mireles
38ebb3fbbb
examples: fix rune casting from u32 in rune.v (#25307) 2025-09-15 01:22:52 +03:00
Eliyaan (Nopana)
5bad20dbe5
native: begin array support, a := []Type{len: x, cap: y} and a[i] read/write (#25299) 2025-09-15 01:22:07 +03:00
Delyan Angelov
9f666ad117
v.util: fix handling of "start \u005c${...} end" in cgen (fix #25304) (#25306) 2025-09-15 01:18:40 +03:00
Swastik Baranwal
0e4078f27d
scanner: uncomment working rune test (#25305) 2025-09-14 19:36:28 +03:00
kbkpbot
1000ada582
cgen,parser,markused: add export const support (fix #25300) (#25303) 2025-09-14 12:54:13 +03:00
Delyan Angelov
a2b4f08436
tools: cleanup vtest-all.v, using option values instead of comparison to <nothing>
Also allow for passing `rmfile: ['hw.linux', 'hw.linux.o']`
2025-09-14 09:21:08 +03:00
kbkpbot
e104a5f571
checker: disallow duplicate export names (fix #25301) (#25302) 2025-09-14 06:59:56 +03:00
kbkpbot
b8260625f6
vfmt: add support for 64bit int with -new_int (part 2) (#25298) 2025-09-13 16:46:57 +03:00
kbkpbot
c221b3226b
cgen,builtin: support for 64bit int 1 (#25236) 2025-09-13 10:03:52 +03:00
Felipe Pena
64343168c6
cgen: fix option variadic arg passing (fix #25261) (#25273) 2025-09-13 08:49:09 +03:00
blackshirt
50d03eb7b9
x.crypto.ascon: improve ascon_generic_hash, cleanup (#25288) 2025-09-13 07:59:16 +03:00
Larsimusrex
5d7958db7d
cgen: fix generic cast to sumtype of empty struct (fix #25263) (#25290) 2025-09-13 07:57:01 +03:00
kbkpbot
ffeff23964
cgen: fix fixed-array const initializer (fix #25291) (#25293) 2025-09-13 07:56:15 +03:00
Larsimusrex
a8d200ac0e
decoder2: improve enum decoding; fix handling of required fields at the end of a json string (#25289) 2025-09-12 10:57:15 +03:00
blackshirt
56f20d1ff8
x.crypto.ascon: small cleanups and optimization (#25284) 2025-09-11 23:36:11 +03:00
CreeperFace
04e79e7b2a
checker: prevent usage of imported module name prefix as identifier names, to avoid cgen collisions (#25280) 2025-09-11 23:33:43 +03:00
Delyan Angelov
d73ebc1aca
v.ast: add a mod field to ast.FnTypeDecl too 2025-09-11 16:15:33 +03:00
Eliyaan (Nopana)
fd479a2bcd
native: support more assign ops, reduce code duplication (#25283) 2025-09-11 16:12:28 +03:00
Delyan Angelov
c2e2aac0c9
tests: use os.vtmp_dir() in autofree_toml.vv, so it can be cleaned up automatically; simplify the code 2025-09-11 13:08:51 +03:00
Delyan Angelov
97145ca3a8
v.builder: support -d trace_type_symbols_after_checker 2025-09-11 12:47:58 +03:00
Eliyaan (Nopana)
b653d65676
native: structs multi_assign and multi_return (#25281) 2025-09-11 11:36:14 +03:00
blackshirt
a10c59704b
x.crypto.ascon: improve single-shot functions of ascon hashing variant; add benchmark (#25282) 2025-09-11 11:04:21 +03:00
blackshirt
f16452d3a6
x.crypto.ascon: improve the core of Ascon permutation routine (#25278) 2025-09-11 05:56:17 +03:00
Felipe Pena
919c68e6f9
comptime: fix $match with fn type (#25271) 2025-09-10 21:42:20 +03:00
Eliyaan (Nopana)
4ea05636fb
native: improve consts, support more assigns (#25277) 2025-09-10 20:22:13 +03:00
kbkpbot
177758ac53
v.eval: add more compilex comptime-cond support (#25276) 2025-09-10 20:20:55 +03:00
CreeperFace
e317c634bb
cgen: prefix builtin APIs with builtin__ (#25264) 2025-09-10 15:12:22 +03:00
blackshirt
f073169177
x.crypto: add a new ascon cryptographic module, based on https://doi.org/10.6028/NIST.SP.800-232 (Lightweight Cryptography Standards for Constrained Devices) (#25260) 2025-09-10 10:03:35 +03:00
kbkpbot
e650d6b7f0
cgen: fix big IntegerLiteral LL postfix (fix #25269) (#25275) 2025-09-10 09:45:40 +03:00
Swastik Baranwal
447994543b
cgen: allow generic alias enum comptime (fix #25249) (#25251) 2025-09-10 09:37:48 +03:00
xieke
015a85daf4
builtin: fix thread naming issue on Windows by ignoring RaiseException (0x406D1388) (#25270) 2025-09-10 09:34:45 +03:00
Delyan Angelov
01f108e349
builtin: fix v -W -Wimpure-v examples/hello_world.v (move ctovstring_impl to builtin.c.v) 2025-09-10 09:11:17 +03:00
Felipe Pena
49e77546c9
markused: fix CI (for failing compilation of vlib/v/tests/skip_unused/array_init_from_sumtype.vv) (#25274) 2025-09-10 09:00:34 +03:00
Larsimusrex
bae7684276
json2: replace encoder with new implementation (#25224) 2025-09-09 18:50:22 +03:00
Delyan Angelov
69e80ba96d
builtin: add a temporary ctovstring_impl/1 API to enable ui to compile cleanly for PR#25264, part 1 2025-09-09 15:00:16 +03:00
Felipe Pena
847c15e5ac
type_resolver: fix comptimecall resolving aliased method (fix #25253, part 1) (#25254) weekly.2025.37 2025-09-08 19:03:11 +03:00
xieke
af87a302fa
cgen: fix gen_struct_equality_fn null pointer crash (fix #25237) (#25231) 2025-09-08 17:32:46 +03:00
Delyan Angelov
b50327ad89
ci: update vlang/gui hash to latest b4e3716b042ee6352efedff64c5b92cbf0e81ded in compile_vlang_gui_examples.sh (remove deprecated notices for module gx on the CI) 2025-09-08 17:01:42 +03:00
Delyan Angelov
d29470534f
ci: extract .github/actions/cache-apt-packages-action/action.yml, use it in puzzle_vibes_ci.yml 2025-09-08 13:47:41 +03:00
Delyan Angelov
71d2e3f556
ci: check if awalsh128/cache-apt-pkgs-action@v1.5.3 works on master (#25257) 2025-09-08 11:45:55 +03:00
Delyan Angelov
619bd968be
ci: use awalsh128/cache-apt-pkgs-action@v1.5.3 instead of a manual apt update/apt install step, to leverage caching more (#25256) 2025-09-08 11:17:10 +03:00
Delyan Angelov
2c392f848b
ci: change the azure mirror URL in /etc/apt/sources.list too 2025-09-08 10:12:16 +03:00
Delyan Angelov
9158aed80a
ci: change url to http://archive.ubuntu.com in .github/workflows/disable_azure_mirror.sh 2025-09-08 10:06:11 +03:00