Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
...
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.
NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
yuyi
f6844e9766
all: change optional to result of io ( #16075 )
2022-10-16 09:28:57 +03:00
Delyan Angelov
f922ed0941
tests: unify all temporary files/folders under $VTMP/v
, that can be cleaned by v wipe-cache
( #15774 )
2022-09-16 04:56:19 +03:00
yuyi
de136f6baf
checker: improve pub struct check ( fix #14446 ) ( #14777 )
2022-06-19 17:42:22 +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
d4a0d6f73c
all: byte => u8
2022-04-15 14:58:56 +03:00
yuyi
04654ed518
parser: check error for defer propagate ( fix #13534 ) ( #13536 )
2022-02-20 12:29:08 +02:00
Delyan Angelov
d86b18844e
net.unix: use byte() instead of u16() cast for addr.sun_family
2022-02-18 13:47:12 +02:00
Delyan Angelov
c9867a9ae4
net: ensure that net
and net.unix
can be imported together in the same program
2022-02-18 11:47:56 +02:00
Delyan Angelov
2bdba5ed73
net: fix declarations of C.htonl/C.htons/C.ntohl/C.ntohs in aasocket.c.v
2021-10-01 12:57:47 +03:00
Alexander Medvednikov
853d3cb83e
os: make chmod() return error
2021-08-28 09:37:24 +03:00
Simon
ed06c47a51
net: remove sockets if they already exists ( #11264 )
2021-08-22 13:38:02 +03:00
shadow
66bc8bc0cb
vlib: remove many deprecated functions ( #10972 )
2021-07-28 09:22:19 +03:00
Uwe Krüger
72358833e0
time: use Duration(C.INT64_MAX)
as infinite ( #10539 )
2021-06-22 12:17:44 +03:00
Emily Hudson
535dcac8fa
net: ipv6 support, merge unix+ip;[pack:x] attribute ( #9904 )
2021-06-13 23:53:38 +03:00
Delyan Angelov
104d9a7c8a
net: cleanup #include directives
2021-05-22 10:53:19 +03:00
Delyan Angelov
3e297bced4
ci: remove some tests from skip_with_werror in v test-self
2021-04-14 12:47:24 +03:00
zakuro
c8416f9a54
all: deprecate write_str and replace it with write_string ( #9369 )
2021-03-20 17:25:51 +01:00
Nick Treleaven
446631ceb5
checker: fixed array cannot implicitly convert to fooptr (again) ( #9302 )
2021-03-15 15:55:07 +02:00
joe-conigliaro
2d73411396
checker: define missing C fn args & check C & JS args ( #8770 )
2021-03-05 17:41:11 +03: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
zakuro
d0a64f2da7
net/openssl/websocket: implement io.Writer ( #8980 )
2021-02-27 10:29:18 +02:00
Delyan Angelov
fb028abc71
net.unix: make unix_test.v more robust
2021-02-22 17:48:31 +02:00
Delyan Angelov
bf6e9ff95a
Revert "parser: make duplicated functions an error ( #8792 )"
...
This reverts commit 21bf8fe14e
.
2021-02-18 09:02:56 +02:00
zakuro
21bf8fe14e
parser: make duplicated functions an error ( #8792 )
2021-02-17 20:50:10 +01:00
bettafish04
0b777c68c3
net: fix unix sockets ( #8697 )
2021-02-12 20:10:06 +02:00
Delyan Angelov
58393bd3f9
ci: fix unix_test.v on unix != macos
2021-02-12 01:12:42 +02:00
Delyan Angelov
89521584a2
ci: fix unix sockets test on macos
2021-02-11 22:34:38 +02:00
bettafish04
9b4f2edbfa
net: move unix socket code to net.unix and skip net/unix/unix_test.v … ( #8681 )
2021-02-11 18:51:12 +02:00