Laurent Cheylus
a8aeae2111
net.openssl: replace SSL_get1_peer_certificate by SSL_get_peer_certificate for OpenBSD ( #24556 )
...
OpenBSD uses LibreSSL (OpenSSL fork) by default for libssl/libcrypto.
SSL_get1_peer_certificate is not supported by LibreSSL, replace it by
SSL_get_peer_certificate.
2025-05-23 16:15:48 +03:00
Delyan Angelov
59909cde89
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) ( #24304 )
2025-04-24 13:03:25 +03:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test
, v test-self
etc); use the new // vtest build:
syntax to mark the tests instead ( #23918 )
2025-03-13 19:51:51 +02:00
Delyan Angelov
4c8f8c6666
net.openssl: use proper library search path for local installations of OpenSSL 3, use SSL_get1_peer_certificate
instead of the deprecated SSL_get_peer_certificate
.
2025-03-02 09:39:21 +02:00
Alexander Medvednikov
27ff2f1628
orm: cross compile pg to linux; openssl: make cross compile work
2024-10-28 17:37:34 +03:00
yuyi
da3112e545
all: replace fn name '@xxx' with 'xxx' ( #22506 )
2024-10-12 22:17:02 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields ( #22025 )
2024-08-11 09:11:24 +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
Alexander Medvednikov
0d52a7d91e
openssl: more verbose error; libgc: make compile on arm macs
2024-06-07 11:48:27 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times ( #21293 )
2024-04-17 00:33:37 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module ( #21183 )
2024-04-12 13:53:02 +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
Turiiya
f77bb32044
all: fix typos ( #21089 )
2024-03-25 12:18:27 +02: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
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
757929392e
all: update attributes to use new syntax
2023-11-15 16:16:01 +11: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
shove
166604f775
net, net.http: fixed some ssl library call return values judgment and handling ( #19614 )
2023-10-23 09:53:19 +03:00
shove
772eb1ed12
net: fix handling of spurious wake-up signals, lost when calling select() in mbedtls and openssl (continue on C.EINTR) ( #19600 )
2023-10-19 16:19:37 +03:00
shove
07390ef4c4
net, net.http: fix C.FD_ISSET declaration ( #19594 )
2023-10-19 11:29:13 +03:00
Alexander Medvednikov
545ee1ae23
checker: stricter rules for C types; C aliases; sokol fixes
2023-10-14 18:31:44 +03:00
Delyan Angelov
aba38d167b
net.openssl: fix ./v -cstrict -cc gcc-11 vlib/net/openssl/openssl_compiles_test.v
2023-10-07 11:36:29 +03:00
pancake
0244ae6fe9
net.ssl: implement SSLConn.peer_addr() ( #19333 )
2023-09-13 12:16:46 +03:00
yuyi
55ca8d8d8e
fmt: align the custom values of the enum fields ( #19331 )
2023-09-12 14:44:38 +03:00
Turiiya
67e3061ea1
net: fix typos ( #18164 )
2023-05-12 09:31:27 +03:00
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe ( #17923 )
2023-04-13 07:38:21 +02:00
Delyan Angelov
36dc7faf2c
net.openssl: add manual .str() methods for C.SSL and C.SSL_CTX, fix a bug in the V auto str generation as well.
2023-02-08 13:14:12 +02:00
Delyan Angelov
522a9f5908
net.openssl: add V side declaration for C.SSL_CTX too (fix auto .str() method generation for V structs containing references to C.SSL_CTX)
2023-02-08 12:33:21 +02:00
Delyan Angelov
d2e5c721a0
net: allow more fine grained control over socket shutdowns
2023-01-25 12:34:39 +02:00
Delyan Angelov
bfb47005c8
net.openssl, net.mbedtls: add support for -d trace_ssl
, for easier tracing of binary protocol problems to https servers
2023-01-15 16:06:46 +02:00
Delyan Angelov
33191e4538
ci,pg,net.openssl: fix pkgconfig paths for macos-12
2023-01-12 15:22:08 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Alexander Medvednikov
c6158e4519
all: remove unnecessary IError() casts
2022-10-28 19:08:30 +03:00
Delyan Angelov
409a4f33a1
tools: add report_v_module_folders_without_tests.v . Use it to discover other modules without _test.v files. Add simple ones, to ensure CI can find more breakage on future wide changes to vlib/
2022-10-16 22:40:17 +03:00
Delyan Angelov
17800b4bca
ci: fix net.openssl, ensure that it is at least compiled, to avoid future regressions on sweeping vlib changes
2022-10-16 20:59:04 +03:00
yuyi
f6844e9766
all: change optional to result of io ( #16075 )
2022-10-16 09:28:57 +03:00
Swastik Baranwal
9fc64de94b
openssl: add unsafe blocks to int -> enum blocks ( #15957 )
2022-10-03 16:32:37 +03:00
spaceface
5c716afb39
net.ssl: switch to mbedtls over openssl ( #15841 )
2022-09-22 16:50:34 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. ( fix : #15741 ) ( #15752 )
2022-09-15 07:59:31 +03:00
Vincenzo Palazzo
b01f71d9da
io: migrate the Reader
API to Result
instead of Option
( #15229 )
2022-08-08 02:33:25 +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
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
Cameron Katri
3e69d3813b
v.builder: fix linker flags for systems with Procursus ( #13865 )
2022-03-30 10:15:52 +03: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
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