Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
Tim Basel
|
9d0a5942ac
|
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
|
Delyan Angelov
|
eec930b86a
|
os: turn some panics into return error()
|
2021-09-18 10:45:04 +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 |
|
div72
|
2bf1015ae1
|
os: add File.read_into_ptr (#11219)
|
2021-08-18 17:08:41 +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
|
d7dcb47db3
|
os: implement File.seek/2 and File.tell/0
|
2021-07-22 08:00:21 +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 |
|
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
|
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 |
|
Leigh McCulloch
|
49deeac71e
|
os: fix file read end-of-file detection (#10070)
|
2021-05-13 09:48:55 +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 |
|
Uwe Krüger
|
787a63dab6
|
cgen: execute defer block *after* return expression is evaluated (#9893)
|
2021-04-27 01:42:16 +03:00 |
|
Delyan Angelov
|
291a88bc62
|
ci: fix some of v test-cleancode 4
|
2021-04-05 21:39:32 +03:00 |
|
Alexander Medvednikov
|
57e6138a61
|
all: remove byteptr and charptr; replace them with &byte and &char
|
2021-04-04 17:43:32 +03:00 |
|
Bastian Buck
|
15d9f50be9
|
os: add x64 mode for struct and raw read/write (#9512)
|
2021-03-30 11:40:23 +02:00 |
|
Bastian Buck
|
69dff4b384
|
os: make os module handle large files (#9439)
|
2021-03-26 07:51:55 +01:00 |
|
zakuro
|
e3c0f305b2
|
os: deprecate os.File.write_bytes and add os.File.write_ptr (#9370)
|
2021-03-20 09:02:28 +02:00 |
|
zakuro
|
29884fa2a9
|
os: deprecate read_at and add read_from to implement RandomReader (#9371)
|
2021-03-19 12:35:08 +02:00 |
|
Alexander Medvednikov
|
bb79df932b
|
net/os: deprecate write_str() in favor of write_string()
|
2021-03-19 04:51:31 +03:00 |
|
Delyan Angelov
|
b7a5fa7fbe
|
os: fix v -cflags "-Werror" test vlib/os/
|
2021-03-18 19:45:04 +02:00 |
|
Enzo
|
99abd46ac9
|
os: add (read|write)_raw[_at] to File (#9171)
|
2021-03-10 18:45:12 +02:00 |
|
Bartimus
|
ce92bf8da0
|
os.File: add .read_struct_at and .write_struct_at (#9114)
|
2021-03-06 20:44:53 +02:00 |
|
Delyan Angelov
|
5e0e44eb69
|
os: move file methods to vlib/os/file.c.v, document them, add new file.read_struct and file.write_struct and tests
|
2021-03-04 14:54:39 +02:00 |
|
Nick Treleaven
|
aed348fb80
|
os: tag some File methods that take voidptr as unsafe - write_bytes, write_bytes_at (#8985)
|
2021-02-27 10:11:17 +02:00 |
|
Stanislav Ershov
|
c190b6a131
|
vlib: remove older deprecated functions (#8864)
|
2021-02-20 20:42:55 +02:00 |
|
Delyan Angelov
|
995f27a7c0
|
builtin,os: use more precise C. declarations for C.fread, C.fwrite and C.qsort
|
2021-01-15 12:15:31 +02:00 |
|
zakuro
|
33694665f0
|
fmt: align each contiguous field of struct. not the whole. (#7981)
|
2021-01-12 04:38:43 +01:00 |
|
Delyan Angelov
|
e26e0c3f72
|
os: restore some of the deprecated os.File methods
|
2020-12-26 14:57:51 +02:00 |
|
Delyan Angelov
|
bd07177ef0
|
vlib: prepare os for -Wimpure-v
|
2020-12-15 09:58:33 +02:00 |
|