]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
7 years agoMake decodecorpus generate raw compressed blocks 840/head
Stella Lau [Tue, 12 Sep 2017 21:29:39 +0000 (14:29 -0700)] 
Make decodecorpus generate raw compressed blocks

7 years agoupdated license header
Yann Collet [Fri, 8 Sep 2017 07:09:23 +0000 (00:09 -0700)] 
updated license header

to clarify dual-license meaning as "or"

7 years agoprograms/Makefile : better support for GNU conventions
Yann Collet [Wed, 6 Sep 2017 23:53:59 +0000 (16:53 -0700)] 
programs/Makefile : better support for GNU conventions

see https://www.gnu.org/prep/standards/html_node/Command-Variables.html

7 years agolib/Makefile : better support for GNU conventions
Yann Collet [Wed, 6 Sep 2017 23:35:49 +0000 (16:35 -0700)] 
lib/Makefile : better support for GNU conventions

see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html

7 years agoupdate README on BUCK file
Yann Collet [Wed, 6 Sep 2017 23:23:39 +0000 (16:23 -0700)] 
update README on BUCK file

7 years agoupdate and clarify lib/README
Yann Collet [Wed, 6 Sep 2017 23:15:18 +0000 (16:15 -0700)] 
update and clarify lib/README

7 years agoMerge pull request #834 from stellamplau/regressionDriverFix
Yann Collet [Wed, 6 Sep 2017 17:02:46 +0000 (10:02 -0700)] 
Merge pull request #834 from stellamplau/regressionDriverFix

Fix function name in tests/fuzz/regression_driver

7 years agoMerge pull request #831 from terrelln/split-compress
Yann Collet [Wed, 6 Sep 2017 17:01:27 +0000 (10:01 -0700)] 
Merge pull request #831 from terrelln/split-compress

Split parsers out of zstd_compress.c

7 years agoFix function name in tests/fuzz/regression_driver 834/head
Stella Lau [Wed, 6 Sep 2017 05:14:41 +0000 (22:14 -0700)] 
Fix function name in tests/fuzz/regression_driver

7 years agoUpdate build scripts 831/head
Nick Terrell [Sat, 2 Sep 2017 01:22:31 +0000 (18:22 -0700)] 
Update build scripts

7 years agoSplit parsers out of zstd_compress.c
Nick Terrell [Sat, 2 Sep 2017 01:28:35 +0000 (18:28 -0700)] 
Split parsers out of zstd_compress.c

7 years agoMerge pull request #833 from stellamplau/copyCCtxFix
Yann Collet [Tue, 5 Sep 2017 23:55:21 +0000 (16:55 -0700)] 
Merge pull request #833 from stellamplau/copyCCtxFix

Fix parameter handling with ZSTD_copyCCtx

7 years agoFix parameter handling with ZSTD_copyCCtx 833/head
Stella Lau [Tue, 5 Sep 2017 22:34:17 +0000 (15:34 -0700)] 
Fix parameter handling with ZSTD_copyCCtx

7 years agoMerge pull request #832 from terrelln/assert
Yann Collet [Tue, 5 Sep 2017 18:23:09 +0000 (11:23 -0700)] 
Merge pull request #832 from terrelln/assert

[POOL] Allow free on NULL when multithreading is disabled

7 years ago[POOL] Allow free on NULL when multithreading is disabled 832/head
Nick Terrell [Tue, 5 Sep 2017 18:18:13 +0000 (11:18 -0700)] 
[POOL] Allow free on NULL when multithreading is disabled

7 years agoMerge pull request #829 from facebook/fix828
Yann Collet [Fri, 1 Sep 2017 21:28:52 +0000 (14:28 -0700)] 
Merge pull request #829 from facebook/fix828

