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
59c1f02f98
Still difficult to run CSharpier...
2025-11-02 19:23:30 +01:00
Twan van Dongen
3a71a2b1f8
Ran CSharpier.
2025-11-02 19:22:01 +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
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
f391c3caf3
make an async code
2025-11-01 09:42:17 +00: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
7fa271a1b4
fix ILLink
2025-10-31 11:43:35 +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
1e22b47fe1
some fixes
2025-10-31 11:23:30 +00:00
Adam Hathcock
74e2dca207
fmt
2025-10-31 11:15:42 +00:00
Adam Hathcock
a669de24b7
Merge remote-tracking branch 'origin/master' into adam/async-lzma
2025-10-31 11:13:17 +00:00
Adam Hathcock
e1e9c449e9
use proper async versions
2025-10-31 11:12:46 +00:00
Adam Hathcock
60e1dc0239
review fixes
2025-10-31 11:10:55 +00:00
Adam Hathcock
ccc8587e5f
review fixes
2025-10-31 10:55:33 +00:00
Adam Hathcock
53c96193c1
format
2025-10-30 16:40:59 +00:00
Adam Hathcock
d4f11e00b1
some more async changes
2025-10-30 16:31:45 +00:00
Adam Hathcock
321233b82c
some async implementations
2025-10-30 15:08:57 +00:00
Adam Hathcock
eb188051d4
fmt
2025-10-30 14:53:11 +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
Adam Hathcock
ca4a1936b3
Merge remote-tracking branch 'origin/adam/async-rar-ai' into adam/async-rar-ai
2025-10-29 14:11:02 +00:00
Adam Hathcock
ab7196f86c
some review fixes
2025-10-29 14:07:12 +00: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]
ea77666b4a
Final verification: All tests pass, no security issues
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-29 13:38:38 +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
copilot-swe-agent[bot]
df59c5cb9d
Plan: Fix potential ZipArchive.IsZipFile failure on Linux
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-29 13:26:00 +00:00
Adam Hathcock
75ada5623c
add async tests for compress stream
2025-10-29 13:23:50 +00:00
Adam Hathcock
65e607454e
add async for UnpWriteBufAsync and remove comments
2025-10-29 13:07:43 +00:00
Adam Hathcock
f238be6003
add arraypool usage in init
2025-10-29 10:35:03 +00:00
Adam Hathcock
dc31e4c5fa
fmt
2025-10-29 10:27:30 +00:00
Adam Hathcock
665d8cd266
ran out of tokens, things work but need one more conversion
2025-10-29 10:23:57 +00:00
Adam Hathcock
8324114e84
remove unused code
2025-10-29 10:11:34 +00:00
Adam Hathcock
b83e6ee4ce
fix async usage
2025-10-29 09:55:11 +00:00
Adam Hathcock
58bab0d310
async unpack2.0
2025-10-29 09:53:14 +00:00
Adam Hathcock
1af51aaaba
async unpack1.5
2025-10-29 09:50:12 +00:00
Adam Hathcock
a09327b831
unpack50async
2025-10-29 09:46:10 +00:00
Adam Hathcock
16543bf74c
async UnpReadBufAsync
2025-10-29 09:38:55 +00:00
Adam Hathcock
aa4cd373ac
added more async methods
2025-10-29 09:28:34 +00:00
Adam Hathcock
351e294362
convert unpack15 and unpack20
2025-10-29 09:23:42 +00:00
Adam Hathcock
df2ed1e584
fix RarStream
2025-10-29 09:00:23 +00:00
Adam Hathcock
b354f7a3a5
fix logic mistake
2025-10-29 08:47:18 +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
8e7d959cf4
add async creations
2025-10-28 16:07:16 +00:00
Adam Hathcock
b23f031db9
add async reads
2025-10-28 15:52:18 +00:00