Adam Hathcock
43276b32b7
better sync over async
2026-02-04 13:25:05 +00:00
Adam Hathcock
def0bce221
remove mono dep as it's annoying
2026-01-25 15:12:17 +00:00
Adam Hathcock
c5814502f6
clean up and fixing tests....need to revisit disposal
2026-01-22 16:24:07 +00:00
Adam Hathcock
5152e3197e
fix build flags
2026-01-22 15:12:18 +00:00
Adam Hathcock
0a9c5bfe15
format changes
2026-01-20 13:40:51 +00:00
Adam Hathcock
b26d38b7e4
another tar test fix
2026-01-20 12:34:49 +00:00
Adam Hathcock
2175cb299d
tar fixes
2026-01-20 12:22:38 +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
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
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]
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
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
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
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
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]
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
Adam Hathcock
17cd934b5b
use async methods where we can
2026-01-08 16:24:11 +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
copilot-swe-agent[bot]
7b06652bff
Add validation to prevent memory exhaustion in TAR long name headers
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 11:20:59 +00:00
Adam Hathcock
f7b3525c4e
fix tests and fmt
2025-11-01 10:25:14 +00:00
Adam Hathcock
bca0f67344
make test linux only
2025-10-28 12:18:05 +00:00
copilot-swe-agent[bot]
084f81fc8d
Format code with CSharpier
2025-10-28 10:23:57 +00:00
copilot-swe-agent[bot]
d148f36e87
Add support for empty directory entries in archives
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:22:58 +00:00
Adam Hathcock
ab03c12fa8
add more tests
2025-10-27 10:52:03 +00:00
Adam Hathcock
16182417fb
add tar specific tests
2025-10-27 10:46:08 +00:00
Adam Hathcock
084fe72b02
Consolidate not null
2025-10-22 09:17:13 +01:00
Mitch Capper
553c533ada
ZStandard tar support
2025-09-23 03:26:33 -07: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
e7417e35ba
Update dependencies and csharpier
2025-04-28 16:18:01 +01:00
Adam Hathcock
5bf3d6dc32
update csharpier
2025-01-14 09:07:40 +00:00
Lars Vahlenberg
6b88f82656
Handle special case, empty file
2024-07-11 19:52:33 +02:00
Lars Vahlenberg
e42d953f47
Check crc on tar header
2024-07-10 19:53:32 +02:00
blokyk
dbbc7c8132
fix(tar): prevent infinite loop when reading corrupted archive
2024-04-24 03:13:13 +02:00
Adam Hathcock
fb55624f5f
add more null handling
2024-04-18 14:25:10 +01:00
Twan van Dongen
02301ecf6d
Support added for TAR LZW compression (Unix 'compress' resulting in .Z files)
2024-03-24 16:23:25 +01:00
Adam Hathcock
4afc7ae2e4
use complete namespace
2024-03-14 13:07:40 +00:00