copilot-swe-agent[bot]
c1b132c215
Fix DataErrorException when extracting 0-size LZMA ZIP entries
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
# Conflicts:
# src/SharpCompress/Common/Zip/ZipFilePart.Async.cs
# src/SharpCompress/Common/Zip/ZipFilePart.cs
2026-03-01 13:25:54 +00:00
copilot-swe-agent[bot]
d0bfdfd6ab
Fix buffer size alignment: use RewindableBufferSize consistently in Create() and StartRecording()
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-25 10:41:26 +00:00
Adam Hathcock
c5200c299c
Downgrade dependencies for legacy frameworks
2026-02-17 13:32:34 +00:00
copilot-swe-agent[bot]
fb70f06fd4
Improve empty-stream test to verify HasStream == false entries
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-14 10:15:55 +00:00
copilot-swe-agent[bot]
31c6eb3b5c
Fix NullReferenceException for 7z empty-stream entries
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-14 10:14:01 +00:00
Adam Hathcock
51c42b89b4
OpenAsyncArchive has to be async
2026-02-12 10:26:18 +00:00
Adam Hathcock
5a319ffe2c
create/open always has to be async for detection
2026-02-12 10:18:43 +00:00
Adam Hathcock
bae660381c
TarArchive should use a compression method like TarReader
2026-02-12 09:48:06 +00:00
Adam Hathcock
b2f1d007c6
Clean up some code paths
2026-02-12 08:50:18 +00:00
Adam Hathcock
d0baa16502
Fix 7z seeking to be contigous in async too
2026-02-11 12:16:19 +00:00
Adam Hathcock
960920993a
Merge remote-tracking branch 'origin/master' into copilot/add-lzwreader-support
...
# Conflicts:
# src/SharpCompress/Archives/GZip/GZipArchive.Factory.cs
# src/SharpCompress/Archives/Tar/TarArchive.Factory.cs
# src/SharpCompress/Archives/Zip/ZipArchive.Factory.cs
# src/SharpCompress/Factories/GZipFactory.cs
# src/SharpCompress/Factories/TarFactory.cs
# src/SharpCompress/Factories/ZipFactory.cs
# src/SharpCompress/Writers/IWriterFactory.cs
# src/SharpCompress/Writers/WriterFactory.cs
2026-02-10 11:23:18 +00:00
Adam Hathcock
34f4314b86
Fix test
2026-02-10 11:16:39 +00:00
Adam Hathcock
bd99c1ab27
more fluent interface for options
2026-02-10 11:10:04 +00:00
Adam Hathcock
2e364ac0eb
cleaned up writing and added more validation and tests
2026-02-10 10:48:42 +00:00
Adam Hathcock
cf0ad9b323
Merge remote-tracking branch 'origin/copilot/fix-rar-extraction-issues' into adam/cleanup-options
2026-02-09 17:30:50 +00:00
Adam Hathcock
04dd177f19
first pass of removing extraction options (folded into reader options)
2026-02-09 16:52:54 +00:00
copilot-swe-agent[bot]
1ba438d4c7
Add tests for plain .Z files (not tar-wrapped)
...
- Create test .Z file (large_test.txt.Z) using compress tool
- Add tests for direct LzwReader usage with plain .Z files
- Add tests for ReaderFactory detection of plain .Z files
- Improve filename derivation to unwrap SharpCompressStream
- Verify decompression works correctly for non-tar .Z files
- All 15 tests now passing
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-09 14:56:54 +00:00
copilot-swe-agent[bot]
b3038010d9
Improve test documentation for tar.Z wrapper detection
...
- Rename test to clarify it tests tar wrapper detection
- Add detailed comment explaining why we use Tar.tar.Z (LzwStream compression not supported)
- Add assertions to verify ArchiveType.Tar and CompressionType.Lzw are correctly detected
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-09 10:52:13 +00:00
Adam Hathcock
0048452efa
Remove cancellation tokens for factory methods that aren't async
2026-02-09 09:59:49 +00:00
Adam Hathcock
c4a28e7cfb
Update tests/SharpCompress.Test/Rar/RarArchiveAsyncTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-09 09:11:19 +00:00
Adam Hathcock
29197f2142
Update tests/SharpCompress.Test/Rar/RarArchiveTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-09 09:10:59 +00:00
copilot-swe-agent[bot]
d5cab8172b
Address code review feedback: clarify file size comment
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-08 12:54:11 +00:00
copilot-swe-agent[bot]
4084b347d4
Fix RAR extraction to preserve subdirectory structure
...
- Set default ExtractFullPath=true in WriteToDirectoryInternal methods
- Add test case with sample RAR archive containing subdirectories
- Tests verify files are extracted to correct subdirectories, not root
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-08 12:52:25 +00:00
copilot-swe-agent[bot]
1da178a4be
Run code formatter on LzwReader implementation
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-07 10:30:00 +00:00
copilot-swe-agent[bot]
2b74807f5e
Implement LzwReader support for .Z archives
...
- Add Lzw to ArchiveType enum
- Create Common/Lzw classes (LzwEntry, LzwVolume, LzwFilePart)
- Create Readers/Lzw/LzwReader with factory methods
- Create LzwFactory for integration with ReaderFactory
- Add comprehensive tests in Lzw test directory
- Update ReaderFactory error message to include Lzw format
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-07 10:29:18 +00:00
Adam Hathcock
cc6e410be8
some options
2026-02-06 15:16:45 +00:00
Adam Hathcock
0d81d7f243
Merge remote-tracking branch 'origin/master' into adam/cleanup
2026-02-04 15:05:12 +00:00
Adam Hathcock
642b8bddb8
fixed merge
2026-02-04 14:41:55 +00:00
Adam Hathcock
27f7221902
Merge remote-tracking branch 'origin/release' into adam/release-merge
...
# Conflicts:
# Directory.Packages.props
# build/packages.lock.json
# src/SharpCompress/Common/Zip/WinzipAesEncryptionData.cs
# src/SharpCompress/SharpCompress.csproj
# src/SharpCompress/packages.lock.json
# tests/SharpCompress.Performance/packages.lock.json
# tests/SharpCompress.Test/SharpCompress.Test.csproj
# tests/SharpCompress.Test/packages.lock.json
2026-02-04 14:35:40 +00:00
Adam Hathcock
57c0d00b37
rename Rewindable to SharpCompressStream
2026-02-04 14:12:04 +00:00
Adam Hathcock
43276b32b7
better sync over async
2026-02-04 13:25:05 +00:00
Adam Hathcock
94b275c41b
Merge branch 'master' into adam/cleanup
...
# Conflicts:
# src/SharpCompress/Common/EntryStream.cs
2026-02-04 12:55:46 +00:00
Adam Hathcock
ae4ae799b9
merge NonDisposingStream into RewindableStream
2026-02-04 12:40:39 +00:00
Adam Hathcock
b93ed79ef3
another sync over async
2026-02-04 11:26:47 +00:00
Adam Hathcock
c7b8021c2e
remove extra debug
2026-02-04 10:08:50 +00:00
Adam Hathcock
1323c96bc8
remove more scoped namespaces
2026-02-04 09:25:48 +00:00
Adam Hathcock
f67168f479
try to fix test
2026-02-04 08:40:43 +00:00
Adam Hathcock
3ab4478275
use ringbuffer
2026-02-04 08:30:02 +00:00
copilot-swe-agent[bot]
3d745bfa05
Fix invalid TFM: change netstandard20 to netstandard2.0
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-03 16:30:47 +00:00
Adam Hathcock
443f7b8b0c
Add AOT to props and clean up in release
2026-02-03 16:13:15 +00:00
Adam Hathcock
08d64ee8a1
format
2026-02-03 14:13:57 +00:00
Adam Hathcock
dff17a95e8
new fix for RewindableStream with tests
2026-02-03 08:56:35 +00:00
Adam Hathcock
361e695380
non-async ace works
2026-02-02 14:38:16 +00:00
copilot-swe-agent[bot]
ad7e64ba43
Fix test to use correct RarArchive API - all RAR tests passing
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-02 09:33:37 +00:00
copilot-swe-agent[bot]
8737b7a38e
Apply infinite loop fix to SourceStream.cs and add test case
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-02 09:31:38 +00:00
Adam Hathcock
9b8e3d8530
remove some tests
2026-02-02 08:52:21 +00:00
Adam Hathcock
46e2ea8507
more async fixes
2026-02-01 09:38:46 +00:00
Adam Hathcock
cb27b117b4
remove IStreamStack from non specialized streams
2026-01-31 19:03:49 +00:00
Adam Hathcock
227e70926b
fmt
2026-01-31 15:53:52 +00:00
Adam Hathcock
037b6842bf
remove SharpCompressStream
2026-01-31 15:29:34 +00:00