]>
git.ipfire.org Git - thirdparty/zstd.git/log
Bimba Shrestha [Wed, 8 Jul 2020 18:11:45 +0000 (11:11 -0700)]
removing min decomp
Yann Collet [Tue, 7 Jul 2020 15:51:20 +0000 (08:51 -0700)]
Merge pull request #2227 from yoshihitoh/single-file-dict-emscripten
[contrib] Fix single-file compilation error on Emscripten build.
yoshihitoh [Tue, 7 Jul 2020 10:10:12 +0000 (19:10 +0900)]
Change Emscripten docker image to the official one which is used for testing the single-file feature.
Yann Collet [Mon, 6 Jul 2020 23:06:49 +0000 (16:06 -0700)]
Merge pull request #2228 from marxin/rename-ZSTDMT_NBTHREADS_MAX
Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX.
Martin Liska [Mon, 6 Jul 2020 22:18:20 +0000 (00:18 +0200)]
Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX.
Rename it in zstd man page.
yoshihitoh [Tue, 30 Jun 2020 16:40:15 +0000 (01:40 +0900)]
Enable docker based Emscripten build on single file library test if emcc is not available.
Nick Terrell [Tue, 30 Jun 2020 00:19:24 +0000 (17:19 -0700)]
Merge pull request #2220 from dkcasset/fix-lib-Makefile-older-sed-version
Replace -E option with equivalent -r for older versions of sed
Nick Terrell [Tue, 30 Jun 2020 00:14:50 +0000 (17:14 -0700)]
Merge pull request #2221 from BioDataAnalysis/bda_install_dll
Install MSVC runtime shared libraries (DLL) with cmake
dkcasset [Mon, 29 Jun 2020 20:44:23 +0000 (13:44 -0700)]
Add variable for sed extended RE option (defaults to -E)
Mario Emmenlauer [Mon, 29 Jun 2020 09:09:31 +0000 (11:09 +0200)]
build/cmake/lib/CMakeLists.txt: Install shared library (dll) for Windows
yoshihitoh [Mon, 29 Jun 2020 01:51:50 +0000 (10:51 +0900)]
Rename static vars to avoid redefinition error.
dkcasset [Fri, 26 Jun 2020 17:43:28 +0000 (10:43 -0700)]
Replace -E option with equivalent -r for older versions of sed
Nick Terrell [Tue, 23 Jun 2020 00:41:18 +0000 (17:41 -0700)]
Merge pull request #2218 from terrelln/assert-seq
Fix unused variable warnings in fuzzing build mode without asserts
Nick Terrell [Tue, 23 Jun 2020 00:41:13 +0000 (17:41 -0700)]
Merge pull request #2217 from terrelln/cover-redundant
[cover] Remove unnecessary mask and dedup hash functions
Nick Terrell [Tue, 23 Jun 2020 00:41:03 +0000 (17:41 -0700)]
Merge pull request #2209 from Niadb/dev
Explicitly use __cdecl for qsort, to avoid warning when default calling convention is not __cdecl
Nick Terrell [Mon, 22 Jun 2020 19:56:57 +0000 (12:56 -0700)]
Fix unused variable warnings in fuzzing build mode without asserts
Fix unused vairable warnings when `FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION` is defined but asserts are disabled.
Fixes #2210.
Nick Terrell [Mon, 22 Jun 2020 19:52:13 +0000 (12:52 -0700)]
[cover] Remove unnecessary mask and dedup hash functions
* Remove the unnecessary mask, since `ZSTD_hash*()` already ensures
the output is mod 2^h.
* Dedup the hash functions and use `ZSTD_hash*()` directly.
Nick Terrell [Mon, 22 Jun 2020 19:46:54 +0000 (12:46 -0700)]
Merge pull request #2212 from cwoffenden/single-file-dict
Single-file libs now include dictBuilder
Nick Terrell [Mon, 22 Jun 2020 19:27:58 +0000 (12:27 -0700)]
Merge pull request #2214 from terrelln/superblock-cross-entropy
[superblock] Add defensive assert and bounds check
Nick Terrell [Mon, 22 Jun 2020 17:21:38 +0000 (10:21 -0700)]
[superblock] Add defensive assert and bounds check
The bound check condition should always be met because we selected `set_basic` as
our encoding type. But that code is very far away, so assert it is true so if it is
ever false we can catch it, and add a bounds check.
Fixes #2213.
Carl Woffenden [Mon, 22 Jun 2020 09:54:24 +0000 (11:54 +0200)]
Renamed cover and fast cover hash functions/vars
Carl Woffenden [Mon, 22 Jun 2020 08:31:36 +0000 (10:31 +0200)]
Initial implementation (files added, macros fixed)
Hashing functions still to fix.
Niadb [Fri, 19 Jun 2020 15:51:00 +0000 (09:51 -0600)]
Update compiler.h
clean wording
Niadb [Fri, 19 Jun 2020 15:48:35 +0000 (09:48 -0600)]
Update compiler.h
Added a comment explaining the purpose of the WIN_CDECL macro
Niadb [Fri, 19 Jun 2020 09:34:05 +0000 (03:34 -0600)]
Add files via upload
Niadb [Fri, 19 Jun 2020 09:32:11 +0000 (03:32 -0600)]
Add files via upload
Niadb [Fri, 19 Jun 2020 09:31:47 +0000 (03:31 -0600)]
Add files via upload
Bimba Shrestha [Thu, 18 Jun 2020 22:18:31 +0000 (17:18 -0500)]
Merge pull request #2208 from bimbashrestha/arm-actions
[actions] adding arm to actions
Bimba Shrestha [Thu, 18 Jun 2020 18:52:40 +0000 (11:52 -0700)]
adding arm to actions
Bimba Shrestha [Thu, 18 Jun 2020 18:10:11 +0000 (13:10 -0500)]
Merge pull request #2206 from bimbashrestha/stream-size
[cli] Allowing stdin on --patch-from using --stream-size
Bimba Shrestha [Thu, 18 Jun 2020 16:36:36 +0000 (09:36 -0700)]
adding --patch-from --stream-size test
Bimba Shrestha [Thu, 18 Jun 2020 16:31:06 +0000 (09:31 -0700)]
error when not using --stream-size on pipe
Bimba Shrestha [Thu, 18 Jun 2020 16:28:18 +0000 (09:28 -0700)]
passing streamSrcSize when set
Bimba Shrestha [Tue, 16 Jun 2020 00:41:55 +0000 (19:41 -0500)]
Merge pull request #2205 from bimbashrestha/cmake
Removing de-duplication of cmake flags
Bimba Shrestha [Mon, 15 Jun 2020 21:58:53 +0000 (14:58 -0700)]
removing deduplicatin of flags
Yann Collet [Mon, 15 Jun 2020 20:04:45 +0000 (13:04 -0700)]
added paragraph on static analysis pitfalls
Nick Terrell [Mon, 15 Jun 2020 17:54:33 +0000 (10:54 -0700)]
Merge pull request #2202 from terrelln/dict-fi
[lib] Allow compression dictionaries with missing symbols
Nick Terrell [Sat, 13 Jun 2020 00:48:39 +0000 (17:48 -0700)]
[lib] Allow compression dictionaries with missing symbols
Allow compression to use dictionaries with missing symbols in their
entropy tables. We set the FSE repeat mode to check when there are
missing symbols, and set the FSE repeat mode to valid when all symbols
are present.
Note that when not all symbols are present, the heuristics which favor
dictionary tables for lower compression levels won't activate.
Tested by manually creating a dictionary with missing symbols of every
type, and validing that the compressor rejects it before this change,
and accepts it after this change. Also, I ran the `dictionary_loader`
fuzzer for >1 hour of CPU time without running into cases where
compression succeeds, but decompression fails.
Fixes #2174.
Yann Collet [Thu, 11 Jun 2020 09:04:04 +0000 (02:04 -0700)]
Merge pull request #2196 from tru/dumpversion_argument
Make --version respect -q for ouptut a shorter version string
Tobias Hieta [Thu, 11 Jun 2020 08:56:47 +0000 (10:56 +0200)]
Update version documention with the support for -q
Tobias Hieta [Mon, 8 Jun 2020 12:06:37 +0000 (14:06 +0200)]
Short version string output
This adds support for just showing the version string
without the full welcome message if the log level is
less than the default. That means that you pass -q once
and you will just see "1.4.5".
This makes it easier to parse in scripts.
Bimba Shrestha [Fri, 5 Jun 2020 17:00:04 +0000 (12:00 -0500)]
Merge pull request #2193 from bimbashrestha/typos
Fixing some typos
Bimba Shrestha [Fri, 5 Jun 2020 08:19:30 +0000 (03:19 -0500)]
Spelling mistakes
Yann Collet [Wed, 3 Jun 2020 20:26:52 +0000 (13:26 -0700)]
Merge pull request #2190 from facebook/playTest_improvement
Check environmental variables in playTests.sh and add default values
Shaojing Li [Wed, 3 Jun 2020 18:36:38 +0000 (11:36 -0700)]
fix the if statements in posix sh env
Shaojing Li [Wed, 3 Jun 2020 17:49:21 +0000 (10:49 -0700)]
check env variables and add default values
Bimba Shrestha [Tue, 2 Jun 2020 18:07:36 +0000 (13:07 -0500)]
Merge pull request #2187 from bimbashrestha/bourne
[ci] Adding bourne shell compatibility test
Bimba Shrestha [Tue, 2 Jun 2020 17:32:12 +0000 (12:32 -0500)]
Merge pull request #2186 from bimbashrestha/dll-install
[cmake] Fix dll install location
Bimba Shrestha [Tue, 2 Jun 2020 16:15:24 +0000 (09:15 -0700)]
excluding ls | grep warning
Bimba Shrestha [Tue, 2 Jun 2020 16:12:50 +0000 (09:12 -0700)]
[shellcheck] setting if unset
Bimba Shrestha [Tue, 2 Jun 2020 16:12:13 +0000 (09:12 -0700)]
[shellcheck] adding quotes to expansion
Bimba Shrestha [Tue, 2 Jun 2020 16:08:16 +0000 (09:08 -0700)]
adding shellcheck bourne test
Bimba Shrestha [Tue, 2 Jun 2020 16:07:45 +0000 (09:07 -0700)]
newline lints (ignore)
Bimba Shrestha [Tue, 2 Jun 2020 14:45:06 +0000 (07:45 -0700)]
DLL install fix for https://github.com/facebook/zstd/issues/2160
Credit goes to @xantares
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Yann Collet [Fri, 29 May 2020 20:49:38 +0000 (13:49 -0700)]
Merge pull request #2181 from facebook/makejall
fixed double-compilation of lib with make -j all
Yann Collet [Fri, 29 May 2020 19:40:59 +0000 (12:40 -0700)]
added comment on $(Q)
Yann Collet [Fri, 29 May 2020 19:09:51 +0000 (12:09 -0700)]
fixed double-compilation of lib with make -j all
also implemented verbose mode (make V=1)
Felix Handte [Thu, 28 May 2020 17:07:18 +0000 (13:07 -0400)]
Merge pull request #2133 from felixhandte/single-size-calculation
Consolidate CCtx Size Estimation Code
Bimba Shrestha [Tue, 26 May 2020 21:30:11 +0000 (16:30 -0500)]
Merge pull request #2180 from facebook/generic-release
[actions] Migrating 2nd batch of tests from Travis to Github Actions
Yann Collet [Tue, 26 May 2020 20:15:35 +0000 (13:15 -0700)]
minor markdown formatting fix
Bimba Shrestha [Tue, 26 May 2020 20:12:00 +0000 (15:12 -0500)]
Create generic-release.yml
Bimba Shrestha [Tue, 26 May 2020 18:03:17 +0000 (13:03 -0500)]
Merge pull request #2137 from facebook/generic-dev
[actions] Migrating 1st batch of tests from Travis to Github Actions
Bimba Shrestha [Tue, 26 May 2020 17:26:22 +0000 (12:26 -0500)]
Merge pull request #2178 from bimbashrestha/quick-fix
Change --patch-from limit from 4gb to 2gb
Bimba Shrestha [Tue, 26 May 2020 16:23:26 +0000 (09:23 -0700)]
Using ZSTD_MAX_WINDOWLOG instead of INT_MAX
Yann Collet [Tue, 26 May 2020 15:55:34 +0000 (08:55 -0700)]
Merge pull request #2176 from facebook/make_implicit
fixed default rule for lib/Makefile
Yann Collet [Tue, 26 May 2020 15:54:10 +0000 (08:54 -0700)]
Merge pull request #2177 from facebook/dictID0
updated spec on dictID==0
Bimba Shrestha [Tue, 26 May 2020 13:52:30 +0000 (06:52 -0700)]
Change --patch-from limit from 4gb to 2gb
Yann Collet [Mon, 25 May 2020 15:15:09 +0000 (08:15 -0700)]
updated spec on dictID==0
Specified decoder behavior on receiving a frame with dictID=0.
Pushed paragraph on reserved DictID ranges into the Dictionary Format section.
Yann Collet [Mon, 25 May 2020 13:50:45 +0000 (06:50 -0700)]
fixed default rule for lib/Makefile
default rule is `lib-release`
`lib-release` wasn't working : it was just skipped.
Removing `lib-release` from the list of .PHONY targets fixes it.
Same for `lib-mt`.
Nick Terrell [Sat, 23 May 2020 06:38:27 +0000 (23:38 -0700)]
Merge pull request #2167 from terrelln/pzstd-ms-fix
[pzstd] Fix compilation error in MinGW
Nick Terrell [Sat, 23 May 2020 05:26:02 +0000 (22:26 -0700)]
[pzstd] Fix compilation error in MinGW
Yann Collet [Sat, 23 May 2020 00:16:23 +0000 (17:16 -0700)]
Merge pull request #2166 from facebook/donotinstall_zbuffh
do not install zbuff.h
Yann Collet [Fri, 22 May 2020 22:35:54 +0000 (15:35 -0700)]
do not install zbuff.h
this API is deprecated, for a loong time now,
all related symbols will be removed in a future version (likely v1.5.0)
and the header file `zbuff.h` doesn't compile from `include/` anyway,
because it needs to be positioned one directory below `zstd.h`.
Also removed `cover.h` from `cmake` installer,
as it should have never been part of this list to begin with.
Yann Collet [Fri, 22 May 2020 16:55:17 +0000 (09:55 -0700)]
Merge pull request #2163 from orivej/fix-legacy-build
Fix legacy build after #2103
Orivej Desh [Fri, 22 May 2020 12:48:02 +0000 (12:48 +0000)]
Fix legacy build after #2103
Yann Collet [Fri, 22 May 2020 05:04:00 +0000 (22:04 -0700)]
Merge pull request #2154 from facebook/dev
v1.4.5
Yann Collet [Fri, 22 May 2020 03:50:50 +0000 (20:50 -0700)]
Merge pull request #2159 from facebook/visual_playTests
Fix playTests.sh
Yann Collet [Fri, 22 May 2020 01:06:43 +0000 (18:06 -0700)]
fixed environment variables
Yann Collet [Thu, 21 May 2020 23:45:02 +0000 (16:45 -0700)]
Merge branch 'dev' into visual_playTests
Yann Collet [Thu, 21 May 2020 23:07:56 +0000 (16:07 -0700)]
Merge pull request #2158 from facebook/meson_fix
fix meson playTests.sh
Yann Collet [Thu, 21 May 2020 21:19:28 +0000 (14:19 -0700)]
fix meson playTests.sh
Yann Collet [Thu, 21 May 2020 17:26:40 +0000 (10:26 -0700)]
try to fix PPC64 Qemu tests
Yann Collet [Thu, 21 May 2020 16:44:52 +0000 (09:44 -0700)]
Merge pull request #2155 from facebook/fix_zbufftest
fixed zbuff test
Yann Collet [Thu, 21 May 2020 05:56:25 +0000 (22:56 -0700)]
fixed appveyor long tests
playTests changed variable name
Yann Collet [Thu, 21 May 2020 07:22:52 +0000 (00:22 -0700)]
fixed zbuff test
error introduced in https://github.com/facebook/zstd/blame/
3b39ce6b527c5cfe395a187c75b77baf5cc7de02 /.travis.yml#L192
Yann Collet [Wed, 20 May 2020 00:41:51 +0000 (17:41 -0700)]
Merge pull request #2153 from terrelln/ldm-dict-reset
[ldm][mt] Fix loadedDictEnd
Nick Terrell [Tue, 19 May 2020 23:14:14 +0000 (16:14 -0700)]
[test] Update the ldm loadedDictEnd test to cover zstdmt
Nick Terrell [Tue, 19 May 2020 22:55:03 +0000 (15:55 -0700)]
[ldm][mt] Fix loadedDictEnd
Nick Terrell [Tue, 19 May 2020 19:56:11 +0000 (12:56 -0700)]
Merge pull request #2152 from terrelln/simple-rt-bound
[fuzz] Expand the allowedExpansion
Nick Terrell [Tue, 19 May 2020 18:42:53 +0000 (11:42 -0700)]
[fuzz] Expand the allowedExpansion
Yann Collet [Tue, 19 May 2020 04:05:10 +0000 (21:05 -0700)]
fix 22294 (#2151)
Nick Terrell [Tue, 19 May 2020 01:33:01 +0000 (18:33 -0700)]
Merge pull request #2150 from terrelln/ldm-dict-reset
[ldm] Reset loadedDictEnd when the context is reset
Nick Terrell [Mon, 18 May 2020 22:11:02 +0000 (15:11 -0700)]
[test] Test that the ldm dictionary gets invalidated on reset
Nick Terrell [Mon, 18 May 2020 19:56:34 +0000 (12:56 -0700)]
[test] Improve LDM forceMaxWindow test
Felix Handte [Mon, 18 May 2020 19:47:17 +0000 (15:47 -0400)]
Merge pull request #2148 from felixhandte/fix-2144
Don't Use `[[` in Shell Scripts
Nick Terrell [Mon, 18 May 2020 19:35:44 +0000 (12:35 -0700)]
[ldm] Reset loadedDictEnd when the context is reset
W. Felix Handte [Mon, 18 May 2020 18:54:06 +0000 (14:54 -0400)]
Don't Use `[[` in Shell Scripts
Felix Handte [Mon, 18 May 2020 15:53:28 +0000 (11:53 -0400)]
Merge pull request #2146 from cwoffenden/combine-script-fixes
Reduced single file lib size on macOS
Carl Woffenden [Mon, 18 May 2020 10:33:44 +0000 (12:33 +0200)]
Minor tidy
Carl Woffenden [Mon, 18 May 2020 08:12:02 +0000 (10:12 +0200)]
Reduced generated sized on macOS (and other envs where realpath is missing)
Added Python fallback for when realpath fails.