20129 Commits

Author SHA1 Message Date
Felipe Pena
4422662b07
cgen: allow asserts inside fns, called in const/global initialization, in test files (fix #24029) (#24031) 2025-03-24 14:21:26 +02:00
Delyan Angelov
d6664fd75a
ci: reduce false positives for slow runs of the gcc-windows job 2025-03-24 14:19:59 +02:00
Delyan Angelov
fc6f6b2ca7
examples: add a small examples/gg/bouncing_balls.v simulation of falling balls 2025-03-24 13:17:59 +02:00
Mike
54c10ec475
cgen: fix asm comments of arm32 (#24025) weekly.2025.13 2025-03-24 02:03:42 +03:00
Felipe Pena
cc5f32f1ca
cgen: fix mutable ptr sumtype (#24021) 2025-03-24 02:01:11 +03:00
kbkpbot
e733c007bf
cgen,parser: fix arm64 asm operand position; fix arm64 asm imm; support arm64 dot instruction (#24017) 2025-03-24 02:00:57 +03:00
Hitalo Souza
1f07431e1a
x.json2.decoder2: update decode.v (#24020) 2025-03-23 21:40:00 +02:00
Delyan Angelov
0ad74ded92
gg: make draw_rect_empty/5 draw more exact borders, independent of the device, and fitting the draw_rect_filled/5 shapes (#24024) 2025-03-23 21:38:15 +02:00
blackshirt
a199a6ea2e
x.crypto.chacha20: fix consecutive calls of xor_key_stream, add tests (fix #23977) (#24003) 2025-03-23 18:49:43 +02:00
Felipe Pena
f5e03deaa8
checker: fix chan element type validation with inexistent type (fix #23978) (#24008) 2025-03-23 18:40:27 +02:00
Delyan Angelov
d629a017a0
tools: let test_os_process.v use unbuffer_stdout() to make the output more reliable 2025-03-22 18:33:18 +02:00
Felipe Pena
3920bc155f
cgen: fix codegen to make mutable sumtype working (fix #23982, part 1, needed for bootstrapping) (#23988) 2025-03-22 17:40:59 +02:00
Felipe Pena
8fa7d68ad2
cgen: cleanup write_sumtype_casting_fn (#24006) 2025-03-22 17:26:30 +02:00
XiaoPangxie732
15c0e6f2bd
strings, builtin: remove strings.Builder.clear(), fix array.clear() not working in the JS backend (#23992) 2025-03-22 17:24:59 +02:00
larpon
20d7d9758b
net: make close/0, select/2 and remote/0 methods of UdpSocket pub (#24004) 2025-03-22 16:41:32 +02:00
Alexander Medvednikov
1c1eb462e7 roadmap: update 0.5 and 0.6 2025-03-22 16:22:16 +03:00
Alexander Medvednikov
3ef1e2800a zstd: a minor fix 2025-03-22 16:15:20 +03:00
Alexander Medvednikov
3285b5a67c zstd: make the api more V like 2025-03-22 16:11:32 +03:00
Delyan Angelov
308c9a51dd thirdparty: add thirdparty/build_scripts/thirdparty-freebsd-amd64_tcc.sh 2025-03-22 14:48:05 +02:00
Delyan Angelov
e411ee1411
thirdparty: update thirdparty-linux-amd64_tcc.sh, to also record its own full invocation command, and commit the changes automatically 2025-03-22 11:24:25 +02:00
kbkpbot
9fb0f8b5aa
os: support .set_environment() on windows too (fix #10628) (#23996) 2025-03-22 00:29:56 +02:00
Felipe Pena
30c21a0fdc
cgen: cleanup interface_table() (remove the edge case support for vweb.DbInterface) (#23997) 2025-03-22 00:07:40 +02:00
Felipe Pena
d1dd3616c4
cgen: fix parallel cached_type_to_str access (fix #23980) (#23998) 2025-03-22 00:01:12 +02:00
larpon
bd064dd695
net: add read_ptr/2 (from read/1) to UdpConn for consistency with TcpConn (#24000) 2025-03-21 23:49:31 +02:00
Delyan Angelov
7bbe510a8d
examples: update rotating_textured_quad.v with instructions on how to compile/run it with emscripten and a browser 2025-03-21 23:42:44 +02:00
Delyan Angelov
ccd709ce43
examples: fix v -os wasm32_emscripten -o ms.html examples/gg/minesweeper.v (use os.asset to load the font, avoid the implicit closures for the frame/event callbacks)' 2025-03-21 23:19:10 +02:00
Delyan Angelov
b9d746fae8
ci: first recompile v with -g, before running Self tests, to ease remote diagnosis 2025-03-21 11:11:53 +02:00
kbkpbot
a1304637c5
os: implement Process.is_pending() on windows (fix #23990) (#23993) 2025-03-21 11:03:03 +02:00
Felipe Pena
76ae040f71
v.debug: fix $dbg with @[heap] structs (fix #23979) (#23989) 2025-03-21 08:33:02 +02:00
Alexander Medvednikov
a9a96b897e
changelog: fix V 0.4.10 release date 2025-03-20 14:46:50 +03:00
Alexander Medvednikov
9b1937a871 V 0.4.10 0.4.10 2025-03-20 14:42:00 +03:00
Kim Shrier
e1b9054a27
cli: account for initial indent on subcommands (#23985) 2025-03-20 13:33:27 +02:00
Kim Shrier
ff43cd5a20
builtin: fix minor typo in join_lines description (#23984) 2025-03-20 13:32:34 +02:00
Delyan Angelov
86bb2d72ea
thirdparty: add thirdparty/build_scripts/ to prepare for prebuilt tcc upgrades (#23981) 2025-03-19 22:41:17 +02:00
kbkpbot
87b1de8218
db.mysql: add SSL support; turn ConnectionFlag into @[flag] (#23975) 2025-03-19 15:03:40 +02:00
Delyan Angelov
4b68dffa49
v.util: shorten the V paths used in the C #line directives with tcc (the ../../../.. etc is no longer needed with newer tcc) (#23974) 2025-03-19 14:50:16 +02:00
Delyan Angelov
b528395039
builtin,markused,pref,cgen: improve markused for small programs 2025-03-18 21:05:04 +02:00
Delyan Angelov
90c638e649
cgen,v.builder: cleanup const generation/checks; fix cross compilation of .dll files from linux->windows (#23971) 2025-03-18 18:18:50 +02:00
Felipe Pena
d44d9fa0fb
checker,cgen: add T.key_type, typeof(expr).key_type, T.value_type, typeof(expr).value_type, T.element_type, typeof(expr).element_type for getting Map[K]V and []T types (fix #23914) (#23962) 2025-03-18 16:29:28 +02:00
Alexander Medvednikov
a959501e99
readme: add a link to pvs 2025-03-18 13:52:02 +03:00
Delyan Angelov
0893a72792
tools: support v doctor -skip-github to fully skip the fetching step, in places that have limited connectivity (alternative fix/workaround for #23955) weekly.2025.12 2025-03-18 11:11:19 +02:00
Delyan Angelov
9a8961f9e6
tools: add a custom timeout of 5s for the network using command git -C . fetch V_REPO in v doctor (it normally takes <1s) (fix #23955) 2025-03-18 11:07:40 +02:00
Delyan Angelov
7c42822f77
tools: add v timeout to be able to later use v timeout 5.1 git -C . fetch V_REPO in v doctor and other tools. 2025-03-18 10:57:36 +02:00
Delyan Angelov
e6f027dfa0
examples: fix v should-compile-all examples/ 2025-03-18 09:49:41 +02:00
Delyan Angelov
ef0d5caaf8
examples: remove the generic alias type overloaded operator workaround, after 29e60da 2025-03-18 09:27:56 +02:00
Swastik Baranwal
29e60da614
checker,cgen: implement alias operator overloading for generic struct parent type (fix #23965) (#23967) 2025-03-18 09:23:48 +02:00
kbkpbot
bd2ec679f0
cgen,dl: remove workaround in dl, generate a DllMain() in cgen instead for -shared on windows (#23961) 2025-03-17 17:04:10 +02:00
Felipe Pena
ebfa7d86cf
checker: fix typeof evaluation for generic reference (fix #23951) (fix #23952) (#23958) 2025-03-17 16:52:59 +02:00
Swastik Baranwal
2a3dc5c068
parser: disallow invalid expr in comptime $for (fix #23953) (#23959) 2025-03-17 16:44:26 +02:00
blackshirt
1e5c812540
crypto.ecdsa: improve internal sign_digest routine (#23960) 2025-03-17 16:40:52 +02:00