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
d04830ba90
Add some OpenAsync
2026-01-02 17:52:18 +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
038b9f18c6
Merge remote-tracking branch 'origin/master' into copilot/add-buffered-stream-async-read
2025-12-31 14:24:31 +00:00
Adam Hathcock
5667595587
Merge pull request #1091 from adamhathcock/adam/update-deps2
...
Update dependencies
2025-12-31 14:23:58 +00:00
copilot-swe-agent[bot]
6e0e20ba6e
Fix zip64_locator to use ReadUInt32Async instead of ReadUInt16Async
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-30 11:50:41 +00:00
copilot-swe-agent[bot]
ec31cb9987
Fix Zip headers to support both sync and async reading
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-30 11:47:31 +00:00
Adam Hathcock
32d5b61c4a
Merge pull request #1093 from adamhathcock/copilot/sub-pr-1091
2025-12-30 11:32:05 +00:00
copilot-swe-agent[bot]
128c9e639f
Add back System.Buffers and System.Memory packages
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-30 11:30:12 +00:00
copilot-swe-agent[bot]
5e3f01dc03
Initial plan
2025-12-30 11:26:39 +00:00
copilot-swe-agent[bot]
39a0b4ce78
Use BufferedStream for async reading in AsyncBinaryReader
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-30 11:23:55 +00:00
Adam Hathcock
af719707bf
Merge branch 'adam/async-binary-reader' into copilot/add-buffered-stream-async-read
2025-12-30 11:17:16 +00:00
copilot-swe-agent[bot]
8415a19912
Initial plan
2025-12-30 11:15:28 +00:00
Adam Hathcock
1607d2768e
Merge branch 'master' into adam/async-binary-reader
2025-12-30 11:13:14 +00:00
Adam Hathcock
c97c05a3a7
Update dependencies
2025-12-30 11:11:40 +00:00
Adam Hathcock
b2beea9c4e
Merge pull request #1077 from adamhathcock/copilot/provide-interface-for-entries
...
Remove ExtractAllEntries restriction for non-SOLID archives
2025-12-23 15:47:52 +00:00
Adam Hathcock
41fbaa1c28
Merge pull request #1085 from adamhathcock/adam/edit-md-files
...
add some markdown files for planning
2025-12-23 15:38:56 +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
583b048046
Update USAGE.md
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-23 15:38:00 +00:00
Adam Hathcock
ead5916eae
Update USAGE.md
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-23 15:37:28 +00:00
Adam Hathcock
d15ab92da3
add some markdown files for planning
2025-12-23 15:37:04 +00:00
Adam Hathcock
1ab30f2af5
Merge pull request #1084 from adamhathcock/copilot/fix-handled-system-exception
...
Avoid NotSupportedException overhead in SharpCompressStream for non-seekable streams
2025-12-23 15:15:15 +00:00
Adam Hathcock
4dbe0b91f1
Update src/SharpCompress/IO/SharpCompressStream.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-23 15:06:24 +00:00
Adam Hathcock
a972d3784e
Merge pull request #1082 from adamhathcock/dependabot/nuget/JetBrains.Profiler.SelfApi-2.5.15
...
Bump JetBrains.Profiler.SelfApi from 2.5.14 to 2.5.15
2025-12-23 15:04:17 +00:00
copilot-swe-agent[bot]
6991900eb0
Remove try/catch blocks, just check CanSeek as requested
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-23 15:01:41 +00:00
copilot-swe-agent[bot]
d614beb9eb
Add explanatory comments for CanSeek checks and try-catch blocks
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-23 14:41:44 +00:00
copilot-swe-agent[bot]
253a46d458
Fix NotSupportedException in SharpCompressStream by checking CanSeek
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-23 14:38:11 +00:00
copilot-swe-agent[bot]
32b1ec32c6
Initial plan
2025-12-23 14:32:38 +00:00
Adam Hathcock
eb2cba09b2
update usage
2025-12-23 09:34:55 +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
dependabot[bot]
9e98d9c45c
Bump JetBrains.Profiler.SelfApi from 2.5.14 to 2.5.15
...
---
updated-dependencies:
- dependency-name: JetBrains.Profiler.SelfApi
dependency-version: 2.5.15
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-22 09:39:01 +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
eae25aff64
Merge pull request #1076 from adamhathcock/adam/extract-all-test
...
add extract all test
2025-12-19 14:58:33 +00:00
Adam Hathcock
b8c06ff36e
oops
2025-12-19 14:39:37 +00:00
Adam Hathcock
6cf2e054bf
fmt
2025-12-19 14:33:24 +00:00
Adam Hathcock
95749234f5
Use proper polyfill for net48
2025-12-19 14:33:06 +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
Adam Hathcock
1f71ce1be2
Merge pull request #1080 from adamhathcock/copilot/refactor-write-to-directory-consistency
...
Standardize extraction API to WriteToDirectory with IProgress support
2025-12-19 14:15:43 +00:00
Adam Hathcock
cf13de6ac1
Merge pull request #1081 from adamhathcock/copilot/sub-pr-1076-again
...
Fix async LZMA extraction bug for 7Zip archives
2025-12-19 14:14:16 +00:00
Adam Hathcock
c2e01798f8
refactor archive extensions
2025-12-19 14:09:01 +00:00
copilot-swe-agent[bot]
8fc8295a89
Add TODO and explanation for SyncOnlyStream workaround
...
The SyncOnlyStream wrapper is necessary because the LZMA decoder has bugs in its async implementation that cause state corruption (IndexOutOfRangeException, DataErrorException) even with fresh, non-shared streams.
Without this wrapper, async operations on LZMA streams fail. The proper fix would be to repair the async bugs in LzmaStream.ReadAsync, Decoder.CodeAsync, and OutWindow async operations, but that requires deep changes to the decoder state machine.
Added detailed comments explaining this is a workaround and where the real fix should go.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 13:47:49 +00:00
copilot-swe-agent[bot]
d392991764
Remove CancellationToken from synchronous WriteToDirectory overload
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 13:40:22 +00:00
copilot-swe-agent[bot]
e57e87090f
Implement option 2: Avoid async LZMA state corruption for 7Zip extraction
...
- Each 7Zip file now gets a fresh decompression stream instead of reusing shared streams
- Added SyncOnlyStream wrapper to force async operations to use synchronous equivalents
- This avoids LZMA decoder state corruption bugs in async operations
- Performance trade-off: slower async extraction for 7Zip but correctness guaranteed
- Documented behavior and performance implications in FORMATS.md
All 14 ExtractAll tests now pass (both async and sync)
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 13:33:04 +00:00
copilot-swe-agent[bot]
c701bbbee3
Run CSharpier formatting and document check-format process
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 13:31:35 +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