Martin Demberger
35336a0827
Suppress nested NonDisposingStream
2022-06-19 22:05:52 +02:00
louis-michel
0f112d0685
BCJ executable filter (only for decoding), used by XZ.
2022-06-10 13:29:42 -04:00
Craig
e424094fdf
7z encrypted filename exception with no password matches rar behaviour.
2022-05-04 01:35:58 +01:00
Craig
910aa1c22e
Corrected the Crc exception as it was within a #DEBUG define
2022-04-27 14:12:00 +01:00
Craig
71c8f3129f
RarStream Position fix, it was returning the file size. 7Zip CrcCheckStream always failed. Added a Solid Rar entry CRC test.
2022-04-27 13:16:05 +01:00
Adam Hathcock
6950eebf9f
Dependency updates and start of enforcing some C# standards
2022-04-21 08:54:59 +01:00
Jeff Tyson
1561bba538
Add net462 target to clean up issues with system.* nuget dependencies
2021-09-29 21:55:11 +00:00
Adam Hathcock
e2095fc416
Merge branch 'master' into patch-1
2021-09-27 09:08:58 +01:00
Amos Onn
8398d40106
Fix #615
2021-09-14 22:02:18 +02:00
Bond_009
cd677440ce
Use stackallocs where possible/sensible
2021-02-12 20:20:15 +01:00
Adam Hathcock
52c44befa2
Merge pull request #560 from adamhathcock/gzip-fixes
...
Expose Last Modified time on GZipStream. Add CRC and Size to GZipEntries on Archive
2021-01-11 08:57:19 +00:00
Adam Hathcock
57e4395e7d
Merge branch 'master' into net5
...
# Conflicts:
# build/Program.cs
# src/SharpCompress/Common/Zip/ZipFilePart.cs
2021-01-09 13:40:09 +00:00
Adam Hathcock
ee17dca9e5
Fix formatting
2021-01-09 13:36:30 +00:00
Adam Hathcock
e9f3add5b9
Merge branch 'master' into gzip-fixes
2021-01-09 13:35:52 +00:00
Adam Hathcock
5357bd07c7
Let dotnet format do it’s thing
2021-01-09 13:33:34 +00:00
Adam Hathcock
1adcce6c62
Expose Last Modified time on GZipStream
2021-01-09 12:53:13 +00:00
Adam Hathcock
147be6e6e1
Use Net5, NetCoreApp3.1, NetStandard2.1, NetStandard2.0 only
2021-01-09 10:34:49 +00:00
Jason Nelson
477a30cf5b
Use hardware accelerated Alder32 impl
2020-11-18 11:21:29 -08:00
Jason Nelson
087a6aad8c
Cross target .NETCOREAPP3.1 and react to new nullablity annotations
2020-11-18 09:43:08 -08:00
Jason Nelson
e47e1d220a
Format AesDecoderStream
2020-11-18 09:25:38 -08:00
Jason Nelson
0129a933df
Remove NETSTANDARD1_3 symbol
2020-11-18 09:23:50 -08:00
Jason Nelson
fa241bb0d7
Inline variable declarations
2020-11-18 09:21:45 -08:00
Jason Nelson
d8804ae108
Improve conditional logic to prepare to add .NETCOREAPP target
2020-11-18 09:19:21 -08:00
Jason Nelson
8090d269e7
Add polyfills for string.EndWith(char) && string.Contains(char)
2020-11-18 09:16:53 -08:00
avao
0268713960
UT and Fix for: Index out of range exception from gzip #532
2020-10-13 19:58:11 +01:00
Jason Nelson
33ffcb9308
Use Array.Empty<byte>
2020-07-31 17:00:46 -07:00
Jason Nelson
a649c25a91
Eliminate two allocations in HuffmanTree
2020-07-31 16:58:21 -07:00
Jason Nelson
fa1e773960
Eliminate two allocations in Crc32
2020-07-31 16:55:07 -07:00
Jason Nelson
d4ccf73340
Embed FAST_ENCODER_TREE_STRUCTURE_DATA
2020-07-31 16:47:05 -07:00
Jason Nelson
5ddb0f96bc
Use switch expressions
2020-07-31 16:37:56 -07:00
Jason Nelson
75a6db8f4c
Eliminate three allocations in HbMakeCodeLengths
2020-07-31 16:33:00 -07:00
Jason Nelson
ae5635319b
Eliminate header bytes allocation
2020-07-31 16:30:26 -07:00
Jason Nelson
98ed3080d0
Eliminate three allocations
2020-07-31 16:30:09 -07:00
Jason Nelson
3b11e6ef97
Eliminate two allocations
2020-07-31 16:10:59 -07:00
Jason Nelson
40af9359db
Pollyfill and use Stream.Read(Span<byte> buffer)
2020-07-31 16:08:38 -07:00
Jason Nelson
6973436b94
Add and use Stream.Write(ReadOnlySpan<byte> buffer) polyfill
2020-07-30 17:29:33 -07:00
Jason Nelson
773158e9d8
Seal LZipStream
2020-07-30 16:57:30 -07:00
Jason Nelson
5b6a1c97e3
Enable nullable
2020-05-23 16:27:55 -07:00
Adam Hathcock
632bae725d
Add braces for clarity
2020-05-14 13:47:21 +01:00
Berkan Diler
4cad40f637
Minor string optimizations
2020-04-10 12:33:40 +02:00
Berkan Diler
2c64380019
Use 3 argument Array.Copy when possible
2020-04-10 12:06:38 +02:00
Berkan Diler
ccb9593de2
Replace Span<T>.Fill(0) with Span<T>.Clear()
2020-04-10 12:03:32 +02:00
Berkan Diler
921a99fc32
Replace static readonly byte[] fields with static ReadOnlySpan<byte> properties
2020-04-10 11:54:58 +02:00
Adam Hathcock
400d2c1774
Fix usings and add braces for better merging
2020-04-03 08:47:30 +01:00
Bond_009
1ed675e960
Minor improvement
2019-12-30 19:19:05 +01:00
Bond_009
80b0671844
Reduce the amount of allocations
...
* Directly fill an array instead of filling a List and copying that to
an array
* Use own buffer when writing bytes to a stream
* Remove DataConverter class, replaced by BinaryPrimitives
2019-12-30 18:58:25 +01:00
Bond-009
6f387336c0
Use functions from System.Memory instead of selfmade ones ( #495 )
...
* Use functions from System.Memory instead of selfmade ones
* Update SharpCompress.Test.csproj
2019-12-30 15:19:46 +00:00
Adam Hathcock
9540b01bcc
NET Standard 1.3 and 2.0 only ( #482 )
...
* Remove NET35, NET45 and NET Standard 1.0
* Update README and memset
* Remove NETCORE build flag
* NET 46 too?
* Update packages and usage
2019-10-10 09:24:41 +01:00
Julien Lebosquain
540618c062
Implemented ReadByte/WriteByte on streams to improve performance
2018-05-27 16:31:44 +02:00
Adam Hathcock
c64282e915
more naming
2018-05-06 09:07:06 +01:00