Pavel Rojtberg
7789dcbfd5
forward changes we use in ogre ( #242 )
...
* allow access to the file compressed size
* option for case-sensitive operation
* refactor naming
Co-authored-by: Kuba Podgórski <kuba--@users.noreply.github.com>
2022-03-12 00:33:30 +01:00
Kuba Podgórski
a597bdf814
Update cmake
2022-02-06 16:52:50 +01:00
Kuba Podgórski
11cc5c6d30
permissions xattr. logic from zip info ( #227 )
2022-01-10 23:19:36 +01:00
Kuba Podgórski
9a52cfc458
No freopen for append ( #223 )
2021-12-25 19:18:33 +01:00
Javier Serrano
a18b5b36fe
Port of features from miniz (creation of ZIP64 files and empty folders) ( #215 )
2021-12-10 19:35:03 +01:00
Kuba Podgórski
5b3f3877ff
Upgrade miniz dependency to version 2.2.0 ( #203 )
2021-07-29 10:56:20 +02:00
Kuba Podgórski
e5eaa5e45c
use size_t if it's possible ( #196 )
2021-07-09 11:44:21 +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
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
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
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
82fbb50f53
Fix return code for extract ( #166 )
2021-01-01 20:05:24 +01:00
Kuba Podgórski
903beb7d1c
Fix normalize entry path ( #159 )
2020-12-18 12:46:01 +01:00
jinfeihan57
42a6b39526
Add delete entry function ( #142 )
2020-11-10 11:53:19 +01:00
jinfeihan57
e2246cb5c6
Add zip_open_stream() func. ( #140 )
2020-09-17 09:32:59 +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
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
8ceef944ca
Fix test for clang scan-build
2020-07-25 23:15:29 +02:00
Kuba Podgórski
e6c9807d8d
CMake3.4 -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ( #122 )
...
Co-authored-by: kuba-- <>
2020-04-20 23:15:55 +02:00
Kuba Podgórski
998d700f31
Check if the archive has a zip64 end of central directory headers. ( #113 )
2020-01-22 00:58:56 +01:00
Kuba Podgórski
aad40be349
Update build.yml ( #115 )
2020-01-22 00:38:57 +01:00
Kuba Podgórski
196cdd3e5d
Support for 64-bit fields ( #108 )
2019-07-10 00:05:34 +02:00
Rahul Sheth
6c5797073e
Update CMake files with Config install and some cleanup ( #105 )
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
AMIR
87c1353216
Update CmakeLists.txt ( #99 )
2019-03-28 10:20:29 +01: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 )
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
3f474370ca
Codecov ( #70 )
2018-08-21 02:40:18 +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
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
Kuba Podgórski
cf54937886
add -pedantic compilation and fix warnings ( #65 )
2018-08-20 12:47:29 +02:00
Ivan Romanov
8f98f390ca
Fix unused warnings in test ( #55 )
...
Thanks
2018-08-19 11:40:07 +02:00
Kuba Podgórski
77a27a1fa7
Fix fopen_s return is error ( #51 )
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--
cf20cef713
clang-format
2018-06-23 16:42:30 +02:00
kuba--
849835ff0a
fix tests
2018-03-08 20:37:50 +01:00
kuba--
1e9d99eda1
hot fix in zip_entry_openbyindex
2018-03-08 20:31:12 +01:00
Kuba Podgórski
89a8c16cdd
Add zip_entry_noallocread ( #38 )
2018-03-07 13:58:47 +01:00
kuba--
661dc88330
Revert "Add zip_entry_noallocread"
...
This reverts commit 12bbbf9bfe8f1cc6830d078159390319c972d509.
2018-03-07 00:05:10 +01:00
kuba--
12bbbf9bfe
Add zip_entry_noallocread
...
read current entry into preallocated byte buffer
2018-03-07 00:04:35 +01:00