]> git.ipfire.org Git - thirdparty/zlib-ng.git/log
thirdparty/zlib-ng.git
4 years ago[Power8] Add chunk*_power8.
Mika Lindqvist [Sat, 19 Jun 2021 05:58:09 +0000 (08:58 +0300)] 
[Power8] Add chunk*_power8.

4 years agoAdded reduced memory configuration option to CMake and configure.
Nathan Moinvaziri [Thu, 18 Mar 2021 06:00:44 +0000 (23:00 -0700)] 
Added reduced memory configuration option to CMake and configure.

4 years agoSwitch longest_match in deflate_slow based on whether or not rolling hash is being...
Nathan Moinvaziri [Wed, 23 Jun 2021 00:22:52 +0000 (17:22 -0700)] 
Switch longest_match in deflate_slow based on whether or not rolling hash is being used.

Co-authored-by: Hans Kristian Rosbach <hk-git@circlestorm.org>
4 years agoUse UNLIKELY for branches related to rolling hash based on performance profiling.
Hans Kristian Rosbach [Tue, 22 Jun 2021 03:43:51 +0000 (20:43 -0700)] 
Use UNLIKELY for branches related to rolling hash based on performance profiling.

Co-authored-by: Nathan Moinvaziri <nathan@nathanm.com>
4 years agoUse longest_match_slow in deflate_slow.
Nathan Moinvaziri [Tue, 22 Jun 2021 03:39:47 +0000 (20:39 -0700)] 
Use longest_match_slow in deflate_slow.

4 years agoSeparate fast-zlib matching algorithm into its own longest_match variant.
Nathan Moinvaziri [Tue, 22 Jun 2021 03:38:51 +0000 (20:38 -0700)] 
Separate fast-zlib matching algorithm into its own longest_match variant.

4 years agoMinor prev_length calculation improvement in deflate_slow.
Nathan Moinvaziri [Tue, 15 Jun 2021 00:42:24 +0000 (17:42 -0700)] 
Minor prev_length calculation improvement in deflate_slow.

4 years agoEnable rolling hash function switching for fast-zlib.
Nathan Moinvaziri [Tue, 15 Jun 2021 00:41:37 +0000 (17:41 -0700)] 
Enable rolling hash function switching for fast-zlib.

4 years agoIncorporate fast-zlib algorithm changes into longest_match.
Nathan Moinvaziri [Tue, 15 Jun 2021 00:40:03 +0000 (17:40 -0700)] 
Incorporate fast-zlib algorithm changes into longest_match.

4 years agoUse STD_MIN_MATCH instead of WANT_MIN_MATCH in deflate_slow for fast-zlib.
Nathan Moinvaziri [Sun, 13 Jun 2021 21:59:32 +0000 (14:59 -0700)] 
Use STD_MIN_MATCH instead of WANT_MIN_MATCH in deflate_slow for fast-zlib.

4 years agoSetup hash functions to be switched based on compression level.
Nathan Moinvaziri [Tue, 15 Jun 2021 00:36:55 +0000 (17:36 -0700)] 
Setup hash functions to be switched based on compression level.

4 years agoAdded update_hash to build hash incrementally.
Nathan Moinvaziri [Tue, 15 Jun 2021 00:27:37 +0000 (17:27 -0700)] 
Added update_hash to build hash incrementally.

4 years agoAdded rolling hash functions for hash table.
Nathan Moinvaziri [Fri, 11 Jun 2021 00:25:27 +0000 (17:25 -0700)] 
Added rolling hash functions for hash table.

4 years ago[functable] Add missing call to cpu_check_features().
Mika Lindqvist [Mon, 21 Jun 2021 22:41:16 +0000 (01:41 +0300)] 
[functable] Add missing call to cpu_check_features().

4 years agoCast calculation of safe length to unsigned int to avoid compiler warnings.
Mika Lindqvist [Mon, 21 Jun 2021 06:07:59 +0000 (09:07 +0300)] 
Cast calculation of safe length to unsigned int to avoid compiler warnings.

