209 Commits

Author SHA1 Message Date
SpaceIm
2f6857e267
add zip::zip alias target (#180)
it is consistent with zip::zip imported target in generated config file
2021-04-13 01:00:48 +02:00
SpaceIm
bc03c01e57
add option to build documentation (#179) 2021-04-13 01:00:07 +02:00
SpaceIm
e43ba3b98f
Exports symbols of API and hides others symbols (#178)
* exports symbols of API and hides others symbols

* fix sanitizers in tests

* add export macro in public header
2021-04-13 00:42:59 +02:00
SpaceIm
3c0319673c
allow static lib without PIC (#177) 2021-04-12 15:33:14 +02:00
Kuba Podgórski
f72dce22bd
Replace _wfopen_s by _wfopen, _wfreopen_s by _wfreopen (#176) 2021-03-15 11:40:41 +01:00
Kuba Podgórski
54af749c22
Merge pull request #175 from kuba--/err-code
Return code on error
2021-03-13 18:27:23 +01:00
Kuba Podgórski
252d6c18cf Add error lookup function 2021-03-13 18:09:47 +01:00
Kuba Podgórski
f0e5c7b150 Return code on error 2021-03-12 20:12:41 +01:00
Kuba Podgórski
d01ec45d94
Minor API changes (#174)
For public API s/zip_total_entries/zip_entries_total/
2021-03-11 22:43:34 +01:00
Kuba Podgórski
9cf2857e82
Use minunit for testing (#173) 2021-03-11 12:57:36 +01:00
Kuba Podgórski
b38024b5dc
Update README.md 2021-03-08 21:47:43 +01:00
Kuba Podgórski
ad87c52a9a
Add freebsd build (#172) 2021-03-08 21:11:24 +01:00
Kuba Podgórski
72d28abe8a
Test stream API also on WIN (#171)
* Test stream API also on WIN
* Fix error C2057: expected constant expression
2021-03-07 22:12:01 +01:00
jinfeihan57
878cdc06fe
fix issue 169 (#170)
Co-authored-by: jinfeihan57 <hanjinfei57@gmail.com>
2021-03-07 15:36:13 +01:00
Kuba Podgórski
0cc4e16aca
Update README.md 2021-03-06 18:26:01 +01:00
Kuba Podgórski
a631ce45f7 clang-format 2021-03-06 18:13:11 +01:00
jinfeihan57
bfcfd1aa4e
Issue 153 NEW PR (#167)
* issue153

* fix issue 153

* malloc->calloc

* add zip_open_stream() to readme

Co-authored-by: hanjinfei57 <hanjinfei57@gmail.com>
2021-03-06 11:56:21 +01:00
Kuba Podgórski
05f412b3e6
Update README.md 2021-01-06 22:34:44 +01:00
Kuba Podgórski
82fbb50f53
Fix return code for extract (#166) 2021-01-01 20:05:24 +01:00
Kuba Podgórski
992106448d
Fix warnings for MSC (#162)
* Include <io.h> for MSC

* Address #160 comments
2020-12-22 13:25:28 +01:00
Kuba Podgórski
903beb7d1c
Fix normalize entry path (#159) 2020-12-18 12:46:01 +01:00
Kuba Podgórski
91a2e2cc6c Remove release tag. 2020-12-17 17:53:59 +01:00
Kuba Podgórski
b2fc08e6b7 clang-format 2020-12-17 17:52:46 +01:00
Tim Gates
5b679e68a0
docs: fix simple typo, purpsosely -> purposely (#158)
There is a small typo in src/miniz.h.

Should read `purposely` rather than `purpsosely`.
2020-12-17 13:01:59 +01:00
Mykhailo Pylyp
6fc01609d6
fix compilation error for msvs latest (#155) 2020-12-17 13:01:11 +01:00
Kuba Podgórski
ea597c5f1c
No symlink signature (#152) 2020-12-01 14:39:15 +01:00
Vadim Grigoruk
d7df626f3a
fixed compilation with MINIZ_NO_TIME (#151) 2020-11-26 14:46:10 +01:00
Vadim Grigoruk
a67b0b7074
Open files with wide char names on Windows (#150) 2020-11-25 16:44:43 +01:00
Kuba Podgórski
cc1f3d52bf
No extra check if SSIZE_T is defined (#148) 2020-11-18 13:14:43 +01:00
Kuba Podgórski
ffe690c402
define __have_typedef_ssize_t (#147) 2020-11-13 12:38:53 +01:00
Kuba Podgórski
ddb8e54174
Update build.yml (#146) 2020-11-13 11:21:10 +01:00
jinfeihan57
42a6b39526
Add delete entry function (#142) 2020-11-10 11:53:19 +01:00
Kuba Podgórski
7faf19034e Update README.md 2020-11-05 13:18:46 +01:00
Kuba Podgórski
26a5708c67 Move Contribution to CONTRIBUTING.md
Add links to cool projects.
2020-11-05 13:17:04 +01:00
Kuba Podgórski
3d8c7ce458
Create CONTRIBUTING.md 2020-11-05 10:49:58 +01:00
jinfeihan57
e2246cb5c6
Add zip_open_stream() func. (#140) 2020-09-17 09:32:59 +02:00
Kuba Podgórski
e54c766ffb Try to fix build on unix 2020-09-10 15:51:49 +02:00
Kuba Podgórski
6b038da83f Revert "Remove -pedantic for tests in release mode."
This reverts commit c970a571babd19fc14b2aa783962de5a41c00ead.
2020-09-10 15:49:41 +02:00
Kuba Podgórski
c970a571ba Remove -pedantic for tests in release mode. 2020-09-10 15:37:29 +02:00
Ali Hardan
1d0fc2c043
Update README.md (#137) 2020-08-29 00:23:24 +02:00
jinfeihan57
0d24296d51
fix issue #123 (#136)
* normalize entry names on extract
2020-08-28 14:46:06 +02:00
jinfeihan57
b76004b3b7
using clang-format & test not support windows (#134)
* add zip_extract_stream
2020-08-24 16:43:51 +02:00
Kuba Podgórski
59b7942cd8 Add example how to compress a folder. 2020-08-19 21:50:27 +02:00
Kuba Podgórski
529eef88ad
set(CMAKE_VERBOSE_MAKEFILE ON) (#133)
* set(CMAKE_VERBOSE_MAKEFILE ON)

* -D CMAKE_AR=/usr/bin/ar
2020-08-18 13:21:05 +02:00
Kuba Podgórski
6e7dce3daa trigger build on pr event 2020-08-18 12:50:45 +02:00
Kuba Podgórski
853f41516f Revert "zip_extract_stream() (#131)"
This reverts commit c555a9636f72c03e25e5a525a7725cb7e6a67680.
2020-08-18 12:29:22 +02:00
Kuba Podgórski
ce1a404443 Revert "clang-format"
This reverts commit 046a374bf0f03ec9e00b7717409864cd610f7764.
2020-08-18 12:29:18 +02:00
Kuba Podgórski
046a374bf0 clang-format 2020-08-18 12:20:46 +02:00
jinfeihan57
c555a9636f
zip_extract_stream() (#131)
Add zip_extract_stream
2020-08-18 11:00:01 +02:00
Kuba Podgórski
a462384060 Fix tinfl_decompress 2020-07-25 23:40:13 +02:00