]>
git.ipfire.org Git - thirdparty/zstd.git/log
Yann Collet [Mon, 11 Sep 2017 20:12:52 +0000 (13:12 -0700)]
fix following suggestions by @terrelln
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)
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.
Yann Collet [Fri, 8 Sep 2017 07:09:23 +0000 (00:09 -0700)]
updated license header
to clarify dual-license meaning as "or"
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
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
Yann Collet [Wed, 6 Sep 2017 23:23:39 +0000 (16:23 -0700)]
update README on BUCK file
Yann Collet [Wed, 6 Sep 2017 23:15:18 +0000 (16:15 -0700)]
update and clarify lib/README
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
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
Stella Lau [Wed, 6 Sep 2017 05:14:41 +0000 (22:14 -0700)]
Fix function name in tests/fuzz/regression_driver
Nick Terrell [Sat, 2 Sep 2017 01:22:31 +0000 (18:22 -0700)]
Update build scripts
Nick Terrell [Sat, 2 Sep 2017 01:28:35 +0000 (18:28 -0700)]
Split parsers out of zstd_compress.c
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
Stella Lau [Tue, 5 Sep 2017 22:34:17 +0000 (15:34 -0700)]
Fix parameter handling with ZSTD_copyCCtx
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
Nick Terrell [Tue, 5 Sep 2017 18:18:13 +0000 (11:18 -0700)]
[POOL] Allow free on NULL when multithreading is disabled
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)
Yann Collet [Fri, 1 Sep 2017 18:58:37 +0000 (11:58 -0700)]
updated NEWS
fix for 32-bits decoder
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+)
Yann Collet [Fri, 1 Sep 2017 18:46:15 +0000 (11:46 -0700)]
bench stops immediately on decoding error
Yann Collet [Fri, 1 Sep 2017 18:40:59 +0000 (11:40 -0700)]
improved decoding speed
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
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
Eiichi Tsukata [Fri, 1 Sep 2017 07:31:58 +0000 (16:31 +0900)]
tests/fuzz: fix make all target names
Yann Collet [Fri, 1 Sep 2017 07:12:07 +0000 (00:12 -0700)]
fixed minor warning (empty translation unit)
Yann Collet [Fri, 1 Sep 2017 07:05:37 +0000 (00:05 -0700)]
fixed decompression bug reported by @Etsukata (#828)
Yann Collet [Fri, 1 Sep 2017 01:28:19 +0000 (18:28 -0700)]
updated zstd API manual
for new CCtxParams object
Yann Collet [Fri, 1 Sep 2017 01:25:56 +0000 (18:25 -0700)]
fixed impact of merge conflict for longRange
Yann Collet [Fri, 1 Sep 2017 01:08:37 +0000 (18:08 -0700)]
Merge branch 'longRangeMatcher' into dev
Yann Collet [Fri, 1 Sep 2017 00:00:16 +0000 (17:00 -0700)]
Merge branch 'modTests' into dev
fixed conflict
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
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
Yann Collet [Thu, 31 Aug 2017 22:14:13 +0000 (15:14 -0700)]
Merge branch 'dev' into modTests
Yann Collet [Thu, 31 Aug 2017 22:13:48 +0000 (15:13 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
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
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
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)
Yann Collet [Thu, 31 Aug 2017 19:52:23 +0000 (12:52 -0700)]
Merge pull request #826 from terrelln/license
[linux-kernel] Update license
Nick Terrell [Thu, 31 Aug 2017 19:48:36 +0000 (12:48 -0700)]
[linux-kernel] Update license
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)
Yann Collet [Thu, 31 Aug 2017 19:11:57 +0000 (12:11 -0700)]
fixed more file headers after license change (#825)
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
Yann Collet [Thu, 31 Aug 2017 18:24:54 +0000 (11:24 -0700)]
fixed a bunch of headers after license change (#825)
Yann Collet [Thu, 31 Aug 2017 00:44:12 +0000 (17:44 -0700)]
updated NEWS
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
Yann Collet [Wed, 30 Aug 2017 21:03:50 +0000 (14:03 -0700)]
Merge pull request #821 from facebook/licenseExample
changed license for examples
Stella Lau [Wed, 30 Aug 2017 03:27:35 +0000 (20:27 -0700)]
Minor fixes; remove formatting only changes
Stella Lau [Wed, 30 Aug 2017 01:36:18 +0000 (18:36 -0700)]
Add test for raw content starting with dict header
Stella Lau [Wed, 30 Aug 2017 01:04:32 +0000 (18:04 -0700)]
Use ZSTD_dm_rawContent in zstdmt_compress
Stella Lau [Wed, 30 Aug 2017 01:03:06 +0000 (18:03 -0700)]
Rename applyCCtxParams()
Stella Lau [Tue, 29 Aug 2017 23:18:21 +0000 (16:18 -0700)]
Delay creation of ZSTDMT_CCtx
Stella Lau [Tue, 29 Aug 2017 22:10:42 +0000 (15:10 -0700)]
Localize 'dictMode' from cctx to function param
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
Stella Lau [Tue, 29 Aug 2017 18:55:02 +0000 (11:55 -0700)]
Replace 'byReference' with enum
Nick Terrell [Tue, 29 Aug 2017 18:54:38 +0000 (11:54 -0700)]
[error] Don't guard undef X with ifdef X
Stella Lau [Tue, 29 Aug 2017 17:49:29 +0000 (10:49 -0700)]
Rename estimateCCtxSize_advanced() and estimateCStreamSize_advanced()
Yann Collet [Tue, 29 Aug 2017 16:24:11 +0000 (09:24 -0700)]
changed license for examples
intentionnally this time
Stella Lau [Tue, 29 Aug 2017 02:25:17 +0000 (19:25 -0700)]
Fix getting cParams from CCtxParams
Nick Terrell [Tue, 29 Aug 2017 00:19:01 +0000 (17:19 -0700)]
[pool] Visual Studios disallows empty structs
Nick Terrell [Sat, 26 Aug 2017 00:44:32 +0000 (17:44 -0700)]
[threading] Fix ERROR macro after including windows.h
Yann Collet [Sat, 26 Aug 2017 19:11:55 +0000 (12:11 -0700)]
Merge pull request #818 from bmwiedemann/sort
Sort input file list
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.
Stella Lau [Sat, 26 Aug 2017 00:58:28 +0000 (17:58 -0700)]
Fix parameter retrieval from cdict
Stella Lau [Fri, 25 Aug 2017 23:13:40 +0000 (16:13 -0700)]
Fix typo with ZSTDMT_parameter
Stella Lau [Fri, 25 Aug 2017 20:58:41 +0000 (13:58 -0700)]
Remove ZSTD_setCCtxParameter()
Stella Lau [Fri, 25 Aug 2017 20:23:16 +0000 (13:23 -0700)]
Add function initializing cctxParams from clevel
Stella Lau [Fri, 25 Aug 2017 20:14:51 +0000 (13:14 -0700)]
Move jobSize and overlapLog in zstdmt to cctxParams
Stella Lau [Fri, 25 Aug 2017 18:36:17 +0000 (11:36 -0700)]
Distinguish between jobParams and cctxParams in zstdmt
Stella Lau [Fri, 25 Aug 2017 17:48:07 +0000 (10:48 -0700)]
Remove ZSTD_p_refDictContent and dictContentByRef
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
Nick Terrell [Fri, 25 Aug 2017 01:12:28 +0000 (18:12 -0700)]
[zstdmt] Use POOL_create_advanced()
Nick Terrell [Fri, 25 Aug 2017 01:09:50 +0000 (18:09 -0700)]
Fix zstd_internal.h for C++ mode
Nick Terrell [Fri, 25 Aug 2017 00:01:41 +0000 (17:01 -0700)]
[pool] Accept custom allocators
Nick Terrell [Thu, 24 Aug 2017 23:48:32 +0000 (16:48 -0700)]
[pool] Fix formatting
Stella Lau [Thu, 24 Aug 2017 23:28:49 +0000 (16:28 -0700)]
Enforce nbThreads<=1 for estimateCCtxSize
Nick Terrell [Thu, 24 Aug 2017 21:45:06 +0000 (14:45 -0700)]
[dictBuilder] Set default compression level to 3
Stella Lau [Thu, 24 Aug 2017 18:25:41 +0000 (11:25 -0700)]
Fix interaction with ZSTD_setCCtxParameter() and cleanup
Stella Lau [Thu, 24 Aug 2017 02:11:05 +0000 (19:11 -0700)]
Fix forceWindow and dictMode setting for zstdmt jobs
Stella Lau [Thu, 24 Aug 2017 00:03:31 +0000 (17:03 -0700)]
Ensure zstdmt uses 'job version' of cctx parameters
Stella Lau [Wed, 23 Aug 2017 22:47:15 +0000 (15:47 -0700)]
Remove duplicated testing code
Stella Lau [Wed, 23 Aug 2017 19:30:47 +0000 (12:30 -0700)]
Fix cstream compression level
Stella Lau [Wed, 23 Aug 2017 19:03:30 +0000 (12:03 -0700)]
Add prototype support for customMem with cctxParams
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
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
Yann Collet [Wed, 23 Aug 2017 18:30:45 +0000 (11:30 -0700)]
Merge pull request #814 from dscheg/dev
Fix displayLevel overflow
Stella Lau [Wed, 23 Aug 2017 17:24:19 +0000 (10:24 -0700)]
Remove formatting-only changes
Dmitriy Titarenko [Wed, 23 Aug 2017 10:56:15 +0000 (15:56 +0500)]
Fix displayLevel overflow
Stella Lau [Tue, 22 Aug 2017 21:53:13 +0000 (14:53 -0700)]
Add function to make cctxParams from ZSTD_parameters
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
Stella Lau [Tue, 22 Aug 2017 21:24:47 +0000 (14:24 -0700)]
Remove 'opaque' naming from internal functions
Stella Lau [Tue, 22 Aug 2017 01:10:44 +0000 (18:10 -0700)]
Remove unused functions
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)
Stella Lau [Tue, 22 Aug 2017 18:55:42 +0000 (11:55 -0700)]
Fix undefined behavior when srcSize==1
Stella Lau [Mon, 21 Aug 2017 22:39:37 +0000 (15:39 -0700)]
Explicitly create a job cctxParam for multithreading
Stella Lau [Mon, 21 Aug 2017 21:49:16 +0000 (14:49 -0700)]
Comment out CCtx_param versions of CDict functions
Nick Terrell [Mon, 21 Aug 2017 21:28:31 +0000 (14:28 -0700)]
[cover] Turn down notification for ZDICT subroutines
Nick Terrell [Mon, 21 Aug 2017 21:23:17 +0000 (14:23 -0700)]
[cover] Add dictionary size to compressed size
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
Nick Terrell [Mon, 21 Aug 2017 20:30:07 +0000 (13:30 -0700)]
[cover] Convert score to U32 and check for zero