]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
4 years agoremoved incorrect test
Yann Collet [Thu, 17 Dec 2020 07:53:13 +0000 (23:53 -0800)] 
removed incorrect test

4 years agomoving all references to `release` branch
Yann Collet [Thu, 17 Dec 2020 07:00:35 +0000 (23:00 -0800)] 
moving all references to `release` branch

was previously `master`

4 years agoMerge pull request #2426 from facebook/changelog147 v1.4.7
Yann Collet [Wed, 16 Dec 2020 23:00:18 +0000 (15:00 -0800)] 
Merge pull request #2426 from facebook/changelog147

Updated CHANGELOG for v1.4.7

4 years agoMerge pull request #2427 from facebook/example_compile
Yann Collet [Wed, 16 Dec 2020 22:59:31 +0000 (14:59 -0800)] 
Merge pull request #2427 from facebook/example_compile

streamlined example recipe

4 years agoupdated version number to v1.4.7 2426/head
Yann Collet [Wed, 16 Dec 2020 04:53:05 +0000 (20:53 -0800)] 
updated version number to v1.4.7

and updated doc

4 years agostreamlined example recipe 2427/head
Yann Collet [Tue, 15 Dec 2020 10:06:01 +0000 (02:06 -0800)] 
streamlined example recipe

better use of default rules

4 years agoadded api issues reported by @animalize
Yann Collet [Tue, 15 Dec 2020 08:27:32 +0000 (00:27 -0800)] 
added api issues reported by @animalize

4 years agoUpdated CHANGELOG for v1.4.7
Yann Collet [Tue, 15 Dec 2020 02:45:57 +0000 (18:45 -0800)] 
Updated CHANGELOG for v1.4.7

4 years agoMerge pull request #2424 from ihsinme/patch-1
Yann Collet [Tue, 15 Dec 2020 00:22:09 +0000 (16:22 -0800)] 
Merge pull request #2424 from ihsinme/patch-1

fix Integer Overflow

4 years agoMerge pull request #2425 from animalize/changelog_date
Yann Collet [Tue, 15 Dec 2020 00:21:52 +0000 (16:21 -0800)] 
Merge pull request #2425 from animalize/changelog_date

add release dates to CHANGELOG

4 years agoMerge pull request #2420 from terrelln/huf-comment
Yann Collet [Tue, 15 Dec 2020 00:14:07 +0000 (16:14 -0800)] 
Merge pull request #2420 from terrelln/huf-comment

[huf_compress] Refactor and comment HUF_buildCTable()

4 years agoadd release dates to CHANGELOG 2425/head
animalize [Mon, 14 Dec 2020 02:27:35 +0000 (10:27 +0800)] 
add release dates to CHANGELOG

4 years agofix Integer Overflow 2424/head
ihsinme [Sun, 13 Dec 2020 09:08:31 +0000 (12:08 +0300)] 
fix Integer Overflow

4 years agoMerge pull request #2423 from facebook/no-ln
Yann Collet [Fri, 11 Dec 2020 03:04:11 +0000 (19:04 -0800)] 
Merge pull request #2423 from facebook/no-ln

replace links by actual copies

4 years agoMerge pull request #2411 from terrelln/cmake-fixes
Nick Terrell [Fri, 11 Dec 2020 00:14:34 +0000 (16:14 -0800)] 
Merge pull request #2411 from terrelln/cmake-fixes

[cmake] Fix source directory with spaces

4 years agorefinement : only copy if binary is different 2423/head
Yann Collet [Thu, 10 Dec 2020 22:31:35 +0000 (14:31 -0800)] 
refinement : only copy if binary is different

4 years ago[CI][cmake] Disable --test-large-data and shorten fuzzing time to 2 mins 2411/head
Nick Terrell [Thu, 10 Dec 2020 21:33:34 +0000 (13:33 -0800)] 
[CI][cmake] Disable --test-large-data and shorten fuzzing time to 2 mins

4 years agoreplace final links by direct copy
Yann Collet [Thu, 10 Dec 2020 21:25:08 +0000 (13:25 -0800)] 
replace final links by direct copy

link can behave slightly differently from real binaries,
breaking a few scripts relying on "real binary" assumption.

