Commit Graph

  • 4b5cd3a323 Fixed zlib tests. Timofey Solomko 2017-04-30 20:03:20 +03:00
  • b5a4794934 Redone testing structure Timofey Solomko 2017-04-30 20:00:59 +03:00
  • cca90a77e9 Changed version number to 3.0-dev. Timofey Solomko 2017-04-30 19:59:22 +03:00
  • a68a2d52dc Update Swift version in readme. Timofey Solomko 2017-04-30 18:20:35 +03:00
  • 5fa8e7c8ba Merge branch 'develop' v2.4.0 Timofey Solomko 2017-04-22 21:25:37 +03:00
  • 3980bee603 Preparations for 2.4.0. Timofey Solomko 2017-04-22 21:25:24 +03:00
  • 62042d870a Swiftlinted. Timofey Solomko 2017-04-22 21:22:31 +03:00
  • b2bf2764f3 New crc32(Data) and adler32(Data) functions are now used. Timofey Solomko 2017-04-22 21:22:06 +03:00
  • 3d0c52c538 Added crc32() and adler32() overloads with Data object as argument. Timofey Solomko 2017-04-22 21:21:45 +03:00
  • 59f1ceee11 Updated test results. Timofey Solomko 2017-04-22 21:20:50 +03:00
  • d04f51146d Added test for zlib archiving. Timofey Solomko 2017-04-22 20:58:55 +03:00
  • cc114884b6 Added zlib archiving. Timofey Solomko 2017-04-22 20:58:41 +03:00
  • 13a129fcdf Added new tests results. Timofey Solomko 2017-04-16 12:24:50 +03:00
  • 7ffc6fe499 DataWithPointer no longer converts input Data object into byte array. Timofey Solomko 2017-04-16 12:24:40 +03:00
  • 5444bad934 Fixed podspec. Timofey Solomko 2017-04-16 12:09:37 +03:00
  • ac6492955b Merge branch 'develop' v2.3.0 Timofey Solomko 2017-04-15 22:14:17 +03:00
  • f33c541212 Preparations for 2.3.0. Timofey Solomko 2017-04-15 22:13:47 +03:00
  • 58444dd470 Updated tests results. Timofey Solomko 2017-04-15 21:36:22 +03:00
  • 4e6650d17c Made some changes to support new versions of Swift and Xcode. Timofey Solomko 2017-04-15 21:27:50 +03:00
  • 4c642f4027 Added docs for achive method. Timofey Solomko 2017-04-15 21:21:20 +03:00
  • d1bde66cea Swiftlinted. Timofey Solomko 2017-04-15 21:13:10 +03:00
  • 4787c4a7a7 Added tests for gzip.archive. Timofey Solomko 2017-04-15 21:11:46 +03:00
  • f6625488b2 Added archive function to gzip. Timofey Solomko 2017-04-15 21:11:31 +03:00
  • 645d98f368 Removed wrong bitWriter finishing which was adding extra wrong byte to output. Timofey Solomko 2017-04-15 21:11:09 +03:00
  • 6ea88c5726 Updated test results. Timofey Solomko 2017-03-05 22:29:28 +03:00
  • 55f4fadf31 HTNode.branch now uses Set instead of Array. Timofey Solomko 2017-03-05 22:29:19 +03:00
  • 964526ee26 Updated test results. Timofey Solomko 2017-03-05 22:17:39 +03:00
  • 85a4c2e733 HuffmanTree now writes to BitToByteWriter during coding. Timofey Solomko 2017-03-05 22:17:30 +03:00
  • 96ffe3268d Updated test results. Timofey Solomko 2017-02-26 16:13:08 +03:00
  • b99d8bf55a Merge branch 'hotfix-2.2.2' into develop Timofey Solomko 2017-02-26 15:03:18 +03:00
  • 0cf4d4f586 Merge branch 'hotfix-2.2.2' v2.2.2 Timofey Solomko 2017-02-26 15:01:12 +03:00
  • 13965d002f Preparations for 2.2.2. Timofey Solomko 2017-02-26 15:00:51 +03:00
  • 1ab2748a00 Fixed zero-length problem for big uncompressed blocks. Timofey Solomko 2017-02-26 14:51:20 +03:00
  • ebd188a97c Added new tests results. Timofey Solomko 2017-02-25 15:41:41 +03:00
  • 6a603168eb Old tree finally replaced with the new one. Timofey Solomko 2017-02-25 15:34:00 +03:00
  • 22a1db9d6d code(…) now uses new tree. Timofey Solomko 2017-02-25 15:31:49 +03:00
  • b0904702c5 Added populating newTree with branch nodes. Timofey Solomko 2017-02-25 15:30:59 +03:00
  • aee09c93ec findNextSymbol now uses new tree array. Timofey Solomko 2017-02-25 15:04:52 +03:00
  • c03f1943fb Added new struct for HuffmanTree nodes and a new array property with these nodes. Timofey Solomko 2017-02-25 15:04:30 +03:00
  • 7a99a7972f Added option to HuffmanTree which enables/disables coding. Timofey Solomko 2017-02-25 14:58:12 +03:00
  • a8645ff296 Swiftlinted. Timofey Solomko 2017-02-25 14:55:55 +03:00
  • 861b51ba56 Moved constants from HuffmanTree to Deflate. Timofey Solomko 2017-02-24 22:49:28 +03:00
  • 636b75dce9 Added new structure (LengthDistance) to reduce code repetition. Timofey Solomko 2017-02-24 22:47:28 +03:00
  • 30ccb68538 Merge branch 'develop' v2.2.1 Timofey Solomko 2017-02-24 20:05:02 +03:00
  • aaf1f20da2 Preparations for 2.2.1. Timofey Solomko 2017-02-24 20:01:43 +03:00
  • 06b5163b6e Updated year in license. Timofey Solomko 2017-02-24 19:59:22 +03:00
  • 743eead3ea Added fallback to uncompressed block in cases if it will be more size-efficient (according to size calculations). Timofey Solomko 2017-02-24 19:55:55 +03:00
  • 7b89374b12 Another fix for stats. Timofey Solomko 2017-02-24 19:51:26 +03:00
  • 84b7e9c4da Fixed some stats calculation problem. Timofey Solomko 2017-02-24 19:48:41 +03:00
  • 25d7459105 Added calculations of estimated sizes. Timofey Solomko 2017-02-24 19:48:24 +03:00
  • 394166443c Added stats counting. Timofey Solomko 2017-02-24 18:41:44 +03:00
  • e866ad773e CRC tables replaced with raw values. Timofey Solomko 2017-02-19 21:42:41 +03:00
  • 5600734d6e uint32FromAlignedBytes is now used instead of uint64 counterpart where possible. Timofey Solomko 2017-02-19 11:45:01 +03:00
  • a76728cc00 Added new uint32FromAlignedBytes function to DWP and two preconditions. Timofey Solomko 2017-02-19 11:44:31 +03:00
  • 2aa565cf4e Fixed typo in Changelog. Timofey Solomko 2017-02-19 11:44:10 +03:00
  • 3693b4a5fa Merge branch 'release-2.2.0' into develop Timofey Solomko 2017-02-18 22:37:26 +03:00
  • fbe54e31a8 Merge branch 'release-2.2.0' v2.2.0 Timofey Solomko 2017-02-18 22:36:54 +03:00
  • 93e64dbdcd Preparations for 2.2.0. Timofey Solomko 2017-02-18 22:36:08 +03:00
  • 00b1d20ee8 Updated test results. Timofey Solomko 2017-02-18 22:32:02 +03:00
  • c7d982c19b Added a check for HuffmanTree.code(…) returning empty array. Timofey Solomko 2017-02-18 22:20:47 +03:00
  • 9b33b81353 Added a lot of docs strings. Timofey Solomko 2017-02-18 22:16:37 +03:00
  • 3eafb43d15 Disabled test7. Timofey Solomko 2017-02-18 22:14:52 +03:00
  • 5e895dfec7 United write and writeReversed. Timofey Solomko 2017-02-18 19:44:27 +03:00
  • 7908c270a8 Added a new BitToByteWriter function for writing in opposite direction. Timofey Solomko 2017-02-18 19:28:57 +03:00
  • ec4a6d8a2a 2.2.0 testing release. v2.2.0-test Timofey Solomko 2017-02-12 10:58:27 +03:00
  • 19ef15119f Removed print statements. Timofey Solomko 2017-02-12 10:52:52 +03:00
  • 8f5f7f6b63 Fixed problem with not limiting max distance. Timofey Solomko 2017-02-11 20:48:17 +03:00
  • 38bbffdb6a Updated tests results with the latest changes. Timofey Solomko 2017-02-09 23:21:14 +03:00
  • b30acfdc31 New tests results. Timofey Solomko 2017-02-09 16:40:33 +03:00
  • 9d1139f927 HuffmanTree now stores bitsCounts for symbols, redone code() function with the use of it. Timofey Solomko 2017-02-09 16:40:25 +03:00
  • 01dd368e0e BLDCode.description is no longer public. Timofey Solomko 2017-02-09 08:15:38 +03:00
  • f71668ad1c Removed repeating lines of code in BitToByteWriter.finish(). Timofey Solomko 2017-02-09 08:15:30 +03:00
  • f39d07d6ce Added new test results. Timofey Solomko 2017-02-08 23:25:11 +03:00
  • 73fafce286 Modified filter_test script to support changes in test names. Timofey Solomko 2017-02-08 23:24:44 +03:00
  • ee11cd7722 Added performance testing for deflate compression. Timofey Solomko 2017-02-08 23:24:21 +03:00
  • 24576d892a Added function which allows creation of uncompressed deflate blocks, which in its turn allows us to enable test5 for deflation. Timofey Solomko 2017-02-08 19:41:02 +03:00
  • b1100a7594 Added new function to BitToByteWriter which writes a number with specified amount of bits. Timofey Solomko 2017-02-08 19:34:07 +03:00
  • 0db34d6820 Added dictionary-tech with three-byte hashes, which also allows to enable deflate6 test (better speed). Timofey Solomko 2017-02-08 19:26:11 +03:00
  • cafa8422da One more fix for distance encoding. Timofey Solomko 2017-02-07 23:00:10 +03:00
  • 1271cd6e84 Reorganized deflate tests and added new encoding tests. Timofey Solomko 2017-02-07 22:51:03 +03:00
  • d1343e4c35 Fixed a problem with last distance symbol. Timofey Solomko 2017-02-07 22:45:23 +03:00
  • f7b75188fa lengthEncode code replaced with modified old version. Timofey Solomko 2017-02-07 22:36:04 +03:00
  • 8241d945bc Corrected errors with writing extra bits for HuffmanCodes. Timofey Solomko 2017-02-07 22:35:19 +03:00
  • eb81146e2a lengthEncode replaced with version which doesn’t perform any compression, test now compares before and after comp/decomp. Timofey Solomko 2017-02-05 20:47:42 +03:00
  • 60fc558f7b Test updated with last changes to api. Timofey Solomko 2017-02-05 19:16:30 +03:00
  • ae61d2ba91 Added appropriate public API for deflate compression. Timofey Solomko 2017-02-05 19:16:06 +03:00
  • 6e22a29aca crc32 now returns UInt32 value, added ability to chain crc32 calculations. Timofey Solomko 2017-02-05 13:46:13 +03:00
  • b2c7f64cfe Text fixes. Timofey Solomko 2017-02-04 15:07:38 +03:00
  • af0281d19f Completed static huffman encoding. Timofey Solomko 2017-02-04 00:00:15 +03:00
  • 85a24d8baf Modified tests. Timofey Solomko 2017-02-03 21:55:34 +03:00
  • b57049cbb1 Added huffmanEncode function with first steps in huffman encoding (only literals for now). Timofey Solomko 2017-02-03 21:55:26 +03:00
  • b61d37e373 Added code function to huffman tree. Timofey Solomko 2017-02-03 21:54:21 +03:00
  • 58e2c5f3a5 Added function for finishing writing session to b2bwriter. Timofey Solomko 2017-02-03 21:53:59 +03:00
  • 1b6e913d11 Added new class for writing bits into bytes. Timofey Solomko 2017-02-03 20:43:39 +03:00
  • 06527bb7f9 Fixed some edge cases. Timofey Solomko 2017-02-03 20:32:08 +03:00
  • a4610c7aea Added max distance check. Timofey Solomko 2017-02-03 20:08:40 +03:00
  • 249adf87f3 Fixed distance value. More readable output in test. Timofey Solomko 2017-02-03 20:06:10 +03:00
  • a5cd5e51fb Redone lengthEncode with the use on new enum (which is CustomStringConvertible). Timofey Solomko 2017-02-03 19:49:06 +03:00
  • a5601037b6 Final attempt to fix several problems in current implementation of lengthEncode. Timofey Solomko 2017-02-02 23:45:06 +03:00
  • 642e07614e Small refactor in deflate. Timofey Solomko 2017-01-31 22:56:33 +03:00