18040 Commits

Author SHA1 Message Date
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
Bram Vanbilsen
eaa4edf484
os: cleanup field comments of os.Process (#21023) 2024-03-15 09:11:44 +02:00
Turiiya
cb595293d5
checker: cleanup and simplify struct processing p2, extend test (#21025) 2024-03-15 09:08:46 +02:00
Swastik Baranwal
6a42f79ddc
cgen: fix match for alias (#21028) 2024-03-15 08:41:09 +02:00
Hitalo Souza
49b7f9a94a
x.json2: predefine buffer capacity for encoding to avoid reallocations (#20920) 2024-03-14 21:23:07 +02:00
Turiiya
9a0435db05
checker: add support for deprecation messages for structs and struct fields (#21017) 2024-03-14 20:38:53 +02:00
Delyan Angelov
0a9d1f9dd6
v.pref: support filtering while tracing, with v -trace-calls -trace-fns main,gg*draw* run examples/tetris/ (#21021) 2024-03-14 15:43:28 +02:00
Turiiya
8cb7e75a96
checker: cleanup and simplify struct processing p1 (#21009) 2024-03-14 10:18:10 +02:00
Turiiya
164a738744
ci,tests: enable vdoc tests on linux; fix unintended line break (#21014) 2024-03-14 10:16:50 +02:00
Turiiya
ef61d5f865
checker: cleanup and simplify check_ref_fields_initialized methods (#21016) 2024-03-14 10:15:09 +02:00
Turiiya
7ffd917b2e
v.util: simplify vtest (#21013) 2024-03-13 19:23:35 +02:00
Delyan Angelov
c29b64e04e
clipboard: workaround printing of structs containing &C.Display pointers with gcc 2024-03-13 18:49:20 +02:00
Joe Conigliaro
a1c5c6c8f2
builtin: add missing return type to fn signature for C.GC_get_stack_base 2024-03-14 00:08:39 +11:00
Joe C
f315676882
coroutines: manually create photon vcpu's & add functions to set photon log output (#21012) 2024-03-14 00:00:42 +11:00
Leron Gray
54da256b9f
io.string_reader: fix needs_fill_until check (#21005) 2024-03-13 14:40:29 +02:00
jacksonmowry
8ec990eed8
db.sqlite: fix exec_param_many bug (#21008) 2024-03-13 14:39:15 +02:00
Swastik Baranwal
b276aaccf9
checker: disallow void return value lambdas in array.map method calls (#21011) 2024-03-13 14:21:57 +02:00
Turiiya
fee184b67f
checker: remove unnecessary string interpolation in deprecation method calls (#21007) 2024-03-13 13:58:14 +02:00
Turiiya
1e1846fda9
ast,fmt: further improve type detection of user defined typenames, extend tests (#21004) 2024-03-13 13:23:21 +02:00
Kim Shrier
094b0328e5
builtin: fix a few grammar errors in builtin.string comments (#21010) 2024-03-13 13:14:50 +02:00
Pierre Curto
aeadc0a12a
x.json2: improve error message upon missing comma (#20602) 2024-03-12 19:16:08 +02:00
Turiiya
365bd18542
fmt: update tests to run all fmt also in a vmodules context (#20995) 2024-03-12 17:11:27 +02:00
Delyan Angelov
a373bee98b
builtin: expose gc_disable(), gc_enable(), gc_is_enabled(), in addition to the existing gc_collect() (#21002) 2024-03-12 17:03:33 +02:00
Delyan Angelov
a023fe3264
ci: add a vtcc step (check that vtcc, continues to be able to compile with v, and v itself can be compiled with vtcc) (#21000) 2024-03-12 15:00:20 +02:00
Leron Gray
d6236e1052
io.reader: make read_all constants public (#20997) 2024-03-12 08:35:22 +02:00
Alexander Medvednikov
96aa23ff35 orm: insert expressions returning id 2024-03-11 20:04:33 +03:00