69 Commits

Author SHA1 Message Date
Nathan Moinvaziri
e9ae46ba27 Fixed check for zero read to only break when no bytes decompressed. 2018-11-21 19:31:08 -08:00
Nathan Moinvaziri
ad82950a53 Add check to see that bytes were written. 2018-11-21 19:14:07 -08:00
Nathan Moinvaziri
d46559398f Allow decompression even though zero bytes read. 2018-11-20 03:18:22 -08:00
Nathan Moinvaziri
1ee609b759 Make inttypes.h optional. #345 2018-11-19 21:34:35 -08:00
Nathan Moinvaziri
fd2fb24b4e Fixed warnings when compression is not supported. 2018-11-19 20:03:20 -08:00
Nathan Moinvaziri
4d29ba4782 Fixed compiler warnings with MZ_ZIP_NO_COMPRESSION. 2018-11-13 18:03:09 -08:00
Nathan Moinvaziri
b2b082c67d Version 2.7.5. 2018-11-13 15:22:15 -08:00
Nathan Moinvaziri
c47090678d Version 2.7.4. 2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
826113fd6c Version 2.7.3. 2018-11-04 12:52:58 -08:00
Nathan Moinvaziri
e63d231fa5 Moved crc hashing and pbkdf2 to crypt.
Provide backup crc32 function if zlib or lzma not used.
Fixed check for no signing in minizip.
2018-11-03 19:45:41 -07: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
a221da4ae0 Version 2.7.0. 2018-10-28 16:47:53 -07:00
Nathan Moinvaziri
05e03cad8e Added additional error codes to aid in debugging. 2018-10-28 16:15:13 -07:00
Nathan Moinvaziri
73660f9c98 Fixed potential infinite loop when reading LZMA with data error. 2018-10-09 17:03:57 -07: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
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
85d36c5e83 Clean up includes. #306 2018-08-31 16:43:41 -07:00
Nathan Moinvaziri
351b14e512 Version 2.5.2. 2018-08-27 19:06:59 -07:00
Nathan Moinvaziri
2b3cd16b6f Version 2.5.1. 2018-08-18 08:14:27 -07:00
Nathan Moinvaziri
c98dec4291 Version 2.5.0. 2018-08-15 07:37:30 -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
a6d1f6692e Changed name of compression inclusion #defines. 2018-07-22 10:35:49 -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
b0a005644d Cleanup, fixed formatting. 2018-07-11 15:34:45 -07:00
Nathan Moinvaziri
d7814e9b8d Finialize compression stream even if nothing written due to compatibility with other zip apps. #277
Changed pkcrypt to use crc32 update function instead of doing calculation from crc32 table.
Modified mz_zip_entry_read to not return when uncompressed_size is 0 due to the fact that it is possible for 0-byte files to have packed bytes if using deflate method.
2018-07-11 14:54:14 -07:00
Nathan Moinvaziri
155f8b52b2 Version 2.3.5. 2018-07-09 08:13:28 -07:00
Nathan Moinvaziri
8871f6c0f1 Expose more prop values from streams.
Simplify some logic.
2018-07-08 19:23:56 -07:00
Nathan Moinvaziri
2cf91c09ce Don't finalize compression stream if nothing written. #277 2018-07-08 18:53:52 -07:00
Nathan Moinvaziri
77dcb77506 Fixed lzma not flushing all remaining codes. #275 2018-07-07 12:21:25 -07:00
Nathan Moinvaziri
b70b824b19 Version 2.3.4. 2018-06-19 12:30:12 -07:00
Nathan Moinvaziri
0a9282d2f0 Added support for only using either compression or decompression with continued support for raw mode.
Renamed MZ_USE_WINRT_API to MZ_WINRT_API.
2018-06-19 11:59:07 -07:00
Nathan Moinvaziri
7bdfbf4699 Version 2.3.3. 2018-06-10 09:09:07 -07:00
Nathan Moinvaziri
4a7723357e Fixed casting issues after crc32 changes for mac. 2018-06-10 09:07:35 -07:00
Nathan Moinvaziri
30e859be0b Version 2.3.2. 2018-05-29 08:48:05 -07:00
Nathan Moinvaziri
5b204622cc Modified pkcrypt to use crc32 table from zlib or lzma. 2018-05-23 20:39:12 -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
0e2e1a0b05 Fixed compiler warnings on mac. #263 2018-05-09 00:31:25 -07:00
Nathan Moinvaziri
a4b83e8e95 Version 2.3.0. 2018-05-03 17:59:04 -07:00
Nathan Moinvaziri
586300a787 Use MZ_UNUSED where applicable. #262 2018-05-02 20:07:45 -07:00
Nathan Moinvaziri
92c8d77cfb
Merge pull request #262 from vszakats/warn2
silence various warnings
2018-05-02 20:04:57 -07:00
Nathan Moinvaziri
5244fc00c4 Added MZ_UNUSED #262
Added #define for malloc and free. #249
2018-05-02 20:01:35 -07:00
Viktor Szakats
4c76400cce silence various warnings
- unused parameters
- trivial const stripping cases
- missing NULL initializers from vtbls
- missing static scope for vtbls

Missing newlines at EOF addressed in a separate PR.
It's be nice to replace `ZIP_UNUSED var` and `(void)var`
with a global and non-gcc-specific solution, such as:
   #define MZ_UNUSED(symbol)  (void)symbol
2018-05-02 21:40:29 +00:00
Nathan Moinvaziri
0619c3e6c4 Merge branch 'dev' of https://github.com/nmoinvaz/minizip into dev 2018-05-01 13:51:13 -07:00