2584 Commits
Author SHA1 Message Date
Timofey Solomko a9cdb50e85 Remove intFromAlignedBytes function
Also changes were made to adopt this removal. This was done to improve behavior in some corner cases as well as enforce intentional usage of particular integer types.
2017-07-09 13:29:33 +03:00
Timofey Solomko 9a4e1d6219 Add several toInt extensions to number types 2017-07-09 13:26:48 +03:00
Timofey Solomko eeefa31be0 Rename BitToByteWriter to BitWriter 2017-07-09 13:06:25 +03:00
Timofey Solomko ab931aa031 Rename DWP's prevAlignedByte to previousByte 2017-07-09 13:05:14 +03:00
Timofey Solomko cec206e672 Improve usage of DWP functions in some places 2017-07-09 13:04:09 +03:00
Timofey Solomko 6cd86a9aef Add uint16 function to DWP and BitReader 2017-07-09 13:03:47 +03:00
Timofey Solomko 98383f2bed Fix problem with reading zip64 data descriptor 2017-07-09 13:02:53 +03:00
Timofey Solomko cd6b748adb Fix problems with reading zip64 end of CD locator 2017-07-09 12:58:27 +03:00
Timofey Solomko 6bd66e4717 Reduce size of DWP functions' names
Also provide default values for count argmunets in uint32 and uint64 functions.
2017-07-09 12:44:03 +03:00
Timofey Solomko 369da20c16 Adopted DWP-BitReader split everywhere
I've also removed a most occurrences of inout keyword because DWP (and BitReader) are classes and they are already passed by reference in arguments.
2017-07-08 22:02:32 +03:00
Timofey Solomko 6eb62fc087 Adopted new BitOrder location for BitToByteWriter 2017-07-08 22:02:32 +03:00
Timofey Solomko af90da9eba Fix misaligned bytes from BitReader
Added overrides of DWP functions which call skipUntilNextByte() before calling superclass functions therefore restoring old behavior.
2017-07-08 22:02:32 +03:00
Timofey Solomko a4cd339fc4 Separated byte and bit reading parts of DWP into distinct class 2017-07-08 22:02:26 +03:00
Timofey Solomko dc49484cd5 Remove unnecessary pointerData arguments and properties from some internal LZMA classes 2017-07-08 17:26:32 +03:00
Timofey Solomko 850b82f49d Update copyright header in LZMA sources 2017-07-08 17:06:22 +03:00
Timofey Solomko 410ab31473 Split several more classes into separate files 2017-07-08 17:05:25 +03:00
Timofey Solomko 8e68695d7e Merge branch 'hotfix-3.1.3' into develop 2017-07-08 15:22:03 +03:00
Timofey Solomko 62f0c80b2b Merge branch 'hotfix-3.1.3' v3.1.3 2017-07-08 15:08:52 +03:00
Timofey Solomko 0d1e95253b Prepare for 3.1.3 2017-07-08 15:08:34 +03:00
Timofey Solomko 4b704a860c Remove known issue about gnu tar exts from readme 2017-07-08 14:13:10 +03:00
Timofey Solomko 4e5c011815 Support mtimestamps from zip ext timestamp extra field
Access time and creation time stamps will be added in the future.
2017-07-08 14:13:03 +03:00
Timofey Solomko ec8f66a6b6 Fix ending gnu long names with NULL byte 2017-07-08 13:18:52 +03:00
Timofey Solomko 261332abf0 Add support for gnu long names and links in tar 2017-07-08 13:10:53 +03:00
Timofey Solomko ca0543e220 Move some parts of code in TarEntry 2017-07-08 12:15:58 +03:00
Timofey Solomko e3b21c9d0f Merge branch 'hotfix-3.1.2' into develop 2017-07-08 00:22:32 +03:00
Timofey Solomko d237520ca5 Merge branch 'hotfix-3.1.2' v3.1.2 2017-07-08 00:16:59 +03:00
Timofey Solomko 70ef2c7c11 Prepare for 3.1.2 2017-07-08 00:16:33 +03:00
Timofey Solomko 0f2373c2b5 Add one more known issue to README
The issue is about gnu extensions to TAR format.
2017-07-08 00:12:59 +03:00
Timofey Solomko 6c323f9add Add tests for various tar formats 2017-07-08 00:08:08 +03:00
Timofey Solomko 872f6c623a Fix wrongUstarVersion error for gnu tar containers 2017-07-07 23:58:24 +03:00
Timofey Solomko 33e50397dd List new separate source files in podspec. 2017-07-06 19:59:11 +03:00
Timofey Solomko 3ce106d597 Implement TarEntry using DataWithPointer
This allows to simplify code a little bit as well as makes code looks more similar to other classes.
2017-07-06 19:54:22 +03:00
Timofey Solomko 2c2d2c614b Made multibyteDecode extension fileprivate 2017-07-06 18:47:21 +03:00
Timofey Solomko a10b47f334 Rearrange files in project 2017-07-06 18:46:31 +03:00
Timofey Solomko 0f54efb2e2 Implement auxilary int functions in tar as int extension 2017-07-06 18:45:33 +03:00
Timofey Solomko 39eea7c42a Split code into separate files
Overtime size of source files became unmanageble, so it is better to split them. Also internal zip structure have been renamed to include word zip.
2017-07-06 18:41:30 +03:00
Timofey Solomko f7103c494f Merge branch 'develop' v3.1.1 2017-07-05 22:29:12 +03:00
Timofey Solomko 5eae722316 Prepare for 3.1.1 2017-07-05 22:28:36 +03:00
Timofey Solomko f40975e1ce Throw error on non-number required tar entry fields
Previously, when encountering a required field from tar entry header which cannot be converted to Int SWCompression was silently skipping this problem and proceeding further. Now it throws `fieldIsNotNumber`, consistently with other fields.
2017-07-05 22:26:24 +03:00
Timofey Solomko 689ea51b29 Update docs for entryAttributes properties.
They now list what are possible values of keys of entryAttributes dictionary.
2017-07-05 22:25:56 +03:00
Timofey Solomko fe82ca0166 Set base of tar entry permissions to decimal
Previously, posix permissions in tar entries were octal-based. It was incosistent with zip entries and there is no way to specify base of a number. Moreover, FileManager.setAttributes(:) requires decimal-based numbers.
2017-07-05 22:24:06 +03:00
Timofey Solomko 62d8c0c200 Merge branch 'release-3.1.0' into develop 2017-07-03 18:43:55 +03:00
Timofey Solomko 1ae622f75f Merge branch 'release-3.1.0' v3.1.0 2017-07-03 18:43:04 +03:00
Timofey Solomko 7a2b3fe77e Preparations for 3.1.0. 2017-07-03 18:42:46 +03:00
Timofey Solomko e95edbebbd Updated test results. 2017-07-03 18:28:44 +03:00
Timofey Solomko cd832f6f1e Rebuilt documentation. 2017-07-03 14:37:48 +03:00
Timofey Solomko 9711ab8bcc Added missing documentation. 2017-07-03 14:37:32 +03:00
Timofey Solomko 1454f78eea Added custom categories for jazzy-generated documentation. 2017-07-03 14:37:19 +03:00
Timofey Solomko e7453b09aa Small text fixes for Readme. 2017-07-03 14:36:09 +03:00
Timofey Solomko 18a598fe17 Small text fixes. 2017-07-02 23:00:04 +03:00