Commit Graph

36 Commits

Author SHA1 Message Date
Martin
2fa13ca8a3 Replace defines with function wrappers etc. as much as possible 2024-12-06 21:30:49 +01:00
Martin
8714fd3cd8 Format code with clang-format 2024-05-16 21:24:56 +02:00
Nyq
6f09a0f0b5
Update miniz.h to correctly reflect release version in the title comment
The version number in the title comment (line 1) was not updated since version 3.0.0, which causes confusion between versions 3.0.0, 3.0.1 and 3.0.2. It would be good if the title comment in this header file was updated for each release as it is exactly that this comment is being looked at by most programmers when checking the library version in their code trees.
2023-08-15 06:58:55 -04:00
Martin Raiber
12680974d1
Increment version 2023-01-15 12:55:30 +01:00
Martin Raiber
2363190ebf
Increment version 2022-11-06 13:47:03 +01:00
Martin
f2b59b344d Increment major version 2022-02-06 14:39:27 +01:00
Martin
2beb69d0a5 Don't use unaligned stores and loads per default 2021-11-28 18:35:46 +01:00
Martin
0a88083589 Improve endianess detection 2021-11-28 18:35:19 +01:00
Martin Raiber
82d6810a38
Merge pull request #193 from ccawley2011/no-inflate-deflate
Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS
2021-11-11 21:36:53 +01:00
Martin Raiber
cb2b132b86
Merge pull request #196 from ccawley2011/patch-2
Set MINIZ_LITTLE_ENDIAN only if not set
2021-11-11 21:26:54 +01:00
Cameron Cawley
9b89689723 Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS 2021-07-20 20:19:32 +01:00
Cameron Cawley
f99eae6e04
Set MINIZ_LITTLE_ENDIAN only if not set 2021-07-20 20:17:06 +01:00
Cameron Cawley
fc0c0f585e
Avoid using unaligned memory access in UBSan builds 2021-07-20 18:22:34 +01:00
Martin
8ac52a6cae Increment version 2021-06-27 22:39:44 +02:00
Tim Gates
6241bc718c
docs: fix simple typo, purpsosely -> purposely
There is a small typo in miniz.h.

Should read `purposely` rather than `purpsosely`.
2020-12-08 07:06:18 +11:00
Leonard Lausen
90ff5d51e4
Correct zip64 ZIP archive support limitations entry
According to ChangeLog.md Zip64 format is supported since 2.0 release
2020-11-24 15:38:08 -08:00
vlad
ccff20b76d added uncompress2 2020-02-20 19:36:13 +01:00
tamasmeszaros
d57872c77a Fix for older cmake versions and build of examples. 2019-06-03 10:02:13 +02:00
tamasmeszaros
185bc3c683 Use CMake export header for exporting symbols.
Only in shared library mode.
2019-05-28 11:57:37 +02:00
Charlie Gettys
5ba89c135d
Add !defined check on MINIZ_USE_ALIGNED_LOADS_AND_STORES
Add !defined check so that one can override MINIZ_USE_ALIGNED_LOADS_AND_STORES in case a given compiler does not support it (this issue has been seen in the wild, #assimp/assimp#2389
2019-03-27 10:46:41 -04: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
Martin
f8600923fc Incremented version 2018-11-11 19:10:51 +01:00
Martin
53bfef515c More instances of memcpy instead of cast and use memcpy per default 2018-10-27 17:14:33 +02:00
Martin
55f4dfe1d2 Incremented version 2018-04-18 17:09:01 +02:00
Martin
36b6c99f62 Incremented version 2018-02-20 19:03:53 +01:00
Martin
04f2169b8a Incremented version 2018-02-20 19:02:57 +01: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
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
3b3c258b2d Update readme/changelog 2017-03-11 19:06:16 +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
Matthew Sitton
d650d15974 Add vogl .clang-format and reformat library source. 2016-06-25 09:03:56 -05:00
Matthew Sitton
baa0e214e7 Add v1.16 beta r1 changes. 2016-06-25 08:02:20 -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