Commit Graph

29 Commits

Author SHA1 Message Date
Timofey Solomko 1f7a5352a7 [BZip2] Explain zero RLE in the comments 2021-01-18 16:07:44 +02: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 113dcea56c [ZIP] Rename ByteReader.getZipStringField to zipString
This is consistent with tar extensions to ByteReader
2018-08-12 19:30:34 +03:00
Timofey Solomko 41ca39d1fa Remove certain TODOs 2018-04-10 23:26:35 +03:00
Timofey Solomko a0ef7a3cfe Swiftlinted 2018-04-10 23:22:31 +03:00
Timofey Solomko d5c8600137 Use more new BBD functions 2018-04-10 22:37:20 +03:00
Timofey Solomko 05852b179b Use new int(fromBytes:) function 2018-04-10 22:37:16 +03:00
Timofey Solomko 756cf23659 [ZIP] Add preconditions which check custom extra fields properties 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 146162132b [ZIP] Add internal support for Info-ZIP New unix extra field (0x7875) 2018-02-21 23:08:07 +03:00
Timofey Solomko 8315018de6 [ZIP] Add internal support for Info-ZIP unix extra field (0x7855) 2018-02-21 22:57:53 +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 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 b9cebf13e9 Remove dwp functions with count argument 2017-11-22 22:08:02 +03:00
Timofey Solomko 8114e55285 Make ZipCommon.getStringField function as an extension of DataWithPointer 2017-11-11 12:59:54 +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 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 4692dada35 Extract local header validate function 2017-10-21 12:50:07 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00