4 years agoMinor optimization of inftrees.c based on profiling
Hans Kristian Rosbach [Thu, 17 Jun 2021 20:47:57 +0000 (22:47 +0200)] 
Minor optimization of inftrees.c based on profiling

4 years agoSeparate option and add_feature_info in cases where intrinsics are not available...
Nathan Moinvaziri [Sun, 13 Jun 2021 22:39:58 +0000 (15:39 -0700)] 
Separate option and add_feature_info in cases where intrinsics are not available we can report feature is disabled.

4 years ago[chunkcopy_safe] Don't call chunkcopy().
Mika Lindqvist [Fri, 18 Jun 2021 23:08:20 +0000 (02:08 +0300)] 
[chunkcopy_safe] Don't call chunkcopy().
* chunkcopy() can read or write more than the safe length if the length is not multiple of chunk size.

4 years ago[chunkset_neon] Use vdupq_n_u64.
Mika Lindqvist [Fri, 18 Jun 2021 21:10:44 +0000 (00:10 +0300)] 
[chunkset_neon] Use vdupq_n_u64.
* Using vdupq_n_u64 duplicates the unsigned 64-bit integer to two consecutive aligned memory locations in stack so compiler can use wider load instructions.
  All different-sized general-purpose registers overlay on ARM/AArch64, so any vector cast is no-op in assembly.

4 years ago[chunkset_neon] Don't use signed vector types.
Mika Lindqvist [Fri, 18 Jun 2021 20:15:28 +0000 (23:15 +0300)] 
[chunkset_neon] Don't use signed vector types.
* There is no need to convert between unsigned and signed vector types. All relevant intrinsics have versions for all unsigned vector types.

4 years agoFix MSVC warnings in hash_head_0.c test
Ilya Leoshkevich [Mon, 14 Jun 2021 19:03:51 +0000 (21:03 +0200)] 
Fix MSVC warnings in hash_head_0.c test

4 years agoAdd support for Thread Local Storage to ensure consistency in functable.
Hans Kristian Rosbach [Sun, 13 Jun 2021 11:57:45 +0000 (13:57 +0200)] 
Add support for Thread Local Storage to ensure consistency in functable.

4 years agoChange requested compiler standard to C11
Hans Kristian Rosbach [Sun, 13 Jun 2021 11:38:32 +0000 (13:38 +0200)] 
Change requested compiler standard to C11

4 years agoAdded aarch64 to pigz GitHub actions workflow.
Nathan Moinvaziri [Wed, 16 Jun 2021 15:11:33 +0000 (08:11 -0700)] 
Added aarch64 to pigz GitHub actions workflow.

4 years agoReduce number of branches in partial chunk copy based on chunk size.
Nathan Moinvaziri [Sun, 13 Jun 2021 22:57:28 +0000 (15:57 -0700)] 
Reduce number of branches in partial chunk copy based on chunk size.

4 years agoFixed indentation in CMakeLists.txt after PR #906.
Nathan Moinvaziri [Sun, 13 Jun 2021 22:36:47 +0000 (15:36 -0700)] 
Fixed indentation in CMakeLists.txt after PR #906.

4 years agoAdded Z_UNUSED define for ignore unused variables.
Nathan Moinvaziri [Sun, 13 Jun 2021 22:16:20 +0000 (15:16 -0700)] 
Added Z_UNUSED define for ignore unused variables.

4 years agoChange WITH_SANITIZER to be a multi-option parameter (for ccmake etc).
Hans Kristian Rosbach [Sun, 13 Jun 2021 13:11:23 +0000 (15:11 +0200)] 
Change WITH_SANITIZER to be a multi-option parameter (for ccmake etc).
Add support for selcting Thread sanitizer.

4 years agoAdded assert in chunkcopy to detect invalid length.
Nathan Moinvaziri [Fri, 11 Jun 2021 00:25:27 +0000 (17:25 -0700)] 
Added assert in chunkcopy to detect invalid length.

4 years agoCalculate from and out buffer advance only once in chunkcopy.
Nathan Moinvaziri [Fri, 4 Jun 2021 22:27:26 +0000 (15:27 -0700)] 
Calculate from and out buffer advance only once in chunkcopy.

