]>
git.ipfire.org Git - thirdparty/zstd.git/log
Nick Terrell [Tue, 4 Apr 2017 23:35:31 +0000 (16:35 -0700)]
Explicitly convert scratchBuffer to unsigned*
Nick Terrell [Tue, 4 Apr 2017 23:17:21 +0000 (16:17 -0700)]
Switch call of FSE_count() to FSE_count_wksp()
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
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
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
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
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)
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
Yann Collet [Thu, 30 Mar 2017 00:01:24 +0000 (17:01 -0700)]
Merge pull request #636 from iburinoc/appveyor
Build windows releases on appveyor as artifacts
Yann Collet [Wed, 29 Mar 2017 23:58:57 +0000 (16:58 -0700)]
added ZSTD_getFrameContentSize() to ZSTDMT unit test in fuzzer
Now tests fail, because ZSTDMT_compress() doesn't fill frame content size correctly.
Yann Collet [Wed, 29 Mar 2017 23:02:47 +0000 (16:02 -0700)]
removed unnecessary restriction on minmatchLength
it's now transparently translated to nearest value when unsupported
(7->6) (3->4)
Yann Collet [Wed, 29 Mar 2017 22:21:30 +0000 (15:21 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Sean Purcell [Wed, 29 Mar 2017 21:40:11 +0000 (14:40 -0700)]
Make pzstd and cmake use gcc/g++
Yann Collet [Wed, 29 Mar 2017 21:32:15 +0000 (14:32 -0700)]
fix : minmatch 7 conversion
minmatch 7 now converted to minmatch 6 for strategies which do not support 7
Used to folded into "default", which applied minmatch 4
Sean Purcell [Wed, 29 Mar 2017 20:08:10 +0000 (13:08 -0700)]
Build windows releases on appveyor as artifacts
Yann Collet [Wed, 29 Mar 2017 19:16:53 +0000 (12:16 -0700)]
Merge pull request #635 from iburinoc/skipmagic
Remove extra 'F' from skippable magic mask
Yann Collet [Wed, 29 Mar 2017 19:10:38 +0000 (12:10 -0700)]
fix : bench automatically adapts parameters to srcSize
Sean Purcell [Wed, 29 Mar 2017 18:46:57 +0000 (11:46 -0700)]
Remove extra 'F' from skippable magic mask
Yann Collet [Mon, 27 Mar 2017 21:43:53 +0000 (14:43 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Mon, 27 Mar 2017 21:42:52 +0000 (14:42 -0700)]
Merge pull request #631 from facebook/LegacyDictBuilder
Legacy dict builder
Yann Collet [Mon, 27 Mar 2017 21:32:21 +0000 (14:32 -0700)]
Merge pull request #633 from iburinoc/isatty
Fix IS_CONSOLE returning 1 for NUL on windows
Sean Purcell [Mon, 27 Mar 2017 19:26:40 +0000 (12:26 -0700)]
Fix inline compile errors
Sean Purcell [Mon, 27 Mar 2017 19:19:30 +0000 (12:19 -0700)]
Fix IS_CONSOLE returning 1 for NUL on windows
Yann Collet [Mon, 27 Mar 2017 06:52:19 +0000 (23:52 -0700)]
Improved speed tests
Better compatibility with Mac OS-X
Force attribution to a selected core # (Linux)
Yann Collet [Sun, 26 Mar 2017 21:51:00 +0000 (14:51 -0700)]
restored bonus rule
Yann Collet [Sun, 26 Mar 2017 21:39:13 +0000 (14:39 -0700)]
Merge branch 'dev' into LegacyDictBuilder
Yann Collet [Sun, 26 Mar 2017 09:59:13 +0000 (02:59 -0700)]
minor refactor
add const
changed if for easier to add new conditions
Yann Collet [Sun, 26 Mar 2017 09:50:00 +0000 (02:50 -0700)]
fixed dictBuilder issue
dictionary loading would fail during entropy analysis
Yann Collet [Sun, 26 Mar 2017 07:59:14 +0000 (00:59 -0700)]
fixed conversion warnings
Yann Collet [Sun, 26 Mar 2017 07:13:35 +0000 (00:13 -0700)]
Merge pull request #630 from facebook/advancedCliCommands
changed advanced commands --maxdict= and --dictID=
Yann Collet [Sat, 25 Mar 2017 03:41:56 +0000 (20:41 -0700)]
Merge pull request #629 from iburinoc/exematch
Ignore extension in command name matching
Yann Collet [Sat, 25 Mar 2017 01:36:56 +0000 (18:36 -0700)]
changed test for new syntax
--dictID= and --maxdict=
Yann Collet [Sat, 25 Mar 2017 00:56:45 +0000 (17:56 -0700)]
minor improvement : remove duplicates with 1 char prefix difference
Yann Collet [Sat, 25 Mar 2017 00:54:42 +0000 (17:54 -0700)]
Merge pull request #628 from facebook/dictBuilder_limits
Ensure all limits derived from same constants
Sean Purcell [Sat, 25 Mar 2017 00:06:09 +0000 (17:06 -0700)]
Ignore extension in command name matching
Yann Collet [Fri, 24 Mar 2017 23:06:29 +0000 (16:06 -0700)]
Merge pull request #627 from iburinoc/appveyor
Statically build and link zlib on appveyor
Yann Collet [Fri, 24 Mar 2017 23:06:20 +0000 (16:06 -0700)]
Merge pull request #625 from facebook/loadCDict
limited CDict acceptation criteria to be the same as DDict
Yann Collet [Fri, 24 Mar 2017 23:04:29 +0000 (16:04 -0700)]
changed advanced commands --maxdict= and --dictID=
now works with the `=` variant, which is the recommended one.
Old variant `--dictID #` still works, for compatibility with existing scripts.
Long term objective is to remove the old variant..
Yann Collet [Fri, 24 Mar 2017 22:02:09 +0000 (15:02 -0700)]
Ensure all limits derived from same constants
Now uses ZDICT_DICTSIZE_MIN and ZDICT_CONTENTSIZE_MIN
from zdict.h.
Also : reduced values to 256 and 128 respectively
Yann Collet [Fri, 24 Mar 2017 21:27:28 +0000 (14:27 -0700)]
Merge pull request #626 from facebook/stricterDictBuilder
dictBuilder fails to create dictionary on certain input
Sean Purcell [Fri, 24 Mar 2017 18:45:02 +0000 (11:45 -0700)]
Statically build and link zlib on appveyor
Yann Collet [Fri, 24 Mar 2017 19:46:46 +0000 (12:46 -0700)]
fixed ZSTD_loadZstdDictionary()
forgot to add the dictionary content
(tests were not failing, just compressing less).
Also : added size protections when adding dict content
since hc/bt table filling would fail if size < 8
Yann Collet [Fri, 24 Mar 2017 00:59:50 +0000 (17:59 -0700)]
fixed ERROR_GENERIC on dstSize_tooSmall
required by users which depends on this error code to size dest buffer
Yann Collet [Thu, 23 Mar 2017 23:24:02 +0000 (16:24 -0700)]
dictBuilder fails to create dictionary on certain input
Properly expressed with an error code (see zstd_errors.h)
and a cli return code != 0
Yann Collet [Thu, 23 Mar 2017 01:09:11 +0000 (18:09 -0700)]
limited CDict acceptation criteria to be the same as DDict
Yann Collet [Thu, 23 Mar 2017 21:52:50 +0000 (14:52 -0700)]
Merge pull request #623 from iburinoc/educational
Educational decoder polish updates
Yann Collet [Thu, 23 Mar 2017 21:52:09 +0000 (14:52 -0700)]
Merge pull request #622 from iburinoc/symlink
Match gzip behaviour on symbolic links and change g_displayLevel to int
Sean Purcell [Thu, 23 Mar 2017 21:33:38 +0000 (14:33 -0700)]
Educational decoder polish updates
Sean Purcell [Thu, 23 Mar 2017 19:41:51 +0000 (12:41 -0700)]
Add symbolic link checking to pzstd
Sean Purcell [Thu, 23 Mar 2017 19:09:35 +0000 (12:09 -0700)]
Fix displayLevel redefinition issues
Sean Purcell [Thu, 23 Mar 2017 18:52:09 +0000 (11:52 -0700)]
Ignore symbolic links unless --force specified
Sean Purcell [Thu, 23 Mar 2017 18:13:52 +0000 (11:13 -0700)]
Change g_displayLevel to int and fix DISPLAYUPDATE flush
Yann Collet [Wed, 22 Mar 2017 22:33:29 +0000 (15:33 -0700)]
Merge pull request #621 from terrelln/zlib-flags
Add $(FLAGS) when testing for zlib/lzma support.
Nick Terrell [Wed, 22 Mar 2017 20:24:52 +0000 (13:24 -0700)]
Add $(EXT) to binary to fix zlib detection for some MinGW versions
Nick Terrell [Wed, 22 Mar 2017 19:33:08 +0000 (12:33 -0700)]
Add $(FLAGS) when testing for zlib/lzma support.
* If zlib/lzma isn't in the usual spot, it won't be used,
even if `$CFLAGS` and `$LDFLAGS` add the location it is in.
* Update the test code snippets to not trigger any warnings.
Yann Collet [Wed, 22 Mar 2017 17:28:52 +0000 (10:28 -0700)]
Merge pull request #619 from iburinoc/educational
Educational decoder: Clarify IO_rewind_bits
Yann Collet [Wed, 22 Mar 2017 17:28:33 +0000 (10:28 -0700)]
Merge pull request #614 from iburinoc/appveyor
Update appveyor.yml to have short and long tests
Yann Collet [Wed, 22 Mar 2017 00:52:42 +0000 (17:52 -0700)]
updated .gitignore for new cmake script
Sean Purcell [Wed, 22 Mar 2017 00:01:51 +0000 (17:01 -0700)]
Educational decoder: Some more minor clarity fixes
Sean Purcell [Tue, 21 Mar 2017 22:03:23 +0000 (15:03 -0700)]
Educational decoder: Clarify IO_rewind_bits
Yann Collet [Tue, 21 Mar 2017 21:28:13 +0000 (14:28 -0700)]
Merge pull request #618 from terrelln/zero-buffers
Zero pointers after freeing
Sean Purcell [Tue, 21 Mar 2017 21:21:00 +0000 (14:21 -0700)]
Attempt to fix FUZZERTEST variable set and remove appveyor_old.yml
Yann Collet [Tue, 21 Mar 2017 21:01:42 +0000 (14:01 -0700)]
Merge pull request #616 from iburinoc/cmake
CMake: Fix version parsing and allow Unix flags on Clang
Sean Purcell [Tue, 21 Mar 2017 20:44:33 +0000 (13:44 -0700)]
CMake: Fix version parsing and allow Unix flags on Clang
Nick Terrell [Tue, 21 Mar 2017 20:20:59 +0000 (13:20 -0700)]
Zero pointers after freeing
Yann Collet [Tue, 21 Mar 2017 19:18:28 +0000 (12:18 -0700)]
bump version number
Yann Collet [Tue, 21 Mar 2017 18:23:27 +0000 (11:23 -0700)]
Merge pull request #611 from Majlen/cmake-improvement
Further cmake improvement
Sean Purcell [Tue, 21 Mar 2017 18:19:48 +0000 (11:19 -0700)]
Fix msvc fuzzer test runtime
Sean Purcell [Tue, 21 Mar 2017 17:59:54 +0000 (10:59 -0700)]
Merge remote-tracking branch 'origin/dev' into appveyor
Milan Ševčík [Tue, 21 Mar 2017 12:00:05 +0000 (13:00 +0100)]
Remove multithreading support by default on non UNIX platforms
Milan Ševčík [Mon, 20 Mar 2017 21:58:02 +0000 (22:58 +0100)]
Install zstdcat and unzstd symlinks by cmake
Milan Ševčík [Mon, 20 Mar 2017 14:57:08 +0000 (15:57 +0100)]
Add build of new cmake branches to Makefile
Milan Ševčík [Mon, 20 Mar 2017 14:47:28 +0000 (15:47 +0100)]
Added options for building programs, static library and tests