20129 Commits

Author SHA1 Message Date
Mike
1b657fadb6
v.trace_calls: now musl has gettid(), there is no need for the shim on newer Alpine etc (#24245) 2025-04-16 17:33:25 +03:00
Delyan Angelov
385ae6cc3c
tools: add support for // vtest build: !os_id_ubuntu? tags in the _test.v files, detected by v test 2025-04-16 15:01:54 +03:00
Delyan Angelov
eee32e52db
tools: simplify the implementation of get_linux_os_name in v doctor 2025-04-16 14:47:07 +03:00
Mike
0464ed792e
tests: make assert_with_array_ref_test.v work on s390x too (#24246) 2025-04-16 12:41:48 +03:00
JalonSolov
ca317e2ddf
doc: remove reference to 'any' type (#24239) 2025-04-16 06:41:53 +03:00
kbkpbot
422b89cb3c
parser: fix mutiple imports at one line (#24241) 2025-04-16 06:41:05 +03:00
JalonSolov
c3d6858bf3
tools: remove the src subdir from projects, created by v new (#24236) 2025-04-16 06:37:51 +03:00
Emma
e972860fc9
build: add build system (#23853) 2025-04-15 20:04:58 +03:00
kbkpbot
711470de4e
orm: fix option field with default null value (fix #24222) (#24228) 2025-04-15 16:50:16 +03:00
kbkpbot
b76997a0c6
orm: set default value for require field if database value is null (fix #24221) (#24222) weekly.2025.16 2025-04-15 11:02:08 +03:00
Felipe Pena
3b4c016584
checker: fix array generic return checking (fix #24104) (#24214) 2025-04-14 20:24:22 +03:00
Felipe Pena
956c2f6324
checker: cleanup return_stmt (#24215) 2025-04-14 20:20:47 +03:00
kbkpbot
b180a03253
orm: fix option type, convert from int to i8, add examples, etc (fix #24211) (#24213) 2025-04-14 20:19:31 +03:00
Delyan Angelov
277c9c5f05 tests: add 2 simpler tests, to isolate a s390x failure 2025-04-14 14:56:38 +03:00
Delyan Angelov
d106ad636a thirdparty: add thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh for compiling tcc on macos (first draft) 2025-04-14 11:44:21 +03:00
Felipe Pena
df1ec9135a
cgen: fix variadic sumtype args passing (fix #24150) (#24207) 2025-04-14 11:01:18 +03:00
kbkpbot
880a9873a4
datatypes: add a Set.array/0 method to help get all the elements from a set as an array (#24206) 2025-04-13 19:25:32 +03:00
Felipe Pena
8a39132b6e
markused: fix for gated index range on string (fix #24187) (#24200) 2025-04-13 19:22:03 +03:00
kbkpbot
5e69315fc2
orm: add function call based builder API for dynamic queries (fix #24178) (#24196) 2025-04-13 19:18:29 +03:00
Xyndra
d559a62cfe
builtin,v.gen.wasm: support -b wasm -d no_imports (#24188) 2025-04-13 12:21:35 +03:00
Felipe Pena
36ec2355b2
cgen: fix zero left padding (fix #24199) (#24201) 2025-04-13 11:46:48 +03:00
kbkpbot
e146ee600f
encoding.binary: fix serialize map struct (fix #24190) (#24192) 2025-04-13 11:32:13 +03:00
Delyan Angelov
1c61b6f85e ci: use apt update before apt install in cross_ci.yml, to make the linux job more robust 2025-04-13 11:24:49 +03:00
Alexander Medvednikov
c2e27ef2b7 cgen: remove obfuscation (strip should be used instead); temporary fix for usecache + toml 2025-04-12 05:09:12 +03:00
Delyan Angelov
04f9a213de
ci: add riscv64_linux_ci.yml (based on QEMU) as well (#24181) 2025-04-11 19:00:15 +03:00
Mike
d54a8232f9
pkgconfig, termios: support NetBSD (#24176) 2025-04-10 08:32:34 +03:00
Hitalo Souza
bab3f23189
db: connection pool (#24161) 2025-04-10 03:17:32 +03:00
Mike
3e7414b9b7
GNUmakefile: add initial NetBSD support (#24173) 2025-04-09 18:55:31 +03:00
Mike
55b16fbdf2
sync: remove the call to C.pthread_rwlockattr_setpshared (not needed, since it is the default on POSIX) (#24166) 2025-04-09 13:13:29 +03:00
Delyan Angelov
c675963a29
ci: fix shell script issues reported by actionlint (#24168) 2025-04-09 12:31:17 +03:00
Hitalo Souza
2f7cf4df41
doc: improve Shared and Channels's topics, add more examples (#24155) 2025-04-09 07:49:06 +03:00
kbkpbot
aba4a5ae4a
db.mysql: use hardcoded const declare (fix #22086) (#24162) 2025-04-09 07:32:17 +03:00
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