| Age | Commit message (Collapse) | Author |
|
|
|
- `../zig-cache/tmp` is no longer created by subsequent test(s)
|
|
Initial bringup for Linux/Thumb2
|
|
Conflicts:
* build.zig
* lib/std/array_list.zig
* lib/std/c/ast.zig
* lib/std/c/parse.zig
* lib/std/os/bits/linux.zig
|
|
There are some small problems here and there, mostly due to the pointers
having the lsb set and disrupting the fn alignment tests and the
`@FrameSize` implementation.
|
|
|
|
|
|
|
|
Address comments from @ifreund and @MasterQ32 to address unsafeness and
ergonomics of the `Address` API.
Rename the `TCP` namespace to `tcp` as it does not contain any
top-level fields.
Fix missing reference to `sockaddr` which was identified by @kprotty in
os/bits/linux/arm64.zig.
|
|
The `Socket` abstraction was refactored to only comprise of methods that
can be generically used/applied to all socket domains and protocols.
A more comprehensive IPv4/IPv6 module derived from @LemonBoy's earlier
work was implemented under `std.x.os.IPv4` and `std.x.os.IPv6`. Using
this module, one can then combine them together into a union for example
in order to optimize memory usage when dealing with socket addresses.
A `TCP.Client` and `TCP.Listener` abstraction is introduced that is one
layer over the `Socket` abstraction, which isolates methods that can
only be applied to a "client socket" and a "listening socket". All prior
tests from the `Socket` abstraction, which all previously operated
assuming the socket is operating via. TCP/IP, were moved. All TCP socket
options were also moved into the `TCP.Client` and `TCP.Listener`
abstractions respectively away from the `Socket` abstraction.
Some additional socket options from @LemonBoy's prior PR for Darwin were
also moved in (i.e. SIGNOPIPE).
|
|
Co-authored-by: Maciej Walczak <14938807+xackus@users.noreply.github.com>
|
|
|
|
|
|
Taken from Linux arch/sparc/include/uapi/asm/errno.h
|
|
And fix test cases to make them pass. This is in preparation for
starting to pass behavior tests with self-hosted.
|
|
In particular I wanted to take advantage of the new hex float parsing
code.
|
|
further haiku support system definitions
|
|
Two small patches
|
|
Mostly harmless but conceptually wrong, luckily it hasn't tripped any
safety check.
|
|
|
|
In particular I wanted the change that makes `suspend;` illegal in the
parser.
|
|
|
|
|
|
Follow-up from 507a8096d2f9624bafaf963c3e189a477ef6b7bf
|
|
No need for any such thing. Instead, provide an integer tag type for the
enum.
|
|
* `comptime const` is redundant
* don't use `extern enum`; specify a tag type.
`extern enum` is only when you need tags to alias. But aliasing tags
is a smell. I will be making a proposal shortly to remove `extern enum`
from the language.
* there is no such thing as `packed enum`.
* instead of `catch |_|`, omit the capture entirely.
* unused function definition with missing parameter name
* using `try` outside of a function or test
|
|
We're not ready for Y38K yet.
|
|
|
|
|
|
|
|
Arguments to `selectSymbol` were passed in the wrong order.
|
|
|
|
|
|
See #8538
|
|
Improve Improve PowerPC support
|
|
Correct some silly errors and add the missing piece to set the thread
pointer (r2).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use CreateWindowExW instead of RegisterClassExW as the type of pfnCreateWindowExW.
|
|
Some syscalls such as fadvise require an extra argument to comply with
the register pair alignment imposed by the ABI.
Wacky, isn't it?
|
|
Beside handling NaNs and other non-numeric values better we finally
offer the same pair of testing predicates in math and testing.
|
|
liburing commit: https://github.com/axboe/liburing/commit/1bafb3ce5f5eeb11cd982c7540f6aa74e3f381d4
As stated in the liburing commit message, this fixes a regression,
reverting code that was added specutively to avoid a syscall in some
cases.
|
|
According to the io_uring PDF (https://kernel.dk/io_uring.pdf) the
timeout struct must be 64 bits on both 32 and 64 bit architectures.
|
|
|
|
std: Swap arguments in Thread.spawn
|