aboutsummaryrefslogtreecommitdiff
path: root/lib/std/compress/xz
AgeCommit message (Collapse)Author
2025-08-26std.compress.xz: fix 32-bit targetsAndrew Kelley
2025-08-26std: update xz unit tests to new I/O APIAndrew Kelley
2025-08-26std.compress.xz.Decompress: some tests passingAndrew Kelley
2025-08-26std.compress.xz: skeleton in placeAndrew Kelley
missing these things: - implementation of finish() - detect packed bytes read for check and block padding - implementation of discard() - implementation of block stream checksum
2025-08-26std.compress.lzma: update for new I/O APIAndrew Kelley
2025-08-26std.compress.xz: flatten namespacesAndrew 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-07std.io: deprecated Reader/Writer; introduce new APIAndrew Kelley
2024-06-23Rename *[UI]LEB128 functions to *[UI]leb128Michael Bradshaw
2024-03-13compress.xz: remove unnecessary variableIgor Anić
`to_read.items.len is always zero when entering readBlock.
2024-03-13compress.xz: make reader loop little more readableIgor Anić
No need to do same error check on two places. First return all uncompressed data then on last read check error.
2024-03-13compress.xz: remove copyForwards from tight loopIgor Anić
In the example from the issue #19052 to_read holds 213_315_584 uncompressed bytes. Calling read with small output results in many shifts of that big buffer. This removes need to shift to_read after each read.
2023-10-31std.builtin.Endian: make the tags lower caseAndrew Kelley
Let's take this breaking change opportunity to fix the style of this enum.
2023-10-31mem: fix ub in writeIntJacob Young
Use inline to vastly simplify the exposed API. This allows a comptime-known endian parameter to be propogated, making extra functions for a specific endianness completely unnecessary.
2023-10-27x86_64: fix `cond_br`Jacob Young
2023-10-22Revert "Revert "Merge pull request #17637 from jacobly0/x86_64-test-std""Jacob Young
This reverts commit 6f0198cadbe29294f2bf3153a27beebd64377566.
2023-10-22Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"Andrew Kelley
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727. This caused a CI failure when it landed in master branch due to a 128-bit `@byteSwap` in std.mem.
2023-10-21x86_64: disable failing tests, enable test-std testingJacob Young
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-04-28std: update to use `@memcpy` directlyAndrew Kelley
2023-02-05Update block.zigfn ⌃ ⌥
2023-02-05std.compress.xz: Avoid possible integer overflow in a few placesRyan Liptak
2023-02-02Add LZMA decoderfn ⌃ ⌥
2023-01-25std.compress.xz: fix for big-endian targetsfn ⌃ ⌥
2023-01-24std.compress.xz: fix compile error on 32-bit systemsAndrew Kelley
2023-01-24std.compress.xz public API cleanupAndrew Kelley
* add xz to std.compress * prefer importing std.zig by file name, to reduce reliance on the standard library being a special case. * extract some types from inside generic functions. These types are the same regardless of the generic parameters. * expose some more types in the std.compress.xz namespace. * rename xz.stream to xz.decompress * rename check.Kind to Check * use std.leb for LEB instead of a redundant implementation
2023-01-24Add an xz decoder to the standard libraryfn ⌃ ⌥