Commit Graph

86 Commits

Author SHA1 Message Date
Nathan Moinvaziri
c98dec4291 Version 2.5.0. 2018-08-15 07:37:30 -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
0f8d91101b Version 2.4.0. 2018-08-05 10:33:42 -07:00
Nathan Moinvaziri
65a87024d4 Use wildcard path compare when specifying files to erase. 2018-07-31 12:48:31 -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
50f3252d2c Fixed missing crc32 stream include. 2018-07-11 09:56:23 -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
b70b824b19 Version 2.3.4. 2018-06-19 12:30:12 -07:00
Nathan Moinvaziri
957f2e9976 Fixed issues with resolving paths.
Added source directory to includes.
Added unit tests for resolving paths.
Fixed compilation issues with test code.
2018-06-19 09:44:06 -07:00
Nathan Moinvaziri
dd808239dd Fixed zip slip vulnerability in example app. #268 2018-06-11 07:38:58 -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
0388124aad Simplify parsing of filename from path. 2018-05-09 20:03:26 -07:00
Nathan Moinvaziri
e1aad8c445 Version 2.3.1. 2018-05-09 19:48:55 -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
37ceb026db
Merge branch 'dev' into ws2 2018-05-02 20:09:25 -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
447dd06750 whitespace fixes
- remove line-ending spaces
- always have a file-ending newline
- remove duplicate file-ending newlines
2018-05-02 19:59:38 +00:00
Nathan Moinvaziri
bb3b75bc09 Fixed directory compression method.
Move zip attribute detection to mz_zip. #257
2018-05-02 10:48:51 -07:00
Nathan Moinvaziri
4a41245099 Added msdos host system and dir detection. 2018-05-02 09:24:09 -07:00
Nathan Moinvaziri
83bce6e82a Allow version_needed to be less than customized. #258 2018-05-01 18:10:17 -07:00
Nathan Moinvaziri
739f03f951 Updated comment. 2018-05-01 13:57:28 -07:00
Nathan Moinvaziri
7583be518c Fixed is directory check on linux. 2018-05-01 13:55:28 -07:00
Nathan Moinvaziri
e33916b608 Added support for directory entries in minizip. #257
Added support for file attributes.
2018-05-01 13:45:08 -07: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
77008c6344 Fixed problems extracting to a directory after change_dir was removed.
Consolidated all the path building to use mz_path_combine.
Fixed bug in minizip when using mz_zip_write_entry.
Created structs in minizip and miniunz for keeping all options together.
Fixed bug reading end of zip when using split stream.
Fixed large file support in win32.
2017-10-16 14:50:31 -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
d83efdc614 Added back function to recursively create dirs.
Fixed issue extracting files that have dirs in them.
Added unit test for directory zipping/unzipping.
2017-10-09 00:40:53 -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