1
0
mirror of https://github.com/madler/zlib synced 2025-03-28 21:13:15 +00:00

836 Commits

Author SHA1 Message Date
Vollstrecker
5a82f71ed1 Use generated zconf.h in cmake build.
This restores the inclusion of the local zconf.h (double quoted)
in normal usage.
2025-02-18 15:00:15 -08:00
Mark Adler
7108497fda Check that HAVE_UNISTD_H and HAVE_STDARG_H are not defined as 0. 2025-02-13 22:44:48 -08:00
Vollstrecker
00161eff1d Do not look for zconf.h in the source directory.
Temporary patch for cmake, but too violent. A better solution will
need to be found.
2025-02-13 11:51:26 -08:00
Mark Adler
8a844d434f Use zconf.h instead of zconf.h.in for cmake. 2025-02-06 17:16:52 -08:00
Vollstrecker
d20659fc74 Repair MinGW cmake build. 2025-02-06 16:23:45 -08:00
spectralio
0b29118367 Fix Ada bindings on x64. 2025-02-05 21:43:36 -08:00
Mark Adler
c715ad71fe Restore zconf.h to distribution. 2025-02-05 16:10:11 -08:00
Mark Adler
ed1610791c Revert previous commit, restoring the memcpy() call.
The reported issue was due to an error in their test code, not in
inflate. This use of memcpy() in inflate is correct.
2025-02-02 11:06:17 -08:00
Mark Adler
ab0266a362 Avoid use of memcpy() in inflate when areas can overlap. 2025-02-01 17:16:39 -08:00
Mark Adler
ec346f1c39 Update Makefile to not recreate zconf.h and zconf.h.cmakein.
Both were removed as zconf.h.cmakein is no longer needed, and
zconf.h is made from zconf.h.in.
2025-01-31 20:18:50 -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
de4dea8007 CMake: Disable minizip on Cygwin. 2025-01-31 20:02:26 -08:00
Vollstrecker
953b3d79bf CMake: Correct workflow line continuation. 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
cdb3ab194c CMake: Correct workflow options to disable bzip2 on Windows.
Note that Vollstrecker hates yaml.
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
6c2ab4ddc6 CMake: Do not test with bzip2 on Windows or Cygwin. 2025-01-31 20:02:26 -08:00
Vollstrecker
05051d236b CMake: Install bzip2 on Cygwin in workflow. 2025-01-31 20:02:26 -08:00
Vollstrecker
5760ba1570 CMake: Correct runner.os to Linux. 2025-01-31 20:02:26 -08:00
Vollstrecker
c6d44927c5 CMake: Switch from make back to ninja.
Limit to one job.
2025-01-31 20:02:26 -08:00
Vollstrecker
63ded6faaf CMake: Install missing bzip2 in workflow. 2025-01-31 20:02:26 -08:00
Vollstrecker
1cac365fe4 CMake: Add make to Cygwin. 2025-01-31 20:02:26 -08:00
Vollstrecker
03449d49ba CMake: Re-enable testing with bzip2. 2025-01-31 20:02:26 -08:00
Vollstrecker
6c224f159e CMake: Change README-cmake to README-cmake.md with formatting.
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
734f974753 CMake: Re-enable Cygwin tests without Ninja. 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
4f2671d50c CMake: Remove unused variable. 2025-01-31 20:02:26 -08:00
Vollstrecker
00cbe1d6b1 CMake: Disable testing on Cygwin. 2025-01-31 20:02:26 -08:00
Vollstrecker
b9cf26c056 CMake: Increase CMake minimum version to 3.12.
For HOMPAGE_URL.
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
7667ca5593 CMake: Re-enable Cygwin and MSYS tests. 2025-01-31 20:02:26 -08:00
Vollstrecker
c31099862f CMake: Add one more alias for llvm-cov. 2025-01-31 20:02:26 -08:00
Vollstrecker
1be9392124 CMake: Add a README.cmake. 2025-01-31 20:02:26 -08:00
Vollstrecker
42a670ec20 CMake: Restore lost variable. 2025-01-31 20:02:26 -08:00
Vollstrecker
33b8e6f507 CMake: Rename option to ZLIB_INSTALL.
Not only the libraries are installed.
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
d82da0fd15 CMake: Remove cmake out-of-tree test.
CMake is designed for that.
2025-01-31 20:01:41 -08:00
Vollstrecker
373bc1d7c5 CMake: Uncomment stop sign. 2025-01-31 20:01:41 -08:00