Timofey Solomko
|
d7390ec44f
|
[ZIP] Native time and date are now relative to current timezone and calendar used by system
|
2018-01-28 19:58:40 +03:00 |
|
Timofey Solomko
|
2be06c8c0a
|
Use ByteReader in all ZIP-related code
We can do this since we don't have asynchronous concerns anymore.
|
2018-01-07 15:12:59 +03:00 |
|
Timofey Solomko
|
e714dc308b
|
Updated copyright year to 2018
|
2018-01-03 19:44:18 +03:00 |
|
Timofey Solomko
|
e986561487
|
Replace Int() conversions with toInt() functions
|
2018-01-03 19:22:15 +03:00 |
|
Timofey Solomko
|
c8d92e56d3
|
Replace BitReader and ByteReader with BitByteData's implementations
|
2018-01-03 19:22:15 +03:00 |
|
Timofey Solomko
|
20ab480737
|
Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
|
2018-01-03 19:22:14 +03:00 |
|
Timofey Solomko
|
b9eeb1bc7c
|
Rename ByteReader.index to offset
|
2018-01-03 19:22:13 +03:00 |
|
Timofey Solomko
|
3751e25c4f
|
Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
|
2018-01-03 19:22:13 +03:00 |
|
Timofey Solomko
|
e05f917210
|
Improve compile time
|
2017-12-24 14:57:35 +03:00 |
|
Timofey Solomko
|
13d411e47c
|
Optimise zip's needsUtf8 function
|
2017-12-24 14:57:34 +03:00 |
|
Timofey Solomko
|
a447e6adcf
|
Don't check unicodeness of zip strings if language encoding flags is set
|
2017-11-22 23:04:21 +03:00 |
|
Timofey Solomko
|
b9cebf13e9
|
Remove dwp functions with count argument
|
2017-11-22 22:08:02 +03:00 |
|
Timofey Solomko
|
556e42e179
|
Add and update documentation
|
2017-11-14 20:37:20 +03:00 |
|
Timofey Solomko
|
60ad7a15b9
|
Fix build problem on linux
|
2017-11-11 13:43:58 +03:00 |
|
Timofey Solomko
|
8cf85305d4
|
ContainerEntryInfo.name is no longer Optional
|
2017-11-11 13:27:36 +03:00 |
|
Timofey Solomko
|
1164d8eafb
|
Extract new DWP zip string extension into a separate file and rename remaning file
|
2017-11-11 13:05:12 +03:00 |
|
Timofey Solomko
|
8114e55285
|
Make ZipCommon.getStringField function as an extension of DataWithPointer
|
2017-11-11 12:59:54 +03:00 |
|
Timofey Solomko
|
feb41deed1
|
Return Data instead of UInt8 arrays in internal decompress functions
|
2017-11-11 12:54:31 +03:00 |
|
Timofey Solomko
|
03e6ed4256
|
Deal with Data object instead of bytes array in ZipContainer's getEntryData()
|
2017-11-11 12:49:49 +03:00 |
|
Timofey Solomko
|
acb3d4d231
|
Simplify Zip's LZMA code by utilizing main LZMA decompress function
|
2017-11-11 12:48:08 +03:00 |
|
Timofey Solomko
|
2ff3b12b73
|
Remove converting sizes to Int in ZipContainer.getEntryData
|
2017-11-11 12:46:55 +03:00 |
|
Timofey Solomko
|
6b8c90f0bd
|
FileSystemType properties can no longer be nil
|
2017-11-11 11:46:22 +03:00 |
|
Timofey Solomko
|
5a7b8dc812
|
Swiftlint autocorrect
|
2017-11-04 23:30:54 +03:00 |
|
Timofey Solomko
|
1f752affc3
|
ZipError.wrongCRC now includes all already processed entries
|
2017-11-04 22:11:55 +03:00 |
|
Timofey Solomko
|
9236940eac
|
Rename ZipError.wrongCRC32 to ZipError.wrongCRC
|
2017-11-04 17:28:57 +03:00 |
|
Timofey Solomko
|
f6808671a9
|
Add workaround for compilation problem in ZipContainer
|
2017-10-31 20:18:53 +03:00 |
|
Timofey Solomko
|
c445e09c92
|
Rename LZMATempDecoder into LZMADecoder
|
2017-10-29 12:54:35 +03:00 |
|
Timofey Solomko
|
bca275f3aa
|
Remove label from the argument of setProperties function
|
2017-10-29 12:37:28 +03:00 |
|
Timofey Solomko
|
75ecd316a9
|
Use new LZMA decoder in ZIP
|
2017-10-29 12:08:15 +03:00 |
|
Timofey Solomko
|
f2b03d3e42
|
Restore conformance to Container protocol of SevenZipContainer
Somehow I forgot to this...
|
2017-10-28 17:58:09 +03:00 |
|
Timofey Solomko
|
dc6ad70168
|
Small updates to comments in a couple of cases
|
2017-10-28 17:50:00 +03:00 |
|
Timofey Solomko
|
15f954cd46
|
Use new compression method enum in ZIP
|
2017-10-28 17:45:01 +03:00 |
|
Timofey Solomko
|
a9dd1c4620
|
Remove "from" argument labels from various internal inits
|
2017-10-28 17:11:23 +03:00 |
|
Timofey Solomko
|
d7072e732b
|
Use new FileSystemType enum for new fileSystemType property in ZIP
|
2017-10-28 17:07:57 +03:00 |
|
Timofey Solomko
|
8b67fca4fe
|
Directories from TAR and ZIP now have nil for their data
|
2017-10-28 13:44:13 +03:00 |
|
Timofey Solomko
|
1146c215fd
|
Remove some redundant checks in local header validation
|
2017-10-28 13:05:18 +03:00 |
|
Timofey Solomko
|
9f74cfb793
|
Move validation into local header and call it from entry info init
|
2017-10-28 13:02:57 +03:00 |
|
Timofey Solomko
|
4bfdd9a306
|
Set access and creation time to exttimestamps and NTFS extra fields from localHeader if possible
|
2017-10-28 13:00:55 +03:00 |
|
Timofey Solomko
|
95f9139d29
|
Use local header from entry info in getEntryData
|
2017-10-28 13:00:11 +03:00 |
|
Timofey Solomko
|
4793ddbc47
|
Load and save local header in ZipEntryInfo
|
2017-10-28 12:59:44 +03:00 |
|
Timofey Solomko
|
05dc6ce35e
|
Check and skip ZIP's archive extra data record before central directory
|
2017-10-28 12:49:34 +03:00 |
|
Timofey Solomko
|
b3ab5167c2
|
Rework some ZIP code in preparation for async API
|
2017-10-28 12:33:45 +03:00 |
|
Timofey Solomko
|
8de32b42c5
|
Remove unused property ZipLocalHeader.headerSize
|
2017-10-28 11:30:20 +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
|
0d3369a4e5
|
Rename some variables for consistency
|
2017-10-21 13:51:20 +03:00 |
|
Timofey Solomko
|
590814fb17
|
Make Entries and EntryInfos structs instead of classes
|
2017-10-21 13:29:01 +03:00 |
|
Timofey Solomko
|
3615b59bfb
|
Use new info function in ZipContainer.open
|
2017-10-21 13:21:03 +03:00 |
|
Timofey Solomko
|
c2b55cc590
|
Add ZipContainer.info function
|
2017-10-21 13:20:48 +03:00 |
|
Timofey Solomko
|
3a2a430a5b
|
Fix more properly various problems with type conversions of zip64 size and offset fields
|
2017-10-21 13:16:38 +03:00 |
|