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
4c4b727bd7
Tar detection works
2026-01-17 13:39:57 +00:00
Adam Hathcock
8e54b10b7f
tar tests are better?
2026-01-16 15:10:08 +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
Adam Hathcock
ec7c359341
Arj works
2026-01-16 11:12:26 +00:00
Adam Hathcock
cc59c1960a
fix ace tests
2026-01-16 10:49:18 +00:00
Adam Hathcock
d5f9815561
Merge pull request #1136 from adamhathcock/adam/upgrade-xunit
...
Upgrade xunit to v3
2026-01-16 10:08:23 +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]
2012077fb0
Remove redundant _stream field from AsyncOnlyStream and use base Stream property
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-16 09:34:29 +00:00
copilot-swe-agent[bot]
c7da19f3a5
Format code with CSharpier
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-16 09:26:04 +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
63e124e72f
Upgrade xunit to v3
2026-01-16 08:58:26 +00:00
Adam Hathcock
f4ce4cbad8
fix tests for both frameworks
2026-01-16 08:43:13 +00:00
Adam Hathcock
491beabe03
uncomment tests
2026-01-16 08:35:49 +00:00
Adam Hathcock
5c06b8c48f
enable single test
2026-01-15 16:41:58 +00:00
Adam Hathcock
63736efcac
Merge remote-tracking branch 'origin/master' into adam/async-creation
...
# Conflicts:
# tests/SharpCompress.Test/SevenZip/SevenZipArchiveAsyncTests.cs
2026-01-15 16:21:30 +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
2d597e6e43
be more lazy with loading of sync stuff
2026-01-15 15:09:23 +00:00
Adam Hathcock
a410f73bf3
archive asyncs are more right
2026-01-15 14:52:10 +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
2756b1f6f8
more refactor
2026-01-15 11:55:56 +00:00
Adam Hathcock
7b76858ae1
refactoring naming again
2026-01-15 11:41:30 +00:00
Adam Hathcock
84b5b5a717
add more tests
2026-01-14 14:33:20 +00:00
Adam Hathcock
ebfa16f09f
more test fixes
2026-01-14 14:12:53 +00:00
Adam Hathcock
c1d240b516
Fix more tests
2026-01-14 14:06:39 +00:00
Adam Hathcock
c32f4b4f2a
fix test reference
2026-01-14 08:33:49 +00:00
Adam Hathcock
ca4cf25a1f
clean up lazy readonly collections and add tests
2026-01-13 16:39:55 +00:00
Adam Hathcock
4fa976b478
remove unused ref
2026-01-13 15:29:02 +00:00
Adam Hathcock
767f3a4985
fix up extensions to more like polyfills
2026-01-13 15:26:45 +00:00
Adam Hathcock
a1a86cdde8
fmt
2026-01-13 14:29:10 +00:00
Adam Hathcock
fc85f1fa2c
more tar async fixes
2026-01-13 14:28:45 +00:00
Adam Hathcock
0b8081f320
gzip fixes
2026-01-13 14:24:36 +00:00
Adam Hathcock
0b5371d986
more async fixing
2026-01-13 14:06:14 +00:00
Adam Hathcock
cdca909d84
fmt
2026-01-13 13:58:31 +00:00
Adam Hathcock
1c0183ef11
force async tests
2026-01-13 13:56:56 +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
Adam Hathcock
c1f8580d89
Remove unnecessary ValueTask wrappers from async factory methods
...
Change return types from ValueTask<T> to direct interface types (IAsyncArchive, IAsyncReader, IWriter) for wrapper methods that don't perform async work. This eliminates unnecessary async state machine allocations while maintaining the same public API behavior.
Changes:
- Interface definitions: Updated IArchiveFactory, IMultiArchiveFactory, IReaderFactory, IWriterFactory
- Concrete factories: Updated archive factories (Zip, Tar, Rar, GZip, SevenZip) and reader-only factories (Ace, Arc, Arj)
- Static factory methods: Updated ReaderFactory, ArchiveFactory, WriterFactory to use new signatures
- Archive classes: Updated static OpenAsync methods in ZipArchive, TarArchive, RarArchive, SevenZipArchive, GZipArchive
- Supporting changes: Updated Factory.cs and async polyfills
Performance benefit: Reduced GC pressure by eliminating unnecessary state machine overhead for non-async wrapper methods.
2026-01-12 13:16:44 +00:00
Adam Hathcock
c5a6f900df
Merge branch 'adam/async' into adam/async-interface
2026-01-12 13:02:51 +00:00
Adam Hathcock
d2f328af01
Merge pull request #1126 from adamhathcock/copilot/sub-pr-1121-another-one
...
Fix typo in TestBase.cs comment
2026-01-12 12:10:11 +00:00
Adam Hathcock
c3ffcf4fe8
Merge pull request #1125 from adamhathcock/copilot/sub-pr-1121-again
...
[WIP] Update ZipReader and ZipWriter based on review feedback
2026-01-12 12:09:42 +00:00
copilot-swe-agent[bot]
95c409d979
Change File.Create to File.OpenWrite in TarReaderAsyncTests for consistency
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-12 12:09:12 +00:00