]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
9 years agoImprove comments and ordering 647/head
Nick Terrell [Wed, 5 Apr 2017 01:49:07 +0000 (18:49 -0700)] 
Improve comments and ordering

9 years agoAdd a README
Nick Terrell [Wed, 5 Apr 2017 01:39:22 +0000 (18:39 -0700)] 
Add a README

9 years agoAdd Kconfig and Makefile diffs
Nick Terrell [Wed, 5 Apr 2017 01:37:55 +0000 (18:37 -0700)] 
Add Kconfig and Makefile diffs

9 years agofix gitignore
Nick Terrell [Wed, 5 Apr 2017 01:12:40 +0000 (18:12 -0700)] 
fix gitignore

9 years agoRename zstd_(de)compress.c to (de)compress.c
Nick Terrell [Wed, 5 Apr 2017 01:09:02 +0000 (18:09 -0700)] 
Rename zstd_(de)compress.c to (de)compress.c

9 years agoUndef current if defined
Nick Terrell [Wed, 5 Apr 2017 00:21:49 +0000 (17:21 -0700)] 
Undef current if defined

9 years agoFix up some old names
Nick Terrell [Wed, 5 Apr 2017 00:03:48 +0000 (17:03 -0700)] 
Fix up some old names

9 years agoReally move the makefile
Nick Terrell [Wed, 5 Apr 2017 00:02:28 +0000 (17:02 -0700)] 
Really move the makefile

9 years agoMove Makefile to lib/zstd
Nick Terrell [Wed, 5 Apr 2017 00:00:12 +0000 (17:00 -0700)] 
Move Makefile to lib/zstd

9 years agoAdd fs/btrfs/zstd.c
Nick Terrell [Tue, 4 Apr 2017 23:56:52 +0000 (16:56 -0700)] 
Add fs/btrfs/zstd.c

9 years agoExplicitly convert scratchBuffer to unsigned*
Nick Terrell [Tue, 4 Apr 2017 23:38:13 +0000 (16:38 -0700)] 
Explicitly convert scratchBuffer to unsigned*

9 years agoMove sources to lib/zstd/
Nick Terrell [Tue, 4 Apr 2017 23:30:11 +0000 (16:30 -0700)] 
Move sources to lib/zstd/

9 years agoRemove unused FSE/HUF functions
Nick Terrell [Tue, 4 Apr 2017 23:22:58 +0000 (16:22 -0700)] 
Remove unused FSE/HUF functions

9 years agoRemove more restrict
Nick Terrell [Tue, 4 Apr 2017 22:55:48 +0000 (15:55 -0700)] 
Remove more restrict

9 years agoFix up xxhash
Nick Terrell [Tue, 4 Apr 2017 22:54:39 +0000 (15:54 -0700)] 
Fix up xxhash

9 years agoSwitch intptr_t to ptrdiff_t
Nick Terrell [Tue, 4 Apr 2017 22:49:38 +0000 (15:49 -0700)] 
Switch intptr_t to ptrdiff_t

9 years agoMove zstd.h to linux/zstd.h
Nick Terrell [Tue, 4 Apr 2017 22:41:24 +0000 (15:41 -0700)] 
Move zstd.h to linux/zstd.h

9 years agoTest module macros
Nick Terrell [Tue, 4 Apr 2017 19:56:44 +0000 (12:56 -0700)] 
Test module macros

9 years agoAdd module macros
Nick Terrell [Tue, 4 Apr 2017 19:56:35 +0000 (12:56 -0700)] 
Add module macros

9 years agoAdd zstd kernel module Makefile
Nick Terrell [Tue, 4 Apr 2017 19:10:47 +0000 (12:10 -0700)] 
Add zstd kernel module Makefile

9 years agoAdd userland test with mock kernel headers
Nick Terrell [Tue, 4 Apr 2017 18:53:22 +0000 (11:53 -0700)] 
Add userland test with mock kernel headers

9 years agoFix ZSTD_createCStream_usingCDict() and ZSTD_compress_usingCDict()
Nick Terrell [Tue, 4 Apr 2017 18:52:49 +0000 (11:52 -0700)] 
Fix ZSTD_createCStream_usingCDict() and ZSTD_compress_usingCDict()

9 years agoFix compilation errors
Nick Terrell [Mon, 3 Apr 2017 23:08:20 +0000 (16:08 -0700)] 
Fix compilation errors

9 years agoPreallocate workSpace for cctx and combine create and init for cstream
Nick Terrell [Mon, 3 Apr 2017 22:23:09 +0000 (15:23 -0700)] 
Preallocate workSpace for cctx and combine create and init for cstream

9 years agoWorking on API
Nick Terrell [Fri, 31 Mar 2017 22:01:41 +0000 (15:01 -0700)] 
Working on API

9 years agoRemove STATIC_LINKING_ONLY defines
Nick Terrell [Thu, 30 Mar 2017 21:33:59 +0000 (14:33 -0700)] 
Remove STATIC_LINKING_ONLY defines

9 years agoUse <asm/unaligned.h> for unaligned memory access
Nick Terrell [Thu, 30 Mar 2017 19:11:19 +0000 (12:11 -0700)] 
Use <asm/unaligned.h> for unaligned memory access

9 years agoChange stdlib includes to linux includes
Nick Terrell [Thu, 30 Mar 2017 18:40:05 +0000 (11:40 -0700)] 
Change stdlib includes to linux includes

9 years agoRemove platform specific macros
Nick Terrell [Thu, 30 Mar 2017 03:26:07 +0000 (20:26 -0700)] 
Remove platform specific macros

9 years agoConvert all spaces to tabs
Nick Terrell [Thu, 30 Mar 2017 02:57:22 +0000 (19:57 -0700)] 
Convert all spaces to tabs

9 years agospaces to tabs
Nick Terrell [Thu, 30 Mar 2017 01:47:23 +0000 (18:47 -0700)] 
spaces to tabs

9 years agoCopy files into contrib/linux-kernel/
Nick Terrell [Thu, 30 Mar 2017 01:35:21 +0000 (18:35 -0700)] 
Copy files into contrib/linux-kernel/

9 years agoMake pzstd and cmake use gcc/g++
Sean Purcell [Wed, 29 Mar 2017 21:40:11 +0000 (14:40 -0700)] 
Make pzstd and cmake use gcc/g++

9 years agoBuild windows releases on appveyor as artifacts
Sean Purcell [Wed, 29 Mar 2017 20:08:10 +0000 (13:08 -0700)] 
Build windows releases on appveyor as artifacts

9 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)

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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)

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

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

9 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

9 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

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

9 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=

9 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

9 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=

9 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

9 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

9 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

9 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

9 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

9 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..

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

9 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

9 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

9 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.

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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