Adam Hathcock
2e301becb4
fmt
2025-11-27 15:50:25 +00:00
Adam Hathcock
2e7d4eb74b
first pass of making Rar multi-threaded
2025-11-27 15:49:29 +00:00
Adam Hathcock
5b2030bb98
add SupportsMultiThreading and IsMultiVolume to archive
2025-11-27 15:07:13 +00:00
Adam Hathcock
c1169539ea
add multi-threading test with fix
2025-11-27 12:22:49 +00:00
Adam Hathcock
8d2463f575
More test fixes and fmt
2025-11-27 12:14:35 +00:00
Adam Hathcock
af7e270b2d
added SupportsMultiThreading flag for File based Zips
2025-11-27 12:11:10 +00:00
Adam Hathcock
9433e06b93
Merge pull request #1023 from adamhathcock/copilot/fix-zip64-validation-issue
...
Fix version mismatch between Local File Header and Central Directory File Header in Zip archives
2025-11-25 15:30:48 +00:00
Adam Hathcock
b81d0fd730
Merge pull request #1009 from adamhathcock/dependabot/nuget/AwesomeAssertions-9.3.0
...
Bump AwesomeAssertions from 9.2.1 to 9.3.0
2025-11-25 11:55:41 +00:00
Adam Hathcock
5bf789ac65
Update csharpier and reformat
2025-11-25 11:50:21 +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
Adam Hathcock
97e98d8629
Merge pull request #1028 from TwanVanDongen/master
...
Buffer boundary tests
2025-11-21 08:35:54 +00:00
Twan van Dongen
d96e7362d2
Buffer boundary test for ARC's Squeezed method
2025-11-20 21:56:07 +01:00
Twan van Dongen
7dd46fe5ed
More buffer boundary tests
2025-11-20 19:43:07 +01:00
Adam Hathcock
04c044cb2b
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:55 +00:00
Adam Hathcock
cc10a12fbc
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:27 +00:00
Adam Hathcock
8b0a1c699f
Update tests/SharpCompress.Test/Zip/Zip64VersionConsistencyTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 15:49:17 +00:00
copilot-swe-agent[bot]
0fe48c647e
Enhance fix to handle LZMA/PPMd/BZip2/ZStandard compression methods
...
Also fixes pre-existing version mismatch for advanced compression methods that require version 63. Added tests for LZMA and PPMd to verify version consistency.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 11:29:43 +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
copilot-swe-agent[bot]
434ce05416
Fix Zip64 version mismatch between LFH and CDFH
...
When UseZip64=true but files are small, ensure Central Directory File Header uses version 45 to match Local File Header. This fixes validation failures in System.IO.Packaging and other strict readers.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 11:14:06 +00:00
Adam Hathcock
b8264a8131
Merge pull request #1004 from adamhathcock/adam/async-xz
...
Async XZ
2025-11-19 10:53:24 +00:00
Adam Hathcock
cad923018e
Merge remote-tracking branch 'origin/master' into adam/async-xz
2025-11-19 09:56:01 +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
dd9dc2500b
Merge branch 'adamhathcock:master' into master
2025-11-14 15:40:36 +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
Morilli
97f58b412e
Add test for StackSeek behavior
2025-11-14 03:37:08 +01:00
dependabot[bot]
4c61628078
Bump AwesomeAssertions from 9.2.1 to 9.3.0
...
---
updated-dependencies:
- dependency-name: AwesomeAssertions
dependency-version: 9.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-10 11:57:30 +00:00
Twan van Dongen
a9017d7c25
ArjReader throws exception for password protected archives.
2025-11-06 09:32:12 +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 van Dongen
84cd772f50
Refactors the SqueezeStream class to ensure full CLS compliance and proper stream behavior. It replaces the previous one-shot decoding logic with a true streaming implementation by piping Huffman-decoded output into the existing RunLength90Stream, enabling real-time decompression.
2025-11-02 19:09:59 +01:00
Adam Hathcock
a771ba3bc0
async tests
2025-11-01 10:35:07 +00:00
Adam Hathcock
f7b3525c4e
fix tests and fmt
2025-11-01 10:25:14 +00:00
Adam Hathcock
de83bdae48
Merge remote-tracking branch 'origin/master' into adam/async-lzma
2025-11-01 10:21:25 +00:00
Adam Hathcock
2d41de6b72
add async tests
2025-11-01 09:57:26 +00:00
Twan van Dongen
0c199609eb
CSharpier...Merge branch 'master' of https://github.com/TwanVanDongen/sharpcompress
2025-10-31 16:17:23 +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
e7ad8132b5
Merge branch 'adamhathcock:master' into master
2025-10-31 14:33:14 +01:00
Adam Hathcock
55cb350d2c
remove needless variable
2025-10-31 11:44:32 +00:00
Adam Hathcock
c53ca372f2
don't use pools in tests
2025-10-31 11:39:57 +00:00
Adam Hathcock
75bc8501f4
Merge pull request #997 from adamhathcock/copilot/fix-ziparchive-linux-issue
...
Fix ArchiveFactory.Open double-wrapping causing "Cannot determine compressed stream type" on Linux
2025-10-31 11:24:59 +00:00
Adam Hathcock
ccc8587e5f
review fixes
2025-10-31 10:55:33 +00:00
Adam Hathcock
a136084e11
add adc async
2025-10-30 14:52:51 +00:00
Adam Hathcock
bc06f3179d
add basics for async bzip2
2025-10-30 14:42:46 +00:00
Adam Hathcock
ee84d971b2
Merge remote-tracking branch 'origin/master' into copilot/fix-ziparchive-linux-issue
...
# Conflicts:
# src/SharpCompress/packages.lock.json
2025-10-30 14:30:31 +00:00
Twan
264d80ef4c
Merge branch 'master' into master
2025-10-30 07:53:09 +01:00
copilot-swe-agent[bot]
88b3a66bf9
Fix Windows test failures in SharpCompressStreamTests
...
ArrayPool.Rent() can return buffers larger than requested. The tests were using test.Length (the actual buffer size) instead of the requested size (0x1000), causing failures on Windows where ArrayPool returns larger buffers than on Linux.
Fixed by:
- Using explicit size (0x1000) instead of test.Length in Read() calls
- Using test.Take(0x1000) instead of test when comparing arrays
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-29 13:40:44 +00:00
copilot-swe-agent[bot]
db98e5f39b
Fix ArchiveFactory.Open to avoid double-wrapping SharpCompressStream
...
Use SharpCompressStream.Create instead of constructor to properly handle
streams that are already wrapped. This prevents potential buffering issues
when opening ZIP files, particularly on Linux systems.
Added tests to verify both raw FileStream and pre-wrapped stream scenarios.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-29 13:34:53 +00:00
Adam Hathcock
75ada5623c
add async tests for compress stream
2025-10-29 13:23:50 +00:00
Adam Hathcock
a0c5b1cd9d
add archive tests
2025-10-29 09:08:08 +00:00
Adam Hathcock
bb53d1e1c6
entrystream fixes and fmt
2025-10-29 08:41:05 +00:00