]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
7 years ago[fuzzer] Fuzz long range matching & new API 847/head
Nick Terrell [Thu, 14 Sep 2017 21:41:49 +0000 (14:41 -0700)] 
[fuzzer] Fuzz long range matching & new API

7 years ago[fuzzer] Fix bugs in fuzz.py 844/head
Nick Terrell [Thu, 14 Sep 2017 02:08:35 +0000 (19:08 -0700)] 
[fuzzer] Fix bugs in fuzz.py

7 years ago[fuzzer] Fix FUZZ_seed()
Nick Terrell [Thu, 14 Sep 2017 01:41:32 +0000 (18:41 -0700)] 
[fuzzer] Fix FUZZ_seed()

7 years ago[fuzzer] Update README.md
Nick Terrell [Thu, 14 Sep 2017 01:18:35 +0000 (18:18 -0700)] 
[fuzzer] Update README.md

7 years ago[fuzz] Add fuzzing helper script
Nick Terrell [Thu, 14 Sep 2017 00:45:21 +0000 (17:45 -0700)] 
[fuzz] Add fuzzing helper script

7 years agoAdd block fuzzers
Nick Terrell [Thu, 14 Sep 2017 00:44:41 +0000 (17:44 -0700)] 
Add block fuzzers

7 years ago[fuzzer] Handle single empty directory
Nick Terrell [Thu, 14 Sep 2017 00:44:30 +0000 (17:44 -0700)] 
[fuzzer] Handle single empty directory

7 years agoUpdate fuzzer Makefile
Nick Terrell [Wed, 13 Sep 2017 03:21:41 +0000 (20:21 -0700)] 
Update fuzzer Makefile

7 years agoUpdate fuzzer sources
Nick Terrell [Wed, 13 Sep 2017 03:20:27 +0000 (20:20 -0700)] 
Update fuzzer sources

7 years agoMerge pull request #838 from stellamplau/ldm-mergeDev
Yann Collet [Wed, 13 Sep 2017 20:24:08 +0000 (13:24 -0700)] 
Merge pull request #838 from stellamplau/ldm-mergeDev

Add long distance matcher

7 years agoMerge pull request #841 from facebook/utilTimeAPI
Yann Collet [Wed, 13 Sep 2017 18:41:01 +0000 (11:41 -0700)] 
Merge pull request #841 from facebook/utilTimeAPI

modified util::time API (T19505791)

7 years agoMerge pull request #840 from stellamplau/decodeCorpus-blocks
Yann Collet [Wed, 13 Sep 2017 16:34:04 +0000 (09:34 -0700)] 
Merge pull request #840 from stellamplau/decodeCorpus-blocks

Make decodecorpus generate raw compressed blocks

7 years agoblindfix for Visual 841/head
Yann Collet [Wed, 13 Sep 2017 04:21:17 +0000 (21:21 -0700)] 
blindfix for Visual

LARGE_INTEGER is not an integer :
https://msdn.microsoft.com/en-us/library/windows/desktop/aa383713(v=vs.85).aspx

Do not take any risk with the structure definition :
use int init = 0; like Mac code

7 years agofixed minor prototype warning
Yann Collet [Wed, 13 Sep 2017 02:32:26 +0000 (19:32 -0700)] 
fixed minor prototype warning

7 years agomodified util::time API
Yann Collet [Wed, 13 Sep 2017 01:12:46 +0000 (18:12 -0700)] 
modified util::time API

for easier invocation.
- no longer expose frequency timer :
it's either useless, or stored internally in a static variable (init is only necessary once).
- UTIL_getTime() provides result by function return.

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 agoMerge pull request #839 from terrelln/timer
Yann Collet [Wed, 13 Sep 2017 00:13:52 +0000 (17:13 -0700)] 
Merge pull request #839 from terrelln/timer

[bench] Use higher resolution timer on POSIX

7 years agoMerge pull request #837 from facebook/libzstd-nomt
Yann Collet [Wed, 13 Sep 2017 00:13:17 +0000 (17:13 -0700)] 
Merge pull request #837 from facebook/libzstd-nomt

makes it possible to compile libzstd in single-thread mode without zs…

7 years ago[bench] Use higher resolution timer on POSIX 839/head
Nick Terrell [Tue, 12 Sep 2017 20:09:08 +0000 (13:09 -0700)] 
[bench] Use higher resolution timer on POSIX

The timer used was only accurate up to 0.01 seconds. This timer is accurate up to 1 ns.
It is a monotonic timer that measures the real time difference, not on CPU time.

7 years agoReduce ldm hash table size in test 838/head
Stella Lau [Tue, 12 Sep 2017 00:21:28 +0000 (17:21 -0700)] 
Reduce ldm hash table size in test

7 years agoMerge pull request #836 from facebook/decodingBufferSizeMin
Yann Collet [Mon, 11 Sep 2017 23:20:40 +0000 (16:20 -0700)] 
Merge pull request #836 from facebook/decodingBufferSizeMin

Decoding buffer size min

7 years agofix #820 : GCC v3.x 32-bits doesn't define 64-bits intrinsic 837/head
Yann Collet [Mon, 11 Sep 2017 22:17:31 +0000 (15:17 -0700)] 
fix #820 : GCC v3.x 32-bits doesn't define 64-bits intrinsic

resulting in undefined symbol error.
Push the requirement to GCC 4 for now.
Another solution, proposed by @NWilson, is to use __LONG_MAX__ instead.
__LONG_MAX__ is a GCC-specific constant, which value is supposed to depend on underlying target hardware (32/64 bits)
Might be better, but seems also more complex, hence more prone to side effects.
Keeping the simple solution for now (just rely on __GNUC__)

