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
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
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
Adam Hathcock
aca97c2c6c
add rarcrc tests
2025-10-28 16:48:05 +00:00
Adam Hathcock
8e7d959cf4
add async creations
2025-10-28 16:07:16 +00:00
Adam Hathcock
bca0f67344
make test linux only
2025-10-28 12:18:05 +00:00
Adam Hathcock
f51840829c
Merge branch 'master' into async-reader-methods
2025-10-28 11:39:35 +00:00
Adam Hathcock
aa1c0d0870
Merge pull request #988 from adamhathcock/copilot/fix-file-write-error
...
Fix extraction failure on Windows due to case-sensitive path comparison
2025-10-28 11:39:17 +00:00
Adam Hathcock
b799f479c4
Merge branch 'master' into copilot/add-support-empty-directories
2025-10-28 11:35:56 +00:00
copilot-swe-agent[bot]
b4352fefa5
Fix code formatting per CSharpier standards
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 11:32:39 +00:00
Adam Hathcock
77d06fb60e
Merge branch 'master' into copilot/fix-file-write-error
2025-10-28 11:32:05 +00:00
Adam Hathcock
153d10a35c
add async to forward only streams
2025-10-28 11:30:12 +00:00
Adam Hathcock
06713c641e
async deflate 64
2025-10-28 11:26:31 +00:00
copilot-swe-agent[bot]
210978ec2d
Format code with CSharpier
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 11:13:51 +00:00
Adam Hathcock
42f7d43139
enable zip64 tests that pass
2025-10-28 11:07:53 +00:00
Adam Hathcock
19967f5ad7
allow forward only write
2025-10-28 11:01:27 +00:00
Adam Hathcock
a1de3eb47d
add async tests and clean up deflate64stream
2025-10-28 11:01:12 +00:00
copilot-swe-agent[bot]
a93a3f0598
Address code review feedback - fix formatting
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:26:31 +00:00
copilot-swe-agent[bot]
084f81fc8d
Format code with CSharpier
2025-10-28 10:23:57 +00:00
copilot-swe-agent[bot]
d148f36e87
Add support for empty directory entries in archives
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:22:58 +00:00
copilot-swe-agent[bot]
e11198616e
Address code review feedback: use RuntimeInformation for platform detection
...
- Replace Environment.OSVersion.Platform with RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
- Clarify test comment about platform-specific behavior
- Add using System.Runtime.InteropServices for RuntimeInformation
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:20:05 +00:00
copilot-swe-agent[bot]
5392ca9794
Fix case-sensitive path comparison on Windows for file extraction
...
- Add PathComparison property that uses OrdinalIgnoreCase on Windows and Ordinal on Unix
- Update all path comparison checks in ExtractionMethods to use PathComparison
- Add comprehensive tests for extraction with case-insensitive paths
- Ensure security check for path traversal still works correctly
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:16:07 +00:00
copilot-swe-agent[bot]
46672eb583
Update exceptions to inherit from SharpCompressException
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-28 10:15:40 +00:00
Adam Hathcock
79653eee80
Merge remote-tracking branch 'origin/master' into async-reader-methods
2025-10-28 10:11:11 +00:00
Adam Hathcock
c68d8deddd
add async tests
2025-10-27 12:34:24 +00:00
Adam Hathcock
9ebbc718c5
Merge branch 'master' into copilot/fix-gzip-extract-not-supported-exception
2025-10-27 12:11:32 +00:00
copilot-swe-agent[bot]
f8697120a0
Add support for CompressionType.None for uncompressed 7z files
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 11:11:38 +00:00
copilot-swe-agent[bot]
4067b6ed2c
Fix GZip extraction for non-seekable streams
...
- Modified GZipFilePart to only access stream.Position when stream.CanSeek is true
- Modified GZipArchiveEntry.OpenEntryStream to check CanSeek before accessing Position
- Added test case GZip_Archive_NonSeekableStream to verify non-seekable stream support
- All existing tests pass
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 11:08:38 +00:00
Adam Hathcock
ab03c12fa8
add more tests
2025-10-27 10:52:03 +00:00
Adam Hathcock
16182417fb
add tar specific tests
2025-10-27 10:46:08 +00:00
Adam Hathcock
f21b982955
adds more async tests and overloads to make things writable and async
2025-10-27 10:31:10 +00:00
Adam Hathcock
c696197b03
formatting
2025-10-27 10:19:24 +00:00
Adam Hathcock
738a72228b
added fixes and more async tests
2025-10-27 10:15:06 +00:00
Adam Hathcock
fdca728fdc
add some dispose async
2025-10-27 09:47:15 +00:00
Adam Hathcock
f8cc4ade8a
format
2025-10-27 09:37:00 +00:00
copilot-swe-agent[bot]
b3975b7bbd
Add async tests for EntryStream and compression streams
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 09:28:34 +00:00
copilot-swe-agent[bot]
43aa2bad22
Integrate async/await support from PR #976 as baseline
...
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2025-10-27 09:00:38 +00:00
Adam Hathcock
4531fe39e6
Merge branch 'master' into adam/rework-deps
2025-10-22 10:48:16 +01:00
Adam Hathcock
8d276a85bc
rework dependencies to be correct for frameworks and update
2025-10-22 10:47:43 +01:00
Adam Hathcock
408f07e3c4
Merge branch 'master' into adam/reduce-custom-utilities
2025-10-22 10:38:01 +01:00
Adam Hathcock
d1a540c90c
use windows instead of skippable fact
2025-10-22 10:32:47 +01:00
Adam Hathcock
00df8e930e
add windows only compile constant
2025-10-22 10:30:40 +01:00
Adam Hathcock
e8867de049
Merge branch 'master' into dependabot/nuget/AwesomeAssertions-9.2.1
2025-10-22 10:21:59 +01:00
Adam Hathcock
a1dfa3dfa3
xplat tests for path characters
2025-10-22 10:21:22 +01:00
Adam Hathcock
249b8a9cdd
add AI generated tests
2025-10-22 09:28:07 +01:00
Adam Hathcock
084fe72b02
Consolidate not null
2025-10-22 09:17:13 +01:00