19632 Commits

Author SHA1 Message Date
Delyan Angelov
10adb0784d
orm: skip orm_complex_where_test.v for sanitize-memory-clang too 2025-04-05 18:55:22 +03:00
André Luiz
6832df175d
orm: fix gen sql complex where (fix #24136) (#24138) 2025-04-05 15:52:59 +03:00
Mike
4872e3cff0
cgen,ast: add s390x assembly support + test (#24129) 2025-04-04 22:17:47 +03:00
kbkpbot
b1ab54bb1d
db.mysql: add null result support (fix #24130) (#24131) 2025-04-04 14:26:16 +03:00
Robin Randhawa
87f92b1f66
cgen: skip emitting mman.h and pthreads related code, for freestanding builds (#24118) 2025-04-03 17:25:07 +03:00
Felipe Pena
9b6ccb3eef
db.mysql: fix handling of nullable timestamp (fix #24120) (#24125) 2025-04-03 17:18:29 +03:00
Delyan Angelov
6326080143
cgen: sort the paths, used in coutput_test.v 2025-04-03 17:12:24 +03:00
kbkpbot
01a954310e
db.mysql: use mysql datatype for alloc string_binds_map, not orm's (#24126) 2025-04-03 17:01:29 +03:00
Felipe Pena
567a7d9d67
checker: fix wrong type hint on predicate arg type mismatch (fix #24122) (#24123) 2025-04-03 16:54:40 +03:00
Einar Hjortdal
5c8fd1562e
crypto.rc4: change the return type of new_cipher to be !&Cipher (#24113) 2025-04-03 16:26:11 +03:00
Felipe Pena
e912854e9e
checker, cgen: fix selector option unwrapping on infix (fix #24108) (#24115) 2025-04-03 16:21:42 +03:00
Felipe Pena
a298fb8aba
cgen: fix codegen for option unwrapped var passed to generic option type (fix #23972) (#24096) weekly.2025.14 2025-04-02 09:13:20 +03:00
Mike
44d3d59dd5
v: support a new CPU architecture s390x (#24107) 2025-04-02 09:11:49 +03:00
kbkpbot
592615c049
encoding.binary: add encode_binary()/decode_binary() generic functions (#24106) 2025-04-02 09:05:22 +03:00
Delyan Angelov
42ac6885df
cgen: fix showing the expression, as literal value, in case of assert s[x..y] == "literal" (fix #24103) (#24105) 2025-04-01 17:37:52 +03:00
kbkpbot
a59b717daa
cgen: fix generic result return (fix #24097) (#24100) 2025-04-01 15:54:19 +03:00
blackshirt
a8a4507237
x.crypto.slhdsa: add a SLH-DSA implementation, a stateless hash-based DSA, a post quantum cryptographic module (#24086) 2025-04-01 14:01:26 +03:00
Delyan Angelov
12afd051bb
ci: fix build conditions that had sanitize-memory-clang? instead of sanitize-memory-clang 2025-04-01 09:40:09 +03:00
Alexandre Jousset
a427fc5b59
orm: fix type alias not supported in table columns (fix #15478) (#24062) 2025-04-01 09:35:57 +03:00
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