17665 Commits

Author SHA1 Message Date
Delyan Angelov
13a2efd67d
ci: increase wait time for the xvfb check, to reduce the chance of false positives 2024-03-30 17:33:57 +02:00
Felipe Pena
d49fd0f4a7
cgen: fix C struct sumtype support (#21129) 2024-03-30 17:29:12 +02:00
Felipe Pena
360886bfd9
cgen: fix infix array heap comparison (#21145) 2024-03-30 17:28:01 +02:00
Turiiya
a63a7333cf
fmt: simplify const name formatting (#21143) 2024-03-30 14:03:51 +02:00
Felipe Pena
d5afce3171
checker: fix multi return using nil and voidptrfix (fix #17343) (#21144) 2024-03-30 13:59:42 +02:00
Turiiya
66e6140568
checker: detect redundant ref when assigning call expr with ref return (#21141) 2024-03-30 13:32:25 +02:00
Turiiya
aea14719fd
fmt: use fixed size array for max_len const (#21140) 2024-03-30 13:19:30 +02:00
Turiiya
a4ff389b32
vet: allow to overwrite excluded dirs (#21142) 2024-03-30 13:16:33 +02:00
Turiiya
5c0617591f
parser, checker: move error handling for user defined type duplicates to the checker to resolve parsing issues (#21147) 2024-03-30 13:10:29 +02:00
Turiiya
b97fe6831f
parser, checker: move error handling for any type to the checker to resolve parsing issues (#21146) 2024-03-30 13:07:11 +02:00
Turiiya
6f99796188
fmt: don't change paths when formatting imports (#21148) 2024-03-30 13:02:34 +02:00
Turiiya
a015824eef
vet: optimize performance for path detection, when vetting files (#21139) 2024-03-29 19:28:18 +02:00
Turiiya
030a85c2d0
vet: skip testdata dirs (#21138) 2024-03-29 19:16:16 +02:00
Felipe Pena
143f0cc4e1
checker, cgen: fix const initialized with array (#21131) 2024-03-29 16:17:49 +02:00
Alexander Medvednikov
5cc67bbedb veb.auth: a minor find_token fix 2024-03-29 15:55:26 +03:00
Turiiya
17d57ebe58
fmt: improve module detection when formatting imports (#21134) 2024-03-29 14:16:59 +02:00
Keito Tobichi
d45648fd72
.gitignore: ignore generated .NET files in bench/vectors (#21136) 2024-03-29 10:54:23 +02:00
Felipe Pena
761c7fabd6
v: fix sumtype support for option variant types (#21101) 2024-03-29 10:51:48 +02:00
Turiiya
00860ebc6b
examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
Swastik Baranwal
1400f649c9
checker: disallow using aliases of ?Type as !Type (#21128) 2024-03-29 10:19:03 +02:00
Felipe Pena
06e39a975f
cgen: fix return code when returning interface result type (fix #21115) (#21130) 2024-03-29 08:20:26 +02:00
Turiiya
4aba08dfe1
thirdparty: update zip to commit 6f2116d from https://github.com/kuba--/zip/ (#21121) 2024-03-29 08:09:48 +02:00
Turiiya
9c9608b4e6
thirdparty: add license information and source repo info to the READMEs in each subfolder (#21135) 2024-03-29 08:00:56 +02:00
Alexander Medvednikov
24ac0c1fb5 builtin: fix tests 2024-03-29 07:59:11 +03:00
Alexander Medvednikov
acf0107493 builtin: str.last_index(); pref: hide-auto-str; 2024-03-28 18:26:30 +03:00
Alexander Medvednikov
85533fe178 sokol, gg: min window width and height 2024-03-28 18:23:33 +03:00
Turiiya
872bcbc6bc
thirdparty: update zstd to latest release 1.5.6 (#21124) 2024-03-28 08:48:27 +02:00
Turiiya
64a336932c
thirdparty,net.mbedtls: update mbedtls to latest compatible version v3.3.0 (#21118) 2024-03-28 08:46:21 +02:00
Turiiya
cb402a3340
thirdparty: update CJSON to latest release 1.7.17 (#21126) 2024-03-28 08:45:03 +02:00
Turiiya
b98dca585c
checker, orm: add error for unchecked option multi return types, fix undefined behavior (#21106) 2024-03-28 07:31:32 +02:00
Delyan Angelov
f172a040ef
ci: improve test robustness on windows (#21116) 2024-03-28 07:29:17 +02:00
Laurent Cheylus
f1fba25e49
tools: fix v build-tools (it skipped all tools in subfolders of cmd/tools/ after 6a4f293) (#21120) 2024-03-28 07:28:59 +02:00
Swastik Baranwal
f6a00fa55b
parser: disallow invalid infix for where clause in delete and update (#21113) 2024-03-27 15:35:11 +02:00
Turiiya
1e8d1a4d0b
tools.vet: print help when passing no files or --help/-help flag after vet command (#21108) 2024-03-27 14:17:25 +02:00
Turiiya
bc68c87f21
checker: optimize option and result typ check, add more typinfo to error details (#21105) 2024-03-27 14:12:08 +02:00
Larpon
22744ce495
examples: fix simple_shader compile error, add 2 shader examples to CI (#21112) 2024-03-27 14:05:42 +02:00
Turiiya
8997c515c5
parser: improve token detection and error messages for unexpected EOFs, add tests (#21110) 2024-03-27 14:02:11 +02:00
Leron Gray
df9a815538
cgen: add the _M_ARM64 macro to endianness check (#21109) 2024-03-27 13:32:12 +02:00
Delyan Angelov
e4ac5c7552
vpm: make all tests use cmd_ok and cmd_fail to ease understanding CI errors 2024-03-27 13:28:40 +02:00
Delyan Angelov
80e688e9a1
ci: fix vpm tests with -d network, add more diagnostic output 2024-03-27 12:22:42 +02:00
Delyan Angelov
bb320f19c8
vpm: show the final path where a module is installed, improve color contrast for white on black terminal sessions 2024-03-27 10:36:27 +02:00
Delyan Angelov
992334390c
tools: add v retry apt update, intended to replace the retry.sh script, for more robust CI jobs (#21104) 2024-03-26 17:44:07 +02:00
Delyan Angelov
38d73d303b
ci: retry all setup commands that need network access, till they succeed (so the CI jobs have less false positives) (#21103) 2024-03-26 16:34:47 +02:00
Delyan Angelov
24bb06def3
ci: update the reference to the v-analyzer repo 2024-03-26 12:15:02 +02:00
Delyan Angelov
57184dd74b
tests: test @[c_extern] for a C global variable as well (#21102) 2024-03-26 11:48:45 +02:00
Delyan Angelov
7b92c7bae9
docs: describe @[c_extern], @[weak], and some usages of the conditional compilation feature @[if flag?] 2024-03-26 11:47:18 +02:00
Turiiya
817342464e
ast: cleanup (#21090) 2024-03-26 10:39:09 +02:00
Turiiya
6b21a41e0d
v: fix -skip-unused compilation when using substrings with check (#21098) 2024-03-26 10:32:47 +02:00
RoboSchmied
2db9c82d26
vlib: fix typos (endianess -> endianness) (#21099) 2024-03-26 10:32:10 +02:00
Felipe Pena
b01e091473
checker: fix option checker arg validation for ptr passing on non expected ptr (#21087) 2024-03-25 15:15:56 +02:00