Timofey Solomko
|
309a07ed15
|
[docs] Slightly simplify notes about entries order of container functions
|
2018-03-17 15:37:41 +03:00 |
|
Timofey Solomko
|
08473e1aff
|
Add missing documentation for unknownExtendedHeaderRecords
|
2018-03-04 12:09:31 +03:00 |
|
Timofey Solomko
|
a1db77ae25
|
[TAR] Add a workaround for situation when prefix has trailing slash to prevent double slashes
|
2018-03-03 13:12:52 +03:00 |
|
Timofey Solomko
|
a73f5ddcde
|
[TAR] Add unknownExtendedHeaderRecords to TarEntryInfo
|
2018-03-03 12:34:16 +03:00 |
|
Timofey Solomko
|
5c2e4af0d6
|
[TAR] Use new extended header properties in TarEntryInfo
|
2018-03-03 12:00:31 +03:00 |
|
Timofey Solomko
|
068b83d62f
|
[TAR] Add known extended header fields as properties to TarExtendedHeader
|
2018-03-03 01:14:51 +03:00 |
|
Timofey Solomko
|
d1496deb95
|
[docs] Update docs comments for several TarEntryInfo properties
|
2018-02-11 14:31:44 +03:00 |
|
Timofey Solomko
|
1e67373a4e
|
[TAR] Fix incorrect entry names when prefix field is used
Apparently, prefix and name should be separated by "/" (when prefix is not NULL).
|
2018-02-11 13:13:14 +03:00 |
|
Timofey Solomko
|
e0bdd4f774
|
[TAR] Read magic as UInt64
|
2018-02-08 00:07:45 +03:00 |
|
Timofey Solomko
|
8fa195d560
|
[TAR] Replace Int.roundTo512() function with bitwise inlinable version in common Extensions file
|
2018-01-17 12:12:29 +03:00 |
|
Timofey Solomko
|
fe3f1df588
|
[TAR] Remove Int.octalToDecimal() extension function, since it isn't used anymore
|
2018-01-12 21:41:19 +03:00 |
|
Timofey Solomko
|
ac2f097049
|
[TAR] Use stdlib's Int from String initializer with radix parameter where possible
|
2018-01-12 21:40:43 +03:00 |
|
Timofey Solomko
|
e714dc308b
|
Updated copyright year to 2018
|
2018-01-03 19:44:18 +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
|
36b4654521
|
Correct doc string for TarError.wrongField
|
2017-11-18 11:08:52 +03:00 |
|
Timofey Solomko
|
556e42e179
|
Add and update documentation
|
2017-11-14 20:37:20 +03:00 |
|
Timofey Solomko
|
e023088e5e
|
Fix potential force unwrapping of nil value of size in TAR
|
2017-11-14 19:42:25 +03:00 |
|
Timofey Solomko
|
7ec2752ceb
|
TarEntryInfo.name is no longer Optional
|
2017-11-11 13:28:27 +03:00 |
|
Timofey Solomko
|
8cf85305d4
|
ContainerEntryInfo.name is no longer Optional
|
2017-11-11 13:27:36 +03:00 |
|
Timofey Solomko
|
5a7b8dc812
|
Swiftlint autocorrect
|
2017-11-04 23:30:54 +03:00 |
|
Timofey Solomko
|
5e0b10b816
|
Merge two buffer functions from TAR into one
|
2017-11-04 11:56:22 +03:00 |
|
Timofey Solomko
|
353ff964b9
|
Merge two TarErrors into one
|
2017-11-04 11:51:16 +03:00 |
|
Timofey Solomko
|
3c6a6677be
|
Make private couple of dwp+tar functions
|
2017-11-04 11:45:21 +03:00 |
|
Timofey Solomko
|
a9dd1c4620
|
Remove "from" argument labels from various internal inits
|
2017-10-28 17:11:23 +03:00 |
|
Timofey Solomko
|
6f8b583d7b
|
Set type regular for tar entries with 0 file type indicator
|
2017-10-28 13:58:20 +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
|
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
|
bdfaa3d073
|
Rework TarContainer.open to first call info() and then get data based on info entries
|
2017-10-21 13:50:02 +03:00 |
|
Timofey Solomko
|
05fa830c05
|
Move gnu long name tar extensions support code into TarEntryInfo
|
2017-10-21 13:42:20 +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
|
36817f43b4
|
Add a couple of todos into TarContainer
|
2017-10-18 00:07:51 +03:00 |
|
Timofey Solomko
|
dace2acec2
|
Slightly improve code of TAR
|
2017-10-15 00:07:05 +03:00 |
|
Timofey Solomko
|
67573c7048
|
Implement TarContainer.info
|
2017-10-14 23:41:50 +03:00 |
|
Timofey Solomko
|
3e18f3626b
|
Rework TarEntryInfo initialization process
It allows to make every property let constant and make init smaller
|
2017-10-14 23:14:55 +03:00 |
|
Timofey Solomko
|
95f9c5f1c9
|
Create pax extended headers in TarContainer.open()
|
2017-10-14 00:31:42 +03:00 |
|
Timofey Solomko
|
38f7c19188
|
Parse pax extended headers in tar entry info
|
2017-10-14 00:31:20 +03:00 |
|
Timofey Solomko
|
489a3a693f
|
Accept Optional(Data) in TarExtendedHeader
|
2017-10-14 00:30:54 +03:00 |
|
Timofey Solomko
|
77dccc5365
|
Make TarExtendedHeader more compact by keeping only dictionary
|
2017-10-14 00:08:40 +03:00 |
|
Timofey Solomko
|
47a5924109
|
Add TarExtendedHeader struct
|
2017-10-12 19:33:44 +03:00 |
|
Timofey Solomko
|
0feeb2a32e
|
Add unixType property to TarEntryInfo
|
2017-10-11 14:55:30 +03:00 |
|
Timofey Solomko
|
5c1f4b5d11
|
Replace mode with permissions
|
2017-10-11 14:52:48 +03:00 |
|
Timofey Solomko
|
3a8ebb2695
|
Make public and Int type deviceMajorNumber and deviceMinorNumber
|
2017-10-11 14:49:04 +03:00 |
|
Timofey Solomko
|
9abff8ff5c
|
Remove TarEntryInfo.EntryType
|
2017-10-11 14:26:01 +03:00 |
|
Timofey Solomko
|
82037f1c9f
|
Remove gnuLongLinkName property
|
2017-10-11 14:24:36 +03:00 |
|