]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev 686/head
Yann Collet [Wed, 3 May 2017 21:33:39 +0000 (14:33 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoupdated dict graphs to 2D mode
Yann Collet [Wed, 3 May 2017 21:32:33 +0000 (14:32 -0700)] 
updated dict graphs to 2D mode

8 years agoMerge pull request #685 from terrelln/squashfs-bench
Yann Collet [Wed, 3 May 2017 18:42:31 +0000 (11:42 -0700)] 
Merge pull request #685 from terrelln/squashfs-bench

[kernel] Update README with SquashFS patch

8 years ago[kernel] Update README with SquashFS patch 685/head
Nick Terrell [Wed, 3 May 2017 18:07:39 +0000 (11:07 -0700)] 
[kernel] Update README with SquashFS patch

Take patch from PR #682 by @iburinoc and update benchmarks.

8 years agoupdated programs/README.md, to introduce compilation variables
Yann Collet [Wed, 3 May 2017 00:18:24 +0000 (17:18 -0700)] 
updated programs/README.md, to introduce compilation variables

make it possible to enable/disable features individually

8 years agoreorganized Makefile for multiple targets
Yann Collet [Tue, 2 May 2017 23:55:57 +0000 (16:55 -0700)] 
reorganized Makefile for multiple targets

8 years agoadded xzstd4 target
Yann Collet [Tue, 2 May 2017 23:38:37 +0000 (16:38 -0700)] 
added xzstd4 target

support for all formats, xz/lzma/lz4 included

8 years agofixed xzstd
Yann Collet [Tue, 2 May 2017 22:40:42 +0000 (15:40 -0700)] 
fixed xzstd

--format=xz was missing a break, making the execution continue into lz4 error message

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Tue, 2 May 2017 21:39:42 +0000 (14:39 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoupdated DSpeed chart to remove 3D effect (#589)
Yann Collet [Tue, 2 May 2017 21:39:03 +0000 (14:39 -0700)] 
updated DSpeed chart to remove 3D effect (#589)

8 years agoMerge pull request #684 from terrelln/btrfs-init
Yann Collet [Tue, 2 May 2017 21:07:52 +0000 (14:07 -0700)] 
Merge pull request #684 from terrelln/btrfs-init

[btrfs] Update patch to use ZSTD_init{C,D}Stream()

8 years ago[btrfs] Fix typo in pr_warn() message 684/head
Nick Terrell [Tue, 2 May 2017 20:57:40 +0000 (13:57 -0700)] 
[btrfs] Fix typo in pr_warn() message

8 years ago[btrfs] Update patch to use ZSTD_init{C,D}Stream()
Nick Terrell [Tue, 2 May 2017 20:41:57 +0000 (13:41 -0700)] 
[btrfs] Update patch to use ZSTD_init{C,D}Stream()

8 years agoupdated NEWS for v1.2.0
Yann Collet [Tue, 2 May 2017 19:14:12 +0000 (12:14 -0700)] 
updated NEWS for v1.2.0

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Tue, 2 May 2017 19:13:52 +0000 (12:13 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agoMerge pull request #683 from terrelln/odev
Yann Collet [Tue, 2 May 2017 19:13:23 +0000 (12:13 -0700)] 
Merge pull request #683 from terrelln/odev

[CLI] Make cover the default dictionary builder

8 years ago[CLI] Switch dictionary builder on CLI to cover 683/head
Nick Terrell [Tue, 2 May 2017 06:40:20 +0000 (23:40 -0700)] 
[CLI] Switch dictionary builder on CLI to cover

8 years ago[cover] Make optimization faster
Nick Terrell [Tue, 2 May 2017 04:26:33 +0000 (21:26 -0700)] 
[cover] Make optimization faster

8 years ago[cover] Optimize case where d <= 8
Nick Terrell [Mon, 1 May 2017 17:25:49 +0000 (10:25 -0700)] 
[cover] Optimize case where d <= 8

8 years agoFix typo in zdict.h
Nick Terrell [Mon, 1 May 2017 17:14:15 +0000 (10:14 -0700)] 
Fix typo in zdict.h

8 years agoFix LZ4_MSG in xzstd
Nick Terrell [Mon, 1 May 2017 17:13:56 +0000 (10:13 -0700)] 
Fix LZ4_MSG in xzstd

8 years agominor code refactoring for clarity
Yann Collet [Mon, 1 May 2017 18:22:24 +0000 (11:22 -0700)] 
minor code refactoring for clarity

8 years agofixed const in prototype, that Visual doesn't accept
Yann Collet [Mon, 1 May 2017 18:12:30 +0000 (11:12 -0700)] 
fixed const in prototype, that Visual doesn't accept

8 years agosync bitstream.h from fse library
Yann Collet [Mon, 1 May 2017 16:56:03 +0000 (09:56 -0700)] 
sync bitstream.h from fse library

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Sat, 29 Apr 2017 00:00:46 +0000 (17:00 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agosync bitstream from FSE project
Yann Collet [Fri, 28 Apr 2017 23:56:39 +0000 (16:56 -0700)] 
sync bitstream from FSE project

add assert into unsafe *_fast() variants

8 years agominor code refactoring
Yann Collet [Fri, 28 Apr 2017 23:52:36 +0000 (16:52 -0700)] 
minor code refactoring

clearer tables

8 years agoadded HUF_PUBLIC_API macro to huf.h
Yann Collet [Fri, 28 Apr 2017 19:46:48 +0000 (12:46 -0700)] 
added HUF_PUBLIC_API macro to huf.h

to make it possible to control symbol visibility.
Also : better separation and comments between "public" and "static" sections

8 years agoMerge pull request #680 from iburinoc/sqfs-kernel
Yann Collet [Fri, 28 Apr 2017 17:27:42 +0000 (10:27 -0700)] 
Merge pull request #680 from iburinoc/sqfs-kernel

SquashFS linux kernel patch

8 years agoMerge pull request #678 from facebook/apiChange
Yann Collet [Fri, 28 Apr 2017 17:02:45 +0000 (10:02 -0700)] 
Merge pull request #678 from facebook/apiChange

Breaking API Change around CDict

8 years agominor release note update
Yann Collet [Fri, 28 Apr 2017 15:54:13 +0000 (08:54 -0700)] 
minor release note update

8 years agoChanged default level 18 (large input)
Yann Collet [Fri, 28 Apr 2017 00:44:01 +0000 (17:44 -0700)] 
Changed default level 18 (large input)

Previous -18 : 4.7 MB/s, R:3.833
New -18 : 5.1 MB/s. R:3.825

It's a better fit within -17 (6.8 MB/s) and -19 (4.0 MB/s)
The new level 18 also uses significantly less memory.
And, it makes a good transition between level 17 (mml5)
and level 19 (mml3).
Up to now, there was no level with mml4.

(note : minmatch setting can have a large impact on some (specific) datasets)

8 years agoMerge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Fri, 28 Apr 2017 00:29:52 +0000 (17:29 -0700)] 
Merge branch 'dev' of github.com:facebook/zstd into dev

8 years agotests : -g is part of DEBUGFLAGS
Yann Collet [Fri, 28 Apr 2017 00:28:32 +0000 (17:28 -0700)] 
tests : -g is part of DEBUGFLAGS

8 years agoFix missing squashfs_finish_page's 680/head
Sean Purcell [Fri, 28 Apr 2017 00:19:20 +0000 (17:19 -0700)] 
Fix missing squashfs_finish_page's

8 years agoFix case where pages run out before end of stream
Sean Purcell [Thu, 27 Apr 2017 23:54:05 +0000 (16:54 -0700)] 
Fix case where pages run out before end of stream

8 years agoMerge pull request #679 from terrelln/dev
Yann Collet [Thu, 27 Apr 2017 23:31:03 +0000 (16:31 -0700)] 
Merge pull request #679 from terrelln/dev

[kernel] Rename ZSTD_create*() to ZSTD_init*()

8 years agoshortened Appveyor release tests
Yann Collet [Thu, 27 Apr 2017 23:24:53 +0000 (16:24 -0700)] 
shortened Appveyor release tests

fuzzer supports time suffix `s` for "seconds"

8 years agoAdded a secondary test, checking dictID presence after setting noDictIdFLag=1 678/head
Yann Collet [Thu, 27 Apr 2017 22:08:56 +0000 (15:08 -0700)] 
Added a secondary test, checking dictID presence after setting noDictIdFLag=1

8 years agoSquashFS linux kernel patch
Sean Purcell [Thu, 27 Apr 2017 22:04:31 +0000 (15:04 -0700)] 
SquashFS linux kernel patch

8 years agoadded test for ZSTD_initCStream_usingCDict_advanced()
Yann Collet [Thu, 27 Apr 2017 21:48:34 +0000 (14:48 -0700)] 
added test for ZSTD_initCStream_usingCDict_advanced()

8 years agoadded test for ZSTD_compress_usingCDict_advanced()
Yann Collet [Thu, 27 Apr 2017 21:39:39 +0000 (14:39 -0700)] 
added test for ZSTD_compress_usingCDict_advanced()

8 years agoremoved C4204
Yann Collet [Thu, 27 Apr 2017 21:29:35 +0000 (14:29 -0700)] 
removed C4204

8 years agofixed another VS2008 init error
Yann Collet [Thu, 27 Apr 2017 21:19:34 +0000 (14:19 -0700)] 
fixed another VS2008 init error

8 years agofixed init error on Visual 2008
Yann Collet [Thu, 27 Apr 2017 19:57:11 +0000 (12:57 -0700)] 
fixed init error on Visual 2008

8 years agobumped version number to v1.2.0
Yann Collet [Thu, 27 Apr 2017 19:50:20 +0000 (12:50 -0700)] 
bumped version number to v1.2.0

8 years agoupdated NEWS
Yann Collet [Thu, 27 Apr 2017 19:49:22 +0000 (12:49 -0700)] 
updated NEWS

8 years agoMerge pull request #677 from terrelln/pzstd-tests
Yann Collet [Thu, 27 Apr 2017 19:05:00 +0000 (12:05 -0700)] 
Merge pull request #677 from terrelln/pzstd-tests

[pzstd] Add logging statements to tests

8 years agoadded ZSTD_initCStream_usingCDict_advanced()
Yann Collet [Thu, 27 Apr 2017 18:43:04 +0000 (11:43 -0700)] 
added ZSTD_initCStream_usingCDict_advanced()

8 years agocreated ZSTD_compress_usingCDict_advanced()
Yann Collet [Thu, 27 Apr 2017 18:31:55 +0000 (11:31 -0700)] 
created ZSTD_compress_usingCDict_advanced()

8 years ago[pzstd] Add logging statements to tests 677/head
Nick Terrell [Thu, 27 Apr 2017 16:55:19 +0000 (09:55 -0700)] 
[pzstd] Add logging statements to tests

8 years agofixed compilation warning : declaration-after-statement
Yann Collet [Thu, 27 Apr 2017 08:10:36 +0000 (01:10 -0700)] 
fixed compilation warning : declaration-after-statement

8 years agoChanged ZSTD_createCDict_advanced()
Yann Collet [Thu, 27 Apr 2017 07:29:04 +0000 (00:29 -0700)] 
Changed ZSTD_createCDict_advanced()

It now only uses compressionParameters as argument.
It produces many changes throughout user code,
though hopefully they tend to be simple :
just provide the cParams part from existing ZSTD_parameters.

Some programs might depend on ZSTD_createCDict_advanced() to pass frame parameters.
This change will force them to revisit this strategy and fix it,
since frame parameters are effectively silently ignored in current version.

8 years agochanged ZSTD_compressBegin_usingCDict()
Yann Collet [Wed, 26 Apr 2017 22:42:10 +0000 (15:42 -0700)] 
changed ZSTD_compressBegin_usingCDict()

No longer takes `pledgedSrcSize` as argument
this is in line with similar functions ZSTD_compress_usingCDict()
and ZSTD_initCStream_usingCDict().

8 years agoMerge pull request #670 from facebook/smallCCtx
Yann Collet [Wed, 26 Apr 2017 21:03:26 +0000 (14:03 -0700)] 
Merge pull request #670 from facebook/smallCCtx

Small cctx

8 years agoMerge pull request #675 from iburinoc/lz4
Yann Collet [Wed, 26 Apr 2017 20:13:24 +0000 (13:13 -0700)] 
Merge pull request #675 from iburinoc/lz4

Fix LZ4 wrapper deprecation warnings

8 years agoRename ZSTD_create*() to ZSTD_init*() 679/head
Nick Terrell [Wed, 26 Apr 2017 20:06:38 +0000 (13:06 -0700)] 
Rename ZSTD_create*() to ZSTD_init*()

8 years agoComply with suggested comments by @terrelln 670/head
Yann Collet [Wed, 26 Apr 2017 18:39:35 +0000 (11:39 -0700)] 
Comply with suggested comments by @terrelln

created FSE_CTABLE_SIZE() and FSE_DTABLE_SIZE()

8 years agoFix LZ4 wrapper deprecation warnings 675/head
Sean Purcell [Wed, 26 Apr 2017 17:17:38 +0000 (10:17 -0700)] 
Fix LZ4 wrapper deprecation warnings

8 years agoMerge pull request #674 from niXman/dev
Yann Collet [Wed, 26 Apr 2017 16:45:36 +0000 (09:45 -0700)] 
Merge pull request #674 from niXman/dev

unchecked argv[idx] access

8 years agoMerge pull request #673 from iburinoc/lz4
Yann Collet [Wed, 26 Apr 2017 16:32:16 +0000 (09:32 -0700)] 
Merge pull request #673 from iburinoc/lz4

Add LZ4 compress/decompress support to CLI

8 years agounchecked argv[idx] access 674/head
niXman [Wed, 26 Apr 2017 10:04:04 +0000 (13:04 +0300)] 
unchecked argv[idx] access

8 years agoMake lz4 compression/decompression compatible with library r123 673/head
Sean Purcell [Tue, 25 Apr 2017 18:00:54 +0000 (11:00 -0700)] 
Make lz4 compression/decompression compatible with library r123

8 years agoAdd LZ4 compress/decompress support to CLI
Sean Purcell [Mon, 24 Apr 2017 23:48:25 +0000 (16:48 -0700)] 
Add LZ4 compress/decompress support to CLI

8 years agocli : add support for --threads=# command
Yann Collet [Fri, 21 Apr 2017 18:38:13 +0000 (11:38 -0700)] 
cli : add support for --threads=# command

updated documentation
add relevant test case

8 years agoignore more cmake build artefacts
Yann Collet [Fri, 21 Apr 2017 17:59:36 +0000 (10:59 -0700)] 
ignore more cmake build artefacts

8 years agoMerge pull request #669 from ligfx/friendlycmake
Yann Collet [Fri, 21 Apr 2017 06:43:41 +0000 (23:43 -0700)] 
Merge pull request #669 from ligfx/friendlycmake

CMake improvements when embedding in another project

8 years agotransferred entropy scratch space from CCtx into workSpace
Yann Collet [Fri, 21 Apr 2017 06:21:19 +0000 (23:21 -0700)] 
transferred entropy scratch space from CCtx into workSpace

Saved 6 KB

8 years agomade some room for entropy scratch space
Yann Collet [Fri, 21 Apr 2017 06:09:39 +0000 (23:09 -0700)] 
made some room for entropy scratch space

8 years agotransferred FSE tables from CCtx into workspace
Yann Collet [Fri, 21 Apr 2017 06:03:38 +0000 (23:03 -0700)] 
transferred FSE tables from CCtx into workspace

Saved 5 KB from CCtx

8 years agomade room in workspace for FSE tables
Yann Collet [Fri, 21 Apr 2017 05:54:54 +0000 (22:54 -0700)] 
made room in workspace for FSE tables

still need to be transferred from CCtx into workspace

8 years agoCMake: don't modify global C_FLAGS and CXX_FLAGS 669/head
Michael Maltese [Thu, 20 Apr 2017 22:55:48 +0000 (15:55 -0700)] 
CMake: don't modify global C_FLAGS and CXX_FLAGS

8 years agoCMake: don't recheck compile flags every time
Michael Maltese [Thu, 20 Apr 2017 22:54:17 +0000 (15:54 -0700)] 
CMake: don't recheck compile flags every time

Doesn't cause a problem when embedded within a larger project, but is
annoying.

8 years agoCMake: various configure_file fixes to use CMAKE_CURRENT_SOURCE_DIR
Michael Maltese [Thu, 20 Apr 2017 22:47:31 +0000 (15:47 -0700)] 
CMake: various configure_file fixes to use CMAKE_CURRENT_SOURCE_DIR

8 years agoCMake: namespace modules and set CMAKE_MODULE_PATH
Michael Maltese [Thu, 20 Apr 2017 22:46:44 +0000 (15:46 -0700)] 
CMake: namespace modules and set CMAKE_MODULE_PATH

8 years agochanged size evaluation of entropy tables
Yann Collet [Fri, 21 Apr 2017 01:17:58 +0000 (18:17 -0700)] 
changed size evaluation of entropy tables

so that memcpy() does no longer depends on fse pointer being a static table

8 years agoinit entropy table pointers only once
Yann Collet [Fri, 21 Apr 2017 00:38:56 +0000 (17:38 -0700)] 
init entropy table pointers only once

per workSpace resize

8 years agoreorganized ZSTD_resetCCtx_internal()
Yann Collet [Fri, 21 Apr 2017 00:28:31 +0000 (17:28 -0700)] 
reorganized ZSTD_resetCCtx_internal()

clearer separation between variables and buffers
clearer buffers category
kept static buffers at the beginning, favoring cache locality
(it will be easier to add FSE tables there later)

This break a few assumptions that hashTable was always at the beginning.
This is fixed.
And remaining assumptions (namely that tables stand next to each other in memory)
are now tested with assert.

8 years agoCMake: Set ZSTD_SOURCE_DIR from CMAKE_CURRENT_SOURCE_DIR
Michael Maltese [Thu, 20 Apr 2017 22:35:56 +0000 (15:35 -0700)] 
CMake: Set ZSTD_SOURCE_DIR from CMAKE_CURRENT_SOURCE_DIR

Instead of CMAKE_SOURCE_DIR, which is not correct when embedding Zstd
within a larger project.

8 years agodisable assert when compiling paramgrill
Yann Collet [Thu, 20 Apr 2017 19:50:02 +0000 (12:50 -0700)] 
disable assert when compiling paramgrill

paramgrill is a benchmark calibration function.
Speed accuracy is critical, it cannot be altered by assert.

8 years agoMerge pull request #658 from facebook/compressionFlow
Yann Collet [Thu, 20 Apr 2017 19:03:12 +0000 (12:03 -0700)] 
Merge pull request #658 from facebook/compressionFlow

Compression flow

8 years agoMerge branch 'dev' into compressionFlow 658/head
Yann Collet [Thu, 20 Apr 2017 18:16:40 +0000 (11:16 -0700)] 
Merge branch 'dev' into compressionFlow

8 years agominor long line reformatting
Yann Collet [Thu, 20 Apr 2017 18:14:13 +0000 (11:14 -0700)] 
minor long line reformatting

8 years agoMerge pull request #668 from Majlen/cmake-improvement
Yann Collet [Wed, 19 Apr 2017 20:56:16 +0000 (13:56 -0700)] 
Merge pull request #668 from Majlen/cmake-improvement

Add zlib, lzma, pkg-config support to cmake build system

8 years agoChange all SET_TARGET_PROPERTIES to SET_PROPERTY 668/head
Milan Ševčík [Wed, 19 Apr 2017 18:16:11 +0000 (20:16 +0200)] 
Change all SET_TARGET_PROPERTIES to SET_PROPERTY

SET_PROPERTY function can append to lists, whereas previously used
SET_TARGET_PROPERTIES cannot.

8 years agoTest new cmake branches with Circle CI
Milan Ševčík [Wed, 19 Apr 2017 17:25:53 +0000 (19:25 +0200)] 
Test new cmake branches with Circle CI

8 years agoCreate and install pkg-config file with cmake
Milan Ševčík [Wed, 19 Apr 2017 17:25:29 +0000 (19:25 +0200)] 
Create and install pkg-config file with cmake

8 years agoCopy files during build phase, custom targets instead of commands
Milan Ševčík [Wed, 19 Apr 2017 17:22:17 +0000 (19:22 +0200)] 
Copy files during build phase, custom targets instead of commands

Previously some files were copied only during configure phase.
Custom targets seem nicer.

8 years agoAdd lzma and zlib support to cmake build system
Milan Ševčík [Wed, 19 Apr 2017 17:20:27 +0000 (19:20 +0200)] 
Add lzma and zlib support to cmake build system

cmake 2.8.9 needed for FindLibLZMA

8 years agoslightly refined README comments on lib-mt
Yann Collet [Wed, 19 Apr 2017 06:15:28 +0000 (23:15 -0700)] 
slightly refined README comments on lib-mt

8 years agoMerge pull request #666 from iburinoc/zstdmt-default
Yann Collet [Wed, 19 Apr 2017 06:07:41 +0000 (23:07 -0700)] 
Merge pull request #666 from iburinoc/zstdmt-default

Add MT enabled targets for libzstd

8 years agofixed ZSTDMT_initCStream_advanced()
Yann Collet [Wed, 19 Apr 2017 05:52:41 +0000 (22:52 -0700)] 
fixed ZSTDMT_initCStream_advanced()

Must use the new ZSTD_compressBegin_usingCDict_advanced()
to enforce correct frame parameters

8 years agoUpdate README 666/head
Sean Purcell [Wed, 19 Apr 2017 00:03:37 +0000 (17:03 -0700)] 
Update README

8 years agoadded test for ZSTD_initCStream_advanced()
Yann Collet [Tue, 18 Apr 2017 22:08:52 +0000 (15:08 -0700)] 
added test for ZSTD_initCStream_advanced()

when params.fParams.contentSizeFlags = 1
and pledgedSrcSize = 0
then srcSize should be considered 0 (empty), and not "unknown"

8 years agoadded ZSTD_copyCCtx_internal()
Yann Collet [Tue, 18 Apr 2017 21:54:54 +0000 (14:54 -0700)] 
added ZSTD_copyCCtx_internal()

which respects provided fParams.

8 years agoadded make list
Yann Collet [Tue, 18 Apr 2017 21:34:24 +0000 (14:34 -0700)] 
added make list

8 years agoAdd MT enabled targets for libzstd
Sean Purcell [Tue, 18 Apr 2017 21:13:01 +0000 (14:13 -0700)] 
Add MT enabled targets for libzstd

8 years agoChanged ZSTD_resetCCtx_advanced() into ZSTD_resetCCtx_internal()
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

8 years agoMerge pull request #665 from iburinoc/fixmsg
Yann Collet [Tue, 18 Apr 2017 21:04:28 +0000 (14:04 -0700)] 
Merge pull request #665 from iburinoc/fixmsg

Fix no thread message

8 years agocreated ZSTD_compressBegin_usingCDict_advanced()
Yann Collet [Tue, 18 Apr 2017 20:55:53 +0000 (13:55 -0700)] 
created ZSTD_compressBegin_usingCDict_advanced()