4 years agoOnly need to add rem if it is greater than zero in chunkmemset.
Nathan Moinvaziri [Fri, 4 Jun 2021 22:24:23 +0000 (15:24 -0700)] 
Only need to add rem if it is greater than zero in chunkmemset.

4 years agoUse MIN and MAX macros.
Nathan Moinvaziri [Sat, 5 Jun 2021 02:46:33 +0000 (19:46 -0700)] 
Use MIN and MAX macros.

4 years agoInitialize s->prev_length to 0.
Hans Kristian Rosbach [Tue, 11 May 2021 11:56:35 +0000 (13:56 +0200)] 
Initialize s->prev_length to 0.

4 years agoRemove support for STD_MIN_MATCH != 3.
Hans Kristian Rosbach [Mon, 10 May 2021 16:29:40 +0000 (18:29 +0200)] 
Remove support for STD_MIN_MATCH != 3.
It has always been broken and untested anyways.

4 years agoMinor formatting changes related to MIN_MATCH/MAX_MATCH
Hans Kristian Rosbach [Mon, 10 May 2021 15:11:54 +0000 (17:11 +0200)] 
Minor formatting changes related to MIN_MATCH/MAX_MATCH

4 years agoSeparate MIN_MATCH into STD_MIN_MATCH and WANT_MIN_MATCH
Hans Kristian Rosbach [Mon, 10 May 2021 14:48:29 +0000 (16:48 +0200)] 
Separate MIN_MATCH into STD_MIN_MATCH and WANT_MIN_MATCH
Rename MAX_MATCH to STD_MAX_MATCH

4 years agoPrint architecture-specific static and shared object files in configure script simila...
Nathan Moinvaziri [Tue, 23 Mar 2021 01:33:50 +0000 (18:33 -0700)] 
Print architecture-specific static and shared object files in configure script similar to CMake.

4 years agoOnly run checks for intrinsics if optimizations are enabled.
Nathan Moinvaziri [Sat, 20 Mar 2021 21:10:14 +0000 (14:10 -0700)] 
Only run checks for intrinsics if optimizations are enabled.

4 years agoChange bi_reverse to use a bit-twiddling hack for 240x speed improvement.
Nathan Moinvaziri [Wed, 5 May 2021 22:32:40 +0000 (15:32 -0700)] 
Change bi_reverse to use a bit-twiddling hack for 240x speed improvement.

4 years agoMust use safe chunk copies due to inflateBack using the same allocation for output...
Nathan Moinvaziri [Fri, 11 Jun 2021 00:19:25 +0000 (17:19 -0700)] 
Must use safe chunk copies due to inflateBack using the same allocation for output and   window. In this instance if too many bytes are written it will not correctly write matches with distances close to the window size.

4 years agoReorder config table to avoid double negation, and to use the same
Hans Kristian Rosbach [Fri, 26 Mar 2021 16:06:28 +0000 (17:06 +0100)] 
Reorder config table to avoid double negation, and to use the same
logical ordering as the other ifdef.

4 years agoRebalance levels 1-4.
Hans Kristian Rosbach [Fri, 26 Mar 2021 15:21:23 +0000 (16:21 +0100)] 
Rebalance levels 1-4.
- Deflate_quick (level 1), no longer limit window, improves compression.
- Deflate_medium, don't check next position for levels below 5.
- Use deflate_medium instead of deflate_fast for level 3.
- Tweak level 4 to give a more predictable speed/compression tradeoff curve.

4 years agoIncrease size of gzip output buffer to be a multiple of the size of deflate's pending...
Nathan Moinvaziri [Tue, 9 Mar 2021 18:18:24 +0000 (10:18 -0800)] 
Increase size of gzip output buffer to be a multiple of the size of deflate's pending buffer for improved performance and fewer calls to deflate.

4 years agoClean up deflate_stored and deflate_rle by using MIN() where applicable.
Nathan Moinvaziri [Sat, 29 May 2021 01:15:50 +0000 (18:15 -0700)] 
Clean up deflate_stored and deflate_rle by using MIN() where applicable.

