1858 Commits
Author SHA1 Message Date
Timofey Solomko 25a14b4862 Merge branch 'release-4.5.0' 4.5.0 2018-09-11 22:00:06 +03:00
Timofey Solomko 92b83cc0cf Prepare for 4.5.0 release 2018-09-11 21:58:28 +03:00
Timofey Solomko e92782cea0 [docs] Explain min value for LZMAProperties.dictionarySize 2018-09-11 21:57:52 +03:00
Timofey Solomko d87611b903 [docs] Add LZMAProperties docs to the Compression category 2018-09-11 20:07:25 +03:00
Timofey Solomko 925bd363ff [docs] Add docs for LZMA-properties related APIs 2018-09-11 20:07:02 +03:00
Timofey Solomko c44cd9e1a4 Prepare for test release of 4.5.0 4.5.0-test 2018-09-06 20:15:41 +03:00
Timofey Solomko 59d31fdb5a Swiftlinted for 4.5.0 2018-09-06 20:11:18 +03:00
Timofey Solomko 7f27fdaf7c [LZMA] Slightly rewrite initializer for RangeDecoder 2018-09-06 20:07:09 +03:00
Timofey Solomko 0b36de6755 [Tests] Remove captain-obvious-styled assertion failure messages 2018-09-05 19:59:50 +03:00
Timofey Solomko 16b95740cb [Tests] Auxiliary functions which load tests and answers data are now throwing instead of optional-returning
This allows to remove cumbersome guard constructs in all tests and instead utilize the fact that test functions can be throwing (me being unaware of this is actually the reason why it was done initially this way).
2018-09-05 19:55:57 +03:00
Timofey Solomko 110d90532c [LZMA2] Simplify dictSize initialization in decoder 2018-09-05 19:39:15 +03:00
Timofey Solomko 8d09de3c7f [docs] Add a note to XZError.checkTypeSHA256 that it is no longer thrown and will be removed 2018-09-05 19:38:56 +03:00
Timofey Solomko 6ab3d0e20d [Tests] Add test for sha-256 check type in xz archive 2018-09-05 19:38:25 +03:00
Timofey Solomko 8e39d24684 [XZ] Enable sha-256 check type 2018-09-05 19:37:44 +03:00
Timofey Solomko 42a069200b [Tests] Add tests for Sha-256 2018-09-02 20:31:46 +03:00
Timofey Solomko 92800dc21a Add implementation of Sha-256 2018-09-02 20:31:19 +03:00
Timofey Solomko dd751ec343 [Tests] Add test for delta filter in 7-Zip container 2018-08-29 10:55:18 +03:00
Timofey Solomko b9984ac349 [7-Zip] Enable support for delta filter 2018-08-29 10:55:18 +03:00
Timofey Solomko 8641dab8d2 [Tests] Add test for delta filter in xz archive 2018-08-29 10:55:17 +03:00
Timofey Solomko a7dadad4aa [XZ] Enable support for delta filter 2018-08-29 10:55:13 +03:00
Timofey Solomko 8457f85c75 Add implementation for decoding Delta filter 2018-08-29 10:30:05 +03:00
Timofey Solomko c48a763920 Specify swift language in ci config 2018-08-29 10:09:30 +03:00
Timofey Solomko f9fb20d7eb Mention default options for external commands in tests results 2018-08-29 10:07:13 +03:00
Timofey Solomko 14bfcb55e0 Improve wording of some sections in README 2018-08-29 10:06:51 +03:00
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