277 Commits

Author SHA1 Message Date
Martin Raiber
64d92e19ad Merge pull request #66 from unsightlygod/iterative_decompression
Iterative decompression
2017-07-08 13:41:34 +02:00
Martin
404c574eba Define processor/arch macros as zero if not set to one 2017-07-08 13:37:05 +02:00
Martin
c1f791f81b Define processor/arch macros as zero if not set to one 2017-07-08 13:34:56 +02:00
Martin
c93e4d804c Increment version 2017-07-08 13:12:42 +02:00
Martin
84e8458de0 Option to use memcpy for unaligned data access 2017-05-18 18:47:09 +02:00
Phil Greenland
78cdcb0fce Include basic tests for iterative extraction method. 2017-05-14 12:04:54 +01: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 Raiber
7ecd1b3677 Merge pull request #65 from udda/fix-png-height
Fix PNG height
2017-05-05 00:14:57 +02:00
Mario Cianciolo
a0786b126d Fix PNG height
Fixed array index where to store image height.
PNG files made using `tdefl_write_image_to_png_file_in_memory_ex()` were very tall, with a huge empty area at the end.
Since `pnghdr[22]` was assigned twice, I changed indices to store height exactly in the way width is stored (two consecutive swapped bytes). Now PNG file height is correct.
2017-04-30 23:13:09 +02:00
Martin
9b1ddf6861 Add debug configuration 2017-04-24 17:28:45 +02:00
Martin
149b34c254 Remove check for cur_archive_file_ofs > UINT_MAX, because cur_archive_file_ofs is not used after this point 2017-04-24 17:28:20 +02:00
Martin
6e915ef7fc Improve MZ_ZIP_FLAG_WRITE_ZIP64 documentation 2017-04-24 17:26:55 +02:00
Martin
11f795a19c Improve readme 2017-04-24 17:26:29 +02:00
Martin Raiber
ec028ffe66 Merge pull request #60 from janisozaur/master
Fix compilation with GCC6
2017-03-24 15:11:32 +01:00
Michał Janiszewski
a6a989cc18 clang-format the sources 2017-03-23 08:50:08 +01:00
Michał Janiszewski
3d51050db5 Set amalgamate.sh as executable 2017-03-23 08:38:27 +01:00
Michał Janiszewski
3c7177c0cb Fix misleading indentation 2017-03-23 08:38:10 +01:00
Martin
35c2d67bcf Fix compilation with the various omission compile definitions 2.0.5 2017-03-13 19:49:01 +01:00
Martin
1c6ca868d7 Fix compilation with the various omission compile definitions 2.0.4 2017-03-13 19:38:42 +01:00
Martin
2337db2f7b Fix formatting 2017-03-11 19:09:33 +01:00
Martin
3b3c258b2d Update readme/changelog 2017-03-11 19:06:16 +01:00
Martin
e72ae3f4c2 Use UTF-8 for filenames in ZIP files per default 2.0.3 2017-03-11 18:24:44 +01:00
Martin
91ce90fa17 Added callback for periodic flushes 2017-02-08 15:53:52 +01:00
Martin
460e619ae8 Compatibility with older gcc 2017-01-19 16:00:13 +01:00
Martin
e906a841c7 Fix compile warnings 2017-01-19 15:57:45 +01:00
Martin
a7e7e92a20 Fix compile warnings 2017-01-19 15:57:04 +01:00
Martin
3b7ee5aea5 Fix compile warnings 2017-01-19 15:53:53 +01:00
Martin
4c36ab0230 Rerun clang-format 2.0.2 2017-01-03 01:30:38 +01:00
Martin
4fa873b0f8 Fix backwards compatibility 2017-01-03 01:19:22 +01:00
Martin
e2c4080f23 Fix bit not being set properly 2016-11-28 02:48:40 +01:00
Martin
3a47d05880 Add build status 2.0.1 2016-11-28 01:35:43 +01:00
Martin
e8f2665999 Added travis conf 2016-11-28 01:33:23 +01:00
Martin
75bc65102a Fixup: Only set locator bit if the locator is going to be added 2016-11-28 01:20:31 +01:00
Martin
61735ccf76 Only set locator bit if the locator is going to be added 2016-11-28 01:19:55 +01:00
Martin
ce32a4609f Fix test 2016-11-28 00:36:05 +01:00
Martin
57cab696ea Fix comments 2016-11-27 22:23:47 +01:00
Martin
8e30365e91 Fix compile issues with "gcc -ansi" 2016-11-27 22:19:38 +01:00
Martin
8ac1bf6cdb Fix test 2016-11-27 21:45:21 +01:00
Martin
55339a8978 Make tester and examples compile again and test script 2016-11-27 21:39:02 +01:00
Martin
c06aa2da84 Create amalgamized releases 2.0.0 2016-11-25 16:04:17 +01:00
Martin
224d207ce8 MiniZ ZIP64 was part of valve vogl which is MIT licensed 2016-11-21 18:17:47 +01:00
Martin
42c29103c3 Streaming ZIP creation, automatic ZIP64 switching and UTF8 filenames 2016-11-21 18:08:45 +01:00
Matthew Sitton
c306a44fd7 Update readme.md 2016-06-25 12:58:26 -05:00
Matthew Sitton
fa88d6529b Update CMakeLists.txt to properly do release builds. 2016-06-25 12:58:17 -05: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
11f1380c45 Some more formatting issues. 2016-06-25 12:03:49 -05:00
Matthew Sitton
1f58216cad Another formatting issue. 2016-06-25 11:09:06 -05:00
Matthew Sitton
5a5a014f07 add more extern c blocks. 2016-06-25 10:56:14 -05:00
Matthew Sitton
91513516ae Fix some missed stuff that clang-format missed. 2016-06-25 10:11:59 -05:00