]>
git.ipfire.org Git - thirdparty/zstd.git/log
Chris Lamb [Fri, 4 May 2018 15:39:03 +0000 (08:39 -0700)]
Make the build reproducible
Whilst working on the Reproducible Builds effort [0], we noticed
that zstd could not be built reproducibly.
This is due to the manual page encoding the number of CPUs from the
build machine and thus varies across builds.
This was originally filed in Debian as #897904 [1].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/897904
Signed-off-by: Chris Lamb <lamby@debian.org>
Yann Collet [Thu, 3 May 2018 21:26:26 +0000 (14:26 -0700)]
Merge pull request #1118 from terrelln/playtests-typo
Fix playTests.sh typo
Nick Terrell [Thu, 3 May 2018 20:03:08 +0000 (13:03 -0700)]
Fix playTests.sh typo
Thanks to @mestia for reporting and finding the bug!
Fixes #1116.
cyan4973 [Tue, 1 May 2018 12:45:46 +0000 (05:45 -0700)]
ignore Windows build/test artefacts
Yann Collet [Mon, 30 Apr 2018 21:59:59 +0000 (14:59 -0700)]
Merge pull request #1114 from pseiderer/ps-devel-001
Split library install target into pc, static, shared and include only target
Yann Collet [Mon, 30 Apr 2018 18:35:49 +0000 (11:35 -0700)]
Clarifications of Zstandard format specification
from IETF RFC review
Peter Seiderer [Mon, 16 Apr 2018 18:44:49 +0000 (20:44 +0200)]
Split library install target into pc, static, shared and include only target
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Yann Collet [Thu, 26 Apr 2018 17:31:25 +0000 (10:31 -0700)]
Merge pull request #1113 from terrelln/dict-fix
Fix parameter adjustment with dictionary
Nick Terrell [Wed, 25 Apr 2018 23:32:29 +0000 (16:32 -0700)]
Fix parameter adjustment with dictionary
The new advanced API basically set `requestedParams = appliedParams` when
using a dictionary. This halted all parameter adjustment, which can hurt
compression ratio if, for example, the window log is small for the first
call, but the rest of the files are large.
This patch fixes the bug, and checks that the `requestedParams` don't change
in the new advanced API when using a dictionary, and generally in the fuzzer.
Yann Collet [Wed, 25 Apr 2018 17:15:43 +0000 (10:15 -0700)]
clarified documentation related to refPrefix()
Yann Collet [Tue, 24 Apr 2018 23:50:54 +0000 (16:50 -0700)]
Merge pull request #1112 from facebook/lz4dec
fixed decoding bogus lz4 frame
Yann Collet [Tue, 24 Apr 2018 21:44:27 +0000 (14:44 -0700)]
updated documentation of streaming compression api
cyan4973 [Tue, 24 Apr 2018 01:50:16 +0000 (18:50 -0700)]
fixed decoding bogus lz4 frame
FIO would keep presenting data after an LZ4F decoding error
resulting in a NULL pointer dereference
when associated with older liblz4 version (< v1.8.1.2)
taigacon [Mon, 23 Apr 2018 22:41:50 +0000 (06:41 +0800)]
Fix the problem that enables DYNAMIC_BMI2 macro by mistake on ARM architecture with Clang (#1110)
Yann Collet [Fri, 13 Apr 2018 20:23:47 +0000 (13:23 -0700)]
Merge pull request #1107 from terrelln/reset-params
Add ZSTD_CCtx_resetParameters() function
Nick Terrell [Fri, 13 Apr 2018 19:43:38 +0000 (12:43 -0700)]
Fix documentation
Nick Terrell [Fri, 13 Apr 2018 18:26:40 +0000 (11:26 -0700)]
Only reset CDict in ZSTD_CCtx_resetParameters()
Nick Terrell [Thu, 12 Apr 2018 23:54:07 +0000 (16:54 -0700)]
Add ZSTD_CCtx_resetParameters() function
* Fix docs for `ZSTD_CCtx_reset()`.
* Add `ZSTD_CCtx_resetParameters()`.
Fixes #1094.
Nick Terrell [Thu, 12 Apr 2018 23:02:03 +0000 (16:02 -0700)]
Enforce pledgeSrcSize whenever known (#1106)
The test fails before the patch and passes after.
Fixes #1095.
Yann Collet [Thu, 12 Apr 2018 20:25:57 +0000 (13:25 -0700)]
Merge pull request #1105 from terrelln/get-param
Add ZSTD_CCtx(Param)?_getParameter() function
Nick Terrell [Thu, 12 Apr 2018 18:50:12 +0000 (11:50 -0700)]
Add ZSTD_CCtx(Param)?_getParameter() function
Closes #1096.
Yann Collet [Tue, 10 Apr 2018 18:40:36 +0000 (11:40 -0700)]
doc : clarified advanced API usage
sticky parameters only work with `ZSTD_compress_generic()`
Yann Collet [Tue, 10 Apr 2018 00:39:07 +0000 (17:39 -0700)]
updated comment on parameters that can be changed during compression
Yann Collet [Mon, 9 Apr 2018 21:16:20 +0000 (14:16 -0700)]
Merge pull request #1104 from terrelln/fast-train
Allow negative compression levels in training
Nick Terrell [Mon, 9 Apr 2018 19:09:28 +0000 (12:09 -0700)]
Allow negative compression levels in training
* Set `dictCLevel` in `zstdcli.c`.
* Only set to default level if the compression level `== 0`, not `<= 0`.
Yann Collet [Mon, 9 Apr 2018 18:12:51 +0000 (11:12 -0700)]
Merge pull request #1103 from kilobyte/dev
Fix riscv.
Adam Borowski [Sun, 8 Apr 2018 23:50:49 +0000 (01:50 +0200)]
Use -pthread rather than -lpthread.
It can have other effects, such as pulling in extra libraries. Without it,
riscv build fails with undefined reference to `__atomic_compare_exchange_1'.
Yann Collet [Thu, 5 Apr 2018 18:39:27 +0000 (11:39 -0700)]
Merge pull request #1100 from bket/stable_sort
zstd requires a stable sort.
Yann Collet [Thu, 5 Apr 2018 18:05:11 +0000 (11:05 -0700)]
updated ZSTD_p_chainLog description
Yann Collet [Thu, 5 Apr 2018 17:30:35 +0000 (10:30 -0700)]
Merge pull request #1099 from bket/fix_typo
fix typo in programs/zstd.{1,1.md}
Björn Ketelaars [Thu, 5 Apr 2018 05:17:17 +0000 (07:17 +0200)]
zstd requires a stable sort.
On OpenBSD qsort() is not guaranteed to be stable, their mergesort() is.
This fixes issue #1088. All the hard work has been done by @terrelln.
Björn Ketelaars [Thu, 5 Apr 2018 04:35:11 +0000 (06:35 +0200)]
fix typo in programs/zstd.{1,1.md}
s/nodictID/no-dictID/g
Yann Collet [Mon, 2 Apr 2018 22:38:20 +0000 (15:38 -0700)]
Merge pull request #1098 from terrelln/nd-mt
Only load extra table positions for CDicts
Nick Terrell [Mon, 2 Apr 2018 21:41:30 +0000 (14:41 -0700)]
Only load extra table positions for CDicts
Zstdmt uses prefixes to load the overlap between segments. Loading extra
positions makes compression non-deterministic, depending on the previous
job the context was used for. Since loading extra position takes extra
time as well, only do it when creating a `ZSTD_CDict`.
Fixes #1077.
Yann Collet [Mon, 2 Apr 2018 21:16:16 +0000 (14:16 -0700)]
Merge pull request #1089 from bket/portability
examples/Makefile assumes GNU make.
Yann Collet [Mon, 2 Apr 2018 21:15:26 +0000 (14:15 -0700)]
Merge pull request #1090 from bket/openbsd
Fix building zstd on OpenBSD.
bket [Mon, 2 Apr 2018 21:12:18 +0000 (23:12 +0200)]
Make sure that make check runs on OpenBSD. (#1091)
OpenBSD uses md5 instead of md5sum, and has no device called full.
With this patch, make check runs until #1088. With the assumption made
in the issue make check runs succesfully.
Yann Collet [Sun, 1 Apr 2018 21:27:46 +0000 (14:27 -0700)]
Merge pull request #1080 from facebook/getFrameHeader
added ZSTD_getFrameHeader_advanced()
Björn Ketelaars [Sat, 31 Mar 2018 08:44:51 +0000 (10:44 +0200)]
Fix building zstd on OpenBSD.
Björn Ketelaars [Sat, 31 Mar 2018 08:25:07 +0000 (10:25 +0200)]
examples/Makefile assumes GNU make.
This fixes a building issue on systems that default to a different
flavour of make (as is the case with OpenBSD).
Yann Collet [Sat, 31 Mar 2018 03:09:27 +0000 (20:09 -0700)]
fixed comments as suggested by @terrelln
Yann Collet [Sat, 31 Mar 2018 02:45:10 +0000 (20:45 -0600)]
Merge pull request #1086 from hagemt/hagemt-patch-1
Correct small typo in manual (man file and markdown)
Tor E Hagemann [Fri, 30 Mar 2018 22:25:32 +0000 (15:25 -0700)]
Update zstd.1.md
Tor E Hagemann [Fri, 30 Mar 2018 21:53:57 +0000 (14:53 -0700)]
Update zstd.1
Yann Collet [Fri, 30 Mar 2018 21:52:07 +0000 (15:52 -0600)]
Merge pull request #1079 from facebook/ovlog
restore ability to set overlapLog
Yann Collet [Fri, 30 Mar 2018 21:51:51 +0000 (15:51 -0600)]
Merge pull request #1085 from terrelln/readme
Clarify license in the second paragraph
Nick Terrell [Fri, 30 Mar 2018 19:39:58 +0000 (12:39 -0700)]
Clarify license in the second paragraph
Yann Collet [Thu, 29 Mar 2018 23:51:08 +0000 (17:51 -0600)]
added ZSTD_getFrameHeader_advanced()
makes it possible to request frame header from a magicless frame
Yann Collet [Thu, 29 Mar 2018 21:24:17 +0000 (15:24 -0600)]
added more code documentation for ZSTD_getFrameHeader()
Yann Collet [Thu, 29 Mar 2018 19:07:28 +0000 (13:07 -0600)]
added ovlog tests
check that setting ovlog has a direct impact on compression ratio
(hence is not silently ignored)
Yann Collet [Wed, 28 Mar 2018 17:33:41 +0000 (11:33 -0600)]
restored ability to manually set overlapLog
Yann Collet [Mon, 26 Mar 2018 22:19:02 +0000 (15:19 -0700)]
Merge pull request #1075 from terrelln/cmake
Fix CMake build
Nick Terrell [Mon, 26 Mar 2018 21:58:33 +0000 (14:58 -0700)]
Fix CMake build
`MAN_INSTALL_DIR` was undefined.
Tested with `make cmakebuild`, and saw that the man pages got installed to the right place:
```
-- Installing: /Users/terrelln/install_test_dir/lib/pkgconfig/libzstd.pc
-- Installing: /Users/terrelln/install_test_dir/include/zstd.h
-- Installing: /Users/terrelln/install_test_dir/include/zbuff.h
-- Installing: /Users/terrelln/install_test_dir/include/zdict.h
-- Installing: /Users/terrelln/install_test_dir/include/zstd_errors.h
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.1.3.4.dylib
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.dylib
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.a
-- Installing: /Users/terrelln/install_test_dir/bin/zstd
-- Up-to-date: /Users/terrelln/install_test_dir/bin/zstd
-- Installing: /Users/terrelln/install_test_dir/bin/zstdcat
-- Installing: /Users/terrelln/install_test_dir/bin/unzstd
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/zstd.1
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/zstdcat.1
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/unzstd.1
-- Installing: /Users/terrelln/install_test_dir/bin/zstdmt
-- Installing: /Users/terrelln/install_test_dir/bin/pzstd
-- Installing: /Users/terrelln/install_test_dir/zstd_manual.html
```
Yann Collet [Mon, 26 Mar 2018 17:21:49 +0000 (10:21 -0700)]
updated NEWS for v1.3.4
Yann Collet [Mon, 26 Mar 2018 16:55:10 +0000 (09:55 -0700)]
updated VS studio readme
Yann Collet [Mon, 26 Mar 2018 16:21:12 +0000 (09:21 -0700)]
Merge pull request #1065 from HaydnTrigg/dev
Generic Visual Studio 2017 build script
Yann Collet [Mon, 26 Mar 2018 01:26:42 +0000 (18:26 -0700)]
Merge pull request #1072 from facebook/srcPackage
Src package
Yann Collet [Mon, 26 Mar 2018 01:26:24 +0000 (18:26 -0700)]
Merge pull request #1074 from rxrbln/dev
fixed legacy/zstd_v* with older gcc version, by guarding builtin_*
René Rebe [Sun, 25 Mar 2018 18:35:15 +0000 (20:35 +0200)]
fixed legacy/zstd_v* with older gcc version, by guarding builtin_*
like in other files
Haydn Trigg [Sun, 25 Mar 2018 15:33:53 +0000 (02:03 +1030)]
Swapped VS2017 preference order
Yann Collet [Sat, 24 Mar 2018 16:55:13 +0000 (09:55 -0700)]
Merge branch 'dev' into srcPackage
Yann Collet [Sat, 24 Mar 2018 16:52:26 +0000 (09:52 -0700)]
Merge pull request #1073 from facebook/hasAttribute
make `DYNAMIC_BMI2` support of `clang` conditional to `__has_attribute()`
Yann Collet [Sat, 24 Mar 2018 02:04:48 +0000 (19:04 -0700)]
added __has_attribute() define for non-clang compilers
Yann Collet [Sat, 24 Mar 2018 01:45:42 +0000 (18:45 -0700)]
make DYNAMIC_BMI2 support of clang conditional to __has_attribute()
to support older clang versions such as 3.4
Yann Collet [Sat, 24 Mar 2018 01:39:53 +0000 (18:39 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Sat, 24 Mar 2018 01:39:42 +0000 (18:39 -0700)]
Revert "create .tar.zst source package"
This reverts commit
929608146a439c4bd28b989a5af47cb9afce2af5 .
Yann Collet [Sat, 24 Mar 2018 00:57:37 +0000 (17:57 -0700)]
make artifacts ande extended tests only on master
Yann Collet [Sat, 24 Mar 2018 00:57:11 +0000 (17:57 -0700)]
restored certutil command line
Yann Collet [Sat, 24 Mar 2018 00:52:16 +0000 (17:52 -0700)]
clean certutil output
Yann Collet [Sat, 24 Mar 2018 00:40:53 +0000 (17:40 -0700)]
added sha256 sig
Yann Collet [Sat, 24 Mar 2018 00:20:05 +0000 (17:20 -0700)]
created zstd archive from git archive
Yann Collet [Sat, 24 Mar 2018 00:06:11 +0000 (17:06 -0700)]
export zstd/master from github using svn
Yann Collet [Fri, 23 Mar 2018 23:52:32 +0000 (16:52 -0700)]
git clone master branch (hardcoded)
Yann Collet [Fri, 23 Mar 2018 23:49:34 +0000 (16:49 -0700)]
git clone for clean src tar
Yann Collet [Fri, 23 Mar 2018 23:36:18 +0000 (16:36 -0700)]
added tar command
Yann Collet [Fri, 23 Mar 2018 23:27:28 +0000 (16:27 -0700)]
added path print
Yann Collet [Fri, 23 Mar 2018 23:24:54 +0000 (16:24 -0700)]
removed src artifact lines
Yann Collet [Fri, 23 Mar 2018 23:23:23 +0000 (16:23 -0700)]
commented src archive lines
Yann Collet [Fri, 23 Mar 2018 23:15:56 +0000 (16:15 -0700)]
added srcPackage to list of branch producing artifacts
Yann Collet [Fri, 23 Mar 2018 22:00:04 +0000 (15:00 -0700)]
create .tar.zst source package
Yann Collet [Fri, 23 Mar 2018 21:25:42 +0000 (14:25 -0700)]
Merge pull request #1071 from terrelln/mt-pics
Add zstdmt long range mode graphs
Nick Terrell [Fri, 23 Mar 2018 21:06:05 +0000 (14:06 -0700)]
Add zstdmt long range mode graphs
Yann Collet [Fri, 23 Mar 2018 01:44:56 +0000 (18:44 -0700)]
updated graph for dictionary compression
Yann Collet [Fri, 23 Mar 2018 01:37:16 +0000 (18:37 -0700)]
Merge pull request #1069 from facebook/statusLine
restored simple status line during zstd compression
Yann Collet [Fri, 23 Mar 2018 01:22:10 +0000 (18:22 -0700)]
updated benchmark figures
Yann Collet [Fri, 23 Mar 2018 00:49:46 +0000 (17:49 -0700)]
restored simple status line during zstd compression
the more advanced one, featuring amount of data buffered,
is triggered on `-v`.
Yann Collet [Thu, 22 Mar 2018 17:38:33 +0000 (10:38 -0700)]
Merge pull request #1067 from facebook/targetLength
removed limit ZSTD_TARGETLENGTH_MAX
Yann Collet [Thu, 22 Mar 2018 17:38:17 +0000 (10:38 -0700)]
Merge pull request #1068 from terrelln/mt-fixes
Fix broken assertion
Yann Collet [Wed, 21 Mar 2018 23:45:15 +0000 (16:45 -0700)]
fixed fuzz test
Nick Terrell [Wed, 21 Mar 2018 23:20:30 +0000 (16:20 -0700)]
Fix broken assertion
The `avgJobSize` must not be lower than 256 KB for single-pass mode.
In `zstd.h` we say the minimum value for `ZSTD_p_jobSize` is 1 MB,
so ensure that we always pick a size >= 1 MB.
Found by libFuzzer fuzzer tests with large input limits.
Yann Collet [Wed, 21 Mar 2018 23:09:15 +0000 (16:09 -0700)]
fixed paramgrill
Yann Collet [Wed, 21 Mar 2018 22:54:44 +0000 (15:54 -0700)]
added large negative level test case
Yann Collet [Wed, 21 Mar 2018 22:50:05 +0000 (15:50 -0700)]
removed limit ZSTD_TARGETLENGTH_MAX
this makes it possible to specify extremely large negative compression levels,
achieving the side effect as "no compression".
It will also be possible to define larger targetlength for ultra compression mode.
There is no adverse side effect due to removing this limit.
Haydn Trigg [Wed, 21 Mar 2018 22:40:39 +0000 (09:10 +1030)]
Refined build script
Yann Collet [Wed, 21 Mar 2018 21:52:13 +0000 (14:52 -0700)]
Merge pull request #1062 from facebook/advancedDecompress
Advanced decompression API
Yann Collet [Wed, 21 Mar 2018 13:08:28 +0000 (06:08 -0700)]
Merge branch 'dev' into advancedDecompress
Yann Collet [Wed, 21 Mar 2018 12:59:39 +0000 (05:59 -0700)]
Merge pull request #1057 from facebook/lrmSettings
LRM parameters
Yann Collet [Wed, 21 Mar 2018 12:36:31 +0000 (05:36 -0700)]
Merge pull request #1063 from Varunram/manpage
Update man page variables in CMakeLists
Haydn Trigg [Wed, 21 Mar 2018 12:27:42 +0000 (22:57 +1030)]
Generic Visual Studio 2017 build script
Varunram [Wed, 21 Mar 2018 08:40:42 +0000 (14:10 +0530)]
Update man page variables in CMakeLists