17315 Commits

Author SHA1 Message Date
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
Swastik Baranwal
549654aece
checker: disallow Optional and Result high val in a for x in low..high { loop (#21043) 2024-03-16 18:57:30 +02:00
Delyan Angelov
a1c6377ab6
rand: add PRNG.fill_buffer_from_set/2 (#21037) 2024-03-16 16:32:47 +02:00
Felipe Pena
4221522c0a
parser: allow lock prefix instructions and numbered reg in inline asm blocks (#21022) 2024-03-16 14:43:39 +02:00
Turiiya
9d66b3472c
fmt: insert auto imports after shebang (#21038) 2024-03-16 11:21:02 +02:00
Felipe Pena
657e46ebea
fmt: fix type names for casts (#21036) 2024-03-15 21:24:17 +02:00
Turiiya
6809c67805
checker: add test for interface embedding and interface with erroneous implementation (test related to #21030) (#21033) 2024-03-15 17:11:38 +02:00
Felipe Pena
3d64f9e465
cgen: add ability to mark a global as @[hidden] (#21035) 2024-03-15 17:10:43 +02:00
Turiiya
c024721951
scanner: disallow a shebang line, that is not at the top of a file (#21029) 2024-03-15 12:31:06 +02:00
Turiiya
84a52aea8c
checker: fix undefined reference to interface struct field regression (after #21025) (#21030) 2024-03-15 12:26:23 +02:00
Nikita Goncarenko
aded18ad46
docs: use a [!NOTE] tag for a Note in docs.md (#21032) 2024-03-15 11:21:00 +02:00