Adam Hathcock
1522e64797
fix async tests
2026-01-22 15:15:57 +00:00
Adam Hathcock
5152e3197e
fix build flags
2026-01-22 15:12:18 +00:00
copilot-swe-agent[bot]
9628f2dda1
Add async tests for EntryStream.Dispose on non-seekable streams
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-22 14:35:16 +00:00
copilot-swe-agent[bot]
7cbdc5b46c
Format code with CSharpier
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-22 13:21:36 +00:00
copilot-swe-agent[bot]
8b74243e79
Update test comments to include version context
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-22 13:07:32 +00:00
copilot-swe-agent[bot]
f77a2aabab
Fix EntryStream.Dispose() to not throw NotSupportedException on non-seekable streams
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-22 13:04:58 +00:00
Adam Hathcock
7b7eba8cd9
more fixes
2026-01-21 16:11:40 +00:00
Adam Hathcock
08118f7286
add more async writing
2026-01-18 15:07:02 +00:00
Adam Hathcock
408d2e6663
Async add entry
2026-01-18 14:57:01 +00:00
Adam Hathcock
447d35267f
some fixes
2026-01-16 13:19:41 +00:00
Adam Hathcock
cd70a7760e
remvoe AutoFactory
2026-01-16 11:44:12 +00:00
copilot-swe-agent[bot]
0de5c59a77
Restore AsyncOnlyStream in archive async tests as requested
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-16 09:50:36 +00:00
copilot-swe-agent[bot]
e919930cf6
Fix Archive async tests to not use AsyncOnlyStream (archives need seekable streams)
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-16 09:23:32 +00:00
copilot-swe-agent[bot]
2906529080
Fix ReaderFactory.OpenAsyncReader to use async IsArchiveAsync methods
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-16 09:12:54 +00:00
Adam Hathcock
ec310c87de
merge fixes and fmt
2026-01-15 15:20:52 +00:00
Adam Hathcock
c55a383112
Merge remote-tracking branch 'origin/master' into adam/async-again
...
# Conflicts:
# tests/SharpCompress.Test/GZip/GZipReaderAsyncTests.cs
# tests/SharpCompress.Test/Rar/RarArchiveAsyncTests.cs
# tests/SharpCompress.Test/SevenZip/SevenZipArchiveAsyncTests.cs
# tests/SharpCompress.Test/Tar/TarArchiveAsyncTests.cs
# tests/SharpCompress.Test/Tar/TarReaderAsyncTests.cs
# tests/SharpCompress.Test/Zip/Zip64AsyncTests.cs
# tests/SharpCompress.Test/Zip/ZipMemoryArchiveWithCrcAsyncTests.cs
2026-01-15 15:18:05 +00:00
Adam Hathcock
7fbd751d27
change tests to work
2026-01-15 13:00:05 +00:00
Adam Hathcock
85b28dfe68
more refactoring
2026-01-15 12:20:35 +00:00
Adam Hathcock
779fba5deb
finish the open refactor?
2026-01-15 12:06:54 +00:00
Adam Hathcock
7b76858ae1
refactoring naming again
2026-01-15 11:41:30 +00:00
Adam Hathcock
c1d240b516
Fix more tests
2026-01-14 14:06:39 +00:00
Adam Hathcock
cdca909d84
fmt
2026-01-13 13:58:31 +00:00
Adam Hathcock
9cf2b3129c
fixed up async writer
2026-01-13 13:54:15 +00:00
Adam Hathcock
0502ff545e
test fixes and fmt
2026-01-12 15:01:29 +00:00
Adam Hathcock
fce4a96718
make Writable interfaces for archive
2026-01-12 14:57:13 +00:00
Adam Hathcock
38203fb950
Fix async reader variable types - Remove double await on ReaderFactory.OpenAsync and use IAsyncReader
...
- Removed 'await' keyword before ReaderFactory.OpenAsync() calls since the method returns IAsyncReader directly (not Task)
- Changed ZipReader.Open() to ReaderFactory.OpenAsync() in Zip64AsyncTests.ReadForwardOnlyAsync()
- Changed TarReader.Open() to ReaderFactory.OpenAsync() in TarReaderAsyncTests.Tar_BZip2_Entry_Stream_Async()
- Fixed EntryStream disposal from 'await using' to 'using' since EntryStream doesn't implement IAsyncDisposable
- These changes fix compilation errors where async methods were being called on IReader (synchronous) instead of IAsyncReader (asynchronous)
2026-01-12 14:14:46 +00:00
copilot-swe-agent[bot]
921cff00a5
Fix async test method naming: rename Sync to Async
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-12 12:08:09 +00:00
Adam Hathcock
17cd934b5b
use async methods where we can
2026-01-08 16:24:11 +00:00
Adam Hathcock
bdcc1d32c2
fix scratch dir creation
2026-01-08 14:01:35 +00:00
Adam Hathcock
4f0a2e3c95
disable zip64 tests
2026-01-08 12:55:16 +00:00
Adam Hathcock
3747a27109
Task to ValueTask
2026-01-08 12:35:12 +00:00
Adam Hathcock
7aec98d652
read async interface for reader
2026-01-08 11:28:15 +00:00
Adam Hathcock
8e42296c3a
switch Task to ValueTask
2026-01-08 10:22:53 +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
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]
0e59bf39f4
Add test for IArchive.WriteToDirectoryAsync
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 12:04:47 +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
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
04c044cb2b
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:55 +00:00
Adam Hathcock
cc10a12fbc
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:27 +00:00
Adam Hathcock
8b0a1c699f
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:17 +00:00
copilot-swe-agent[bot]
0fe48c647e
Enhance fix to handle LZMA/PPMd/BZip2/ZStandard compression methods
...
Also fixes pre-existing version mismatch for advanced compression methods that require version 63. Added tests for LZMA and PPMd to verify version consistency.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 11:29:43 +00:00
copilot-swe-agent[bot]
434ce05416
Fix Zip64 version mismatch between LFH and CDFH
...
When UseZip64=true but files are small, ensure Central Directory File Header uses version 45 to match Local File Header. This fixes validation failures in System.IO.Packaging and other strict readers.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 11:14:06 +00:00
Adam Hathcock
aca97c2c6c
add rarcrc tests
2025-10-28 16:48:05 +00:00
Adam Hathcock
f51840829c
Merge branch 'master' into async-reader-methods
2025-10-28 11:39:35 +00:00
Adam Hathcock
06713c641e
async deflate 64
2025-10-28 11:26:31 +00:00
Adam Hathcock
42f7d43139
enable zip64 tests that pass
2025-10-28 11:07:53 +00:00