kbkpbot
|
f4b51d064e
|
os: fix get_raw_line() on windows (fix #23843) (#23846)
|
2025-03-03 06:55:35 +02:00 |
|
Delyan Angelov
|
ff93ccb29d
|
ci,os: fix bootstrapping with -os cross -o vc/v.c (avoid the generic calls in the new write_u8 and read_u8)
|
2025-02-27 13:59:28 +02:00 |
|
Delyan Angelov
|
9f5a1b8b4a
|
os: add File.write_u8/1 and File.read_u8/0 helper methods
|
2025-02-27 13:40:40 +02:00 |
|
kbkpbot
|
370ba448dd
|
os: fix buffer overflow in os.get_raw_line under Windows (#23816)
|
2025-02-27 01:09:34 +02:00 |
|
Delyan Angelov
|
f83c8bf478
|
v.pref: allow for -os wasm32_emscripten and filtering _d_wasm32_emscripten.c.v and _notd_wasm32_emscripten.c.v files. (#23797)
|
2025-02-24 11:23:37 +02:00 |
|
Delyan Angelov
|
16a6e45274
|
gg: fix ./v -gc none -autofree run examples/tetris/ (avoid return s1 + s2 + s3 , clone the arrays, passed to the fontstash wrapper)
|
2025-02-07 14:29:43 +02:00 |
|
kbkpbot
|
d78bf1122d
|
os: add disk_usage/1 (#23634)
|
2025-02-02 19:32:21 +02:00 |
|
kbkpbot
|
2a69b7c525
|
os: add split_path/1: os.split_path('/usr/lib/test.so') -> ('/usr/lib','test','.so') ; fix platform dependent behaviour of os.dir/1, os.base/1, os.file_name/1 (#23532)
|
2025-01-21 06:58:47 +02:00 |
|
Emma
|
6b92f8fada
|
all: remove ancient deprecations (#23479)
|
2025-01-16 16:36:12 +02:00 |
|
Alexander Medvednikov
|
6b3724df3a
|
checker: do not allow auto reference of voidptr params
|
2025-01-13 19:01:43 +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 |
|
alexey semenyuk
|
2ea6115558
|
os: fix typo (fix #23267) (#23292)
|
2024-12-27 22:19:50 +02:00 |
|
yuyi
|
17f3c8f813
|
checker: check fn call argument mismatch (fix #23016) (#23061)
|
2024-12-04 11:52:07 +02:00 |
|
Delyan Angelov
|
55c25b398c
|
os: add os.get_trimmed_lines() too
|
2024-12-03 17:01:39 +02:00 |
|
Delyan Angelov
|
25ed6361e0
|
os: add os.get_raw_lines(), cleanup code of os.get_lines_joined() and os.get_raw_lines_joined()
|
2024-12-03 13:42:07 +02:00 |
|
Delyan Angelov
|
6f4c59e002
|
os: add pub (mut f File) write_le[T](x T) ! , pub (mut f File) write_be[T](x T) ! + read equivalents, add tests
|
2024-11-30 23:35:03 +02:00 |
|
Delyan Angelov
|
b801083f13
|
Revert "os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966)"
This reverts commit 93009823f992176166bf5e5d90c9627adb46bdc0.
|
2024-11-25 15:10:15 +02:00 |
|
Elsie
|
93009823f9
|
os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966)
|
2024-11-25 12:17:33 +02:00 |
|
Ekopalypse
|
ca6727303d
|
os: use _wputenv instead of _putenv to stay in sync with _wgetenv (fix changing env variables with non ASCII content on windows) (#22920)
|
2024-11-21 01:33:02 +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 |
|
Delyan Angelov
|
df51e840f9
|
os: work towards being able to again use -autofree while recompiling the V compiler several times
|
2024-11-14 13:58:50 +02:00 |
|
Hitalo Souza
|
402e239edf
|
os: document the various enum values in os.Signal (#22770)
|
2024-11-05 20:50:09 +02:00 |
|
Delyan Angelov
|
7da79fd221
|
os: improve robustness of create_folder_when_it_does_not_exist/1 (fix CI false positives for vab-compiles-v-examples ) (#22548)
|
2024-10-17 15:51:04 +03:00 |
|
Delyan Angelov
|
c5e8ad19df
|
builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540)
|
2024-10-16 14:18:10 +03:00 |
|
Delyan Angelov
|
9a88446ee0
|
os: improve doc comments for os functions, that accept/return a size/offset in bytes (#22519)
|
2024-10-14 14:08:04 +03:00 |
|
yuyi
|
da3112e545
|
all: replace fn name '@xxx' with 'xxx' (#22506)
|
2024-10-12 22:17:02 +03:00 |
|
Delyan Angelov
|
502442ad00
|
os: implement os.data_dir(), os.state_dir(), os.local_bin_dir() + tests (#22426)
|
2024-10-07 07:23:50 +03:00 |
|
Delyan Angelov
|
cfa91d81d7
|
examples,os: add an os.asset module, use it to simplify code in examples/, by removing $if android { checks (#22281)
|
2024-09-22 16:04:05 +03:00 |
|
yuyi
|
acf6b344f7
|
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
|
2024-09-17 09:47:38 +03:00 |
|
yuyi
|
008aaad999
|
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
|
2024-09-10 11:25:56 +03:00 |
|
Laurent Cheylus
|
84135d733a
|
tests: skip an assertion in os_stat_test.v on OpenBSD (fix #22123) (#22124)
|
2024-08-28 11:23:08 +03: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
|
79ee4ae046
|
fmt: fix alignment of enumeration types (#21999)
|
2024-08-07 15:46:50 +03:00 |
|
yuyi
|
ddb6685d8a
|
fmt: fix and simplify align of struct fields (#21995)
|
2024-08-05 20:23:39 +03:00 |
|
Delyan Angelov
|
c2f7afdbf5
|
builtin: add pub fn arguments() []string { ; make os.args use it, remove edge case in cgen (#21852)
|
2024-07-13 00:09:44 +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 |
|
Yashank
|
5b7cc63279
|
docs: fix comment considered as a token (#21705)
|
2024-06-20 12:25:20 +03:00 |
|
Mehmet Ali Şipi
|
ff865ea110
|
os.font: return the "segoeui.ttf" font, if its file exists on Windows (#21655)
|
2024-06-08 07:07:24 +03:00 |
|
Turiiya
|
a2ce55d922
|
builtin: update last_index_u8 , deprecate index_u8_last string methods, make consistent with last_index (#21604)
|
2024-06-04 13:21:47 +03:00 |
|
Bastian Buck
|
b4c560d4b8
|
os: fix debugger_present() for non Windows OSes (#21573)
|
2024-05-26 00:46:43 +03:00 |
|
Turiiya
|
25be36296e
|
os: make minior improvement to C function semantics and related code (#21565)
|
2024-05-25 11:30:04 +03:00 |
|
Turiiya
|
14018f1c45
|
os: remove mut declarions for unchanged vars in os_nix.c.v (#21564)
|
2024-05-25 03:32:59 +03:00 |
|
Delyan Angelov
|
ccfa65aa14
|
bootstrap: cleanup code checking for overflowing int literals, ease forwards compatibility with V versions before ef758a7
|
2024-05-24 10:36:07 +03:00 |
|
Delyan Angelov
|
6197140085
|
os: use 1 instead of C.SW_SHOWNORMAL to workaround a cross compilation issue from linux to windows
|
2024-05-21 19:47:04 +03:00 |
|
Delyan Angelov
|
4486493158
|
ci: fix failing vlib/v/tests/option_test.c.v
|
2024-05-19 10:11:27 +03:00 |
|
Delyan Angelov
|
6389da7047
|
os: rename os_structs_stat_windows.v to os_structs_stat_windows.c.v to fix v -Wimpure-v -os windows vlib/os/os_stat_test.v
|
2024-05-18 23:09:11 +03:00 |
|
Delyan Angelov
|
3a3a1085cf
|
builtin: simplify MessageError.msg() (#21524)
|
2024-05-18 22:36:24 +03:00 |
|
Delyan Angelov
|
c23c543b67
|
os: simplify and unify os.join_path and os.join_path_single, and add more tests (#21494)
|
2024-05-13 17:33:10 +03:00 |
|
Henrik Holst
|
76142b18a9
|
os: fix join-path (#21425)
|
2024-05-13 10:37:55 +03:00 |
|