32 Commits

Author SHA1 Message Date
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
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 Podgórski
c072b27999
Fix MSYS2 MinGW 64 (#47) 2018-08-01 23:56:39 +02:00
kuba--
cf20cef713
clang-format 2018-06-23 16:42:30 +02:00
Kuba Podgórski
548bd41c51
Lite fix about build in _MSC_VER (PS) (#42) 2018-06-23 16:25:03 +02: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
Kuba Podgórski
18129e7418
Add more stats functions (#37) 2018-03-06 11:16:13 +01:00
Kuba Podgórski
6006c5dcd6
Fix https://www.viva64.com/en/w/v769/ (#34)
The 'rpl' pointer in the 'rpl ++' expression could be nullptr. In such
case, resulting value will be senseless and it should not be used.
Check lines: 94, 86.
2018-03-03 01:06:06 +01:00
Kuba Podgórski
4d9728c567
Expression '!pFilename' is always false (#32) 2018-02-20 20:52:56 +01:00
Kuba Podgórski
ddf01314c6
Sanitize builds (#25) 2018-01-11 23:20:41 +01:00
Kuba Podgórski
f5b6a916f0
add zip_entry_openbyindex (#24) 2018-01-08 11:33:02 +01:00
Kuba Podgórski
b2a5c56120
zip_entry_name and zip_entry_index (#23)
* add zip_entry_name
* add zip_entry_index
2018-01-07 21:39:05 +01:00
Kuba Podgórski
65ceea4a56
Zip total entries (#22) 2018-01-06 02:39:55 +01:00
Kuba Podgórski
c520ed1491 fix for c++ compiler 2017-11-07 20:20:18 +01:00
Kuba Podgórski
c04da1926f
Zip entry open/fix 13 (#15)
* Internally replace '\' by '/' for entry name.

* Add tests
2017-11-07 16:51:32 +01:00
cpupreme
faf26db763 zip_extract: handle directories within zip files (#10)
Thanks!
2017-07-21 00:13:08 +02:00
Kuba Podgórski
65a34b6830 Add zip_entry_extract using callback (#9) 2017-03-16 22:06:56 +01:00
Kuba Podgórski
fcca1383fd extern api 2017-02-19 14:14:05 +01:00
Kuba Podgórski
5f6e4a8f66 Add zip_entry_(f)read (#7) 2017-02-19 00:31:45 +01:00
Kuba Podgórski
c02431f3a0 Suppress MSVC warnings 2017-02-14 23:15:19 +01:00
Kuba Podgórski
8cac9e042f formatting 2017-02-14 20:05:54 +01:00
Kuba Podgorski
fb80d05a19 mkpath 2015-08-19 02:51:05 -07:00
Kuba Podgórski
4165dfad55 Update types 2015-03-24 15:30:04 -07:00
unknown
eb48dd48f3 Support for MSVC 2015-03-24 14:44:50 -07:00
Kuba Podgórski
5243c2ba9a Change signature for zip_create 2015-03-24 03:19:14 -07:00
Kuba Podgórski
815160abb7 Append to zip archive 2015-03-24 02:33:15 -07:00
Kuba Podgorski
e5f376e4ee Init commit 2015-03-23 15:08:14 -07:00