Adam Hathcock
34309f17f4
fmt
2025-12-18 15:33:26 +00:00
Adam Hathcock
220ba67faa
add extract all test
2025-12-18 15:26:35 +00:00
copilot-swe-agent[bot]
7c0cef7dd8
Clean up unused using statements in ZstandardConstants.cs
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:32:48 +00:00
copilot-swe-agent[bot]
951ebb3fa2
Complete ZstdSharp integration: Add all Unsafe implementation files and remove ZstdSharp.Port dependency
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
drone1400
939c2497c8
Reformatted modified files with csharpier
2025-12-18 12:30:38 +00:00
drone1400
8995ba56b8
Add alternative option for writing TAR archives with USTAR header format
...
- TarWriterOptions now has a property that allows the user to select writing the TAR using the USTAR header format
- if unspecified, will default to the original modern GNU TAR header format
- default behavior is unchanged
2025-12-18 12:30:38 +00:00
HeroponRikIBestest
e941ab60ca
Csharpier
2025-12-18 12:30:38 +00:00
HeroponRikIBestest
48860f1349
Improve logic
2025-12-18 12:30:38 +00:00
HeroponRikIBestest
f1d8ae5a22
Add archive-level IsEncrypted flag
2025-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
63ecc8c842
Apply code review feedback: improve documentation structure and add explicit DirectoryEntry case
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
46d480c9a1
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-18 12:30:38 +00:00
Adam Hathcock
aa19f4da8b
update dependencies
2025-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
a08f95326c
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-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
8680e3b39e
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-12-18 12:30:38 +00:00
copilot-swe-agent[bot]
3a6d24b1d9
Add ZStandard frame and dictionary types
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 13:36:01 +00:00
copilot-swe-agent[bot]
b9b159be4c
Add ZStandard compression parameter types and enums
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 13:34:18 +00:00
copilot-swe-agent[bot]
40212083a5
Add core ZStandard infrastructure: UnsafeHelper, ThrowHelper, and Unsafe Methods
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 13:28:16 +00:00
copilot-swe-agent[bot]
d3428b066e
Fix XML documentation comments in buffer structs
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 13:14:52 +00:00
copilot-swe-agent[bot]
94c64b2a45
Add initial ZStandard infrastructure types for ZstdSharp integration
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 13:11:19 +00:00
Adam Hathcock
30e036f9ec
Mark for 0.42.0
2025-11-28 13:24:03 +00:00
copilot-swe-agent[bot]
6d73c5b295
Fix DivideByZeroException when using BZip2 with empty files
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 15:59:39 +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
copilot-swe-agent[bot]
a92aaa51d5
Remove ZipCompressionMethod.None from version 63 check
...
None (stored) compression only requires version 10/20, not version 63.
Version 63 is specifically for advanced compression methods like LZMA,
PPMd, BZip2, and ZStandard.
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-25 14:54:13 +00:00
Adam Hathcock
d41908adeb
fixes for clarity
2025-11-25 14:25:58 +00:00
Adam Hathcock
81ca15b567
Update src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-25 14:13:10 +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
15ca7c9807
Merge pull request #1025 from adamhathcock/copilot/fix-exception-disposing-rararchive
...
Fix ArgumentNullException when disposing RarArchive with damaged archives
2025-11-19 15:48:44 +00:00
copilot-swe-agent[bot]
31f81f38af
Fix null reference exception in UnpackV1.Unpack.Dispose()
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-19 15:16:18 +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
Adam Hathcock
db94b49941
fix mispellings
2025-11-19 09:55:43 +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
f2c54b1f8b
Merge branch 'master' of https://github.com/TwanVanDongen/sharpcompress
2025-11-14 15:43:51 +01:00
Twan van Dongen
d7d0bc6582
Missed formatting FilePart.
2025-11-14 15:43:47 +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
e3a25ecdc0
make formatting worse with csharpier
2025-11-14 03:54:26 +01:00
Morilli
783521928d
fix SharpCompressStream BufferSize setter and Seek as well
...
the BufferSize setter was completely broken and trashed the `_internalPosition` value on set, for `Seek` this is just an off-by-one fix allowing seeking to immediately past the last byte in the buffer
2025-11-14 03:37:08 +01:00
Morilli
9a876abd31
fix IStreamStack.StackSeek with buffering streams
2025-11-14 03:37:08 +01: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
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
7dd0da5fd7
Merge branch 'adam/async-lzma' into adam/async-xz
2025-11-01 10:28:27 +00:00
Adam Hathcock
f7b3525c4e
fix tests and fmt
2025-11-01 10:25:14 +00:00