4 years agoSeparate huff, rle, and stored deflate strategies into their own source files.
Nathan Moinvaziri [Fri, 28 May 2021 03:43:41 +0000 (20:43 -0700)] 
Separate huff, rle, and stored deflate strategies into their own source files.

4 years agoRemove extra check that always is false in compare256_c_static.
Nathan Moinvaziri [Sat, 20 Mar 2021 16:31:59 +0000 (09:31 -0700)] 
Remove extra check that always is false in compare256_c_static.

4 years agoMod adler and sum2 when calculating adler32 for short lengths.
Nathan Moinvaziri [Mon, 1 Mar 2021 02:17:04 +0000 (18:17 -0800)] 
Mod adler and sum2 when calculating adler32 for short lengths.

4 years agoSync use of adler32_len_16 among adler32 variants.
Nathan Moinvaziri [Tue, 23 Feb 2021 05:43:24 +0000 (21:43 -0800)] 
Sync use of adler32_len_16 among adler32 variants.

4 years agoRemove legacy backticks notation for $(...) in configure script.
Nathan Moinvaziri [Fri, 26 Feb 2021 02:36:36 +0000 (18:36 -0800)] 
Remove legacy backticks notation for $(...) in configure script.

4 years agoFixed iterating over ls output is fragile in configure script.
Nathan Moinvaziri [Fri, 26 Feb 2021 01:27:03 +0000 (17:27 -0800)] 
Fixed iterating over ls output is fragile in configure script.

4 years agoFixed malformed double quotes in shell script.
Nathan Moinvaziri [Fri, 26 Feb 2021 00:46:11 +0000 (16:46 -0800)] 
Fixed malformed double quotes in shell script.

4 years agoFixed operator in comment in slide_hash_chain for power8.
Nathan Moinvaziri [Thu, 25 Feb 2021 00:59:48 +0000 (16:59 -0800)] 
Fixed operator in comment in slide_hash_chain for power8.

4 years agoRemove obsolete comment about wsize casting.
Nathan Moinvaziri [Thu, 25 Feb 2021 00:55:37 +0000 (16:55 -0800)] 
Remove obsolete comment about wsize casting.

4 years agoRename slide_hash_power8.c to slide_power8.c to be consistent with other slide hash...
Nathan Moinvaziri [Thu, 25 Feb 2021 00:52:07 +0000 (16:52 -0800)] 
Rename slide_hash_power8.c to slide_power8.c to be consistent with other slide hash variants.

4 years agoRename slide_hash chain functions.
Nathan Moinvaziri [Thu, 25 Feb 2021 00:50:46 +0000 (16:50 -0800)] 
Rename slide_hash chain functions.

4 years agoFixed formatting for CLEAR_HASH macro.
Nathan Moinvaziri [Thu, 18 Feb 2021 03:39:00 +0000 (19:39 -0800)] 
Fixed formatting for CLEAR_HASH macro.

4 years agoSync changes between different slide_hash variants.
Nathan Moinvaziri [Thu, 18 Feb 2021 03:29:46 +0000 (19:29 -0800)] 
Sync changes between different slide_hash variants.

4 years agoOpen up develop branch for non-stable commits.
Hans Kristian Rosbach [Thu, 20 May 2021 18:51:51 +0000 (20:51 +0200)] 
Open up develop branch for non-stable commits.
Replace ZLIBNG_VERNUM with a larger one with space for more accurate information.
Replace ZLIBNG_VER_SUBREVISION with ZLIBNG_VER_MODIFIED and ZLIBNG_VER_STATUS.

4 years agoVersion 2.0.4 2.0.4
Hans Kristian Rosbach [Fri, 11 Jun 2021 10:44:06 +0000 (12:44 +0200)] 
Version 2.0.4
- Fix inflate corruption #982
- Minor code cleanup #983 #984
- Fix mpicc compilation #959
- Fix build on NetBSD #964
- Fix build on OpenBSD #970
- Fix build on Cygwin #972 #974
- Fix linter warnings in configure #975
- Spelling fixes #961
- Improve unistd.h handling #960
- Remove stdarg.h detection #976
- CI/Test improvements #977 #981 #985
- Cmake improvements #980 #989