fixed decompression bug reported by @Etsukata (#828)

7 years agoupdated NEWS 829/head
Yann Collet [Fri, 1 Sep 2017 18:58:37 +0000 (11:58 -0700)] 
updated NEWS

fix for 32-bits decoder

7 years agorestored 32-bits decoder ability to decode long offsets (>32 MB, levels 21+)
Yann Collet [Fri, 1 Sep 2017 18:56:57 +0000 (11:56 -0700)] 
restored 32-bits decoder ability to decode long offsets (>32 MB, levels 21+)

7 years agobench stops immediately on decoding error
Yann Collet [Fri, 1 Sep 2017 18:46:15 +0000 (11:46 -0700)] 
bench stops immediately on decoding error

7 years agoimproved decoding speed
Yann Collet [Fri, 1 Sep 2017 18:40:59 +0000 (11:40 -0700)] 
improved decoding speed

7 years agoMerge pull request #830 from Etsukata/fix-tests-fuzz-build-error
Yann Collet [Fri, 1 Sep 2017 08:22:19 +0000 (01:22 -0700)] 
Merge pull request #830 from Etsukata/fix-tests-fuzz-build-error

Fix tests/fuzz build error

7 years agotests/fuzz: change ZSTD_BLOCKSIZE_ABSOLUTEMAX into ZSTD_BLOCKSIZE_MAX 830/head
Eiichi Tsukata [Fri, 1 Sep 2017 07:35:43 +0000 (16:35 +0900)] 
tests/fuzz: change ZSTD_BLOCKSIZE_ABSOLUTEMAX into ZSTD_BLOCKSIZE_MAX

ZSTD_BLOCKSIZE_ABSOLUTEMAX is changed at the commit:
https://github.com/facebook/zstd/commit/fa3671eac7097ce4ae9a1a4c53d2d1486c29d48f

7 years agotests/fuzz: fix make all target names
Eiichi Tsukata [Fri, 1 Sep 2017 07:31:58 +0000 (16:31 +0900)] 
tests/fuzz: fix make all target names

7 years agofixed minor warning (empty translation unit)
Yann Collet [Fri, 1 Sep 2017 07:12:07 +0000 (00:12 -0700)] 
fixed minor warning (empty translation unit)

7 years agofixed decompression bug reported by @Etsukata (#828)
Yann Collet [Fri, 1 Sep 2017 07:05:37 +0000 (00:05 -0700)] 
fixed decompression bug reported by @Etsukata (#828)

7 years agoupdated zstd API manual
Yann Collet [Fri, 1 Sep 2017 01:28:19 +0000 (18:28 -0700)] 
updated zstd API manual

for new CCtxParams object

7 years agofixed impact of merge conflict for longRange
Yann Collet [Fri, 1 Sep 2017 01:25:56 +0000 (18:25 -0700)] 
fixed impact of merge conflict for longRange

7 years agoMerge branch 'longRangeMatcher' into dev 827/head
Yann Collet [Fri, 1 Sep 2017 01:08:37 +0000 (18:08 -0700)] 
Merge branch 'longRangeMatcher' into dev

7 years agoMerge branch 'modTests' into dev
Yann Collet [Fri, 1 Sep 2017 00:00:16 +0000 (17:00 -0700)] 
Merge branch 'modTests' into dev

fixed conflict

7 years agoimproved console log of utils.h
Yann Collet [Thu, 31 Aug 2017 23:58:47 +0000 (16:58 -0700)] 
improved console log of utils.h

removed a warning when compiling on Windows

7 years agoblind attempt at removing gcc dependency
Yann Collet [Thu, 31 Aug 2017 22:24:17 +0000 (15:24 -0700)] 
blind attempt at removing gcc dependency

from appveyor's mingw builds, for #815

7 years agoMerge branch 'dev' into modTests
Yann Collet [Thu, 31 Aug 2017 22:14:13 +0000 (15:14 -0700)] 
Merge branch 'dev' into modTests

7 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Thu, 31 Aug 2017 22:13:48 +0000 (15:13 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

7 years agofixed poolTests
Yann Collet [Thu, 31 Aug 2017 22:02:14 +0000 (15:02 -0700)] 
fixed poolTests

needs more dependencies from zstd for custom allocators and error codes

7 years agofixed poolTest
Yann Collet [Thu, 31 Aug 2017 22:02:14 +0000 (15:02 -0700)] 
fixed poolTest

needs more dependencies from zstd for custom allocators and error codes

7 years agochanged target allarch into allzstd
Yann Collet [Thu, 31 Aug 2017 21:30:52 +0000 (14:30 -0700)] 
changed target allarch into allzstd

allzstd contains only zstd-related tests.
allmost = allzstd + zwrapper tests (which require zlib)

7 years agoMerge pull request #826 from terrelln/license
Yann Collet [Thu, 31 Aug 2017 19:52:23 +0000 (12:52 -0700)] 
Merge pull request #826 from terrelln/license

[linux-kernel] Update license

7 years ago[linux-kernel] Update license 826/head
Nick Terrell [Thu, 31 Aug 2017 19:48:36 +0000 (12:48 -0700)] 
[linux-kernel] Update license

7 years agolast batch of header files changed to reflect new license (#825)
Yann Collet [Thu, 31 Aug 2017 19:20:50 +0000 (12:20 -0700)] 
last batch of header files changed to reflect new license (#825)

only remains to update contrib/linux-kernel (@terrelln)

7 years agofixed more file headers after license change (#825)
Yann Collet [Thu, 31 Aug 2017 19:11:57 +0000 (12:11 -0700)] 
fixed more file headers after license change (#825)

7 years agoMerge pull request #810 from stellamplau/params
Yann Collet [Thu, 31 Aug 2017 18:29:16 +0000 (11:29 -0700)] 
Merge pull request #810 from stellamplau/params

Move parameters into a single (opaque) structure

7 years agofixed a bunch of headers after license change (#825)
Yann Collet [Thu, 31 Aug 2017 18:24:54 +0000 (11:24 -0700)] 
fixed a bunch of headers after license change (#825)

7 years agoupdated NEWS
Yann Collet [Thu, 31 Aug 2017 00:44:12 +0000 (17:44 -0700)] 
updated NEWS

7 years agoPass dictMode to ZSTDMT_initCStream; fix nits 810/head
Stella Lau [Wed, 30 Aug 2017 21:36:54 +0000 (14:36 -0700)] 
Pass dictMode to ZSTDMT_initCStream; fix nits

- Return error code in estimate{CCtx,CStream}Size functions

7 years agoMerge pull request #821 from facebook/licenseExample
Yann Collet [Wed, 30 Aug 2017 21:03:50 +0000 (14:03 -0700)] 
Merge pull request #821 from facebook/licenseExample

changed license for examples

7 years agoMinor fixes; remove formatting only changes
Stella Lau [Wed, 30 Aug 2017 03:27:35 +0000 (20:27 -0700)] 
Minor fixes; remove formatting only changes

7 years agoAdd test for raw content starting with dict header
Stella Lau [Wed, 30 Aug 2017 01:36:18 +0000 (18:36 -0700)] 
Add test for raw content starting with dict header

7 years agoUse ZSTD_dm_rawContent in zstdmt_compress
Stella Lau [Wed, 30 Aug 2017 01:04:32 +0000 (18:04 -0700)] 
Use ZSTD_dm_rawContent in zstdmt_compress

7 years agoRename applyCCtxParams()
Stella Lau [Wed, 30 Aug 2017 01:03:06 +0000 (18:03 -0700)] 
Rename applyCCtxParams()

7 years agoDelay creation of ZSTDMT_CCtx
Stella Lau [Tue, 29 Aug 2017 23:18:21 +0000 (16:18 -0700)] 
Delay creation of ZSTDMT_CCtx

7 years agoLocalize 'dictMode' from cctx to function param
Stella Lau [Tue, 29 Aug 2017 22:10:42 +0000 (15:10 -0700)] 
Localize 'dictMode' from cctx to function param

7 years agoMerge pull request #817 from terrelln/pool-custom-alloc
Yann Collet [Tue, 29 Aug 2017 20:05:39 +0000 (13:05 -0700)] 
Merge pull request #817 from terrelln/pool-custom-alloc

[pool] Accept custom allocators

7 years agoReplace 'byReference' with enum
Stella Lau [Tue, 29 Aug 2017 18:55:02 +0000 (11:55 -0700)] 
Replace 'byReference' with enum

7 years ago[error] Don't guard undef X with ifdef X 817/head
Nick Terrell [Tue, 29 Aug 2017 18:54:38 +0000 (11:54 -0700)] 
[error] Don't guard undef X with ifdef X

7 years agoRename estimateCCtxSize_advanced() and estimateCStreamSize_advanced()
Stella Lau [Tue, 29 Aug 2017 17:49:29 +0000 (10:49 -0700)] 
Rename estimateCCtxSize_advanced() and estimateCStreamSize_advanced()

7 years agochanged license for examples 821/head
Yann Collet [Tue, 29 Aug 2017 16:24:11 +0000 (09:24 -0700)] 
changed license for examples

intentionnally this time

7 years agoFix getting cParams from CCtxParams
Stella Lau [Tue, 29 Aug 2017 02:25:17 +0000 (19:25 -0700)] 
Fix getting cParams from CCtxParams

7 years ago[pool] Visual Studios disallows empty structs
Nick Terrell [Tue, 29 Aug 2017 00:19:01 +0000 (17:19 -0700)] 
[pool] Visual Studios disallows empty structs

7 years ago[threading] Fix ERROR macro after including windows.h
Nick Terrell [Sat, 26 Aug 2017 00:44:32 +0000 (17:44 -0700)] 
[threading] Fix ERROR macro after including windows.h

7 years agoMerge pull request #818 from bmwiedemann/sort
Yann Collet [Sat, 26 Aug 2017 19:11:55 +0000 (12:11 -0700)] 
Merge pull request #818 from bmwiedemann/sort

Sort input file list

7 years agoSort input file list 818/head
Bernhard M. Wiedemann [Sat, 26 Aug 2017 15:08:00 +0000 (17:08 +0200)] 
Sort input file list

in order to make builds reproducible
in spite of indeterministic filesystem readdir order.
See https://reproducible-builds.org/ for why this is good.

7 years agoFix parameter retrieval from cdict
Stella Lau [Sat, 26 Aug 2017 00:58:28 +0000 (17:58 -0700)] 
Fix parameter retrieval from cdict

7 years agoFix typo with ZSTDMT_parameter
Stella Lau [Fri, 25 Aug 2017 23:13:40 +0000 (16:13 -0700)] 
Fix typo with ZSTDMT_parameter

7 years agoRemove ZSTD_setCCtxParameter()
Stella Lau [Fri, 25 Aug 2017 20:58:41 +0000 (13:58 -0700)] 
Remove ZSTD_setCCtxParameter()

7 years agoAdd function initializing cctxParams from clevel
Stella Lau [Fri, 25 Aug 2017 20:23:16 +0000 (13:23 -0700)] 
Add function initializing cctxParams from clevel

7 years agoMove jobSize and overlapLog in zstdmt to cctxParams
Stella Lau [Fri, 25 Aug 2017 20:14:51 +0000 (13:14 -0700)] 
Move jobSize and overlapLog in zstdmt to cctxParams

7 years agoDistinguish between jobParams and cctxParams in zstdmt
Stella Lau [Fri, 25 Aug 2017 18:36:17 +0000 (11:36 -0700)] 
Distinguish between jobParams and cctxParams in zstdmt

7 years agoRemove ZSTD_p_refDictContent and dictContentByRef
Stella Lau [Fri, 25 Aug 2017 17:48:07 +0000 (10:48 -0700)] 
Remove ZSTD_p_refDictContent and dictContentByRef

7 years agoMerge pull request #816 from terrelln/default-level
Yann Collet [Fri, 25 Aug 2017 16:53:30 +0000 (09:53 -0700)] 
Merge pull request #816 from terrelln/default-level

[dictBuilder] Set default compression level to 3

7 years ago[zstdmt] Use POOL_create_advanced()
Nick Terrell [Fri, 25 Aug 2017 01:12:28 +0000 (18:12 -0700)] 
[zstdmt] Use POOL_create_advanced()

7 years agoFix zstd_internal.h for C++ mode
Nick Terrell [Fri, 25 Aug 2017 01:09:50 +0000 (18:09 -0700)] 
Fix zstd_internal.h for C++ mode

7 years ago[pool] Accept custom allocators
Nick Terrell [Fri, 25 Aug 2017 00:01:41 +0000 (17:01 -0700)] 
[pool] Accept custom allocators

7 years ago[pool] Fix formatting
Nick Terrell [Thu, 24 Aug 2017 23:48:32 +0000 (16:48 -0700)] 
[pool] Fix formatting

7 years agoEnforce nbThreads<=1 for estimateCCtxSize
Stella Lau [Thu, 24 Aug 2017 23:28:49 +0000 (16:28 -0700)] 
Enforce nbThreads<=1 for estimateCCtxSize

7 years ago[dictBuilder] Set default compression level to 3 816/head
Nick Terrell [Thu, 24 Aug 2017 21:45:06 +0000 (14:45 -0700)] 
[dictBuilder] Set default compression level to 3

7 years agoFix interaction with ZSTD_setCCtxParameter() and cleanup
Stella Lau [Thu, 24 Aug 2017 18:25:41 +0000 (11:25 -0700)] 
Fix interaction with ZSTD_setCCtxParameter() and cleanup

7 years agoFix forceWindow and dictMode setting for zstdmt jobs
Stella Lau [Thu, 24 Aug 2017 02:11:05 +0000 (19:11 -0700)] 
Fix forceWindow and dictMode setting for zstdmt jobs

7 years agoEnsure zstdmt uses 'job version' of cctx parameters
Stella Lau [Thu, 24 Aug 2017 00:03:31 +0000 (17:03 -0700)] 
Ensure zstdmt uses 'job version' of cctx parameters

7 years agoRemove duplicated testing code
Stella Lau [Wed, 23 Aug 2017 22:47:15 +0000 (15:47 -0700)] 
Remove duplicated testing code

7 years agoFix cstream compression level
Stella Lau [Wed, 23 Aug 2017 19:30:47 +0000 (12:30 -0700)] 
Fix cstream compression level

7 years agoAdd prototype support for customMem with cctxParams
Stella Lau [Wed, 23 Aug 2017 19:03:30 +0000 (12:03 -0700)] 
Add prototype support for customMem with cctxParams

7 years agoMerge pull request #812 from facebook/longRangeFix
Yann Collet [Wed, 23 Aug 2017 18:35:28 +0000 (11:35 -0700)] 
Merge pull request #812 from facebook/longRangeFix

fixed extraordinary scenario where all fields use maximum nbBits

7 years agoMerge pull request #813 from stellamplau/highbit32fix
Yann Collet [Wed, 23 Aug 2017 18:31:06 +0000 (11:31 -0700)] 
Merge pull request #813 from stellamplau/highbit32fix

Fix undefined behavior when srcSize==1

7 years agoMerge pull request #814 from dscheg/dev
Yann Collet [Wed, 23 Aug 2017 18:30:45 +0000 (11:30 -0700)] 
Merge pull request #814 from dscheg/dev

Fix displayLevel overflow

7 years agoRemove formatting-only changes
Stella Lau [Wed, 23 Aug 2017 17:24:19 +0000 (10:24 -0700)] 
Remove formatting-only changes

7 years agoFix displayLevel overflow 814/head
Dmitriy Titarenko [Wed, 23 Aug 2017 10:56:15 +0000 (15:56 +0500)] 
Fix displayLevel overflow

7 years agoAdd function to make cctxParams from ZSTD_parameters
Stella Lau [Tue, 22 Aug 2017 21:53:13 +0000 (14:53 -0700)] 
Add function to make cctxParams from ZSTD_parameters

7 years agoMerge pull request #811 from terrelln/segmentSize
Yann Collet [Tue, 22 Aug 2017 21:36:30 +0000 (14:36 -0700)] 
Merge pull request #811 from terrelln/segmentSize

[cover] Fix end condition for small dictionary

7 years agoRemove 'opaque' naming from internal functions
Stella Lau [Tue, 22 Aug 2017 21:24:47 +0000 (14:24 -0700)] 
Remove 'opaque' naming from internal functions

7 years agoRemove unused functions
Stella Lau [Tue, 22 Aug 2017 01:10:44 +0000 (18:10 -0700)] 
Remove unused functions

7 years agofixed extraordinary scenario where all fields use maximum possible nb of bits simulta... 812/head
Yann Collet [Tue, 22 Aug 2017 19:08:39 +0000 (12:08 -0700)] 
fixed extraordinary scenario where all fields use maximum possible nb of bits simultaneously

can only happen if windowLog>=27  (level 22 --ultra)

7 years agoFix undefined behavior when srcSize==1 813/head
Stella Lau [Tue, 22 Aug 2017 18:55:42 +0000 (11:55 -0700)] 
Fix undefined behavior when srcSize==1

7 years agoExplicitly create a job cctxParam for multithreading
Stella Lau [Mon, 21 Aug 2017 22:39:37 +0000 (15:39 -0700)] 
Explicitly create a job cctxParam for multithreading

7 years agoComment out CCtx_param versions of CDict functions
Stella Lau [Mon, 21 Aug 2017 21:49:16 +0000 (14:49 -0700)] 
Comment out CCtx_param versions of CDict functions

7 years ago[cover] Turn down notification for ZDICT subroutines 811/head
Nick Terrell [Mon, 21 Aug 2017 21:28:31 +0000 (14:28 -0700)] 
[cover] Turn down notification for ZDICT subroutines

7 years ago[cover] Add dictionary size to compressed size
Nick Terrell [Mon, 21 Aug 2017 21:23:17 +0000 (14:23 -0700)] 
[cover] Add dictionary size to compressed size

7 years agoMerge pull request #809 from terrelln/dev
Yann Collet [Mon, 21 Aug 2017 20:33:19 +0000 (13:33 -0700)] 
Merge pull request #809 from terrelln/dev

[cover] Fix divide by zero

7 years ago[cover] Convert score to U32 and check for zero
Nick Terrell [Mon, 21 Aug 2017 20:30:07 +0000 (13:30 -0700)] 
[cover] Convert score to U32 and check for zero

7 years agoCheck parameters are valid in initCCtxParams
Stella Lau [Mon, 21 Aug 2017 20:23:35 +0000 (13:23 -0700)] 
Check parameters are valid in initCCtxParams

7 years agoAdd documentation for CCtx_params
Stella Lau [Mon, 21 Aug 2017 20:18:00 +0000 (13:18 -0700)] 
Add documentation for CCtx_params