Commit Graph

  • 6959125411 Progress on readme. Timofey Solomko 2016-10-30 18:42:06 +03:00
  • 270f926aae Progress on readme. Timofey Solomko 2016-10-30 18:42:06 +03:00
  • 3d69634fdf Added documentation for protocols. Timofey Solomko 2016-10-30 16:35:11 +03:00
  • 26e515a68c Added documentation for protocols. Timofey Solomko 2016-10-30 16:35:11 +03:00
  • df2399ff07 Added documentation comments. Timofey Solomko 2016-10-30 16:29:42 +03:00
  • 32f90ab62c Added documentation comments. Timofey Solomko 2016-10-30 16:29:42 +03:00
  • 64acfa23c3 Added two new convert... functions with straight bit order in array argument. Timofey Solomko 2016-10-30 14:45:56 +03:00
  • 9ead9b1243 Added two new convert... functions with straight bit order in array argument. Timofey Solomko 2016-10-30 14:45:56 +03:00
  • d0a887ea87 convertToInt/convertToUInt8 functions' argument renamed to reversedUint8Array. Timofey Solomko 2016-10-30 14:45:12 +03:00
  • 5c00605852 convertToInt/convertToUInt8 functions' argument renamed to reversedUint8Array. Timofey Solomko 2016-10-30 14:45:12 +03:00
  • 3ff567a5da Added 'helloworld' test for zlib. Timofey Solomko 2016-10-30 14:44:17 +03:00
  • 4fade7051b Added 'helloworld' test for zlib. Timofey Solomko 2016-10-30 14:44:17 +03:00
  • 875bd2f7fa Added ZlibArchive. Timofey Solomko 2016-10-30 14:26:50 +03:00
  • d624f9f018 Added ZlibArchive. Timofey Solomko 2016-10-30 14:26:50 +03:00
  • 5064c17a3a Check if reserved flags are zero in gzip (specification compliance). Timofey Solomko 2016-10-30 13:42:32 +03:00
  • 2fb0cb1559 Check if reserved flags are zero in gzip (specification compliance). Timofey Solomko 2016-10-30 13:42:32 +03:00
  • 641c0bb13b Fixed copyright notice. Timofey Solomko 2016-10-29 22:32:01 +03:00
  • edfd49e3bf Fixed copyright notice. Timofey Solomko 2016-10-29 22:32:01 +03:00
  • 9c4592bba1 Gzip related code moved into separate file; added two protocols; extended serviceInfo structure. Timofey Solomko 2016-10-29 22:27:11 +03:00
  • bcaa85e0e8 Gzip related code moved into separate file; added two protocols; extended serviceInfo structure. Timofey Solomko 2016-10-29 22:27:11 +03:00
  • 1e01531e61 Swiftlinted. Timofey Solomko 2016-10-29 21:24:40 +03:00
  • e557cce7ed Swiftlinted. Timofey Solomko 2016-10-29 21:24:40 +03:00
  • 3ac1a20c6e Fixed a few swift warnings. Timofey Solomko 2016-10-29 21:17:20 +03:00
  • 3981159f7e Fixed a few swift warnings. Timofey Solomko 2016-10-29 21:17:20 +03:00
  • 6ee0eae306 Added tests with empty file. Timofey Solomko 2016-10-29 21:17:09 +03:00
  • ae27267b3b Added tests with empty file. Timofey Solomko 2016-10-29 21:17:09 +03:00
  • a2540d398c bits function of Data extension now checks if start is the same as the end. Timofey Solomko 2016-10-29 17:55:47 +03:00
  • be43928774 bits function of Data extension now checks if start is the same as the end. Timofey Solomko 2016-10-29 17:55:47 +03:00
  • dc6dffbb77 Fixed a problem with repeated strings in data. Timofey Solomko 2016-10-29 17:46:46 +03:00
  • 7bab0020ff Fixed a problem with repeated strings in data. Timofey Solomko 2016-10-29 17:46:46 +03:00
  • 5f9c0cefcc findNextSymbol now returns shift and this calculation is now correct and used everywhere. Timofey Solomko 2016-10-28 21:04:16 +03:00
  • 6d435e7a5e findNextSymbol now returns shift and this calculation is now correct and used everywhere. Timofey Solomko 2016-10-28 21:04:16 +03:00
  • 712f7ace93 Apparently, I've missed extraDistanceBits array and was reading a value from wrong array. This was fixed. Timofey Solomko 2016-10-28 21:02:31 +03:00
  • c7a66d58ea Apparently, I've missed extraDistanceBits array and was reading a value from wrong array. This was fixed. Timofey Solomko 2016-10-28 21:02:31 +03:00
  • a0a5c99a11 Added automatic check for answer in second test. Timofey Solomko 2016-10-28 21:01:18 +03:00
  • 8389ac4673 Added automatic check for answer in second test. Timofey Solomko 2016-10-28 21:01:18 +03:00
  • 0d01ef604a Added second test and renamed first one. Timofey Solomko 2016-10-28 20:00:45 +03:00
  • 8187fd1fd9 Added second test and renamed first one. Timofey Solomko 2016-10-28 20:00:45 +03:00
  • 41052737e4 Completed implementation of Deflate. Timofey Solomko 2016-10-28 20:00:34 +03:00
  • cdb3384740 Completed implementation of Deflate. Timofey Solomko 2016-10-28 20:00:34 +03:00
  • e93ec4058b Implemented dynamic coding. Timofey Solomko 2016-10-27 19:35:48 +03:00
  • 4fff569544 Implemented dynamic coding. Timofey Solomko 2016-10-27 19:35:48 +03:00
  • 9d782bb658 Added new extension for getting an array of bits from ambigious places in Data objects; convert array to number functions moved to Extensions file. Timofey Solomko 2016-10-27 14:47:27 +03:00
  • 3fed92ffe6 Added new extension for getting an array of bits from ambigious places in Data objects; convert array to number functions moved to Extensions file. Timofey Solomko 2016-10-27 14:47:27 +03:00
  • bca59021a5 Added extensions, findNextSymbol; HuffmanLength moved to a separate file. Timofey Solomko 2016-10-26 21:03:19 +03:00
  • 9f9ad78eab Added extensions, findNextSymbol; HuffmanLength moved to a separate file. Timofey Solomko 2016-10-26 21:03:19 +03:00
  • 380ee3654b Implemented OrderedHuffmanTable and combined all auxiliary functions into HuffmanTable's initializer. Timofey Solomko 2016-10-26 11:33:07 +03:00
  • 013350ec86 Implemented OrderedHuffmanTable and combined all auxiliary functions into HuffmanTable's initializer. Timofey Solomko 2016-10-26 11:33:07 +03:00
  • 10fc083d1d Rearrangement of code (also symbols are populated and maximums are computed at initialization). Timofey Solomko 2016-10-26 01:00:00 +03:00
  • 851d2d7e0d Rearrangement of code (also symbols are populated and maximums are computed at initialization). Timofey Solomko 2016-10-26 01:00:00 +03:00
  • 6032c78351 Implemented minMaxBits for HuffmanTable. Timofey Solomko 2016-10-26 00:49:55 +03:00
  • f807768e52 Implemented minMaxBits for HuffmanTable. Timofey Solomko 2016-10-26 00:49:55 +03:00
  • 15dbb1fb60 Data type actually has built-in subscripts, so home-made subscripts were replaced by them. Timofey Solomko 2016-10-25 23:25:35 +03:00
  • c06d34fb23 Data type actually has built-in subscripts, so home-made subscripts were replaced by them. Timofey Solomko 2016-10-25 23:25:35 +03:00
  • 33f8466dd7 Cleanuped code. Timofey Solomko 2016-10-25 23:07:13 +03:00
  • 78c53e6d06 Cleanuped code. Timofey Solomko 2016-10-25 23:07:13 +03:00
  • b000b7952b Added a lot of comments and rewrote some bad code. Timofey Solomko 2016-10-24 23:22:36 +03:00
  • 47e42c4334 Added a lot of comments and rewrote some bad code. Timofey Solomko 2016-10-24 23:22:36 +03:00
  • b7cc028de7 Added reversedSymbol for HuffmanLength and code to populate symbols of HuffmanTable. Timofey Solomko 2016-10-24 21:55:05 +03:00
  • ad37c5a918 Added reversedSymbol for HuffmanLength and code to populate symbols of HuffmanTable. Timofey Solomko 2016-10-24 21:55:05 +03:00
  • 886fd09b71 Added code for processing static Huffman block. Timofey Solomko 2016-10-24 21:31:12 +03:00
  • cc26d2ff4c Added code for processing static Huffman block. Timofey Solomko 2016-10-24 21:31:12 +03:00
  • 720cb6d5d8 Fixed problem with recognizing block type. Timofey Solomko 2016-10-24 21:30:51 +03:00
  • 0a4b6a3474 Fixed problem with recognizing block type. Timofey Solomko 2016-10-24 21:30:51 +03:00
  • 078a3e984a Added HuffmanLength and initializer from bootstrap for HuffmanTable. Timofey Solomko 2016-10-24 21:29:06 +03:00
  • a1745142eb Added HuffmanLength and initializer from bootstrap for HuffmanTable. Timofey Solomko 2016-10-24 21:29:06 +03:00
  • 6302e3627b Actually, if you read specifications carefully you will find out that the remaining bits should be dropped. Timofey Solomko 2016-10-24 20:31:18 +03:00
  • a0500b84c3 Actually, if you read specifications carefully you will find out that the remaining bits should be dropped. Timofey Solomko 2016-10-24 20:31:18 +03:00
  • aff828f4cb Now while-loop actually breaks. Timofey Solomko 2016-10-24 20:23:50 +03:00
  • 987a3608c2 Now while-loop actually breaks. Timofey Solomko 2016-10-24 20:23:50 +03:00
  • ed5cf0ebe1 Moved UInt8 and Data extensions to a combined file. Added function to "combine" two bytes into one. Timofey Solomko 2016-10-24 20:23:26 +03:00
  • 1c7ff6150b Moved UInt8 and Data extensions to a combined file. Added function to "combine" two bytes into one. Timofey Solomko 2016-10-24 20:23:26 +03:00
  • 1a99f774f7 Added code to process uncompressed blocks. Timofey Solomko 2016-10-24 20:21:38 +03:00
  • 1bc2c46936 Added code to process uncompressed blocks. Timofey Solomko 2016-10-24 20:21:38 +03:00
  • 58c14c1870 Added some extensions to Data to allow getting misaligned bytes. Timofey Solomko 2016-10-24 20:20:48 +03:00
  • 0122811b3f Added some extensions to Data to allow getting misaligned bytes. Timofey Solomko 2016-10-24 20:20:48 +03:00
  • 81d41bef50 Some progress was made on reading information from archive. Timofey Solomko 2016-10-24 00:22:58 +03:00
  • 24a1ae2ac6 Some progress was made on reading information from archive. Timofey Solomko 2016-10-24 00:22:58 +03:00
  • dcba4d777e Added useful UInt8 extensions. Timofey Solomko 2016-10-24 00:21:08 +03:00
  • 51025f1f2d Added useful UInt8 extensions. Timofey Solomko 2016-10-24 00:21:08 +03:00
  • 28f1223475 Added file for Huffman table. Timofey Solomko 2016-10-24 00:19:53 +03:00
  • e21e263d58 Added file for Huffman table. Timofey Solomko 2016-10-24 00:19:53 +03:00
  • 271c8dbd4c Added some initial code for deflate compression (and test). Timofey Solomko 2016-10-23 15:29:20 +03:00
  • cedd0f6452 Added some initial code for deflate compression (and test). Timofey Solomko 2016-10-23 15:29:20 +03:00
  • bcef3f0fcc Added project. Timofey Solomko 2016-10-16 22:52:23 +03:00
  • 70e51b3c26 Added project. Timofey Solomko 2016-10-16 22:52:23 +03:00
  • ead55fbd45 Initial commit Timofey Solomko 2016-10-16 22:33:24 +03:00