7 years agoMerge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev
Stella Lau [Mon, 11 Sep 2017 22:00:01 +0000 (15:00 -0700)] 
Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev

7 years agoMerge branch 'ldm-integrate' into ldm-mergeDev
Stella Lau [Mon, 11 Sep 2017 21:55:29 +0000 (14:55 -0700)] 
Merge branch 'ldm-integrate' into ldm-mergeDev

7 years agofixed pass-through warning
Yann Collet [Mon, 11 Sep 2017 21:37:03 +0000 (14:37 -0700)] 
fixed pass-through warning

7 years agoExplicitly cast raw numerals when left-shifting 783/head
Stella Lau [Mon, 11 Sep 2017 20:02:09 +0000 (13:02 -0700)] 
Explicitly cast raw numerals when left-shifting

7 years agomakes it possible to compile libzstd in single-thread mode without zstdmt_compress...
Yann Collet [Mon, 11 Sep 2017 21:09:34 +0000 (14:09 -0700)] 
makes it possible to compile libzstd in single-thread mode without zstdmt_compress.c (#819)

7 years agofix following suggestions by @terrelln 836/head
Yann Collet [Mon, 11 Sep 2017 20:12:52 +0000 (13:12 -0700)] 
fix following suggestions by @terrelln

7 years agouse ZSTD_decodingBufferSize_min() inside ZSTD_decompressStream()
Yann Collet [Sat, 9 Sep 2017 21:37:28 +0000 (14:37 -0700)] 
use ZSTD_decodingBufferSize_min() inside ZSTD_decompressStream()

Use same definition as public one
minor : reduce allocated buffer size in some cases
(when frameContentSize is known and == windowSize)

7 years agoZSTD_decodingBufferSize_min()
Yann Collet [Sat, 9 Sep 2017 08:03:29 +0000 (01:03 -0700)] 
ZSTD_decodingBufferSize_min()

supporting function for bufferless streaming API (ZSTD_decompressContinue())
makes it possible to correctly size a round buffer for decoding using this API.

also : added field blockSizeMax within ZSTD_frameHeader,
as it's a necessary information to know when to restart at beginning of decoding buffer.

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 agoMove ldm functions to their own file
Stella Lau [Thu, 7 Sep 2017 00:56:01 +0000 (17:56 -0700)] 
Move ldm functions to their own file

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 agoRemove debug code
Stella Lau [Wed, 6 Sep 2017 22:57:26 +0000 (15:57 -0700)] 
Remove debug code

7 years agoMerge remote-tracking branch 'upstream/dev' into ldm-mergeDev
Stella Lau [Wed, 6 Sep 2017 22:56:32 +0000 (15:56 -0700)] 
Merge remote-tracking branch 'upstream/dev' into ldm-mergeDev

7 years agoAdd ldm documentation in README
Stella Lau [Wed, 6 Sep 2017 18:03:35 +0000 (11:03 -0700)] 
Add ldm documentation in 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 agoAdd tests and fix pointer alignment
Stella Lau [Wed, 6 Sep 2017 15:39:46 +0000 (08:39 -0700)] 
Add tests and fix pointer alignment

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 agoRename and add short ldm parameters in cli
Stella Lau [Wed, 6 Sep 2017 04:11:18 +0000 (21:11 -0700)] 
Rename and add short ldm parameters in cli

7 years agoFix setting of nextToUpdate at end of ldm matcher
Stella Lau [Wed, 6 Sep 2017 03:41:37 +0000 (20:41 -0700)] 
Fix setting of nextToUpdate at end of ldm matcher

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 in copyCCtx with cdict
Stella Lau [Tue, 5 Sep 2017 22:50:14 +0000 (15:50 -0700)] 
Fix parameter handling in copyCCtx with cdict

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 agoAdd ldm options to 'man zstd'
Stella Lau [Tue, 5 Sep 2017 18:05:57 +0000 (11:05 -0700)] 
Add ldm options to 'man zstd'

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 agoAdd ldmBucketSizeLog param
Stella Lau [Sun, 3 Sep 2017 04:10:36 +0000 (21:10 -0700)] 
Add ldmBucketSizeLog param

7 years agoMove hashEveryLog to cctxParams and update cli
Stella Lau [Fri, 1 Sep 2017 21:52:51 +0000 (14:52 -0700)] 
Move hashEveryLog to cctxParams and update cli

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 agoMove ldm hashLog, bucketLog, and mml to cctxParams
Stella Lau [Fri, 1 Sep 2017 19:24:59 +0000 (12:24 -0700)] 
Move ldm hashLog, bucketLog, and mml to cctxParams

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 remote-tracking branch 'upstream/longRangeMatcher' into ldm-integrate
Stella Lau [Fri, 1 Sep 2017 17:19:38 +0000 (10:19 -0700)] 
Merge remote-tracking branch 'upstream/longRangeMatcher' into ldm-integrate

7 years agoAdd long distance matching as a CCtxParam
Stella Lau [Thu, 31 Aug 2017 22:40:16 +0000 (15:40 -0700)] 
Add long distance matching as a CCtxParam

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 pull request #827 from facebook/dev
Yann Collet [Fri, 1 Sep 2017 01:10:31 +0000 (18:10 -0700)] 
Merge pull request #827 from facebook/dev

Update branch

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 agoAdd long distance matcher
Stella Lau [Fri, 28 Jul 2017 22:51:33 +0000 (15:51 -0700)] 
Add long distance matcher

Move last literals section to ZSTD_block_internal

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()