140 Commits

Author SHA1 Message Date
Rahul Sheth
6c5797073e Update CMake files with Config install and some cleanup (#105) v0.1.15 2019-05-24 19:34:09 +02:00
Ivan Romanov
410549dd3a Fix UNIX file permissions (#103)
Need to explicity set UNIX file permissions when commpressing buffer
to entry. Without it later unpacked file can't be opened.

Fix #100
2019-04-27 01:56:17 +02:00
Ivan Romanov
2445a950bd Add Doxygen support (#102) 2019-04-25 17:15:07 +02:00
Kuba Podgórski
31f1741334
Update appveyor.yml 2019-04-25 16:34:48 +02:00
AMIR
87c1353216 Update CmakeLists.txt (#99) v0.1.14 2019-03-28 10:20:29 +01:00
Charlie Gettys
9cf492859a Update miniz.h (#98)
Implements upstream fix to richgel999/miniz#124.
2019-03-27 16:48:26 +01:00
Haozhun Jin
635ef1d145 Fix ssize_t on 64-bit Windows (#96) 2019-03-05 22:29:19 +01:00
ForgottenTales
e5ef416905 remove unecessary assertion in miniz.h (#92) (#95) v0.1.13 2019-02-25 10:35:22 +01:00
kuba--
1fcb1718ee
Support ssize_t for GCC on RPI3 2019-02-05 15:30:55 +01:00
AVP
df34e4609a Add support for Android NDK stdint.h. (#91)
Some stdint.h headers define `_SSIZE_T_DEFINED_` instead of
`_SSIZE_T_DEFINED`. Allow for this in the ifdef checks in zip.h
v0.1.12
2019-01-10 23:27:22 +01:00
Kuba Podgórski
f339a2fca2
Support for TDM-GCC (#90) 2019-01-06 23:49:31 +01:00
AVP
76bec1583a Rename basename to base_name. (#87)
The function name `basename` is used in `"string.h"` in some Linux
environments, so rename it to `base_name` to avoid naming conflicts
in those environments.
2018-11-29 10:32:21 +01:00
bvgastel
0f994440aa added ability to extract zipped symlinks as symlinks on UNIX platform (#84)
* added ability to extract zipped symlinks as symlinks on UNIX platforms (including macOS)
2018-11-03 12:19:22 +01:00
Kuba Podgórski
64aa7b4df2
Fix - copy device name when make path on windows. (#86) v0.1.11 2018-10-30 23:27:35 +01:00
kuba--
6026a356cf
replace {0} by memset 2018-10-30 01:11:01 +01:00
kuba--
0cf8f446f8
memset in mkpath 2018-10-30 01:08:13 +01:00
kuba--
d5b04a9712
fix make install on travis 2018-10-18 09:00:17 +02:00
kuba--
9e6f7bb278
make install on travis 2018-10-18 08:54:54 +02:00
kuba--
9059fc507a
Add runtime destination to cmake 2018-10-18 08:52:29 +02:00
bvgastel
f8121a27c4 Fix ssize_t check for MXE (#82)
The MXE build environment (to cross-compile Windows binaries from Linux) uses the _SSIZE_T_DEFINED instead of the _SSIZE_T, and fails otherwise due to conflicting types.
2018-10-13 20:48:09 +02:00
Moritz
18197675d3 Possibility to install the library (#80) 2018-10-05 00:11:24 +02:00
Moritz
11746b49c3 Disable building tests when including as subproject (#79) 2018-10-03 23:32:19 +02:00
Kuba Podgórski
62bd7998d1
Make read functions syscall compatible. (#78) 2018-10-02 23:11:54 +02:00
Kuba Podgórski
51a1be4517
Set mtime (#76) v0.1.10 2018-09-30 13:45:35 +02:00
Kuba Podgórski
b514b7d3b0
Add test_miniz (#73) 2018-08-26 00:50:10 +02:00
Kuba Podgórski
3502bda79e
Update appveyor.yml 2018-08-23 01:05:41 +02:00
kuba--
e5f81b4acc
.x v0.1.9 2018-08-21 02:45:07 +02:00
Kuba Podgórski
3f474370ca
Codecov (#70) 2018-08-21 02:40:18 +02:00
kuba--
5ec473bf7b
upload codecov from build 2018-08-21 00:20:23 +02:00
kuba--
47c94615c8
upload codecov 2018-08-21 00:11:34 +02:00
kuba--
fed37546dd
fix build 2018-08-20 23:53:26 +02:00
Kuba Podgórski
7024b6bb5e
add codecov (#69) 2018-08-20 23:44:31 +02:00
kuba--
a3bf64599d
clang-format 2018-08-20 22:36:59 +02:00
Kuba Podgórski
1593ae9d14
Fix 56 (#68) 2018-08-20 22:29:51 +02:00
Kuba Podgórski
57447ac9c5
Check __STDC_LIB_EXT1__ (#66)
* Check __STDC_LIB_EXT1__

* use localtime_s only if __STDC_LIB_EXT1__ defined
2018-08-20 21:01:44 +02:00
Kuba Podgórski
18f5b2b939
chmod 666 to delete the test file on windows (#67)
* chmod 666 to delete the test file on windows

* Add extra permission tests
2018-08-20 16:30:31 +02:00
Ivan Romanov
eb0911db1a Replace __MINGW64__ with __MINGW32__ (#61) 2018-08-20 12:54:36 +02:00
Kuba Podgórski
cf54937886
add -pedantic compilation and fix warnings (#65) 2018-08-20 12:47:29 +02:00
Ivan Romanov
41965d3513 Fix dereferencing type-punned pointer warnings (#63) 2018-08-20 11:05:42 +02:00
Ivan Romanov
7c00406fd7 Fix implicit conversion warnings (#58) 2018-08-20 00:30:14 +02:00
Ivan Romanov
a65781bafe Fix cast from const warning (#60) 2018-08-20 00:28:52 +02:00
Ivan Romanov
8f98f390ca Fix unused warnings in test (#55)
Thanks
2018-08-19 11:40:07 +02:00
Ivan Romanov
fef7f11b89 Fix crash in zip_entry_size and zip_entry_crc32 (#54) 2018-08-16 17:55:07 +02:00
Ivan Romanov
243948551e Fix crash in zip_entry_close (#53)
Thanks
2018-08-16 14:12:58 +02:00
Ivan Romanov
a2d3fbddfc Add c99 support (#52)
Thanks
2018-08-16 12:41:44 +02:00
Kuba Podgórski
24cbd2801b
Update README.md 2018-08-13 20:53:00 +02:00
Kuba Podgórski
77a27a1fa7
Fix fopen_s return is error (#51) v0.1.8 2018-08-07 11:57:54 +02:00
Kuba Podgórski
593b795746
Get/Set file permissions (#48) 2018-08-06 22:59:15 +02:00
Kuba Podgórski
c072b27999
Fix MSYS2 MinGW 64 (#47) v0.1.7 2018-08-01 23:56:39 +02:00
James Athey
894f63002d Use target_include_directories to help dependents find the zip.h file (#45)
* use target_include_directories to tell dependents about the include path

* ignore CMake-generated files for Visual Studio
2018-07-31 08:25:24 +02:00