]>
git.ipfire.org Git - thirdparty/zstd.git/log
Yann Collet [Mon, 14 May 2018 18:55:52 +0000 (11:55 -0700)]
Merge branch 'dev' into tableLevels
Yann Collet [Mon, 14 May 2018 18:53:58 +0000 (11:53 -0700)]
Merge pull request #1131 from facebook/zstdcli
minor: control numeric argument overflow
Yann Collet [Mon, 14 May 2018 18:52:53 +0000 (11:52 -0700)]
Merge pull request #1130 from facebook/man
fix #1115
Yann Collet [Mon, 14 May 2018 18:52:41 +0000 (11:52 -0700)]
Merge pull request #1129 from facebook/paramgrill
Paramgrill refactoring
Yann Collet [Mon, 14 May 2018 18:52:05 +0000 (11:52 -0700)]
Merge branch 'dev' into tableLevels
Yann Collet [Mon, 14 May 2018 16:59:43 +0000 (09:59 -0700)]
Merge pull request #1133 from felixhandte/travis-fix
Make Travis CI Run `apt-get update`
W. Felix Handte [Mon, 14 May 2018 15:55:21 +0000 (11:55 -0400)]
Travis CI Runs apt-get Update
Yann Collet [Mon, 14 May 2018 00:25:53 +0000 (17:25 -0700)]
paramgrill: use NB_LEVELS_TRACKED in loop
make it easier to generate/track more levels
than ZSTD_maxClevel()
Yann Collet [Mon, 14 May 2018 00:15:07 +0000 (17:15 -0700)]
update table for 128 KB blocks
Yann Collet [Sun, 13 May 2018 08:53:38 +0000 (01:53 -0700)]
update compression levels for large inputs
Yann Collet [Sat, 12 May 2018 21:29:33 +0000 (14:29 -0700)]
cli: control numeric argument overflow
exit on overflow
backported from paramgrill
added associated test case
Yann Collet [Sat, 12 May 2018 19:34:34 +0000 (12:34 -0700)]
minor : factor out errorOut()
Yann Collet [Sat, 12 May 2018 17:21:30 +0000 (10:21 -0700)]
fix #1115
Yann Collet [Sat, 12 May 2018 16:40:04 +0000 (09:40 -0700)]
paramgrill: subtle change in level spacing
distance between levels is slightly increased
to compensate for level 1 speed improvements
and the will to have stronger level 19
extending the range of speed to cover.
Yann Collet [Sat, 12 May 2018 02:43:08 +0000 (19:43 -0700)]
added programmable constraints
Yann Collet [Sat, 12 May 2018 00:32:26 +0000 (17:32 -0700)]
generalized use of readU32FromChar()
and check input overflow
Yann Collet [Fri, 11 May 2018 18:47:59 +0000 (11:47 -0700)]
Merge pull request #1128 from facebook/libdir
minor Makefile patch
Yann Collet [Fri, 11 May 2018 18:31:48 +0000 (11:31 -0700)]
minor patch, ensuring LIBDIR is created before installation
follow-up from #1123
Yann Collet [Thu, 10 May 2018 17:38:19 +0000 (10:38 -0700)]
Merge pull request #1123 from baruchsiach/fix-install-pc
lib/Makefile: create include directory before headers installation
Yann Collet [Wed, 9 May 2018 16:39:02 +0000 (09:39 -0700)]
Merge pull request #1124 from terrelln/playtests-gnu
Write to /dev/random for test
Nick Terrell [Tue, 8 May 2018 18:06:01 +0000 (11:06 -0700)]
Write to /dev/random for test
Baruch Siach [Tue, 8 May 2018 17:43:28 +0000 (20:43 +0300)]
lib/Makefile: create include directory before headers installation
Make sure that $(INCLUDEDIR) exists before copying the headers there.
Otherwise, the contest of header files is copied over
$(DESTDIR)$(INCLUDEDIR), making it a regular file.
While at it, remove $(DESTDIR)$(INCLUDEDIR) from the list of directories
to create in the install-pc target. The install-pc target does not need
this directory.
Yann Collet [Tue, 8 May 2018 00:13:59 +0000 (17:13 -0700)]
Merge pull request #1122 from facebook/fixCDictBlock
fix ZSTD_compressBlock() associated with ZSTD_CDict
Yann Collet [Mon, 7 May 2018 19:54:13 +0000 (12:54 -0700)]
fix ZSTD_compressBlock() associated with CDict
reported by @let-def.
It's actually a bug in ZSTD_compressBegin_usingCDict()
which would pass a wrong pledgedSrcSize value (0 instead of ZSTD_CONTENTSIZE_UNKNOWN)
resulting in wrong window size, resulting in downsized seqStore,
resulting in segfault when writing into the seqStore later in the process.
Added a test in fuzzer to cover this use case (fails before the patch).
Yann Collet [Fri, 4 May 2018 19:39:40 +0000 (12:39 -0700)]
Merge pull request #1120 from lamby/897904-libzstd-please-make-the-build-reproducible
Make the build reproducible
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