Nathan Moinvaziri
b8300ce0ea
Added support for CP437 into mz_zip_reader and minizip.
2018-08-27 08:30:57 -07:00
Nathan Moinvaziri
2b3cd16b6f
Version 2.5.1.
2018-08-18 08:14:27 -07:00
Nathan Moinvaziri
79cfab094d
Updated readme and copyright statements due to quantity of changes.
2018-08-17 12:21:06 -07:00
Nathan Moinvaziri
c98dec4291
Version 2.5.0.
2018-08-15 07:37:30 -07:00
Nathan Moinvaziri
829ffb5cce
Fixed check for directory if path ends with slash.
...
Fixed return error if compression method is not supported.
2018-08-14 14:00:16 -07:00
Nathan Moinvaziri
9f863b35ca
Add zip file entry helpers to zip reader/writer.
2018-08-14 09:20:17 -07:00
Nathan Moinvaziri
cfa2e604f6
Update readme.
...
Simplify code.
2018-08-13 23:29:11 -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
d08e1561d9
Change order of parameters for consistency. #294
2018-08-08 09:43:14 -07:00
Nathan Moinvaziri
0f8d91101b
Version 2.4.0.
2018-08-05 10:33:42 -07:00
Nathan Moinvaziri
c65c7a928f
Added support for adding wildcard patterns when creating archive.
2018-07-31 14:43:30 -07:00
Nathan Moinvaziri
65a87024d4
Use wildcard path compare when specifying files to erase.
2018-07-31 12:48:31 -07:00
Nathan Moinvaziri
c599dd60f4
Fixed compiler warnings.
2018-07-31 11:55:32 -07:00
Nathan Moinvaziri
c2d5c47b51
Fixed compiler warnings.
2018-07-31 10:34:38 -07:00
Nathan Moinvaziri
89d6967afc
Added erase support for split/buffered streams.
2018-07-31 10:28:46 -07:00
Nathan Moinvaziri
7679d219a0
Added support for erasing files from zip.
2018-07-31 10:20:21 -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
155f8b52b2
Version 2.3.5.
2018-07-09 08:13:28 -07:00
Nathan Moinvaziri
9eecff3140
Simplify command line parsing.
2018-07-08 18:52:41 -07:00
Nathan Moinvaziri
b70b824b19
Version 2.3.4.
2018-06-19 12:30:12 -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
3ad1a92279
Append slash to directories for compatibility. #257
2018-05-02 13:04:41 -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
9a3ae75a48
Fixed print out of directories. #257
2018-05-02 09:54:44 -07:00
Nathan Moinvaziri
4a41245099
Added msdos host system and dir detection.
2018-05-02 09:24:09 -07:00
Nathan Moinvaziri
8d8deb4e5d
Added listing of attributes.
2018-05-01 21:54:15 -07:00
Nathan Moinvaziri
0619c3e6c4
Merge branch 'dev' of https://github.com/nmoinvaz/minizip into dev
2018-05-01 13:51:13 -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
Viktor Szakats
915b82e95b
remove whitespace @ eol
2018-04-24 10:02:39 +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
84bae188b6
Move rest of source files to src dir.
2017-10-16 19:31: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
af2daca4a1
Fixed issues with zip64 not being written in local header.
...
Modified split writing to stop creating disks after central dir.
Renamed method #defines.
2017-10-10 10:05:20 -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
f95664a4e2
Fixed compiler error with missing param.
2017-10-08 23:35:46 -07:00
Nathan Moinvaziri
fd83d0d4a3
Added platform defined version_madeby values.
2017-10-06 00:20:05 -07:00
Nathan Moinvaziri
40df94bafb
Merge pull request #172 from Coeur/guard_path
...
guarding from missing path
2017-10-06 00:12:34 -07:00