Commit graph

1866 commits

Author SHA1 Message Date
Chris Hennick
1dfb882143
ci(fuzz): Update fuzz_write corpus to increase coverage 2024-05-28 12:26:25 -07:00
Chris Hennick
181942da1e
ci(fuzz): Fix build errors for fuzz_write 2024-05-28 09:17:28 -07:00
Chris Hennick
6aca987fda
ci(fuzz): Bug fix 2024-05-28 08:48:16 -07:00
Chris Hennick
9cd005e37f
ci(fuzz): Fix issue where we'd call abort_file on an empty ZIP 2024-05-28 08:47:29 -07:00
Shun Sakai
2626d02494
fix: Change DateTime to not accept invalid days 2024-05-28 16:22:20 +09:00
Chris Hennick
0b5fe20e10
Merge pull request #156 from zip-rs/release-plz-2024-05-26T02-32-08Z
chore: release v2.1.1
2024-05-28 07:19:56 +00:00
Shun Sakai
83eccdf3e2
fix: Change maximum seconds for DateTime
The valid range of values for the seconds of the MS-DOS date and time
is 0 to 58. So, change `DateTime` to not accept after 58 seconds.
2024-05-28 15:00:13 +09:00
Chris Hennick
08d073edaf
chore: release 2024-05-27 19:09:03 -07:00
Chris Hennick
178a235921
ci(fuzz): Repair recent damage to fuzz_write corpus 2024-05-27 19:05:42 -07:00
Chris Hennick
0d12e3ebfc
Revert "ci(fuzz): Remove most cases added on religious basis that have simpler secular equivalents"
This reverts commit 445860a462.
2024-05-27 18:24:38 -07:00
Chris Hennick
bf7c8d21fb
style: cargo fmt --all 2024-05-27 17:20:46 -07:00
Chris Hennick
0c7b0080f3
chore: Bug fixes for debug implementation 2024-05-27 17:18:31 -07:00
Chris Hennick
8d81cbc2c3
chore: Bug fixes for debug implementation 2024-05-27 17:11:24 -07:00
Chris Hennick
48b1adb64b
fix: Derive Debug for ZipWriter 2024-05-27 16:58:12 -07:00
Chris Hennick
a7840b3468
Merge pull request #157 from ofek/patch-1
Update documented default features
2024-05-27 07:05:52 +00:00
Chris Hennick
445860a462
ci(fuzz): Remove most cases added on religious basis that have simpler secular equivalents 2024-05-26 22:57:32 -07:00
Chris Hennick
8edd3714b9
ci(fuzz): Update both corpora using a confirmed-to-work shell-script loop 2024-05-26 21:32:20 -07:00
Ofek Lev
6668b2c0a5
Update documented default features
Signed-off-by: Ofek Lev <ofekmeister@gmail.com>
2024-05-26 00:02:01 -04:00
Chris Hennick
04c034358b
ci(fuzz): Update fuzz_write corpus 2024-05-25 20:47:04 -07:00
Chris Hennick
9795967dd3
ci(fuzz): Update fuzz_read corpus 2024-05-25 20:25:18 -07:00
Chris Hennick
1e3c3ff5ad
ci(fuzz): Update fuzz_read 2024-05-25 20:12:40 -07:00
Chris Hennick
d5442af5b4
ci(fuzz): Update fuzz_read 2024-05-25 20:09:37 -07:00
Chris Hennick
d9fdddf926
ci(fuzz): Update fuzz_read 2024-05-25 19:53:13 -07:00
Chris Hennick
7a5d471637
ci(fuzz): Update fuzz_read seed corpus based on both previous members and recently-simplified dependencies on numbers or numeric strings 2024-05-25 19:30:55 -07:00
Chris Hennick
5f95e835bf
ci(fuzz): Update seed corpus based on both previous members and recently-simplified dependencies on numbers or numeric strings 2024-05-25 19:30:27 -07:00
Chris Hennick
4537af7d8f
ci: Need -dict for all corpus minimizations, not just fuzz_read 2024-05-25 16:15:29 -07:00
Chris Hennick
0f37a8d8b8
ci: cargo fuzz cmin may be more effective with -dict 2024-05-25 16:03:10 -07:00
Chris Hennick
fdb01c3dd2
style: cargo fmt --all 2024-05-25 15:10:31 -07:00
Chris Hennick
eb949ebdef
chore: Update unit tests 2024-05-25 15:05:02 -07:00
Chris Hennick
15f8bac454
chore: Remove unused import 2024-05-25 14:51:18 -07:00
Chris Hennick
edbb7343f5
refactor: use a MIN_VERSION constant 2024-05-25 14:29:36 -07:00
Chris Hennick
40f20d8a6b
fix: lower default version to 4.5 and use the version-needed-to-extract where feasible. 2024-05-25 14:29:35 -07:00
Chris Hennick
6d4e460556
Merge pull request #154 from zip-rs/release-plz-2024-05-25T05-11-15Z
chore: release v2.1.0
2024-05-25 09:39:21 +00:00
Chris Hennick
78aca55db5
chore: release 2024-05-24 22:11:17 -07:00
Chris Hennick
699d10da71
style: cargo fmt --all 2024-05-24 22:05:39 -07:00
Chris Hennick
e6b2290f70
chore: Another tweak to ensure version_needed is applied 2024-05-24 21:58:26 -07:00
Chris Hennick
92012b9795
chore: Tweaks to make version_needed and version_made_by work with recently-merged changes 2024-05-24 21:55:18 -07:00
Chris Hennick
cda4712153
fix: version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (#100) 2024-05-24 21:47:06 -07:00
Chris Hennick
b057d0dca2
Merge pull request #93 from cosmicexplorer/bulk-parsing
perf: parse headers in blocks and scan for magic numbers with memchr
2024-05-25 01:17:11 +00:00
Chris Hennick
a28b16e69c
Apply suggestions from code review
Fix errors

Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 15:27:28 -07:00
Chris Hennick
df70f6a320
Fix unmatched bracket due to bad merge
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 14:57:06 -07:00
Chris Hennick
6b19c877e2
Merge branch 'master' into bulk-parsing
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 14:50:21 -07:00
Chris Hennick
294564c1a8
style: cargo fmt --all 2024-05-24 14:26:12 -07:00
Chris Hennick
0636bd7411
fix: version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (#100) 2024-05-24 14:24:55 -07:00
Chris Hennick
326b2c4582
Revert macro changes
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:15:58 -07:00
Chris Hennick
3af70176e3
Remove an unused macro branch
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:11:07 -07:00
Chris Hennick
01bb162456
Remove an unused macro branch
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:10:44 -07:00
Chris Hennick
5e216fe150
Bug fix: len() is must-use
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:08:05 -07:00
Chris Hennick
a462b859fa
Fix an off-by-one error in large-file detection
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:06:12 -07:00
Chris Hennick
3ab9f457fb
Bug fix: bench_n expects empty return
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-24 13:05:49 -07:00