Benoît du Garreau
|
83b1273fab
|
Improve several Read methods on ZipFile
|
2024-07-11 14:31:31 +02:00 |
|
Chris Hennick
|
d45bdccc6a
|
Merge pull request #199 from yujincheng08/xz
feat: Support XZ decompression
|
2024-07-05 15:52:38 +00:00 |
|
Danny McClanahan
|
59630c00c6
|
fix dead code analysis warning
|
2024-06-27 15:37:45 -04:00 |
|
Chris Hennick
|
cbd8aedea4
|
Merge branch 'master' into xz
|
2024-06-22 17:04:15 -07:00 |
|
Chris Hennick
|
b6e0a0693b
|
style: Fix cargo fmt and clippy warnings
|
2024-06-22 17:03:37 -07:00 |
|
Chris Hennick
|
0807029a63
|
Merge branch 'master' into xz
|
2024-06-22 16:58:54 -07:00 |
|
Chris Hennick
|
b051ca3d47
|
chore: Fix a bug introduced by c934c824
|
2024-06-22 16:57:49 -07:00 |
|
Chris Hennick
|
5b749c4ed9
|
Merge branch 'master' into xz
|
2024-06-21 23:15:47 -07:00 |
|
Chris Hennick
|
fcc4fa93e3
|
style: Fix a Clippy warning re unnecessary into_iter()
|
2024-06-21 23:15:23 -07:00 |
|
Chris Hennick
|
c0ede17cd0
|
Merge branch 'master' into xz
|
2024-06-21 20:29:30 -07:00 |
|
Chris Hennick
|
e20fd7959a
|
style: cargo fmt --all
|
2024-06-21 20:28:43 -07:00 |
|
Chris Hennick
|
9a2391358c
|
Merge branch 'master' into xz
|
2024-06-21 20:26:07 -07:00 |
|
Chris Hennick
|
c934c82405
|
fix: Some archives with over u16::MAX files were handled incorrectly or slowly (#189)
|
2024-06-21 20:22:15 -07:00 |
|
LoveSy
|
421e1dd8fb
|
feat: support XZ decompression
|
2024-06-22 11:12:53 +08:00 |
|
Chris Hennick
|
8bb3be02c1
|
refactor: Verify with debug assertions that no FixedSizeBlock expects a multi-byte alignment (#198)
|
2024-06-21 17:03:44 -07:00 |
|
Chris Hennick
|
26e6462a8d
|
style: cargo fmt --all
|
2024-06-21 10:34:03 -07:00 |
|
Chris Hennick
|
27c7fa4cd4
|
chore: Fix a failing unit test
|
2024-06-20 13:40:12 -07:00 |
|
Chris Hennick
|
f1b617d112
|
fix: Check number of files when deciding whether a CDE is the real one
|
2024-06-20 04:45:43 -07:00 |
|
Chris Hennick
|
78a38e977a
|
fix: Could still select a fake CDE over a real one in some cases
|
2024-06-18 22:33:24 -07:00 |
|
Chris Hennick
|
a895aa57b1
|
style: cargo fmt --all
|
2024-06-18 20:11:56 -07:00 |
|
Chris Hennick
|
d309f07010
|
chore: Fix build errors on older Rust versions
|
2024-06-18 20:09:50 -07:00 |
|
Chris Hennick
|
9bf914d7d4
|
fix: May have to consider multiple CDEs before filtering for validity
|
2024-06-18 19:58:16 -07:00 |
|
Chris Hennick
|
45472486f1
|
style: Fix a Clippy warning
|
2024-06-18 12:41:16 -07:00 |
|
Chris Hennick
|
19118f45f3
|
chore: Fix build
|
2024-06-18 10:41:35 -07:00 |
|
Chris Hennick
|
cb2d7abde7
|
fix: We now keep searching for a real CDE header after read an invalid one from the file comment
|
2024-06-18 10:31:25 -07:00 |
|
Chris Hennick
|
9568e713bd
|
style: cargo fmt --all
|
2024-06-17 18:54:06 -07:00 |
|
Chris Hennick
|
db4a967eba
|
style: Fix a Clippy warning
|
2024-06-17 18:21:47 -07:00 |
|
Chris Hennick
|
24fc14701b
|
style: Suppress Clippy warnings for octal-looking escapes
|
2024-06-17 18:18:57 -07:00 |
|
Chris Hennick
|
4065f0501f
|
fix: Always search for data start when opening an archive for append, and reject the header if data appears to start after central directory
|
2024-06-17 17:44:34 -07:00 |
|
Chris Hennick
|
6f120223b2
|
fix: deep_copy_file no longer allows overwriting an existing file, to match the behavior of shallow_copy_file
|
2024-06-17 15:17:03 -07:00 |
|
Chris Hennick
|
8d78fd98f5
|
fix: File start position was wrong when extra data was present
|
2024-06-17 15:15:15 -07:00 |
|
Chris Hennick
|
fec15c0680
|
style: cargo fmt --all
|
2024-06-17 12:09:35 -07:00 |
|
Chris Hennick
|
19cf889b3b
|
style: Fix a Clippy warning
|
2024-06-17 12:08:55 -07:00 |
|
Chris Hennick
|
64b5debc16
|
chore: Fix another fuzz failure
|
2024-06-17 12:06:37 -07:00 |
|
Chris Hennick
|
16aa9bcddf
|
test: fix a failing unit test
|
2024-06-15 15:33:52 -07:00 |
|
Chris Hennick
|
58b982c99e
|
style: Fix a Clippy warning
|
2024-06-15 15:18:52 -07:00 |
|
Chris Hennick
|
5b285d7cbf
|
test: Fix some tests that were failing when Zopfli wasn't enabled
|
2024-06-15 15:15:02 -07:00 |
|
Chris Hennick
|
c7116f54d6
|
chore: Switch to ok_or_abort_file , and inline when that fails borrow checker
|
2024-06-14 19:03:31 -07:00 |
|
Chris Hennick
|
e3ccaf6e00
|
chore: Switch to ok_or_abort_file , and inline when that fails borrow checker
|
2024-06-14 19:01:16 -07:00 |
|
Chris Hennick
|
405d923d9d
|
refactor: Use new do_or_abort_file method
|
2024-06-14 18:16:06 -07:00 |
|
Chris Hennick
|
e23f676c40
|
fix: Abort file if central extra data is too large
|
2024-06-14 18:01:42 -07:00 |
|
Chris Hennick
|
2a035f5201
|
fix: Overflow panic when central directory extra data is too large
|
2024-06-14 17:42:06 -07:00 |
|
Chris Hennick
|
5ae025e2cb
|
style: cargo fmt --all
|
2024-06-14 17:16:03 -07:00 |
|
Chris Hennick
|
052f3a133e
|
fix: ZIP64 header was being written twice when copying a file
|
2024-06-14 17:09:36 -07:00 |
|
Chris Hennick
|
a770913f7b
|
fix: ZIP64 header was being written to central header twice
|
2024-06-14 16:38:11 -07:00 |
|
Chris Hennick
|
40093e9955
|
fix: Start position was incorrect when file had no extra data
|
2024-06-14 15:50:54 -07:00 |
|
Chris Hennick
|
af7b27a21d
|
perf: Speed up CRC when encrypting small files
|
2024-06-14 15:47:41 -07:00 |
|
Chris Hennick
|
185b1a1fd1
|
perf: Limit the number of extra fields
|
2024-06-14 15:32:52 -07:00 |
|
Chris Hennick
|
9d9c1ce1f1
|
perf: Refactor extra-data validation
|
2024-06-14 15:26:27 -07:00 |
|
Chris Hennick
|
2eee2798a5
|
perf: Store extra data in plain vectors until after validation
|
2024-06-14 15:22:54 -07:00 |
|