Martin Raiber
4a8dc21d9d
Merge pull request #238 from kobrineli/fix-overflow
...
Fix integer overflow in header corruption check.
2022-08-25 21:58:37 +02:00
Martin Raiber
725b8df44c
Merge pull request #239 from MatthewGentoo/cmake--pkgconfig
...
pkg-config tweaks
2022-08-25 21:58:04 +02:00
Martin Raiber
8cdf426109
Merge branch 'master' into cmake--pkgconfig
2022-08-25 21:57:56 +02:00
Martin Raiber
680454c21e
Merge pull request #247 from davidebeatrici/miniz.pc.ib-include-dir-fix
...
miniz.pc.in: fix include path not containing the "miniz" suffix
2022-08-25 21:57:01 +02:00
Jonliu1993
a203b9a0d4
Add vcpkg installation instructions
2022-08-25 16:21:22 +08:00
Davide Beatrici
d4ad2bf51e
miniz.pc.in: fix include path not containing the "miniz" suffix
2022-08-02 19:25:10 +02:00
Martin Raiber
be92575500
Merge pull request #240 from AMDmi3/freebsd
...
Fix compatibility with FreeBSD and improve readability in miniz_zip.c
2022-07-09 13:00:58 +02:00
systoolz
a2b5326d86
missing const in declaration
2022-06-10 22:17:21 +07:00
Dmitry Marakasov
de0a4d2444
Use stdio functions without 64 suffix on FreeBSD
...
FreeBSD neither has nor needs suffixed functions
2022-06-08 20:36:46 +03:00
Dmitry Marakasov
482c77e661
Add blank lines between if blocks in miniz_zip.c for readability
2022-06-08 20:32:54 +03:00
Matthew Smith
37ea28133d
build: Set pkgconfig includedir to miniz directory
...
Allows users to include <miniz.h> instead of <miniz/miniz.h> which
seems to be the intended behaviour.
2022-06-04 09:31:06 +01:00
Matthew Smith
9cd715b3b1
build: Install .pc file in correct directory
...
/usr/share/pkgconfig should be used for architecture independent
libraries (e.g. data or scripts), while an architecture dependent
directory like /usr/lib64/pkgconfig should be used for native
binaries.
Co-authored-by: Sam James <sam@gentoo.org>
2022-06-04 09:22:37 +01:00
Eli Kobrin
a9d7f80cc6
Fix integer overflow in header corruption check.
2022-05-20 16:30:30 +03:00
Josh Vander Hook
8db69b6b59
Fix for n shadows variable
2022-05-19 11:24:55 -07:00
Georgy Treshchev
c610f58a57
Replacing "1ULL" with "(size_t)1"
2022-05-16 19:47:54 +04:00
Dialga
e1e7f70e59
Fix callback typo
2022-05-17 01:37:04 +12:00
Martin Raiber
76b3a87285
Update ChangeLog.md
2022-05-08 16:53:32 +02:00
Martin Raiber
5c9c89509c
Merge pull request #231 from nedelec/master
...
Fixed alignment problems on MacOS
2022-05-08 16:48:02 +02:00
Martin Raiber
719967dc82
Merge pull request #225 from randy408/zlib_flevel
...
deflate: write zlib FLEVEL based on compression level
2022-05-08 16:46:36 +02:00
Martin Raiber
18bc504331
Merge pull request #224 from Dialga/patch-1
...
Add switch case for MZ_ZIP_TOTAL_ERRORS
2022-05-08 16:44:03 +02:00
Martin Raiber
144c351f34
Update miniz_tdef.c
...
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2022-05-06 21:30:08 +02:00
Martin Raiber
bc77ea1017
Update miniz_tdef.c
...
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2022-05-06 21:30:02 +02:00
Randy
7c459c8a05
Update miniz_tdef.c
...
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2022-05-06 05:01:09 +02:00
Georgy Treshchev
118b2e3d34
Bit shift fix
2022-05-01 11:33:43 +04:00
Francois Nedelec
e7d0e216d5
Fixed alignment problems on MacOS
2022-04-01 14:34:04 +01:00
Martin Raiber
5a38f5564a
Increment version in cmake
2022-02-27 20:09:11 +01:00
Martin Raiber
9eedb97176
Clear whole tree to prevent uninitialized value
2022-02-27 20:08:22 +01:00
Martin Raiber
8a7cf60c7a
Merge pull request #226 from sezero/w1
...
replace use of stdint.h types with mz_ variants
2022-02-09 21:36:23 +01:00
Martin Raiber
d9bd65a843
Merge pull request #227 from sezero/u0
...
tdefl_compress_normal: Avoid NULL ptr arithmetic UB
2022-02-09 21:35:06 +01:00
Andrius Mitkus
71ba5d12d6
Avoid NULL ptr arithmetic UB
2022-02-09 09:48:30 +03:00
Ozkan Sezer
e285002431
replace use of stdint.h types with mz_ variants
2022-02-09 09:36:50 +03:00
Randy
cd1dc96d27
deflate: write zlib FLEVEL based on compression level
2022-02-08 23:24:02 +01:00
Dialga
5245b1c52f
Add switch case for MZ_ZIP_TOTAL_ERRORS
2022-02-07 11:03:31 +13:00
Martin
842a20e586
Update ChangeLog
2022-02-06 14:58:49 +01:00
Martin
edc251cfa9
Add padding to structures so it continues to work if features differ
2022-02-06 14:57:58 +01:00
Martin
9ffbe56a73
Update ChangeLog
2022-02-06 14:39:43 +01:00
Martin
f2b59b344d
Increment major version
2022-02-06 14:39:27 +01:00
Martin
0ce345c44a
Disable building shared lib by default
2022-02-06 14:30:35 +01:00
Martin
0796bdbee6
Disable treating warnings as error with MSVC
2022-02-06 14:29:22 +01:00
Martin Raiber
056cc8db14
Merge pull request #159 from christiansandberg/reduced-inflate-memory-usage
...
Reduce memory usage for inflate
2022-02-06 14:16:40 +01:00
Christian Sandberg
60942b0f04
Initialize tree and code size tables separately
2022-01-24 09:55:56 +01:00
Christian Sandberg
8997650f5c
Remove m_tables
2022-01-23 20:24:58 +01:00
Christian Sandberg
698faddd95
Minor formatting fix
2022-01-23 14:14:27 +01:00
Christian Sandberg
ff862d4596
Fix -Wshadow
2022-01-23 14:12:48 +01:00
Christian Sandberg
740049e643
Merge branch 'master' into reduced-inflate-memory-usage
2022-01-23 13:32:56 +01:00
Martin Raiber
2cd06e3f32
Merge pull request #217 from sezero/ub-fix
...
tinfl_decompress: avoid NULL ptr arithmetic UB:
2022-01-22 22:16:45 +01:00
Martin Raiber
f3d9e2293b
Fix return value
2022-01-22 22:14:31 +01:00
Martin Raiber
1541a11e9b
Merge pull request #220 from sezero/z64
...
miniz_zip: fix mz_zip_reader_extract_to_heap to read correct sizes
2022-01-22 20:12:07 +01:00
Ozkan Sezer
501a761549
miniz_zip: fix mz_zip_reader_extract_to_heap to read correct sizes
...
Fixes: https://github.com/richgel999/miniz/issues/218
2022-01-02 20:56:56 +03:00
Ozkan Sezer
aa70ef1644
tinfl_decompress: avoid NULL ptr arithmetic UB:
...
Fixes: https://github.com/richgel999/miniz/issues/216
Also see:
6b8c30e4a9
2021-12-27 10:50:32 +03:00