1176 Commits

Author SHA1 Message Date
Timofey Solomko b1d9b4450a Prepare for 4.5.4 release 2020-04-11 00:54:43 +03:00
Timofey Solomko 083ce9ba44 Prepare for 4.5.3 release 2020-03-20 19:54:01 +03:00
Timofey Solomko c7ecaa418a Add a code-path to Sha256.swift to support Swift pre-5.0 2020-03-20 10:01:38 +03:00
Timofey Solomko a844b34436 Update copyright year to 2020 2020-03-20 09:43:42 +03:00
Timofey Solomko 36164725b6 Use the non-deprecated version of the Data.withUnsafeBytes function in Sha256 2020-03-20 09:42:05 +03:00
Timofey Solomko 94ab3ba1f5 Replace usage of deprecated index(...) functions with the new ones 2020-03-20 09:41:52 +03:00
Timofey Solomko fafb9cde87 Move public identifier from extension to enum itself (BZip2.BlockSize) 2020-03-20 09:41:38 +03:00
Timofey Solomko f6949a8f66 Replace the usage of the deprecated Data(bytes:) initializer 2020-03-20 09:40:48 +03:00
Timofey Solomko c987e8b4f9 Prepare for 4.5.2 release 2019-06-08 22:22:20 +03:00
Timofey Solomko 4d89503b44 Prepare for 4.5.1 release 2019-03-13 13:19:43 +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 04f64bcb72 Rename Encoding/DecodingHuffmanTree to just Encoding/DecodingTree 2019-03-12 22:31:35 +03:00
Timofey Solomko 142fd44dd2 Remove old CodeLength initializer from Encoding(Huffman)Tree 2019-03-12 22:31:24 +03:00
Timofey Solomko 250c9fbd4c Remove old CodeLength initializer from Decoding(Huffman)Tree 2019-03-12 22:31:13 +03:00
Timofey Solomko 5e51968ca6 Add a func which generates Huffman codes based on their lengths 2019-03-12 22:31:02 +03:00
Timofey Solomko 6889f58461 Add new initiliaziers to huffman trees which init from codes instead of lengths 2019-03-12 22:30:50 +03:00
Timofey Solomko 7ae5cfa1a2 Add a new struct which represents an abstract code from coding tree 2019-03-12 22:30:35 +03:00
Timofey Solomko 9f138f86a6 Move Huffman tree related code into the CodingTree sub-group/directory 2019-03-12 22:30:21 +03:00
Timofey Solomko 1df768c09f Move the lengths bootstrapping function into the namespace of the CodeLength 2019-03-12 22:29:53 +03:00
Timofey Solomko 7f25dbf6e7 Rename HuffmanLength to CodeLength 2019-03-12 22:28:01 +03:00
Timofey Solomko 08bea5ad53 Make Huffman tree classes final 2019-01-04 20:22:09 +03:00
Timofey Solomko c4c4063923 [docs] Small improvements to various BZip2 documentation 2019-01-04 14:59:13 +03:00
Timofey Solomko ce47019097 Update copyright year to 2019 2019-01-02 23:15:43 +03:00
Timofey Solomko 12d8836529 [ZIP] Use the new ZipEntryInfoHelper and remove its properties from ZipEntryInfo 2019-01-01 13:28:50 +03:00
Timofey Solomko 2273c1e12c [ZIP] Add a new struct, ZipEntryInfoHelper, which is supposed to store additional information to _help_ ZipContainer get entry's data 2019-01-01 13:27:46 +03:00
Timofey Solomko 9559979233 [docs] Small improvements to TAR's docs 2018-12-22 20:10:09 +03:00
Timofey Solomko 79b5a951e2 Better detect pre-4.2 Swift in Data.prefix(upTo:) crash workaround in TarEntryInfo.generateContainerData() 2018-12-16 12:42:18 +03:00
Timofey Solomko 7b404eea51 [swcomp] Improve benchmarks output (less overall lines, more flushing) 2018-12-09 12:49:11 +03:00
Timofey Solomko 5adf35365e [swcomp] Make descriptions of benchmark commands and group shorter 2018-12-09 12:49:10 +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 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 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 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 8e39d24684 [XZ] Enable sha-256 check type 2018-09-05 19:37:44 +03:00
Timofey Solomko 92800dc21a Add implementation of Sha-256 2018-09-02 20:31:19 +03:00
Timofey Solomko b9984ac349 [7-Zip] Enable support for delta filter 2018-08-29 10:55:18 +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 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