Commit graph

19717 commits

Author SHA1 Message Date
kbkpbot
b87aed84e3
toml: fix handling of multiline string with CRLF (fix #24321) (#24322) 2025-04-26 07:59:18 +03:00
Delyan Angelov
fa41436852
ci: skip option_ptr_unwrap_test.v on windows with msvc (#24320) 2025-04-26 07:47:19 +03:00
kbkpbot
e0a7f87693
rand: add uuid_v7(), session function, simplify uuid_v4() (#24313) 2025-04-25 18:30:57 +03:00
Mike
0bcfd0f9ea
cgen: fix riscv64 closure thunk (use floating point register) (#24315) 2025-04-25 15:24:52 +03:00
Mike
ce00dc738b
cgen: fix s390x closure thunk (use floating point register) (#24258) 2025-04-25 15:12:27 +03:00
Mike
09d83a1613
cgen,ast: add ppc64le assembly support + test (#24299) 2025-04-25 07:01:08 +03:00
Felipe Pena
283654e410
checker: fix inherited var turning in auto heap (fix #24306) (#24312) 2025-04-25 06:57:48 +03:00
Felipe Pena
c7e00b395b
cgen: fix codegen for nested selector unwrapping on lhs (fix #24292) (#24293) 2025-04-25 06:55:51 +03:00
Felipe Pena
47d8ff94e2
cgen: fix codegen for multi return with aliased fixed array (fix #24280) (#24295) 2025-04-25 06:37:59 +03:00
kbkpbot
09592349f0
thirdparty: add aarch64 atomics support in thirdparty/stdatomic/nix/atomic.h (fix #24294) (#24296) 2025-04-25 06:28:16 +03:00
Felipe Pena
19900fd50c
cgen: fix codegen for assigning fixed array on defer var (fix #24300) (#24305) 2025-04-25 06:12:03 +03:00
Felipe Pena
72f45e4434
parser: fix wrong string parsing (fix #24297) (#24298) 2025-04-24 13:53:31 +03:00
Delyan Angelov
59909cde89
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) (#24304) 2025-04-24 13:03:25 +03:00
Delyan Angelov
87d3a1d272
os.filelock: compile without warnings with gcc on windows 2025-04-23 07:52:07 +03:00
Felipe Pena
b76b1ee763
cgen: fix codegen for index expr on for loop with branchstmt (fix #22760) (#24289) 2025-04-22 08:38:00 +03:00
Mike
a9c68abf4a
v: add initial support for ppc64le (#24287) 2025-04-22 04:02:08 +03:00
Felipe Pena
475836bbb7
parser: fix invalid field name checking (fix #24279) (#24283) 2025-04-22 03:59:03 +03:00
Delyan Angelov
a0a83248e0
ci: fix v -o v2 -usecache cmd/v after ad5b829 2025-04-21 21:11:58 +03:00
Delyan Angelov
0a50715b03
examples: remove unused import orm from orm_sql.v 2025-04-21 20:13:01 +03:00
Delyan Angelov
ad5b829e5c v: remove closure usage from the compiler frontend (simplify bootstrapping/porting on more exotic platforms) 2025-04-21 19:54:42 +03:00
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) 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