1
0
mirror of https://github.com/madler/zlib.git synced 2026-10-24 02:48:53 +03:00

296 Commits

Author SHA1 Message Date
Mark Adler
9e35567064 Version 1.3.2 2026-02-17 04:47:06 -08:00
Mark Adler
6d95c6f685 Fix the minizip Makefile to work with both BSD and GNU make.
It previously relied on a GNU make implicit rule.
2026-02-17 01:35:27 -08:00
Mark Adler
40d05192c7 Factor out a set_uniq() function to set the seed with noise.
In preparation for using this in lieu of rand() for crypt.h.
2026-02-16 21:44:25 -08:00
Mark Adler
1ebcfc9ddc Replace strcpy() with memcpy() in contrib/minizip. 2026-02-16 20:58:45 -08:00
Mark Adler
80165723eb Adjust cmake defaults. 2026-02-16 02:25:37 -08:00
Mark Adler
fa5ea47e62 Remove vstudio projects in lieu of cmake-generated projects. 2026-02-16 02:25:37 -08:00
Vollstrecker
0b3932c80d CMake: Add build for zlib1.dll with zlib and minizip.
zlib1.dll is the legacy zlib + minizip DLL.
2026-02-16 02:25:37 -08:00
Vollstrecker
965fbb574f CMake: Remove "compatible" zlib and minizip installations.
Replaced with zlib1-dll.
2026-02-16 01:57:40 -08:00
Ross Burton
9ac9b6bb2d Fix the minizip Makefile to use the default variables and rules. 2026-02-13 15:12:34 -08:00
anjiahao
c2711725f7 Return error codes in minizip miniunz.c and minuzip.c. 2026-02-13 14:25:13 -08:00
AraHaan
a793abe0b5 Add repository README to the nuget package. 2026-02-12 10:48:55 -08:00
Yuriy Chernyshov
e0aef12fb6 Add LICENSE.Info-Zip to contrib/minizip.
crypt.c is derived from the Info-ZIP code, which requires a copy
of the Info-ZIP license here.
2026-02-12 10:14:06 -08:00
Dimitri Papadopoulos
e5c1cd1a85 Remove extraneous spaces in contrib/minizip/miniunz.c. 2026-02-12 10:09:17 -08:00
Mark Adler
2570416264 Update URLs to use https.
Also some dead links were repaired or removed. Some http links
were left as is where attempting https did not work, or where it
is a historical record.
2026-02-12 01:34:02 -08:00
Dimitri Papadopoulos
af0aa9b66a Catch a file open error in contrib/minizip/mztools.c.
And close those successfully opened.
2026-02-11 15:40:53 -08:00
Andrey Filipenkov
4df5acd7d2 Don't use *64 functions on Android before API level 24. 2026-02-11 15:16:57 -08:00
Nobuhiro Iwamatsu
249e7533cb Specify the zlib license in pkg-config files.
The pkg-config file has License variable that that sets the software license.
This sets 'Zlib' as defined in SPDX to License.
2026-02-11 12:19:30 -08:00
Mark Adler
d37e27eef6 Reduce warnings in contrib/minizip. 2026-02-10 22:37:25 -08:00
Mark Adler
fc7593c0e5 Avoid missing-extern warnings. 2026-02-10 22:37:25 -08:00
Mark Adler
029a4a490e Remove carriage returns from contrib/testzlib files. 2026-02-10 09:17:13 -08:00
Mark Adler
61f343885e Use _WIN32 instead of WIN32 in pufftest.c. 2026-02-09 07:08:54 -08:00
Vollstrecker
cd55be2a2f CMake: Add tests for minizip components. 2026-02-07 15:57:44 -08:00
Jan Nijtmans
060c9e7c45 Remove all uses of the obsolete keyword "register". 2026-02-03 14:31:01 -08:00
git@github.com
9f25df2c80 CMake: Fix the Ada standalone build. 2026-01-31 20:15:09 -08:00
git@github.com
3089a0b468 CMake: Fix the iostream3 install test. 2026-01-31 20:15:09 -08:00
Werner
f84a26421e CMake: Make minizip buildable by itself. 2026-01-31 20:15:09 -08:00
Werner
46e7092741 CMake: Move the testers to the test directory. 2026-01-31 20:15:09 -08:00
Werner
c4d26cad9f CMake: Use the correct options. 2026-01-31 20:15:09 -08:00
Werner
d48b805a84 CMake: Correct a comment. 2026-01-31 20:15:09 -08:00
Werner
c9170ec2f4 CMake: Remove an empty line. 2026-01-31 20:15:09 -08:00
Vollstrecker
8089c7dcb3 CMake: Use a normal components search in minizip. 2026-01-31 20:13:05 -08:00
Vollstrecker
3e9680762b CMake: Use components in minizip.
Check if minizip is part of zlib build.
2026-01-31 20:12:16 -08:00
Lwisce Zeng
55551fe34e Remedy uninitialized variable warning in minizip. 2026-01-28 16:12:09 -08:00
Mark Adler
75133f8599 Replace // with /* comments in minizip zip.c. 2026-01-28 13:55:34 -08:00
Mark Adler
74377e7215 Remove inline keyword from minizip zip.c. 2026-01-28 13:18:44 -08:00
Mark Adler
2f752cea32 Set bit 11 of the zip header flags in minizip if UTF-8.
The bit is set if the file name contains valid UTF-8 and there is
at least one code of two or more bytes. If there is a comment,
then the comment has to pass the same test for bit 11 to be set.
2026-01-28 12:44:54 -08:00
Ilya Leoshkevich
07f2d4237e Vectorize the CRC-32 calculation on the s390x.
Use vector extensions when compiling for s390x and binutils knows
about them. At runtime, check whether kernel supports vector
extensions (it has to be not just the CPU, but also the kernel)
and choose between the regular and the vectorized implementations.

Co-authored-by: Eduard Stefes <eddy@linux.ibm.com>
2026-01-27 20:22:17 -08:00
Vollstrecker
edd88953de CMake: Add install-target for contrib/testzlib. 2026-01-12 11:10:03 -08:00
Vollstrecker
e62a3ddbe3 CMake: Make final fixes for Windows. 2026-01-12 11:10:03 -08:00
Vollstrecker
883c24b6a2 CMake: Add integration tests. 2026-01-12 11:10:03 -08:00
Vollstrecker
16abbd2952 CMake: Fix MSVC build. 2026-01-12 11:10:03 -08:00
Vollstrecker
dc35cccfa7 CMake: Name tests consistently. 2026-01-12 11:10:03 -08:00
Vollstrecker
c6d16d4c3b CMake: Name targets consistently. 2026-01-12 11:10:01 -08:00
Vollstrecker
9444f8641b CMake: Make it work with add_subdirectory. 2026-01-12 11:09:28 -08:00
Vollstrecker
39728a2b00 CMake: Add install and exports. 2026-01-12 11:08:59 -08:00
Vollstrecker
53af7b07e5 CMake: Make the options available in cmake-gui. 2026-01-12 11:08:02 -08:00
Vollstrecker
a8631975bc CMake: Added contrib/testzlib. 2026-01-12 11:07:43 -08:00
Vollstrecker
fb0479a8bd CMake: Added contrib/puff. 2026-01-12 10:55:15 -08:00
Vollstrecker
89889debe3 CMake: Removed bogus module-path. 2026-01-12 10:55:15 -08:00
Vollstrecker
1956b5a89f CMake: Moved everything to functions for consistency. 2026-01-12 10:55:15 -08:00