1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

484 Commits

Author SHA1 Message Date
Hunam
78d1b7f4ef
net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
kahsa
dd8c96f6bc
net.html: use -d debug_html instead of -g, prevent undesired output, while debugging user programs (#14521) 2022-05-25 11:23:56 +03:00
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
Delyan Angelov
ca00b59b3f
tests: make potential failures in urllib_test.v more informative 2022-05-20 08:49:56 +03:00
David 'Epper' Marshall
23568f19da
url: fix parse (#14456) 2022-05-20 02:58:58 +03:00
WoodyAtHome
c2b763655d
net.smtp: handle UTF-8 subjects according to RFC 1342 (#14410) 2022-05-16 11:09:36 +03:00
Larpon
5068b8b293
ftp: document all public methods (#14408) 2022-05-16 08:52:12 +03:00
WoodyAtHome
eeff02a8ee
net.openssl: read doesn't block infinitely (#14406) 2022-05-16 08:44:34 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Emily Hudson
c19b037880
net: select with deadlines (#14369) 2022-05-12 00:03:48 +03:00
Isaiah
9e09b709e3
net.http: fix crash on Windows when using Boehm GC (#14351) 2022-05-10 14:00:55 +03:00
WoodyAtHome
a0a3499bdc
net.smtp: correct date in smtp body (#14326) 2022-05-08 09:15:45 +03:00
Lathanao
ce99a306c0
net.http: make parse_form return POST requests with json data as a map with a json key, containing the json payload (#14289) 2022-05-06 20:23:36 +03:00
Delyan Angelov
5277ce7dce
tests: support for marking _test.v files with // vtest flaky: true, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
Nick Treleaven
d8a5df9044
checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
stackotter
563469ed9f
vfmt: fix array_init line wrapping (#14154) 2022-04-25 08:11:44 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
ae6a25f44e websocket, utf: u8 fixes 2022-04-15 16:24:02 +03:00
Alexander Medvednikov
258d1f77dc net: fix byte buffers 2022-04-15 15:57:45 +03:00
Alexander Medvednikov
af73e195da net: byte fixes 2022-04-15 15:55:39 +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
Alexander Medvednikov
014c3c97f0 all: byte => u8 2022-04-15 14:45:52 +03:00
Delyan Angelov
566f150b24
net.http: add parse_request_head/1, cleanup existing code 2022-04-15 10:33:44 +03:00
Delyan Angelov
8788512c4d
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
Delyan Angelov
9b43713ec5
net: simplify TcpListener.accept, use C.accept(l.sock.handle, 0, 0), since we do not care about the local address of the accepted connection 2022-04-12 11:47:41 +03:00
Delyan Angelov
71dc6c224a
tests: make vlib/net/udp_test.v more stable, and less noisy on the tests-sanitize-address-gcc job 2022-04-02 20:00:26 +03:00
Cameron Katri
3e69d3813b
v.builder: fix linker flags for systems with Procursus (#13865) 2022-03-30 10:15:52 +03:00
Nick Treleaven
7231a3f135
vlib: add mut for the first parameter of builtin.copy, arrays.copy and crypto (#13702) 2022-03-09 20:26:00 +02:00
Delyan Angelov
10474f35f6
net.http: clarify error message in Request.ssl_do 2022-03-08 18:17:34 +02:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
kahsa
6d57315aca
net: fix html dom debug print (#13625) 2022-03-01 19:20:40 +02:00
Subhomoy Haldar
114a341f5f
rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
Delyan Angelov
33d379d530
ci: vfmt vlib/net/socket.v 2022-02-22 15:21:20 +02:00
gcxfd
ee1de06678
net: extract a common Socket struct, reuse it by embedding in TcpSocket & UdpSocket (#13559) 2022-02-22 10:34:38 +02:00
yuyi
04654ed518
parser: check error for defer propagate (fix #13534) (#13536) 2022-02-20 12:29:08 +02:00
gcxfd
dbae2d6af4
net: add UdpSocket.address() method (#13524) 2022-02-19 20:45:55 +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
starryskye
6d2a88e31f
net.smtp: add STARTTLS and implicit SSL support (#13473) 2022-02-16 09:18:51 +02:00
Delyan Angelov
74048e2f17
net: simplify the TcpConn.read_line/0 method, accumulate partially read lines, use a string builder, instead of concatenation 2022-02-13 22:42:38 +02:00
Vincenzo Palazzo
6ea4f361a1
urllib: fixed regression in the set function (#13455) 2022-02-13 15:06:00 +02: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
Vincenzo Palazzo
0d1d259bb4
net.urllib: keep the query parameter order (#13405) 2022-02-09 17:36:12 +02:00
Benjamin Stigsen
ceb05b163a
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) 2022-01-28 20:34:44 +02:00
Delyan Angelov
8491e83e3f
ci: bump retries to 8 for vlib/net/tcp_test.v 2022-01-28 10:07:37 +02:00
JalonSolov
01c72d44e8
net.http: add allow_redirect to FetchConfig (#13285) 2022-01-26 17:13:10 +02:00
Delyan Angelov
1cea7b0c73
ci: vfmt vlib/net/http/request.v 2022-01-24 14:33:12 +02:00
ZoaR
4ba9a2ffbe
net.http: implement a Request.allow_redirect field (true by default) (#13259) 2022-01-24 14:00:30 +02:00
Delyan Angelov
9e0156b46a
net: copy the freebsd address declarations for netbsd, openbsd, dragonfly 2022-01-20 20:15:50 +02:00