Alex Rønne Petersen
fa9caeba1b
std.Io.net.test: disable listen on a port, send bytes, receive bytes
...
Still happens: https://codeberg.org/ziglang/zig/issues/31388#issuecomment-12968295
2026-04-11 06:50:53 +02:00
Jacob Young
0db75c0116
std.Io.Threaded: fix dns queries on windows
...
by working around various bugs in `DnsQueryEx`.
Closes #31659
2026-03-30 09:33:04 +02:00
Evgenii Orlov
0ee6a79da5
std.Io.net.HostName.netLookup: make canonical_name_buffer optional
2026-03-23 11:02:47 +01:00
Jacob Young
ccf8e223f4
std.Io.net: disable unix socket test due to presumed windows kernel bug
...
Tracked by #31499
2026-03-22 09:37:12 -04:00
Jacob Young
9ac1386c10
std.Io.Threaded: windows networking without ws2_32
2026-03-18 20:13:59 -04:00
Andrew Kelley
a7b686ac5e
std: disable flaky test on Windows
...
tracked by #31499
2026-03-14 06:06:03 +01:00
Andrew Kelley
314264ee7d
std: windows isn't passing cancel accept yet
...
tracked by #30865
2026-03-12 15:42:13 -07:00
Andrew Kelley
1c9bd1d74c
std.Io.net: enable all the tests
...
closes #18315
closes #25983
closes #31388
2026-03-12 15:40:59 -07:00
Alex Rønne Petersen
ce32003625
std.Io.net.test: disable listen on a port, send bytes, receive bytes
...
https://codeberg.org/ziglang/zig/issues/31388
2026-03-04 01:21:08 +01:00
Andrew Kelley
7248b4a4e4
std.fs: deprecate base64 APIs
...
100% of std.fs is now deprecated.
2026-01-07 17:33:06 -08:00
Andrew Kelley
1f1381a866
update API usage of std.crypto.random to io.random
2026-01-07 11:03:36 -08:00
Lukas Lalinsky
e8a2e6578a
Add std.Io.net.Stream.shutdown
2025-12-29 02:20:37 +01:00
Andrew Kelley
feeed922e1
std.Io.net: disable flaky test on mipsel
2025-12-26 19:58:56 -08:00
Andrew Kelley
4a53e5b0b4
fix a handful of compilation errors related to std.fs migration
2025-12-23 22:15:08 -08:00
Andrew Kelley
f53248a409
update all std.fs.cwd() to std.Io.Dir.cwd()
2025-12-23 22:15:08 -08:00
Andrew Kelley
aafddc2ea1
update all occurrences of close() to close(io)
2025-12-23 22:15:07 -08:00
Matthew Lugg
67eed99550
std.Io.Queue: introduce closure and fix a bug
...
Queues can now be "closed". A closed queue cannot have more elements
appended with `put`, and blocked calls to `put` will immediately unblock
having failed to append some elements. Calls to `get` will continue to
succeed as long as the queue buffer is non-empty, but will then never
block; already-blocked calls to `get` will unblock.
All queue get/put operations can now return `error.Closed` to indicate
that the queue has been closed. For bulk get/put operations, they may
add/receive fewer elements than the minimum requested *if* the queue was
closed or the calling task was canceled. In that case, if any elements
were already added/received, they are returned first, and successive
calls will return `error.Closed` or `error.Canceled`.
Also, fix a bug where `Queue.get` could deadlock because it incorrectly
blocked until the given buffer was *filled*.
Resolves : #30141
2025-12-21 13:07:04 +00:00
Alex Rønne Petersen
5078acf3a3
std.Io.net: disable listen on a unix socket, send bytes, receive bytes on Windows
...
https://github.com/ziglang/zig/issues/25983
2025-11-19 21:51:57 +01:00
0x4a61636f62
2e6f7d36b9
std.Io.net: fix off-by-one in HostName.expand
...
`HostName.expand` was including the null terminator in the slice passed to `HostName.init`, which caused `HostName.validate` to fail.
2025-11-13 21:04:21 -08:00
Andrew Kelley
f9de83c90e
std.Io.net: skip testing netInterfaceNameResolve on Windows
...
let's handle this in a follow-up change. implementation needs to use
ConvertInterfaceNameToLuidW and the additional dependency on
Iphlpapi.dll poses some challenges.
2025-10-29 06:20:51 -07:00
Andrew Kelley
d257b1337a
std.Io.Threaded: fix compilation failures on Windows
2025-10-29 06:20:50 -07:00
Andrew Kelley
f7bbcb4a4b
fix miscellaneous compilation failures
2025-10-29 06:20:50 -07:00
Andrew Kelley
d3c4158a10
std.Io: implement Select
...
and finish implementation of HostName.connect
2025-10-29 06:20:49 -07:00
Andrew Kelley
e8cea8accb
std.Io.Threaded: implement netListenUnix
2025-10-29 06:20:49 -07:00
Andrew Kelley
539808239e
std.net: IPv6 parsing fixes
2025-10-29 06:20:49 -07:00
Andrew Kelley
923a7bdd7e
std.Io.net: fix parsing IPv4-mapped IPv6 addresses
2025-10-29 06:20:49 -07:00
Andrew Kelley
3b34622368
std.Io: add unix domain sockets API
...
note that "reuseaddr" does nothing for these
2025-10-29 06:20:49 -07:00
Andrew Kelley
47aa5a70a5
std: updating to std.Io interface
...
got the build runner compiling
2025-10-29 06:20:48 -07:00
Andrew Kelley
b428612a20
WIP: hack away at std.Io return flight
2025-10-29 06:20:48 -07:00
Andrew Kelley
774df26835
WIP: hack at std.Io on a plane
2025-10-29 06:20:48 -07:00
Andrew Kelley
00f26cb0a4
WIP land the std.Io interface
...
fix std lib compilation errors caused by introducing std.Io
2025-10-29 06:20:48 -07:00