Nigel Tao
4e20ba6876
example: add output-crc32-digest flag
2024-02-15 13:40:09 +11:00
Nigel Tao
6017c37232
std/lzma: stash LZMA state across multiple chunks
2024-02-14 20:32:07 +11:00
Nigel Tao
6c71bb229b
test/data: add enwik5.block-size-32k.xz
...
It was created with a vanilla xz binary:
xz --keep --block-size=32k --stdout enwik5 > enwik5.block-size-32k.xz
2024-02-14 15:49:54 +11:00
Nigel Tao
2f7fbd0f34
test/data: add enwik5.lzma2-chunk-max-1-13.xz
...
It was created wih a custom xz binary (built from the source at
https://github.com/tukaani-project/xz ), with this command:
xz --compress --keep --stdout enwik5 > enwik5.lzma2-chunk-max-1-13.xz
after applying this patch to xz's src/liblzma/lzma/lzma2_encoder.h:
-#define LZMA2_CHUNK_MAX (UINT32_C(1) << 16)
+#define LZMA2_CHUNK_MAX (UINT32_C(1) << 13)
The resultant enwik5.lzma2-chunk-max-1-13.xz file has multiple LZMA2
chunks, unlike the existing enwik5.xz (created with the normal chunk
limit). Wuffs' std/xz currently does not decode this new file properly.
2024-02-13 22:17:35 +11:00
Nigel Tao
749e3559f2
std/xz: implement apply_filter_0b_riscv
2024-02-13 21:11:06 +11:00
Nigel Tao
94e32e8e56
test/3pdata: add xzsuite/*-riscv-*.xz
2024-02-13 20:22:02 +11:00
Nigel Tao
782e78a689
std/xz: support BCJ start option
2024-02-12 21:01:27 +11:00
Nigel Tao
6f4db1b138
std/xz: implement apply_filter_06_ia64
2024-02-12 20:15:45 +11:00
Nigel Tao
30133ad4b2
std/xz: implement apply_filter_05_powerpc
2024-02-11 19:10:55 +11:00
Nigel Tao
d2a63a7e34
std/xz: implement apply_filter_04_x86
2024-02-11 13:04:29 +11:00
Nigel Tao
76a17ce742
std/xz: implement apply_filter_0a_arm64
2024-02-11 11:42:40 +11:00
Nigel Tao
8b3e598572
std/xz: implement apply_filter_08_armthumb
2024-02-11 11:11:47 +11:00
Nigel Tao
03bb04d80c
std/xz: implement apply_filter_09_sparc
2024-02-11 10:54:44 +11:00
Nigel Tao
af6c7b56af
std/xz: implement apply_filter_07_arm
2024-02-10 21:46:36 +11:00
Nigel Tao
764169165a
script: reduce os.Write perms, s/0666/0644/
2024-02-09 22:16:10 +11:00
Nigel Tao
9ef114be43
std/xz: prepare to add BCJ filters
2024-02-09 22:15:09 +11:00
Nigel Tao
98dae3c1c0
std/xz: refactor apply_non_final_filters
2024-02-09 20:18:56 +11:00
Nigel Tao
2b4e8ce6a2
example/mzcat: support zlib
2024-02-09 16:07:43 +11:00
Nigel Tao
e8ec21976c
fuzz: shrink xz WORK_BUFFER_ARRAY_SIZE
2024-02-09 16:02:54 +11:00
Nigel Tao
569a91892e
check: drop facts before/after an IOManip
2024-02-09 15:31:50 +11:00
Nigel Tao
e5dc87e4d3
cgen: have writeStatementIOManip use switches
2024-02-09 15:21:37 +11:00
Nigel Tao
be1b1b564c
cgen: reformat "uint8_t *o_etc"
2024-02-09 15:09:50 +11:00
Nigel Tao
d2ecc20141
std/xz: use io_forget_history
2024-02-09 15:06:11 +11:00
Nigel Tao
9fb3859488
lang: more anticipating io_forget_history
2024-02-09 15:03:44 +11:00
Nigel Tao
6482ba3923
std/xz: refactor anticipating io_forget_history
2024-02-09 14:59:55 +11:00
Nigel Tao
e8af2d0635
lang: refactor anticipating io_forget_history
2024-02-09 14:55:35 +11:00
Nigel Tao
c21cc95713
std/lzma: use args.workbuf for io_buffer history
2024-02-08 21:38:30 +11:00
Nigel Tao
d9bb6d4b4f
base: add {io_reader,io_writer}.peek_undo_byte
2024-02-05 22:58:18 +11:00
Nigel Tao
29e49cded4
std/lzma: add sizeof(probs_etc) comment
2024-01-14 12:57:03 +11:00
Nigel Tao
caa7711b30
fuzz: fix seed_corpora xzsuite_corpus dir name
...
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65668
2024-01-11 08:57:00 +11:00
Nigel Tao
ab06be047b
test/data: add romeo.txt.delta1.xz
...
It was generated by:
xz -k --delta=dist=1 --lzma2 --stdout romeo.txt > romeo.txt.delta1.xz
2024-01-09 22:40:46 +11:00
Nigel Tao
76cb4bd757
std/xz: remove placeholder field
2024-01-08 23:55:49 +11:00
Nigel Tao
13115e4e1d
std/xz: fix QUIRK_IGNORE_CHECKSUM skipping bytes
2024-01-07 19:52:11 +11:00
Nigel Tao
0719c911f6
fuzz: add xz_fuzzer
2024-01-07 17:34:15 +11:00
Nigel Tao
d4ececf1d4
std/xz: add delta filter
2024-01-07 09:14:11 +11:00
Nigel Tao
1e5cf45090
std/lzma: fix uncompressed prior decoded length
2023-12-27 23:40:10 +11:00
Nigel Tao
4dbea68208
doc: re-arrange some changelog bullets
2023-12-27 18:18:03 +11:00
Nigel Tao
992fd9622a
base: rename bitvec256.get to bitvec256.get_u64
2023-12-27 17:05:54 +11:00
Nigel Tao
9f42d1fbb8
std/gif: have decode_header call read_u48le_as_u64
2023-12-27 17:03:33 +11:00
Nigel Tao
c77989d162
std: rename "var c" to "var c8"
2023-12-27 17:01:01 +11:00
Nigel Tao
77fa011072
std: rename foo_got variables to foo_have
2023-12-27 16:47:52 +11:00
Nigel Tao
2afec50f62
std/lzma: track prior decoded length
2023-12-26 23:48:47 +11:00
Nigel Tao
5a7299b5c2
script: have print-*-checksums.sh show exit codes
2023-12-26 22:21:13 +11:00
Nigel Tao
cf927b20bf
std/xz: verify block {un,}compressed size
2023-12-26 17:04:16 +11:00
Nigel Tao
79af52bb24
std/xz: add SHA-256 checksum support
2023-12-26 17:04:16 +11:00
Nigel Tao
a440f6dd5b
std/lzma: support LZMA2 uncompressed chunks
2023-12-26 17:04:14 +11:00
Nigel Tao
13d9d259e8
test/3pdata: add xzsuite
2023-12-26 12:41:01 +11:00
Nigel Tao
33db93f617
script: add print-mzcat-checksums.sh
2023-12-26 10:56:22 +11:00
Nigel Tao
ce0cee444d
std/xz: add new package
2023-12-25 13:24:24 +11:00
Nigel Tao
41a83f2e29
std/lzma: add LZMA2 support
2023-12-24 22:33:42 +11:00