Delyan Angelov
|
eec930b86a
|
os: turn some panics into return error()
|
2021-09-18 10:45:04 +03:00 |
|
czkz
|
816c6c62b5
|
os: fix documentation typo in args.v (#11526)
|
2021-09-17 20:55:16 +03:00 |
|
playX
|
c175b4fd48
|
v.gen.js: refactor code, fix alias codegen, -stats now again works with tests on the JS backend (#11512)
|
2021-09-16 14:00:15 +03:00 |
|
Enzo
|
e57b068df0
|
os: add open_uri/1 , use it in v bug (#11450)
|
2021-09-09 10:48:53 +03:00 |
|
playX
|
72089c4feb
|
js: use prefixed names for functions and global symbols (#11387)
|
2021-09-08 20:30:46 +03:00 |
|
yuyi
|
e5360e164a
|
fmt: remove unnecessary parentheses after return (fix #11423) (#11435)
|
2021-09-08 14:19:53 +03:00 |
|
Enzo
|
e3b65092d6
|
parser: deprecate size_t (#11443)
|
2021-09-08 13:09:32 +03:00 |
|
Delyan Angelov
|
166dd61e90
|
Revert "Revert "term: obtain the cursor position via termios.h (#11372)""
This reverts commit 0376cbf6bd .
|
2021-09-06 19:04:14 +03:00 |
|
Alexander Medvednikov
|
0376cbf6bd
|
Revert "term: obtain the cursor position via termios.h (#11372)"
This reverts commit af28d09630 .
|
2021-09-06 18:21:55 +03:00 |
|
AAAA
|
af28d09630
|
term: obtain the cursor position via termios.h (#11372)
|
2021-09-06 17:24:39 +03:00 |
|
Larpon
|
bd33eaa3b8
|
os: add function to expand "~" to home directory (#11362)
|
2021-09-01 16:32:28 +03:00 |
|
Alexander Medvednikov
|
cf4081e2dd
|
all: more chdir/chmod fixes
|
2021-08-28 12:52:48 +03:00 |
|
Alexander Medvednikov
|
f731060caf
|
all: update chmod/chdir usages
|
2021-08-28 10:23:01 +03:00 |
|
Alexander Medvednikov
|
853d3cb83e
|
os: make chmod() return error
|
2021-08-28 09:37:24 +03:00 |
|
Alexander Medvednikov
|
858ba25d55
|
os: make chdir() return error
|
2021-08-28 09:35:39 +03:00 |
|
playX
|
bdf11d969a
|
js: add basic support for running tests, fix string.replace_each (#11314)
|
2021-08-26 15:20:54 +03:00 |
|
Delyan Angelov
|
db194abeac
|
os: merge os.c.v and os_c.c.v
|
2021-08-26 10:01:55 +03:00 |
|
playX
|
109d5d5847
|
js: os now compiles to the JS backend, more builtins & minor codegen fixes (#11302)
|
2021-08-25 14:40:53 +03:00 |
|
playX
|
d78e7e3b2b
|
js: codegen fixes, W.I.P os availability for JS backend (#11281)
|
2021-08-23 14:25:02 +03:00 |
|
div72
|
2bf1015ae1
|
os: add File.read_into_ptr (#11219)
|
2021-08-18 17:08:41 +03:00 |
|
pancake
|
90b25e7a4b
|
os: filesystem level locking api (#11191)
|
2021-08-17 08:21:33 +03:00 |
|
Delyan Angelov
|
8fbd8f790d
|
os: cleanup for -Wimpure-v
|
2021-08-12 21:53:29 +03:00 |
|
Enzo
|
506c30a291
|
builtin: remove methods that can be autogenerated (#11109)
|
2021-08-09 15:42:31 +03:00 |
|
Delyan Angelov
|
efa8dcf4d2
|
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050)
|
2021-08-04 13:12:02 +03:00 |
|
pancake
|
00d4c7082e
|
native: add support for print, eprint and eprintln (#11034)
|
2021-08-03 16:04:31 +03:00 |
|
Delyan Angelov
|
d82d41d804
|
os: fix os.dir, os.base, os.file_name, when the argument contains / on windows
|
2021-07-31 13:52:54 +03:00 |
|
Delyan Angelov
|
44892fd942
|
os: let os.dir("/xyz") return "/" (fixes compiling .v files in /)
|
2021-07-30 03:28:53 +03:00 |
|
Delyan Angelov
|
8eb544146e
|
os: fix building V on Haiku
|
2021-07-27 20:28:04 +03:00 |
|
Delyan Angelov
|
44828cbb29
|
ci: fix -cstrict job
|
2021-07-22 18:47:23 +03:00 |
|
Delyan Angelov
|
b537c9f624
|
tests: add a separate File.tell() test
|
2021-07-22 16:25:23 +03:00 |
|
Delyan Angelov
|
c4da74dbf6
|
ci: fix building V on windows with tcc (regression since d7dcb47 )
|
2021-07-22 14:50:22 +03:00 |
|
Delyan Angelov
|
9171c1131e
|
ci: skip a failing f.tell() test on macos only
|
2021-07-22 13:28:00 +03:00 |
|
Delyan Angelov
|
ec585b4a54
|
os: fix sporadic failing glob_test.v
|
2021-07-22 13:26:23 +03:00 |
|
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 |
|