Commit Graph

106 Commits

Author SHA1 Message Date
Nathan Moinvaziri
370ab036f3 Version 2.9.1. 2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
10ac291d91 Version 2.9.0. 2019-09-18 16:55:43 -07:00
Nathan Moinvaziri
b7b90c3d19 Added append mode for ADDINZIP when using zip compatibility. #408 2019-08-15 17:09:10 -07:00
Nathan Moinvaziri
32fd805440 Version 2.8.9. 2019-07-04 10:32:02 -07:00
Nathan Moinvaziri
1aef5b4661 Added missing zipOpenNewFileInZip functions to compatibility layer. #400 2019-06-04 09:56:08 -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
cf20c09016 Added shim for dos date name changes to compatibility layer. ZipArchive/ZipArchive#509. 2019-05-02 09:25:24 -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
aec922930f Remove old minizip example macros. 2019-01-24 17:42:26 -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
5cb88b8f09 Version 2.8.0. 2018-11-24 17:59:11 -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
e849627093 Move stdio to the source files that use them.
Fixed limits redefinition for windows.
Clean up headers.
2018-11-21 15:05:58 -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
2d37e12f36 Fixed missing time.h include.
Simplified fseek detection.
2018-11-19 19:48:37 -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
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
21a3102db4 Combine os level headers.
Moved os utility functions into util class.
2018-10-24 09:50:16 -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
904c408575 Fixed compiler warnings. 2018-10-08 23:31:21 -07:00
Nathan Moinvaziri
98047626d7 Fixed compiler warnings. 2018-10-08 22:41:16 -07:00
Viktor Szakats
e5ce077bf3 mz_compat.c: fix warnings
- remove unused variables
- fix signedness disagreement:
```
mz_compat.c:961:27: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'uint64_t'
      (aka 'unsigned long long') [-Wsign-compare]
    if (compat->total_out == file_info->uncompressed_size)
        ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2018-10-01 14:49:49 +00:00
Nathan Moinvaziri
ca8059ef61 Version 2.5.4. 2018-09-30 10:44:16 -07:00
Nathan Moinvaziri
709c1f05ce Added missing unzip compatibility functions. #319 2018-09-25 09:32:42 -07:00
Nathan Moinvaziri
825bfb8fbf Version 2.5.3. 2018-09-18 20:34:01 -07:00
Nathan Moinvaziri
0457003448
Fixed formatting 2018-09-10 08:52:17 -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
85d36c5e83 Clean up includes. #306 2018-08-31 16:43:41 -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
3eaa5560bf Added back ZEXPORT. Coeur/ZipArchive#444 2018-08-26 09:05:19 -07:00
Nathan Moinvaziri
d4c4d4f5b1 Removed include "zlib.h" Coeur/ZipArchive#444 2018-08-25 15:37:38 -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
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
9eb113dee7 Fixed closing entry with raw mode. #293 2018-08-08 17:38:38 -07:00
Nathan Moinvaziri
d08e1561d9 Change order of parameters for consistency. #294 2018-08-08 09:43:14 -07:00
Nathan Moinvaziri
26308b244e Use uint8_t for raw parameter. #294 2018-08-08 09:40:15 -07:00