Adam Hathcock
54640548ed
Consolidate reads
2026-01-03 15:47:10 +00:00
copilot-swe-agent[bot]
ea02d31096
Add IsArchiveAsync overloads for Zip and GZip factories
...
- Added IsArchiveAsync interface method to IFactory
- Implemented async versions of IsZipFile, IsZipMulti, IsGZipFile
- Updated ZipFactory and GZipFactory to override IsArchiveAsync
- Updated ReaderFactory.OpenAsync to use IsArchiveAsync
- Fixed Zip_Reader_Disposal_Test2_Async to use ReaderFactory.OpenAsync
- Fixed TestStream to properly forward ReadAsync calls
- Removed BufferedStream wrapping from AsyncBinaryReader as it uses sync Read
- Added default implementation in Factory base class
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-02 18:10:54 +00:00
Adam Hathcock
8533b09091
start of implementing zip reading async
2025-12-31 14:53:55 +00:00
Adam Hathcock
44b7955d85
reader tests
2025-12-31 14:43:15 +00:00
Adam Hathcock
1607d2768e
Merge branch 'master' into adam/async-binary-reader
2025-12-30 11:13:14 +00:00
Adam Hathcock
d9274cf794
Update tests/SharpCompress.Test/ExtractAllEntriesTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-23 15:38:17 +00:00
Adam Hathcock
e79dceb67e
check should be there
2025-12-23 09:31:51 +00:00
Adam Hathcock
87c38d6dab
fix ordering and token passing
2025-12-23 09:22:38 +00:00
Adam Hathcock
0e9a4b0511
Merge remote-tracking branch 'origin/master' into copilot/provide-interface-for-entries
...
# Conflicts:
# src/SharpCompress/Archives/AbstractArchive.cs
2025-12-19 15:41:51 +00:00
Adam Hathcock
6cf2e054bf
fmt
2025-12-19 14:33:24 +00:00
Adam Hathcock
b976961434
Merge fixes
2025-12-19 14:22:09 +00:00
Adam Hathcock
e1aa727513
Merge remote-tracking branch 'origin/master' into adam/extract-all-test
...
# Conflicts:
# src/SharpCompress/Archives/IArchiveExtensions.cs
2025-12-19 14:16:29 +00:00
copilot-swe-agent[bot]
2f0eb0bd4b
Replace Action<double> with IProgress<ProgressReport> for progress reporting
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 13:25:36 +00:00
copilot-swe-agent[bot]
17bde8da8a
Merge branch 'master' of https://github.com/adamhathcock/sharpcompress into copilot/refactor-write-to-directory-consistency
2025-12-19 13:10:33 +00:00
Adam Hathcock
99d355e6ca
Merge remote-tracking branch 'origin/master' into copilot/sub-pr-1076-again
2025-12-19 13:05:33 +00:00
copilot-swe-agent[bot]
93504cf82f
Add sync test and attempt to fix async LZMA extraction bug
...
- Restored original async ExtractAllEntries test with using statement
- Added new ExtractAllEntriesSync test (all tests pass)
- Fixed potential partial read bug in LzmaStream.DecodeChunkHeaderAsync
- Added ReadFullyAsync helper to ensure complete reads
- ReadAsync is not guaranteed to return all requested bytes
- Async tests for 7Zip still failing with Data Error
- Issue appears related to LZMA2 stream state management
- _needDictReset flag not being cleared correctly in async flow
- Further investigation needed
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 12:15:54 +00:00
copilot-swe-agent[bot]
0e59bf39f4
Add test for IArchive.WriteToDirectoryAsync
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 12:04:47 +00:00
copilot-swe-agent[bot]
8b95e0a76d
Standardize on WriteToDirectory naming and add async support
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 11:57:01 +00:00
copilot-swe-agent[bot]
48a2ad7b57
Fix ExtractAll test to use synchronous extraction methods for 7Zip archives
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 11:55:00 +00:00
copilot-swe-agent[bot]
224989f19b
Remove restriction on ExtractAllEntries and add comprehensive tests
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 11:45:21 +00:00
Adam Hathcock
00cfeee56e
Fix logic to match ExtractAllEntries
2025-12-19 11:37:04 +00:00
copilot-swe-agent[bot]
aaa97e2ce2
Merge master branch - add ZStandard compression support and TarHeaderWriteFormat
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 11:36:44 +00:00
Adam Hathcock
34309f17f4
fmt
2025-12-18 15:33:26 +00:00
Adam Hathcock
220ba67faa
add extract all test
2025-12-18 15:26:35 +00:00
copilot-swe-agent[bot]
951ebb3fa2
Complete ZstdSharp integration: Add all Unsafe implementation files and remove ZstdSharp.Port dependency
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
HeroponRikIBestest
94b2c5c593
Add tests
2025-12-18 12:30:38 +00:00
Adam Hathcock
5f6d583521
Update tests/SharpCompress.Test/Zip/ZipReaderTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
46d480c9a1
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
Adam Hathcock
aa19f4da8b
update dependencies
2025-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
8680e3b39e
Drop .NET 6 support and add .NET 10 support
...
- Updated SharpCompress.csproj target frameworks from net48;net481;netstandard2.0;net6.0;net8.0 to net48;net481;netstandard2.0;net8.0;net10.0
- Updated test and build projects to use .NET 10
- Updated global.json to .NET 10 SDK
- Updated CI workflow to use .NET 10
- Fixed deprecated Rfc2898DeriveBytes constructor for .NET 10 (SYSLIB0060)
- Updated package description and README to reflect new supported frameworks
- Updated package versions for .NET 10 compatibility
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
Adam Hathcock
40e72ad199
fix AI edit
2025-12-08 11:11:51 +00:00
copilot-swe-agent[bot]
9291f58091
Merge master and add comprehensive tests for archive and reader progress
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-05 11:44:17 +00:00
copilot-swe-agent[bot]
85f3b17c42
Merge remote-tracking branch 'origin/master' into copilot/add-progress-reporting
2025-12-05 11:33:39 +00:00
HeroponRikIBestest
e0660e7775
Add tests
2025-12-02 09:55:24 -05:00
copilot-swe-agent[bot]
14d432e22d
Pass progress as parameter to WriteTo/WriteToAsync instead of storing on archive
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-30 13:04:40 +00:00
copilot-swe-agent[bot]
e2df7894f9
Remove IArchiveExtractionListener and add IProgress support to Archive Entry extraction
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-30 12:00:54 +00:00
copilot-swe-agent[bot]
8fc5ca5a71
Unify progress reporting: remove IExtractionListener and add IProgress support for reading
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 17:40:10 +00:00
Adam Hathcock
e44a43d2b1
Merge pull request #1054 from adamhathcock/copilot/fix-zipreader-directory-entry
...
Document ZipReader DirectoryEntry behavior and add verification test
2025-11-29 15:46:51 +00:00
Adam Hathcock
840e58fc03
Update tests/SharpCompress.Test/Zip/ZipReaderTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-29 15:36:46 +00:00
copilot-swe-agent[bot]
f4dddcec8e
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 14:06:03 +00:00
Adam Hathcock
d34a47c148
update dependencies
2025-11-29 11:56:20 +00:00
copilot-swe-agent[bot]
131bd2b7b8
Drop .NET 6 support and add .NET 10 support
...
- Updated SharpCompress.csproj target frameworks from net48;net481;netstandard2.0;net6.0;net8.0 to net48;net481;netstandard2.0;net8.0;net10.0
- Updated test and build projects to use .NET 10
- Updated global.json to .NET 10 SDK
- Updated CI workflow to use .NET 10
- Fixed deprecated Rfc2898DeriveBytes constructor for .NET 10 (SYSLIB0060)
- Updated package description and README to reflect new supported frameworks
- Updated package versions for .NET 10 compatibility
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 11:03:48 +00:00
copilot-swe-agent[bot]
0d487df61b
Add IProgress support for compression operations with tests
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 19:15:10 +00:00
copilot-swe-agent[bot]
6d73c5b295
Fix DivideByZeroException when using BZip2 with empty files
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 15:59:39 +00:00
Adam Hathcock
fb76bd82f2
first commit of async reader
2025-11-26 08:09:20 +00:00
Adam Hathcock
3bdaba46a9
fmt
2025-11-25 15:39:43 +00:00
Adam Hathcock
9433e06b93
Merge pull request #1023 from adamhathcock/copilot/fix-zip64-validation-issue
...
Fix version mismatch between Local File Header and Central Directory File Header in Zip archives
2025-11-25 15:30:48 +00:00
Adam Hathcock
7c3c94ed7f
Add ArcReaderAsync tests
2025-11-25 14:44:03 +00:00
Adam Hathcock
b81d0fd730
Merge pull request #1009 from adamhathcock/dependabot/nuget/AwesomeAssertions-9.3.0
...
Bump AwesomeAssertions from 9.2.1 to 9.3.0
2025-11-25 11:55:41 +00:00
Adam Hathcock
5bf789ac65
Update csharpier and reformat
2025-11-25 11:50:21 +00:00