86 Commits

Author SHA1 Message Date
Nathan Moinvaziri
370ab036f3 Version 2.9.1. 2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
d82ea2c654 Added more test cases for path resolving.
Fixed branching in resolve function.
2019-11-03 16:44:58 -08:00
Nathan Moinvaziri
e22948c731 Fixed path not resolving properly when previous output buffer contains certain characters. #433 2019-10-29 16:46:55 -07:00
Nathan Moinvaziri
8d6875d9c2 Fixed path not resolving properly when it begins with ..\ more than once. #433 2019-10-23 22:21:21 -07: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
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
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
36f61523a3 Remove multiple slashes if they occur on the end of a path. 2019-05-05 08:19:14 -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
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
b150432588 Fixed filename not being removed from path in certain instances. 2019-01-07 13:09:16 -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
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
1ee609b759 Make inttypes.h optional. #345 2018-11-19 21:34:35 -08:00
Nathan Moinvaziri
c1e07aaeb0 Fixed missing time include. 2018-11-19 20:38:20 -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
1b87a5a358 Removed old crc32 streams. 2018-11-03 19:47:20 -07:00
Nathan Moinvaziri
e63d231fa5 Moved crc hashing and pbkdf2 to crypt.
Provide backup crc32 function if zlib or lzma not used.
Fixed check for no signing in minizip.
2018-11-03 19:45:41 -07: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
8cb7df741a Moved cp437 encoding function to zip class.
Removed util class and moved shared functions into mz_os.
Added USE_COMPAT to cmake which turns on/off compatibility layer.
2018-10-25 08:39:48 -07:00
Viktor Szakats
9dea6f2495 Secure URLs 2018-10-17 22:39:01 +00:00
Nathan Moinvaziri
ff6f2a1db6 Version 2.6.0. 2018-10-08 23:48:58 -07:00
Nathan Moinvaziri
09304a6184 Fixed compiler warnings. 2018-10-08 23:44:45 -07:00
Nathan Moinvaziri
98047626d7 Fixed compiler warnings. 2018-10-08 22:41:16 -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
Antoine Cœur
dd54b153c0 Fix minor typo 2018-09-11 09:59:57 +08:00
Nathan Moinvaziri
09ddae6514
Fixed formatting 2018-09-10 08:52:45 -07:00
Viktor Szakats
ab8507608e fix remaining strncpy() calls
to always terminate the target buffer with a zero byte.
2018-09-06 22:15:29 +00:00
Viktor Szakats
e7215072a0 enable warnings for gcc/clang, misc minor fixes
* enable -W -Wall for gcc and clang
* fix strncpy() calls that may potentially leave the target buffer without
  a terminating zero byte (in mz_zip_rw.c)
* fix warnings
* remove const from mz_path_remove_filename() parameter,
  the function is writing the passed buffer
* fix pedantic warnings (in mz_strm_buf.c):
  warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
* fix spaces at EOL
* fix a redefinition warning for HAVE_ARC4RANDOM_BUF on macOS
2018-09-04 22:58:02 +00: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
b8300ce0ea Added support for CP437 into mz_zip_reader and minizip. 2018-08-27 08:30:57 -07:00
Nathan Moinvaziri
638f31ff41 Move CP437 encoding handling higher up the stack. 2018-08-27 08:17:16 -07:00
Nathan Moinvaziri
2b3cd16b6f Version 2.5.1. 2018-08-18 08:14:27 -07:00