Adam Hathcock
19ed4d16db
add fixes and benchmarks for system providers
2026-02-10 16:15:31 +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
04dd177f19
first pass of removing extraction options (folded into reader options)
2026-02-09 16:52:54 +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
cc6e410be8
some options
2026-02-06 15:16:45 +00:00
Adam Hathcock
57c0d00b37
rename Rewindable to SharpCompressStream
2026-02-04 14:12:04 +00:00
Adam Hathcock
ae4ae799b9
merge NonDisposingStream into RewindableStream
2026-02-04 12:40:39 +00:00
Adam Hathcock
037b6842bf
remove SharpCompressStream
2026-01-31 15:29:34 +00:00
Adam Hathcock
e2cb9f39ab
fix up rewindable stream and use it more, add NonDisposingStream
2026-01-29 09:08:40 +00:00
Adam Hathcock
5152e3197e
fix build flags
2026-01-22 15:12:18 +00:00
Adam Hathcock
8df9232171
use extension where appropriate with more fixes
2026-01-21 16:57:25 +00:00
Adam Hathcock
0a9c5bfe15
format changes
2026-01-20 13:40:51 +00:00
Adam Hathcock
2175cb299d
tar fixes
2026-01-20 12:22:38 +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
cc59c1960a
fix ace tests
2026-01-16 10:49:18 +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
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
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
3747a27109
Task to ValueTask
2026-01-08 12:35:12 +00:00
Adam Hathcock
b501bac54a
better names for new interfaces
2026-01-08 12:02:26 +00:00
Adam Hathcock
7aec98d652
read async interface for reader
2026-01-08 11:28:15 +00:00
Adam Hathcock
fbce3e77ba
Merge branch 'master' into adam/async
...
# Conflicts:
# src/SharpCompress/Utility.cs
2026-01-07 12:11:19 +00:00
Twan van Dongen
3ebf97dd49
MultiVolume not supported, tests provided by split archive.
2026-01-03 19:09:43 +01:00
Adam Hathcock
7c3c94ed7f
Add ArcReaderAsync tests
2025-11-25 14:44:03 +00:00
Twan van Dongen
2321e2c90b
Added buffer boundaty tests. Changed largefile to Alice29.txt as it's sufficient for the tests.
2025-11-22 12:32:25 +01:00
Twan van Dongen
7dd46fe5ed
More buffer boundary tests
2025-11-20 19:43:07 +01:00
Twan
7ab16457c7
Added ARJ's compressmion method4 (compressed fastest).
...
Refactored TestBase to support archives with mixed compression algorithms.Merge branch 'adamhathcock:master' into master
2025-10-31 16:14:48 +01:00
Adam Hathcock
c68d8deddd
add async tests
2025-10-27 12:34:24 +00:00
Adam Hathcock
ab03c12fa8
add more tests
2025-10-27 10:52:03 +00:00
Nanook
76de7d54c7
Rewind buffer fix for directory extract.
2025-08-01 21:47:09 +01:00
Nanook
21f14cd3f2
Added IStreamStack for debugging and configurable buffer management. Added SharpCompressStream to consolodate streams to help simplify debugging. All unit tests passing.
2025-07-20 17:35:22 +01:00
Adam Hathcock
23dd041e2e
fix some tests
2024-04-23 08:52:10 +01:00
Adam Hathcock
5f13e245f0
more clean up on tests
2024-03-14 08:53:08 +00:00
Adam Hathcock
0299232cb5
just using rider to clean up
2024-03-14 08:37:17 +00:00
Lars Vahlenberg
46d4b26eba
Fix testing under Linux
2024-01-05 00:35:24 +01:00
Lars Vahlenberg
6c157def4b
set empty string if password not set
2024-01-04 21:16:07 +01:00
Adam Hathcock
7da10795a1
csharpier
2022-12-20 15:14:22 +00:00
Adam Hathcock
959bbdcf1b
big clean up
2022-12-20 15:06:44 +00:00
Adam Hathcock
970e31a1b1
cleanup and run csharpier
2022-12-20 13:45:47 +00:00
Adam Hathcock
d6ac9a0363
Fix build
2022-12-20 13:09:16 +00:00
Martin Demberger
35336a0827
Suppress nested NonDisposingStream
2022-06-19 22:05:52 +02:00
Matt Kotsenas
138038b08f
Move RarReaderTests over to user ReaderFactory
...
- Refactor `RarReaderTests` to use `ReaderFactory`
- Update `ReaderTests.Read` to support Rar tests
2018-07-12 10:32:08 -07:00
Matt Kotsenas
e9a6fed607
FIXUP decouple UseReader from VerifyFiles
2018-07-11 16:53:34 -07:00
Matt Kotsenas
87a1440382
Decouple UseReader from VerifyFiles
2018-07-11 16:49:49 -07:00
Matt Kotsenas
44dc36af48
Update ReaderTests base class to validate Dispose
...
Update the `ReaderTests` base class to validate that `Dispose` is
called appropriately in both the close and the leave open cases.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
c6cf0d40ee
Simplify ReaderTests
...
The `IEnumerable<string>` version of `ReaderTests` is unused, so delete
it to simplify the code.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
6ae715b153
Move the TestStream and ForwardOnlyStream to Mocks folder
...
Move the `TestStream` and `ForwardOnlyStream` to Mocks/ to separate them
from the test classes.
2018-07-10 12:07:32 -07:00
Matt Kotsenas
7b338511cc
Create unique scratch path per test
...
Tests fail in Visual Studio because they try to reuse the same scratch
working space, and each test is responsible for resetting the space. To
simplify the test code:
1. Make `TestBase` `IDisposable` and have it create the scratch space
2. Remove `ResetScratch()` as it is now handled by the base class
3. Add a unique ID to each scrach space folder to prevent collisions
2018-07-10 11:46:44 -07:00