Adam Hathcock
472765b5e3
fix up overloads and usages
2026-04-27 17:17:31 +01:00
Adam Hathcock
aae3502a8b
intermediate commit
2026-04-27 16:43:06 +01:00
Adam Hathcock
ac8203e957
add sync tests
2026-04-26 11:30:56 +01:00
Adam Hathcock
4fc08534c2
add detection test
2026-04-26 11:18:27 +01:00
copilot-swe-agent[bot]
6c59326628
Add ArchiveInformation record and GetArchiveInformation API for consolidated archive detection
...
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/324eaee6-e733-4193-b619-6eb75b435ec2
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-04-25 08:47:12 +00:00
Adam Hathcock
41432ab062
human fix
2026-04-23 11:43:10 +01:00
Adam Hathcock
c9a68593ea
add writable checks
2026-04-23 11:19:09 +01:00
Adam Hathcock
5d14c96fb0
clean up seekable checks
2026-04-23 10:19:37 +01:00
Adam Hathcock
2bae46e28a
add extension methods for checks
2026-04-23 10:11:54 +01:00
Adam Hathcock
3ed94dd462
add seekable checks
2026-04-23 09:56:26 +01:00
copilot-swe-agent[bot]
5d75f8c36d
Fix ForExternalStream→ForFilePath for file-path overloads and update SymbolicLinkHandler remarks
...
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/41bf7d12-f140-47cf-96f9-3620eeb0eb32
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-04-21 13:11:31 +00:00
Adam Hathcock
6a402a3b50
use with methods
2026-04-21 11:04:14 +01:00
Adam Hathcock
1f699f3552
manual clean up
2026-04-21 10:59:01 +01:00
Adam Hathcock
4f1f32b508
Fix usages of ReaderOptions
2026-04-21 10:55:59 +01:00
Adam Hathcock
ad3c5dafd7
update tests
2026-04-19 12:11:50 +01:00
Adam Hathcock
b36689af20
format
2026-04-19 11:48:54 +01:00
Adam Hathcock
e29670e55f
Merge branch 'master' into adam/pooledmemorystream
2026-04-19 11:43:24 +01:00
Adam Hathcock
51acd43b16
Merge branch 'release' into adam/master-release
2026-04-19 11:25:39 +01:00
Copilot
20932b81b5
Fix SevenZipArchive.IsSolidAsync() always returning false ( #1284 )
...
* Initial plan
* Fix IsSolidAsync() returning false for 7z solid archives
SevenZipArchive was missing an override for IsSolidAsync(), so the
base class default (always returning false) was used. Added an override
that uses the same logic as the sync IsSolid property: load entries
asynchronously and check if any folder has more than one file.
Also updated existing async tests to use IsSolidAsync() instead of
casting to SevenZipArchive to call the sync IsSolid, and added a new
SevenZipArchive_TestSolidDetectionAsync test that mirrors the existing
sync SevenZipArchive_TestSolidDetection test.
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/60f8daec-e784-4845-a65c-5a493fbb53ef
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-04-13 16:59:23 +01:00
Adam Hathcock
2487d8995c
Merge remote-tracking branch 'origin/adam/pooledmemorystream' into adam/pooledmemorystream
...
# Conflicts:
# src/SharpCompress/IO/PooledMemoryStream.cs
2026-04-05 15:26:18 +01:00
Adam Hathcock
d1e6173b50
remove contiguous buffer tracking and added overrenting array pool test
2026-04-05 15:25:33 +01:00
Adam Hathcock
e7cacdd7ee
don't resize ring buffer
2026-04-05 15:19:44 +01:00
Adam Hathcock
fb78598516
implement GetBuffer with non-pooled array creation
2026-04-05 15:16:00 +01:00
Adam Hathcock
4f09c6dc00
Update tests/SharpCompress.Test/Streams/PooledMemoryStreamTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-05 14:57:04 +01:00
Adam Hathcock
c25fec313e
fix PooledMemoryStream.cs
2026-04-05 14:39:15 +01:00
Adam Hathcock
c01dd5cd90
Update tests/SharpCompress.Test/Streams/PooledMemoryStreamTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-05 14:16:47 +01:00
Adam Hathcock
2bf007542a
cleaned up PooledMemoryStream.cs
2026-04-04 11:10:43 +01:00
Adam Hathcock
b326b719bc
Merge branch 'release' into adam/master-release
...
# Conflicts:
# src/SharpCompress/packages.lock.json
2026-04-04 10:50:12 +01:00
Adam Hathcock
817bd2a95e
First pass of implementation
2026-04-04 10:44:23 +01:00
Adam Hathcock
5758b08236
Merge pull request #1272 from adamhathcock/copilot/fix-decompression-bomb-and-crash-bugs
...
Fix fuzzer-found decompression bomb and crash bugs
2026-04-03 13:05:55 +01:00
copilot-swe-agent[bot]
669fbed62b
Dynamic ring buffer sizing for BZip2 and ZStandard on non-seekable streams
...
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/b115976a-5d8a-412e-a462-72b4531f2d0a
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-04-02 10:56:50 +00:00
copilot-swe-agent[bot]
58bec11b2c
Fix decompression bomb and crash bugs (fuzzer-found)
...
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/84b02876-db79-41ed-875b-f1c7dbe5d8e2
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-04-02 09:49:27 +00:00
Adam Hathcock
fefeed0601
Merge pull request #1267 from adamhathcock/release
...
Release to master
2026-03-28 09:53:45 +00:00
Adam Hathcock
a3a7098ed2
Fix MalformedInputTests.cs so that it's not running in legacy
2026-03-23 11:54:17 +00:00
copilot-swe-agent[bot]
243bf00308
Address code review: fix HbCreateDecodeTables off-by-one, rename test helper
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/3037a2f7-f243-4261-802f-e8c83b4d6722
2026-03-23 10:03:14 +00:00
copilot-swe-agent[bot]
f038652d3b
Fix multiple decompressor crashes on malformed input (IOOB, DivByZero, NullRef)
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/3037a2f7-f243-4261-802f-e8c83b4d6722
2026-03-23 09:55:55 +00:00
Daniel Sabel
642371f87e
fixes .net 4.8 build for WinzipAesCryptoStream tests
2026-03-16 08:04:06 +01:00
Adam Hathcock
63e83dff5d
Update tests/SharpCompress.Test/Zip/ZipFilePartTests.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-11 11:53:10 +00:00
Daniel Sabel
5fc0d691cf
fixes xor range on async WinzipAesCryptoStream path
2026-03-11 08:57:47 +01:00
Daniel Sabel
03aef9e4c1
update test to reflect smaller test zip
2026-03-09 14:04:17 +01:00
Daniel Sabel
51859f9a2b
fixes decompression of large mixed encrypted zip files
2026-03-09 14:02:31 +01:00
Adam Hathcock
15d6d3c641
Merge remote-tracking branch 'origin/master' into adam/api-clean-up
2026-03-06 15:12:56 +00:00
Adam Hathcock
04d1a10114
don't use static scratch directory for tests. Throw exception when test can't clean up
2026-03-06 14:58:04 +00:00
Adam Hathcock
9050a7a64a
remove extra creates
2026-03-06 11:43:44 +00:00
Adam Hathcock
f34ed8bd94
first commit for conslidating publci api
2026-03-06 11:22:09 +00:00
Adam Hathcock
7c0e3d584a
Update test dependencies
2026-03-03 17:01:21 +00:00
Adam Hathcock
1d07f4e1ca
Merge pull request #1237 from adamhathcock/copilot/fix-zip-extraction-error
...
Fix DataErrorException when extracting LZMA-compressed zero-byte ZIP entries
2026-03-03 16:21:11 +00:00
Adam Hathcock
0910f20c90
renamed to ReaderOptions.ForFilePath
2026-03-03 12:40:58 +00:00
Adam Hathcock
ba1cd66336
First pass of moving extraction options back
2026-03-02 07:00:33 +00:00
copilot-swe-agent[bot]
75d2b70f20
Fix DataErrorException when extracting 0-size LZMA ZIP entries
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-02-27 22:06:18 +00:00