Nathan Moinvaziri
1d6d183af6
Fixed more compiler warnings.
2018-11-10 09:03:55 -08:00
Nathan Moinvaziri
0dfcdf91ba
Added function to rebuild central directory if corrupted or not found.
...
Fixed possible memory leak with pkcrypt when failure to open entry. (thx akmistry)
Move the reading and writing of data descriptors to their own functions.
Added debug printing for zip class.
Use mz seek defines.
2018-11-07 20:33:47 -08:00
Nathan Moinvaziri
c47090678d
Version 2.7.4.
2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
a4fc2c5e85
Fixed typo
2018-11-05 15:16:23 -08:00
Nathan Moinvaziri
826113fd6c
Version 2.7.3.
2018-11-04 12:52:58 -08:00
Nathan Moinvaziri
888e8a7324
Version 2.7.2.
2018-11-02 17:47:53 -07:00
Nathan Moinvaziri
54dffe95e9
Version 2.7.1.
2018-11-01 10:40:24 -07:00
Nathan Moinvaziri
7eb65ad2ae
Removed old function from header.
2018-10-31 18:28:19 -07:00
Nathan Moinvaziri
a221da4ae0
Version 2.7.0.
2018-10-28 16:47:53 -07:00
Nathan Moinvaziri
915c513abe
Fixed winzip aes encryption with zero byte files.
...
Allow greater buffer to be passed in for hashing functions.
Fixed crc32 values not being stored in zip.
When reading zip get best hash to test against in signature.
Fixed formatting.
2018-10-26 20:00:52 -07:00
Nathan Moinvaziri
566dfe0dcd
Added openssl configurations.
...
Fixed formatting.
2018-10-26 00:36:30 -07:00
Nathan Moinvaziri
8cb7df741a
Moved cp437 encoding function to zip class.
...
Removed util class and moved shared functions into mz_os.
Added USE_COMPAT to cmake which turns on/off compatibility layer.
2018-10-25 08:39:48 -07:00
Nathan Moinvaziri
e1f68fca9c
Added signing support for zip (windows only rn).
...
Moved sha1 hash into zip reader/writer.
Added sha2 library.
2018-10-23 09:04:04 -07:00
Nathan Moinvaziri
413822a040
Store SHA1 hash of uncompressed content when compiling with USE_AES.
...
Added hash extrafield documented on wiki.
2018-10-20 09:45:07 -07:00
Nathan Moinvaziri
c565fa8f88
Added support for masking local file info.
...
Added functions to access the central dir streams.
2018-10-19 08:48:33 -07:00
Viktor Szakats
9dea6f2495
Secure URLs
2018-10-17 22:39:01 +00:00
Nathan Moinvaziri
ff6f2a1db6
Version 2.6.0.
2018-10-08 23:48:58 -07:00
Nathan Moinvaziri
904c408575
Fixed compiler warnings.
2018-10-08 23:31:21 -07:00
Nathan Moinvaziri
2bb21d769c
Fixed bugs reading posix file attributes.
2018-10-08 21:47:15 -07:00
Nathan Moinvaziri
ca8059ef61
Version 2.5.4.
2018-09-30 10:44:16 -07:00
Nathan Moinvaziri
825bfb8fbf
Version 2.5.3.
2018-09-18 20:34:01 -07:00
Nathan Moinvaziri
351b14e512
Version 2.5.2.
2018-08-27 19:06:59 -07:00
Nathan Moinvaziri
638f31ff41
Move CP437 encoding handling higher up the stack.
2018-08-27 08:17:16 -07:00
Nathan Moinvaziri
b994caeab9
Added function to get stream pointer used for mz_zip_open.
2018-08-20 16:01:08 -07:00
Nathan Moinvaziri
4b8e4b372c
Set the file attributes for the correct system for extracted files.
...
Added reading of time from info-zip unix extra field v1.
2018-08-20 09:06:23 -07:00
Nathan Moinvaziri
2b3cd16b6f
Version 2.5.1.
2018-08-18 08:14:27 -07:00
Nathan Moinvaziri
590e5909b3
Removed duplicate extern keyword.
2018-08-17 11:10:35 -07:00
Nathan Moinvaziri
c98dec4291
Version 2.5.0.
2018-08-15 07:37:30 -07:00
Nathan Moinvaziri
829ffb5cce
Fixed check for directory if path ends with slash.
...
Fixed return error if compression method is not supported.
2018-08-14 14:00:16 -07:00
Nathan Moinvaziri
9a170d4d60
Added zip reader/writer class to encapsulate a lot of functionality.
...
Added create/delete functions for zip class.
Simplify locating an entry by filename.
Added more advanced functions for locating an entry based on callback decision.
Change default mem grow size to 64kb since we have unzOpen_MZ and zipOpen_MZ. #283
2018-08-13 23:07:42 -07:00
Nathan Moinvaziri
77687f3a42
Added default comparison function for locating entry that ignores path slashes.
...
Check current entry when locating entry before starting from first entry.
Added function to determine if entry has been opened.
Return error if can't find eocd otherwise any file will be considered open successfully.
2018-08-09 16:29:26 -07:00
Nathan Moinvaziri
d08e1561d9
Change order of parameters for consistency. #294
2018-08-08 09:43:14 -07:00
Nathan Moinvaziri
26308b244e
Use uint8_t for raw parameter. #294
2018-08-08 09:40:15 -07:00
Nathan Moinvaziri
fa146ad6bd
Clean up reading and writing of raw entries. #294
...
Fixed ambiguity between store and raw.
Added raw parameter to entry write open function.
2018-08-07 23:50:31 -07:00
Nathan Moinvaziri
0f8d91101b
Version 2.4.0.
2018-08-05 10:33:42 -07:00
Nathan Moinvaziri
a8f4a09de6
Version 2.3.9.
2018-07-26 17:56:05 -07:00
Nathan Moinvaziri
ae724eff61
Version 2.3.8.
2018-07-14 09:53:56 -07:00
Nathan Moinvaziri
f873eccdd2
Version 2.3.7.
2018-07-13 08:31:40 -07:00
Nathan Moinvaziri
ffa830f684
Version 2.3.6.
2018-07-11 16:34:01 -07:00
Nathan Moinvaziri
155f8b52b2
Version 2.3.5.
2018-07-09 08:13:28 -07:00
Nathan Moinvaziri
b70b824b19
Version 2.3.4.
2018-06-19 12:30:12 -07:00
Nathan Moinvaziri
7bdfbf4699
Version 2.3.3.
2018-06-10 09:09:07 -07:00
Nathan Moinvaziri
30e859be0b
Version 2.3.2.
2018-05-29 08:48:05 -07:00
Nathan Moinvaziri
e1aad8c445
Version 2.3.1.
2018-05-09 19:48:55 -07:00
Nathan Moinvaziri
408940f16c
Fixed more warnings. #263
2018-05-09 09:42:31 -07:00
Nathan Moinvaziri
3431a6635b
Fixed more compiler warnings. #263
2018-05-06 16:59:31 -07:00
Nathan Moinvaziri
a4b83e8e95
Version 2.3.0.
2018-05-03 17:59:04 -07:00
Nathan Moinvaziri
46f714348e
Simplification & fixed formatting. #258
2018-05-03 17:24:32 -07:00
Nathan Moinvaziri
a56a08cf79
Allow configuration of zip64 support. #258
2018-05-03 09:35:37 -07:00
Nathan Moinvaziri
bb3b75bc09
Fixed directory compression method.
...
Move zip attribute detection to mz_zip. #257
2018-05-02 10:48:51 -07:00