19797 Commits

Author SHA1 Message Date
Delyan Angelov
2ce2e5868e
ci: skip running the s390 CI job for simple doc/yml changes (#24160) 2025-04-08 08:37:47 +03:00
Delyan Angelov
c5ace0eded
ci: add a s390x job (using QEMU), running the endianness related tests in builtin, os, and encoding.binary (#24153) 2025-04-07 23:35:33 +03:00
Felipe Pena
85a2dd9f13
parser: fix orm generic struct table type parsing (fix #24049) (#24149) 2025-04-07 15:36:52 +03:00
Delyan Angelov
3cbc141c80
checker: reorder frequent branches first, based on measurements of common code in the compiler 2025-04-07 13:36:42 +03:00
Mike
591e1964bb
builtin: fix wide tests for big_endian systems (#24145) 2025-04-07 12:42:23 +03:00
Delyan Angelov
a9ff1a2624
ast: minimise allocations done for the common case in find_struct_field 2025-04-07 10:14:34 +03:00
kbkpbot
e9ac9f1410
ast: fix parse_cflag() support other flags between allowed_flags (fix #24121) (#24146) 2025-04-07 08:23:05 +03:00
gechandesu
13148e0b56
encoding.iconv: fix iconv on termux (fix #23597) (#24147) 2025-04-07 08:14:49 +03:00
Felipe Pena
a69b0b7224
cgen: fix multi return with option type (#24144) 2025-04-07 04:19:40 +03:00
Alexander Medvednikov
1e6fdbf815 gg: fix screen_size() on macos with multiple displays 2025-04-07 04:18:18 +03:00
Felipe Pena
071ab6c362
checker, cgen: fix non-voidptr to voidptr on -cstrict + notice about such usage (fix #24139) (#24143) 2025-04-06 08:27:57 +03:00
Roman
52b5c3204e
crypto: add a crypto.ripemd160 module (#24119) 2025-04-05 19:05:38 +03:00
Mike
5211debe75
comptime: enable s390x + docs (#24114) 2025-04-05 19:00:45 +03:00
Felipe Pena
7dad6e887e
parser,checker,cgen: fix wrong auto heap deref of auto index loop var (fix #24117) (#24124) 2025-04-05 18:59:28 +03:00
Felipe Pena
df2a6799a9
checker: simplify and cleanup some check types logic (#24141) 2025-04-05 18:58:53 +03:00
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