20463 Commits

Author SHA1 Message Date
Felipe Pena
86536e452e
checker: fix check for pushing on an unwrapped option array (fix #24073) (#24093) 2025-03-31 02:16:16 +03:00
Felipe Pena
51e7861618
type_resolver: fix map generic resolver (fix #24090) (#24092) 2025-03-31 01:31:55 +03:00
Felipe Pena
ccb93e677c
cgen: fix codegen for selector with embed field option (fix #24084) (#24085) 2025-03-30 16:31:34 +03:00
Swastik Baranwal
21e6c46ae8
checker: error if right side of infix is void (fix #23976) (#24001) 2025-03-30 16:16:51 +03:00
Felipe Pena
98142aeb6d
parser: fix $dbg on function that uses veb comptimecall (fix #23999) (#24088) 2025-03-30 16:14:43 +03:00
Felipe Pena
94a91c263e
cgen: fix codegen for comptime multiline attr (fix #23964) (#24087) 2025-03-30 16:11:00 +03:00
Felipe Pena
a3180e5747
cgen: fix x in [...]! operator with fixed arrays (fix #24082) (#24083) 2025-03-30 15:39:47 +03:00
kbkpbot
01a719a718
type_resolver: fix comptime_for array generic (fix #23969) (#24089) 2025-03-30 15:28:40 +03:00
kbkpbot
690f845594
cgen: fix nested array support for the orm (fix #19327) (#24080) 2025-03-30 15:26:16 +03:00
Felipe Pena
0e93a12bd9
cgen: fix option array push on unwrapped array (fix #24073) (#24079) 2025-03-30 15:21:47 +03:00
gechandesu
991b121459
v.vmod: add encoder/1 too (#24034) 2025-03-29 17:08:35 +02:00
Delyan Angelov
6b3521f5f3
cgen: remove unused macro V64_PRINTFORMAT 2025-03-29 09:02:12 +02:00
Felipe Pena
657770e6c1
cgen: fix @[keep_args_alive] with ptr (fix #23973) (#24058) 2025-03-29 09:01:23 +02:00
kbkpbot
0c4eed60bb
v.depgraph: fix resolve(), add tests (fix #24075), (fix #23970), (fix #23968), (fix #22391) (#24076) 2025-03-29 08:48:05 +02:00
kbkpbot
fcd2eed048
orm: fix default value quote (fix #24052) (#24057) 2025-03-28 13:02:21 +02:00
kbkpbot
0056d557b6
markused: support orm or expr (fix #24040) (#24059) 2025-03-28 12:43:49 +02:00
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