]>
git.ipfire.org Git - thirdparty/zstd.git/log
Yann Collet [Tue, 18 Apr 2017 21:08:50 +0000 (14:08 -0700)]
Changed ZSTD_resetCCtx_advanced() into ZSTD_resetCCtx_internal()
for naming consistency :
_advanced() can be invoked
while _internal() are strictly static
Yann Collet [Tue, 18 Apr 2017 20:55:53 +0000 (13:55 -0700)]
created ZSTD_compressBegin_usingCDict_advanced()
Yann Collet [Tue, 18 Apr 2017 10:18:34 +0000 (03:18 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Tue, 18 Apr 2017 10:17:44 +0000 (03:17 -0700)]
Improved code comments for block functions
Yann Collet [Tue, 18 Apr 2017 09:59:54 +0000 (02:59 -0700)]
Merge pull request #663 from iburinoc/zstdmt-default
Compile CLI using files instead of objs
Yann Collet [Tue, 18 Apr 2017 09:59:44 +0000 (02:59 -0700)]
Merge pull request #662 from iburinoc/man-mt
Add zstdmt and -T0 to man page
Yann Collet [Tue, 18 Apr 2017 00:57:35 +0000 (17:57 -0700)]
clarified frame parameters for ZSTD_compress*_usingCDict()
created ZSTD_compressBegin_usingCDict_internal(),
which gives direct control to frame Parameters.
ZSTD_resetCStream_internal() now points into it.
Sean Purcell [Tue, 18 Apr 2017 00:13:44 +0000 (17:13 -0700)]
Compile CLI using files instead of objs
This avoids conflicts between how the library was
configured and how the CLI was configured.
Sean Purcell [Tue, 18 Apr 2017 00:11:33 +0000 (17:11 -0700)]
Update -T0 comment in man page
Yann Collet [Mon, 17 Apr 2017 23:33:09 +0000 (16:33 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Mon, 17 Apr 2017 23:19:46 +0000 (16:19 -0700)]
Merge pull request #660 from iburinoc/zstdmt-test
Add multithreading tests to playTests.sh
Yann Collet [Mon, 17 Apr 2017 23:14:21 +0000 (16:14 -0700)]
proper evaluation of Huffman CTable size
Sean Purcell [Mon, 17 Apr 2017 23:05:20 +0000 (16:05 -0700)]
Add zstdmt and -T0 to man page
Yann Collet [Mon, 17 Apr 2017 22:48:13 +0000 (15:48 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Mon, 17 Apr 2017 22:43:59 +0000 (15:43 -0700)]
Merge pull request #661 from iburinoc/zstdmt-default
Make zstd compile with mt by default
Yann Collet [Mon, 17 Apr 2017 21:51:05 +0000 (14:51 -0700)]
Merge branch 'dev' into compressionFlow
Sean Purcell [Mon, 17 Apr 2017 19:21:11 +0000 (12:21 -0700)]
Install zstdmt even without threading support
Sean Purcell [Mon, 17 Apr 2017 19:10:58 +0000 (12:10 -0700)]
Fix input size too small to trigger zstdmt
Sean Purcell [Fri, 14 Apr 2017 18:33:04 +0000 (11:33 -0700)]
Make zstd compile with mt by default
Sean Purcell [Mon, 17 Apr 2017 18:38:53 +0000 (11:38 -0700)]
Add multithreading tests to playTests.sh
Yann Collet [Mon, 17 Apr 2017 06:14:10 +0000 (23:14 -0700)]
Merge pull request #659 from bapt/bsd-multithread
Enable multithreading on BSD
Baptiste Daroussin [Sat, 15 Apr 2017 14:25:08 +0000 (16:25 +0200)]
Enable multithreading on BSD
Yann Collet [Fri, 14 Apr 2017 22:08:31 +0000 (15:08 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Fri, 14 Apr 2017 05:46:41 +0000 (22:46 -0700)]
fixed : memory leak in fuzzer test
Yann Collet [Fri, 14 Apr 2017 03:29:41 +0000 (20:29 -0700)]
Merge pull request #656 from iburinoc/core-count
Make -T0 mean "number of physical cores"
Yann Collet [Thu, 13 Apr 2017 23:36:53 +0000 (16:36 -0700)]
Merge pull request #657 from iburinoc/appveyor
Make appveyor small tests use new mingw as well
Sean Purcell [Thu, 13 Apr 2017 23:34:28 +0000 (16:34 -0700)]
Add 0 initializers to static variables
Sean Purcell [Thu, 13 Apr 2017 22:35:05 +0000 (15:35 -0700)]
Change ifndef's to undef's
Sean Purcell [Thu, 13 Apr 2017 21:40:06 +0000 (14:40 -0700)]
Make appveyor small tests use new mingw as well
Sean Purcell [Thu, 13 Apr 2017 21:06:40 +0000 (14:06 -0700)]
Fix clang linux compilation
Sean Purcell [Thu, 13 Apr 2017 21:03:56 +0000 (14:03 -0700)]
Fix compilation on windows
Sean Purcell [Thu, 13 Apr 2017 19:33:45 +0000 (12:33 -0700)]
Fix compilation on macOS
Sean Purcell [Thu, 13 Apr 2017 19:28:28 +0000 (12:28 -0700)]
-T0 detects number of physical cores
Yann Collet [Wed, 12 Apr 2017 20:54:54 +0000 (13:54 -0700)]
Merge pull request #655 from iburinoc/large-data
Test large files on-disk in playTests.sh
Yann Collet [Wed, 12 Apr 2017 07:51:24 +0000 (00:51 -0700)]
removed srcSize control from CStream
since it's already done from lower bufferless API level
Yann Collet [Wed, 12 Apr 2017 01:34:02 +0000 (18:34 -0700)]
content size is controlled at bufferless level
so it's active for all entry points
Also : added relevant test (wrong content size) in fuzzer
Yann Collet [Wed, 12 Apr 2017 00:42:15 +0000 (17:42 -0700)]
Merge branch 'dev' into compressionFlow
Sean Purcell [Wed, 12 Apr 2017 00:33:26 +0000 (17:33 -0700)]
Fix message
Sean Purcell [Wed, 12 Apr 2017 00:15:13 +0000 (17:15 -0700)]
Add test of file > 4GB to playTests
Yann Collet [Tue, 11 Apr 2017 23:57:32 +0000 (16:57 -0700)]
cli : better status display for zstdmt in 1-thread mode
Yann Collet [Tue, 11 Apr 2017 21:42:46 +0000 (14:42 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Tue, 11 Apr 2017 21:41:02 +0000 (14:41 -0700)]
cli : FIO_createDictBuffer() replaces FIO_loadFile()
makes it more explicit that it allocates a buffer
and that it's meant to be used for dictionary.
Also : simplified function a bit,
now only works for dictionaries up to DICTSIZE_MAX
Yann Collet [Tue, 11 Apr 2017 20:46:40 +0000 (13:46 -0700)]
Merge pull request #653 from terrelln/dev
Update linux kernel patch
Nick Terrell [Tue, 11 Apr 2017 19:40:53 +0000 (12:40 -0700)]
Add BtrFS benchmarks
Yann Collet [Tue, 11 Apr 2017 18:59:44 +0000 (11:59 -0700)]
force contentSizeFlag=0 when using ZSTD_initCStream_usingCDict()
because by definition srcSize is not known when using this prototype.
added relevant test
Note : this use was already working, because at a later stage
(both ZSTD_compressBegin_usingCDict() and ZSTD_copyCCtx())
pledgedSrcSize=0 is translated into "unknown", no matter the frame parameter.
This is not correct, but of little importance,
as the medium term plan is to no longer set fParams within CDict
Nick Terrell [Tue, 11 Apr 2017 18:35:36 +0000 (11:35 -0700)]
Add BtrFS patch for 4.10 kernel
Yann Collet [Tue, 11 Apr 2017 17:46:20 +0000 (10:46 -0700)]
simplified call graph
by calling ZSTD_compressBegin_internal() instead of ZSTD_compressBegin_advanced()
Yann Collet [Tue, 11 Apr 2017 05:24:02 +0000 (22:24 -0700)]
simplified ZSTD_initCStream*() flow
all variants converge towards ZSTD_initCStream_stage2()
Yann Collet [Tue, 11 Apr 2017 00:50:44 +0000 (17:50 -0700)]
Introduce ZSTD_initCStream_internal()
This is now the regroup point for ZSTD_initCStream*() functions
ZSTD_initCStream_advanced() now properly checks for parameters validity.
Also : added <assert.h> usage inside zstd_compress.c
Needs ZSTD_DEBUG=1 macro to be triggered.
Will be triggered by default from `tests` directory
Nick Terrell [Mon, 10 Apr 2017 21:50:03 +0000 (14:50 -0700)]
Switch comments to kernel style + limit to 80 cols
Nick Terrell [Mon, 10 Apr 2017 21:49:34 +0000 (14:49 -0700)]
Remove ZSTDLIB_API from decompress.c
Yann Collet [Fri, 7 Apr 2017 13:09:52 +0000 (06:09 -0700)]
Merge pull request #648 from facebook/zstdmt
improved zstreamtest --mt to trap bug #644
Yann Collet [Fri, 7 Apr 2017 13:09:25 +0000 (06:09 -0700)]
Merge pull request #650 from iburinoc/ro-overwrite
Make zstd overwrite destination files even when it is read only
Sean Purcell [Fri, 7 Apr 2017 00:06:30 +0000 (17:06 -0700)]
Add refuse to overwrite test and fix format
Yann Collet [Thu, 6 Apr 2017 23:53:28 +0000 (16:53 -0700)]
Merge pull request #649 from iburinoc/win-release
Don't build zstd release binary with debug symbols
Sean Purcell [Thu, 6 Apr 2017 19:58:49 +0000 (12:58 -0700)]
Add test for overwriting read-only
Sean Purcell [Thu, 6 Apr 2017 19:56:40 +0000 (12:56 -0700)]
Let zstd overwrite read-only files
Sean Purcell [Thu, 6 Apr 2017 17:34:09 +0000 (10:34 -0700)]
Push both artifacts without debug symbols
Sean Purcell [Thu, 6 Apr 2017 17:15:32 +0000 (10:15 -0700)]
Don't build zstd release binary with debug symbols
Yann Collet [Thu, 6 Apr 2017 08:25:26 +0000 (01:25 -0700)]
ensure cctx internal buffer is correctly sized in case of memory error
Yann Collet [Thu, 6 Apr 2017 05:06:21 +0000 (22:06 -0700)]
updated comments for ZSTD_resetCStream()
Yann Collet [Wed, 5 Apr 2017 23:34:09 +0000 (16:34 -0700)]
improved zstreamtest --mt to trap bug #644
Yann Collet [Wed, 5 Apr 2017 22:28:56 +0000 (15:28 -0700)]
DStream : ensure correct size of internal buffers in case of error
Yann Collet [Wed, 5 Apr 2017 21:53:51 +0000 (14:53 -0700)]
ensure correct size of internal buffers in case of error
Yann Collet [Wed, 5 Apr 2017 14:35:48 +0000 (07:35 -0700)]
Merge pull request #647 from terrelln/linux
Add linux kernel modules to contrib/
Nick Terrell [Wed, 5 Apr 2017 01:49:07 +0000 (18:49 -0700)]
Improve comments and ordering
Nick Terrell [Wed, 5 Apr 2017 01:39:22 +0000 (18:39 -0700)]
Add a README
Nick Terrell [Wed, 5 Apr 2017 01:37:55 +0000 (18:37 -0700)]
Add Kconfig and Makefile diffs
Yann Collet [Wed, 5 Apr 2017 01:18:53 +0000 (18:18 -0700)]
Merge pull request #646 from terrelln/dev
Switch call of FSE_count() to FSE_count_wksp()
Nick Terrell [Wed, 5 Apr 2017 01:12:40 +0000 (18:12 -0700)]
fix gitignore
Nick Terrell [Wed, 5 Apr 2017 01:09:02 +0000 (18:09 -0700)]
Rename zstd_(de)compress.c to (de)compress.c
Nick Terrell [Wed, 5 Apr 2017 00:21:49 +0000 (17:21 -0700)]
Undef current if defined
Nick Terrell [Wed, 5 Apr 2017 00:03:48 +0000 (17:03 -0700)]
Fix up some old names
Nick Terrell [Wed, 5 Apr 2017 00:02:28 +0000 (17:02 -0700)]
Really move the makefile
Nick Terrell [Wed, 5 Apr 2017 00:00:12 +0000 (17:00 -0700)]
Move Makefile to lib/zstd
Nick Terrell [Tue, 4 Apr 2017 23:56:52 +0000 (16:56 -0700)]
Add fs/btrfs/zstd.c
Yann Collet [Tue, 4 Apr 2017 23:54:33 +0000 (16:54 -0700)]
paramgrill : results from optimizer use cli format
Best found configuration is displayed
using documented cli advanced parameter syntax.
Yann Collet [Tue, 4 Apr 2017 23:41:11 +0000 (16:41 -0700)]
fix paramgrill -O#
ensure proposed config does not require more memory than necessary
Nick Terrell [Tue, 4 Apr 2017 23:38:13 +0000 (16:38 -0700)]
Explicitly convert scratchBuffer to unsigned*
Nick Terrell [Tue, 4 Apr 2017 23:35:31 +0000 (16:35 -0700)]
Explicitly convert scratchBuffer to unsigned*
Yann Collet [Tue, 4 Apr 2017 23:31:17 +0000 (16:31 -0700)]
fixed paramgrill -O#
find optimal settings for a minimum speed
Nick Terrell [Tue, 4 Apr 2017 23:30:11 +0000 (16:30 -0700)]
Move sources to lib/zstd/
Nick Terrell [Tue, 4 Apr 2017 23:22:58 +0000 (16:22 -0700)]
Remove unused FSE/HUF functions
Nick Terrell [Tue, 4 Apr 2017 23:17:21 +0000 (16:17 -0700)]
Switch call of FSE_count() to FSE_count_wksp()
Nick Terrell [Tue, 4 Apr 2017 22:55:48 +0000 (15:55 -0700)]
Remove more restrict
Nick Terrell [Tue, 4 Apr 2017 22:54:39 +0000 (15:54 -0700)]
Fix up xxhash
Nick Terrell [Tue, 4 Apr 2017 22:49:38 +0000 (15:49 -0700)]
Switch intptr_t to ptrdiff_t
Nick Terrell [Tue, 4 Apr 2017 22:41:24 +0000 (15:41 -0700)]
Move zstd.h to linux/zstd.h
Yann Collet [Tue, 4 Apr 2017 22:35:06 +0000 (15:35 -0700)]
fixed bench.c : optional advanced parameters applied
before creating cdict
Yann Collet [Tue, 4 Apr 2017 22:21:09 +0000 (15:21 -0700)]
minor bench.c adjustments
shorter debug messages
no need to check decompressedLength==0 twice
Nick Terrell [Tue, 4 Apr 2017 19:56:44 +0000 (12:56 -0700)]
Test module macros
Nick Terrell [Tue, 4 Apr 2017 19:56:35 +0000 (12:56 -0700)]
Add module macros
Yann Collet [Tue, 4 Apr 2017 19:38:14 +0000 (12:38 -0700)]
Protects ZSTD_compressBegin_usingCDict() vs NULL cdict dereference
Will issue an error (GENERIC) is cdict==NULL
Nick Terrell [Tue, 4 Apr 2017 19:10:47 +0000 (12:10 -0700)]
Add zstd kernel module Makefile
Nick Terrell [Tue, 4 Apr 2017 18:53:22 +0000 (11:53 -0700)]
Add userland test with mock kernel headers
Nick Terrell [Tue, 4 Apr 2017 18:52:49 +0000 (11:52 -0700)]
Fix ZSTD_createCStream_usingCDict() and ZSTD_compress_usingCDict()
Yann Collet [Tue, 4 Apr 2017 14:12:15 +0000 (07:12 -0700)]
Merge pull request #645 from terrelln/cdict
Fix ZSTD_initCStream_usingCDict() and ZSTD_compress_usingCDict()
Nick Terrell [Tue, 4 Apr 2017 04:46:28 +0000 (21:46 -0700)]
Remove unnecessary dictID store
Nick Terrell [Tue, 4 Apr 2017 04:00:44 +0000 (21:00 -0700)]
Make ZSTD_compress_usingCDict() respect contentSizeFlag
Nick Terrell [Tue, 4 Apr 2017 03:56:39 +0000 (20:56 -0700)]
Fix ZSTD_initCStream_usingCDict() to use dictionary