756 Commits

Author SHA1 Message Date
Emma
6b92f8fada
all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
Thomas Peißl
d680c4227b
net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477) 2025-01-15 20:24:36 +02:00
Alexander Medvednikov
6f7cbd1aef net.ftp: use unsafe { nil } 2025-01-14 02:01:07 +03:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
JalonSolov
0351332761
net.http.cookie: handle value with = better (fix #23297) (#23300) 2024-12-28 22:40:23 +02:00
Felipe Pena
6025893768
net.smtp: fix crash when reconnecting with .encrypted=true (fix #23289) (#23290) 2024-12-27 21:51:22 +02:00
kbkpbot
4a1c7add24
net.http: add support '=' in cookie values (fix #23220) (#23257) 2024-12-27 10:33:16 +02:00
Felipe Pena
b0772193f8
vlib: enable more satnitized memleak detection runs without false positives on the CI (#23200) 2024-12-20 16:09:16 +02:00
kbkpbot
03f3f7a9ff
net.urllib: fix parse of url relative address (fix #21061) (#23180) 2024-12-16 16:59:58 +02:00
Delyan Angelov
37e2fdbafb
net.mbedtls: support compiling with -d mbedtls_client_read_timeout_ms=7000, -d mbedtls_server_read_timeout_ms=60000, and -d trace_mbedtls_timeouts 2024-12-01 20:10:14 +02:00
Vithorio Polten
f89cffad53
net.http: send Host headers with port (when the port is != 80 or 443) (fix #22941) (#22942) 2024-11-23 18:51:28 +02:00
Delyan Angelov
9f6150ee7b
net.mbedtls: bump mbedtls_ssl_conf_read_timeout value to 550ms (tested with v run examples/net_t.v) 2024-11-21 00:15:18 +02:00
Delyan Angelov
4b015c8bc0
net.mbedtls: define MBEDTLS_THREADING_PTHREAD, in mbedtls_config.h; call C.mbedtls_ssl_conf_read_timeout explicitly in the wrapper, with a shorter timeout value of 317ms (determined experimentally) 2024-11-20 23:42:19 +02:00
Delyan Angelov
5bba92a65a
vlib: remove modules/functions/fields, deprecated in 2023 (#22750) 2024-11-17 20:09:21 +02:00
Felipe Pena
62bdf990d0
checker: fix missing or-block check for callexpr (fix #22835) (#22840) 2024-11-13 12:30:06 +02:00
Delyan Angelov
4aa87796ed
net.http: ensure that http.download_file_with_progress/3 works (in a degraded mode), on windows, even without passing -d no_vschannel 2024-11-13 11:43:37 +02:00
Delyan Angelov
a189d7f8e8
net: fix resolving of ::1:48872 (pass the *should_listen_on_both_ipv4_and_ipv6_by_default_test.v tests) (#22715) 2024-10-31 18:22:25 +02:00
Alexander Medvednikov
27ff2f1628 orm: cross compile pg to linux; openssl: make cross compile work 2024-10-28 17:37:34 +03:00
Hitalo Souza
4e13ddf847
picoev,net.http: use Time.http_header_string method, to improve performance (#22619) 2024-10-22 16:39:48 +03:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547) 2024-10-17 11:04:23 +03:00
yuyi
da3112e545
all: replace fn name '@xxx' with 'xxx' (#22506) 2024-10-12 22:17:02 +03:00
yuyi
79786732ef
all: replace struct field name '@type' with 'type' (#22485) 2024-10-11 08:53:18 +03:00
Carlos Esquerdo Bernat
d1606b22b7
net: allow for a ::ffff:127.0.0.1 result in tcp_simple_client_server_test.v (#22385) 2024-10-02 17:31:01 +03:00
Carlos Esquerdo Bernat
e598db12d3
net: add more SocketOptions enum values, make public fn new_tcp_socket (#22378) 2024-10-01 11:42:30 +03:00
Felipe Pena
04aba8f767
net: fix split_address (fix #14909) (#22349) 2024-09-30 08:25:39 +03:00
Felipe Pena
9bc975eb07
net: allow ipv6 address with brackets (fix #22313) (#22316) 2024-09-26 08:18:52 +03:00
Delyan Angelov
295807d7ef
net: use explicit int casts for net.error_eintr etc in the unix implementation too for consistency with the windows one 2024-09-22 15:28:20 +03:00
Delyan Angelov
2f59018a96
net: fix compilation on windows (use casts to int for net.error_eintr etc) 2024-09-22 15:22:26 +03:00
Jacob Davis
3ec4939506
net.websocket: use retrying on EINTR in Client.listen() (#22279) 2024-09-22 07:48:53 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Felipe Pena
4eb087a347
checker: add missing check for ref passing to non-ref (#22194) 2024-09-14 23:13:25 +03:00
Delyan Angelov
efe709eb34
ci: run npx prettier --write **.yml; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder 2024-09-12 11:43:03 +03:00
yuyi
dd2210abf6
ast: fix const field str() (#22192) 2024-09-10 17:02:51 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Martin Skou
f002fd4493
net.mbedtls: store the client ip (for ipv4), shutdown on handshake failure, in .accept() (#22184) 2024-09-09 18:55:28 +03:00
Martin Skou
d7bdb72b48
net.mbedtls: support Server Name Indication (SNI) (#22012) 2024-08-11 20:26:13 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types (#21999) 2024-08-07 15:46:50 +03:00
yuyi
3247b98bb5
ast: fix const field str() (#21998) 2024-08-06 17:42:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
dasidiot
576a0abcc7
net: add net.Dialer and net.Connection interfaces, abstracting the different types of connections, already supported by the V network stack (#21657) 2024-08-05 18:16:06 +03:00
Delyan Angelov
e906033e4e
ci: use docker compose instead of docker-compose (see https://github.com/orgs/community/discussions/116610) (#21992) 2024-08-03 19:50:52 +03:00
Delyan Angelov
faea2d97bf
net.http: fix a typo, affecting -d trace_http_response 2024-08-02 00:01:14 +03:00
Felipe Pena
ac136c08e6
cgen: fix struct ref field with no ref structinit (#21932) 2024-07-28 01:30:19 +03:00
kbkpbot
4c30d357fe
net.conv: add conv.reverse_bytes_u64/u32/u16 (#21917) 2024-07-23 18:41:59 +03:00
Delyan Angelov
fbdc992b30
net.http, veb, vweb, x.vweb: add mime type text/x-vlang, for .v and .vsh file extensions (#21851) 2024-07-12 14:23:50 +03:00
Swastik Baranwal
547c056bf4
net: fix TcpConn.peer_ip/0 to only return the ip address, without the port number (#21831) 2024-07-10 06:12:37 +03:00
yuyi
209063ffd0
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
FNEOSLDI
094c30c347
net.http: correct Response.status() method comment, to indicate returning of a Status enum field, instead of struct (#21735) 2024-06-26 07:45:16 +03:00