99 Commits

Author SHA1 Message Date
Nathan Moinvaziri
03e4d2213d Remove copyright years. 2023-02-16 13:14:21 -08:00
Nathan Moinvaziri
848c3e3503 Removed empty lines. 2022-11-29 17:19:49 -08:00
Hayden
9184ba1216 Link zlib-ng native if available. #574 2022-03-05 13:17:04 -08:00
Nathan Moinvaziri
db95894646 Updated name of project to minizip-ng. 2021-01-23 16:19:05 -08:00
Nathan Moinvaziri
67ccd375fc Capture error codes from deflate streams. 2020-06-19 21:57:33 -07:00
Nathan Moinvaziri
70811ac6f5 Remove version number from headers. 2020-06-19 21:21:12 -07:00
Nathan Moinvaziri
dc6962b5fa Use same brace style as zlib. 2020-06-14 22:00:02 -07:00
Nathan Moinvaziri
2aa369c468 Version 2.9.3. 2020-05-21 07:31:09 -07:00
Nathan Moinvaziri
b39f7a0e89 Version 2.9.2. 2020-02-12 08:38:09 -08:00
Chunmei Xu
5fb912b825 fix build error with zlib-ng compat
when build zlib-ng with zlib-compat and ZLIB_COMPAT-ON,
error like this:
/home/minizip/minizip-2.9.1/mz_crypt.c:19:14: fatal error:
-ng.h: No
such file or directory
include "zlib-ng.h"
/home/minizip/minizip-2.9.1/mz_strm_zlib.c:19:12: fatal error:
zlib-ng.h: No such file or directory
include "zlib-ng.h"

Signed-off-by: Chunmei Xu <xuchunmei@linux.alibaba.com>
2020-02-12 18:16:10 +08:00
Nathan Moinvaziri
370ab036f3 Version 2.9.1. 2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
10ac291d91 Version 2.9.0. 2019-09-18 16:55:43 -07:00
Nathan Moinvaziri
cc3aa21c2d Remove break if no bytes read because bytes might still be output.
Remove unnecessary in_bytes or out_bytes check.
2019-09-17 10:03:16 -07:00
Nathan Moinvaziri
a9f88d4b78
Fixed formatting 2019-09-06 18:26:13 -07:00
Ryan Desmond
58dfe87d1d Fix issue with truncated ZLIB output. 2019-09-06 11:49:11 -04:00
Nathan Moinvaziri
32fd805440 Version 2.8.9. 2019-07-04 10:32:02 -07:00
plo-
74354ebfb3 Fix return of mz_stream_zlib_get_prop_int64() for PROP_COMPRESS_WINDOW 2019-06-19 10:40:05 +02:00
Nathan Moinvaziri
fbfd4e82f7 Version 2.8.8. 2019-05-22 17:50:39 -07:00
Nathan Moinvaziri
64c4c7f868 Version 2.8.7. 2019-05-09 18:46:18 -07:00
Nathan Moinvaziri
3c438164bd Added gzip example app. 2019-04-28 09:23:56 -07:00
Nathan Moinvaziri
4fe0687243 Version 2.8.6. 2019-04-08 13:26:32 -07:00
Nathan Moinvaziri
488f20ff1b Version 2.8.5. 2019-03-17 09:38:10 -07:00
Nathan Moinvaziri
9805ab4117 Version 2.8.4. 2019-02-14 17:16:01 -08:00
Nathan Moinvaziri
2e2f995eda Version 2.8.3. 2019-01-26 16:49:48 -08:00
Nathan Moinvaziri
e282739da2 Fixed unit tests.
Added support for ZLIB_COMPAT to be configurable.
2019-01-26 00:05:36 -08:00
Nathan Moinvaziri
84ec941f15 ZLIB_COMPAT is not defined for libminizip project, so just always use zng_ when zlib-ng is detected. 2019-01-22 10:23:03 -08:00
Nathan Moinvaziri
e51dd48a91 Fixed reference to zlib stream. 2019-01-21 15:09:10 -08:00
Nathan Moinvaziri
208a051c36 Added support for compiling without ZLIB_COMPAT. zlib-ng/zlib-ng#156 2019-01-21 14:39:19 -08:00
Nathan Moinvaziri
2ca7f3950c Version 2.8.2. 2019-01-08 16:07:10 -08:00
Nathan Moinvaziri
1ff40343b5 Version 2.8.1. 2018-12-01 09:59:19 -08:00
Nathan Moinvaziri
5cb88b8f09 Version 2.8.0. 2018-11-24 17:59:11 -08:00
Nathan Moinvaziri
b4d88d426b Fixed compiler warnings and fixed erase unit test. 2018-11-23 10:30:04 -08:00
Nathan Moinvaziri
1b6fcaca41 Code cleanup. 2018-11-22 09:02:10 -08:00
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
b16ab566ef Change comments to C89 style.
Added _POSIX_C_SOURCE definition for necessary version of POSIX.
2018-11-20 16:56:21 -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
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
73660f9c98 Fixed potential infinite loop when reading LZMA with data error. 2018-10-09 17:03:57 -07:00