]>
git.ipfire.org Git - thirdparty/zstd.git/log
Yann Collet [Wed, 12 Apr 2017 00:42:15 +0000 (17:42 -0700)]
Merge branch 'dev' into compressionFlow
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
Yann Collet [Tue, 4 Apr 2017 00:25:05 +0000 (17:25 -0700)]
Merge pull request #643 from facebook/zstdmt
Optimize ZSTDMT_compress() memory usage
Nick Terrell [Mon, 3 Apr 2017 23:08:20 +0000 (16:08 -0700)]
Fix compilation errors
Nick Terrell [Mon, 3 Apr 2017 22:23:09 +0000 (15:23 -0700)]
Preallocate workSpace for cctx and combine create and init for cstream
Yann Collet [Mon, 3 Apr 2017 21:57:24 +0000 (14:57 -0700)]
minor man update, for `overlapSize`
Yann Collet [Sat, 1 Apr 2017 07:36:31 +0000 (00:36 -0700)]
updated documentation on multithreading modes
Yann Collet [Sat, 1 Apr 2017 01:27:03 +0000 (18:27 -0700)]
optimize ZSTDMT_compress() memory usage
does no longer allocate temporary buffers
when there is enough room in dstBuffer to decompress directly there.
(previous method would skip that for 1st chunk only).
Also : fix ZSTD_compressBound() for small srcSize
Nick Terrell [Fri, 31 Mar 2017 22:01:41 +0000 (15:01 -0700)]
Working on API
Yann Collet [Sat, 1 Apr 2017 00:11:38 +0000 (17:11 -0700)]
Changed ZSTD_compressBound()
required so that if Total = A+B
compressBound(Total) <= compressBound(A) + compressBound(B)
under condition of a minimum size for A and B
Will help for ZSTDMT_compress() memory allocation
Yann Collet [Fri, 31 Mar 2017 23:22:33 +0000 (16:22 -0700)]
Merge branch 'dev' into zstdmt
Yann Collet [Fri, 31 Mar 2017 23:19:52 +0000 (16:19 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Fri, 31 Mar 2017 23:19:46 +0000 (16:19 -0700)]
Merge pull request #642 from terrelln/no-sparse
Turn off sparse mode for OS X by default
Yann Collet [Fri, 31 Mar 2017 23:19:33 +0000 (16:19 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Fri, 31 Mar 2017 23:19:04 +0000 (16:19 -0700)]
minor typo fixes in specification
Yann Collet [Fri, 31 Mar 2017 22:49:12 +0000 (15:49 -0700)]
Merge pull request #640 from facebook/memAccess
Changed memory strategy to __packed for gcc
Yann Collet [Fri, 31 Mar 2017 17:54:45 +0000 (10:54 -0700)]
numerous typos and clarifications in format specification
fix limit values of Window_Size
bump version to 0.2.5
Nick Terrell [Fri, 31 Mar 2017 22:20:50 +0000 (15:20 -0700)]
Clean up default sparse logic
Nick Terrell [Fri, 31 Mar 2017 22:16:43 +0000 (15:16 -0700)]
Turn off sparse mode for OS X by default
Yann Collet [Thu, 30 Mar 2017 23:47:19 +0000 (16:47 -0700)]
fixed minor warnings in debug code
Yann Collet [Thu, 30 Mar 2017 23:23:22 +0000 (16:23 -0700)]
overlap at full windowSize for max compression level
as it provides max compression ratio
Yann Collet [Thu, 30 Mar 2017 22:51:58 +0000 (15:51 -0700)]
improved ZSTDMT_compress()
Use a bit more threads by default.
Uses overlap segments to boost compression ratio (like the streaming variant)
Nick Terrell [Thu, 30 Mar 2017 21:33:59 +0000 (14:33 -0700)]
Remove STATIC_LINKING_ONLY defines
Nick Terrell [Thu, 30 Mar 2017 19:11:19 +0000 (12:11 -0700)]
Use <asm/unaligned.h> for unaligned memory access
Nick Terrell [Thu, 30 Mar 2017 18:40:05 +0000 (11:40 -0700)]
Change stdlib includes to linux includes
Nick Terrell [Thu, 30 Mar 2017 03:26:07 +0000 (20:26 -0700)]
Remove platform specific macros
Nick Terrell [Thu, 30 Mar 2017 02:57:22 +0000 (19:57 -0700)]
Convert all spaces to tabs
Nick Terrell [Thu, 30 Mar 2017 01:47:23 +0000 (18:47 -0700)]
spaces to tabs
Nick Terrell [Thu, 30 Mar 2017 01:35:21 +0000 (18:35 -0700)]
Copy files into contrib/linux-kernel/
Sean Purcell [Wed, 29 Mar 2017 21:40:11 +0000 (14:40 -0700)]
Make pzstd and cmake use gcc/g++
Sean Purcell [Wed, 29 Mar 2017 20:08:10 +0000 (13:08 -0700)]
Build windows releases on appveyor as artifacts
Yann Collet [Thu, 30 Mar 2017 21:18:37 +0000 (14:18 -0700)]
Merge pull request #637 from facebook/zstdmt
Zstdmt
Yann Collet [Thu, 30 Mar 2017 19:52:14 +0000 (12:52 -0700)]
Changed memory strategy to __packed for gcc
Method 1 __packed is always as good or better than memcpy().
But it's not portable, as it depends on compiler extension.
For gcc, __pakced directive works fine.
Furthermore, gcc has serious performance issues with memcpy() on ARM 32 bits.
See #620
Yann Collet [Thu, 30 Mar 2017 19:42:44 +0000 (12:42 -0700)]
created contrib/cleanTabs
Yann Collet [Thu, 30 Mar 2017 19:32:40 +0000 (12:32 -0700)]
Merge pull request #638 from terrelln/tabs
Convert all tabs to spaces
Yann Collet [Thu, 30 Mar 2017 19:28:09 +0000 (12:28 -0700)]
fixed Visual fuzzer project
Yann Collet [Thu, 30 Mar 2017 05:03:27 +0000 (22:03 -0700)]
fixed Visual Studio projects
Nick Terrell [Thu, 30 Mar 2017 01:51:58 +0000 (18:51 -0700)]
Convert all tabs to spaces
Yann Collet [Thu, 30 Mar 2017 00:15:27 +0000 (17:15 -0700)]
re-added patch ...
Yann Collet [Thu, 30 Mar 2017 00:09:59 +0000 (17:09 -0700)]
fixed #634 : ZSTDMT_compressCCtx() doesn't provide frame content size in header