Nathan Moinvaziri
a008833eca
Fixed bug saving file during erase when data descriptor not being used.
2020-01-04 16:53:10 -08:00
Nathan Moinvaziri
370ab036f3
Version 2.9.1.
2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
e3bd6e8e8b
Fixed memory leak during zip entry close. #435
2019-10-24 08:27:46 -07:00
Nathan Moinvaziri
10ac291d91
Version 2.9.0.
2019-09-18 16:55:43 -07:00
Antoine Cœur
10cd8b86b9
Fix MZ_ZIP_NO_SIGNING -> MZ_ZIP_SIGNING
2019-08-21 11:19:59 +08:00
Nathan Moinvaziri
84a398027d
Added option to enable signing which is by default turned on. But now at least people don't have to define MZ_ZIP_NO_SIGNING in most projects I see. Signing support now requires MZ_ZIP_SIGNING to be defined.
2019-08-14 20:31:04 -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
7d94b1ffa1
Fixed symbolic link issues on win32. Ensure that reading a symbolic link dir on windows produces linkname with slash at the end for recreation.
2019-05-08 23:41:47 -07:00
Nathan Moinvaziri
c164ddf5c8
Fixed unused variable warning.
2019-05-08 19:26:40 -07:00
Nathan Moinvaziri
3a941ef473
Return forward slashed path from mz_os_read_symlink on windows.
2019-05-08 19:24:09 -07:00
Nathan Moinvaziri
a5a1d5d272
Store symbolic links in UNIX1 extra field instead of file attributes.
...
Correct reading of UNIX1 extra field timestamps.
Added option to store links to minizip cmd.
2019-05-05 20:13:58 -07:00
Nathan Moinvaziri
6496d23578
Follow links should only be used in traversing.
2019-05-05 17:26:44 -07:00
Nathan Moinvaziri
9cb3cb14b2
Added follow symbolic links option.
2019-05-05 12:24:08 -07:00
Nathan Moinvaziri
27f1e9e1e5
Fixed casting warning from strlen.
2019-05-05 08:26:55 -07:00
Nathan Moinvaziri
3249eac087
Added support for symbolic links. ZipArchive/ZipArchive#424 .
2019-05-02 21:07:39 -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
82999bf96d
Set the open mode properly when using mz_zip_writer_open. #377
2019-03-29 18:00:45 -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
ba49029b54
Fixed no error when trying to extract a single file that is not in archive. #364
2019-02-13 08:51:58 -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
2df1ecbce4
Fixed some code analysis warnings.
2018-12-01 08:59:21 -08:00
Nathan Moinvaziri
6675c44613
Set default as aes only if it is available.
2018-11-27 11:26:28 -08:00
Nathan Moinvaziri
f9e344888f
Move extrafield parameters to end of structure.
...
Don't use HAVE_WZAES, because another app or library might be using mz.h on which doesn't have HAVE_WZAES defined.
Return MZ_SUPPORT_ERROR if aes_version set, but HAVE_WZAES not defined.
Fixed some LGTM alerts. #349
2018-11-27 09:45:09 -08:00
Nathan Moinvaziri
5cb88b8f09
Version 2.8.0.
2018-11-24 17:59:11 -08:00
Nathan Moinvaziri
fa0c9c8edc
Set default compression method based on what is available.
2018-11-23 15:20:21 -08:00
Nathan Moinvaziri
ba1db16a28
Fixed bug not appending slash on to the end of filename in zip for directories.
...
Separated out read/write close into their own functions.
Fixed integer overflow for disk offset.
Added unit tests for erase from zip file.
2018-11-23 10:07:35 -08:00
Nathan Moinvaziri
76fb8903e1
Rename HAVE_AES to HAVE_WZAES to make it more clear that only the feature is enabled/disabled.
...
Added additional cmake unit tests.
2018-11-21 15:14:09 -08:00
Nathan Moinvaziri
bacef206da
Convert to forward slash when saving files for unix which doesn't like backslashes. #347
2018-11-20 19:42:13 -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
9475829f15
Fixed analyze warnings about unused params.
2018-11-20 09:38:00 -08:00
Nathan Moinvaziri
1ee609b759
Make inttypes.h optional. #345
2018-11-19 21:34:35 -08:00
Nathan Moinvaziri
4d0897361b
Fixed zipcd not working correctly.
...
Turn off zipcd for raw in cmake tests.
2018-11-19 20:24:26 -08:00
Nathan Moinvaziri
b2b082c67d
Version 2.7.5.
2018-11-13 15:22:15 -08:00
Nathan Moinvaziri
dd103f4fc1
Added ability to get comment from reader.
...
Added better fuzz test with full comment size.
Fixed setting size of comment that is UINT32_MAX length.
Added ability to recover the cd from the local file headers. #341
2018-11-13 14:50:32 -08:00
Nathan Moinvaziri
0687386d8b
Added ability to set comment in zip writer.
2018-11-12 08:14:58 -08:00
Nathan Moinvaziri
1d6d183af6
Fixed more compiler warnings.
2018-11-10 09:03:55 -08:00
Nathan Moinvaziri
07b0ecadc6
Fixed don't create dir when directory not specified.
2018-11-07 21:07:33 -08:00
Nathan Moinvaziri
4cceb2f6c8
Create directory when writing zip if it doesn't already exist.
...
Use mz.h seek defines.
2018-11-07 20:08:26 -08:00
Nathan Moinvaziri
c47090678d
Version 2.7.4.
2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
b11b6cfe63
Only require zipped central dir to be signed in archive and only sign zipped central dir.
...
Load signing certificate from disk once.
2018-11-05 12:32:19 -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
adfe53f969
Append extrafield to end so hash extrafield is always guaranteed to be first.
2018-11-02 17:46:47 -07:00
Nathan Moinvaziri
4337bcc752
Move reading of certificate into zip writer.
2018-11-02 16:22:39 -07:00