zig/src-self-hosted
Andrew Kelley c3d816a98e
std lib networking improvements, especially non-blocking I/O
* delete the std/event/net directory
 * `std.event.Loop.waitUntilFdReadable` and related functions
   no longer have possibility of failure. On Linux, they fall
   back to poll() and then fall back to sleep().
 * add some missing `noasync` decorations in `std.event.Loop`
 * redo the `std.net.Server` API. it's quite nice now, but
   shutdown does not work cleanly. There is a race condition with
   close() that I am actively working on.
 * move `std.io.OutStream` to its own file to match `std.io.InStream`.
   I started working on making `write` integrated with evented I/O,
   but it got tricky so I backed off and filed #3557. However
   I did integrate `std.os.writev` and `std.os.pwritev` with evented I/O.
 * add `std.Target.stack_align`
 * move networking tests to `lib/std/net/test.zig`
 * add `std.net.tcpConnectToHost` and `std.net.tcpConnectToAddress`.
 * rename `error.UnknownName` to `error.UnknownHostName` within the
   context of DNS resolution.
 * add `std.os.readv`, which is integrated with evented I/O.
 * `std.os.preadv`, is now integrated with evented I/O.
 * `std.os.accept4` now asserts that ENOTSOCK and EOPNOTSUPP never
    occur (misuse of API), instead of returning errors.
 * `std.os.connect` is now integrated with evented I/O.
   `std.os.connect_async` is gone. Just use `std.os.connect`.
 * fix false positive dependency loop regarding async function frames
 * add more compile notes to help when dependency loops occur
   in determining whether a function is async.
 * ir: change an assert to ir_assert to make it easier to find
   workarounds for when such an assert is triggered. In this case
   it was trying to parse an IPv4 address at comptime.
2019-10-29 22:59:30 -04:00
..
arg.zig changing occurrences of HashMap with []const u8 as keys for StringHashMap 2019-09-03 23:53:05 +02:00
c.zig run zig fmt to update `use` to `usingnamespace` 2019-05-29 19:09:58 -04:00
c_int.zig different array literal syntax when inferring the size 2019-06-09 19:26:32 -04:00
clang.zig update zig codebase to llvm 9 2019-07-17 17:47:39 -04:00
codegen.zig add compile error for ignoring error 2019-03-23 19:33:00 -04:00
compilation.zig changing occurrences of HashMap with []const u8 as keys for StringHashMap 2019-09-03 23:53:05 +02:00
decl.zig changing occurrences of HashMap with []const u8 as keys for StringHashMap 2019-09-03 23:53:05 +02:00
dep_tokenizer.zig Merge pull request #2714 from ziglang/fmt-overhaul 2019-06-25 20:15:33 +12:00
errmsg.zig clean up references to os 2019-05-26 18:32:44 -04:00
introspect.zig different array literal syntax when inferring the size 2019-06-09 19:26:32 -04:00
ir.zig implement new async syntax in self-hosted compiler 2019-08-16 06:17:28 -07:00
libc_installation.zig different array literal syntax when inferring the size 2019-06-09 19:26:32 -04:00
link.zig avoid the word "coroutine", they're "async functions" 2019-08-13 14:14:19 -04:00
llvm.zig Added ZigLLVMCreateTargetMachine and pass function-sections flag 2019-07-02 19:54:29 +02:00
main.zig Use 8192 sized buffers and remove allocator parameters 2019-10-19 14:04:51 -04:00
package.zig changing occurrences of HashMap with []const u8 as keys for StringHashMap 2019-09-03 23:53:05 +02:00
scope.zig self-hosted translate-c emits a hello world AST 2019-04-26 15:43:36 -04:00
stage1.zig std lib networking improvements, especially non-blocking I/O 2019-10-29 22:59:30 -04:00
target.zig move types from builtin to std 2019-10-23 19:09:49 -04:00
test.zig Use 8192 sized buffers and remove allocator parameters 2019-10-19 14:04:51 -04:00
translate_c.zig fix regression in translate-c 2019-10-28 15:29:50 -04:00
type.zig introduce the enum literal type 2019-03-24 00:44:18 -04:00
value.zig std: existing LinkedList is actually a TailQueue 2019-06-10 15:41:40 +10:00
visib.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00