Timofey Solomko
ea9aaccfb9
Update copyright year to 2026
2026-01-31 15:30:24 +08:00
Timofey Solomko
ed66991cbd
Update copyright year to 2024
2024-01-11 16:57:04 +03:00
Timofey Solomko
43132fc39d
Update copyright year to 2023
2023-02-07 15:31:45 +02:00
Timofey Solomko
79295db930
Update copyright year to 2022
2022-01-08 15:02:59 +03:00
Timofey Solomko
e83f23effa
Update copyright year to 2021
2021-01-11 11:20:57 +02:00
Timofey Solomko
31ec1f1553
Update copyright year to 2020
2020-01-01 19:06:33 +03:00
Timofey Solomko
75b21ae107
Replace usage of ByteReader with LittleEndianByteReader
2019-05-01 19:34:30 +03:00
Timofey Solomko
ce47019097
Update copyright year to 2019
2019-01-02 23:15:43 +03:00
Timofey Solomko
12d8836529
[ZIP] Use the new ZipEntryInfoHelper and remove its properties from ZipEntryInfo
2019-01-01 13:28:50 +03:00
Timofey Solomko
c9115f367b
[ZIP] Replace stored local header and cd entry in ZipEntryInfo with separate actually required properties
2018-08-13 11:38:42 +03:00
Timofey Solomko
ffd47c3528
[ZIP] Set ZipEntryInfo.crc properly depending on the presence of data descriptor
2018-08-13 11:37:44 +03:00
Timofey Solomko
65fdc944bf
[ZIP] Remove useless code comments
2018-08-12 20:59:57 +03:00
Timofey Solomko
f0308c1ed8
[ZIP] Add public crc32 property to EntryInfo
2018-08-12 20:59:08 +03:00
Timofey Solomko
1d838c1d7e
Slightly simplify and improve certain code
2018-04-07 13:38:00 +03:00
Timofey Solomko
d4b728125b
[docs] Add documentation for ZIP custom extra fields related APIs
2018-03-31 13:46:04 +03:00
Timofey Solomko
0dc93bb077
[ZIP] Make names of properties of Standard extra fields shorter
2018-03-31 12:25:18 +03:00
Timofey Solomko
e35ea703dc
[ZIP] Add support for custom extra fields
2018-03-31 12:25:17 +03:00
Timofey Solomko
6ae80d98a6
[ZIP] Use new Standard Extra Field structs in central directory, local header and entry info
2018-03-31 12:25:17 +03:00
Timofey Solomko
112fa8bbb0
Date init from ntfs timestamp is no longer failable
...
The only reason for it to be was to propagate optionality of UInt64 argument. Instead we can if-let ntfs timestamp and call this initializer with non-optional argument. We also now force-unwrap ntfsReferenceDate, since it is likely to be a system problem if we cannot create definetely correct date from its components.
2018-03-25 23:42:53 +03:00
Timofey Solomko
f95b8116f2
[ZIP] Add public API for accessing uid and gid
...
These APIs are: ZipEntryInfo.ownerID and groupID (named for consistency with TarEntryInfo).
2018-02-21 23:14:44 +03:00
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
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
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
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
f2b03d3e42
Restore conformance to Container protocol of SevenZipContainer
...
Somehow I forgot to this...
2017-10-28 17:58:09 +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
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
4793ddbc47
Load and save local header in ZipEntryInfo
2017-10-28 12:59:44 +03:00
Timofey Solomko
b3ab5167c2
Rework some ZIP code in preparation for async API
2017-10-28 12:33:45 +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
590814fb17
Make Entries and EntryInfos structs instead of classes
2017-10-21 13:29:01 +03:00
Timofey Solomko
d5cb73f54c
Remove UnixType in favor of ContainerEntryType
2017-10-21 12:13:00 +03:00
Timofey Solomko
654d9381e9
Rework ZipEntryInfo
2017-10-18 00:08:05 +03:00
Timofey Solomko
58e099b1c9
Move zip cd entry init into ZipEntryInfo init
2017-10-17 23:37:16 +03:00
Timofey Solomko
6417c6af73
Make type non-optional in Tar and Zip
2017-10-11 13:32:07 +03:00
Timofey Solomko
d6d29f32d4
Restore conformance of Zip classes to Container... protocols
...
Also remove unnecessary code from ZipEntry
2017-10-10 16:36:56 +03:00
Timofey Solomko
0a2003380d
Add ZipEntryInfo class
2017-10-10 16:24:38 +03:00