Bastian Buck
|
8f3646cb81
|
os: fix debugger_present for solaris (#10902)
-solaris has no `sys/ptrace.h`, instead `ptrace` is included in `sys/types.h` and `unistd.h`
|
2021-07-22 10:44:00 +03:00 |
Delyan Angelov
|
d7dcb47db3
|
os: implement File.seek/2 and File.tell/0
|
2021-07-22 08:00:21 +03:00 |
Delyan Angelov
|
5098334e65
|
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd)
|
2021-07-20 15:22:04 +03:00 |
Delyan Angelov
|
1bf6743987
|
vinix: support -os vinix (part 2)
|
2021-07-13 11:41:45 +03:00 |
pancake
|
fe65cde03b
|
tools: use os.symlink instead of system('ln -s') in `v symlink` (#10769)
|
2021-07-12 14:23:25 +03:00 |
waspoza
|
075e09b10e
|
os: fix a file descriptor leak in os.read_bytes() (#10723)
|
2021-07-09 23:49:46 +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 |
Delyan Angelov
|
7b4c342396
|
os: disable os.glob() on Android for now (fixes termux compilation)
|
2021-07-08 00:00:40 +03:00 |
yuyi
|
c4b5805890
|
checker: check generic method call args mismatch (#10669)
|
2021-07-05 10:14:00 +03:00 |
Delyan Angelov
|
972542d6ee
|
checker: `[noreturn]` part 2 (cleanup) (#10667)
|
2021-07-05 05:05:37 +03:00 |
shadowninja55
|
da9c75f2ca
|
checker: string != IError (#10665)
|
2021-07-05 05:05:08 +03:00 |
Daniel Däschle
|
3881e97a40
|
vlib: remove ustring usage (#10618)
|
2021-06-30 22:30:28 +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
|
97b83a4986
|
os: add debugger_present() for linux (#10257)
|
2021-06-29 15:00:48 +03:00 |
Delyan Angelov
|
6890756cd2
|
os: cleanup of old deprecated functions. Add File.write_full_buffer/2; use it in os.write_file/2
|
2021-06-25 22:51:59 +03:00 |
Uwe Krüger
|
72358833e0
|
time: use `Duration(C.INT64_MAX)` as infinite (#10539)
|
2021-06-22 12:17:44 +03:00 |
Bastian Buck
|
1e9e717111
|
os: fix using Win32-API with TCC32 (#10496)
|
2021-06-21 14:14:58 +03:00 |
Bastian Buck
|
acf9d168cb
|
os: fix some C compiler warnings for windows (#10506)
|
2021-06-18 20:07:25 +03:00 |
Delyan Angelov
|
b7fea87d07
|
os: fix normalize_drive_letter (used by os.real_path) returning a parameter
|
2021-06-18 13:06:52 +03:00 |
Miccah
|
a0b7e1a0ca
|
os/notify: make epoll wrapper thread safe (#10473)
|
2021-06-16 04:03:33 +03:00 |
Uwe Krüger
|
60c880a0cc
|
vlib: use `malloc_noscan()` where possible (#10465)
|
2021-06-15 14:47:11 +03:00 |
Delyan Angelov
|
48b3ab831b
|
ci: fix failing test test_realpath_existing for os.real_path on macos
|
2021-06-15 14:13:12 +03:00 |
Delyan Angelov
|
0c922f5570
|
ci: fix the failing os.real_path tests on windows
|
2021-06-15 13:34:28 +03:00 |
Delyan Angelov
|
51596da314
|
os: fix returning parameter in [manualfree]os.real_path(fpath), when fpath==""
|
2021-06-15 13:10:41 +03:00 |
Miccah
|
e328b1d292
|
os: create epoll wrapper (#10404)
|
2021-06-15 04:44:31 +03:00 |
Emily Hudson
|
535dcac8fa
|
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904)
|
2021-06-13 23:53:38 +03:00 |
Andreas Heissenberger
|
96c8d147b2
|
v.gen.js: add source map creation support (inline only, no src) (#10384)
|
2021-06-10 08:33:46 +03:00 |
Delyan Angelov
|
95cf120e2e
|
ci: fix linux-cross job; os.real_path cleanup
|
2021-06-08 18:34:15 +03:00 |
Delyan Angelov
|
d820f2da6f
|
os: use arr.trim() in read_bytes, instead of a arr[0..x].clone()
|
2021-06-08 17:24:07 +03:00 |
Delyan Angelov
|
4772146a7e
|
tests: fix failing tests on M1
|
2021-06-07 18:23:18 +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 |
Uwe Krüger
|
2d8a136d6e
|
os: fix file read (#10247)
|
2021-05-29 16:53:42 +03:00 |
Delyan Angelov
|
bf97faf32a
|
os: simplify os.read_bytes_into_newline to fix compilation on freebsd
|
2021-05-22 07:48:12 +03:00 |
Delyan Angelov
|
b7bf4b034e
|
os: use stricter declarations for C.getc/1, C.fseeko/3 and C._fseeki64/3
|
2021-05-22 07:45:00 +03:00 |
Sebastian Schicho
|
04ea2824d3
|
os: implement File.read_bytes_into_newline method for reading into a buffer, line by line (#10129)
|
2021-05-21 13:18:08 +03:00 |
Alexander Medvednikov
|
f09a5135e9
|
checker: handle builtin enum init correctly
|
2021-05-20 03:14:32 +03:00 |
Delyan Angelov
|
453fb1b08b
|
term.ui: use os.signal_opt instead of os.signal
|
2021-05-18 11:59:57 +03:00 |
Delyan Angelov
|
21b34b3a0b
|
ci: bump up the deprecation date of os.signal to 2021-06-18
|
2021-05-18 11:06:00 +03:00 |
Leigh McCulloch
|
49deeac71e
|
os: fix file read end-of-file detection (#10070)
|
2021-05-13 09:48:55 +03:00 |
kevin70g
|
e9c84ce154
|
os: fix is_abs_path() panic, when path is only one letter on windows (#10071)
|
2021-05-10 10:01:32 +03:00 |
Delyan Angelov
|
4728d102d9
|
os: add Process.finalise() and Process.free() methods to cleanup pipe descriptors
|
2021-05-09 21:50:47 +03:00 |
Delyan Angelov
|
38d16229ef
|
os: fix panic on os.is_abs_path('')
|
2021-05-09 10:45:34 +03:00 |
Enzo
|
4ac751d773
|
os: add `signal_opt` and deprecate `signal` (#10005)
|
2021-05-05 15:39:02 +03:00 |
Miccah
|
12c3f85507
|
os: add getuid and geteuid (#10002)
|
2021-05-05 14:20:11 +03:00 |
Delyan Angelov
|
298fc533e4
|
ci: run `v fmt -w vlib/os/file.c.v`
|
2021-05-04 08:40:27 +03:00 |
Leigh McCulloch
|
0fa9a648ae
|
os: add os.stdout() and os.stderr(), returning os.File, similarly to os.stdin() (#9990)
|
2021-05-03 19:00:51 +03:00 |
Leigh McCulloch
|
4ba11b7752
|
os: deprecate os.open_stdin in favor of os.stdin (#9989)
|
2021-05-03 18:57:21 +03:00 |
Enzo
|
fb7ddcd4c9
|
checker: fix looking for unprefixed `os` functions (#9968)
|
2021-05-02 21:46:12 +03:00 |
Uwe Krüger
|
787a63dab6
|
cgen: execute `defer` block *after* return expression is evaluated (#9893)
|
2021-04-27 01:42:16 +03:00 |