266 Commits

Author SHA1 Message Date
Kas
96825016ed
Fix clang build error on Windows (#280)
Co-authored-by: kas <exactly-one-kas@users.noreply.github.com>
2022-10-19 13:37:42 +02:00
Thomas Perl
7a57414261
Allow opening read-only ZIP files (#278) 2022-09-16 21:45:45 +02:00
Kuba Podgórski
114d9d46fd
strncpy filename_size (#273)
Some checks failed
buildbot/IOSCMakeBuilder Build finished.
2022-08-05 12:31:20 +02:00
Kuba Podgórski
42151612e8 Update zip.c
Fixes https://github.com/kuba--/zip/issues/270
2022-07-07 21:56:32 +02:00
Nikola Zivkovic
e14fef2108
Enable building tests only if the project is built as a standalone one (#269) 2022-06-25 22:27:31 +02:00
HellsCoder
f8c58ebf75
fix delete entries fail (#267)
* fix delete entries fail

* Do not close file on zip_file_move error

Co-authored-by: Kuba Podgórski <kuba--@users.noreply.github.com>
2022-06-25 22:17:39 +02:00
Kuba Podgórski
822a973260
Update README.md 2022-06-06 10:38:44 +02:00
Kuba Podgórski
a78a6bb1dc
Update miniz.h (#262) 2022-06-06 02:00:53 +02:00
Dialga
55b5d810b5
fix ftruncate for tcc on Windows (#260)
* fix ftruncate for tcc on Windows

* Update zip.c
2022-06-03 22:29:37 +02:00
Dialga
4f23190324
fix mkdir for tcc on Windows (#261) 2022-06-03 22:29:12 +02:00
Kuba Podgórski
203ef139b0 Address infer's issues 2022-05-08 22:46:21 +02:00
Kuba Podgórski
341ed58e9e
Expose entry index as (s)size_t (#249) 2022-04-24 02:10:55 +02:00
Kuba Podgórski
e112112218
Update zip.c (#245) 2022-03-12 22:54:59 +01:00
Kuba Podgórski
c52f10699b check pState->m_pFile 2022-03-12 14:17:34 +01:00
Kuba Podgórski
4244a1e8af
replace S_IWRITE by S_IWUSR (#244) 2022-03-12 14:03:27 +01:00
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
3229b037a1
Add ZIP_RAW_ENTRYNAME (#240) 2022-02-16 02:05:19 +01:00
Markus Pristovsek
440570fcbe
do not jump over initialisation (#238) 2022-02-13 20:34:15 +01:00
Kuba Podgórski
babc060fab
Update miniz.h 2022-02-10 01:23:24 +01:00
Dialga
88e4788137
Add switch case for MZ_ZIP_TOTAL_ERRORS (#237) 2022-02-09 01:24:03 +01:00
Kuba Podgórski
a597bdf814 Update cmake 2022-02-06 16:52:50 +01:00
Dialga
d7109a6368
Fix mz_zip_time_t_to_dos_time() call (#236) 2022-02-06 16:44:04 +01:00
Kuba Podgórski
dce6952692
Fix compilation on MS-DOS/DJGPP (#235) 2022-02-06 02:23:16 +01:00
Kuba Podgórski
e7b792d7c1
Update CMakeLists.txt 2022-02-05 01:23:53 +01:00
Kuba Podgórski
ac7f600cce
Update CMakeLists.txt 2022-02-05 01:21:41 +01:00
Kuba Podgórski
2652bd2bce
Update zip.c (#230) 2022-01-13 02:43:17 +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
Kuba Podgórski
3e9952a21f
MAX_PATH=1024 (#222)
* MAX_PATH=1024

* MZ_ZIP_MAX_IO_BUF_SIZE = 8K
2021-12-25 19:15:52 +01:00
appledragon
c30cb27c74
for support shareable file open on windows (#220)
Support shareable file open on windows
Co-authored-by: visla-dragon <visla-dragon@visla.us>
2021-12-23 16:46:47 +01:00
Kuba Podgórski
a14f978c50 clang-format 2021-12-10 19:39:59 +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
ee8e1e0f02
switch to ninja build (#216) 2021-12-10 13:21:19 +01:00
Kuba Podgórski
72cb23c311
pass MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8 to mz_zip_writer_add_to_central_dir (#214) 2021-12-10 12:14:38 +01:00
Jiang Sir
594dbd5cc4
Add sanitizers for zip (#213) 2021-12-02 21:44:40 +01:00
Kuba Podgórski
cf4022802e
Create .gitattributes 2021-11-12 00:45:00 +01:00
Samuel Marks
58bde05a12
[CMakeLists.txt] Set C89; [src/zip.c] C89-compatibility (resolves: "GCC does not allow variable declarations in for loop initializers before C99") (#212) 2021-11-12 00:11:55 +01:00
Kuba Podgórski
326d8c2e33
Update README.md 2021-11-09 11:16:09 +01:00
Kuba Podgórski
d85a6e5ec1
Fix defines (#208) 2021-09-01 21:18:10 +02:00
Kuba Podgórski
692cbcf8ca
Fix - unsafe _wfopen and _wfreopen in Visual Studio (#206) 2021-09-01 13:15:39 +02:00
Kuba Podgórski
ffd2d395f8
Update README.md 2021-07-29 11:40:17 +02: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
b7193d815a Upgrade version to 0.1.32 2021-07-22 12:31:47 +02:00
Kuba Podgórski
e6f08d4a71
Accept wchars for MKDIR (#200)
* mz_mkdir
2021-07-22 12:26:35 +02:00
Kuba Podgórski
eacec85ddc
Fix compiler warnings on win (#199)
Closes https://github.com/kuba--/zip/issues/198
2021-07-17 11:55:12 +02:00
Kuba Podgórski
1c30e54204 Update zip.c 2021-07-09 18:24:56 +02:00
Kuba Podgórski
e5eaa5e45c
use size_t if it's possible (#196) 2021-07-09 11:44:21 +02:00
Kuba Podgórski
d1dd4f799c
Custom mz_stat for MSC (#194)
* Custom mz_stat for MSC
2021-06-28 21:56:09 +02:00
Kuba Podgórski
de71d577e0
API to set custom global CRC-32 function (#191)
* API to set custom global CRC-32 function
2021-06-16 13:22:26 +02:00
Kuba Podgórski
f02a47dee0
Update README.md 2021-05-19 00:59:16 +02:00