19797 Commits

Author SHA1 Message Date
Eliyaan (Nopana)
22414eb902
cgen: support measuring programs, that use multiple threads in the new profiler column (turn prof_measured_time into a thread local, for the supported C compilers) (#24061) 2025-03-28 12:41:23 +02:00
kbkpbot
8a23ea6e94
ci, x.crypto.chacha20: fix overflow detected in the sanitized runs on the CI (#24064) 2025-03-28 11:10:43 +02:00
blackshirt
19a6668864
x.crypto.chacha20: enable support for 64-bit counter (fix #23904) (#24053) 2025-03-27 19:30:31 +02:00
Eliyaan (Nopana)
a03d62e41f
cgen: add a -profile report column, to show only the func time, *excluding* the accumulated children calls time (usable through ./v -profile - run a.v |sort -nk3 for example) (#24056) 2025-03-27 14:03:39 +02:00
Felipe Pena
c22a9eb57e
cgen: fix match option with case non option (fix #24047) (fix #24048) (#24051) 2025-03-27 12:49:34 +02:00
blackshirt
e491eb05ab
x.crypto.chacha20: makes the underlying cipher routine aware of the 64-bit counter (#24050) 2025-03-26 14:02:58 +02:00
Delyan Angelov
175b0fa415
os,tools: make easier analyzing process_test.v failures on the CI 2025-03-26 14:00:47 +02:00
Mike
f7f89b3c3c
crypto.sha3: be big-endian friendly (#24045) 2025-03-25 23:33:59 +02:00
blackshirt
f2b90bfa01
x.crypto.chacha20: fix xor_key_stream failing after a while (fix #24043) (#24046) 2025-03-25 23:31:10 +02:00
Delyan Angelov
e968139439
examples: add sync_pool.v for easier testing/diagnosing issues with the sync.pool implementation on different platforms 2025-03-25 20:11:19 +02:00
Mike
d6c3e6fe5a
os: fix swap_bytes_u64 (#24033) 2025-03-25 15:34:57 +02:00
blackshirt
2b7690254d
x.crypto.chacha20: change internal cipher to support a 64 bit counter (related to #23904) (#24039) 2025-03-25 12:03:31 +02:00
Delyan Angelov
dd083e7687
sync.pool: restore the parallel operation (surrounding the cb call in process_in_thread in a lock in 1b52538, effectively disabled parallelism) 2025-03-25 09:16:43 +02:00
Delyan Angelov
86402934d3
examples: fetch 30 stories instead of 10 in examples/news_fetcher.v 2025-03-25 09:13:56 +02:00
blackshirt
287e9a8fa8
x.crypto.chacha20: clean up as preliminary work to support 64-bit counter (#24038) 2025-03-25 07:48:26 +02:00
Felipe Pena
1b52538dff
sync: fix a helgrind false positive, for a data race, on PoolProcessor (#24023) 2025-03-24 22:04:10 +02:00
Felipe Pena
42538e19ae
cgen: fix codegen for option return unwrapping on last statement (fix #24026) (#24030) 2025-03-24 15:44:04 +02:00
Alexander Medvednikov
bed827e663 checker: do not allow auto (de)reference in PrefixExpr *; pref: disable parallel checker on arm linux for now 2025-03-24 15:39:31 +03:00
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