52 Commits

Author SHA1 Message Date
Nathan Moinvaziri
217adc9363 Remove first param from create functions.
Better handle low memory situations.
2023-04-09 11:14:26 -07:00
Nathan Moinvaziri
c9fc27ccee Use calloc instead of malloc + memset and use strdup where possible. 2023-02-24 14:35:31 -08:00
Nathan Moinvaziri
261041dabc Remove useless MZ_CUSTOM_ALLOC and MZ_CUSTOM_FREE.
It would have required an include to make it useful.
2023-02-24 14:23:04 -08:00
Nathan Moinvaziri
f07faecdde Remove all comparisons to NULL. 2023-02-19 16:04:13 -08:00
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
Nathan Moinvaziri
db95894646 Updated name of project to minizip-ng. 2021-01-23 16:19:05 -08:00
Nathan Moinvaziri
052ceb1726 Use COMPRESSION_ZLIB when compiling against Apple's libCompression. #478 2020-12-27 17:38:43 -08:00
Nathan Moinvaziri
a734386650 Fixed bugs compiling liblzma with libcompression. 2020-10-25 15:22:10 -07:00
Nathan Moinvaziri
1a7e7e4a4c Fixed issues with XZ compression when using libcompression. 2020-10-25 15:10:58 -07:00
Nathan Moinvaziri
ff7ef66155 Added XZ compression method for libcompression. 2020-10-25 12:27:29 -07:00
Nathan Moinvaziri
cda49c2bf1 Fixed MZ_STREAM_PROP_COMPRESS_ALGORITHM renamed. 2020-10-25 12:09:51 -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
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
32fd805440 Version 2.8.9. 2019-07-04 10:32:02 -07: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
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
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
b066fd9677 Set COMPRESSION_STREAM_FINALIZE properly. 2018-11-20 20:21:42 -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
d31c5de5b0 Merge branch 'dev' of https://github.com/nmoinvaz/minizip into dev 2018-11-21 19:14:14 -08:00
Nathan Moinvaziri
ad82950a53 Add check to see that bytes were written. 2018-11-21 19:14:07 -08:00
Nathan Moinvaziri
39365dd10d Fixed wrong error code set from zlib.h instead of mz.h. 2018-11-21 15:18:47 -08:00
Nathan Moinvaziri
e849627093 Move stdio to the source files that use them.
Fixed limits redefinition for windows.
Clean up headers.
2018-11-21 15:05:58 -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
90d31c791d Fixed libcompression compilation. 2018-11-20 03:18:04 -08:00
Nathan Moinvaziri
1ee609b759 Make inttypes.h optional. #345 2018-11-19 21:34:35 -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
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
544fc3b97b Merge branch 'dev' of https://github.com/nmoinvaz/minizip into dev 2018-10-09 17:04:05 -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
da95d6e8b7 Updated comment. 2018-10-08 23:55:54 -07:00
Nathan Moinvaziri
ff6f2a1db6 Version 2.6.0. 2018-10-08 23:48:58 -07:00