Delyan Angelov
|
e419faf746
|
all: fix dependant ->dependent typos, cleanup comments
|
2022-12-02 12:51:10 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Delyan Angelov
|
2083e6b04c
|
os: cleanup APIs returning !bool to either return ! or bool (#16111)
|
2022-10-20 13:56:06 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
shove
|
8b962f8446
|
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752)
|
2022-09-15 07:59:31 +03:00 |
|
Delyan Angelov
|
e156e6a44a
|
os: remove commented code in os_windows.c.v
|
2022-08-22 14:54:38 +03:00 |
|
Alexander Medvednikov
|
9099594a49
|
all: wrap up unsafe { nil } (p. 3)
|
2022-07-21 21:01:30 +03:00 |
|
Markus F.X.J. Oberhumer
|
74bb5ae17a
|
os: add an optional "mode" parameter to os.mkdir and os.mkdir_all (#14887)
|
2022-06-30 13:49:47 +03:00 |
|
Wertzui123
|
c10ba6d81a
|
os: add .cmd to the list of Windows executable suffixes (#14839)
|
2022-06-23 20:12:29 +03:00 |
|
Wertzui123
|
587101a1ea
|
os: fix find_abs_path_of_executable function (on Windows) (#14835)
|
2022-06-23 03:36:15 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Larpon
|
34a252ef84
|
os: add raw_execute on Windows (#14363)
|
2022-05-11 16:56:03 +03:00 |
|
Alexander Medvednikov
|
fb192d949b
|
all: replace []byte with []u8
|
2022-04-15 15:35:35 +03:00 |
|
Merlin Diavova
|
f3683b7cdc
|
os: add an .exit_code field to os.Command (#13321)
* Added os.Command.exit_code
* vfmt vlib/os/os_test.v
* extract os.Command to os.v, add a dummy panicing implementation on windows, just for parity, fix os_test.v on macos, skip test_command on windows.
Co-authored-by: Merlin Diavova <md@merlindiaova.org>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
|
2022-01-30 00:44:52 +02:00 |
|
Subhomoy Haldar
|
fe77e64b3e
|
os: remove trim_space() in os.execute() on windows, to make implementations consistent (#13272)
|
2022-01-25 14:09:56 +02:00 |
|
Delyan Angelov
|
34f0d442df
|
ci: separate other_ci.yml and paths_ci.yml; simplify make.bat (#13254)
|
2022-01-23 12:50:19 +02:00 |
|
Delyan Angelov
|
7a0dc60d04
|
os: re-add the leak in os.join_path (the os.join_path(x, ...arr) case should be handled by V). Add a memleak free os.join_path_single version.
|
2021-11-22 14:40:55 +02:00 |
|
Delyan Angelov
|
e77a11001e
|
os: make init_os_args_wide (windows), more simillar to the current init_os_args (unix)
|
2021-11-21 23:04:30 +02:00 |
|
Delyan Angelov
|
d1c4b470bc
|
os: make os.ls('') return an error, make os.walk_ext more memory efficient on deep hierarchies, add tests for os.walk_ext
|
2021-10-24 18:44:13 +03:00 |
|
pancake
|
47bf64473c
|
vlib: reimplement glob in V for UNIX to not depend on libc (#10707)
|
2021-07-09 03:27:16 +03:00 |
|
shadowninja55
|
da9c75f2ca
|
checker: string != IError (#10665)
|
2021-07-05 05:05:08 +03:00 |
|
Bastian Buck
|
8cc49b5e9e
|
os: add utime() (#9796)
|
2021-06-30 10:21:23 +03:00 |
|
Bastian Buck
|
d2f19ac494
|
os: add a glob() function (#10497)
|
2021-06-30 08:30:18 +03:00 |
|
Bastian Buck
|
1e9e717111
|
os: fix using Win32-API with TCC32 (#10496)
|
2021-06-21 14:14:58 +03:00 |
|
Uwe Krüger
|
60c880a0cc
|
vlib: use malloc_noscan() where possible (#10465)
|
2021-06-15 14:47:11 +03:00 |
|
Bastian Buck
|
d6e462a6ca
|
os: fix os.is_link and os.symlink on windows, add new functions os.getppid, os.getgid, os.getegid (#10251)
|
2021-05-29 23:26:13 +03:00 |
|
Bastian Buck
|
160b605640
|
os: use C.GetUserNameW for os.loginname() instead + improvements os.uname() (#9872)
|
2021-04-25 18:16:14 +03:00 |
|
Marcos Diaz
|
187895c93c
|
os: use GetComputerNameW to retrieve hostname on Windows (#9861)
|
2021-04-24 13:22:04 +03:00 |
|
Bastian Buck
|
9ec91f4d58
|
os: add new function os.loginname(), improve some error messages (#9794)
|
2021-04-19 14:57:25 +03:00 |
|
Bastian Buck
|
546dc91967
|
os: create os.hostname() and os.chown() + os.uname() for windows (#9722)
|
2021-04-15 01:49:05 +02:00 |
|
Lukas Neubert
|
ada763e0f4
|
fmt: remove parenthesis around single ident (#9696)
|
2021-04-12 16:01:03 +03: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 |
|
zakuro
|
e3c0f305b2
|
os: deprecate os.File.write_bytes and add os.File.write_ptr (#9370)
|
2021-03-20 09:02:28 +02:00 |
|
Nick Treleaven
|
446631ceb5
|
checker: fixed array cannot implicitly convert to fooptr (again) (#9302)
|
2021-03-15 15:55:07 +02:00 |
|
Delyan Angelov
|
d7049ae2da
|
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974)
|
2021-03-08 20:52:13 +02:00 |
|
Nick Treleaven
|
c03798e390
|
checker: disallow implicit conversion from fixed array to fooptr (#8823)
|
2021-02-26 00:28:47 +01:00 |
|
Nick Treleaven
|
4ccf991f61
|
checker: warn when casting a fixed array (use &arr[0] instead) (#8787)
|
2021-02-17 20:45:11 +01:00 |
|
Nick Treleaven
|
4a0367a63c
|
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766)
|
2021-02-15 17:15:52 +02:00 |
|
Lukas Neubert
|
d660f2cc6f
|
fmt: insert newline after last HashStmt (#8482)
|
2021-02-01 14:50:41 +01:00 |
|
Delyan Angelov
|
4e2b908f21
|
ci: fix os compilation on windows
|
2021-01-26 17:41:27 +02:00 |
|
Delyan Angelov
|
728344ff65
|
ci: fix v test-cleancode
|
2021-01-25 12:55:01 +02:00 |
|
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
|
yuyi
|
a1c67232d0
|
checker: fix duplicate variable name (fix #265) (#7982)
|
2021-01-10 21:41:29 +01:00 |
|
clubby789
|
0ab6a8cd01
|
os: add a posix_set_permission_bit function (#7754)
|
2021-01-04 19:57:17 +02:00 |
|
zakuro
|
dd516858d4
|
fmt: align struct field comments (#7632)
|
2021-01-03 21:10:25 +01:00 |
|
spaceface
|
214290d55b
|
fmt: add a space around single-line unsafe expressions (#7505)
|
2020-12-23 19:13:42 +01:00 |
|
Delyan Angelov
|
88a8507dd8
|
os: vfmt most of os , add it to v test-cleancode
|
2020-12-16 11:08:23 +02:00 |
|
Ekopalypse
|
cc4bb71f29
|
os: prevent unnecessary dependencies when importing os on windows (#6741)
|
2020-11-04 10:19:46 +02:00 |
|
Delyan Angelov
|
f7698ea160
|
v symlink: fix windows PATH setting (cmd.exe needs C: not c:)
|
2020-10-22 17:31:37 +03:00 |
|