2964 Commits

Author SHA1 Message Date
Adam Hathcock
e04d51176c Merge pull request #1387 from adamhathcock/copilot/archiveinformation-show-archive-detail
Add format-specific `ArchiveInformation` details for ZIP data descriptors and solid streams
2026-08-07 11:10:02 +01:00
Adam Hathcock
5908d9a7e6 move detection and use more sync method 2026-08-06 15:17:32 +01:00
Adam Hathcock
839df5f5d9 moved namespaces 2026-08-06 09:13:22 +01:00
Adam Hathcock
6f497d73bf use sync generator 2026-08-06 08:14:48 +01:00
Adam Hathcock
1ab599a21d Merge remote-tracking branch 'origin/master' into copilot/archiveinformation-show-archive-detail 2026-08-05 16:20:22 +01:00
Adam Hathcock
ea7d97fcee better zip streaming info 2026-08-05 16:20:08 +01:00
Adam Hathcock
f90ce7a511 Merge pull request #1408 from adamhathcock/release
Release to master
2026-08-05 16:18:15 +01:00
Adam Hathcock
c083c6efd8 fmt 0.50.4 2026-08-05 15:59:16 +01:00
Adam Hathcock
ec1c0ac3c2 Merge pull request #1407 from adamhathcock/adam/fix-tar-symlink
Adam/fix tar symlink
2026-08-05 15:45:45 +01:00
Adam Hathcock
a25ef129a4 Fix sym link tests 2026-08-05 15:44:27 +01:00
Adam Hathcock
b97cce5ef1 review fixes 2026-08-05 15:44:27 +01:00
Adam Hathcock
513b6bec45 fixes SharpCompress TAR extraction overwrites files outside the extraction root when a SymbolicLinkHandler enables symlink chaining 2026-08-05 15:44:27 +01:00
Adam Hathcock
6fa824b092 Merge pull request #1405 from julianxhokaxhiu/fix/rar-crc 2026-08-04 21:44:57 +01:00
Julian Xhokaxhiu
e4cc79f252 Rar: Fix CPU performance regression 2026-08-04 19:57:30 +02:00
Adam Hathcock
87f5616d1f Detect v Inspect is added. Detect is used only basic info but does not buffer as much as it can. 2026-08-04 11:45:13 +01:00
Adam Hathcock
858f5040df Merge remote-tracking branch 'origin/master' into copilot/archiveinformation-show-archive-detail 2026-08-04 10:29:51 +01:00
Adam Hathcock
26c17975a6 Merge pull request #1402 from adamhathcock/adam/parallel-lzma-fixes
Fixes for parallel lzma usage
2026-08-04 10:22:29 +01:00
Adam Hathcock
46e740b613 Remove UseSyncOverAsyncDispose 2026-08-04 10:16:09 +01:00
Adam Hathcock
c619ec0687 change generated dispose to have a sync only option 2026-08-04 09:49:11 +01:00
Adam Hathcock
00373c521d Merge branch 'master' into adam/parallel-lzma-fixes 2026-08-04 09:31:36 +01:00
Adam Hathcock
89d47e4bc4 Merge remote-tracking branch 'origin/master' 2026-08-04 09:30:51 +01:00
Adam Hathcock
575ef6003a Merge remote-tracking branch 'origin/release' 2026-08-04 09:30:36 +01:00
Adam Hathcock
abe1c3e309 Merge pull request #1397 from adamhathcock/adam/large-file-tests
Large file tests and detection fixes
2026-08-04 09:29:42 +01:00
Adam Hathcock
20ea4a3e03 Do need the csproj change 2026-08-04 09:27:48 +01:00
Adam Hathcock
a5e3f2d17d Merge remote-tracking branch 'origin/adam/large-file-tests' into adam/large-file-tests 2026-08-04 09:12:27 +01:00
Adam Hathcock
693921ec73 fmt 2026-08-04 09:12:00 +01:00
Adam Hathcock
62d1b5dcc8 Provide a better way to manage async disposable streams 2026-08-04 09:11:26 +01:00
Adam Hathcock
e00be8f8d7 Merge pull request #1404 from adamhathcock/copilot/fix-nuget-release-job
Fix TarFactory.cs formatting to unblock CI
2026-08-04 08:28:53 +01:00
copilot-swe-agent[bot]
e578c8a9b8 Fix formatting: correct indentation of helper methods in TarFactory.cs
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2026-08-04 07:21:40 +00:00
copilot-swe-agent[bot]
409ab426d2 Initial plan 2026-08-04 07:18:53 +00:00
Adam Hathcock
14c66e449f Merge pull request #1401 from adamhathcock/adam/zip-sync-generator 2026-08-03 21:05:08 +01:00
Adam Hathcock
c9a9c0d2ad Merge remote-tracking branch 'origin/adam/large-file-tests' into adam/large-file-tests 2026-08-03 16:38:50 +01:00
Adam Hathcock
4a71ec898b fixes found by gh and sol 2026-08-03 16:38:27 +01:00
Adam Hathcock
369ab91522 fix windows build 2026-08-03 16:01:58 +01:00
Adam Hathcock
208d263a08 Fixes for parallel lzma usage 2026-08-03 15:49:19 +01:00
Adam Hathcock
c698124896 Fixes for parallel lzma usage 2026-08-03 15:49:01 +01:00
Adam Hathcock
e8ee2264a9 converted a lot of zip items to sync method generator 2026-08-03 15:18:44 +01:00
Adam Hathcock
67060f8bfd Merge pull request #1399 from julianxhokaxhiu/feat/lzma-modern
Add LZMA Parallelism and Fast Decoder for modern dotnet
2026-08-03 13:28:48 +01:00
Adam Hathcock
7d242cb55d Merge pull request #1400 from adamhathcock/adam/gzip-sync-generator
gzip using sync generator
2026-08-03 13:03:36 +01:00
Adam Hathcock
ee93b4fa10 Merge remote-tracking branch 'origin/master' into adam/gzip-sync-generator 2026-08-03 12:32:12 +01:00
Adam Hathcock
ae7b4ec98c Merge pull request #1398 from julianxhokaxhiu/feat/crc32-faster
Improve CRC32 by using the slice-by-16 optimization
2026-08-03 11:45:26 +01:00
Adam Hathcock
c4fa31d615 gzip using sync generator 2026-08-03 08:15:18 +01:00
Julian Xhokaxhiu
55db16ecb3 Improve LZMA decoder using 7zip logics for modern dotnet
- Add opt-in Parallel decoding
- Add a new ASM-like decoder
- Add Unit tests for Parallel decoding
2026-08-03 02:50:30 +02:00
Julian Xhokaxhiu
5f340db48d Improve CRC32 by using the slice-by-16 optimization 2026-08-02 23:17:08 +02:00
Adam Hathcock
d391cf21e1 finalize check in 2026-08-01 13:26:48 +01:00
Adam Hathcock
b91289d82c add large file tests and GZip/Lzw factory fixes 2026-08-01 13:25:08 +01:00
Adam Hathcock
67bd9289f9 Merge pull request #1396 from adamhathcock/adam/fix-rar5-decompression-error
Fix RAR5 async decompression corruption in UnpWriteBufAsync
0.50.3
2026-08-01 12:50:05 +01:00
Adam Hathcock
2a2218bcf7 small fix 2026-08-01 12:49:47 +01:00
Adam Hathcock
bc06a9df8b Some clean up 2026-08-01 12:43:44 +01:00
copilot-swe-agent[bot]
cfdfad26b6 Fix RAR5 async decompression corruption in UnpWriteBufAsync
Three bugs in the async version of UnpWriteBuf (used only in the async
decompression path) were causing data corruption when decompressing RAR5
archives containing executable filters (E8/E8E9/ARM) whose blocks spanned
the 4MB write boundary (UNPACK_MAX_WRITE):

1. WrittenFileSize was only incremented inside `if (OutMem != null)`, but
   should always be incremented after ApplyFilter (matching sync behavior).

2. UnpSomeRead = true was missing from the filter processing path.

3. In the NotAllFiltersProcessed else branch (filter intersects write border):
   - WrPtr was not updated to WrittenBorder, corrupting the window pointer
     used to compute WriteBorder on the next flush cycle
   - Remaining filters had NextWindow set to true (inverted logic), when
     sync correctly sets them to false so they are processed next time

All three changes align the async path with the sync UnpWriteBuf logic.
2026-08-01 12:19:09 +01:00