]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agofixed Visual fuzzer project 637/head
Yann Collet [Thu, 30 Mar 2017 19:28:09 +0000 (12:28 -0700)] 
fixed Visual fuzzer project

8 years agofixed Visual Studio projects
Yann Collet [Thu, 30 Mar 2017 05:03:27 +0000 (22:03 -0700)] 
fixed Visual Studio projects

8 years agore-added patch ...
Yann Collet [Thu, 30 Mar 2017 00:15:27 +0000 (17:15 -0700)] 
re-added patch ...

8 years agofixed #634 : ZSTDMT_compressCCtx() doesn't provide frame content size in header
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

8 years agoadded ZSTD_getFrameContentSize() to ZSTDMT unit test in fuzzer
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.

8 years agoremoved unnecessary restriction on minmatchLength
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)

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Wed, 29 Mar 2017 22:21:30 +0000 (15:21 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agofix : minmatch 7 conversion
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

8 years agoMerge pull request #635 from iburinoc/skipmagic
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

8 years agofix : bench automatically adapts parameters to srcSize
Yann Collet [Wed, 29 Mar 2017 19:10:38 +0000 (12:10 -0700)] 
fix : bench automatically adapts parameters to srcSize

8 years agoRemove extra 'F' from skippable magic mask 635/head
Sean Purcell [Wed, 29 Mar 2017 18:46:57 +0000 (11:46 -0700)] 
Remove extra 'F' from skippable magic mask

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Mon, 27 Mar 2017 21:43:53 +0000 (14:43 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoMerge pull request #631 from facebook/LegacyDictBuilder
Yann Collet [Mon, 27 Mar 2017 21:42:52 +0000 (14:42 -0700)] 
Merge pull request #631 from facebook/LegacyDictBuilder

Legacy dict builder

8 years agoMerge pull request #633 from iburinoc/isatty
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

8 years agoFix inline compile errors 633/head
Sean Purcell [Mon, 27 Mar 2017 19:26:40 +0000 (12:26 -0700)] 
Fix inline compile errors

8 years agoFix IS_CONSOLE returning 1 for NUL on windows
Sean Purcell [Mon, 27 Mar 2017 19:19:30 +0000 (12:19 -0700)] 
Fix IS_CONSOLE returning 1 for NUL on windows

8 years agoImproved speed tests 632/head
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)

8 years agorestored bonus rule 631/head
Yann Collet [Sun, 26 Mar 2017 21:51:00 +0000 (14:51 -0700)] 
restored bonus rule

8 years agoMerge branch 'dev' into LegacyDictBuilder
Yann Collet [Sun, 26 Mar 2017 21:39:13 +0000 (14:39 -0700)] 
Merge branch 'dev' into LegacyDictBuilder

8 years agominor refactor
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

8 years agofixed dictBuilder issue
Yann Collet [Sun, 26 Mar 2017 09:50:00 +0000 (02:50 -0700)] 
fixed dictBuilder issue

dictionary loading would fail during entropy analysis

8 years agofixed conversion warnings
Yann Collet [Sun, 26 Mar 2017 07:59:14 +0000 (00:59 -0700)] 
fixed conversion warnings

8 years agoMerge pull request #630 from facebook/advancedCliCommands
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=

8 years agoMerge pull request #629 from iburinoc/exematch
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

8 years agochanged test for new syntax 630/head
Yann Collet [Sat, 25 Mar 2017 01:36:56 +0000 (18:36 -0700)] 
changed test for new syntax

--dictID= and --maxdict=

8 years agominor improvement : remove duplicates with 1 char prefix difference
Yann Collet [Sat, 25 Mar 2017 00:56:45 +0000 (17:56 -0700)] 
minor improvement : remove duplicates with 1 char prefix difference

8 years agoMerge pull request #628 from facebook/dictBuilder_limits
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

8 years agoIgnore extension in command name matching 629/head
Sean Purcell [Sat, 25 Mar 2017 00:06:09 +0000 (17:06 -0700)] 
Ignore extension in command name matching

8 years agoMerge pull request #627 from iburinoc/appveyor
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

8 years agoMerge pull request #625 from facebook/loadCDict
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

8 years agochanged advanced commands --maxdict= and --dictID=
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..

8 years agoEnsure all limits derived from same constants 628/head
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

8 years agoMerge pull request #626 from facebook/stricterDictBuilder
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

8 years agoStatically build and link zlib on appveyor 627/head
Sean Purcell [Fri, 24 Mar 2017 18:45:02 +0000 (11:45 -0700)] 
Statically build and link zlib on appveyor

8 years agofixed ZSTD_loadZstdDictionary() 625/head
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

8 years agofixed ERROR_GENERIC on dstSize_tooSmall
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

8 years agodictBuilder fails to create dictionary on certain input 626/head
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

8 years agolimited CDict acceptation criteria to be the same as DDict
Yann Collet [Thu, 23 Mar 2017 01:09:11 +0000 (18:09 -0700)] 
limited CDict acceptation criteria to be the same as DDict

8 years agoMerge pull request #623 from iburinoc/educational
Yann Collet [Thu, 23 Mar 2017 21:52:50 +0000 (14:52 -0700)] 
Merge pull request #623 from iburinoc/educational

Educational decoder polish updates

8 years agoMerge pull request #622 from iburinoc/symlink
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

8 years agoEducational decoder polish updates 623/head
Sean Purcell [Thu, 23 Mar 2017 21:33:38 +0000 (14:33 -0700)] 
Educational decoder polish updates

8 years agoAdd symbolic link checking to pzstd 622/head
Sean Purcell [Thu, 23 Mar 2017 19:41:51 +0000 (12:41 -0700)] 
Add symbolic link checking to pzstd

8 years agoFix displayLevel redefinition issues
Sean Purcell [Thu, 23 Mar 2017 19:09:35 +0000 (12:09 -0700)] 
Fix displayLevel redefinition issues

8 years agoIgnore symbolic links unless --force specified
Sean Purcell [Thu, 23 Mar 2017 18:52:09 +0000 (11:52 -0700)] 
Ignore symbolic links unless --force specified

8 years agoChange g_displayLevel to int and fix DISPLAYUPDATE flush
Sean Purcell [Thu, 23 Mar 2017 18:13:52 +0000 (11:13 -0700)] 
Change g_displayLevel to int and fix DISPLAYUPDATE flush

8 years agoMerge pull request #621 from terrelln/zlib-flags
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.

8 years agoAdd $(EXT) to binary to fix zlib detection for some MinGW versions 621/head
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

8 years agoAdd $(FLAGS) when testing for zlib/lzma support.
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.

8 years agoMerge pull request #619 from iburinoc/educational
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

8 years agoMerge pull request #614 from iburinoc/appveyor
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

8 years agoupdated .gitignore for new cmake script
Yann Collet [Wed, 22 Mar 2017 00:52:42 +0000 (17:52 -0700)] 
updated .gitignore for new cmake script

8 years agoEducational decoder: Some more minor clarity fixes 619/head
Sean Purcell [Wed, 22 Mar 2017 00:01:51 +0000 (17:01 -0700)] 
Educational decoder: Some more minor clarity fixes

8 years agoEducational decoder: Clarify IO_rewind_bits
Sean Purcell [Tue, 21 Mar 2017 22:03:23 +0000 (15:03 -0700)] 
Educational decoder: Clarify IO_rewind_bits

8 years agoMerge pull request #618 from terrelln/zero-buffers
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

8 years agoAttempt to fix FUZZERTEST variable set and remove appveyor_old.yml 614/head
Sean Purcell [Tue, 21 Mar 2017 21:21:00 +0000 (14:21 -0700)] 
Attempt to fix FUZZERTEST variable set and remove appveyor_old.yml

8 years agoMerge pull request #616 from iburinoc/cmake
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

8 years agoCMake: Fix version parsing and allow Unix flags on Clang 616/head
Sean Purcell [Tue, 21 Mar 2017 20:44:33 +0000 (13:44 -0700)] 
CMake: Fix version parsing and allow Unix flags on Clang

8 years agoZero pointers after freeing 618/head
Nick Terrell [Tue, 21 Mar 2017 20:20:59 +0000 (13:20 -0700)] 
Zero pointers after freeing

8 years agobump version number
Yann Collet [Tue, 21 Mar 2017 19:18:28 +0000 (12:18 -0700)] 
bump version number

8 years agoMerge pull request #611 from Majlen/cmake-improvement
Yann Collet [Tue, 21 Mar 2017 18:23:27 +0000 (11:23 -0700)] 
Merge pull request #611 from Majlen/cmake-improvement

Further cmake improvement

8 years agoFix msvc fuzzer test runtime
Sean Purcell [Tue, 21 Mar 2017 18:19:48 +0000 (11:19 -0700)] 
Fix msvc fuzzer test runtime

8 years agoMerge remote-tracking branch 'origin/dev' into appveyor
Sean Purcell [Tue, 21 Mar 2017 17:59:54 +0000 (10:59 -0700)] 
Merge remote-tracking branch 'origin/dev' into appveyor

8 years agoRemove multithreading support by default on non UNIX platforms 611/head
Milan Ševčík [Tue, 21 Mar 2017 12:00:05 +0000 (13:00 +0100)] 
Remove multithreading support by default on non UNIX platforms

8 years agoInstall zstdcat and unzstd symlinks by cmake
Milan Ševčík [Mon, 20 Mar 2017 21:58:02 +0000 (22:58 +0100)] 
Install zstdcat and unzstd symlinks by cmake

8 years agoAdd build of new cmake branches to Makefile
Milan Ševčík [Mon, 20 Mar 2017 14:57:08 +0000 (15:57 +0100)] 
Add build of new cmake branches to Makefile

8 years agoAdded options for building programs, static library and tests
Milan Ševčík [Mon, 20 Mar 2017 14:47:28 +0000 (15:47 +0100)] 
Added options for building programs, static library and tests

8 years agoInstall forgotten zstdmt tool and zstd.1 man page
Milan Ševčík [Mon, 20 Mar 2017 14:47:02 +0000 (15:47 +0100)] 
Install forgotten zstdmt tool and zstd.1 man page

8 years agoAdd_extra_compilation_flags macro needs to run before adding sources
Milan Ševčík [Fri, 17 Mar 2017 14:36:37 +0000 (15:36 +0100)] 
Add_extra_compilation_flags macro needs to run before adding sources

Also adding comments in the top-level CMakeLists.txt

8 years agoTest new cmake stuff
Milan Ševčík [Fri, 17 Mar 2017 13:42:44 +0000 (14:42 +0100)] 
Test new cmake stuff

8 years agoCheck for pthreads library
Milan Ševčík [Fri, 17 Mar 2017 13:27:01 +0000 (14:27 +0100)] 
Check for pthreads library

8 years agoMuch easier way of installing libraries with correct names
Milan Ševčík [Fri, 17 Mar 2017 13:14:46 +0000 (14:14 +0100)] 
Much easier way of installing libraries with correct names

8 years agoInstall everything, not only libraries
Milan Ševčík [Fri, 17 Mar 2017 13:13:47 +0000 (14:13 +0100)] 
Install everything, not only libraries

8 years agoUse shared library in programs
Milan Ševčík [Fri, 17 Mar 2017 13:12:28 +0000 (14:12 +0100)] 
Use shared library in programs

8 years agoFix cmake install prefix with cmake-3.x
Milan Ševčík [Thu, 16 Mar 2017 21:59:11 +0000 (22:59 +0100)] 
Fix cmake install prefix with cmake-3.x

8 years agoRefactored AddExtraCompilationFlags
Milan Ševčík [Thu, 16 Mar 2017 15:24:33 +0000 (16:24 +0100)] 
Refactored AddExtraCompilationFlags

 - Easier addition of new flags
 - Removed flags not used by default
 - Removed implicit PIC flag for all targets

8 years ago.gitignore only build directory
Milan Ševčík [Thu, 16 Mar 2017 13:09:39 +0000 (14:09 +0100)] 
.gitignore only build directory

8 years agoAdd build documentation by gen_html
Milan Ševčík [Thu, 16 Mar 2017 13:08:35 +0000 (14:08 +0100)] 
Add build documentation by gen_html

8 years agoCleanup lib rules
Milan Ševčík [Thu, 16 Mar 2017 13:08:13 +0000 (14:08 +0100)] 
Cleanup lib rules

8 years agoMove GetLibraryVersion function to its own module file
Milan Ševčík [Thu, 16 Mar 2017 13:06:49 +0000 (14:06 +0100)] 
Move GetLibraryVersion function to its own module file

8 years agoImprove resolving ROOT_DIR
Milan Ševčík [Thu, 16 Mar 2017 13:03:54 +0000 (14:03 +0100)] 
Improve resolving ROOT_DIR

8 years agoMerge pull request #613 from iburinoc/decodecorpus
Yann Collet [Tue, 21 Mar 2017 02:52:26 +0000 (19:52 -0700)] 
Merge pull request #613 from iburinoc/decodecorpus

Fix various compile errors/warnings with decodecorpus

8 years agoUpdate appveyor.yml to have short and long tests
Sean Purcell [Tue, 14 Mar 2017 22:59:57 +0000 (15:59 -0700)] 
Update appveyor.yml to have short and long tests

8 years agoFix decodecorpus clang compile errors 613/head
Sean Purcell [Mon, 20 Mar 2017 23:02:24 +0000 (16:02 -0700)] 
Fix decodecorpus clang compile errors

8 years agoFix windows compiler warnings for decodecorpus
Sean Purcell [Mon, 20 Mar 2017 19:38:19 +0000 (12:38 -0700)] 
Fix windows compiler warnings for decodecorpus

8 years agoMerge pull request #610 from iburinoc/slowfuzzer
Yann Collet [Mon, 20 Mar 2017 20:36:01 +0000 (13:36 -0700)] 
Merge pull request #610 from iburinoc/slowfuzzer

Strongly limit compression level when source is large for tests running on QEMU

8 years agoAdd --no-big-tests flag for qemu fuzz-tests 610/head
Sean Purcell [Mon, 20 Mar 2017 18:32:24 +0000 (11:32 -0700)] 
Add --no-big-tests flag for qemu fuzz-tests

8 years agoAdd ability to strongly limit fuzzer test size with flag
Sean Purcell [Mon, 20 Mar 2017 18:25:00 +0000 (11:25 -0700)] 
Add ability to strongly limit fuzzer test size with flag

8 years agoMerge pull request #607 from inikep/dev
Yann Collet [Sat, 18 Mar 2017 20:47:54 +0000 (13:47 -0700)] 
Merge pull request #607 from inikep/dev

updated build of Windows packages

8 years agoupdated build of Windows packages 607/head
Przemyslaw Skibinski [Sat, 18 Mar 2017 10:19:09 +0000 (11:19 +0100)] 
updated build of Windows packages

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev
Przemyslaw Skibinski [Sat, 18 Mar 2017 10:16:21 +0000 (11:16 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev

8 years agofixed typo in server type
Yann Collet [Fri, 17 Mar 2017 22:33:09 +0000 (15:33 -0700)] 
fixed typo in server type

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Fri, 17 Mar 2017 21:26:17 +0000 (14:26 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoupdated compression graph
Yann Collet [Fri, 17 Mar 2017 21:25:57 +0000 (14:25 -0700)] 
updated compression graph

8 years agoMerge pull request #605 from iburinoc/term
Yann Collet [Fri, 17 Mar 2017 21:02:48 +0000 (14:02 -0700)] 
Merge pull request #605 from iburinoc/term

Fix zstd not erroring on compressing to terminal without forceStdout

8 years agoOnly run IS_CONSOLE tests with a TTY 605/head
Sean Purcell [Fri, 17 Mar 2017 19:32:18 +0000 (12:32 -0700)] 
Only run IS_CONSOLE tests with a TTY

8 years agofix minor details in man page
Yann Collet [Thu, 16 Mar 2017 23:33:53 +0000 (16:33 -0700)] 
fix minor details in man page

8 years agoAdd tests for compressed data on console
Sean Purcell [Thu, 16 Mar 2017 23:25:19 +0000 (16:25 -0700)] 
Add tests for compressed data on console

8 years agoMerge pull request #604 from iburinoc/manpage
Yann Collet [Thu, 16 Mar 2017 23:17:03 +0000 (16:17 -0700)] 
Merge pull request #604 from iburinoc/manpage

Convert manpage to Markdown, convertible with ronn

8 years agoFix zstd not erroring on compressing to terminal without forceStdout
Sean Purcell [Thu, 16 Mar 2017 23:06:03 +0000 (16:06 -0700)] 
Fix zstd not erroring on compressing to terminal without forceStdout

8 years agoConvert manpage to Markdown, converted with ronn 604/head
Sean Purcell [Thu, 16 Mar 2017 22:33:21 +0000 (15:33 -0700)] 
Convert manpage to Markdown, converted with ronn