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 |
kahsa
|
e2a0046849
|
net.html: add Tag.get_tags() (#13102)
|
2022-01-09 16:07:12 +02:00 |
Delyan Angelov
|
b778c1d097
|
net: make listen/bind errors more informative
|
2022-01-08 17:02:03 +02:00 |
kahsa
|
fca699a439
|
net: add address_android.c.v to fix compilation for Android (#13052)
|
2022-01-06 11:48:30 +02:00 |
jeffmikels
|
a60b381d5e
|
docs: adding skeleton README.md files for all vlib modules (#13034)
|
2022-01-05 18:06:08 +02:00 |
Delyan Angelov
|
59357e873d
|
math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042)
|
2022-01-05 18:02:20 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
yuyi
|
da989e19ca
|
net: fix errors of new_ip(), new_ip6() and ip6.str() (#13020)
|
2022-01-03 15:10:15 +02:00 |
yuyi
|
d5b111ec99
|
net: fix typo in new_ip() (#13017)
|
2022-01-03 08:45:26 +02:00 |
Delyan Angelov
|
c26e040d33
|
ci: bump retry count to 5 for tcp_test.v
|
2021-12-26 19:05:05 +02:00 |
Delyan Angelov
|
b1622c74b9
|
net.openssl: fix compilation of vpm.v on FreeBSD
|
2021-12-08 10:50:24 +02:00 |
Jordan Bonecutter
|
fd4e071621
|
net.openssl: use a pkgconfig directive, instead of a hardcoded path (#12735)
|
2021-12-07 22:11:47 +02:00 |
Toby Webb
|
09955b7ce8
|
net.websocket: fix server not listening for IPv4 (#12717)
|
2021-12-06 11:10:25 +02:00 |
Miccah
|
799d7b843c
|
net: properly convert IP address C strings to V strings (#12648)
|
2021-12-02 11:18:14 +02:00 |
Delyan Angelov
|
6d97b0a407
|
checker: improve checking of a << b, when a and b are numbers (#12589)
|
2021-11-29 03:48:49 +03:00 |
Delyan Angelov
|
8e0de2036d
|
net: use `vmemset(&hints, 0, int(sizeof(hints)))`, instead of zeroing the fields 1 by 1
|
2021-11-24 09:34:48 +02:00 |
Delyan Angelov
|
3c6356ba36
|
ci: fix request_test.v (add missing \r to hardcoded post data)
|
2021-11-10 18:16:15 +02:00 |
Delyan Angelov
|
466ced2876
|
net.http: fix multipart/form-data file upload handling
|
2021-11-10 17:31:41 +02:00 |
Miccah
|
655b5c563a
|
net.http: use `[params]` for Config structs (#12299)
|
2021-10-26 10:45:27 +03:00 |
Delyan Angelov
|
d9c6c9a7df
|
http: cleanup download_file, remove unimplemented download_file_with_progress
|
2021-10-24 17:19:44 +03:00 |
a-iga
|
1ba839dc3b
|
openssl: change `read_into` to `read` (#12251)
|
2021-10-21 14:13:04 +03:00 |
Alexander Medvednikov
|
e6b7ab8b9d
|
net.http: authority header
|
2021-10-17 06:40:19 +03:00 |
Alexander Ivanov
|
0386f2bbea
|
checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963)
|
2021-10-11 15:41:31 +03:00 |
Delyan Angelov
|
0916806350
|
ci: do not use htonll and ntohll on windows, use the portable versions instead.
|
2021-10-02 18:21:16 +03:00 |
Delyan Angelov
|
9a4dbc25ca
|
ci: fix failing conv_test.v on windows
|
2021-10-02 15:51:48 +03:00 |