aboutsummaryrefslogtreecommitdiff
path: root/lib/std
AgeCommit message (Collapse)Author
2025-07-30std.crypto: support for hashes without optionssha1-streamAndrew Kelley
2025-07-30std.crypto.Sha1: make it a WriterAndrew Kelley
2025-07-30std.Io.Reader: introduce readVec back into the VTableAndrew Kelley
simplifies and fixes things addresses a subset of #24608
2025-07-30Update doc comment for `ptr_type` and `ptr_type_bit_range` to `data` of ↵Kurt Wagner
`.extra_and_node` The other pointer types are `.opt_node_and_node` but `ptr_type` and `ptr_type_bit_range` contain `.extra_and_node` in their `data` field
2025-07-29std.Io.Reader: make fillUnbuffered respect prexisting bufferAndrew Kelley
addresses only one usage pattern in #24608
2025-07-29disable more failing testsmlugg
Wow, *lots* of backends were reliant on Sema doing the heavy lifting for them. CBE, Wasm, and SPIR-V have all regressed in places now that they actually need to, like, initialize unions and such.
2025-07-28DeprecatedReader.Adapted: fix EndOfStream handlingKendall Condon
2025-07-28aarch64: workaround some optional/union issuesJacob Young
2025-07-27std.compress.xz: eliminate dependency on std.Io.bitReaderAndrew Kelley
2025-07-26std.zig: fmtId returns a FormatIdA cursed quail
Changes fmtId to return the FormatId type directly, and renames the FormatId.render function to FormatId.format, so it can be used in a format expression directly. Why? Since `render` is private, you can't create functions that wrap `fmtId` or `fmtIdFlags`, since you can't name the return type of those functions outside of std itself. The current setup _might_ be intentional? In which case I can live with it, but I figured I'd make a small contrib to upstream zig :)
2025-07-26std.Io.Reader: add rebase to the vtableAndrew Kelley
This eliminates a footgun and special case handling with fixed buffers, as well as allowing decompression streams to keep a window in the output buffer.
2025-07-26std.Build: Deprecate `Step.Compile` APIs that mutate the root moduleCarl Åstholm
Not only are `Step.Compile` methods like `linkLibC()` redundant because `Module` exposes the same APIs, it also might not be immediately obvious to users that these methods modify the underlying root module, which can be a footgun and lead to unintended results if the module is exported to package consumers or shared by multiple compile steps. Using `compile.root_module.link_libc = true` makes it more clear to users which of the compile step and the module owns which options.
2025-07-25Merge pull request #24564 from ziglang/terminal-progress-barAndrew Kelley
std.Progress: support progress bar escape codes
2025-07-25Merge pull request #24559 from ziglang/zstdAndrew Kelley
std: rework zstd for new I/O API
2025-07-25Merge pull request #23340 from castholm/pass-null-to-b-dependencyAndrew Kelley
Add support for passing null, string literals, enum lists and more to `b.dependency()`
2025-07-25std.Progress: introduce StatusAndrew Kelley
2025-07-25std.Progress: support progress bar escape codesAndrew Kelley
2025-07-25std.posix.ftruncate: handle NonResizable properlyAndrew Kelley
2025-07-25std.compress.zstd.Decompress: fix bytes_written trackingAndrew Kelley
2025-07-25std.fs.File.end: account for streaming modeAndrew Kelley
2025-07-25std.compress.zstd: keep frame state between blocksAndrew Kelley
2025-07-25std.compress.zstd: fix endianness issueAndrew Kelley
instead of manually bitcast, use the handy dandy takeStruct function.
2025-07-25std.compress.zstd: respect the window lengthAndrew Kelley
2025-07-25std.Io: add "preserve" variants to Reader/WriterAndrew Kelley
2025-07-25std: rework zstd for new I/O APIAndrew Kelley
This passes tests but it doesn't provide as big a window size as is required to decompress larger streams. The next commit in this branch will work towards that, without introducing an additional buffer.
2025-07-23Merge pull request #24561 from linusg/serenity-fixesAndrew Kelley
Small fixes for SerenityOS
2025-07-23std.Io.poll: update to new I/O APIAndrew Kelley
2025-07-24std.posix: Fix ACCMODE values for serenityLinus Groh
2025-07-24std.c: Fix dirent.name size for serenityLinus Groh
The null terminator is added to the buffer size.
2025-07-23Merge pull request #24523 from ziglang/fifnoAndrew Kelley
std.tar: update to new I/O API
2025-07-22aarch64: add new from scratch self-hosted backendJacob Young
2025-07-22don't forget to advance in the deprecated adapterAndrew Kelley
2025-07-22std.tar: delete function redundant with std.memAndrew Kelley
2025-07-22std.tar.Writer: delete ill-advised APIAndrew Kelley
dependency on time is sus
2025-07-22std: fix deprecated writer not handling the bufferAndrew Kelley
2025-07-22give the Reader API adapter a bufferAndrew Kelley
it needs one or else it always asserts
2025-07-22std.tar.Writer: fix 32-bitAndrew Kelley
2025-07-22std.tar: update to new I/O APIAndrew Kelley
2025-07-22std.Io: add deprecation warningsAndrew Kelley
2025-07-22std.Io: delete FindByteWriterAndrew Kelley
dead
2025-07-22std.Io: delete ChangeDetectionStreamAndrew Kelley
dead code
2025-07-22std.Io: delete MultiWriterAndrew Kelley
nah
2025-07-22std.Io: delete BufferedAtomicFileAndrew Kelley
this is now redundant
2025-07-22std.Io: delete StreamSourceAndrew Kelley
it shan't be missed
2025-07-22std.Io: delete CWriterAndrew Kelley
it shan't be missed
2025-07-22std.fs.File.Reader.sendFile: fix 32-bit freebsdAndrew Kelley
2025-07-21std.fs.File.Reader.sendFile: fix EndOfStream detectionAndrew Kelley
2025-07-21std.fs.File.Reader: fix sendFile logicAndrew Kelley
it wasn't accounting for both writer and reader buffering
2025-07-21std.fs.File.Reader: fix seek position logicAndrew Kelley
2025-07-21std.fs.File.Reader: only fcopyfile if size availableAndrew Kelley