]> git.ipfire.org Git - thirdparty/zlib-ng.git/log
thirdparty/zlib-ng.git
10 months ago2.1.8 Release 2.1.x 2.1.8
Hans Kristian Rosbach [Sun, 15 Sep 2024 14:54:50 +0000 (16:54 +0200)] 
2.1.8 Release

10 months ago[RISCV] Better run-time detection of RVV vector instruction support
Mika Lindqvist [Mon, 26 Aug 2024 16:26:37 +0000 (19:26 +0300)] 
[RISCV] Better run-time detection of RVV vector instruction support

Original version posted by @ncopa in #1705.

10 months agoFixed false positive HAVE_ARMV6_INTRIN value on old ARM platforms.
Alexander Smorkalov [Tue, 10 Sep 2024 14:07:09 +0000 (17:07 +0300)] 
Fixed false positive HAVE_ARMV6_INTRIN value on old ARM platforms.

10 months agoDon't use chunkunroll for inflateBack
Nathan Moinvaziri [Mon, 9 Sep 2024 20:32:33 +0000 (13:32 -0700)] 
Don't use chunkunroll for inflateBack

If the output buffer and the window buffer are the same
memory allocation, we cannot make the assumptions that chunkunroll
does, that it is okay to overwrite the output buffer.

10 months agoAddress CR feedback
Adeel Mujahid [Thu, 29 Aug 2024 11:27:43 +0000 (14:27 +0300)] 
Address CR feedback

10 months agoFix new Windows SDK build break
Adeel Mujahid [Wed, 28 Aug 2024 20:49:55 +0000 (23:49 +0300)] 
Fix new Windows SDK build break

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
10 months agoEnable warning C4242 and treat warnings as errors for Visual C++.
Mika Lindqvist [Mon, 12 Aug 2024 23:20:19 +0000 (02:20 +0300)] 
Enable warning C4242 and treat warnings as errors for Visual C++.

10 months ago Fixes build issues C4242, C4244 and C4334 caused by loss of data bugs due to data...
Carlos Sánchez López [Thu, 25 Jul 2024 23:03:21 +0000 (16:03 -0700)] 
 Fixes build issues C4242, C4244 and C4334 caused by loss of data bugs due to data type mismatch in various files.

10 months agoIBM zSystems: Hardcode HWCAP_S390_VXRS
Ilya Leoshkevich [Fri, 9 Aug 2024 08:29:20 +0000 (10:29 +0200)] 
IBM zSystems: Hardcode HWCAP_S390_VXRS

Compiling zlib-ng with glibc 2.17 (minimum version still supported by
crosstool-ng) fails due to the lack of HWCAP_S390_VX - it was
introduced in glibc 2.23.

Strictly speaking, this is a problem with the feature detection logic
in cmake. However, it's not worth disabling the s390x vectorized CRC32
if the hwcap constant is missing and the compiler intrinsics are
available.

So fix by hardcoding the constant. It's a part of the kernel ABI,
which does not change.

10 months agoSilence possible loss of data warning in crc32_braid ZSWAPWORD call
Nathan Moinvaziri [Mon, 5 Aug 2024 15:59:31 +0000 (08:59 -0700)] 
Silence possible loss of data warning in crc32_braid ZSWAPWORD call

Warning C4244
'=': conversion from 'z_word_t' to 'uint32_t', possible loss of data
zlib
crc32_braid_c.c 195

10 months ago[CI] Upgrade MacOS ARM64 UBSAN to use gcc-13.
Mika Lindqvist [Tue, 30 Jul 2024 22:31:33 +0000 (01:31 +0300)] 
[CI] Upgrade MacOS ARM64 UBSAN to use gcc-13.