4 years ago[tests] Fix playTests.sh with spaces in path
Nick Terrell [Mon, 7 Dec 2020 20:08:29 +0000 (12:08 -0800)] 
[tests] Fix playTests.sh with spaces in path

4 years ago[cmake] Quote environment variables for tests
Nick Terrell [Mon, 7 Dec 2020 19:55:44 +0000 (11:55 -0800)] 
[cmake] Quote environment variables for tests

Fix the quoting for the invocation of `playtests.sh`.

4 years ago[cmake] Fix pkgconfig quoting
Nick Terrell [Mon, 7 Dec 2020 04:13:37 +0000 (20:13 -0800)] 
[cmake] Fix pkgconfig quoting

The pkgconfig file generation didn't correctly escape the paths. It both
quoted and escaped spaces with `\`, which doesn't work. The fix is to
remove the quoting.

4 years ago[CI] Add cmake test for source dirs with spaces
Nick Terrell [Thu, 3 Dec 2020 01:08:36 +0000 (17:08 -0800)] 
[CI] Add cmake test for source dirs with spaces

4 years agoMerge pull request #2422 from felixhandte/doc-update-repcodes
Felix Handte [Thu, 10 Dec 2020 06:20:51 +0000 (01:20 -0500)] 
Merge pull request #2422 from felixhandte/doc-update-repcodes

Update Zstd Compression Format to Clarify Repcode Behavior

4 years agoUpdate Zstd Compression Format to Clarify Repcode Behavior 2422/head
W. Felix Handte [Thu, 10 Dec 2020 01:00:48 +0000 (20:00 -0500)] 
Update Zstd Compression Format to Clarify Repcode Behavior

4 years agoMerge pull request #2421 from felixhandte/pc-no-sed
Felix Handte [Wed, 9 Dec 2020 23:58:17 +0000 (18:58 -0500)] 
Merge pull request #2421 from felixhandte/pc-no-sed

Don't Use Regexes to Build Pkg-Config File

4 years agoMerge pull request #2419 from felixhandte/asan-dont-poison-static-allocs
Felix Handte [Wed, 9 Dec 2020 21:50:52 +0000 (16:50 -0500)] 
Merge pull request #2419 from felixhandte/asan-dont-poison-static-allocs

Don't ASAN-Poison Statically-Allocated Workspaces

4 years agoCreate Enum to Represent Static/Dynamic Allocation Distinction in cwksp 2419/head
W. Felix Handte [Wed, 9 Dec 2020 19:56:12 +0000 (14:56 -0500)] 
Create Enum to Represent Static/Dynamic Allocation Distinction in cwksp

4 years agoDon't ASAN-Poison Statically-Allocated Workspaces
W. Felix Handte [Tue, 8 Dec 2020 16:54:57 +0000 (11:54 -0500)] 
Don't ASAN-Poison Statically-Allocated Workspaces

Addresses #2286.

4 years agoApply Same Strategy to CMake 2421/head
W. Felix Handte [Wed, 9 Dec 2020 01:46:02 +0000 (20:46 -0500)] 
Apply Same Strategy to CMake

4 years agoAvoid Use of Regexes in Building Package-Config File
W. Felix Handte [Wed, 9 Dec 2020 01:10:05 +0000 (20:10 -0500)] 
Avoid Use of Regexes in Building Package-Config File

4 years ago[huf_compress] Refactor and comment HUF_buildCTable() 2420/head
Nick Terrell [Tue, 8 Dec 2020 21:53:22 +0000 (13:53 -0800)] 
[huf_compress] Refactor and comment HUF_buildCTable()

Comment and refactor `HUF_buildCTable()` and the helper functions
it calls as I read and understand the code. Hopefully this refactor
makes the code a bit more clear.

4 years agoMerge pull request #2418 from senhuang42/fix_paramgrill_warnings
sen [Tue, 8 Dec 2020 17:50:23 +0000 (12:50 -0500)] 
Merge pull request #2418 from senhuang42/fix_paramgrill_warnings

Fix various paramgrill conversion warnings

4 years agoFix various conversion warnings 2418/head
senhuang42 [Tue, 8 Dec 2020 15:07:28 +0000 (10:07 -0500)] 
Fix various conversion warnings

4 years agoMerge pull request #2408 from senhuang42/seekable_hang_fix
sen [Mon, 7 Dec 2020 13:46:27 +0000 (08:46 -0500)] 
Merge pull request #2408 from senhuang42/seekable_hang_fix

Remove possibility of hanging when using seekable decompression

4 years agoMerge pull request #2417 from bimbashrestha/icc-fix
Yann Collet [Sat, 5 Dec 2020 19:17:53 +0000 (11:17 -0800)] 
Merge pull request #2417 from bimbashrestha/icc-fix

[build] Fix icc build. Using updated ubuntu packages

4 years agoUsing add-apt-repository instead and installing intel-basekit/hpckit 2417/head
Bimba Shrestha [Sat, 5 Dec 2020 15:42:44 +0000 (09:42 -0600)] 
Using add-apt-repository instead and installing intel-basekit/hpckit

4 years agoMerge pull request #2413 from senhuang42/paramgrill_windows
Yann Collet [Sat, 5 Dec 2020 05:38:39 +0000 (21:38 -0800)] 
Merge pull request #2413 from senhuang42/paramgrill_windows

Paramgrill for windows

4 years agoMerge pull request #2415 from facebook/fix_aliasing
Yann Collet [Sat, 5 Dec 2020 05:30:57 +0000 (21:30 -0800)] 
Merge pull request #2415 from facebook/fix_aliasing

fix gcc-10 strict aliasing warnings

4 years agofix gcc-10 aliasing warning in zlib_wrapper 2415/head
Yann Collet [Sat, 5 Dec 2020 04:25:01 +0000 (20:25 -0800)] 
fix gcc-10 aliasing warning in zlib_wrapper

4 years agofix aliasing warning in decodecorpus
Yann Collet [Sat, 5 Dec 2020 03:21:40 +0000 (19:21 -0800)] 
fix aliasing warning in decodecorpus

4 years agoMerge pull request #2412 from animalize/dict_compressionlevel
Nick Terrell [Sat, 5 Dec 2020 01:09:30 +0000 (17:09 -0800)] 
Merge pull request #2412 from animalize/dict_compressionlevel

use ZSTD_CLEVEL_DEFAULT in zdict.c

4 years agofix gcc-10 strict aliasing warnings
Yann Collet [Sat, 5 Dec 2020 00:43:19 +0000 (16:43 -0800)] 
fix gcc-10 strict aliasing warnings

by exposing HUF_CElt declaration.

4 years agominor speed improvement to HUF_readCTable()
Yann Collet [Sat, 5 Dec 2020 00:33:39 +0000 (16:33 -0800)] 
minor speed improvement to HUF_readCTable()

faster by ~+1-2%

4 years agoMerge pull request #2414 from terrelln/mt-progress
Nick Terrell [Sat, 5 Dec 2020 00:30:08 +0000 (16:30 -0800)] 
Merge pull request #2414 from terrelln/mt-progress

[lib] Ensure that multithreaded compression always makes some progress

4 years ago[lib] Ensure that multithreaded compression always makes some progress 2414/head
Nick Terrell [Fri, 4 Dec 2020 04:25:14 +0000 (20:25 -0800)] 
[lib] Ensure that multithreaded compression always makes some progress

4 years agoMerge pull request #2410 from terrelln/zlib-wrapper
Nick Terrell [Fri, 4 Dec 2020 01:48:25 +0000 (17:48 -0800)] 
Merge pull request #2410 from terrelln/zlib-wrapper

[zlibWrapper] Only use public zstd functions

4 years agoAllow paramgrill in cmake on windows 2413/head
senhuang42 [Thu, 3 Dec 2020 15:39:16 +0000 (10:39 -0500)] 
Allow paramgrill in cmake on windows

4 years agoFix MSVC 2019 warnings
senhuang42 [Thu, 3 Dec 2020 15:36:45 +0000 (10:36 -0500)] 
Fix MSVC 2019 warnings

4 years agoAdd seekable tests to CI 2408/head
senhuang42 [Thu, 3 Dec 2020 14:25:45 +0000 (09:25 -0500)] 
Add seekable tests to CI

4 years agoClean up makefile for seekable tests
senhuang42 [Thu, 3 Dec 2020 13:54:21 +0000 (08:54 -0500)] 
Clean up makefile for seekable tests

4 years agouse ZSTD_CLEVEL_DEFAULT in zdict.c 2412/head
animalize [Thu, 3 Dec 2020 04:44:46 +0000 (12:44 +0800)] 
use ZSTD_CLEVEL_DEFAULT in zdict.c

4 years agoMerge pull request #2406 from terrelln/linux-wrapper-api
Nick Terrell [Thu, 3 Dec 2020 00:49:03 +0000 (16:49 -0800)] 
Merge pull request #2406 from terrelln/linux-wrapper-api

[linux] Add the linux wrapper API

4 years ago[zlibWrapper] Only use public zstd functions 2410/head
Nick Terrell [Wed, 2 Dec 2020 23:05:11 +0000 (15:05 -0800)] 
[zlibWrapper] Only use public zstd functions

4 years agoMerge pull request #2409 from facebook/test_makefile
Yann Collet [Wed, 2 Dec 2020 23:33:54 +0000 (15:33 -0800)] 
Merge pull request #2409 from facebook/test_makefile

Minor refactor

4 years agoMerge pull request #2390 from animalize/clamp_level
Nick Terrell [Wed, 2 Dec 2020 22:35:58 +0000 (14:35 -0800)] 
Merge pull request #2390 from animalize/clamp_level

Clamp compression level

4 years agoAdd unit tests to seekable
senhuang42 [Wed, 2 Dec 2020 20:27:39 +0000 (15:27 -0500)] 
Add unit tests to seekable

4 years ago[contrib][linux] Add SPDX-License-Identifier 2406/head
Nick Terrell [Wed, 2 Dec 2020 19:57:55 +0000 (11:57 -0800)] 
[contrib][linux] Add SPDX-License-Identifier

4 years ago[contrib][linux] Fix make import-upstream
Nick Terrell [Wed, 2 Dec 2020 19:42:25 +0000 (11:42 -0800)] 
[contrib][linux] Fix make import-upstream

4 years agoMerge pull request #2407 from senhuang42/sequence_compression_nbseqcheck_fix
sen [Wed, 2 Dec 2020 19:40:02 +0000 (14:40 -0500)] 
Merge pull request #2407 from senhuang42/sequence_compression_nbseqcheck_fix

[oss-fuzz] Move sequence compression API nbSequences check

4 years ago[contrib][linux] Follow style guide more closely
Nick Terrell [Wed, 2 Dec 2020 19:07:17 +0000 (11:07 -0800)] 
[contrib][linux] Follow style guide more closely

4 years ago[contrib][linux] Add a make target to import upstream
Nick Terrell [Wed, 2 Dec 2020 18:40:46 +0000 (10:40 -0800)] 
[contrib][linux] Add a make target to import upstream

4 years agofixed fuzzer multithreading tests 2409/head
Yann Collet [Wed, 2 Dec 2020 18:34:12 +0000 (10:34 -0800)] 
fixed fuzzer multithreading tests

4 years agoAdd a forward progress requirement bound to seekable streaming decompression
senhuang42 [Wed, 2 Dec 2020 17:24:16 +0000 (12:24 -0500)] 
Add a forward progress requirement bound to seekable streaming decompression

4 years agofixed fuzzer32 to support multithreading tests
Yann Collet [Wed, 2 Dec 2020 17:13:55 +0000 (09:13 -0800)] 
fixed fuzzer32 to support multithreading tests

though it still fails on test33:
`test 33: superblock uncompressible data, too many nocompress superblocks`

4 years agoMove max nb seq check to per-block 2407/head
senhuang42 [Wed, 2 Dec 2020 17:11:32 +0000 (12:11 -0500)] 
Move max nb seq check to per-block

4 years ago[contrib][linux-kernel] Fix test warnings
Nick Terrell [Wed, 2 Dec 2020 09:11:41 +0000 (01:11 -0800)] 
[contrib][linux-kernel] Fix test warnings

4 years ago[minor][lib] Remove double semicolon
Nick Terrell [Wed, 2 Dec 2020 08:59:31 +0000 (00:59 -0800)] 
[minor][lib] Remove double semicolon

4 years ago[contrib][linux] Add wrapper API
Nick Terrell [Wed, 2 Dec 2020 08:56:56 +0000 (00:56 -0800)] 
[contrib][linux] Add wrapper API

Add the kernel wrapper API. This keeps the same API and semantics as the
existing kernel API with name changes to be more kernel style and avoid
symbol collisions with zstd.

4 years agoremoved fullbench-lib from tests/all
Yann Collet [Wed, 2 Dec 2020 08:21:29 +0000 (00:21 -0800)] 
removed fullbench-lib from tests/all

this build works fine on all my systems,
but since to fail on CI environment.
Unclear why there is a difference.
This build test is not relevant anyway.

4 years agofixed API documentation
Yann Collet [Wed, 2 Dec 2020 08:15:07 +0000 (00:15 -0800)] 
fixed API documentation

4 years agostreamline fuzzer
Yann Collet [Wed, 2 Dec 2020 07:44:16 +0000 (23:44 -0800)] 
streamline fuzzer

from fuzzer32

4 years agobetter usage of default build rules
Yann Collet [Wed, 2 Dec 2020 07:36:05 +0000 (23:36 -0800)] 
better usage of default build rules

4 years agosimplified test makefile
Yann Collet [Wed, 2 Dec 2020 06:33:45 +0000 (22:33 -0800)] 
simplified test makefile

removed gzstd target:
relevant tests are unused and broken anyway

4 years agoMerge pull request #2348 from dscheg/dev
Yann Collet [Wed, 2 Dec 2020 01:59:56 +0000 (17:59 -0800)] 
Merge pull request #2348 from dscheg/dev

Fix dll path in case of cross-compilation

4 years agoMerge pull request #2405 from senhuang42/sequence_compression_minmatch_fix
sen [Tue, 1 Dec 2020 22:34:01 +0000 (17:34 -0500)] 
Merge pull request #2405 from senhuang42/sequence_compression_minmatch_fix

Sequence Compression API - make validator use cctx minMatch instead of global MINMATCH

4 years agoAdd sequence nb validation to compressSequences(), adjust minMatch comparisons 2405/head
senhuang42 [Tue, 1 Dec 2020 15:53:30 +0000 (10:53 -0500)] 
Add sequence nb validation to compressSequences(), adjust minMatch comparisons

4 years agoMerge pull request #2399 from brawner/brawner/update-cmake-minimum-version
Yann Collet [Mon, 30 Nov 2020 22:13:42 +0000 (14:13 -0800)] 
Merge pull request #2399 from brawner/brawner/update-cmake-minimum-version

Update cmake_minimum_required to 2.8.12

4 years agoUse cctx's minMatch instead of global MINMATCH, make fuzzer use validation
senhuang42 [Mon, 30 Nov 2020 20:38:12 +0000 (15:38 -0500)] 
Use cctx's minMatch instead of global MINMATCH, make fuzzer use validation

4 years agoMerge pull request #2397 from dscheg/fixtrainfrombuffer
Nick Terrell [Mon, 30 Nov 2020 18:38:45 +0000 (10:38 -0800)] 
Merge pull request #2397 from dscheg/fixtrainfrombuffer

Pass dictBufferCapacity to COVER_selectDict()

4 years agoMerge pull request #2404 from facebook/lz4check
Yann Collet [Mon, 30 Nov 2020 18:38:08 +0000 (10:38 -0800)] 
Merge pull request #2404 from facebook/lz4check

fix lz4 compatibility test broken in docker

4 years agofix lz4 test messed by console detection 2404/head
Yann Collet [Mon, 30 Nov 2020 14:47:16 +0000 (06:47 -0800)] 
fix lz4 test messed by console detection

4 years agoMerge pull request #2403 from facebook/no_strncpy
Yann Collet [Mon, 30 Nov 2020 14:30:26 +0000 (06:30 -0800)] 
Merge pull request #2403 from facebook/no_strncpy

fix gcc10 warnings

4 years agoadded tests presumed to break lz4 console detection
Yann Collet [Mon, 30 Nov 2020 13:32:43 +0000 (05:32 -0800)] 
added tests presumed to break lz4 console detection

4 years agofix gcc10 warnings 2403/head
Yann Collet [Mon, 30 Nov 2020 12:44:37 +0000 (04:44 -0800)] 
fix gcc10 warnings

gcc10 doesn't like its own strncpy

4 years agoUpdate cmake_minimum_required to 2.8.12 2399/head
Stephen Brawner [Tue, 24 Nov 2020 20:05:42 +0000 (12:05 -0800)] 
Update cmake_minimum_required to 2.8.12

Signed-off-by: Stephen Brawner <brawner@gmail.com>
4 years agoMerge pull request #2398 from senhuang42/fix_seq_compression_oss_fuzz
sen [Tue, 24 Nov 2020 02:54:16 +0000 (21:54 -0500)] 
Merge pull request #2398 from senhuang42/fix_seq_compression_oss_fuzz

[OSS-Fuzz] Make sequence compression fuzzer's generated minmatch to be same as CCtx's minmatch

4 years agoForce CCtx minmatch to be same as generated minmatch 2398/head
senhuang42 [Mon, 23 Nov 2020 18:29:20 +0000 (13:29 -0500)] 
Force CCtx minmatch to be same as generated minmatch

4 years agoPass dictBufferCapacity to COVER_selectDict() 2397/head
Dmitriy Titarenko [Sun, 22 Nov 2020 18:45:18 +0000 (23:45 +0500)] 
Pass dictBufferCapacity to COVER_selectDict()

closes #2371

4 years agoMerge pull request #2394 from senhuang42/seq_compress_fuzzer
sen [Sun, 22 Nov 2020 18:07:46 +0000 (13:07 -0500)] 
Merge pull request #2394 from senhuang42/seq_compress_fuzzer

Fuzzer for sequence compression API

4 years agoFix generating 1 too few characters in random string generator 2394/head
senhuang42 [Thu, 19 Nov 2020 22:34:39 +0000 (17:34 -0500)] 
Fix generating 1 too few characters in random string generator

4 years agoAdd appropriate bound to matchlengths, and reduce srcSize max
senhuang42 [Wed, 18 Nov 2020 15:25:48 +0000 (10:25 -0500)] 
Add appropriate bound to matchlengths, and reduce srcSize max

4 years agoAdd a bound for matchlength dependent on window size
senhuang42 [Tue, 17 Nov 2020 14:57:10 +0000 (09:57 -0500)] 
Add a bound for matchlength dependent on window size

4 years agoVariety of minor fixups, reduce allocation, make deterministic
senhuang42 [Mon, 16 Nov 2020 22:53:38 +0000 (17:53 -0500)] 
Variety of minor fixups, reduce allocation, make deterministic

4 years agoAdd built binary to .gitignore
senhuang42 [Mon, 16 Nov 2020 15:55:07 +0000 (10:55 -0500)] 
Add built binary to .gitignore

4 years agoAdd new fuzzer to build targets
senhuang42 [Mon, 16 Nov 2020 15:54:55 +0000 (10:54 -0500)] 
Add new fuzzer to build targets

4 years agoImplement new fuzzer for sequence compression
senhuang42 [Mon, 16 Nov 2020 15:54:19 +0000 (10:54 -0500)] 
Implement new fuzzer for sequence compression

4 years agoMerge pull request #2387 from senhuang42/compress_sequence_API
sen [Fri, 20 Nov 2020 21:54:20 +0000 (16:54 -0500)] 
Merge pull request #2387 from senhuang42/compress_sequence_API

[RFC] New sequence compression API

4 years agoAdd experimental param for sequence validation 2387/head
senhuang42 [Fri, 20 Nov 2020 16:23:22 +0000 (11:23 -0500)] 
Add experimental param for sequence validation

4 years agoRemove unnecessary repcode backup, apply style choices, use function pointer
senhuang42 [Fri, 20 Nov 2020 15:07:55 +0000 (10:07 -0500)] 
Remove unnecessary repcode backup, apply style choices, use function pointer

4 years agoMerge pull request #2395 from senhuang42/is_rle_speedup
sen [Thu, 19 Nov 2020 23:26:42 +0000 (18:26 -0500)] 
Merge pull request #2395 from senhuang42/is_rle_speedup

10x speedup for ZSTD_isRLE()