Commit Graph
1108 Commits
Author SHA1 Message Date
Timofey Solomko b99d8bf55a Merge branch 'hotfix-2.2.2' into develop 2017-02-26 15:03:18 +03:00
Timofey Solomko 0cf4d4f586 Merge branch 'hotfix-2.2.2' v2.2.2 2017-02-26 15:01:12 +03:00
Timofey Solomko 13965d002f Preparations for 2.2.2. 2017-02-26 15:00:51 +03:00
Timofey Solomko 1ab2748a00 Fixed zero-length problem for big uncompressed blocks. 2017-02-26 14:51:20 +03:00
Timofey Solomko ebd188a97c Added new tests results. 2017-02-25 15:41:41 +03:00
Timofey Solomko 6a603168eb Old tree finally replaced with the new one. 2017-02-25 15:34:00 +03:00
Timofey Solomko 22a1db9d6d code(…) now uses new tree. 2017-02-25 15:31:49 +03:00
Timofey Solomko b0904702c5 Added populating newTree with branch nodes. 2017-02-25 15:30:59 +03:00
Timofey Solomko aee09c93ec findNextSymbol now uses new tree array. 2017-02-25 15:04:52 +03:00
Timofey Solomko c03f1943fb Added new struct for HuffmanTree nodes and a new array property with these nodes. 2017-02-25 15:04:30 +03:00
Timofey Solomko 7a99a7972f Added option to HuffmanTree which enables/disables coding. 2017-02-25 14:58:12 +03:00
Timofey Solomko a8645ff296 Swiftlinted. 2017-02-25 14:55:55 +03:00
Timofey Solomko 861b51ba56 Moved constants from HuffmanTree to Deflate. 2017-02-24 22:49:28 +03:00
Timofey Solomko 636b75dce9 Added new structure (LengthDistance) to reduce code repetition. 2017-02-24 22:47:28 +03:00
Timofey Solomko 30ccb68538 Merge branch 'develop' v2.2.1 2017-02-24 20:05:02 +03:00
Timofey Solomko aaf1f20da2 Preparations for 2.2.1. 2017-02-24 20:01:43 +03:00
Timofey Solomko 06b5163b6e Updated year in license. 2017-02-24 19:59:22 +03:00
Timofey Solomko 743eead3ea Added fallback to uncompressed block in cases if it will be more size-efficient (according to size calculations). 2017-02-24 19:55:55 +03:00
Timofey Solomko 7b89374b12 Another fix for stats. 2017-02-24 19:51:26 +03:00
Timofey Solomko 84b7e9c4da Fixed some stats calculation problem. 2017-02-24 19:48:41 +03:00
Timofey Solomko 25d7459105 Added calculations of estimated sizes. 2017-02-24 19:48:24 +03:00
Timofey Solomko 394166443c Added stats counting. 2017-02-24 18:41:44 +03:00
Timofey Solomko e866ad773e CRC tables replaced with raw values. 2017-02-19 21:42:41 +03:00
Timofey Solomko 5600734d6e uint32FromAlignedBytes is now used instead of uint64 counterpart where possible. 2017-02-19 11:45:01 +03:00
Timofey Solomko a76728cc00 Added new uint32FromAlignedBytes function to DWP and two preconditions. 2017-02-19 11:44:31 +03:00
Timofey Solomko 2aa565cf4e Fixed typo in Changelog. 2017-02-19 11:44:10 +03:00
Timofey Solomko 3693b4a5fa Merge branch 'release-2.2.0' into develop 2017-02-18 22:37:26 +03:00
Timofey Solomko fbe54e31a8 Merge branch 'release-2.2.0' v2.2.0 2017-02-18 22:36:54 +03:00
Timofey Solomko 93e64dbdcd Preparations for 2.2.0. 2017-02-18 22:36:08 +03:00
Timofey Solomko 00b1d20ee8 Updated test results. 2017-02-18 22:32:02 +03:00
Timofey Solomko c7d982c19b Added a check for HuffmanTree.code(…) returning empty array. 2017-02-18 22:20:47 +03:00
Timofey Solomko 9b33b81353 Added a lot of docs strings. 2017-02-18 22:16:37 +03:00
Timofey Solomko 3eafb43d15 Disabled test7. 2017-02-18 22:14:52 +03:00
Timofey Solomko 5e895dfec7 United write and writeReversed. 2017-02-18 19:44:27 +03:00
Timofey Solomko 7908c270a8 Added a new BitToByteWriter function for writing in opposite direction. 2017-02-18 19:28:57 +03:00
Timofey Solomko ec4a6d8a2a 2.2.0 testing release. v2.2.0-test 2017-02-12 10:58:27 +03:00
Timofey Solomko 19ef15119f Removed print statements. 2017-02-12 10:52:52 +03:00
Timofey Solomko 8f5f7f6b63 Fixed problem with not limiting max distance. 2017-02-11 20:48:17 +03:00
Timofey Solomko 38bbffdb6a Updated tests results with the latest changes. 2017-02-09 23:21:14 +03:00
Timofey Solomko b30acfdc31 New tests results. 2017-02-09 16:40:33 +03:00
Timofey Solomko 9d1139f927 HuffmanTree now stores bitsCounts for symbols, redone code() function with the use of it. 2017-02-09 16:40:25 +03:00
Timofey Solomko 01dd368e0e BLDCode.description is no longer public. 2017-02-09 08:15:38 +03:00
Timofey Solomko f71668ad1c Removed repeating lines of code in BitToByteWriter.finish(). 2017-02-09 08:15:30 +03:00
Timofey Solomko f39d07d6ce Added new test results. 2017-02-08 23:25:11 +03:00
Timofey Solomko 73fafce286 Modified filter_test script to support changes in test names. 2017-02-08 23:24:44 +03:00
Timofey Solomko ee11cd7722 Added performance testing for deflate compression. 2017-02-08 23:24:21 +03:00
Timofey Solomko 24576d892a Added function which allows creation of uncompressed deflate blocks, which in its turn allows us to enable test5 for deflation. 2017-02-08 19:41:02 +03:00
Timofey Solomko b1100a7594 Added new function to BitToByteWriter which writes a number with specified amount of bits. 2017-02-08 19:34:07 +03:00
Timofey Solomko 0db34d6820 Added dictionary-tech with three-byte hashes, which also allows to enable deflate6 test (better speed). 2017-02-08 19:26:11 +03:00
Timofey Solomko cafa8422da One more fix for distance encoding. 2017-02-07 23:00:10 +03:00