copilot-swe-agent[bot]
ca52cec0b3
Dynamic RingBuffer for BZip2: expand buffer after format detection
...
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/2d1412f8-34f8-4a32-8802-e52770342940
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com >
2026-03-31 09:01:21 +00:00
Adam Hathcock
f34ed8bd94
first commit for conslidating publci api
2026-03-06 11:22:09 +00:00
Adam Hathcock
04dd177f19
first pass of removing extraction options (folded into reader options)
2026-02-09 16:52:54 +00:00
Adam Hathcock
def0bce221
remove mono dep as it's annoying
2026-01-25 15:12:17 +00:00
Adam Hathcock
7b76858ae1
refactoring naming again
2026-01-15 11:41:30 +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
Adam Hathcock
bca0f67344
make test linux only
2025-10-28 12:18:05 +00:00
Adam Hathcock
084fe72b02
Consolidate not null
2025-10-22 09:17:13 +01:00
Mitch Capper
553c533ada
ZStandard tar support
2025-09-23 03:26:33 -07:00
Adam Hathcock
5bf3d6dc32
update csharpier
2025-01-14 09:07:40 +00:00
blokyk
dbbc7c8132
fix(tar): prevent infinite loop when reading corrupted archive
2024-04-24 03:13:13 +02:00
Adam Hathcock
fb55624f5f
add more null handling
2024-04-18 14:25:10 +01:00
Twan van Dongen
02301ecf6d
Support added for TAR LZW compression (Unix 'compress' resulting in .Z files)
2024-03-24 16:23:25 +01:00
Adam Hathcock
4afc7ae2e4
use complete namespace
2024-03-14 13:07:40 +00:00
Adam Hathcock
5f13e245f0
more clean up on tests
2024-03-14 08:53:08 +00:00
Adam Hathcock
2715ae645d
use var
2024-03-14 08:38:12 +00:00
Adam Hathcock
0299232cb5
just using rider to clean up
2024-03-14 08:37:17 +00:00
Adam Hathcock
ea3a96eead
update and rerun csharpier
2023-12-18 09:04:04 +00:00
Lars Vahlenberg
18c7f58093
Handle tar files generated with tar -H oldgnu that has large uid/gid values
2023-12-04 22:35:11 +01:00
Adam Hathcock
7080c2abd0
Update csharpier and fix formatting
2023-11-15 11:05:30 +00:00
Lars Vahlenberg
b7d2715ffd
Remove whitespace
2023-03-29 19:39:03 +02:00
Lars Vahlenberg
0fb63eea99
Check for broken file
2023-03-28 23:07:21 +02:00
Adam Hathcock
b01e97b168
more clean up
2022-12-20 15:20:49 +00:00
Adam Hathcock
959bbdcf1b
big clean up
2022-12-20 15:06:44 +00:00
Adam Hathcock
970e31a1b1
cleanup and run csharpier
2022-12-20 13:45:47 +00:00
Adam Hathcock
d6ac9a0363
Fix build
2022-12-20 13:09:16 +00:00
Adam Hathcock
ce5432ed73
Fix tests for multi-targetting
2021-10-02 15:25:43 +01:00
Adam Hathcock
5357bd07c7
Let dotnet format do it’s thing
2021-01-09 13:33:34 +00:00
Jason Nelson
fc1d0a0464
Run tests against net461
2020-07-31 09:27:32 -07:00
Mark Final
70bafa653b
Tar symlink extraction
...
Extended SharpCompress.Common.ExtractionOptions with a delegate to write symbolic links. If not is null, and a symbolic link is encountered, an exception is thrown.
Removed Mono.Posix.NETStandard from the library, but added to the .NET Core 2.1 test application.
Extended the test to implement the delegate.
2018-11-03 09:45:12 +00:00
Mark Final
d91e58f2cc
Refs #248 . Refs #132 . Added a test case of a tar containing symlinks
...
This is a source archive of the MoltenVK project from github, which is my use-case for SharpCompress.
I added a test case in the project, which should extract the tar, and validate any symlink targets with what the tar thinks it ought to be.
2018-11-01 21:51:14 +00:00
Knut Ørland
53ad00cdc4
Use soft tabs
2018-10-04 13:13:14 +02:00
Knut Ørland
6dd5da48f7
Added test that calls EntryStream.Flush()
2018-10-04 13:08:53 +02:00
Matt Kotsenas
6ae715b153
Move the TestStream and ForwardOnlyStream to Mocks folder
...
Move the `TestStream` and `ForwardOnlyStream` to Mocks/ to separate them
from the test classes.
2018-07-10 12:07:32 -07:00
Matt Kotsenas
7b338511cc
Create unique scratch path per test
...
Tests fail in Visual Studio because they try to reuse the same scratch
working space, and each test is responsible for resetting the space. To
simplify the test code:
1. Make `TestBase` `IDisposable` and have it create the scratch space
2. Remove `ResetScratch()` as it is now handled by the base class
3. Add a unique ID to each scrach space folder to prevent collisions
2018-07-10 11:46:44 -07:00
Adam Hathcock
cff49aacba
Added explicit tar skip check. Caught skip issue.
2017-06-01 11:25:32 +01:00
Adam Hathcock
b45bc859a4
XZ Format ( #247 )
...
* Started integrated XZ format from https://github.com/sambott/XZ.NET
* Add readme line as it was copy/pasted
* Tar used with XZ
* update formats
2017-05-31 16:55:26 +01:00
Adam Hathcock
a361d41e68
Fix test namespaces
2017-05-30 15:14:02 +01:00
Adam Hathcock
3197ef289c
Forgot to hit save
2017-05-19 10:15:19 +01:00
Adam Hathcock
ee64670755
Move test folder to be tests
2017-05-19 09:19:37 +01:00