Delyan Angelov
|
77f8c88ccf
|
os: simplify file.c.v using cross platform f.seek/2 calls, add EINTR handling to f.write_full_buffer/2 (fix #25107) (#25110)
|
2025-08-15 08:02:34 +03:00 |
|
Delyan Angelov
|
3725576729
|
docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928)
|
2025-07-19 11:51:01 +03:00 |
|
Laurent Cheylus
|
80fed7add5
|
os: improve documentation (#24790)
|
2025-06-25 22:29:47 +03:00 |
|
kbkpbot
|
c72d77d8a4
|
os: fix os.File's tell/0 method for windows (fix #24217) (#24218)
|
2025-05-20 15:41:15 +03:00 |
|
Felipe Pena
|
071ab6c362
|
checker, cgen: fix non-voidptr to voidptr on -cstrict + notice about such usage (fix #24139) (#24143)
|
2025-04-06 08:27:57 +03:00 |
|
Delyan Angelov
|
615e74d341
|
vlib: reduce false positive matches for /// , cleanup commented code
|
2025-03-08 17:47:13 +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
|
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
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
Delyan Angelov
|
32f7ec8cea
|
os: add os.write_lines/2 + tests, fix deprecation notice in read_bytes_into_newline in file_test.v (#21343)
|
2024-04-25 08:31:01 +03:00 |
|
Delyan Angelov
|
d133f64c86
|
examples: add vtail.v, deprecate File.read_bytes_into_newline/1 in favor of File.read_bytes_with_newline/1 (#21182)
|
2024-04-04 11:09:06 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Delyan Angelov
|
a58f980b02
|
os: workaround a -prod -cc gcc bug, affecting os.open_file (fix #20923) (related to #20872) (#20960)
|
2024-03-04 18:15:28 +02:00 |
|
Delyan Angelov
|
de3b2b00a3
|
os, net.http.file: add a folder listing to the http static file server, started by file.serve/1 (#20192)
|
2023-12-16 08:06:30 +02:00 |
|
Dmitriy Mihaylenko
|
75c0c92759
|
os: fix os.open_file/3 wb mode creation of text files containing crlf on Windows (#20101)
|
2023-12-08 21:52:52 +02:00 |
|
Delyan Angelov
|
d1dcffa928
|
os: fix File.tell for files > 2GB on windows, by using C._telli64(f.fd) (#20072)
|
2023-12-03 03:58:01 +02:00 |
|
Turiiya
|
b088f43033
|
os: update comments (#19989)
|
2023-11-26 09:39:51 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Turiiya
|
9051ac8921
|
all: fix typos (#19634)
|
2023-10-23 21:21:15 +03:00 |
|
Alexander Medvednikov
|
545ee1ae23
|
checker: stricter rules for C types; C aliases; sokol fixes
|
2023-10-14 18:31:44 +03:00 |
|
Alexander Medvednikov
|
d3e950b3a9
|
checker: more line-info logic
|
2023-09-11 01:40:34 +03:00 |
|
Alexander Medvednikov
|
b9a233b1a0
|
checker: more line-info logic
|
2023-09-11 01:38:09 +03:00 |
|
Turiiya
|
f755118e7c
|
vlib: update doc comments (#19231)
|
2023-08-30 08:50:00 +03:00 |
|
yuyi
|
caee3935a5
|
os: fix truncate() on windows (#18262)
|
2023-05-25 14:37:53 +03:00 |
|
yuyi
|
190f5c69ea
|
os: fix open_file() on windows (fix #18245) (#18253)
|
2023-05-25 02:50:52 +02:00 |
|
yuyi
|
ef5be22f81
|
all: replace generic <> with [] - part 2 (#16536)
|
2022-11-26 18:23:26 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Alexander Medvednikov
|
c6158e4519
|
all: remove unnecessary IError() casts
|
2022-10-28 19:08:30 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
Delyan Angelov
|
f338dec5c6
|
ci: fix compilation on FreeBSD (C.feof is a macro there, that expands to direct field access)
|
2022-09-24 10:17:32 +00:00 |
|
yuyi
|
d624ad50a7
|
os: fix file.read() (#15861)
|
2022-09-24 08:58:55 +03:00 |
|
Delyan Angelov
|
8f98f1db9e
|
os: fix os.open_file('text.txt', 'wb', 0o666) , add test (#15420)
|
2022-08-14 09:50:05 +03:00 |
|
Vincenzo Palazzo
|
b01f71d9da
|
io: migrate the Reader API to Result instead of Option (#15229)
|
2022-08-08 02:33:25 +03:00 |
|
Delyan Angelov
|
242ade8938
|
os: fix File.eof on FreeBSD (feof is a C macro there)
|
2022-07-28 17:26:55 +03:00 |
|
Reuben Thomas
|
ed56c3957e
|
os: add File.reopen and File.eof methods (#15184)
|
2022-07-28 16:21:23 +03:00 |
|
Reuben Thomas
|
2ffad85f06
|
doc: remove misleading comment about stdin() (#15154)
|
2022-07-23 00:22:50 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
fb192d949b
|
all: replace []byte with []u8
|
2022-04-15 15:35:35 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
|
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 |
|