20478 Commits

Author SHA1 Message Date
Delyan Angelov
93a136f3a5
ci: fix compilation of ved after d3cb48a with -autofree 2025-09-20 17:31:17 +03:00
Jorge Mireles
2e6d73d6dd
x.json2: let examples/news_fetcher.v use decoder2 (#25353) 2025-09-20 13:25:58 +03:00
kbkpbot
85ed3f22c3
gx: fix int to i32 (#25352) 2025-09-20 13:09:27 +03:00
kbkpbot
dddbacb196
vlib: fix new_int for tests too (#25351) 2025-09-19 16:54:58 +03:00
kbkpbot
7b07f27774
v.ast: fix type_size for hardcode map and array (preparing for new_int) (#25350) 2025-09-19 14:37:13 +03:00
kbkpbot
1361002adc
gg: change the Color APIs, that int to use i32 instead (#25349) 2025-09-19 14:33:54 +03:00
blackshirt
5fd2278df4
x.crypto.chacha20: fix internal counter handling (#25334) 2025-09-19 14:25:24 +03:00
Delyan Angelov
0e68a92838
ci: run v fmt -w cmd/tools/changelog_helper.v 2025-09-19 13:44:06 +03:00
Alexander Medvednikov
420c16eb4b V 0.4.12 0.4.12 2025-09-19 13:36:29 +03:00
Delyan Angelov
7cff857dea
ci: skip flag_autofree_test.v on the sanitize-address-gcc job too 2025-09-19 07:28:17 +03:00
Delyan Angelov
70ed690964
v.help: update description of the -message-limit option 2025-09-19 07:24:02 +03:00
kbkpbot
b93dfa1a03
v: cleanup - replace complex 64bit CPU comptime ident with && x64 (#25343) 2025-09-18 17:18:14 +03:00
Delyan Angelov
a3628cb177
ci: skip flag_autofree_test.v on the sanitize-memory-gcc and tests-sanitize-address-clang jobs 2025-09-18 17:08:06 +03:00
Eliyaan (Nopana)
fa79c6f64c
gg: allow changing gg.Rect fields (implement #25332) (#25341) 2025-09-18 16:51:41 +03:00
kbkpbot
f2abf79f71
parser: detect wrong multi-dim arr declare (fix #25333) (#25338) 2025-09-18 16:35:13 +03:00
Jorge Mireles
c088cbdbd5
toml: decode date arrays with extra spaces that are not date-time separators (fix #25279) (#25335) 2025-09-18 11:48:22 +03:00
Eliyaan (Nopana)
b2a985170d
vreduce: change -e option name to -m, to avoid a conflict with V's -e option name (#25340) 2025-09-18 11:44:46 +03:00
CreeperFace
23602c149e
autofree,flag: fix double free in FlagParser free (#25336) 2025-09-18 11:14:44 +03:00
kbkpbot
16c9bf2f2d
vlib,tests: fix array's field initialisation with signed integers (preparation for future 64bit int) (#25324) 2025-09-17 20:26:13 +03:00
Jorge Mireles
7e9fbaf4f5
time: make parse_rfc3339 accept t, and space, in addition to T, reject incomplete date-times and such with no timezone (fix #25272) (#25316) 2025-09-17 13:24:35 +03:00
Delyan Angelov
563987c450
cgen: restore old behaviour for struct Name{field &C.FILE};i:=Name{};unsafe{i.free()} (fix #25325) (#25327) 2025-09-17 13:22:50 +03:00
kbkpbot
14ef765151
checker: allow bool int i32 to be used interchangeably for C functions (#25317) 2025-09-16 20:39:28 +03:00
Felipe Pena
97edd610b0
v: implement comptime regular func params traversing (support $if T is $function { $for param in T.params {) (#25322) 2025-09-16 20:37:15 +03:00
blackshirt
ace3eb2ddb
x.crypto.chacha20: adds some missing bits into stream reset (#25321) 2025-09-16 15:04:54 +03:00
Felipe Pena
95e1b7c14c
cgen,checker: fix option generic passing to T param (fix #25267) (fix #24466) (partial fix for #25227) (#25292) 2025-09-16 15:01:31 +03:00
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