Timofey Solomko
|
19b09c08fc
|
Replaced fatalErrors in HuffmanTree with SymbolNotFound errors.
|
2017-05-27 20:40:35 +03:00 |
|
Timofey Solomko
|
8b3cc5620a
|
A lot of small little changes here and there.
|
2017-05-27 20:38:20 +03:00 |
|
Timofey Solomko
|
f343919366
|
All classes are now longer final (because it is not needed to prevent subclassing given public access level).
|
2017-05-27 20:37:41 +03:00 |
|
Timofey Solomko
|
a5dc7dc88f
|
Some zip classes are made final. Moved some internal comments.
|
2017-05-27 19:59:02 +03:00 |
|
Timofey Solomko
|
11c60bd4ab
|
Added support for zip64 data descriptor in zip.
|
2017-05-27 19:17:36 +03:00 |
|
Timofey Solomko
|
6b715b4e9f
|
Removed initialisation of several LZMADecoder properties from init() because resetState() does it. Added a check if resetState() was called at least once before decode().
|
2017-05-27 13:56:25 +03:00 |
|
Timofey Solomko
|
d5dc164279
|
Some changes to LZMA to reduce code repetition.
|
2017-05-27 11:28:50 +03:00 |
|
Timofey Solomko
|
bf5b238dd0
|
Small refactor in GzipArchive.
|
2017-05-26 22:19:16 +03:00 |
|
Timofey Solomko
|
3338e081c4
|
GzipArchive.archive rewritten a bit with new set of arguments.
|
2017-05-26 22:15:01 +03:00 |
|
Timofey Solomko
|
75367a1b22
|
Swiftlinted.
|
2017-05-26 19:32:53 +03:00 |
|
Timofey Solomko
|
2081c3e7f2
|
Revert "Added archive(...) function to Archive protocol with options argument."
This reverts commit 308cf4808e.
|
2017-05-26 19:29:54 +03:00 |
|
Timofey Solomko
|
ee6fc56ab4
|
Revert "Updated XZArchive and ZlibArchive to conform to new Archive protocol requirements."
This reverts commit d0657a0552.
|
2017-05-26 19:29:48 +03:00 |
|
Timofey Solomko
|
b02a93e62c
|
Added some comments for the future.
|
2017-05-26 19:25:52 +03:00 |
|
Timofey Solomko
|
5e8f31e8fa
|
Output flags should now be correct in created gzip archives if repeated options are passed to the function.
|
2017-05-25 15:50:46 +03:00 |
|
Timofey Solomko
|
6ff8ffbb2b
|
Merge branch 'hotfix-2.4.3' into develop
|
2017-05-25 10:43:52 +03:00 |
|
Timofey Solomko
|
ff0a2fca12
|
Preparations for 2.4.3.
|
2017-05-25 10:40:10 +03:00 |
|
Timofey Solomko
|
8080ea95ea
|
Fixed incorrect calculation of GzipHeader crc.
|
2017-05-25 10:35:19 +03:00 |
|
Timofey Solomko
|
102ba2a3e0
|
GzipHeader now checks ftext flag and provides a property for it.
|
2017-05-25 10:33:16 +03:00 |
|
Timofey Solomko
|
48c4397f15
|
GzipArchive.archive now respects options passed.
|
2017-05-25 10:32:17 +03:00 |
|
Timofey Solomko
|
d0657a0552
|
Updated XZArchive and ZlibArchive to conform to new Archive protocol requirements.
|
2017-05-25 10:28:51 +03:00 |
|
Timofey Solomko
|
308cf4808e
|
Added archive(...) function to Archive protocol with options argument.
|
2017-05-25 10:27:37 +03:00 |
|
Timofey Solomko
|
d50d720c61
|
Small refactor in TarContainer.
|
2017-05-24 17:57:08 +03:00 |
|
Timofey Solomko
|
9a1952b9e1
|
Small refactor in LZMADecoder.
|
2017-05-24 00:26:48 +03:00 |
|
Timofey Solomko
|
a19795736f
|
Updated ZipTests.
|
2017-05-21 20:15:14 +03:00 |
|
Timofey Solomko
|
12e40ea9fd
|
Optimized way of interchange of extended headers.
|
2017-05-21 19:31:04 +03:00 |
|
Timofey Solomko
|
ea721fff8d
|
Removed unused String extensions.
|
2017-05-21 19:23:11 +03:00 |
|
Timofey Solomko
|
47d9a1cece
|
Reworked parsing of pax extended headers.
|
2017-05-21 19:22:57 +03:00 |
|
Timofey Solomko
|
22639e808d
|
Implemented TarEntry.isDirectory.
|
2017-05-20 22:28:18 +03:00 |
|
Timofey Solomko
|
1ee8c0c047
|
Path keyword from pax headers is now also used in TarEntry.name.
|
2017-05-20 22:10:44 +03:00 |
|
Timofey Solomko
|
d90ee42b91
|
Added support for pax format.
|
2017-05-20 22:10:09 +03:00 |
|
Timofey Solomko
|
e9a4462b12
|
Added some String extensions.
|
2017-05-20 22:09:28 +03:00 |
|
Timofey Solomko
|
57aaabd912
|
Added doc for ZipEntry.isDirectory.
|
2017-05-13 13:17:49 +03:00 |
|
Timofey Solomko
|
b8d02d13ea
|
Added EntryType enum for Tar.
|
2017-05-13 13:17:34 +03:00 |
|
Timofey Solomko
|
ef5cd683a2
|
Implemented Zip isDirectory.
|
2017-05-13 13:03:28 +03:00 |
|
Timofey Solomko
|
5ba37f0ede
|
Tar modificationTime is now a Date.
|
2017-05-13 12:55:45 +03:00 |
|
Timofey Solomko
|
658c331c74
|
Added size and isDirectory properties to ContainerEntry, name is no longer Optional.
|
2017-05-09 21:08:17 +03:00 |
|
Timofey Solomko
|
dffceccb84
|
Fixed a mistake with length of fileComment.
|
2017-05-09 21:07:50 +03:00 |
|
Timofey Solomko
|
b99f7101ac
|
fileName and fileComment in CDEntries and LocalHeaders of ZIP are no longer Optionals.
|
2017-05-09 21:05:07 +03:00 |
|
Timofey Solomko
|
057e8158b0
|
Added new case to ZipError.
|
2017-05-09 21:04:26 +03:00 |
|
Timofey Solomko
|
b0022df8f9
|
Impelmented TarEntry.name.
|
2017-05-09 20:48:47 +03:00 |
|
Timofey Solomko
|
dd691516ba
|
Edited for line length in tests and whitespace conventions.
|
2017-05-09 20:31:44 +03:00 |
|
Timofey Solomko
|
8a0ba48827
|
Renamed LZMA errors.
|
2017-05-09 20:31:22 +03:00 |
|
Timofey Solomko
|
7c4d326984
|
Renamed errors’ cases to conform to naming conventions.
|
2017-05-09 20:26:26 +03:00 |
|
Timofey Solomko
|
4bca1546fb
|
Updated doc for ZipContainer.
|
2017-05-09 19:55:49 +03:00 |
|
Timofey Solomko
|
513e0e5b9a
|
Extracted TarEntry code, Tar classes now conform to protocols.
|
2017-05-09 19:55:38 +03:00 |
|
Timofey Solomko
|
77ff121ed0
|
Corrected misleading doc strings.
|
2017-05-09 00:43:58 +03:00 |
|
Timofey Solomko
|
f3487f746d
|
Made ZipEntry and ZipContainer conform to ContainerEntry and Container protocols. Also, ZipContainer cannot be isntantiated anymore. Entry handle their data now themselves.
|
2017-05-09 00:40:17 +03:00 |
|
Timofey Solomko
|
fb10aaa39f
|
Properties of ZipEntry renamed.
|
2017-05-09 00:38:53 +03:00 |
|
Timofey Solomko
|
fee8e59bca
|
ZipError.WrongCRC32 now has associated Data value.
|
2017-05-09 00:38:15 +03:00 |
|
Timofey Solomko
|
f07f85bc04
|
ContainerEntry.data is now a function.
|
2017-05-09 00:36:48 +03:00 |
|