Martin
11e7c39508
Avoid fdreopen if possible
...
Avoid using fdropen in mz_zip_add_mem_to_archive_file_in_place or
if new flag MZ_ZIP_FLAG_READ_ALLOW_WRITING is set.
This improves performance, but also fdreopen is broken on Android
(some kind of race).
2024-10-16 23:07:29 +02:00
Martin
8714fd3cd8
Format code with clang-format
2024-05-16 21:24:56 +02:00
Ozkan Sezer
e285002431
replace use of stdint.h types with mz_ variants
2022-02-09 09:36:50 +03:00
Martin
edc251cfa9
Add padding to structures so it continues to work if features differ
2022-02-06 14:57:58 +01:00
Martin
ecbbbe0138
Fix function declaration if MINIZ_NO_STDIO is used
2021-11-28 18:38:56 +01:00
Dimitri Papadopoulos
a7961f5b4c
Fix a couple typos found by codespell
2021-11-03 14:04:11 +01:00
Martin
75744d32d4
Add flag to set (compressed) size in local file header
2021-02-08 13:49:57 +01:00
Andreas Stefl
1e8c7ce810
write with dynamic size
2020-01-23 17:15:04 +01:00
Daniel d'Andrada
6ed35304fe
mz_zip_reader_locate_file_v2 returns an mz_bool
2019-09-24 10:48:48 +02:00
tamasmeszaros
e8ab1c9a6d
Fix for misleading doc comment on mz_zip_reader_init_cfile function.
2019-06-03 15:48:11 +02:00
tamasmeszaros
185bc3c683
Use CMake export header for exporting symbols.
...
Only in shared library mode.
2019-05-28 11:57:37 +02:00
Martin
306edd2022
New function to read files via callback functions when adding them
2018-11-11 19:10:35 +01:00
Martin
b344eaf775
Remove unimplemented functions
2018-04-18 16:50:36 +02:00
Martin
81df2df0f6
Document mz_zip_writer_init
2017-07-08 13:58:18 +02:00
Phil Greenland
0d13890f4b
Add "iterative" file extraction method based on mz_zip_reader_extract_to_callback.
2017-05-14 11:54:29 +01:00
Martin
6e915ef7fc
Improve MZ_ZIP_FLAG_WRITE_ZIP64 documentation
2017-04-24 17:26:55 +02:00
Michał Janiszewski
a6a989cc18
clang-format the sources
2017-03-23 08:50:08 +01:00
Martin
35c2d67bcf
Fix compilation with the various omission compile definitions
2017-03-13 19:49:01 +01:00
Martin
e72ae3f4c2
Use UTF-8 for filenames in ZIP files per default
2017-03-11 18:24:44 +01:00
Martin
91ce90fa17
Added callback for periodic flushes
2017-02-08 15:53:52 +01:00
Martin
4c36ab0230
Rerun clang-format
2017-01-03 01:30:38 +01:00
Martin
4fa873b0f8
Fix backwards compatibility
2017-01-03 01:19:22 +01:00
Martin
8e30365e91
Fix compile issues with "gcc -ansi"
2016-11-27 22:19:38 +01:00
Martin
55339a8978
Make tester and examples compile again and test script
2016-11-27 21:39:02 +01:00
Martin
42c29103c3
Streaming ZIP creation, automatic ZIP64 switching and UTF8 filenames
2016-11-21 18:08:45 +01:00
Matthew Sitton
08d8e22672
Fix issues missed from merge. Now builds properly.
2016-06-25 12:57:06 -05:00
Matthew Sitton
3979a6de1f
And finally Integrate vogl changes.
2016-06-25 12:13:28 -05:00
Matthew Sitton
91513516ae
Fix some missed stuff that clang-format missed.
2016-06-25 10:11:59 -05:00
Matthew Sitton
0a9cf0b02a
add C++ extern in zip header.
2016-06-25 10:09:03 -05:00
Matthew Sitton
d650d15974
Add vogl .clang-format and reformat library source.
2016-06-25 09:03:56 -05:00
Matthew Sitton
724de0bb0f
Separate the into multiple files similar to the vogl zip64 version of the library.
...
If anyone wants to have a minified version of if a script could be written to do this automatically.
2016-06-25 06:43:30 -05:00