31 Commits

Author SHA1 Message Date
Alexander Medvednikov
7d57a19d7e checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
Alexander Medvednikov
bed827e663 checker: do not allow auto (de)reference in PrefixExpr *; pref: disable parallel checker on arm linux for now 2025-03-24 15:39:31 +03:00
kbkpbot
9fb0f8b5aa
os: support .set_environment() on windows too (fix #10628) (#23996) 2025-03-22 00:29:56 +02:00
kbkpbot
a1304637c5
os: implement Process.is_pending() on windows (fix #23990) (#23993) 2025-03-21 11:03:03 +02:00
Felipe Pena
734fde89e8
checker: add fntype casting validations (#23872) 2025-03-13 16:38:12 +03:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
Delyan Angelov
791d0d30ea
v: use -check-unused-fn-args to cleanup the compiler code itself 2024-11-18 12:10:03 +02:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
209063ffd0
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
Seweryn
5f7e6ff13a
os: add proper process termination with p.signal_term() (#20671) 2024-01-27 23:25:36 +02:00
gym603
51d412a5b6
os: fix an error in Process.win_spawn_process, not using stdout pipe in a cmd environment on 32bit Windows (#20613) 2024-01-23 16:34:01 +02:00
shove
2a6c1d9074
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955) 2023-11-23 11:16:26 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Delyan Angelov
eb82a72012
ci: vfmt vlib/os/process_windows.c.v and vlib/os/os.c.v 2023-10-16 01:48:35 +03:00
Delyan Angelov
f54f156d25 clipboard: fix v -cstrict -cc gcc vlib/clipboard/clipboard_test.v 2023-10-15 21:21:29 +03:00
Delyan Angelov
c6947fde57
os: implement Process.set_work_folder/0 to set the initial working folder of the new child process (#17946) 2023-04-13 14:48:32 +03:00
d3c0d3d.exe
54a1b66b94
os: add create_no_window parameter to Process (#17726) 2023-03-21 11:24:40 +02:00
Alexander Medvednikov
868908b80d checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +03:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Alexander Medvednikov
9099594a49 all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
Delyan Angelov
3308313167
os: remove the closing of stream handles at the end of Process.win_slurp/1 2022-07-06 15:43:13 +03:00
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
dbcf6e9c33 os: fix Process on windows 2022-04-15 15:23:05 +03:00
yuyi
62553dcc2e
cgen: fix crash for casting bool to int (fix #13825) (#13844) 2022-03-28 12:20:47 +03:00
Juergen Donnerstag
654bc49d3c
os: implement win_read_string on os.Process (#13428) 2022-02-11 13:02:00 +02:00
Delyan Angelov
fec89c7efb
ci: fix some of v test-cleancode 1 2021-04-05 20:47:32 +03:00
Delyan Angelov
c698fa1a58
all: support v -watch run (#9577) 2021-04-04 16:05:06 +02:00
Delyan Angelov
d633261a99
os: add Process (#6786) 2020-11-16 17:32:50 +01:00