4 years ago[CHUNKMEMSET_SAFE] Precalculate "from".
Mika Lindqvist [Thu, 10 Jun 2021 15:23:34 +0000 (18:23 +0300)] 
[CHUNKMEMSET_SAFE] Precalculate "from".
* limit len to minimum of len and left

4 years ago[inflate_fast] Always use safe versions of chunkcopy and chunkmemset to avoid errors...
Nathan Moinvaziri [Wed, 9 Jun 2021 16:15:52 +0000 (19:15 +0300)] 
[inflate_fast] Always use safe versions of chunkcopy and chunkmemset to avoid errors with optimizations enabled.

4 years ago[CHUNKCOPY_SAFE] Fix off-by-one error
Mika Lindqvist [Wed, 9 Jun 2021 16:15:12 +0000 (19:15 +0300)] 
[CHUNKCOPY_SAFE] Fix off-by-one error
* When chunk size was more than 8 bytes, the comparison logic failed if safe length was one less than chunk size.

4 years agofix: unterminated #elif in detect-arch.c
Ilya Kurdyukov [Wed, 9 Jun 2021 12:27:24 +0000 (19:27 +0700)] 
fix: unterminated #elif in detect-arch.c

```
$ gcc detect-arch.c
detect-arch.c:8:6: error: #error archfound x86_64
     #error archfound x86_64
      ^~~~~
detect-arch.c:7:0: error: unterminated #elif
 #if defined(__x86_64__) || defined(_M_X64)
```

4 years agofix: SSE42CMPSTR compiled even if WITH_SSE4=OFF
Ilya Kurdyukov [Wed, 9 Jun 2021 12:19:50 +0000 (19:19 +0700)] 
fix: SSE42CMPSTR compiled even if WITH_SSE4=OFF

4 years agoAdded pigz tests for no threads and no optimizations.
Nathan Moinvaziri [Fri, 4 Jun 2021 15:01:30 +0000 (08:01 -0700)] 
Added pigz tests for no threads and no optimizations.

4 years agoAdded GH-979 failure test case against for inflateBack.
Nathan Moinvaziri [Fri, 4 Jun 2021 01:44:08 +0000 (18:44 -0700)] 
Added GH-979 failure test case against for inflateBack.

4 years agoAdded CMake project for building pigz.
Nathan Moinvaziri [Fri, 4 Jun 2021 01:02:03 +0000 (18:02 -0700)] 
Added CMake project for building pigz.
Added GitHub Actions CI for testing pigz.

4 years agoMove MIN() macro to zbuild.h
Mika Lindqvist [Wed, 2 Jun 2021 23:38:24 +0000 (02:38 +0300)] 
Move MIN() macro to zbuild.h

4 years agoUse SET_BAD macro in inflateBack.
Nathan Moinvaziri [Wed, 2 Jun 2021 23:32:00 +0000 (16:32 -0700)] 
Use SET_BAD macro in inflateBack.

4 years agoReplace CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR
Vladislav Shchapov [Sat, 29 May 2021 12:34:40 +0000 (17:34 +0500)] 
Replace CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR

4 years agoFixed trying to uncompress after compressing in gzip direct mode which is not support...
Nathan Moinvaziri [Thu, 27 May 2021 17:27:09 +0000 (10:27 -0700)] 
Fixed trying to uncompress after compressing in gzip direct mode which is not supported by gz functions.
https://oss-fuzz.com/testcase-detail/6194422837542912

4 years agoFixed gz mode for compression level not using ascii numeric value.
Nathan Moinvaziri [Thu, 27 May 2021 17:17:08 +0000 (10:17 -0700)] 
Fixed gz mode for compression level not using ascii numeric value.

4 years agoUse different fuzzer bits in example_dict_fuzzer for more input value combinations.
Nathan Moinvaziri [Thu, 27 May 2021 16:31:47 +0000 (09:31 -0700)] 
Use different fuzzer bits in example_dict_fuzzer for more input value combinations.

4 years agoExplicitly state clang version to prevent future code coverage format mismatches.
Nathan Moinvaziri [Sat, 29 May 2021 19:01:07 +0000 (12:01 -0700)] 
Explicitly state clang version to prevent future code coverage format mismatches.

