Timofey Solomko
e05f917210
Improve compile time
2017-12-24 14:57:35 +03:00
Timofey Solomko
cce4d35ab7
Remove bitOrder argument from BitWriter.write(number:bitCount:)
2017-12-21 15:26:00 +03:00
Timofey Solomko
d63d2977fb
Only reverse bit order of codes in EncHuffmanTree if necessary
...
And it is necessary only for Deflate. This will allow us to remove bitOrder argument of BitWriter.write, which has very unclear semantics
2017-12-21 15:24:54 +03:00
Timofey Solomko
07d9d41db2
Remove BitReader and DWP initialisers from byte array
2017-12-05 22:21:52 +03:00
Timofey Solomko
cd9bd4eec4
Remove DWP.previousByte
2017-12-05 22:21:32 +03:00
Timofey Solomko
3b0e3c5d74
Mark several extension functions as inline-always
2017-11-22 22:25:18 +03:00
Timofey Solomko
d9954f4791
Use new toArray function in DWP.bytes
2017-11-22 22:24:45 +03:00
Timofey Solomko
1fa558f1a6
Add toArray extension function with count argument
2017-11-22 22:24:26 +03:00
Timofey Solomko
b9cebf13e9
Remove dwp functions with count argument
2017-11-22 22:08:02 +03:00
Timofey Solomko
21a32f1d5a
Add no-args uint functions to DWP and BitReader
...
Tests shows that these functions are faster than functions with arguments.
2017-11-22 20:57:22 +03:00
Timofey Solomko
7c6d6d22ff
Replace UInt extensions with one extension to UnsignedInteger
2017-11-22 20:56:28 +03:00
Timofey Solomko
98fd2e4d1e
Remove reverseBytes function and use built-in byteSwapped property instead
2017-11-22 20:55:17 +03:00
Timofey Solomko
9da406fc53
Small improvement to EncHuffTree.code function
2017-11-19 12:47:46 +03:00
Timofey Solomko
556e42e179
Add and update documentation
2017-11-14 20:37:20 +03:00
Timofey Solomko
8cf85305d4
ContainerEntryInfo.name is no longer Optional
2017-11-11 13:27:36 +03:00
Timofey Solomko
8d41bc7130
Make swiftlint happier
2017-11-05 00:45:12 +03:00
Timofey Solomko
c9a15d047a
Remove byte array version of adler32 function
2017-10-31 20:19:19 +03:00
Timofey Solomko
e624f11d1c
Remove unused bzip2crc function
2017-10-31 20:18:34 +03:00
Timofey Solomko
a986b31628
Use data parameter in crc64 function
2017-10-31 20:11:32 +03:00
Timofey Solomko
6c04ca777a
Fix potential incorrect behavior in DWP
2017-10-31 19:58:19 +03:00
Timofey Solomko
4cab7c1ff3
Sort new enums' cases alphabetically
2017-10-28 17:49:35 +03:00
Timofey Solomko
e92c5a609c
Add CompressionMethod enum for common usage
2017-10-28 17:41:40 +03:00
Timofey Solomko
a9dd1c4620
Remove "from" argument labels from various internal inits
2017-10-28 17:11:23 +03:00
Timofey Solomko
74528268d9
Add FileSystemType enum for use in the entire project
2017-10-28 17:07:00 +03:00
Timofey Solomko
7b50be1413
Sort cases in ContainerEntryType alphabetically
2017-10-23 20:17:57 +03:00
Timofey Solomko
72d7d7e764
Add permissions property to ContainerEntryInfo
2017-10-23 20:15:40 +03:00
Timofey Solomko
a22a05fedc
Add a/c/m times to ContainerEntryInfo protocol.
...
This also adds accessTime from NTFS extra field in ZipEntryInfo
2017-10-23 20:13:40 +03:00
Timofey Solomko
d5cb73f54c
Remove UnixType in favor of ContainerEntryType
2017-10-21 12:13:00 +03:00
Timofey Solomko
e974593e63
Make DataWithPointer more stable to data slicing technique
2017-10-14 23:41:27 +03:00
Timofey Solomko
c4258965ec
Remove Protocols subfolders
2017-10-12 19:05:59 +03:00
Timofey Solomko
1b4accb9c4
Add missing doc comments to ContainerEntryType
2017-10-11 14:25:49 +03:00
Timofey Solomko
67331531a9
Add two more cases to ContainerEntryType (tar related)
2017-10-11 14:00:03 +03:00
Timofey Solomko
d16f36c18e
Add initializer from UnixType into ContainerEntryType
2017-10-11 13:30:58 +03:00
Timofey Solomko
188b39372a
Extract protocols into separate files
2017-10-11 13:10:38 +03:00
Timofey Solomko
1fe3aed4c1
Extract ContainerEntryType into separate file and add some cases
2017-10-11 13:09:12 +03:00
Timofey Solomko
2370dffbdb
Extract Container related protocols into separate file and rename folder
2017-10-11 13:00:03 +03:00
Timofey Solomko
20840aae41
Extract some types from 7-zip into separate files
2017-10-11 12:56:49 +03:00
Timofey Solomko
7a1243c3fa
Make ContainerEntryInfo properties optional
2017-10-08 20:02:24 +03:00
Timofey Solomko
f2807a1ec5
Start rework of Container API
...
Add associated types, add info protocol, remove entryAttributes, add entry type property and enum. Docs comments were also removed so I won't forget update documentation before release.
2017-10-08 19:47:23 +03:00
Timofey Solomko
5b18623bc6
Update check sums code to iterate not over indices but elements
2017-10-07 12:25:07 +03:00
Timofey Solomko
843896edcf
Move source code files into subfolders
2017-10-06 23:10:01 +03:00
Timofey Solomko
def0ce590c
Moved common swift files so swift package manager won’t complain.
2016-11-20 17:56:09 +03:00
Timofey Solomko
0ccb813b54
Small performance improvement in DataWithPointer.bits. Also disabled bzip2_test7.
2016-11-19 20:11:57 +03:00
Timofey Solomko
58d49afc35
Reorganized project structure.
2016-11-19 15:21:44 +03:00