Commit graph

783 commits

Author SHA1 Message Date
Turiiya
be0986dc52
net.http: fix panic on empty addr, cleanup listen_and_serve Server method (#21164) 2024-04-02 11:12:43 +03:00
Turiiya
c086bee5be
breaking,vlib: update handling of imports whose symbols are not directly used in imported file, remove pub const is_used = 1 workarounds (#21160) 2024-04-01 22:07:05 +03:00
Alexander Medvednikov
acf0107493 builtin: str.last_index(); pref: hide-auto-str; 2024-03-28 18:26:30 +03:00
Turiiya
64a336932c
thirdparty,net.mbedtls: update mbedtls to latest compatible version v3.3.0 (#21118) 2024-03-28 08:46:21 +02:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Alexander Medvednikov
b2df3264a7 gg: fix empty circle in native; http: post_form_with_cookies; veb: print veb action in html errors 2024-03-11 18:21:06 +03:00
kbkpbot
50e271a77e
net: workaround a -prod -cc gcc bug (#20872) 2024-02-19 15:19:11 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Turiiya
c1b5d8218b
net: fix function name in split_address doc comment (#20794) 2024-02-12 03:35:41 +02:00
Delyan Angelov
f603035758
net: reduce flakyness of tcp test (#20761) 2024-02-09 11:52:27 +02:00
kbkpbot
a9ebab06da
net: fix non-blocking read/write (#20438) 2024-02-08 20:18:29 +02:00
GGRei
2c6a8c536c
net.http: add a temporary fix for the intermittent segfault with http.get_ text/1 and -prod -cc gcc 13.2.0 (fix #20506) (#20660) 2024-01-26 11:33:09 +02:00
shove
4163faf0dd
net.smtp: implement mail attachment support (fix #19920) (#20640) 2024-01-24 07:33:25 +02:00
Delyan Angelov
856984aa14
cleanup: turn .microseconds() ... us to .microseconds() ... µs (#20588) 2024-01-20 07:16:24 +02:00
Delyan Angelov
f5db8f710b
net: cleanup comments for enum WsaError (#20543) 2024-01-15 11:43:08 +02:00
Kim Shrier
9268241f96
net.unix: make the error messages in unix_test.v more specific (#20537) 2024-01-15 03:26:12 +02:00
shove
abc9e06ed1
net.urllib: fix parsing url error, when querypath is '//' (fix #20476) (#20504) 2024-01-12 22:51:48 +02:00
Delyan Angelov
3142114bd7
net: remove unused import in tcp_test.v 2024-01-10 17:15:20 +02:00
Henrik Holst
e8e198c349
net: fix vlib/net/tcp_test.v (since .listen_tcp with af .unix, is now expected to return an error) (#20472) 2024-01-10 17:14:00 +02:00
Felipe Pena
1303c244e2
orm.pg: fix f32 and f64 endianness (#20412) 2024-01-06 22:27:10 +02:00
Henrik Holst
7f1092aa96
net: support only ip and ip6 in net.tcp_listener (#20336) 2024-01-02 00:44:28 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Delyan Angelov
d8fa13481c
net.html: fix notices with latest V, when compiling code with import net.html 2024-01-01 14:41:33 +02:00
koplenov
76e1ac3db3
net.http: support -d no_vschannel on windows, to fix long waits, while connecting on some systems (#20265) 2023-12-28 11:49:25 +02:00
el-gringo
5be5cd9be1
websocket: enable using an already existing connection (from vweb or another http server) (#20103) 2023-12-19 14:16:07 +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
Delyan Angelov
687b33a137
net.http.file: fix oneline usage examples in the comments of file.serve/1 2023-12-15 20:34:12 +02:00
Swastik Baranwal
6e47782bdd
net.http: remove unused read_set_cookies function (#20187) 2023-12-15 16:53:40 +02:00
GGRei
0a029d4532
net: make net.fionbio and net.msg_nosignal constants public in net_windows.c.v (#20183) 2023-12-15 15:58:05 +02:00
Felipe Pena
42a8c7e16b
net.http: fix http.delete() checking (#20131) 2023-12-10 14:32:30 +02:00
Turiiya
9817dfc5ba
net.html: fix doc comments for html.parse functions (#20109) 2023-12-07 18:22:15 +02:00
Delyan Angelov
4b3109237d
builtin: deprecate string.last_index/1 for string.index_last/1, and string.last_index_u8/1 for string.index_u8_last/1 (#20095) 2023-12-05 13:56:59 +02:00
Kim Shrier
60cdc6a728
net.websocket: fix the notice messages about the initialization of references outside unsafe mode (#20038) 2023-11-30 15:30:35 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Kim Shrier
be544d73f3
net.openssl: correctly assign nil to reference values after the recent notice about it (#19981) 2023-11-24 09:38:05 +02:00
shove
2a6c1d9074
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955) 2023-11-23 11:16:26 +02:00
Turiiya
09ed7d74aa
vlib, tools: make minor improvements, cleanup (#19950) 2023-11-21 17:45:45 +02:00
Turiiya
8c1da9ba94
net.openssl: use actual C values for the SSLError enum (#19945) 2023-11-20 17:57:35 +02:00
Kim Shrier
66181f05bd
net.openssl: add flags for preferring openssl from the ports collection (in /usr/local) (#19904) 2023-11-17 10:50:01 +02:00
Joe C
1e3d38255f
parser: deprecate old attribute syntax & update remaining (missed) attributes (#19879) 2023-11-15 13:07:59 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Turiiya
453f65a20a
net.mbedtls: use char and usize types for describing more precisely the C API of mbedtls (#19837) 2023-11-13 12:51:32 +02:00
Casper Küthe
c0eeb85eab
net.unix: update the module to make it compatible with windows and coroutines (#19831) 2023-11-11 10:07:56 +02:00
Alexander Medvednikov
e7cad4f55d net,vweb: reduce allocations by ~80% 2023-11-11 01:10:34 +03:00
Roman
e4f55fb299
net.http: add socks5|http(s) proxy support [Linux] (#19676) 2023-11-09 23:56:16 +02:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v as default) (#19779) 2023-11-06 14:27:00 +02:00
JalonSolov
29d60280c4
net.http: increase max_redirects to 16 (#19743) 2023-11-03 06:57:16 +02:00
Marco Santos
cee947ca9e
net.html: add note to parse and parse_file, that they will produce a DOM with lowercased tag names (#19720) 2023-11-01 12:28:21 +02:00
Joe C
a63f3e6f77
coroutines: use photon work_pool when nr_jobs > 0, and use photon libc fn wrappers (#19711) 2023-10-31 20:12:52 +03:00
Turiiya
e465f7490c
tests: cleanup legacy temp path (#19716) 2023-10-31 15:16:19 +02:00