4 years agoUse latest version of llvm-cov 11 to prevent code coverage version mismatch when...
Nathan Moinvaziri [Sat, 29 May 2021 18:14:48 +0000 (11:14 -0700)] 
Use latest version of llvm-cov 11 to prevent code coverage version mismatch when using clang.

4 years agoOnly when using Visual C++, the static library name should be "zlibstatic"
Mika Lindqvist [Sat, 22 May 2021 05:38:46 +0000 (08:38 +0300)] 
Only when using Visual C++, the static library name should be "zlibstatic"
* On CygWin, MSYS and MinGW, the static library name should be "z" like on other Unix-like systems

4 years agoRemove unnecessary test for stdarg.h
Mika Lindqvist [Tue, 25 May 2021 17:45:27 +0000 (20:45 +0300)] 
Remove unnecessary test for stdarg.h

4 years agoHandle HAVE_UNISTD_H defined to 0.
PaweÅ‚ Wegner [Thu, 13 May 2021 15:15:37 +0000 (17:15 +0200)] 
Handle HAVE_UNISTD_H defined to 0.

FFmpeg during the configure stage generates a config.h file with
```
#define HAVE_UNISTD_H 0
```
on windows. Then somewhere in FFmpeg's code there is:
```
#include "config.h"  // FFmpeg's config.h
#include <zlib.h>
```
which causes zlib.h to include unistd.h on windows. It is way easier to handle the issue here than in FFmpeg.

Co-authored-by: Mika Lindqvist <postmaster@raasu.org>
4 years agoFix warnings in configure
Mika Lindqvist [Tue, 25 May 2021 16:55:27 +0000 (19:55 +0300)] 
Fix warnings in configure
* Don't assign contents of variable to itself
* Quote strings containing "="

4 years agoFix build under Cygwin.
Mika Lindqvist [Tue, 25 May 2021 14:46:46 +0000 (17:46 +0300)] 
Fix build under Cygwin.

4 years agoOpenBSD build fix proposal
David Carlier [Fri, 21 May 2021 19:36:21 +0000 (20:36 +0100)] 
OpenBSD build fix proposal

4 years agoFix build on NetBSD
Kolby Crouch [Sat, 15 May 2021 18:17:42 +0000 (13:17 -0500)] 
Fix build on NetBSD

4 years agoRemove redundancy; apple is unix
Greg Sjaardema [Thu, 13 May 2021 14:41:22 +0000 (08:41 -0600)] 
Remove redundancy; apple is unix

4 years agoFix compiler detection to avoid bad mpicc match
Greg Sjaardema [Thu, 13 May 2021 13:57:24 +0000 (07:57 -0600)] 
Fix compiler detection to avoid bad mpicc match

4 years agoSpelling fixes
Greg Sjaardema [Thu, 13 May 2021 23:10:12 +0000 (17:10 -0600)] 
Spelling fixes

4 years agoVersion 2.0.3 2.0.3
Hans Kristian Rosbach [Sat, 8 May 2021 16:45:00 +0000 (18:45 +0200)] 
Version 2.0.3

- Include porting guide in release packages #917
- Documentation improvements #913 #949
- Added Windows ARM binaries in release packages #916
- Fix crash on ARMv7 #927
- Fix building on FreeBSD #921
- Fix building with musl on aarch64 #936 #952
- Fix ARM float-abi detection #918
- Fix cmake detection of risc-v architectures #942
- Minor buildsystem fixes #922 #924 #933 #938 #950
- Improve zlib-compat build #915 #944
- CI/Test improvements #926 #929 #927 #937 #939 #940

4 years ago[ARM/AArch64] More thorough testing of getauxval() macros and includes
Mika Lindqvist [Sun, 9 May 2021 05:17:03 +0000 (08:17 +0300)] 
[ARM/AArch64] More thorough testing of getauxval() macros and includes
* 32-bit ARM and AArch64 use slightly different macros for CRC32 and NEON feature bits
* 32-bit ARM sometimes requires asm/hwcap.h for AT_HWCAP2