13 months agodon't use zlib-ng's -Wl,--version-script in tests (#1750)
Harmen Stoppels [Fri, 28 Jun 2024 11:21:33 +0000 (13:21 +0200)] 
don't use zlib-ng's -Wl,--version-script in tests (#1750)

lld 18 errors when a version script assigns a version to a symbol that
is not defined in the object files. Therefore configure scripts should
not use zlib-ng's version script -- all tests will fail.

Also test whether the linker supports the flag instead of assuming.

13 months ago2.1.7 Release 2.1.7
Hans Kristian Rosbach [Wed, 12 Jun 2024 12:21:22 +0000 (14:21 +0200)] 
2.1.7 Release

13 months agoFix a couple typos found by codespell
Dimitri Papadopoulos [Mon, 10 Jun 2024 07:18:17 +0000 (09:18 +0200)] 
Fix a couple typos found by codespell

13 months agofree_aligned: validate passed in pointer
Mika Lindqvist [Tue, 9 Apr 2024 15:49:58 +0000 (18:49 +0300)] 
free_aligned: validate passed in pointer

Especially when replacing zlib with zlib-ng in old binaries, it is possible that the binary is mixing allocation and
deallocation functions from different libraries. As not all old binaries can be rebuild, we should validate the passed
in pointer and if the pointer doesn't seem to be allocated with alloc_aligned of zlib-ng, we should not try to adjust
the pointer.

13 months agoEnabled orphaned unit tests for compare256_rle family of functions.
Vladislav Shchapov [Tue, 28 May 2024 19:46:06 +0000 (00:46 +0500)] 
Enabled orphaned unit tests for compare256_rle family of functions.

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoImprove source compatibility with zlib
Vladislav Shchapov [Sun, 26 May 2024 13:57:14 +0000 (18:57 +0500)] 
Improve source compatibility with zlib

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoAdd AArch64 feature detection support for OpenBSD
Brad Smith [Wed, 22 May 2024 23:11:05 +0000 (19:11 -0400)] 
Add AArch64 feature detection support for OpenBSD

13 months ago- Make codecov uploads happen even if some jobs have failed.
Hans Kristian Rosbach [Fri, 17 May 2024 14:04:57 +0000 (16:04 +0200)] 
- Make codecov uploads happen even if some jobs have failed.
- Fix error in generating list of reports to upload.
- Clean up the implementation a bit.

13 months agoAdd back-and-forth inflateCopy() test
Ilya Leoshkevich [Tue, 21 May 2024 10:45:39 +0000 (12:45 +0200)] 
Add back-and-forth inflateCopy() test

Check that calling inflateCopy() twice does not result in memory
corruption.

13 months agoUse actual compressed length
Vladislav Shchapov [Fri, 17 May 2024 17:37:29 +0000 (22:37 +0500)] 
Use actual compressed length

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoFix illegal instruction usage in Xeon Phi x200 processors
Tulio Magno Quites Machado Filho [Tue, 14 May 2024 14:06:46 +0000 (11:06 -0300)] 
Fix illegal instruction usage in Xeon Phi x200 processors

The Xeon Phi x200 family of processors (Knights Landing) supports
AVX512 (F, CD, ER, PF) but does not support AVX512 (VL, DQ, BW).

Because of processors like this, the Intel Software Developer's Manual
suggests the bits AVX512 (DQ,BW,VL) are also tested in EBX together with
AVX512F before deciding to run AVX512 (DQ,BW,VL) instructions.

This also adds a new x86 feature called avx512_common that indicates
that AVX512 (F,DQ,BW,VL) are all available and start using this for both
adler32_avx512 and crc32_vpclmulqdq implementations because they are
both built with -mavx512dq -mavx512bw -mavx512vl.

This has been reported downstream as
https://bugzilla.redhat.com/show_bug.cgi?id=2280347 .

13 months agoUse windows-2019 for build with toolset v141
Vladislav Shchapov [Fri, 17 May 2024 13:01:04 +0000 (18:01 +0500)] 
Use windows-2019 for build with toolset v141

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoMake lint check ignore *.patch files, as those can legally have trailing
Hans Kristian Rosbach [Wed, 15 May 2024 11:38:26 +0000 (13:38 +0200)] 
Make lint check ignore *.patch files, as those can legally have trailing
whitespace or end the file with blank lines.

13 months agoUpdate llvm version used for MSAN.
Hans Kristian Rosbach [Wed, 1 May 2024 15:23:36 +0000 (17:23 +0200)] 
Update llvm version used for MSAN.
Disable unneccessary compilation of tests, benchmarks, docs.

13 months agoUpdate s390x CI setup.
Hans Kristian Rosbach [Wed, 24 Apr 2024 19:14:20 +0000 (21:14 +0200)] 
Update s390x CI setup.
- New dockerfile
  - Using native actions-runner instead of relying on qemu.
  - To support s390x, we include patches to actions-runner.
  - Using Almalinux 9 instead of Ubuntu, with functional .Net.
- Update CI workflow.
- Update readme guide.

13 months agoFix a name conflict when compiled with zlib-compat
Adam Stylinski [Sat, 18 May 2024 22:36:33 +0000 (18:36 -0400)] 
Fix a name conflict when compiled with zlib-compat

The benchmarks fail to compile properly when built with ZLIB_COMPAT.
The name of the class cannot have the same name as the function.

13 months agoAdd small compress() benchmark
Hans Kristian Rosbach [Thu, 25 Jan 2024 23:13:20 +0000 (00:13 +0100)] 
Add small compress() benchmark

13 months agoIBM zSystems DFLTCC: Extend sanitizer checks
Ilya Leoshkevich [Thu, 2 May 2024 15:29:00 +0000 (17:29 +0200)] 
IBM zSystems DFLTCC: Extend sanitizer checks

Currently the DFLTCC sanitizer instrumentation is limited to
MSAN-unpoisoning the parameter block. Add ASAN and MSAN checks;
also MSAN-unpoison the window.

Introduce the generic instrument_read(), instrument_write() and
instrument_read_write() macros, that are modeled after the repsective
functions in the Linux kernel.

13 months agoSwitch to python venv
Vladislav Shchapov [Fri, 3 May 2024 12:27:06 +0000 (17:27 +0500)] 
Switch to python venv

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoFix -std option in configure script
Vladislav Shchapov [Fri, 3 May 2024 17:03:21 +0000 (22:03 +0500)] 
Fix -std option in configure script

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoUpdate macOS Github Actions
Vladislav Shchapov [Thu, 2 May 2024 20:53:18 +0000 (01:53 +0500)] 
Update macOS Github Actions

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months ago.gitattributes: Enforce LF line-endings on all non-binary files
Deniz Bahadir [Wed, 24 Apr 2024 14:37:34 +0000 (16:37 +0200)] 
.gitattributes: Enforce LF line-endings on all non-binary files

Although Git is able to automatically modify line-endings during checkin
and checkout, this brings a lot of trouble, especially when trying to
use a repository from different platforms (as Windows and Linux). This
is due to the fact that Git consults different local gitconfig settings
and uses problematic defaults if not set.

Therefore, Git should enfoce one type of line-ending (LF) and not
consult the local config, which is what the change from this commit
does.

Signed-off-by: Deniz Bahadir <deniz@code.bahadir.email>
13 months agomake darwin cross compilation possible
Un1q32 [Tue, 23 Apr 2024 23:54:05 +0000 (19:54 -0400)] 
make darwin cross compilation possible

https://github.com/madler/zlib/pull/789

13 months agoBump max CMake policy version to 3.29.0
Matt McCormick [Tue, 9 Apr 2024 14:44:07 +0000 (10:44 -0400)] 
Bump max CMake policy version to 3.29.0

Addresses:

  3.29.0/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
    Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
    Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
    cmake_policy command to set the policy and suppress this warning.
  Call Stack (most recent call first):
    CMakeLists.txt:107 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

13 months agoarch/riscv/riscv_features.c: fix uclibc build
Fabrice Fontaine [Sun, 17 Mar 2024 20:56:53 +0000 (21:56 +0100)] 
arch/riscv/riscv_features.c: fix uclibc build

Fix the following uclibc build failure raised since version 2.1.4 and
https://github.com/zlib-ng/zlib-ng/commit/6ff8b52cefe56a824fae1d53fdd687bcde2e53c9:

/home/autobuild/autobuild/instance-2/output-1/build/zlib-ng-2.1.6/arch/riscv/riscv_features.c:4:10: fatal error: sys/auxv.h: No such file or directory
    4 | #include <sys/auxv.h>
      |          ^~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/06a7d8e59ec4de7c711d3f4a4624f67b97d78afe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
13 months agoUpdate dependencies for 32-bit MinGW CI run.
Mika Lindqvist [Tue, 9 Apr 2024 17:17:24 +0000 (20:17 +0300)] 
Update dependencies for 32-bit MinGW CI run.

13 months agoCMake: Replace ';' by '$<SEMICOLON>' in generator-expression
Deniz Bahadir [Fri, 5 Apr 2024 20:37:11 +0000 (22:37 +0200)] 
CMake: Replace ';' by '$<SEMICOLON>' in generator-expression

Note: CMake generator-expressions should not contain semicolons,
especially if they might end up in a CMake list, because a semicolon
would be interpreted as list-item separator and therefore render the
generator-expression invalid. The generator-expression `$<SEMICOLON>`
should be used instead.

Signed-off-by: Deniz Bahadir <deniz@code.bahadir.email>
13 months agoRemove obsolete TARGET_OS_MAC check
Vladislav Shchapov [Sat, 23 Mar 2024 08:27:18 +0000 (13:27 +0500)] 
Remove obsolete TARGET_OS_MAC check

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
13 months agoFix building with NVHPC
Sergey Kosukhin [Tue, 12 Mar 2024 14:46:52 +0000 (15:46 +0100)] 
Fix building with NVHPC

13 months ago[ARM] Override Clang x4 NEON intrinsics for Android
Mika Lindqvist [Sun, 25 Feb 2024 14:42:43 +0000 (16:42 +0200)] 
[ARM] Override Clang x4 NEON intrinsics for Android
* Clang for Android requires 256-bit alignment for x4 loads and stores, which can't be guaranteed and is unnecessary

13 months ago[CI] Fix creating list of artifacts for CodeCov.
Mika Lindqvist [Mon, 19 Feb 2024 21:34:03 +0000 (23:34 +0200)] 
[CI] Fix creating list of artifacts for CodeCov.

13 months agoAdd more result variables to the cmake package configuration
Marc Aldorasi [Fri, 16 Feb 2024 20:01:32 +0000 (15:01 -0500)] 
Add more result variables to the cmake package configuration

13 months agoAdd test for checking if -march=native needs -mfpu=neon for 32-bit ARM.
Mika Lindqvist [Wed, 21 Feb 2024 14:02:20 +0000 (16:02 +0200)] 
Add test for checking if -march=native needs -mfpu=neon for 32-bit ARM.

13 months agoBump actions/upload-artifact from 3 to 4
dependabot[bot] [Thu, 22 Feb 2024 13:06:28 +0000 (13:06 +0000)] 
Bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
13 months agoBump github/codeql-action from 2 to 3
dependabot[bot] [Thu, 22 Feb 2024 13:06:24 +0000 (13:06 +0000)] 
Bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
13 months agoAdd dependabot for github actions
Hans Kristian Rosbach [Wed, 21 Feb 2024 18:32:51 +0000 (19:32 +0100)] 
Add dependabot for github actions

13 months agoFix PCLMULQDQ support for IntelLLVM.
Mika Lindqvist [Sun, 18 Feb 2024 13:36:55 +0000 (15:36 +0200)] 
Fix PCLMULQDQ support for IntelLLVM.

13 months agoDisable CodeCov for RISC-V as the toolchain doesn't support generating code coverage.
Mika Lindqvist [Tue, 20 Feb 2024 18:02:40 +0000 (20:02 +0200)] 
Disable CodeCov for RISC-V as the toolchain doesn't support generating code coverage.

13 months agoUpdate mymindstorm/setup-emsdk to v14.
Mika Lindqvist [Mon, 19 Feb 2024 23:01:41 +0000 (01:01 +0200)] 
Update mymindstorm/setup-emsdk to v14.

13 months agoUpgrade codecov/codecov-action to v4.
Mika Lindqvist [Mon, 19 Feb 2024 22:43:11 +0000 (00:43 +0200)] 
Upgrade codecov/codecov-action to v4.

13 months agoAdd missing checks for 64bit arm/intel with msvc compiler
Pavel P [Wed, 14 Feb 2024 13:26:04 +0000 (15:26 +0200)] 
Add missing checks for 64bit arm/intel with msvc compiler

13 months agoDisable Intel Compiler diagnostic message 10441.
Mika Lindqvist [Mon, 12 Feb 2024 18:53:32 +0000 (20:53 +0200)] 
Disable Intel Compiler diagnostic message 10441.

13 months agoUpgrade ilammy/msvc-dev-cmd to v1.13.0
Mika Lindqvist [Mon, 12 Feb 2024 13:30:43 +0000 (15:30 +0200)] 
Upgrade ilammy/msvc-dev-cmd to v1.13.0

13 months agoFix xsave intrinsic test for clang, and gcc 8.2 or later, and icc.
Mika T. Lindqvist [Mon, 12 Feb 2024 10:43:33 +0000 (12:43 +0200)] 
Fix xsave intrinsic test for clang, and gcc 8.2 or later, and icc.

13 months agoRelocate CMake target export definitions
Don Olmstead [Thu, 1 Feb 2024 20:49:11 +0000 (12:49 -0800)] 
Relocate CMake target export definitions

When exporting a CMake target the `install(TARGETS ${ZLIB_INSTALL_LIBRARIES})` is repeated with an `EXPORT` parameter. On Windows this would install the `.dll` files into the `lib` directory.

Set the `EXPORT_NAME` earlier and unconditionally on the `TARGET`. Then move the `EXPORT` to a single `install(TARGETS)`.

13 months agozlib 1.3.1
Mark Adler [Mon, 29 Jan 2024 04:00:26 +0000 (20:00 -0800)] 
zlib 1.3.1

madler/zlib#51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf

13 months agoRemove -w compile option in configure test.
Mark Adler [Mon, 29 Jan 2024 03:48:52 +0000 (19:48 -0800)] 
Remove -w compile option in configure test.

Not all C compilers have a -w option.

madler/zlib#88ec24670e9c484219392def5f2f4b5e3f839db3

13 months agoFix cmake build on AIX.
gastush [Mon, 29 Jan 2024 03:45:57 +0000 (19:45 -0800)] 
Fix cmake build on AIX.

The --version-script linker option is not supported by the linker on AIX systems

madler/zlib#ade6825c4996f73d776b0ffa038360762bd318ae

13 months agoRemove mentions of an official zlib DLL distribution.
Mark Adler [Mon, 29 Jan 2024 03:44:43 +0000 (19:44 -0800)] 
Remove mentions of an official zlib DLL distribution.

There used to be one, but no more. It is up to the user or vendor
to compile zlib.

madler/zlib#25263462377fa5c569947a40315815bd59e37f4b

13 months agoAdd back gz_intmax for zlib compatibility when linking statically
Nathan Moinvaziri [Sun, 4 Feb 2024 22:18:56 +0000 (14:18 -0800)] 
Add back gz_intmax for zlib compatibility when linking statically

13 months agoMake the existence of gz_intmax() unconditional.
Milan Bulat [Mon, 29 Jan 2024 03:43:23 +0000 (19:43 -0800)] 
Make the existence of gz_intmax() unconditional.

gz_intmax() is noted in zlib.map. This assures it's always there.

madler/zlib#01253ecd7e0a01d311670f2d03c61b82fc12d338

13 months agoNote that the len2 argument of crc_combine*() must be non-negative.
Mark Adler [Mon, 29 Jan 2024 03:39:17 +0000 (19:39 -0800)] 
Note that the len2 argument of crc_combine*() must be non-negative.

If it is negative, then the code will enter an infinite loop.

madler/zlib#36e369e1a54b35a978dc584496af69a07ec2d71a

13 months agoAdd bounds checking to ERR_MSG() macro, used by zError().
Mark Adler [Mon, 29 Jan 2024 03:36:46 +0000 (19:36 -0800)] 
Add bounds checking to ERR_MSG() macro, used by zError().

madler/zlib#431a9b65eacab7efabf2230ba97ff426c0e07f9d

13 months agoMake internal functions static in the test code.
Xin LI [Mon, 29 Jan 2024 03:30:26 +0000 (19:30 -0800)] 
Make internal functions static in the test code.

To avoid warnings when building with -Wmissing-prototypes.

madler/zlib#bd9c329c1055a9265812352655ed2eec93f36e92

13 months agoFix bug in inflateSync() for data held in bit buffer.
Mark Adler [Mon, 29 Jan 2024 03:26:17 +0000 (19:26 -0800)] 
Fix bug in inflateSync() for data held in bit buffer.

madler/zlib#5af7cef45eeef86ddf6ab00b4e363c1eecaf47b6

13 months agoUpdate copyright years in other source files.
Nathan Moinvaziri [Mon, 29 Jan 2024 04:06:05 +0000 (20:06 -0800)] 
Update copyright years in other source files.

13 months agoUpdate copyright year in win32 resource files.
Mark Adler [Mon, 29 Jan 2024 03:25:31 +0000 (19:25 -0800)] 
Update copyright year in win32 resource files.

madler/zlib#8988e03256e9c80766ac6899e86c3bc57c347efc

13 months agoGenerate CMake package configuration files
Mika Lindqvist [Tue, 23 Jan 2024 05:42:29 +0000 (07:42 +0200)] 
Generate CMake package configuration files
* For COMPAT mode, zlib-config.cmake and zlib-config-version.cmake
* For non-COMPAT mode, zlib-ng-config.cmake and zlib-ng-config-version.cmake

13 months agoFix regression caused by 2fa631e029084b75acd81db5d33fd4aa802fd082
Mika Lindqvist [Wed, 24 Jan 2024 20:48:00 +0000 (22:48 +0200)] 
Fix regression caused by 2fa631e029084b75acd81db5d33fd4aa802fd082
* POWER8/9 feature checks were enabled even if the toolchain didn't support AT_HWCAP2
* Add detection if we need to include <linux/auxvec.h>

13 months agoRemoving some outdated comments
Adam Stylinski [Mon, 29 Jan 2024 14:34:08 +0000 (09:34 -0500)] 
Removing some outdated comments

These were left on my part, the inline copy + checksum is the very
thing the function is doing.

13 months agoSet registers to zero to prevent GCC __get_cpuid bug.
Nathan Moinvaziri [Fri, 26 Jan 2024 01:38:25 +0000 (17:38 -0800)] 
Set registers to zero to prevent GCC __get_cpuid bug.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756

13 months agoSimplify architecture #ifdef in test_crc32.cc.
Nathan Moinvaziri [Fri, 26 Jan 2024 01:18:26 +0000 (17:18 -0800)] 
Simplify architecture #ifdef in test_crc32.cc.

13 months agoAdd VPCLMULQDQ crc32 tests to Google benchmarks
Nathan Moinvaziri [Thu, 25 Jan 2024 21:43:33 +0000 (13:43 -0800)] 
Add VPCLMULQDQ crc32 tests to Google benchmarks

13 months agoImprove code coverage for SSE2.
Nathan Moinvaziri [Sun, 14 Jan 2024 01:58:23 +0000 (17:58 -0800)] 
Improve code coverage for SSE2.

We need to turn off support all higher instruction sets in order to hit code
for a lower instruction set.

13 months agoFixed S390X CMake builds not running in forks.
Nathan Moinvaziri [Sun, 14 Jan 2024 00:24:32 +0000 (16:24 -0800)] 
Fixed S390X CMake builds not running in forks.

13 months agoUpload all coverage reports at once after tests.
Nathan Moinvaziri [Sat, 13 Jan 2024 22:26:39 +0000 (14:26 -0800)] 
Upload all coverage reports at once after tests.

13 months agoFixed S390X configure builds not running in forks.
Nathan Moinvaziri [Sun, 14 Jan 2024 04:28:38 +0000 (20:28 -0800)] 
Fixed S390X configure builds not running in forks.

13 months agoRemove unneeded pointer for functable.longest_match in deflate_slow
Nathan Moinvaziri [Thu, 4 Jan 2024 22:18:49 +0000 (14:18 -0800)] 
Remove unneeded pointer for functable.longest_match in deflate_slow

19 months ago2.1.6 Release 2.1.6
Hans Kristian Rosbach [Sun, 7 Jan 2024 18:29:13 +0000 (19:29 +0100)] 
2.1.6 Release

19 months agoFix building tests with cmake 3.10 and older.
Mika Lindqvist [Tue, 9 Jan 2024 10:02:45 +0000 (12:02 +0200)] 
Fix building tests with cmake 3.10 and older.

19 months agoAdd FAR macro to zlib-compat headers to improve compatibility.
Hans Kristian Rosbach [Mon, 8 Jan 2024 20:34:19 +0000 (21:34 +0100)] 
Add FAR macro to zlib-compat headers to improve compatibility.

19 months agoAdded CI instance for WITH_NATIVE_INSTRUCTIONS.
Nathan Moinvaziri [Thu, 4 Jan 2024 22:20:19 +0000 (14:20 -0800)] 
Added CI instance for WITH_NATIVE_INSTRUCTIONS.

19 months agoRemove tab-in-indent rule from lint workflow
Nathan Moinvaziri [Thu, 4 Jan 2024 17:06:03 +0000 (09:06 -0800)] 
Remove tab-in-indent rule from lint workflow

Makefiles require using tabs as indents. So we need to remove this rule.

19 months agoCancel previously running CI jobs for PR or branch.
Nathan Moinvaziri [Fri, 29 Dec 2023 00:55:44 +0000 (16:55 -0800)] 
Cancel previously running CI jobs for PR or branch.

19 months agoFix memory corruption introduced in 61e181c8ae93dbf56040336179c9954078bd1399
Rye Mutt [Thu, 28 Dec 2023 02:38:00 +0000 (21:38 -0500)] 
Fix memory corruption introduced in 61e181c8ae93dbf56040336179c9954078bd1399

19 months agoFixed tab character in ARM ACLE uqsub16 assembly.
Nathan Moinvaziri [Wed, 27 Dec 2023 21:41:34 +0000 (13:41 -0800)] 
Fixed tab character in ARM ACLE uqsub16 assembly.

19 months agoFix trailing whitespace in minideflate.c.
Nathan Moinvaziri [Tue, 26 Dec 2023 21:33:45 +0000 (13:33 -0800)] 
Fix trailing whitespace in minideflate.c.

19 months agoAdd linter workflow for whitespace errors. zlib-ng/zlib-ng#1190
Nathan Moinvaziri [Tue, 26 Dec 2023 21:33:45 +0000 (13:33 -0800)] 
Add linter workflow for whitespace errors. zlib-ng/zlib-ng#1190

19 months agoDon't attempt ARMv6 detection on AARCH64.
Hans Kristian Rosbach [Thu, 21 Dec 2023 00:11:40 +0000 (01:11 +0100)] 
Don't attempt ARMv6 detection on AARCH64.

19 months agoDon't incorrectly disable GoogleTest because of old CMake version.
Hans Kristian Rosbach [Sat, 23 Dec 2023 19:12:13 +0000 (20:12 +0100)] 
Don't incorrectly disable GoogleTest because of old CMake version.

19 months agoAdd status output when running git checkout of GoogleTest
Hans Kristian Rosbach [Sat, 23 Dec 2023 19:08:17 +0000 (20:08 +0100)] 
Add status output when running git checkout of GoogleTest

19 months agoUpdate to GoogleTest 1.12.1.
Hans Kristian Rosbach [Sat, 23 Dec 2023 19:00:48 +0000 (20:00 +0100)] 
Update to GoogleTest 1.12.1.
This requires minimum CMake 3.5 and C++11, this matches nicely with zlib-ng 2.1.x requirements.

19 months agoRemove unused Z_TLS and HAVE_THREAD_LOCAL
Vladislav Shchapov [Thu, 21 Dec 2023 16:19:34 +0000 (21:19 +0500)] 
Remove unused Z_TLS and HAVE_THREAD_LOCAL

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
19 months agoAtomic functable
Vladislav Shchapov [Thu, 21 Dec 2023 16:19:05 +0000 (21:19 +0500)] 
Atomic functable

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
19 months agoMake sure uqsub16 mnemonic doesn't get optimized away.
Mika Lindqvist [Fri, 22 Dec 2023 11:24:54 +0000 (13:24 +0200)] 
Make sure uqsub16 mnemonic doesn't get optimized away.

19 months agoAdd support for __attribute__((__target__(...))) to overcome limitations of -march...
Mika Lindqvist [Fri, 22 Dec 2023 14:59:03 +0000 (16:59 +0200)] 
Add support for __attribute__((__target__(...))) to overcome limitations of -march=native.

19 months agoAlways run CMake tests without LTO.
Hans Kristian Rosbach [Sat, 23 Dec 2023 18:00:46 +0000 (19:00 +0100)] 
Always run CMake tests without LTO.

19 months agoCheck if compiler supports -march=native or -mcpu=native.
Mika Lindqvist [Thu, 21 Dec 2023 08:19:54 +0000 (10:19 +0200)] 
Check if compiler supports -march=native or -mcpu=native.

19 months agoImprove performance of crc32_acle on 32-bit ARM
Cameron Cawley [Wed, 11 Jan 2023 14:52:15 +0000 (14:52 +0000)] 
Improve performance of crc32_acle on 32-bit ARM