19797 Commits

Author SHA1 Message Date
Felipe Pena
38ff647250
checker: add check for recursive array init on struct (fix #21195) (#24278) 2025-04-21 19:02:28 +03:00
Swastik Baranwal
157d8e84e5
checker: check anon struct field valid case (partial fix of #24284) (#24286) 2025-04-21 18:59:35 +03:00
Felipe Pena
5ac1e14e7f
checker: add a deprecation note for any arg, prevent any from being used as map key,value or array type (#24277) 2025-04-21 18:51:15 +03:00
Felipe Pena
8442e028c1
checker: fix codegen for multi return with array fixed (fix #24280) (#24282) 2025-04-21 18:31:11 +03:00
Felipe Pena
1eee74b211
parser: fix range expr precedence on compound logical and operator (fix #24252) (#24275) 2025-04-21 18:26:06 +03:00
Felipe Pena
7f12eafbeb
cgen: fix missing braces for const init with castexpr from option unwrapping expr (#24276) 2025-04-21 18:19:23 +03:00
Steven Gay
109e4f3a0c
doc: update link to map method (#24281) 2025-04-21 17:55:04 +03:00
kbkpbot
491a1ac515
vdoc: fix infinit recursive calls (fix #24232) (#24274) 2025-04-21 17:53:23 +03:00
kbkpbot
fd79183122
json: link with libm (fix #24272) (#24273) 2025-04-21 17:51:46 +03:00
Laurent Cheylus
188d68d32d
v.util.version: fix output for V full version when VCURRENTHASH not defined (#24264) 2025-04-20 03:25:56 +03:00
kbkpbot
13645e2456
log: add local time / utc time selection support (#24268) 2025-04-20 03:25:13 +03:00
Felipe Pena
324edc6eab
checker: fix stack var outside usage when var is a mutable param (#24249) 2025-04-20 03:03:20 +03:00
Felipe Pena
2edfb583b4
cgen: fix codegen for fixed array init with init using structinit (#24269) 2025-04-20 03:00:56 +03:00
Gonzalo Chumillas
11e25bc9ea
jsgen: fix array type checking in sum type match expressions (fix #24237 ) (#24259) 2025-04-18 12:52:07 +03:00
kbkpbot
dead5e69b4
json: fix option time (fix #24242) (fix #24175) (#24243) 2025-04-17 14:45:04 +03:00
kbkpbot
4e6b56dc4a
orm: add or_where() method to the builder (fix #24244) (#24250) 2025-04-17 14:44:07 +03:00
Felipe Pena
ccb3d5cfcd
cgen: fix codegen for const to c string (fix #24235) (#24248) 2025-04-16 17:36:28 +03:00
leopardracer
f3fb8b46ad
flag,net.websocket: fix typos in errors, traces and comments (#24251) 2025-04-16 17:34:15 +03:00
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