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
copilot-swe-agent[bot]
5392ca9794
Fix case-sensitive path comparison on Windows for file extraction
...
- Add PathComparison property that uses OrdinalIgnoreCase on Windows and Ordinal on Unix
- Update all path comparison checks in ExtractionMethods to use PathComparison
- Add comprehensive tests for extraction with case-insensitive paths
- Ensure security check for path traversal still works correctly
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:16:07 +00:00
Adam Hathcock
79653eee80
Merge remote-tracking branch 'origin/master' into async-reader-methods
2025-10-28 10:11:11 +00:00
Adam Hathcock
e287d0811d
minor clean up
2025-10-28 09:58:01 +00:00
Adam Hathcock
9ebbc718c5
Merge branch 'master' into copilot/fix-gzip-extract-not-supported-exception
2025-10-27 12:11:32 +00:00
copilot-swe-agent[bot]
f8697120a0
Add support for CompressionType.None for uncompressed 7z files
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 11:11:38 +00:00
copilot-swe-agent[bot]
1a767105e6
Add explanatory comment for EntryStartPosition initialization
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 11:09:52 +00:00
copilot-swe-agent[bot]
4067b6ed2c
Fix GZip extraction for non-seekable streams
...
- Modified GZipFilePart to only access stream.Position when stream.CanSeek is true
- Modified GZipArchiveEntry.OpenEntryStream to check CanSeek before accessing Position
- Added test case GZip_Archive_NonSeekableStream to verify non-seekable stream support
- All existing tests pass
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 11:08:38 +00:00
Adam Hathcock
c696197b03
formatting
2025-10-27 10:19:24 +00:00
Adam Hathcock
738a72228b
added fixes and more async tests
2025-10-27 10:15:06 +00:00
Adam Hathcock
f8cc4ade8a
format
2025-10-27 09:37:00 +00:00
copilot-swe-agent[bot]
beeb37b4fd
Add async support to EntryStream, ZlibStream, and ZlibBaseStream
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 09:11:29 +00:00
copilot-swe-agent[bot]
43aa2bad22
Integrate async/await support from PR #976 as baseline
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 09:00:38 +00:00
Twan van Dongen
6d652a12ee
And again forgot to apply CSharpierAdds bounds checks to prevent exceptions when extra fields are truncated or non-standard (e.g., 0x4341 "AC"/ARC0). Stops parsing gracefully, allowing other fields to be processed.
2025-10-24 17:18:37 +02:00
Adam Hathcock
c789ead590
Merge branch 'master' into bugfix/StreamBufferFix
2025-08-22 14:05:35 +01:00
Morilli
9f306966db
Adjust logic in CreateDecompressionStream to not wrap the returned stream
...
a ReadOnlySubStream never disposes its passes in stream which is problematic when that stream needs to be disposed. It's hard to tell who exactly has ownership over which stream here, but I'll just assume that whatever stream is passed in here should be disposed.
2025-08-21 20:08:57 +02:00
Nanook
3abbb89c2e
Comment typo edit.
2025-08-01 21:50:36 +01:00
Nanook
76de7d54c7
Rewind buffer fix for directory extract.
2025-08-01 21:47:09 +01:00
Nanook
c5de3d8cc1
Zip ZStandard Writing with tests. Level support.
2025-07-24 00:23:55 +01:00
Adam Hathcock
893890c985
Merge branch 'master' into feature/StreamStack
2025-07-23 08:46:16 +01:00
Morilli
015dfa41b1
implement Attrib for ZipEntrys
2025-07-22 20:12:22 +02:00
Adam Hathcock
236e653176
Merge branch 'master' into feature/StreamStack
2025-07-22 11:55:57 +01:00
Nanook
587675e488
Fixed some missing features caused by merging an earlier branch than required.
2025-07-21 23:45:57 +01:00
Nanook
5fe9516c09
Various copilot suggestions. Tests still passing.
2025-07-20 19:16:11 +01:00