Delyan Angelov
|
8a380f4699
|
tools: make `v test-cleancode` test everything by default (#10050)
|
2021-05-08 13:32:29 +03:00 |
Louis Schmieder
|
f5ce9388de
|
io: make io.cp use chunks (#9877)
|
2021-04-26 09:59:23 +03:00 |
Louis Schmieder
|
00261afbc1
|
io: add a `cp` function (#9875)
|
2021-04-25 21:22:33 +03:00 |
Bastian Buck
|
69dff4b384
|
os: make os module handle large files (#9439)
|
2021-03-26 07:51:55 +01:00 |
Delyan Angelov
|
9b78d7d21d
|
tools: check formatting of more modules with `v test-cleancode`, colorize `v vet` output
|
2021-03-24 12:39:39 +02:00 |
Alexander Medvednikov
|
852d302b87
|
io: BufferedReader.free()
|
2021-03-15 21:25:19 +01: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 |
Delyan Angelov
|
2bfa6dfe2f
|
io: fix not reading the last byte of a stream with `.read(mut buf)`
|
2021-03-04 08:59:48 +02:00 |
Subhomoy Haldar
|
a5dd7faf3c
|
rand: add PRNG interface and unit-tests (#9083)
|
2021-03-03 13:41:00 +02:00 |
spaceface
|
b712af56fd
|
all: bring back `panic(err.msg)` -> `panic(err)` (#9022)
|
2021-03-01 00:18:14 +01:00 |
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
Nick Treleaven
|
23f231ee61
|
builtin: tag array methods unsafe: *_many, grow_len, pointers (#8983)
|
2021-02-26 22:55:09 +01:00 |
Delyan Angelov
|
2002d20249
|
io: remove unused Zzz_CoerceInterfaceTableGeneration struct; add test for `x := Enum{}`
|
2021-02-17 01:37:05 +02:00 |
Delyan Angelov
|
4961d3ea17
|
io: fix detection of end_of_stream, when reading files through io.new_buffered_reader(reader: io.make_reader(f))
|
2021-02-16 23:22:17 +02:00 |
Delyan Angelov
|
e5a84719ca
|
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}`
|
2021-01-26 16:43:17 +02:00 |
Subhomoy Haldar
|
97103f680a
|
rand: separate rand.util and rand.seed submodules (#8353)
|
2021-01-26 15:55:09 +02:00 |
Daniel Däschle
|
3289dff7ff
|
checker: require explicit return none (#8060)
|
2021-01-12 11:43:55 +01:00 |
yuyi
|
ad79d55a5c
|
ftp: fix an error (#7930)
|
2021-01-07 20:21:47 +01:00 |
Alexander Medvednikov
|
a8447398f5
|
io: remove obsolete OutputStream
|
2020-12-22 10:44:45 +01:00 |
Emily Hudson
|
553ecf63e7
|
vlib/io: fix reader bugs, make read_all take a config struct (#7361)
|
2020-12-16 18:22:26 +01:00 |
Delyan Angelov
|
e3a1756b11
|
net: add tcp_default_read_timeout and tcp_default_write_timeout and use them consistently
|
2020-12-15 17:54:51 +02:00 |
Delyan Angelov
|
a4d3a0575a
|
vdoc: add http connection read/write timeouts (fix #7343)
|
2020-12-15 17:12:39 +02:00 |
Takahiro Yaota
|
07fae5adf6
|
io: add a test for read_all (#6898)
|
2020-11-23 16:17:39 +01:00 |
Emily Hudson
|
cd2a2cef25
|
vlib/net: add buffered IO, x.net -> net (#6754)
|
2020-11-15 22:54:47 +02:00 |
Alexander Medvednikov
|
ea31f75098
|
checker: more default field fixes
|
2020-09-09 14:14:44 +02:00 |
Larpon
|
1c5b9db63f
|
io: introduce a go-like io.util module (#6323)
|
2020-09-08 14:17:01 +02:00 |
Louis Schmieder
|
97fec78b40
|
io: input/output streams (#6078)
|
2020-08-09 04:12:29 +02:00 |