vlad
ccff20b76d
added uncompress2
2020-02-20 19:36:13 +01:00
jeremyl
a0dd5179db
Add #elif to enable an external mz_crc32() to be linked in.
...
Adds '#elif defined(USE_EXTERNAL_MZCRC)' by the mz_crc32() definition
to enable the option of a user linking in an alternate crc implementation.
The main reason why this might be desired would be to use an SSE-accelerated
crc implementaiton, which would be faster, but not be reasonable to include
in this file.
2019-10-09 11:30:50 -07:00
tamasmeszaros
185bc3c683
Use CMake export header for exporting symbols.
...
Only in shared library mode.
2019-05-28 11:57:37 +02:00
Dmitry Eremin-Solenikov
ae423e65b4
Implement inflateReset() function
...
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com >
2018-12-18 14:26:37 +03:00
Michał Janiszewski
a6a989cc18
clang-format the sources
2017-03-23 08:50:08 +01:00
Martin
1c6ca868d7
Fix compilation with the various omission compile definitions
2017-03-13 19:38:42 +01:00
Martin
4c36ab0230
Rerun clang-format
2017-01-03 01:30:38 +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
224d207ce8
MiniZ ZIP64 was part of valve vogl which is MIT licensed
2016-11-21 18:17:47 +01:00
Matthew Sitton
3979a6de1f
And finally Integrate vogl changes.
2016-06-25 12:13:28 -05:00
Matthew Sitton
1f58216cad
Another formatting issue.
2016-06-25 11:09:06 -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
richgel99@gmail.com
28f5066e33
Minor bugfix to mz_zip_writer_add_from_zip_reader() discovered on the zip64 branch - should be a harmless bug because I don't think the central dir offsets are actually used during writing in this build (but they are in the next one).
2013-10-14 01:55:15 +00:00
richgel99@gmail.com
9311207860
fixing tabs in comment, arghh
2013-10-14 00:54:49 +00:00
richgel99@gmail.com
5f0ebdd130
adding comment update bugfix
2013-10-14 00:53:21 +00:00
richgel99@gmail.com
90352e2d5f
ok, tweaking the fclose leak fix on write failure so it occurs AFTER the src file is opened, to prevent the dest archive from expanding in case the src file is missing (should be harmless though)
2013-10-14 00:50:26 +00:00
richgel99@gmail.com
54c4c73ab6
Minor fix to mz_zip_writer_add_file - moving local header+alignment byte write up before the src file is open to avoid an fclose() leak
2013-10-14 00:40:49 +00:00
richgel99@gmail.com
2d8997f48c
Merging another reasonably important bugfix in mz_zip_reader_extract_to_mem_no_alloc() into v1.15
2013-10-13 18:01:14 +00:00
richgel99@gmail.com
fe5340afc0
Initial checkin of v115 - 1 important bugfix, few minor bugfixes, cmake support, merged a bunch of fixes from other folks, added improved PNG writer, etc.
2013-10-13 16:59:10 +00:00
richgel99@gmail.com
731d5b2f87
Adding mz_free() function, more MSVC compiler fixes to deal with the "safe" variants of several standard C I/O and timew functions
2012-05-21 00:19:41 +00:00
richgel99@gmail.com
e842d2de5e
Minor tweaks to get miniz.c compiling with tcc (Tiny C Compiler)
2012-05-20 23:33:13 +00:00
richgel99@gmail.com
f28a343dfa
Updated header to v1.14
2012-05-20 21:29:51 +00:00
richgel99@gmail.com
7bc1530e7a
Removed extra #include <time.h> (it's been moved to the header/definition section now)
2012-05-20 21:25:03 +00:00
richgel99@gmail.com
2a8a458b93
Various minor TDM GCC 4.6.1 and MinGW32 compilation fixes
2012-05-20 21:17:37 +00:00
richgel99@gmail.com
aba9ad1a5a
adding MZ_FORCEINLINE
2012-05-20 20:44:13 +00:00
richgel99@gmail.com
fc8a9e1d8b
Quick fix for mz_zip_add_mem_to_archive_file_in_place() (not enough of a fix to justify a whole new version). I've released a new archive labeled as v113_r2.
2012-05-20 09:57:00 +00:00
richgel99@gmail.com
fb98158e67
Fixed comment typo
2012-05-20 04:29:13 +00:00
richgel99@gmail.com
56fb6c2010
v1.13 initial checkin
2012-05-20 04:01:37 +00:00
richgel99@gmail.com
6b95156074
v1.12 - more comments, adding low-level example5, fixing issue when level_and_flags is set to MZ_DEFAULT_COMPRESSION, modified each project uses its own intermediate directory
2012-04-12 09:26:12 +00:00
richgel99@gmail.com
3172e9f7db
added unlicense.org statement
2011-05-28 22:15:49 +00:00
richgel99@gmail.com
9560a0a51d
miniz.c updated to v1.10 - substantial compressor optimizations, fixed minor issue with unsigned long type, added level commmand line option parsing to example3
2011-05-28 13:52:24 +00:00
richgel99@gmail.com
1815727365
2011-05-17 07:14:15 +00:00