Commit Graph

  • 04f64bcb72 Rename Encoding/DecodingHuffmanTree to just Encoding/DecodingTree Timofey Solomko 2019-01-08 19:20:30 +03:00
  • 142fd44dd2 Remove old CodeLength initializer from Encoding(Huffman)Tree Timofey Solomko 2019-01-08 19:16:41 +03:00
  • 250c9fbd4c Remove old CodeLength initializer from Decoding(Huffman)Tree Timofey Solomko 2019-01-08 00:05:35 +03:00
  • 5e51968ca6 Add a func which generates Huffman codes based on their lengths Timofey Solomko 2019-01-07 23:06:51 +03:00
  • 6889f58461 Add new initiliaziers to huffman trees which init from codes instead of lengths Timofey Solomko 2019-01-07 13:40:09 +03:00
  • 7ae5cfa1a2 Add a new struct which represents an abstract code from coding tree Timofey Solomko 2019-01-07 13:36:42 +03:00
  • 9f138f86a6 Move Huffman tree related code into the CodingTree sub-group/directory Timofey Solomko 2019-01-07 22:55:25 +03:00
  • 1df768c09f Move the lengths bootstrapping function into the namespace of the CodeLength Timofey Solomko 2019-01-04 20:20:26 +03:00
  • 7f25dbf6e7 Rename HuffmanLength to CodeLength Timofey Solomko 2019-01-04 20:12:14 +03:00
  • 3fede73696 Merge branch 'brianantonelli-patch-1' into develop Timofey Solomko 2019-02-21 18:45:11 +03:00
  • 02e9f4d941 Doc fix Brian Antonelli 2019-02-20 22:52:59 -05:00
  • 08bea5ad53 Make Huffman tree classes final Timofey Solomko 2019-01-04 20:06:58 +03:00
  • c4c4063923 [docs] Small improvements to various BZip2 documentation Timofey Solomko 2019-01-04 14:54:40 +03:00
  • ce47019097 Update copyright year to 2019 Timofey Solomko 2019-01-02 23:15:43 +03:00
  • 12d8836529 [ZIP] Use the new ZipEntryInfoHelper and remove its properties from ZipEntryInfo Timofey Solomko 2019-01-01 13:28:50 +03:00
  • 2273c1e12c [ZIP] Add a new struct, ZipEntryInfoHelper, which is supposed to store additional information to _help_ ZipContainer get entry's data Timofey Solomko 2019-01-01 13:27:46 +03:00
  • 9559979233 [docs] Small improvements to TAR's docs Timofey Solomko 2018-12-22 20:10:09 +03:00
  • 3b119f3923 Move test files for 7z directory in xcode project Timofey Solomko 2018-12-22 13:40:57 +03:00
  • 79b5a951e2 Better detect pre-4.2 Swift in Data.prefix(upTo:) crash workaround in TarEntryInfo.generateContainerData() Timofey Solomko 2018-12-16 12:42:18 +03:00
  • 336bed75ab Use 5.2.0 version of SwiftCLI and the 1.4.0 version of BBD Timofey Solomko 2018-11-05 22:21:30 +03:00
  • 7b404eea51 [swcomp] Improve benchmarks output (less overall lines, more flushing) Timofey Solomko 2018-12-09 12:17:36 +03:00
  • 9a424d64ad [tests] Don't hide errors in GZip unarchive tests Timofey Solomko 2018-12-01 20:25:48 +03:00
  • 7977030b8d Use new versions of macOS (Xcode 10.1) and Linux (Ubuntu 16.04) in CI Timofey Solomko 2018-12-01 19:25:42 +03:00
  • 16a14b79cc Replace ci-install-deploy.sh script with CI config file changes Timofey Solomko 2018-12-01 19:24:58 +03:00
  • 5adf35365e [swcomp] Make descriptions of benchmark commands and group shorter Timofey Solomko 2018-11-05 22:29:11 +03:00
  • 1540a5847f Enable parallelized and random-order testing in xcode project Timofey Solomko 2018-11-05 22:19:59 +03:00
  • f8b69d4341 Migrate xcode project to Swift 4.2 and Xcode 10.1 Timofey Solomko 2018-11-05 22:20:28 +03:00
  • 9e69a1d4b7 Update to Swift version 4.2 in README, podspec and .swift-version file Timofey Solomko 2018-10-31 21:54:37 +03:00
  • a2d04fc070 Merge branch 'release-4.5.0' into develop Timofey Solomko 2018-09-11 22:00:48 +03:00
  • 25a14b4862 Merge branch 'release-4.5.0' 4.5.0 Timofey Solomko 2018-09-11 22:00:06 +03:00
  • 92b83cc0cf Prepare for 4.5.0 release Timofey Solomko 2018-09-11 21:58:28 +03:00
  • e92782cea0 [docs] Explain min value for LZMAProperties.dictionarySize Timofey Solomko 2018-09-11 21:57:52 +03:00
  • d87611b903 [docs] Add LZMAProperties docs to the Compression category Timofey Solomko 2018-09-11 20:07:25 +03:00
  • 925bd363ff [docs] Add docs for LZMA-properties related APIs Timofey Solomko 2018-09-11 20:07:02 +03:00
  • c44cd9e1a4 Prepare for test release of 4.5.0 4.5.0-test Timofey Solomko 2018-09-06 20:15:41 +03:00
  • 59d31fdb5a Swiftlinted for 4.5.0 Timofey Solomko 2018-09-06 20:11:18 +03:00
  • 7f27fdaf7c [LZMA] Slightly rewrite initializer for RangeDecoder Timofey Solomko 2018-09-06 20:07:09 +03:00
  • 0b36de6755 [Tests] Remove captain-obvious-styled assertion failure messages Timofey Solomko 2018-09-05 19:59:50 +03:00
  • 16b95740cb [Tests] Auxiliary functions which load tests and answers data are now throwing instead of optional-returning Timofey Solomko 2018-09-05 19:55:57 +03:00
  • 110d90532c [LZMA2] Simplify dictSize initialization in decoder Timofey Solomko 2018-09-05 19:39:15 +03:00
  • 8d09de3c7f [docs] Add a note to XZError.checkTypeSHA256 that it is no longer thrown and will be removed Timofey Solomko 2018-09-05 19:38:56 +03:00
  • 6ab3d0e20d [Tests] Add test for sha-256 check type in xz archive Timofey Solomko 2018-09-05 19:38:25 +03:00
  • 8e39d24684 [XZ] Enable sha-256 check type Timofey Solomko 2018-09-05 19:37:44 +03:00
  • 42a069200b [Tests] Add tests for Sha-256 Timofey Solomko 2018-09-02 20:31:46 +03:00
  • 92800dc21a Add implementation of Sha-256 Timofey Solomko 2018-09-02 20:31:19 +03:00
  • dd751ec343 [Tests] Add test for delta filter in 7-Zip container Timofey Solomko 2018-08-29 10:53:49 +03:00
  • b9984ac349 [7-Zip] Enable support for delta filter Timofey Solomko 2018-08-29 10:52:28 +03:00
  • 8641dab8d2 [Tests] Add test for delta filter in xz archive Timofey Solomko 2018-08-29 10:35:07 +03:00
  • a7dadad4aa [XZ] Enable support for delta filter Timofey Solomko 2018-08-29 10:32:48 +03:00
  • 8457f85c75 Add implementation for decoding Delta filter Timofey Solomko 2018-08-29 10:30:05 +03:00
  • c48a763920 Specify swift language in ci config Timofey Solomko 2018-08-29 10:09:30 +03:00
  • f9fb20d7eb Mention default options for external commands in tests results Timofey Solomko 2018-08-29 10:07:13 +03:00
  • 14bfcb55e0 Improve wording of some sections in README Timofey Solomko 2018-08-29 10:06:51 +03:00
  • b8b5e8efd5 Combine features tables in readme Timofey Solomko 2018-08-29 10:04:42 +03:00
  • d685b4f531 [LZMA2] Internal decompress function now returns Data instead of byte array Timofey Solomko 2018-08-28 11:41:38 +03:00
  • f5d8d9e81e [LZMA] Add LZMAProperties initializer which reads lzma encoded properties from bytereader Timofey Solomko 2018-08-28 11:25:40 +03:00
  • 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 Timofey Solomko 2018-08-22 10:29:28 +03:00
  • 4e6d3beea9 [LZMA] Replace LZMAProperties.updateProperties with init from lzma byte and dict size Timofey Solomko 2018-08-28 11:21:33 +03:00
  • 8737e6e2df [LZMA] Remove LZMADecoder.setProperties Timofey Solomko 2018-08-28 11:20:01 +03:00
  • 658611e2f1 [LZMA] Initialize properties in decoder with property initialzier Timofey Solomko 2018-08-28 11:19:29 +03:00
  • dab30e9279 [LZMA2] Add private function which updates properties of LZMA decoder Timofey Solomko 2018-08-28 10:15:38 +03:00
  • e36e0bf4d8 [7-Zip] Use new LZMA decompress function instead of LZMADecoder directly Timofey Solomko 2018-08-22 10:30:37 +03:00
  • ba9569a895 [XZ] Simplify filter application Timofey Solomko 2018-08-15 19:31:39 +03:00
  • 4713ad5ed8 [LZMA2] Use LZMA2.decompress with dict size byte argument function instead of using LZMA2Decoder directly in "clients" Timofey Solomko 2018-08-15 18:52:32 +03:00
  • bcc703d1f6 [LZMA2] Move LZMAProperties.updateDictionarySize function into LZMA2Decoder initializer Timofey Solomko 2018-08-15 18:18:20 +03:00
  • e11f4d4896 [LZMA2] Merge LZMA2Decoder initializer and its setDictionarySize function Timofey Solomko 2018-08-15 17:02:54 +03:00
  • bceb10db9f [LZMA2] Use LZMAProperties.updateDictionarySize function in LZMA2 decoder Timofey Solomko 2018-08-13 23:56:07 +03:00
  • 30f46e06db [LZMA] Use LZMAProperties.updateProperties function in LZMA decoder Timofey Solomko 2018-08-13 23:51:39 +03:00
  • f4d46b7545 [LZMA] Add function to LZMAProperties which updates dictionary size with byte encoded with LZMA2 encoding scheme Timofey Solomko 2018-08-13 23:49:45 +03:00
  • af40531e7a [LZMA] Extract setting properties part from init-with-lzma-byte of LZMAProperties as a separate function Timofey Solomko 2018-08-13 23:48:31 +03:00
  • 7ca677c3d5 [LZMA] Add several initializers to LZMAProperties Timofey Solomko 2018-08-13 20:48:06 +03:00
  • b52a55d54d [LZMA] Replace references to properties of LZMADecoder with references to LZMAProperties property of decoder Timofey Solomko 2018-08-13 20:25:40 +03:00
  • 56600d2178 [LZMA] Add LZMAProperties property to LZMADecoder Timofey Solomko 2018-08-13 20:24:29 +03:00
  • e6d680e82b [LZMA] Add observer to LZMAProperties.dictionarySize which keeps it max bounded Timofey Solomko 2018-08-13 20:19:16 +03:00
  • 726e067fe4 [LZMA] Add LZMAProperties struct with all properties (lc, lp, pb and dict size) Timofey Solomko 2018-08-13 12:24:50 +03:00
  • ffb0324afe [docs] Clarify in docs for LZMA.decompress about bytes at the beginning of data Timofey Solomko 2018-08-22 10:36:23 +03:00
  • ea080e13ea [XZ] Check size of LZMA2 filter properties and throw error if they are wrong Timofey Solomko 2018-08-15 18:57:21 +03:00
  • 0581c32bd5 [docs] Clarify in docs for LZMA2.decompress that the first byte is a dictionary size Timofey Solomko 2018-08-15 18:53:40 +03:00
  • 19a4880bf4 README updates: refer to version 4.4 in install instructions, add reference to star man, shorter license link, etc. Timofey Solomko 2018-08-15 16:53:50 +03:00
  • 0f65983f49 [docs] Small typo fix in docs for TarEntryInfo.ownerUserName Timofey Solomko 2018-08-15 16:52:51 +03:00
  • 062109d947 [LZMA] Reset decoder state inside LZMADecoder.setProperties Timofey Solomko 2018-08-13 20:30:24 +03:00
  • d75ee1e1f2 [LZMA] Change type of lc, lp and pb properties to Int Timofey Solomko 2018-08-13 12:37:24 +03:00
  • f35c33c4d0 [Tests] More testing for zip data descriptor Timofey Solomko 2018-08-13 12:20:03 +03:00
  • c9115f367b [ZIP] Replace stored local header and cd entry in ZipEntryInfo with separate actually required properties Timofey Solomko 2018-08-13 11:38:42 +03:00
  • ffd47c3528 [ZIP] Set ZipEntryInfo.crc properly depending on the presence of data descriptor Timofey Solomko 2018-08-13 11:37:44 +03:00
  • e9bc3c3e9e [swcomp] Print crc32 in zip-info command Timofey Solomko 2018-08-12 21:02:55 +03:00
  • 65fdc944bf [ZIP] Remove useless code comments Timofey Solomko 2018-08-12 20:59:57 +03:00
  • f0308c1ed8 [ZIP] Add public crc32 property to EntryInfo Timofey Solomko 2018-08-12 20:59:08 +03:00
  • 1264a194c2 [docs] Refer to "standard" extra fields as "built-in" Timofey Solomko 2018-08-12 20:52:44 +03:00
  • 05054ba26d [ZIP] Rename ByteReader+ZipString file to ByteReader+Zip Timofey Solomko 2018-08-12 19:31:47 +03:00
  • 113dcea56c [ZIP] Rename ByteReader.getZipStringField to zipString Timofey Solomko 2018-08-12 19:30:34 +03:00
  • 3ed501cdfd [ZIP] Replace ZipString class with fileprivate extensions to String and Data Timofey Solomko 2018-08-12 19:28:45 +03:00
  • b898b433f1 [swcomp] -v is now accepted as an alias for --verbose Timofey Solomko 2018-08-12 18:57:07 +03:00
  • f4d664b476 Merge branch 'release-4.4.0' into develop Timofey Solomko 2018-08-09 22:15:15 +03:00
  • 3ae25202ac Merge branch 'release-4.4.0' 4.4.0 Timofey Solomko 2018-08-09 22:14:25 +03:00
  • b5b9b57039 Prepare for 4.4.0 release Timofey Solomko 2018-08-09 22:13:36 +03:00
  • 160e55d9ce [TAR] Return a copy of data for entries in open function Timofey Solomko 2018-08-09 22:11:00 +03:00
  • be822cec66 Readme updates: mention 5.0 Update project, add paypal link and link to license file Timofey Solomko 2018-08-08 23:38:22 +03:00
  • 96c0024f6f Update benchmark results for 4.4.0 Timofey Solomko 2018-08-08 00:07:11 +03:00
  • 1c5ca3bbe5 Swiflinted before 4.4.0 Timofey Solomko 2018-08-07 21:18:39 +03:00