8 Commits
Author SHA1 Message Date
Timofey Solomko 0b611edbea Fix problem with repeated access to zip entry's data 2017-07-15 22:08:33 +03:00
Timofey Solomko 7ba077aab7 Extract some common code for ZIP 2017-07-15 20:03:25 +03:00
Timofey Solomko fad0e5c83a Add support for ZIP standard cp437 encoding
This encoding is used by ZIP standard. We fallback to UTF-8 encoding if CP437 encoding is unavailable on the platform or it is detected that the text is actually in UTF-8 encoding. The latter is needed because files created by Info-ZIP with UTF-8 names doesn't actually have bit flag which is required (again, according to standard) for UTF-8.
2017-07-14 18:11:00 +03:00
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 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 8e68695d7e Merge branch 'hotfix-3.1.3' into develop 2017-07-08 15:22:03 +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