Timofey Solomko
|
e83f23effa
|
Update copyright year to 2021
|
2021-01-11 11:20:57 +02:00 |
|
Timofey Solomko
|
deab72a831
|
Merge branch 'hotfix-4.5.7' into develop
|
2020-10-16 15:57:08 +03:00 |
|
Timofey Solomko
|
a07fc290a0
|
Small fixes to code comments
|
2020-10-15 23:35:34 +03:00 |
|
Timofey Solomko
|
00af5a9319
|
[BZip2][GZip][LZMA][XZ][Zlib] Fix crashes when opening very small files
Instead errors are now thrown.
|
2020-10-15 23:35:34 +03:00 |
|
Timofey Solomko
|
a844b34436
|
Update copyright year to 2020
|
2020-03-20 09:43:42 +03:00 |
|
Timofey Solomko
|
f6949a8f66
|
Replace the usage of the deprecated Data(bytes:) initializer
|
2020-03-20 09:40:48 +03:00 |
|
Timofey Solomko
|
31ec1f1553
|
Update copyright year to 2020
|
2020-01-01 19:06:33 +03:00 |
|
Timofey Solomko
|
75b21ae107
|
Replace usage of ByteReader with LittleEndianByteReader
|
2019-05-01 19:34:30 +03:00 |
|
Timofey Solomko
|
db82490ed8
|
Replace the usage of the deprecated Data(bytes:) initializer
|
2019-05-01 19:30:48 +03:00 |
|
Timofey Solomko
|
c93a783d21
|
[docs] Fix grammar issues with regards to a/the/null articles, while/during, and extra commas
|
2019-03-13 12:27:08 +03:00 |
|
Timofey Solomko
|
e518961218
|
[LZMA] Add public LZMAProperties.init() which uses default values of lc, etc.
|
2019-03-13 12:17:18 +03:00 |
|
Timofey Solomko
|
5ebe98796f
|
[LZMA] Add default values for lc, lp, pb, and dictionarySize properties of LZMAProperties
|
2019-03-13 12:16:42 +03:00 |
|
Timofey Solomko
|
ce47019097
|
Update copyright year to 2019
|
2019-01-02 23:15:43 +03:00 |
|
Timofey Solomko
|
e92782cea0
|
[docs] Explain min value for LZMAProperties.dictionarySize
|
2018-09-11 21:57:52 +03:00 |
|
Timofey Solomko
|
925bd363ff
|
[docs] Add docs for LZMA-properties related APIs
|
2018-09-11 20:07:02 +03:00 |
|
Timofey Solomko
|
7f27fdaf7c
|
[LZMA] Slightly rewrite initializer for RangeDecoder
|
2018-09-06 20:07:09 +03:00 |
|
Timofey Solomko
|
f5d8d9e81e
|
[LZMA] Add LZMAProperties initializer which reads lzma encoded properties from bytereader
|
2018-08-28 11:36:34 +03:00 |
|
Timofey Solomko
|
9a79aa8e51
|
[LZMA][ZIP] Add public function with data as first argument and internal function with byteReader instead which also accept LZMA properties and uncompressed size as
arguments; replace old internal decompress function used by ZIP with a new, more general one
|
2018-08-28 11:35:56 +03:00 |
|
Timofey Solomko
|
4e6d3beea9
|
[LZMA] Replace LZMAProperties.updateProperties with init from lzma byte and dict size
|
2018-08-28 11:34:04 +03:00 |
|
Timofey Solomko
|
8737e6e2df
|
[LZMA] Remove LZMADecoder.setProperties
|
2018-08-28 11:34:04 +03:00 |
|
Timofey Solomko
|
658611e2f1
|
[LZMA] Initialize properties in decoder with property initialzier
|
2018-08-28 11:34:04 +03:00 |
|
Timofey Solomko
|
bcc703d1f6
|
[LZMA2] Move LZMAProperties.updateDictionarySize function into LZMA2Decoder initializer
|
2018-08-22 10:40:16 +03:00 |
|
Timofey Solomko
|
30f46e06db
|
[LZMA] Use LZMAProperties.updateProperties function in LZMA decoder
|
2018-08-22 10:40:16 +03:00 |
|
Timofey Solomko
|
f4d46b7545
|
[LZMA] Add function to LZMAProperties which updates dictionary size with byte encoded with LZMA2 encoding scheme
|
2018-08-22 10:40:16 +03:00 |
|
Timofey Solomko
|
af40531e7a
|
[LZMA] Extract setting properties part from init-with-lzma-byte of LZMAProperties as a separate function
|
2018-08-22 10:40:16 +03:00 |
|
Timofey Solomko
|
7ca677c3d5
|
[LZMA] Add several initializers to LZMAProperties
These include: init-with-zeros, init-with values, and init from a single byte using standard LZMA properties encoding scheme.
|
2018-08-22 10:40:11 +03:00 |
|
Timofey Solomko
|
b52a55d54d
|
[LZMA] Replace references to properties of LZMADecoder with references to LZMAProperties property of decoder
|
2018-08-22 10:38:53 +03:00 |
|
Timofey Solomko
|
56600d2178
|
[LZMA] Add LZMAProperties property to LZMADecoder
|
2018-08-22 10:38:53 +03:00 |
|
Timofey Solomko
|
e6d680e82b
|
[LZMA] Add observer to LZMAProperties.dictionarySize which keeps it max bounded
|
2018-08-22 10:38:53 +03:00 |
|
Timofey Solomko
|
726e067fe4
|
[LZMA] Add LZMAProperties struct with all properties (lc, lp, pb and dict size)
|
2018-08-22 10:38:53 +03:00 |
|
Timofey Solomko
|
ffb0324afe
|
[docs] Clarify in docs for LZMA.decompress about bytes at the beginning of data
|
2018-08-22 10:36:23 +03:00 |
|
Timofey Solomko
|
062109d947
|
[LZMA] Reset decoder state inside LZMADecoder.setProperties
This removes additional requirement to call resetStateAndDecoders after calling setProperties.
|
2018-08-13 20:30:24 +03:00 |
|
Timofey Solomko
|
d75ee1e1f2
|
[LZMA] Change type of lc, lp and pb properties to Int
|
2018-08-13 12:37:35 +03:00 |
|
Timofey Solomko
|
6cfdc0ab29
|
[LZMA] Rename LZMADecoder.dictionarySize to dictSize
|
2018-05-20 12:55:46 +03:00 |
|
Timofey Solomko
|
e467370de7
|
[LZMA] Remove second label from internal LZMA.decompress function and simplify uncompSize processing
|
2018-05-20 12:26:25 +03:00 |
|
Timofey Solomko
|
eaa100bc12
|
[LZMA] Make several internal classes final
|
2018-05-20 11:41:47 +03:00 |
|
Timofey Solomko
|
05852b179b
|
Use new int(fromBytes:) function
|
2018-04-10 22:37:16 +03:00 |
|
Timofey Solomko
|
4888f37f0f
|
Revert addition of BBD-related public APIs to Zlib, LZMA and BZip2
|
2018-03-02 23:32:39 +03:00 |
|
Timofey Solomko
|
b19382833b
|
[Zlib] Add public unarchive(from:) function which uses BBD's ByteReader as its argument
|
2018-02-23 12:58:37 +03:00 |
|
Timofey Solomko
|
ba037786b4
|
[LZMA] Add public decompress(from:) function which uses BBD's ByteReader as its argument
|
2018-02-23 12:58:24 +03:00 |
|
Timofey Solomko
|
e714dc308b
|
Updated copyright year to 2018
|
2018-01-03 19:44:18 +03:00 |
|
Timofey Solomko
|
e986561487
|
Replace Int() conversions with toInt() functions
|
2018-01-03 19:22:15 +03:00 |
|
Timofey Solomko
|
c8d92e56d3
|
Replace BitReader and ByteReader with BitByteData's implementations
|
2018-01-03 19:22:15 +03:00 |
|
Timofey Solomko
|
20ab480737
|
Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
|
2018-01-03 19:22:14 +03:00 |
|
Timofey Solomko
|
3751e25c4f
|
Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
|
2018-01-03 19:22:13 +03:00 |
|
Timofey Solomko
|
e05f917210
|
Improve compile time
|
2017-12-24 14:57:35 +03:00 |
|
Timofey Solomko
|
545e5c69fc
|
Remove some redundancy from documentation
|
2017-11-14 21:35:30 +03:00 |
|
Timofey Solomko
|
f181bd6e3d
|
Remove throws keyword from LZMA decoders inits
|
2017-11-11 13:10:35 +03:00 |
|
Timofey Solomko
|
feb41deed1
|
Return Data instead of UInt8 arrays in internal decompress functions
|
2017-11-11 12:54:31 +03:00 |
|
Timofey Solomko
|
acb3d4d231
|
Simplify Zip's LZMA code by utilizing main LZMA decompress function
|
2017-11-11 12:48:08 +03:00 |
|