]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
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

7 years ago[cover] Stop when segmentSize is less than d
Nick Terrell [Mon, 21 Aug 2017 20:10:03 +0000 (13:10 -0700)] 
[cover] Stop when segmentSize is less than d

7 years agoPass ZSTD_CCtx_params as const ptr when possible
Stella Lau [Mon, 21 Aug 2017 19:57:18 +0000 (12:57 -0700)] 
Pass ZSTD_CCtx_params as const ptr when possible

7 years agoReduce code duplication in zstreamtest
Stella Lau [Mon, 21 Aug 2017 19:41:19 +0000 (12:41 -0700)] 
Reduce code duplication in zstreamtest

7 years agoReturn error code when initializing NULL cctxParams
Stella Lau [Mon, 21 Aug 2017 18:44:58 +0000 (11:44 -0700)] 
Return error code when initializing NULL cctxParams

7 years agoSet some parameters to zero before initializing cdict
Stella Lau [Mon, 21 Aug 2017 18:34:53 +0000 (11:34 -0700)] 
Set some parameters to zero before initializing cdict

7 years agofixed a few headers that were too hastily copy/pasted during last license change
Yann Collet [Mon, 21 Aug 2017 18:24:32 +0000 (11:24 -0700)] 
fixed a few headers that were too hastily copy/pasted during last license change

7 years ago[cover] Test small maxdict 809/head
Nick Terrell [Mon, 21 Aug 2017 18:16:47 +0000 (11:16 -0700)] 
[cover] Test small maxdict

7 years ago[cover] Fix divide by zero
Nick Terrell [Mon, 21 Aug 2017 18:12:11 +0000 (11:12 -0700)] 
[cover] Fix divide by zero

7 years agoUse cctxParam version of createCDict internally
Stella Lau [Mon, 21 Aug 2017 18:00:44 +0000 (11:00 -0700)] 
Use cctxParam version of createCDict internally

7 years agoRemove test parameter
Stella Lau [Mon, 21 Aug 2017 17:09:06 +0000 (10:09 -0700)] 
Remove test parameter

7 years agoDisable tests and refactor
Stella Lau [Mon, 21 Aug 2017 08:59:08 +0000 (01:59 -0700)] 
Disable tests and refactor

7 years agoAdd cctx param tests
Stella Lau [Mon, 21 Aug 2017 05:55:07 +0000 (22:55 -0700)] 
Add cctx param tests

7 years agoupdated NEWS for v1.3.1 808/head
Yann Collet [Sun, 20 Aug 2017 18:45:58 +0000 (11:45 -0700)] 
updated NEWS for v1.3.1

7 years agoMerge pull request #805 from facebook/huffmanDoc
Yann Collet [Sun, 20 Aug 2017 17:40:29 +0000 (10:40 -0700)] 
Merge pull request #805 from facebook/huffmanDoc

fix #803 : wrong example in huffman bitstream section

7 years agominor formulation change, recommended by @ulikunitz 805/head
Yann Collet [Sun, 20 Aug 2017 17:39:20 +0000 (10:39 -0700)] 
minor formulation change, recommended by @ulikunitz

7 years agofixed test-zstd-nolegacy
Yann Collet [Sun, 20 Aug 2017 17:15:44 +0000 (10:15 -0700)] 
fixed test-zstd-nolegacy

7 years agoMerge pull request #806 from facebook/printVersion
Yann Collet [Sun, 20 Aug 2017 05:25:01 +0000 (22:25 -0700)] 
Merge pull request #806 from facebook/printVersion

cli : Display supported formats on -vV command

7 years agoMerge pull request #807 from facebook/poolQueue0
Yann Collet [Sun, 20 Aug 2017 05:24:42 +0000 (22:24 -0700)] 
Merge pull request #807 from facebook/poolQueue0

reduced pool queue to 0 to save memory

7 years agoreduced pool queue to 0 to save memory 807/head
Yann Collet [Sat, 19 Aug 2017 22:07:54 +0000 (15:07 -0700)] 
reduced pool queue to 0 to save memory

fixed : pool performance when jobs are fires fast and queueSize==0

7 years agocli : Display supported formats on -vV command 806/head
Yann Collet [Sat, 19 Aug 2017 20:33:50 +0000 (13:33 -0700)] 
cli : Display supported formats on -vV command

Requested and inspired by patch from @ib (#771)

7 years agoadded alternative representation for huffman bistream
Yann Collet [Sat, 19 Aug 2017 19:26:09 +0000 (12:26 -0700)] 
added alternative representation for huffman bistream

7 years agofix #803 : wrong example in huffman bitstream section, reported by @ulikunitz
Yann Collet [Sat, 19 Aug 2017 19:17:57 +0000 (12:17 -0700)] 
fix #803 : wrong example in huffman bitstream section, reported by @ulikunitz

7 years agoMerge pull request #802 from facebook/variants
Yann Collet [Sat, 19 Aug 2017 18:57:50 +0000 (11:57 -0700)] 
Merge pull request #802 from facebook/variants

fix #788 : fix /programs binary variants

7 years agofixed unused variables warnings 802/head
Yann Collet [Sat, 19 Aug 2017 08:23:49 +0000 (01:23 -0700)] 
fixed unused variables warnings

7 years agoupdated doc on compilation variables
Yann Collet [Sat, 19 Aug 2017 08:14:36 +0000 (01:14 -0700)] 
updated doc on compilation variables

7 years agofixed zstd-nolegacy
Yann Collet [Sat, 19 Aug 2017 08:01:53 +0000 (01:01 -0700)] 
fixed zstd-nolegacy

and added it to allVariants for CI testings

7 years agofixed zstd-small
Yann Collet [Sat, 19 Aug 2017 07:48:29 +0000 (00:48 -0700)] 
fixed zstd-small

and added it to shortest for CI tests