Timofey Solomko
b8b5e8efd5
Combine features tables in readme
2018-08-29 10:06:27 +03:00
Timofey Solomko
d685b4f531
[LZMA2] Internal decompress function now returns Data instead of byte array
2018-08-28 11:41:38 +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
dab30e9279
[LZMA2] Add private function which updates properties of LZMA decoder
2018-08-28 11:34:04 +03:00
Timofey Solomko
e36e0bf4d8
[7-Zip] Use new LZMA decompress function instead of LZMADecoder directly
2018-08-28 11:34:04 +03:00
Timofey Solomko
ba9569a895
[XZ] Simplify filter application
2018-08-22 10:40:16 +03:00
Timofey Solomko
4713ad5ed8
[LZMA2] Use LZMA2.decompress with dict size byte argument function instead of using LZMA2Decoder directly in "clients"
2018-08-22 10:40:16 +03:00
Timofey Solomko
bcc703d1f6
[LZMA2] Move LZMAProperties.updateDictionarySize function into LZMA2Decoder initializer
2018-08-22 10:40:16 +03:00
Timofey Solomko
e11f4d4896
[LZMA2] Merge LZMA2Decoder initializer and its setDictionarySize function
2018-08-22 10:40:16 +03:00
Timofey Solomko
bceb10db9f
[LZMA2] Use LZMAProperties.updateDictionarySize function in LZMA2 decoder
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
ea080e13ea
[XZ] Check size of LZMA2 filter properties and throw error if they are wrong
2018-08-15 19:20:45 +03:00
Timofey Solomko
0581c32bd5
[docs] Clarify in docs for LZMA2.decompress that the first byte is a dictionary size
2018-08-15 18:53:40 +03:00
Timofey Solomko
19a4880bf4
README updates: refer to version 4.4 in install instructions, add reference to star man, shorter license link, etc.
2018-08-15 16:53:50 +03:00
Timofey Solomko
0f65983f49
[docs] Small typo fix in docs for TarEntryInfo.ownerUserName
2018-08-15 16:52:51 +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
f35c33c4d0
[Tests] More testing for zip data descriptor
2018-08-13 12:20:03 +03:00
Timofey Solomko
c9115f367b
[ZIP] Replace stored local header and cd entry in ZipEntryInfo with separate actually required properties
2018-08-13 11:38:42 +03:00
Timofey Solomko
ffd47c3528
[ZIP] Set ZipEntryInfo.crc properly depending on the presence of data descriptor
2018-08-13 11:37:44 +03:00
Timofey Solomko
e9bc3c3e9e
[swcomp] Print crc32 in zip-info command
2018-08-12 21:02:55 +03:00
Timofey Solomko
65fdc944bf
[ZIP] Remove useless code comments
2018-08-12 20:59:57 +03:00
Timofey Solomko
f0308c1ed8
[ZIP] Add public crc32 property to EntryInfo
2018-08-12 20:59:08 +03:00
Timofey Solomko
1264a194c2
[docs] Refer to "standard" extra fields as "built-in"
2018-08-12 20:52:44 +03:00
Timofey Solomko
05054ba26d
[ZIP] Rename ByteReader+ZipString file to ByteReader+Zip
...
This is also consistent with tar extensions to ByteReader.
2018-08-12 19:31:47 +03:00
Timofey Solomko
113dcea56c
[ZIP] Rename ByteReader.getZipStringField to zipString
...
This is consistent with tar extensions to ByteReader
2018-08-12 19:30:34 +03:00
Timofey Solomko
3ed501cdfd
[ZIP] Replace ZipString class with fileprivate extensions to String and Data
2018-08-12 19:28:45 +03:00
Timofey Solomko
b898b433f1
[swcomp] -v is now accepted as an alias for --verbose
2018-08-12 18:57:07 +03:00
Timofey Solomko
f4d664b476
Merge branch 'release-4.4.0' into develop
2018-08-09 22:15:15 +03:00
Timofey Solomko
3ae25202ac
Merge branch 'release-4.4.0'
4.4.0
2018-08-09 22:14:25 +03:00
Timofey Solomko
b5b9b57039
Prepare for 4.4.0 release
2018-08-09 22:13:36 +03:00
Timofey Solomko
160e55d9ce
[TAR] Return a copy of data for entries in open function
...
This is consistent behavior with other containers and solves two problems: non-zero based indices and (probably) keeping entire container data in memory for the data of single entry (for example, all other entries were discarded).
2018-08-09 22:11:00 +03:00
Timofey Solomko
be822cec66
Readme updates: mention 5.0 Update project, add paypal link and link to license file
2018-08-09 00:05:47 +03:00
Timofey Solomko
96c0024f6f
Update benchmark results for 4.4.0
2018-08-08 00:07:11 +03:00
Timofey Solomko
1c5ca3bbe5
Swiflinted before 4.4.0
2018-08-07 21:18:39 +03:00
Timofey Solomko
5c58957209
Disable some opt-in swiftlint rules
2018-08-07 21:18:17 +03:00
Timofey Solomko
b4f8945a3c
Add green tick for TAR-write in README table
2018-08-07 21:05:36 +03:00
Timofey Solomko
24f5bb2777
[docs] Add TarCreateError to Errors category
2018-08-07 21:05:36 +03:00