Adam Hathcock
ef0b9d525c
merge conflicts
2026-01-08 15:37:55 +00:00
Adam Hathcock
01e6e04a78
Merge branch 'master' into adam/async
...
# Conflicts:
# src/SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs
# src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs
2026-01-08 15:36:41 +00:00
Adam Hathcock
b6cc95af73
Merge pull request #1122 from adamhathcock/adam/netstandard-20-readd
...
Readd netstandard 2.0
2026-01-08 14:03:30 +00:00
Adam Hathcock
ec83cf588f
Readd netstandard 2.0
2026-01-08 13:33:36 +00:00
Adam Hathcock
3747a27109
Task to ValueTask
2026-01-08 12:35:12 +00:00
Adam Hathcock
8e42296c3a
switch Task to ValueTask
2026-01-08 10:22:53 +00:00
Adam Hathcock
b9792ca491
fix async zip decompression
2026-01-07 14:54:32 +00:00
Adam Hathcock
c3fd42057a
Pass more Zip tests
2026-01-07 14:47:20 +00:00
Adam Hathcock
fbce3e77ba
Merge branch 'master' into adam/async
...
# Conflicts:
# src/SharpCompress/Utility.cs
2026-01-07 12:11:19 +00:00
Adam Hathcock
66e9de2685
fixed comment
2026-01-07 11:26:42 +00:00
Adam Hathcock
321520408b
fmt
2026-01-07 11:12:02 +00:00
Adam Hathcock
68451bd75f
Use explicit enum, add comments
2026-01-07 11:10:15 +00:00
Adam Hathcock
486fdf118b
move to own files and refactor UTF8 usage
2026-01-07 10:39:18 +00:00
Adam Hathcock
bd3cda0617
Some restoring of functionality
2026-01-07 10:32:02 +00:00
Adam Hathcock
725503d1ce
Change ArchiveEncoding to interface. Simplify class. Question what to do about Forced and complex access
2026-01-07 08:44:12 +00:00
Adam Hathcock
e4d8582a2a
7zip streams always want to be disposed
2026-01-06 12:42:48 +00:00
Twan van Dongen
7a49eb9e93
Archives containing encrypted content throws exception.
2026-01-04 19:10:57 +01:00
Twan van Dongen
feece3d788
Missed some CSharpier edits
2026-01-03 18:08:01 +01:00
Twan van Dongen
909d36c237
more subtle check of magic bytes for ARJ archives
2026-01-03 17:59:17 +01:00
Twan van Dongen
e1c8aa226d
Add ACE archive support (read-only, stored entries)
2026-01-03 17:18:00 +01:00
copilot-swe-agent[bot]
1a71c01fd4
Consolidate ReadExact and ReadFully methods into Utility.cs
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-01-03 15:58:27 +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
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
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
1607d2768e
Merge branch 'master' into adam/async-binary-reader
2025-12-30 11:13:14 +00:00
Adam Hathcock
87c38d6dab
fix ordering and token passing
2025-12-23 09:22:38 +00:00
copilot-swe-agent[bot]
aaa97e2ce2
Merge master branch - add ZStandard compression support and TarHeaderWriteFormat
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-19 11:36:44 +00:00
copilot-swe-agent[bot]
85f3b17c42
Merge remote-tracking branch 'origin/master' into copilot/add-progress-reporting
2025-12-05 11:33:39 +00:00
copilot-swe-agent[bot]
e2df7894f9
Remove IArchiveExtractionListener and add IProgress support to Archive Entry extraction
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-30 12:00:54 +00:00
copilot-swe-agent[bot]
aa0356de9f
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 15:55:21 +00:00
copilot-swe-agent[bot]
5aa216bd21
Remove netstandard2.0 and net481 targets, keep net48, net8.0, net10.0
...
- Updated target frameworks to net48;net8.0;net10.0 only
- Removed netstandard2.0 and net481 package conditions
- Updated conditional compilation to use NETFRAMEWORK only
- Updated package description and README
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 11:42:05 +00:00
copilot-swe-agent[bot]
131bd2b7b8
Drop .NET 6 support and add .NET 10 support
...
- Updated SharpCompress.csproj target frameworks from net48;net481;netstandard2.0;net6.0;net8.0 to net48;net481;netstandard2.0;net8.0;net10.0
- Updated test and build projects to use .NET 10
- Updated global.json to .NET 10 SDK
- Updated CI workflow to use .NET 10
- Fixed deprecated Rfc2898DeriveBytes constructor for .NET 10 (SYSLIB0060)
- Updated package description and README to reflect new supported frameworks
- Updated package versions for .NET 10 compatibility
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 11:03:48 +00:00
copilot-swe-agent[bot]
c082d4203b
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 16:58:32 +00:00
Adam Hathcock
fb76bd82f2
first commit of async reader
2025-11-26 08:09:20 +00:00
Adam Hathcock
a0435f6a60
Merge pull request #1030 from TwanVanDongen/master
...
Added buffer boundary tests.
2025-11-23 15:53:36 +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
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
Twan van Dongen
e0186eadc0
Add buffer boundary tests for streaming decompression. Methods 1,2,3 still need fixing full streaming; exception now thrown to prevent corrupt output
2025-11-18 08:14:34 +01:00
Twan van Dongen
d7d0bc6582
Missed formatting FilePart.
2025-11-14 15:43:47 +01:00
Twan van Dongen
4efb109da8
Arj's methods CompressedMost (1), Compressed (2) and CompressedFaster (3) implemented.
2025-11-14 15:39:58 +01:00
Twan van Dongen
997d3910d4
CSharpier appliedArjReader thrown exception for multi-part archives. Method4 (decodefastest) refactored to support Stream.
2025-11-05 08:05:30 +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
Twan
264d80ef4c
Merge branch 'master' into master
2025-10-30 07:53:09 +01:00
Adam Hathcock
ab7196f86c
some review fixes
2025-10-29 14:07:12 +00:00
Adam Hathcock
bb53d1e1c6
entrystream fixes and fmt
2025-10-29 08:41:05 +00:00
Twan van Dongen
2aabd8d0e1
Initial implementation of the ARJ (Archived by Robert Jung) format, supporting 'store' for single file archives. Multi-file archives and all compression algorithms still require implementations.
2025-10-28 20:38:29 +01:00
Adam Hathcock
f51840829c
Merge branch 'master' into async-reader-methods
2025-10-28 11:39:35 +00:00
copilot-swe-agent[bot]
e11198616e
Address code review feedback: use RuntimeInformation for platform detection
...
- Replace Environment.OSVersion.Platform with RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
- Clarify test comment about platform-specific behavior
- Add using System.Runtime.InteropServices for RuntimeInformation
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:20:05 +00:00