aboutsummaryrefslogtreecommitdiff
path: root/lib/std
AgeCommit message (Collapse)Author
2025-07-20Serialize float options using the hexadecimal formatCarl Åstholm
This ensures no information is lost when the value is round-tripped.
2025-07-20Support passing null to `b.dependency()`Carl Åstholm
Both null literals and optionals are supported.
2025-07-20Merge pull request #24488 from ziglang/moreAndrew Kelley
std.zig: finish updating to new I/O API
2025-07-20std.Io.Writer: support alignment for `{t}` specifierMarc Tiehuis
2025-07-20Merge pull request #24505 from ziglang/jsonAndrew Kelley
update std.json and std.zon to new I/O API
2025-07-20std.Build.Step.Run: fix up 681d324c49e7cdc773cc891ea49ed69dd03c23c7Alex Rønne Petersen
https://github.com/ziglang/zig/pull/24151/files#r2217494741
2025-07-19std.Io.Writer: fix writeSliceSwapAndrew Kelley
tried to be too clever, wrote bad code
2025-07-19std.zig.llvm.BitcodeReader: fix 32-bit skipBlockAndrew Kelley
2025-07-19std.Io.Writer: add missing writeSliceSwapAndrew Kelley
2025-07-19std.mem: add byteSwapAllElementsAndrew Kelley
2025-07-19std.debug: add assertAlignedAndrew Kelley
2025-07-19std.zig: finish updating to new I/O APIAndrew Kelley
2025-07-19std.zon: better namespace for SerializerAndrew Kelley
2025-07-19std.zon: update to new I/O APIAndrew Kelley
2025-07-19std.json: update to new I/O APIAndrew Kelley
also do a little bit of namespace cleanup
2025-07-19std.Io.Reader: remove aggressive assert from `fill`Andrew Kelley
with `.fixed("")` you should still be able to do `fill(1)` and have it return error.EndOfStream.
2025-07-19std.hash.RapidHash: removeAndrew Kelley
Its design keeps evolving. See https://github.com/Nicoshev/rapidhash/releases It's great to see the design improving, but over time, this will lead to code rot; versions that aren't widely used but would still have to live in the standard library forever and be maintained. Better to be maintained as an external dependency that applications can opt into. Then, in a few years, if a version proves to be stable and widely adopted, it could be considered for inclusion in the standard library.
2025-07-19Changed u64 to usize to fix #24208Alexandre
2025-07-18std.os.uefi.protocol.file: fix getInfo() buffer alignment (#24496)AsmArtisan256
* std.os.uefi.protocol.file: use @alignCast in getInfo() method to fix #24480 * std.os.uefi.protocol.file: pass alignment responsabilities to caller by redefining the buffer type instead of blindly calling @alignCast
2025-07-17Merge pull request #20069 from LewisGaul/math-tests-simplifiedAndrew Kelley
Math tests simplified (exp and log functions) with bugfixes
2025-07-17std.io.Writer: remove requirement of a 2-byte buffer for extern unions (#24489)John Benediktsson
closes #24486
2025-07-17std.zig.readSourceFileToEndAlloc: avoid resizingAndrew Kelley
+1 on the ensure total capacity to account for the fact that we add a null byte before returning. thanks matklad
2025-07-17std.Io.Reader: fix readSliceShort with smaller buffer than ReaderAndrew Kelley
closes #24443
2025-07-17std.Io.Reader: update OneByteReader usage to std.testing.ReaderAndrew Kelley
2025-07-17std.Io: Fix GenericReader.adaptToNewApi; add DeprecatedReader.adaptToNewApi ↵John Benediktsson
(#24484)
2025-07-17Merge pull request #24472 from ziglang/zig-fmtAndrew Kelley
zig fmt: update related functionality to new I/O API
2025-07-17std.Progress: reset end when failing to flush stderrkcbanner
2025-07-17std.Build.Step.ConfigHeader: add the lazy file styled input as a dependencyTristan Ross
2025-07-17Make sure to test the sign of the zero resultsLewis Gaul
2025-07-17Add tests for math.expm1(), fixing bug in 32-bit functionLewis Gaul
2025-07-17Add tests for math.log1p()Lewis Gaul
2025-07-16std.Ast.Render: fix conflicts with master branchAndrew Kelley
2025-07-16std.Io.Reader: fix appendRemaining harderAndrew Kelley
ensure that it issues a stream call that includes the buffer to detect the end when needed, but otherwise does not offer Reader buffer to append directly to the list.
2025-07-16std.zig.readSourceFileToEndAlloc: add file size heuristicAndrew Kelley
2025-07-16std.Io.Writer: fix writeStructAndrew Kelley
2025-07-16std.Io.Reader: fix appendRemainingAndrew Kelley
it calls readVec which is a higher level function than was expected in the previous implementation
2025-07-16update compilerAndrew Kelley
2025-07-16std.zig.Render: update it and referencesAndrew Kelley
2025-07-16move a file without changing itAndrew Kelley
2025-07-16std.zig.Ast: update to new I/O APIAndrew Kelley
2025-07-16std.zig: update to new I/O APIAndrew Kelley
2025-07-17Merge pull request #24419 from ziglang/asm-clobbersAndrew Kelley
inline assembly: use types for clobbers
2025-07-16fix splatBytesAll and writeSplatAllSilver
2025-07-16add lr register to mipsAndrew Kelley
2025-07-16fix sparc ccr regsAndrew Kelley
2025-07-16fix mips clobbersAndrew Kelley
2025-07-16canonicalize loongarch clobbersAndrew Kelley
2025-07-16fix mips inline asmAndrew Kelley
wtf are these dollar signs?
2025-07-16add clobbers for more architecturesAndrew Kelley
2025-07-16std.zig.render: handle legacy clobber updating more gracefullyAndrew Kelley
"that's really easy to handle correctly" he said