4 years agoupgrade links to HTTPS
Viktor Szakats [Thu, 6 May 2021 17:49:21 +0000 (19:49 +0200)] 
upgrade links to HTTPS

http://infozip.sourceforge.net/ is sadly not having HTTPS access
enabled. Shoutout to somebody with admin access for this project:
It would be nice to enable it and thus allowing secure access to
these pages via https://infozip.sourceforge.io/ . The option has
been there for a while now:
  https://sourceforge.net/blog/introducing-https-for-project-websites/

also:
- follow permanent redirects
- add ending slashes

4 years agoDon't check for SSSE3 on non-x86 architectures.
Hans Kristian Rosbach [Sat, 8 May 2021 12:46:15 +0000 (14:46 +0200)] 
Don't check for SSSE3 on non-x86 architectures.

4 years agoFix cmake detection of risc-v (32 and 64 bit)
Vladimir Smirnov [Sun, 2 May 2021 12:56:16 +0000 (14:56 +0200)] 
Fix cmake detection of risc-v (32 and 64 bit)

Add a case to detect risc-v architectures.

Fixes #941

4 years agoReintroduce Z_SOLO support for compatibility mode.
Mika Lindqvist [Mon, 3 May 2021 14:06:05 +0000 (17:06 +0300)] 
Reintroduce Z_SOLO support for compatibility mode.

4 years agoAdd status messages in test-compress cmake script.
Nathan Moinvaziri [Fri, 30 Apr 2021 01:18:36 +0000 (18:18 -0700)] 
Add status messages in test-compress cmake script.
Change filenames used during test to make it more clear what stage they are apart of.

4 years agoSimplify cleaning up files in test-compress cmake script and always clean up files...
Nathan Moinvaziri [Fri, 30 Apr 2021 01:16:56 +0000 (18:16 -0700)] 
Simplify cleaning up files in test-compress cmake script and always clean up files on successful run.

4 years agoCreate temporary files in CTest's Testing/Temporary directory and upload all files...
Nathan Moinvaziri [Fri, 30 Apr 2021 01:02:34 +0000 (18:02 -0700)] 
Create temporary files in CTest's Testing/Temporary directory and upload all files as artifacts.

4 years agoPrint differences between expected output in test-compress cmake script and upload...
Nathan Moinvaziri [Fri, 30 Apr 2021 01:45:41 +0000 (18:45 -0700)] 
Print differences between expected output in test-compress cmake script and upload as artifacts.

4 years agoDecompress gzip compressed archive to a separate file to prevent corruption issues...
Nathan Moinvaziri [Sun, 2 May 2021 13:05:35 +0000 (06:05 -0700)] 
Decompress gzip compressed archive to a separate file to prevent corruption issues on macOS. (#939)

* Decompress gzip compressed archive to a separate file to prevent corruption issues on macOS.
* Clean up fatal error messages in test-compress cmake script.

4 years agocrc: fix three conversion warnings
Aaron Boxer [Tue, 20 Apr 2021 22:03:32 +0000 (18:03 -0400)] 
crc: fix three conversion warnings

4 years agoDetect hwcap flags needed for runtime detection on ARM Linux
Josh Triplett [Sun, 25 Apr 2021 22:21:54 +0000 (15:21 -0700)] 
Detect hwcap flags needed for runtime detection on ARM Linux

This allows us to provide useful warning messages from cmake or
configure if the system headers don't provide the necessary flags to do
runtime detection.

4 years agoDon't directly include asm/hwcap.h; fix compilation on musl aarch64
Josh Triplett [Sat, 24 Apr 2021 20:27:58 +0000 (13:27 -0700)] 
Don't directly include asm/hwcap.h; fix compilation on musl aarch64

sys/auxv.h includes the appropriate headers to provide the HWCAP
constants, on both glibc and musl, which makes it unnecessary to include
asm/hwcap.h directly. And on musl, asm/hwcap.h doesn't exist.

4 years agoAdded Z_FIXED and direct gzip out modes to minigzip fuzzer.
Nathan Moinvaziri [Thu, 15 Apr 2021 15:44:52 +0000 (08:44 -0700)] 
Added Z_FIXED and direct gzip out modes to minigzip fuzzer.