Adam Hathcock
1eaf3e6294
format with csharpier
2025-12-08 11:00:29 +00:00
Adam Hathcock
fd453e946d
Update src/SharpCompress/IO/ProgressReportingStream.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-08 10:55:24 +00:00
Adam Hathcock
c294071015
Update src/SharpCompress/Archives/IArchiveEntryExtensions.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-08 10:55:06 +00:00
Adam Hathcock
c2f6055e33
format
2025-12-08 10:26:45 +00:00
copilot-swe-agent[bot]
3396f8fe00
Refactor to use ProgressReportingStream for progress tracking
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-05 11:55:29 +00:00
copilot-swe-agent[bot]
9291f58091
Merge master and add comprehensive tests for archive and reader progress
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-12-05 11:44:17 +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
HeroponRikIBestest
41c3cc1a18
Csharpier
2025-12-03 12:05:16 -05:00
HeroponRikIBestest
1b1df86a11
Improve logic
2025-12-02 10:02:49 -05:00
HeroponRikIBestest
99a6c4de88
Add archive-level IsEncrypted flag
2025-12-02 09:47:06 -05:00
copilot-swe-agent[bot]
14d432e22d
Pass progress as parameter to WriteTo/WriteToAsync instead of storing on archive
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-30 13:04:40 +00:00
copilot-swe-agent[bot]
0fdf9c74a8
Address code review: Replace dynamic with IArchiveProgressInfo interface
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-30 12:07:17 +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]
7af029b5de
Address code review: properly handle zero-sized entries in progress reporting
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 17:48:50 +00:00
copilot-swe-agent[bot]
8fc5ca5a71
Unify progress reporting: remove IExtractionListener and add IProgress support for reading
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 17:40:10 +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
Adam Hathcock
e44a43d2b1
Merge pull request #1054 from adamhathcock/copilot/fix-zipreader-directory-entry
...
Document ZipReader DirectoryEntry behavior and add verification test
2025-11-29 15:46:51 +00:00
copilot-swe-agent[bot]
c5da416764
Apply code review feedback: improve documentation structure and add explicit DirectoryEntry case
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 15:39:36 +00:00
copilot-swe-agent[bot]
f4dddcec8e
Changes before error encountered
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-29 14:06:03 +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
d34a47c148
update dependencies
2025-11-29 11:56:20 +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
Adam Hathcock
30e036f9ec
Mark for 0.42.0
2025-11-28 13:24:03 +00:00
copilot-swe-agent[bot]
0f374b27cf
Address code review: ProgressReportingStream now throws on writes
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 19:17:10 +00:00
copilot-swe-agent[bot]
0d487df61b
Add IProgress support for compression operations with tests
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-11-27 19:15:10 +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
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
fb76bd82f2
first commit of async reader
2025-11-26 08:09:20 +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