260 Commits

Author SHA1 Message Date
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
Vollstrecker
4db1cd9721 CMake: Added contrib/iostream3. 2026-01-12 10:55:15 -08:00
Vollstrecker
fb4bdb7412 CMake: Unify the options. 2026-01-12 10:55:15 -08:00
Vollstrecker
f7df8cc974 CMake: Added contrib/infback9. 2026-01-12 10:55:15 -08:00
Vollstrecker
6f0e6f10b1 CMake: Added contrib/gcc_gvmat64. 2026-01-12 10:55:15 -08:00
Vollstrecker
fe28c0216e CMake: Filter out optimisation flags for the ada binder. 2026-01-12 10:55:15 -08:00
Vollstrecker
175ff0951a CMake: Clean out unneeded stuff. 2026-01-12 10:55:15 -08:00
Vollstrecker
5ba29aea46 CMake: Added contrib/blast. 2026-01-12 10:55:15 -08:00
Vollstrecker
b74a346cbf CMake: Added contrib/ada. 2026-01-12 10:55:15 -08:00
Vollstrecker
fa448d45d6 CMake: Set defaults for contrib/minizip from contrib. 2026-01-12 10:55:15 -08:00
Vollstrecker
3a85de5fcb CMake: Move contrib options out of main file. 2026-01-12 10:46:34 -08:00
Mark Adler
4edb00de5a Add _z versions of the compress and uncompress functions.
Provide size_t arguments for Windows, on which a long is 32 bits.
2026-01-12 10:13:28 -08:00
Mark Adler
1a40058a92 Remove untgz from contrib. 2026-01-12 09:52:53 -08:00
Mark Adler
916dc1ac35 Add compressBound_z and deflateBound_z functions for large values.
These take and return size_t integers, instead of unsigned longs,
for those platforms with 32-bit longs. This commit also assures
that overflows of either integer type results in the maximum value
for that type, instead of wrapping to small values.
2026-01-05 15:03:04 -06:00
Mark Adler
570720b0c2 zlib 1.3.1.2
Interim version for an audit.
2025-12-08 05:30:18 -08:00
skydvr
783886350b Correct Visual Studio readme.txt. 2025-05-13 18:00:03 -07:00
spectralio
0b29118367 Fix Ada bindings on x64. 2025-02-05 21:43:36 -08:00
Vollstrecker
61a56bcbb0 CMake: Make USE_FILE32API part of the interface. 2025-01-31 20:02:26 -08:00
Vollstrecker
4891d8185a CMake: Give minizip a suffix on Cygwin as well. 2025-01-31 20:02:26 -08:00
Vollstrecker
2c62f8885c CMake: Clean up spaces in required versions. 2025-01-31 20:02:26 -08:00
Vollstrecker
5a31e529bc CMake: Add the tested version of cmake (3.31).
Per @ClausKlein suggestion.
2025-01-31 20:02:26 -08:00
Vollstrecker
213998f2b0 CMake: Include bzip2 in the interface. 2025-01-31 20:02:26 -08:00
Vollstrecker
6925d39b50 CMake: Fix typo. 2025-01-31 20:02:26 -08:00
Vollstrecker
8b8a124eb4 CMake: Add cmake-format.yaml and reformat the cmake files. 2025-01-31 20:02:26 -08:00
Vollstrecker
b8ae23d4c8 CMake: Disable bzip2 for tests.
It's not installed everywhere.
2025-01-31 20:02:26 -08:00
Vollstrecker
42a670ec20 CMake: Restore lost variable. 2025-01-31 20:02:26 -08:00
Vollstrecker
10a12ec427 CMake: Correct wording for minizip options. 2025-01-31 20:02:26 -08:00
Vollstrecker
abf7487d6c CMake: Add components selection. 2025-01-31 20:02:26 -08:00
Vollstrecker
e843c631d6 CMake: Refine tests. 2025-01-31 20:02:26 -08:00
Vollstrecker
d51255713b CMake: Do not link to bzip2. 2025-01-31 20:02:26 -08:00
Vollstrecker
8fee881981 CMake: Clean up formatting. 2025-01-31 20:02:26 -08:00
Vollstrecker
5fd63442f9 CMake: Search for zlib by CONFIG to get all needed targets. 2025-01-31 20:02:26 -08:00
Vollstrecker
62b5b4eff8 CMake: Make bzip2 required if it's requested. 2025-01-31 20:02:26 -08:00
Vollstrecker
f42008f5b4 CMake: Avoid double inclusion of CPack warning. 2025-01-31 20:02:26 -08:00
Vollstrecker
15a3751836 CMake: Order the includes consistently. 2025-01-31 20:02:26 -08:00
Vollstrecker
ede311d685 CMake: Make bzip2 optional. 2025-01-31 20:01:41 -08:00
Vollstrecker
373bc1d7c5 CMake: Uncomment stop sign. 2025-01-31 20:01:41 -08:00