17335 Commits

Author SHA1 Message Date
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
Turiiya
3e37643e81
checker: update error messages (#21097) 2024-03-25 15:14:04 +02:00
David Legrand
556f9f12ce
tools: prevent module updates during v build-tools, when VTEST_SANDBOXED_PACKAGING is set (#21094) 2024-03-25 13:12:47 +02:00
David Legrand
0a2346a2eb
vtest-self: add native_test to skippable tests for sandboxed packaging (#21095) 2024-03-25 13:11:01 +02:00
Turiiya
e7ed073be3
parser, fmt: parse methods on JS interfaces, write JS method bodies (#21088) 2024-03-25 13:09:52 +02:00
Turiiya
842efdfa52
builder, checker: simplify, utilize pref.vroot (#21096) 2024-03-25 13:08:06 +02:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
David Legrand
9ad84ddc21
doc: fix vup/vself replacement scripts (#21092) 2024-03-25 12:17:57 +02:00
Felipe Pena
6b23b1dd25
cgen: fix code generation for a struct field, having a type of fixed array of options field [5]?Type (#21082) weekly.2024.13 2024-03-24 20:35:30 +02:00
Turiiya
f66b5954c2
v.utils: fix module lookup if module import parts end with the word modules (#21083) 2024-03-24 20:22:16 +02:00
Turiiya
cf9746da5a
docs: remove deprecated newline info for doc comments (#21086) 2024-03-24 19:55:28 +02:00
Turiiya
418462208a
vlib.x: fix typos, uniformize readme formatting (#21085) 2024-03-24 19:54:39 +02:00
Felipe Pena
c8a20fa63d
cgen, parser: fix option as possible match case for sumtype (#21079) 2024-03-24 19:49:08 +02:00
Felipe Pena
29e5124c48
checker, parser, cgen: allow static call on generic type (#21071) 2024-03-22 16:48:06 +02:00
Turiiya
dbdbfe24a5
vdoc,tests: detect expected files from input instead of hardcoding names (#21074) 2024-03-22 08:50:57 +02:00
Turiiya
af71cb0dff
v.util: use tmp instead of cache dir for temporary diff files (#21075) 2024-03-22 08:43:37 +02:00
Leo Developer
cb9a875474
ci: update gh action repository name (#21073) 2024-03-22 08:18:49 +03:00
Delyan Angelov
9d4ec7b575
cgen: improve diagnostic information for ORM queries with invalid types 2024-03-21 19:18:52 +02:00
Turiiya
39eef1d731
parser,fmt: inform about invalid interop function bodies instead of removing them (#21070) 2024-03-21 18:21:16 +02:00
Delyan Angelov
8a9def6534
examples: port sokol/clear.v and sokol/sdf/sdf.v (#21069) 2024-03-21 06:28:25 +02:00
Felipe Pena
24d157205b
cgen: force C struct types which does not implement str() to be passed as ptr (#21054) 2024-03-21 00:24:38 +02:00
Ikko Eltociear Ashimine
0b573c5943
docs: fix embeded -> embedded typo in docs.md (#21068) 2024-03-21 00:18:27 +02:00
Felipe Pena
e6b43a166e
cgen: enable autofree for option (#21051) 2024-03-20 08:33:51 +02:00
Turiiya
9894c03e14
fmt: update determining of struct field comments (#21066) 2024-03-20 08:09:54 +02:00
Delyan Angelov
f6e57697ab
changelog: fix markdown formatting for the new entries added in f4b6587 2024-03-20 07:18:16 +02:00
Delyan Angelov
d591e5e7d2
changelog: escape @NAME entries, to avoid mentioning unrelated github accounts 2024-03-20 07:13:19 +02:00
Delyan Angelov
f4b6587e36
changelog: cleanup empty section, document most of the minor breaking changes in 0.4.5 vs 0.4.4 2024-03-20 07:09:47 +02:00
Alexander Medvednikov
a03da95680 V 0.4.5 0.4.5 2024-03-20 07:09:37 +03:00
Alexander Medvednikov
27c224efdf changelog: 0.4.5 changelog 2024-03-20 07:08:49 +03:00
Alexander Medvednikov
cf7d6cd648 tools: instantly generate the entire changelog in changelog_helper.v 2024-03-20 06:51:55 +03:00
Swastik Baranwal
44c78ed761
parser: add better error for mut variadic fn argument (#21063) 2024-03-19 21:42:37 +02:00