48 Commits

Author SHA1 Message Date
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
e09ea0e515 Merge branch 'master' into dev 2018-09-17 07:44:45 -07:00
Damien Riquet
7932c261dd Fix infinite loop if a read operation do not return any bytes 2018-09-03 16:30:42 +02:00
Nathan Moinvaziri
5d9f95fca1 Fixed code analysis warnings. 2018-08-30 16:22:25 -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
a0d1877d0e Added support for converting CP437 to UTF8 via MZ_ENCODING_CODEPAGE437.
Rename MZ_USE_FILE32API as MZ_FILE32_API and MZ_USE_WIN32_API as MZ_WIN32_API.
2018-08-26 23:23:02 -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
f5cc4c0355 Fixed potential invalid filename/comment buffer. #295 2018-08-14 17:46:36 -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
627993ef07 Added mz_stream_get_interface. #283 2018-07-22 09:06:16 -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
ebb01ce07e Remove unused include. 2018-07-11 15:43:29 -07:00
Nathan Moinvaziri
b47b41b8df Move crc32 stream into its own source file and header. 2018-07-11 09:44:29 -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
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
4925f31e28 Fixed compilation warnings on mac and linux. 2018-05-31 15:05:19 -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
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
ad8e3dd4b1 Version 2.2.9. 2018-04-18 20:54:52 -07:00
Nathan Moinvaziri
a43eb98099 Remove src directory. 2018-03-27 20:37:53 -07:00
Nathan Moinvaziri
24ef270bbe Move source files to src directory. 2017-10-16 19:30:24 -07:00
Nathan Moinvaziri
00cca9f511 Made PKWARE traditional encryption optional.
Added support for disk splitting into the minizip and miniunz sample apps.
Removed change_dir function from os helpers since it is no longer needed and changing dir causes problems when trying to find the next split archive.
Cleaned up #defines and pushed more into mz.h which was previously named mz.h
Removed NOUNCRYPT and NOCRYPT and instead implemented HAVE_CRYPT which can be configured via CMake USE_CRYPT.
Fixed issues unzipping non-split archives.
Fixed return value on mz_zip_entry_write.
2017-10-16 07:37:11 -07:00
Nathan Moinvaziri
f7f1312bd0 Reduce the size of the buffers. 2017-10-15 22:22:19 -07:00
Nathan Moinvaziri
016ad474e3 Fixed problems flushing zlib, lzma, and bzip2 streams.
Added generic property cb for getting/setting int values in streams.
Added support for disk splitting (write-only at the moment)
2017-10-09 23:36:30 -07:00
Nathan Moinvaziri
8db28c9afe Added back compatibility layer.
Fixed compiler warnings and errors.
2017-10-08 23:26:17 -07:00
Nathan Moinvaziri
1e3300f758 Allow retrievable of interfaces for help for compatibility layer. 2017-10-08 21:48:28 -07:00
Nathan Moinvaziri
aa323f508d Added ability for minizip cmd tool to add directories to zip files.
Split out os specific functions into their own files instead of as part of stream.
2017-10-05 23:32:57 -07:00
Nathan Moinvaziri
eb5d73037a Normalize integer types. 2017-10-05 21:26:34 -07:00
Nathan Moinvaziri
973457dac8 Added LZMA, BZIP2, and AES command line params to zip cmd tool.
Clean up some logic in the zip cmd tool.
Fixed zipping to non-existant directory.
Fixed passthru stream shouldn't open or close base streams.
Changed make_dir functions to succeed if dir exists.
Fixed compression method check for zip open functions.
Fixed wrong level being passed to bzip2.
Removed unused price_tablegen.c.
Updated CMakeLists.
Added travis yml.
2017-10-05 18:45:23 -07:00
Nathan Moinvaziri
45837b5cef Added version information to header comments. 2017-10-05 07:34:59 -07:00
Nathan Moinvaziri
41cfdcb45f Fixed includes. 2017-10-04 22:10:11 -07:00
Nathan Moinvaziri
8a6bc73ce3 Rename files. 2017-10-04 22:06:15 -07:00