17325 Commits

Author SHA1 Message Date
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
Turiiya
8b7f9089f6
parser, fmt: fix parsing of interface with comment above mut: keyword (#21062) 2024-03-19 21:40:13 +02:00
Turiiya
e5be870fd7
tools.fmt: extend exit codes to allow spotting unformatted files next to internal errors (#21058) 2024-03-19 21:36:59 +02:00
David Legrand
36f1750de7
vtest-self: add sandboxed packaging case (#21059) 2024-03-19 11:36:03 +02:00
Turiiya
d3d1bc08c0
fmt: fix formatting for imports of submodule from module src dir (#21060) 2024-03-19 11:31:03 +02:00
Turiiya
a36c693f9b
fmt: fix autoimport with shebang and comments above other imports (#21050) weekly.2024.12 2024-03-18 10:16:40 +02:00
Jarvis Carroll
833da3026d
cgen: fix for/in codegen when iterating over C structs (#21052) 2024-03-18 04:14:02 +02:00
Felipe Pena
2798a063fc
checker: fix missing incompatible pushval type for chan <- operator (#21040) 2024-03-18 04:02:06 +02:00
Felipe Pena
8e9ddb13ea
cgen: fix _str name generated for C struct which define str() method (#21042) 2024-03-18 03:30:36 +02:00
Delyan Angelov
bedaf4f100
sokol.gfx: update the PixelFormat V enum, to exactly match the C sg_pixel_format from thirdparty/sokol/sokol_gfx.h 2024-03-17 16:30:11 +02:00
Kim Shrier
d7cc6f5cf1
strings.textscanner: fix off-by-one error in skip method (#21045) 2024-03-17 11:11:10 +02:00