]>
git.ipfire.org Git - thirdparty/zstd.git/log
Sean Purcell [Fri, 28 Apr 2017 00:19:20 +0000 (17:19 -0700)]
Fix missing squashfs_finish_page's
Sean Purcell [Thu, 27 Apr 2017 23:54:05 +0000 (16:54 -0700)]
Fix case where pages run out before end of stream
Sean Purcell [Thu, 27 Apr 2017 22:04:31 +0000 (15:04 -0700)]
SquashFS linux kernel patch
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
Nick Terrell [Thu, 27 Apr 2017 16:55:19 +0000 (09:55 -0700)]
[pzstd] Add logging statements to tests
Yann Collet [Wed, 26 Apr 2017 21:03:26 +0000 (14:03 -0700)]
Merge pull request #670 from facebook/smallCCtx
Small cctx
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
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()
Sean Purcell [Wed, 26 Apr 2017 17:17:38 +0000 (10:17 -0700)]
Fix LZ4 wrapper deprecation warnings
Yann Collet [Wed, 26 Apr 2017 16:45:36 +0000 (09:45 -0700)]
Merge pull request #674 from niXman/dev
unchecked argv[idx] access
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
niXman [Wed, 26 Apr 2017 10:04:04 +0000 (13:04 +0300)]
unchecked argv[idx] access
Sean Purcell [Tue, 25 Apr 2017 18:00:54 +0000 (11:00 -0700)]
Make lz4 compression/decompression compatible with library r123
Sean Purcell [Mon, 24 Apr 2017 23:48:25 +0000 (16:48 -0700)]
Add LZ4 compress/decompress support to CLI
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
Yann Collet [Fri, 21 Apr 2017 17:59:36 +0000 (10:59 -0700)]
ignore more cmake build artefacts
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
Yann Collet [Fri, 21 Apr 2017 06:21:19 +0000 (23:21 -0700)]
transferred entropy scratch space from CCtx into workSpace
Saved 6 KB
Yann Collet [Fri, 21 Apr 2017 06:09:39 +0000 (23:09 -0700)]
made some room for entropy scratch space
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
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
Michael Maltese [Thu, 20 Apr 2017 22:55:48 +0000 (15:55 -0700)]
CMake: don't modify global C_FLAGS and CXX_FLAGS
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.
Michael Maltese [Thu, 20 Apr 2017 22:47:31 +0000 (15:47 -0700)]
CMake: various configure_file fixes to use CMAKE_CURRENT_SOURCE_DIR
Michael Maltese [Thu, 20 Apr 2017 22:46:44 +0000 (15:46 -0700)]
CMake: namespace modules and set CMAKE_MODULE_PATH
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
Yann Collet [Fri, 21 Apr 2017 00:38:56 +0000 (17:38 -0700)]
init entropy table pointers only once
per workSpace resize
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.
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.
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.
Yann Collet [Thu, 20 Apr 2017 19:03:12 +0000 (12:03 -0700)]
Merge pull request #658 from facebook/compressionFlow
Compression flow
Yann Collet [Thu, 20 Apr 2017 18:16:40 +0000 (11:16 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Thu, 20 Apr 2017 18:14:13 +0000 (11:14 -0700)]
minor long line reformatting
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
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.
Milan Ševčík [Wed, 19 Apr 2017 17:25:53 +0000 (19:25 +0200)]
Test new cmake branches with Circle CI
Milan Ševčík [Wed, 19 Apr 2017 17:25:29 +0000 (19:25 +0200)]
Create and install pkg-config file with cmake
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.
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
Yann Collet [Wed, 19 Apr 2017 06:15:28 +0000 (23:15 -0700)]
slightly refined README comments on lib-mt
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
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
Sean Purcell [Wed, 19 Apr 2017 00:03:37 +0000 (17:03 -0700)]
Update README
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"
Yann Collet [Tue, 18 Apr 2017 21:54:54 +0000 (14:54 -0700)]
added ZSTD_copyCCtx_internal()
which respects provided fParams.
Yann Collet [Tue, 18 Apr 2017 21:34:24 +0000 (14:34 -0700)]
added make list
Sean Purcell [Tue, 18 Apr 2017 21:13:01 +0000 (14:13 -0700)]
Add MT enabled targets for libzstd
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
Yann Collet [Tue, 18 Apr 2017 21:04:28 +0000 (14:04 -0700)]
Merge pull request #665 from iburinoc/fixmsg
Fix no thread message
Yann Collet [Tue, 18 Apr 2017 20:55:53 +0000 (13:55 -0700)]
created ZSTD_compressBegin_usingCDict_advanced()
Sean Purcell [Tue, 18 Apr 2017 20:52:00 +0000 (13:52 -0700)]
Fix no thread message
Yann Collet [Tue, 18 Apr 2017 10:18:34 +0000 (03:18 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Tue, 18 Apr 2017 10:17:44 +0000 (03:17 -0700)]
Improved code comments for block functions
Yann Collet [Tue, 18 Apr 2017 09:59:54 +0000 (02:59 -0700)]
Merge pull request #663 from iburinoc/zstdmt-default
Compile CLI using files instead of objs
Yann Collet [Tue, 18 Apr 2017 09:59:44 +0000 (02:59 -0700)]
Merge pull request #662 from iburinoc/man-mt
Add zstdmt and -T0 to man page
Yann Collet [Tue, 18 Apr 2017 00:57:35 +0000 (17:57 -0700)]
clarified frame parameters for ZSTD_compress*_usingCDict()
created ZSTD_compressBegin_usingCDict_internal(),
which gives direct control to frame Parameters.
ZSTD_resetCStream_internal() now points into it.
Sean Purcell [Tue, 18 Apr 2017 00:13:44 +0000 (17:13 -0700)]
Compile CLI using files instead of objs
This avoids conflicts between how the library was
configured and how the CLI was configured.
Sean Purcell [Tue, 18 Apr 2017 00:11:33 +0000 (17:11 -0700)]
Update -T0 comment in man page
Yann Collet [Mon, 17 Apr 2017 23:33:09 +0000 (16:33 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Mon, 17 Apr 2017 23:19:46 +0000 (16:19 -0700)]
Merge pull request #660 from iburinoc/zstdmt-test
Add multithreading tests to playTests.sh
Yann Collet [Mon, 17 Apr 2017 23:14:21 +0000 (16:14 -0700)]
proper evaluation of Huffman CTable size
Sean Purcell [Mon, 17 Apr 2017 23:05:20 +0000 (16:05 -0700)]
Add zstdmt and -T0 to man page
Yann Collet [Mon, 17 Apr 2017 22:48:13 +0000 (15:48 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Mon, 17 Apr 2017 22:43:59 +0000 (15:43 -0700)]
Merge pull request #661 from iburinoc/zstdmt-default
Make zstd compile with mt by default
Yann Collet [Mon, 17 Apr 2017 21:51:05 +0000 (14:51 -0700)]
Merge branch 'dev' into compressionFlow
Sean Purcell [Mon, 17 Apr 2017 19:21:11 +0000 (12:21 -0700)]
Install zstdmt even without threading support
Sean Purcell [Mon, 17 Apr 2017 19:10:58 +0000 (12:10 -0700)]
Fix input size too small to trigger zstdmt
Sean Purcell [Fri, 14 Apr 2017 18:33:04 +0000 (11:33 -0700)]
Make zstd compile with mt by default
Sean Purcell [Mon, 17 Apr 2017 18:38:53 +0000 (11:38 -0700)]
Add multithreading tests to playTests.sh
Yann Collet [Mon, 17 Apr 2017 06:14:10 +0000 (23:14 -0700)]
Merge pull request #659 from bapt/bsd-multithread
Enable multithreading on BSD
Baptiste Daroussin [Sat, 15 Apr 2017 14:25:08 +0000 (16:25 +0200)]
Enable multithreading on BSD
Yann Collet [Fri, 14 Apr 2017 22:08:31 +0000 (15:08 -0700)]
Merge branch 'dev' into compressionFlow
Yann Collet [Fri, 14 Apr 2017 05:46:41 +0000 (22:46 -0700)]
fixed : memory leak in fuzzer test
Yann Collet [Fri, 14 Apr 2017 03:29:41 +0000 (20:29 -0700)]
Merge pull request #656 from iburinoc/core-count
Make -T0 mean "number of physical cores"
Yann Collet [Thu, 13 Apr 2017 23:36:53 +0000 (16:36 -0700)]
Merge pull request #657 from iburinoc/appveyor
Make appveyor small tests use new mingw as well
Sean Purcell [Thu, 13 Apr 2017 23:34:28 +0000 (16:34 -0700)]
Add 0 initializers to static variables
Sean Purcell [Thu, 13 Apr 2017 22:35:05 +0000 (15:35 -0700)]
Change ifndef's to undef's
Sean Purcell [Thu, 13 Apr 2017 21:40:06 +0000 (14:40 -0700)]
Make appveyor small tests use new mingw as well
Sean Purcell [Thu, 13 Apr 2017 21:06:40 +0000 (14:06 -0700)]
Fix clang linux compilation
Sean Purcell [Thu, 13 Apr 2017 21:03:56 +0000 (14:03 -0700)]
Fix compilation on windows
Sean Purcell [Thu, 13 Apr 2017 19:33:45 +0000 (12:33 -0700)]
Fix compilation on macOS
Sean Purcell [Thu, 13 Apr 2017 19:28:28 +0000 (12:28 -0700)]
-T0 detects number of physical cores
Yann Collet [Wed, 12 Apr 2017 20:54:54 +0000 (13:54 -0700)]
Merge pull request #655 from iburinoc/large-data
Test large files on-disk in playTests.sh
Yann Collet [Wed, 12 Apr 2017 07:51:24 +0000 (00:51 -0700)]
removed srcSize control from CStream
since it's already done from lower bufferless API level
Yann Collet [Wed, 12 Apr 2017 01:34:02 +0000 (18:34 -0700)]
content size is controlled at bufferless level
so it's active for all entry points
Also : added relevant test (wrong content size) in fuzzer
Yann Collet [Wed, 12 Apr 2017 00:42:15 +0000 (17:42 -0700)]
Merge branch 'dev' into compressionFlow
Sean Purcell [Wed, 12 Apr 2017 00:33:26 +0000 (17:33 -0700)]
Fix message
Sean Purcell [Wed, 12 Apr 2017 00:15:13 +0000 (17:15 -0700)]
Add test of file > 4GB to playTests
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