-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release v1.5.4 #3487
release v1.5.4 #3487
Commits on Dec 14, 2022
-
Refactor progress bar & summary line logic
* Centralize the logic about whether to print the progress bar or not in the `*_PROGRESS()` macros. * Centralize the logc about whether to print the summary line or not in `FIO_shouldDisplayFileSummary()` and `FIO_shouldDisplayMultipleFileSummary()`. * Make `--progress` work for non-zstd (de)compressors. * Clean up several edge cases in compression and decompression progress printing along the way. E.g. wrong log level, or missing summary line. One thing I don't like about stdout mode, which sets the display level to 1, is that warnings aren't displayed. After this PR, we could change stdout mode from lowering the display level, to defaulting to implied `--no-progress`. But, I think that deserves a separate PR.
Configuration menu - View commit details
-
Copy full SHA for fbff782 - Browse repository at this point
Copy the full SHA fbff782View commit details
Commits on Dec 15, 2022
-
Use proper unaligned access attributes
Instead of using packed attribute hack, just use aligned attribute. It improves code generation on armv6 and armv7, and slightly improves code generation on aarch64. GCC generates identical code to regular aligned access on ARMv6 for all versions between 4.5 and trunk, except GCC 5 which is buggy and generates the same (bad) code as packed access: https://gcc.godbolt.org/z/hq37rz7sb
Configuration menu - View commit details
-
Copy full SHA for a78c91a - Browse repository at this point
Copy the full SHA a78c91aView commit details -
[fileio] Separate parameter adaption from display update rate
Split the logic for parameter adaption from the logic to update the display rate. This decouples the two updates, so changes to display updates don't affect parameter adaption. Also add a test case that checks that parameter adaption actually happens. This fixes Issue #3353, where --adapt is broken when --no-progress is passed.
Configuration menu - View commit details
-
Copy full SHA for 15f32ad - Browse repository at this point
Copy the full SHA 15f32adView commit details -
[decompress] Fix nullptr addition & improve fuzzer
Fix an instance of `NULL + 0` in `ZSTD_decompressStream()`. Also, improve our `stream_decompress` fuzzer to pass `NULL` in/out buffers to `ZSTD_decompressStream()`, and fix 2 issues that were immediately surfaced. Fixes #3351
Configuration menu - View commit details
-
Copy full SHA for f31b83f - Browse repository at this point
Copy the full SHA f31b83fView commit details -
[legacy] Remove FORCE_MEMORY_ACCESS and only use memcpy
Delete unaligned memory access code from the legacy codebase by removing all the non-memcpy functions. We don't care about speed at all for this codebase, only simplicity.
Configuration menu - View commit details
-
Copy full SHA for 728e73e - Browse repository at this point
Copy the full SHA 728e73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2fc933 - Browse repository at this point
Copy the full SHA e2fc933View commit details -
Merge pull request #3352 from daniellerozenblit/http-to-https
Convert references to https from http
Configuration menu - View commit details
-
Copy full SHA for 6e3667a - Browse repository at this point
Copy the full SHA 6e3667aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be3181 - Browse repository at this point
Copy the full SHA 6be3181View commit details -
Fix corruption that rarely occurs in 32-bit mode with wlog=25
Fix an off-by-one error in the compressor that emits corrupt blocks if: * Zstd is compiled in 32-bit mode * The windowLog == 25 exactly * An offset of 2^25-3, 2^25-2, 2^25-1, or 2^25 is emitted * The bitstream had 7 bits leftover before writing the offset This bug has been present since before v1.0, but wasn't able to easily be triggered, since until somewhat recently zstd wasn't able to find matches that were within 128KB of the window size. Add a test case, and fix 2 bugs in `ZSTD_compressSequences()`: * The `ZSTD_isRLE()` check was incorrect. It wouldn't produce corruption, but it could waste CPU and not emit RLE even if the block was RLE * One windowSize was `1 << windowLog`, not `1u << windowLog` Thanks to @tansy for finding the issue, and giving us a reproducer! Fixes Issue #3350.
Configuration menu - View commit details
-
Copy full SHA for a91e7ec - Browse repository at this point
Copy the full SHA a91e7ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45ed0df - Browse repository at this point
Copy the full SHA 45ed0dfView commit details -
meson: partial fix for building pzstd on MSVC
It uses non-portable compiler options unconditionally. Elsewhere, we check the compiler ID and only add the right ones, globally. Do the same here. NDEBUG can actually be handled by a core option, so while we are moving things around, do so. Unfortunately, this doesn't fix things entirely. The remaining issue is not Meson's issue though -- MSVC simply does not like this source code and somehow chokes on innocent code with the inscrutable "syntax error" and "illegal token".
Configuration menu - View commit details
-
Copy full SHA for e0ef09d - Browse repository at this point
Copy the full SHA e0ef09dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bc9dfe - Browse repository at this point
Copy the full SHA 1bc9dfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26e8c65 - Browse repository at this point
Copy the full SHA 26e8c65View commit details
Commits on Dec 16, 2022
-
meson: fix broken commit that broke the build
In commit 031de3c some code was added that returned a boolean, but was treated as if it returned a dependency object. This wasn't tested and could not work. Moreover, zstd no longer built at all unless the entire programs directory was disabled and not even evaluated. Fix the return type checking.
Configuration menu - View commit details
-
Copy full SHA for e8401e9 - Browse repository at this point
Copy the full SHA e8401e9View commit details -
meson: fix warning for using too-new features
In commit 031de3c a feature of Meson 0.50.0 was added, but the minimum specified version of Meson is 0.48.0. Meson therefore emitted a warning: WARNING: Project targets '>=0.48.0' but uses feature introduced in '0.50.0': required arg in compiler.has_header. And if anyone actually used Meson 0.48.0 to build with, it would error out with mysterious claims that the build file itself is invalid, rather than telling the user to install a newer version of Meson. Solve this by bumping the minimum version to align with reality. This e.g. drops support for Debian oldstable (buster)'s packaged version of Meson, but still works if backports are enabled, or if the user can `pip install` a newer version.
Configuration menu - View commit details
-
Copy full SHA for 626425d - Browse repository at this point
Copy the full SHA 626425dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6475c - Browse repository at this point
Copy the full SHA ee6475cView commit details -
Merge pull request #3368 from eli-schwartz/meson-execinfo-bool
meson: fix broken commit that broke the build
Configuration menu - View commit details
-
Copy full SHA for 8745229 - Browse repository at this point
Copy the full SHA 8745229View commit details -
[circleci] Try to re-enable aarch64build
Update CircleCI to focal and try to re-enable aarch64build. Fixes #2785 if it works.
Configuration menu - View commit details
-
Copy full SHA for ef566c8 - Browse repository at this point
Copy the full SHA ef566c8View commit details -
meson: don't require valgrind tests
It's entirely possible some people don't have valgrind installed, but still want to run the tests. If they don't have it installed, then they probably don't intend to run those precise test targets anyway. Also, this solves an error when running the tests in an automated environment. The valgrind tests have a hard dependency on behavior such as `./zstd` erroring out with the message "stdin is a console, aborting" which does not work if the automated environment doesn't have a console. As a rough heuristic, automated environments lacking a console will *probably* also not have valgrind, so avoiding that test definition neatly sidesteps the issue. Also, valgrind is not easily installable on macOS, at least homebrew says it isn't available there. This makes it needlessly hard to enable the testsuite on macOS.
Configuration menu - View commit details
-
Copy full SHA for 26134b4 - Browse repository at this point
Copy the full SHA 26134b4View commit details -
meson: add support for running both fast and slow version of tests
playTests.sh has an option to run really slow tests. This is enabled by default in Meson, but what we really want is to do like the Makefile, and run the fast ones by default, but with an option to run the slow ones instead.
Configuration menu - View commit details
-
Copy full SHA for 9c3e18f - Browse repository at this point
Copy the full SHA 9c3e18fView commit details -
Travis is no longer run, but this wasn't ported to something else.
Configuration menu - View commit details
-
Copy full SHA for 7f29c18 - Browse repository at this point
Copy the full SHA 7f29c18View commit details -
There are a couple of oddities here. We don't attempt to build e.g. contrib, because that doesn't seem to work at the moment. Also notice that each command is its own step. This happens because github actions runs in powershell, which doesn't seem to let you abort on the first failure.
4Configuration menu - View commit details
-
Copy full SHA for 937e9d3 - Browse repository at this point
Copy the full SHA 937e9d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6747ba4 - Browse repository at this point
Copy the full SHA 6747ba4View commit details -
It seems like with the deletion of Travis CI we didn't successfully transfer the version compatibility test. Attempt to enable the version compatibility test.
Configuration menu - View commit details
-
Copy full SHA for 5850839 - Browse repository at this point
Copy the full SHA 5850839View commit details -
added unit tests for compressBound()
and rephrased the code documentation, as suggested by @terrelln
Configuration menu - View commit details
-
Copy full SHA for 97f63ce - Browse repository at this point
Copy the full SHA 97f63ceView commit details -
[api][visibility] Make the visibility macros more consistent
1. Follow the scheme introduced in PR #2501 for both `zdict.h` and `zstd_errors.h`. 2. If the `*_VISIBLE` macro isn't set, but the `*_VISIBILITY` macro is, use that. Also make this change for `zstd.h`, since we probably shouldn't have changed that macro name without backward compatibility in the first place. 3. Change all references to `*_VISIBILITY` to `*_VISIBLE`. Fixes #3359.
Configuration menu - View commit details
-
Copy full SHA for 358a237 - Browse repository at this point
Copy the full SHA 358a237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c42424 - Browse repository at this point
Copy the full SHA 0c42424View commit details -
[zdict] Fix static linking only include guards
Fix `zdict.h` static linking only section so if you include it twice it still exposes the static linking only symbols. E.g. this pattern: ``` ``` This can easily happen when a header you include includes `zdict.h`.
Configuration menu - View commit details
-
Copy full SHA for 2f7b8d4 - Browse repository at this point
Copy the full SHA 2f7b8d4View commit details -
Merge pull request #3362 from facebook/compressBound
check potential overflow of compressBound()
Configuration menu - View commit details
-
Copy full SHA for 51355e1 - Browse repository at this point
Copy the full SHA 51355e1View commit details -
fixed an overflow in an intermediate result on 32-bit platform. Checked that the new test catch this bug in 32-bit mode.
Configuration menu - View commit details
-
Copy full SHA for ea24b88 - Browse repository at this point
Copy the full SHA ea24b88View commit details
Commits on Dec 17, 2022
-
make ZSTD_DECOMPRESSBOUND() compatible with input size 0
for environments with stringent compilation warnings.
Configuration menu - View commit details
-
Copy full SHA for 2f4238e - Browse repository at this point
Copy the full SHA 2f4238eView commit details -
Merge pull request #3373 from facebook/decompressBound
decompressBound tests and fix
Configuration menu - View commit details
-
Copy full SHA for 3a484ef - Browse repository at this point
Copy the full SHA 3a484efView commit details -
Merge pull request #3120 from eli-schwartz/meson-fixup
Meson test fixups
Configuration menu - View commit details
-
Copy full SHA for ce61cb8 - Browse repository at this point
Copy the full SHA ce61cb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3867c41 - Browse repository at this point
Copy the full SHA 3867c41View commit details -
Merge pull request #3374 from yoniko/fix-meson-ci-dependancy
Fix Meson-Windows CI test by pulling a more recent version msvc-dev-cmd
Configuration menu - View commit details
-
Copy full SHA for fba704f - Browse repository at this point
Copy the full SHA fba704fView commit details -
Fixes two bugs in the Windows thread / pthread translation layer
1. If threads are resized the threads' `ZSTD_pthread_t` might move while the worker still holds a pointer into it (see more details in #3120). 2. The join operation was waiting for a thread and then return its `thread.arg` as a return value, but since the `ZSTD_pthread_t thread` was passed by value it would have a stale `arg` that wouldn't match the thread's actual return value. This fix changes the `ZSTD_pthread_join` API and removes support for returning a value. This means that we are diverging from the `pthread_join` API and this is no longer just an alias. In the future, if needed, we could return a Windows thread's return value using `GetExitCodeThread`, but as this path wouldn't be excised in any case, it's preferable to not add it right now.
Configuration menu - View commit details
-
Copy full SHA for 500f02e - Browse repository at this point
Copy the full SHA 500f02eView commit details -
Fix race condition in the Windows thread / pthread translation layer
When spawning a Windows thread we have small worker wrapper function that translates between the interfaces of Windows and POSIX threads. This wrapper is given a pointer that might get stale before the worker starts running, resulting in UB and crashes. This commit adds synchronization so that we know the wrapper has finished reading the data it needs before we allow the main thread to resume execution.
Configuration menu - View commit details
-
Copy full SHA for ec42c92 - Browse repository at this point
Copy the full SHA ec42c92View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaa38b2 - Browse repository at this point
Copy the full SHA aaa38b2View commit details
Commits on Dec 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 832c1a6 - Browse repository at this point
Copy the full SHA 832c1a6View commit details
Commits on Dec 19, 2022
-
Bump ossf/scorecard-action from 2.0.6 to 2.1.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@99c5375...937ffa9) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 6554596 - Browse repository at this point
Copy the full SHA 6554596View commit details -
Bump github/codeql-action from 1.0.26 to 2.1.37
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.26 to 2.1.37. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@5f53256...959cbb7) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 79a00f8 - Browse repository at this point
Copy the full SHA 79a00f8View commit details -
Merge pull request #3376 from facebook/split2
Block splitter : minor reformatting
Configuration menu - View commit details
-
Copy full SHA for 9073fe0 - Browse repository at this point
Copy the full SHA 9073fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cee69a - Browse repository at this point
Copy the full SHA 3cee69aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67cd24b - Browse repository at this point
Copy the full SHA 67cd24bView commit details -
[pzstd] Fixes for Windows build
* Add `Portability.h` to fix min/max issues. * Fix conversion warnings * Assert that windowLog <= 23, which is currently always the case. This could be loosened, but we aren't looking to add new functionality. Fixes on top of PR #3375 by @eli-schwartz, which added Windows CI for contrib & programs.
Configuration menu - View commit details
-
Copy full SHA for e9797b5 - Browse repository at this point
Copy the full SHA e9797b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f1bf7 - Browse repository at this point
Copy the full SHA 26f1bf7View commit details -
Merge pull request #3364 from yoniko/fix-windows-mt-thread-resize-bug
Windows MT layer bug fixes
Configuration menu - View commit details
-
Copy full SHA for a8add43 - Browse repository at this point
Copy the full SHA a8add43View commit details
Commits on Dec 20, 2022
-
Merge pull request #3289 from nmoinvaz/cmake/playtest-win
Don't attempt playTests.sh cmake test if running on Windows.
Configuration menu - View commit details
-
Copy full SHA for 6a90c0f - Browse repository at this point
Copy the full SHA 6a90c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a05cca6 - Browse repository at this point
Copy the full SHA a05cca6View commit details -
Update Copyright Headers 'Facebook' -> 'Meta Platforms'
``` for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora \) -prune -o -type f); do sed -i 's/Facebook, Inc\./Meta Platforms, Inc. and affiliates./' $f; done ```
Configuration menu - View commit details
-
Copy full SHA for 8927f98 - Browse repository at this point
Copy the full SHA 8927f98View commit details -
Update Copyright Year ('2021' -> 'present')
``` for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora -o -path ./tests/regression/data-cache -o -path ./tests/regression/cache \) -prune -o -type f); do sed -i 's/\-2021/-present/' $f; done g co HEAD -- .github/workflows/dev-short-tests.yml # fix bad match ```
Configuration menu - View commit details
-
Copy full SHA for 36d5c2f - Browse repository at this point
Copy the full SHA 36d5c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c999cf - Browse repository at this point
Copy the full SHA 4c999cfView commit details -
Rewrite Copyright Date Ranges from
-present
to-2022
Apparently it's better. Somehow. ``` for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora -o -path ./tests/regression/data-cache -o -path ./tests/regression/cache \) -prune -o -type f); do echo $f; sed -i 's/\-present/-2022/' $f; done g co HEAD -- build/meson/ ```
Configuration menu - View commit details
-
Copy full SHA for 7f12f24 - Browse repository at this point
Copy the full SHA 7f12f24View commit details -
Coalesce Almost All Copyright Notices to Standard Phrasing
``` for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora -o -path ./tests/regression/data-cache -o -path ./tests/regression/cache \) -prune -o -type f); do sed -i '/Copyright .* \(Yann Collet\)\|\(Meta Platforms\)/ s/Copyright .*/Copyright (c) Meta Platforms, Inc. and affiliates./' $f; done git checkout HEAD -- build/VS2010/libzstd-dll/libzstd-dll.rc build/VS2010/zstd/zstd.rc tests/test-license.py contrib/linux-kernel/test/include/linux/xxhash.h examples/streaming_compression_thread_pool.c lib/legacy/zstd_v0*.c lib/legacy/zstd_v0*.h nano ./programs/windres/zstd.rc nano ./build/VS2010/zstd/zstd.rc nano ./build/VS2010/libzstd-dll/libzstd-dll.rc ```
Configuration menu - View commit details
-
Copy full SHA for 5d693cc - Browse repository at this point
Copy the full SHA 5d693ccView commit details -
Merge pull request #3173 from felixhandte/update-copyright-company
Update Copyright Comments
Configuration menu - View commit details
-
Copy full SHA for f302ad8 - Browse repository at this point
Copy the full SHA f302ad8View commit details -
[docs] Clarify dictionary loading documentation
Reinforce that loading a new dictionary clears the current dictionary. Except for the multiple-ddict mode.
Configuration menu - View commit details
-
Copy full SHA for e4018c4 - Browse repository at this point
Copy the full SHA e4018c4View commit details -
Merge pull request #3340 from facebook/dependabot/github_actions/acti…
…ons/upload-artifact-3 Bump actions/upload-artifact from 1 to 3
Configuration menu - View commit details
-
Copy full SHA for 3a7e2ee - Browse repository at this point
Copy the full SHA 3a7e2eeView commit details -
Merge pull request #3377 from facebook/dependabot/github_actions/ossf…
…/scorecard-action-2.1.0 Bump ossf/scorecard-action from 2.0.6 to 2.1.0
Configuration menu - View commit details
-
Copy full SHA for 5f0543a - Browse repository at this point
Copy the full SHA 5f0543aView commit details -
Merge pull request #3378 from facebook/dependabot/github_actions/gith…
…ub/codeql-action-2.1.37 Bump github/codeql-action from 1.0.26 to 2.1.37
Configuration menu - View commit details
-
Copy full SHA for ea19987 - Browse repository at this point
Copy the full SHA ea19987View commit details -
Pin actions/checkout Dependency to Specific Commit Hash
It's a bit silly, because if we can't trust GitHub, what are we doing here? But OSSF complains about it, so let's fix it.
Configuration menu - View commit details
-
Copy full SHA for e3f2c8b - Browse repository at this point
Copy the full SHA e3f2c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 482689b - Browse repository at this point
Copy the full SHA 482689bView commit details -
Merge branch 'optimal-huff-depth-speed' of github.com:daniellerozenbl…
…it/zstd into optimal-huff-depth-speed
Configuration menu - View commit details
-
Copy full SHA for 2def93b - Browse repository at this point
Copy the full SHA 2def93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c26f348 - Browse repository at this point
Copy the full SHA c26f348View commit details -
[build][cmake] Fix cmake with custom assembler
Tell CMake to explicitly compile our assembly as C code, because we require it is compiled by a C compiler, and it is only enabled for clang/gcc. Fixes #3193.
Configuration menu - View commit details
-
Copy full SHA for 651a381 - Browse repository at this point
Copy the full SHA 651a381View commit details -
Merge pull request #3384 from felixhandte/pin-checkout-action-commit-…
…hash Pin actions/checkout Dependency to Specific Commit Hash
Configuration menu - View commit details
-
Copy full SHA for 0790e86 - Browse repository at this point
Copy the full SHA 0790e86View commit details -
Pin Remaining Action Dependencies (Except OSS-Fuzz)
The one that isn't pinned is the OSS-Fuzz builder and runner. They don't offer tagged releases. I could pin to the current master commit, but I'm not sure how desirable that is.
Configuration menu - View commit details
-
Copy full SHA for 150aa23 - Browse repository at this point
Copy the full SHA 150aa23View commit details
Commits on Dec 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 678335c - Browse repository at this point
Copy the full SHA 678335cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c93dd7 - Browse repository at this point
Copy the full SHA 9c93dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125bcde - Browse repository at this point
Copy the full SHA 125bcdeView commit details -
Merge pull request #3386 from felixhandte/pin-other-action-commit-hashes
Pin Remaining Action Dependencies (Except OSS-Fuzz)
Configuration menu - View commit details
-
Copy full SHA for 0694f14 - Browse repository at this point
Copy the full SHA 0694f14View commit details -
Merge pull request #3385 from jonpalmisc/improve_help
Improve help/usage (`-h`, `-H`) formatting
Configuration menu - View commit details
-
Copy full SHA for 7607b96 - Browse repository at this point
Copy the full SHA 7607b96View commit details
Commits on Dec 22, 2022
-
[util] Add traces enabled by --trace-file-stat
Print traces to stderr when --trace-file-stat is passed. We trace all functions that read and write file metadata.
Configuration menu - View commit details
-
Copy full SHA for b6e8112 - Browse repository at this point
Copy the full SHA b6e8112View commit details -
[cli-tests] Add --set-exact-output to update the expected output
`./run.py --set-exact-output` will update `stdout.expect` and `stderr.expect` to match the expected output. This doesn't apply to outputs which use `.glob` or `.ignore`.
Configuration menu - View commit details
-
Copy full SHA for 7df6e25 - Browse repository at this point
Copy the full SHA 7df6e25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31a703e - Browse repository at this point
Copy the full SHA 31a703eView commit details -
Fix the errors for: * `-Wdocumentation` * `-Wconversion` except `-Wsign-conversion`
Configuration menu - View commit details
-
Copy full SHA for 40a7188 - Browse repository at this point
Copy the full SHA 40a7188View commit details -
[tests] Remove deprecated function from longmatch.c test
Thanks to @eli-schwartz for pointing it out! We should maybe consider adding a helper function for applying `ZSTD_parameters` and `ZSTD_compressionParameters` to a context. That would aid the transition to the new API in situations like this.
Configuration menu - View commit details
-
Copy full SHA for 4b40e40 - Browse repository at this point
Copy the full SHA 4b40e40View commit details -
[cli-tests] Add tests that use --trace-file-stat
Basic tests for (de)compressing in the following modes: * file to file * file to stdout * stdin to file * stdin to stdout These are basic tests, and aren't testing more advanced scenarios, but it adds the groundwork for more complex tests as needed. Fixes #3010.
Configuration menu - View commit details
-
Copy full SHA for 7fe7a16 - Browse repository at this point
Copy the full SHA 7fe7a16View commit details -
Man Page Tweaks, Edits, Formatting Fixes
This started as an application of the edits suggested in #3201 and expanded from there.
Configuration menu - View commit details
-
Copy full SHA for 382026f - Browse repository at this point
Copy the full SHA 382026fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11aba9b - Browse repository at this point
Copy the full SHA 11aba9bView commit details -
Merge pull request #3397 from felixhandte/man-page-tweaks
Man Page Tweaks, Edits, Formatting Fixes
Configuration menu - View commit details
-
Copy full SHA for f5ea3a1 - Browse repository at this point
Copy the full SHA f5ea3a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea2895c - Browse repository at this point
Copy the full SHA ea2895cView commit details -
Merge pull request #3399 from facebook/fix2577
Support decompression of compressed blocks of size ZSTD_BLOCKSIZE_MAX
Configuration menu - View commit details
-
Copy full SHA for 8209bfc - Browse repository at this point
Copy the full SHA 8209bfcView commit details
Commits on Dec 23, 2022
-
spec update : require minimum nb of literals for 4-streams mode
Reported by @shulib : the specification for 4-streams mode doesn't work when the amount of literals to compress is 5 bytes. Extending it, it also doesn't work for sizes 1 or 2. This patch updates the specification and the implementation to require a minimum of 6 literals to trigger or accept the 4-streams mode. The impact is expected to be a no-op : the 4-streams mode is never triggered for such small quantity of literals anyway, since it would be wasteful (it costs ~7.3 bytes more than single-stream mode). An informal lower limit is set at ~256 bytes, so the technical minimum is very far from this limit. This is just meant for completeness of the specification.
Configuration menu - View commit details
-
Copy full SHA for 6a9c525 - Browse repository at this point
Copy the full SHA 6a9c525View commit details -
Merge pull request #3398 from facebook/fix3316
spec update : require minimum nb of literals for 4-streams mode
Configuration menu - View commit details
-
Copy full SHA for 089b279 - Browse repository at this point
Copy the full SHA 089b279View commit details -
Move deprecated annotation before static to allow C++ compilation for…
… clang This fixes last 2 instances of #3250
Configuration menu - View commit details
-
Copy full SHA for 48f4aa7 - Browse repository at this point
Copy the full SHA 48f4aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6640377 - Browse repository at this point
Copy the full SHA 6640377View commit details
Commits on Dec 26, 2022
-
Bump ossf/scorecard-action from 2.1.0 to 2.1.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.0 to 2.1.2. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@937ffa9...e38b190) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 1f72dca - Browse repository at this point
Copy the full SHA 1f72dcaView commit details
Commits on Dec 28, 2022
-
Merge pull request #3394 from terrelln/issue-3010
[cli-tests] Test file stat read/write
Configuration menu - View commit details
-
Copy full SHA for 90597d7 - Browse repository at this point
Copy the full SHA 90597d7View commit details -
New xp library symbol : ZSTD_CCtx_setCParams()
Inspired by #3395, offer a new capability to set all parameters defined in a ZSTD_compressionParameters structure with a single symbol invocation to improve user code brevity.
Configuration menu - View commit details
-
Copy full SHA for 89342d1 - Browse repository at this point
Copy the full SHA 89342d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b17743e - Browse repository at this point
Copy the full SHA b17743eView commit details -
External matchfinder API (#3333)
* First building commit with sample matchfinder * Set up ZSTD_externalMatchCtx struct * move seqBuffer to ZSTD_Sequence* * support non-contiguous dictionary * clean up parens * add clearExternalMatchfinder, handle allocation errors * Add useExternalMatchfinder cParam * validate useExternalMatchfinder cParam * Disable LDM + external matchfinder * Check for static CCtx * Validate mState and mStateDestructor * Improve LDM check to cover both branches * Error API with optional fallback * handle RLE properly for external matchfinder * nit * Move to a CDict-like model for resource ownership * Add hidden useExternalMatchfinder bool to CCtx_params_s * Eliminate malloc, move to cwksp allocation * Handle CCtx reset properly * Ensure seqStore has enough space for external sequences * fix capitalization * Add DEBUGLOG statements * Add compressionLevel param to matchfinder API * fix c99 issues and add a param combination error code * nits * Test external matchfinder API * C90 compat for simpleExternalMatchFinder * Fix some @nocommits and an ASAN bug * nit * nit * nits * forward declare copySequencesToSeqStore functions in zstd_compress_internal.h * nit * nit * nits * Update copyright headers * Fix CMake zstreamtest build * Fix copyright headers (again) * typo * Add externalMatchfinder demo program to make contrib * Reduce memory consumption for small blockSize * ZSTD_postProcessExternalMatchFinderResult nits * test sum(matchlen) + sum(litlen) == srcSize in debug builds * refExternalMatchFinder -> registerExternalMatchFinder * C90 nit * zstreamtest nits * contrib nits * contrib nits * allow block splitter + external matchfinder, refactor * add windowSize param * add contrib/externalMatchfinder/README.md * docs * go back to old RLE heuristic because of the first block issue * fix initializer element is not a constant expression * ref contrib from zstd.h * extremely pedantic compiler warning fix, meson fix, typo fix * Additional docs on API limitations * minor nits * Refactor maxNbSeq calculation into a helper function * Fix copyright
Configuration menu - View commit details
-
Copy full SHA for 2a40262 - Browse repository at this point
Copy the full SHA 2a40262View commit details -
Merge pull request #3403 from facebook/setCParams
ZSTD_CCtx_setCParams
Configuration menu - View commit details
-
Copy full SHA for 481a2e1 - Browse repository at this point
Copy the full SHA 481a2e1View commit details -
update ZSTD_CCts_setCParams() inline documentation
specify behavior when changing compression parameters during MT compression, reported by @embg
Configuration menu - View commit details
-
Copy full SHA for 00c85b2 - Browse repository at this point
Copy the full SHA 00c85b2View commit details -
Merge pull request #3395 from terrelln/2022-12-21-deprecated-test
[tests] Remove deprecated function from longmatch.c test
Configuration menu - View commit details
-
Copy full SHA for bcbd395 - Browse repository at this point
Copy the full SHA bcbd395View commit details -
Merge pull request #3400 from danlark1/dev
Move deprecated annotation before static to allow C++ compilation for clang
Configuration menu - View commit details
-
Copy full SHA for 9fbbd74 - Browse repository at this point
Copy the full SHA 9fbbd74View commit details
Commits on Dec 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a1a79a - Browse repository at this point
Copy the full SHA 4a1a79aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d07e72b - Browse repository at this point
Copy the full SHA d07e72bView commit details -
Merge pull request #3248 from facebook/opt_comments1
[easy] add a few comments to the optimal parser code base for improved clarity
Configuration menu - View commit details
-
Copy full SHA for 3248910 - Browse repository at this point
Copy the full SHA 3248910View commit details
Commits on Jan 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df714dd - Browse repository at this point
Copy the full SHA df714ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87becc5 - Browse repository at this point
Copy the full SHA 87becc5View commit details -
Merge pull request #3302 from daniellerozenblit/optimal-huff-depth-speed
Optimal huff depth speed improvements
Configuration menu - View commit details
-
Copy full SHA for 1c818e3 - Browse repository at this point
Copy the full SHA 1c818e3View commit details -
improve compression ratio of small alphabets
fix #3328 In situations where the alphabet size is very small, the evaluation of literal costs from the Optimal Parser is initially incorrect. It takes some time to converge, during which compression is less efficient. This is especially important for small files, because there will not be enough data to converge, so most of the parsing is selected based on incorrect metrics. After this patch, the scenario ##3328 gets fixed, delivering the expected 29 bytes compressed size (smallest known compressed size).
Configuration menu - View commit details
-
Copy full SHA for 5434de0 - Browse repository at this point
Copy the full SHA 5434de0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebba9ff - Browse repository at this point
Copy the full SHA ebba9ffView commit details -
comparing level 19 to level 22 and expecting a stricter better result from level 22 is not that guaranteed, because level 19 and 22 are very close to each other, especially for small files, so any noise in the final compression result result in failing this test. Level 22 could be compared to something much lower, like level 15, But level 19 is required anyway, because there is a clamping test which depends on it. Removed level 22, kept level 19
Configuration menu - View commit details
-
Copy full SHA for c79fb4d - Browse repository at this point
Copy the full SHA c79fb4dView commit details
Commits on Jan 4, 2023
-
Merge pull request #3391 from facebook/fix3228
improve compression ratio of small alphabets
Configuration menu - View commit details
-
Copy full SHA for 834fd07 - Browse repository at this point
Copy the full SHA 834fd07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908e812 - Browse repository at this point
Copy the full SHA 908e812View commit details -
Configuration menu - View commit details
-
Copy full SHA for d913417 - Browse repository at this point
Copy the full SHA d913417View commit details
Commits on Jan 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71dbe8f - Browse repository at this point
Copy the full SHA 71dbe8fView commit details
Commits on Jan 7, 2023
-
minor simplification refactoring for timefn
`UTIL_getSpanTimeMicro()` can be factored in a generic way, reducing OS-dependent code.
Configuration menu - View commit details
-
Copy full SHA for 8b13000 - Browse repository at this point
Copy the full SHA 8b13000View commit details
Commits on Jan 9, 2023
-
Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@755da8c...ac59398) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 6f17a5d - Browse repository at this point
Copy the full SHA 6f17a5dView commit details -
Bump actions/upload-artifact from 3.1.1 to 3.1.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@83fd05a...0b7f8ab) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 59a536a - Browse repository at this point
Copy the full SHA 59a536aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe08137 - Browse repository at this point
Copy the full SHA fe08137View commit details -
Merge pull request #3414 from facebook/dependabot/github_actions/acti…
…ons/checkout-3.3.0 Bump actions/checkout from 3.2.0 to 3.3.0
Configuration menu - View commit details
-
Copy full SHA for 98ca8b4 - Browse repository at this point
Copy the full SHA 98ca8b4View commit details
Commits on Jan 11, 2023
-
Fix fuzzing with ZSTD_MULTITHREAD
At Google we fuzz zstd without ZSTD_MULTITHREAD but we want inputs to be as much as reproducible. It allows us to test new fuzzing methods for our fuzz team internally and have more horsepower to find bugs
Configuration menu - View commit details
-
Copy full SHA for 3ac0b91 - Browse repository at this point
Copy the full SHA 3ac0b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca2ff78 - Browse repository at this point
Copy the full SHA ca2ff78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fffcfe - Browse repository at this point
Copy the full SHA 1fffcfeView commit details -
Completely overhaul Windows CI (#3410)
* Overhaul windows CI * upgrade setup-msbuild from v1.1.3 to v1.3 * remove cmake 2019 test * fix 32-bit gcc mingw test * merge conflict
Configuration menu - View commit details
-
Copy full SHA for 4f7183d - Browse repository at this point
Copy the full SHA 4f7183dView commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 53eb5a7 - Browse repository at this point
Copy the full SHA 53eb5a7View commit details -
Merge pull request #3402 from facebook/dependabot/github_actions/ossf…
…/scorecard-action-2.1.2 Bump ossf/scorecard-action from 2.1.0 to 2.1.2
Configuration menu - View commit details
-
Copy full SHA for fd2eb8a - Browse repository at this point
Copy the full SHA fd2eb8aView commit details -
additional tests and documentation updates + allow maxBlockSize to be…
… set to 0 (goes to default)
Configuration menu - View commit details
-
Copy full SHA for 06b096d - Browse repository at this point
Copy the full SHA 06b096dView commit details -
Merge pull request #3413 from facebook/timefn
minor refactoring for timefn
Configuration menu - View commit details
-
Copy full SHA for 423500d - Browse repository at this point
Copy the full SHA 423500dView commit details -
A minor change in 5434de0 changed a `<=` into a `<`, and as an indirect consequence allowed compression attempt of literals when there are only 6 literals to compress (previous limit was effectively 7 literals). This is not in itself a problem, as the threshold is merely an heuristic, but it emerged a bug that has always been there, and was just never triggered so far due to the previous limit. This bug would make the literal compressor believes that all literals are the same symbol, but for the exact case where nbLiterals==6, plus a pretty wild combination of other limit conditions, this outcome could be false, resulting in data corruption. Replaced the blind heuristic by an actual test for all limit cases, so that even if the threshold is changed again in the future, the detection of RLE mode will remain reliable.
Configuration menu - View commit details
-
Copy full SHA for 796699c - Browse repository at this point
Copy the full SHA 796699cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac45e07 - Browse repository at this point
Copy the full SHA ac45e07View commit details
Commits on Jan 13, 2023
-
Add support for in-place decompression
* Add a function and macro ZSTD_decompressionMargin() that computes the decompression margin for in-place decompression. The function computes a tight margin that works in all cases, and the macro computes an upper bound that will only work if flush isn't used. * When doing in-place decompression, make sure that our output buffer doesn't overlap with the input buffer. This ensures that we don't decide to use the portion of the output buffer that overlaps the input buffer for temporary memory, like for literals. * Add a simple unit test. * Add in-place decompression to the simple_round_trip and stream_round_trip fuzzers. This should help verify that our margin stays correct.
Configuration menu - View commit details
-
Copy full SHA for 5b26619 - Browse repository at this point
Copy the full SHA 5b26619View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcfb7ad - Browse repository at this point
Copy the full SHA bcfb7adView commit details -
restore support of clock_gettime() for POSIX systems
This should notably allow posix systems with timespec_get() to have access to a high resolution timer, instead of falling back to C90's clock_t.
Configuration menu - View commit details
-
Copy full SHA for a2ef23d - Browse repository at this point
Copy the full SHA a2ef23dView commit details -
Merge pull request #3419 from facebook/fix3416
fix root cause of #3416
Configuration menu - View commit details
-
Copy full SHA for d550908 - Browse repository at this point
Copy the full SHA d550908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b8def - Browse repository at this point
Copy the full SHA 14b8defView commit details -
Configuration menu - View commit details
-
Copy full SHA for f10922a - Browse repository at this point
Copy the full SHA f10922aView commit details -
Don't Even Declare Poisoning Functions if Poisoning is Disabled
This guarantees that we won't accidentally forget to check the macro somewhere where we use these functions.
Configuration menu - View commit details
-
Copy full SHA for d78fbed - Browse repository at this point
Copy the full SHA d78fbedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2086e73 - Browse repository at this point
Copy the full SHA 2086e73View commit details -
Deprecate advanced streaming functions (#3408)
* deprecate advanced streaming functions * remove internal usage of the deprecated functions * nit * suppress warnings in tests/zstreamtest.c * purge ZSTD_initDStream_usingDict * nits * c90 compat * zstreamtest.c already disables deprecation warnings! * fix initDStream() return value * fix typo * wasn't able to import private symbol properly, this commit works around that * new strategy for zbuff * undo zbuff deprecation warning changes * move ZSTD_DISABLE_DEPRECATE_WARNINGS from .h to .c
Configuration menu - View commit details
-
Copy full SHA for 5d8cfa6 - Browse repository at this point
Copy the full SHA 5d8cfa6View commit details
Commits on Jan 16, 2023
-
Bump github/codeql-action from 2.1.37 to 2.1.38 (#3428)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.37 to 2.1.38. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@959cbb7...515828d) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3add5ca - Browse repository at this point
Copy the full SHA 3add5caView commit details
Commits on Jan 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 018b68f - Browse repository at this point
Copy the full SHA 018b68fView commit details -
Merge pull request #3424 from felixhandte/disable-asan-msan-poison-mingw
Disable Custom ASAN/MSAN Poisoning on MinGW Builds
Configuration menu - View commit details
-
Copy full SHA for 23a356c - Browse repository at this point
Copy the full SHA 23a356cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8353a4b - Browse repository at this point
Copy the full SHA 8353a4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad6855 - Browse repository at this point
Copy the full SHA 2ad6855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5653f96 - Browse repository at this point
Copy the full SHA 5653f96View commit details -
Use Existing Src File Stat in
*_dstFile()
FuncsOne fewer `stat()` call to make per operation!
Configuration menu - View commit details
-
Copy full SHA for a5ed28f - Browse repository at this point
Copy the full SHA a5ed28fView commit details -
[tests] Fix version test determinism
The dictionary source files were taken from the `dev` branch before this commit, which could introduce non-determinism on PR jobs. Instead take the sources from the PR checkout. This PR also adds stderr logging, and verbose output for the jobs that are failing, to help catch the failure if it occurs again.
Configuration menu - View commit details
-
Copy full SHA for 860548c - Browse repository at this point
Copy the full SHA 860548cView commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0382076 - Browse repository at this point
Copy the full SHA 0382076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e3eba6 - Browse repository at this point
Copy the full SHA 1e3eba6View commit details -
Mimic gzip chown(gid), chmod(), chown(uid) Behavior
Avoids a race condition in which we unintentionally open up permissions to the wrong group.
Configuration menu - View commit details
-
Copy full SHA for 0d2d460 - Browse repository at this point
Copy the full SHA 0d2d460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a8c8f3 - Browse repository at this point
Copy the full SHA 7a8c8f3View commit details -
Merge pull request #3423 from facebook/ptime
Refactor timefn, restore support for clock_gettime()
Configuration menu - View commit details
-
Copy full SHA for bbe65d7 - Browse repository at this point
Copy the full SHA bbe65d7View commit details
Commits on Jan 19, 2023
-
Merge pull request #3418 from daniellerozenblit/fuzz-max-block-size
Fuzz on maxBlockSize
Configuration menu - View commit details
-
Copy full SHA for dc1c6cc - Browse repository at this point
Copy the full SHA dc1c6ccView commit details -
Bugfixes for the External Matchfinder API (#3433)
* external matchfinder bugfixes + tests * small doc fix
Configuration menu - View commit details
-
Copy full SHA for bce0382 - Browse repository at this point
Copy the full SHA bce0382View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f9f568 - Browse repository at this point
Copy the full SHA 3f9f568View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea684c3 - Browse repository at this point
Copy the full SHA ea684c3View commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cd272d7 - Browse repository at this point
Copy the full SHA cd272d7View commit details -
Enable if == 1 rather than if == 0
Co-authored-by: Nick Terrell <nickrterrell@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f593e54 - Browse repository at this point
Copy the full SHA f593e54View commit details -
Merge pull request #3437 from embg/fuzz_emf
Fuzz the External Matchfinder API
Configuration menu - View commit details
-
Copy full SHA for 64963dc - Browse repository at this point
Copy the full SHA 64963dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa385ec - Browse repository at this point
Copy the full SHA aa385ecView commit details -
Merge pull request #3415 from facebook/dependabot/github_actions/acti…
…ons/upload-artifact-3.1.2 Bump actions/upload-artifact from 3.1.1 to 3.1.2
Configuration menu - View commit details
-
Copy full SHA for abf965c - Browse repository at this point
Copy the full SHA abf965cView commit details -
Cap hashLog & chainLog to ensure that we only use 32 bits of hash
* Cap shortCache chainLog to 24 * Cap row match finder hashLog so that rowLog <= 24 * Add unit tests to expose all cases. The row match finder unit tests are only run in 64-bit mode, because they allocate ~1GB. Fixes #3336
Configuration menu - View commit details
-
Copy full SHA for 666944f - Browse repository at this point
Copy the full SHA 666944fView commit details -
[versions-test] Work around bug in dictionary builder for older versions
Older versions of zstandard have a bug in the dictionary builder, that can cause dictionary building to fail. The process still exits 0, but the dictionary is not created. For reference, the bug is that it creates a dictionary that starts with the zstd dictionary magic, in the process of writing the dictionary header, but the header isn't fully written yet, and zstd fails compressions in this case, because the dictionary is malformated. We fixed this later on by trying to load the dictionary as a zstd dictionary, but if that fails we fallback to content only (by default). The fix is to: 1. Make the dictionary determinsitic by sorting the input files. Previously the bug would only sometimes occur, when the input files were in a particular order. 2. If dictionary creation fails, fallback to the `head` dictionary.
Configuration menu - View commit details
-
Copy full SHA for 667eb6d - Browse repository at this point
Copy the full SHA 667eb6dView commit details -
Merge pull request #3435 from facebook/c89build
added c89 build test to CI
Configuration menu - View commit details
-
Copy full SHA for 6742f20 - Browse repository at this point
Copy the full SHA 6742f20View commit details -
Merge pull request #3431 from facebook/cygwin
added cygwin tests to Github Actions
Configuration menu - View commit details
-
Copy full SHA for bb9b9bc - Browse repository at this point
Copy the full SHA bb9b9bcView commit details -
Delete unused Huffman functions
Remove all Huffman functions that aren't used by zstd.
Configuration menu - View commit details
-
Copy full SHA for 0cc1b0c - Browse repository at this point
Copy the full SHA 0cc1b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3291691 - Browse repository at this point
Copy the full SHA 3291691View commit details -
Add Additional Flags to PGO Build
In GCC, we can add a couple more flags to give us confidence that the profile data is actually being found and used. Also, my system for example doesn't have a binary installed under the name `llvm-profdata`, but it does have, e.g., `llvm-profdata-13`, etc. So this commit adds a variable that can be overridden.
Configuration menu - View commit details
-
Copy full SHA for 87e169d - Browse repository at this point
Copy the full SHA 87e169dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aab3dd4 - Browse repository at this point
Copy the full SHA aab3dd4View commit details
Commits on Jan 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4467c1 - Browse repository at this point
Copy the full SHA b4467c1View commit details -
Merge pull request #3442 from felixhandte/pgo-tests
Test PGO Builds
Configuration menu - View commit details
-
Copy full SHA for 772229a - Browse repository at this point
Copy the full SHA 772229aView commit details -
Merge pull request #3432 from felixhandte/fix-perms
Fix CLI Handling of Permissions and Ownership (Again)
Configuration menu - View commit details
-
Copy full SHA for 3d25502 - Browse repository at this point
Copy the full SHA 3d25502View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9280af - Browse repository at this point
Copy the full SHA d9280afView commit details -
refactor : --rm is ignored with stdout
`zstd` CLI has progressively moved to the policy of ignoring `--rm` command when the output is `stdout`. The primary drive is to feature a behavior more consistent with `gzip`, when `--rm` is the default, but is also ignored when output is `stdout`. Other policies are certainly possible, but would break from this `gzip` convention. The new policy was inconsistenly enforced, depending on the exact list of commands. For example, it was possible to circumvent it by using `-c --rm` in this order, which would re-establish source removal. - Update the CLI so that it necessarily catch these situations and ensure that `--rm` is always disabled when output is `stdout`. - Added a warning message in this case (for verbosity 3 `-v`). - Added an `assert()`, which controls that `--rm` is no longer active with `stdout` - Added tests, which control the behavior, even when `--rm` is added after `-c` - Removed some legacy code which where trying to apply a specific policy for the `stdout` + `--rm` case, which is no longer possible
Configuration menu - View commit details
-
Copy full SHA for cee6bec - Browse repository at this point
Copy the full SHA cee6becView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6fd91b - Browse repository at this point
Copy the full SHA b6fd91bView commit details
Commits on Jan 23, 2023
-
Bump github/codeql-action from 2.1.38 to 2.1.39
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.38 to 2.1.39. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@515828d...a34ca99) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 3663faa - Browse repository at this point
Copy the full SHA 3663faaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 638d502 - Browse repository at this point
Copy the full SHA 638d502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b65727 - Browse repository at this point
Copy the full SHA 1b65727View commit details -
Configuration menu - View commit details
-
Copy full SHA for f75afb6 - Browse repository at this point
Copy the full SHA f75afb6View commit details -
Merge pull request #3446 from facebook/dependabot/github_actions/gith…
…ub/codeql-action-2.1.39 Bump github/codeql-action from 2.1.38 to 2.1.39
Configuration menu - View commit details
-
Copy full SHA for 6aee603 - Browse repository at this point
Copy the full SHA 6aee603View commit details -
Configuration menu - View commit details
-
Copy full SHA for 815d1d4 - Browse repository at this point
Copy the full SHA 815d1d4View commit details -
Fix -Wstringop-overflow warning
Backported from kernel patch [0]. I wasn't able to reproduce the warning locally, but could repro it in the kernel. [0] https://lore.kernel.org/lkml/20220330193352.GA119296@embeddedor/
Configuration menu - View commit details
-
Copy full SHA for dc2b3e8 - Browse repository at this point
Copy the full SHA dc2b3e8View commit details -
Merge pull request #3443 from facebook/no_rm_w_stdout
refactor : --rm ignored with stdout
Configuration menu - View commit details
-
Copy full SHA for ced0882 - Browse repository at this point
Copy the full SHA ced0882View commit details -
Fix ZSTD_estimate* and ZSTD_initCStream() docs
Fix the following documentation bugs: * Note that `ZSTD_estimate*` functions are not compatible with the external matchfinder API * Note that `ZSTD_estimateCStreamSize_usingCCtxParams()` is not compatible with `nbWorkers >= 1` * Remove incorrect warning that the legacy streaming API is incompatible with advanced parameters and/or dictionary compression * Note that `ZSTD_initCStream()` is incompatible with dictionary compression * Warn that
Configuration menu - View commit details
-
Copy full SHA for 3bfd3be - Browse repository at this point
Copy the full SHA 3bfd3beView commit details -
calloc dictionary in sequence compression fuzzer rather than generati…
…ng a random buffer
Configuration menu - View commit details
-
Copy full SHA for 7fc00c1 - Browse repository at this point
Copy the full SHA 7fc00c1View commit details -
Merge pull request #3439 from daniellerozenblit/sequence-validation-b…
…ug-fix Fix sequence validation and seqStore bounds check
Configuration menu - View commit details
-
Copy full SHA for 9116000 - Browse repository at this point
Copy the full SHA 9116000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a91b31 - Browse repository at this point
Copy the full SHA 0a91b31View commit details -
Merge pull request #3448 from facebook/embg-doc-fix
Fix ZSTD_estimate* and ZSTD_initCStream() docs
Configuration menu - View commit details
-
Copy full SHA for 41682e6 - Browse repository at this point
Copy the full SHA 41682e6View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7d600c6 - Browse repository at this point
Copy the full SHA 7d600c6View commit details -
Bug fix redzones by unpoisoning only the intended buffer and not the …
…followup redzone.
Configuration menu - View commit details
-
Copy full SHA for 1d636b4 - Browse repository at this point
Copy the full SHA 1d636b4View commit details -
Merge pull request #3451 from yoniko/red-zones-bugfix
Bugfix redzone unpoisoning
Configuration menu - View commit details
-
Copy full SHA for 2baac04 - Browse repository at this point
Copy the full SHA 2baac04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63042f1 - Browse repository at this point
Copy the full SHA 63042f1View commit details
Commits on Jan 25, 2023
-
Merge pull request #3452 from daniellerozenblit/fix-seekable-32bit
Fix 32-bit build errors in zstd seekable format
Configuration menu - View commit details
-
Copy full SHA for 29a4c8c - Browse repository at this point
Copy the full SHA 29a4c8cView commit details -
Merge pull request #3447 from daniellerozenblit/fuzz-sequence-compres…
…sion Fuzz large offsets through sequence compression api
Configuration menu - View commit details
-
Copy full SHA for f3255bf - Browse repository at this point
Copy the full SHA f3255bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for db18a62 - Browse repository at this point
Copy the full SHA db18a62View commit details -
[huf] Add generic C versions of the fast decoding loops
Add generic C versions of the fast decoding loops to serve architectures that don't have an assembly implementation. Also allow selecting the C decoding loop over the assembly decoding loop through a zstd decompression parameter `ZSTD_d_disableHuffmanAssembly`. I benchmarked on my Intel i9-9900K and my Macbook Air with an M1 processor. The benchmark command forces zstd to compress without any matches, using only literals compression, and measures only Huffman decompression speed: ``` zstd -b1e1 --compress-literals --zstd=tlen=131072 silesia.tar ``` The new fast decoding loops outperform the previous implementation uniformly, but don't beat the x86-64 assembly. Additionally, the fast C decoding loops suffer from the same stability problems that we've seen in the past, where the assembly version doesn't. So even though clang gets close to assembly on x86-64, it still has stability issues. | Arch | Function | Compiler | Default (MB/s) | Assembly (MB/s) | Fast (MB/s) | |---------|----------------|--------------|----------------|-----------------|-------------| | x86-64 | decompress 4X1 | gcc-12.2.0 | 1029.6 | 1308.1 | 1208.1 | | x86-64 | decompress 4X1 | clang-14.0.6 | 1019.3 | 1305.6 | 1276.3 | | x86-64 | decompress 4X2 | gcc-12.2.0 | 1348.5 | 1657.0 | 1374.1 | | x86-64 | decompress 4X2 | clang-14.0.6 | 1027.6 | 1659.9 | 1468.1 | | aarch64 | decompress 4X1 | clang-12.0.5 | 1081.0 | N/A | 1234.9 | | aarch64 | decompress 4X2 | clang-12.0.5 | 1270.0 | N/A | 1516.6 |
Configuration menu - View commit details
-
Copy full SHA for 8957fef - Browse repository at this point
Copy the full SHA 8957fefView commit details -
[version-test] Work around bugs in v0.7.3 dict builder
Before calling a dictionary good, make sure that it can compress an input. If v0.7.3 rejects v0.7.3's dictionary, fall back to the v1.0 dictionary. This is not the job of the verison test to test it, because we cannot fix this code.
Configuration menu - View commit details
-
Copy full SHA for 321490c - Browse repository at this point
Copy the full SHA 321490cView commit details -
Merge pull request #3455 from facebook/fix3454
Provide more accurate error codes for busy-loop scenarios
Configuration menu - View commit details
-
Copy full SHA for efc9ae3 - Browse repository at this point
Copy the full SHA efc9ae3View commit details
Commits on Jan 26, 2023
-
make it more similar to -c (aka `stdout`) convention.
Configuration menu - View commit details
-
Copy full SHA for 8c85b29 - Browse repository at this point
Copy the full SHA 8c85b29View commit details -
enforce a hard fail when input files are set to be erased
in scenarios where it's supposed to not be possible. suggested by @terrelln
Configuration menu - View commit details
-
Copy full SHA for 02434e0 - Browse repository at this point
Copy the full SHA 02434e0View commit details -
Merge pull request #3450 from facebook/no_rm_on_o
disable --rm on -o command
Configuration menu - View commit details
-
Copy full SHA for a82e0aa - Browse repository at this point
Copy the full SHA a82e0aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6422d1d - Browse repository at this point
Copy the full SHA 6422d1dView commit details -
Merge pull request #3457 from yoniko/fix-rowhash-cli
[Bugfix] CLI row hash flags set the wrong values `--[no-]row-match-finder` do the opposite of what they are supposed to. In effect the no option would activate row hash while the other option will disable it. This commit fixes the issue and changes the code to use the more readable enum values.
Configuration menu - View commit details
-
Copy full SHA for 7b3f03b - Browse repository at this point
Copy the full SHA 7b3f03bView commit details -
modify cli-test logic : ignore stderr message by default
Previously, cli-test would, by default, check that a stderr output is strictly identical to a saved outcome. When there was no instructions on how to interpret stderr, it would default to requiring it to be empty. There are many tests cases though where stderr content doesn't matter, and we are mainly interested in the return code of the cli. For these cases, it was possible to set a .ignore document, which would instruct to ignore stderr content. This PR update the logic, to make .ignore the default. When willing to check that stderr content is empty, one must now add an empty .strict file. This will allow status message to evolve without triggering many cli-tests errors. This is especially important when some of these status include compression results, which may change as a result of compression optimizations. It also makes it easier to add new tests which only care about the CLI's return code.
Configuration menu - View commit details
-
Copy full SHA for 3c21522 - Browse repository at this point
Copy the full SHA 3c21522View commit details -
change logic when stderr is not console : don't update progress status
but keep warnings and final operation statement. updated tests/cli-tests/ accordingly
Configuration menu - View commit details
-
Copy full SHA for 82ca008 - Browse repository at this point
Copy the full SHA 82ca008View commit details -
[huf] Fix bug in fast C decoders
The input bounds checks were buggy because they were only breaking from the inner loop, not the outer loop. The fuzzers found this immediately. The fix is to use `goto _out` instead of `break`. This condition can happen on corrupted inputs. I've benchmarked before and after on x86-64 and there were small changes in performance, some positive, and some negative, and they end up about balacing out. Credit to OSS-Fuzz
Configuration menu - View commit details
-
Copy full SHA for bda947e - Browse repository at this point
Copy the full SHA bda947eView commit details
Commits on Jan 27, 2023
-
Merge pull request #3458 from facebook/stderr_finalStatus
Update logic when `stderr` is not the console
Configuration menu - View commit details
-
Copy full SHA for 88b7088 - Browse repository at this point
Copy the full SHA 88b7088View commit details -
Configuration menu - View commit details
-
Copy full SHA for 814f4bf - Browse repository at this point
Copy the full SHA 814f4bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d210628 - Browse repository at this point
Copy the full SHA d210628View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4c66b - Browse repository at this point
Copy the full SHA 9e4c66bView commit details -
Delete all unused FSE functions, now that we are no longer syncing to/from upstream. This avoids confusion about Zstd's stack usage like in Issue #3453. It also removes dead code, which is always a plus.
Configuration menu - View commit details
-
Copy full SHA for 423a749 - Browse repository at this point
Copy the full SHA 423a749View commit details -
Update lib/compress/zstd_compress.c
Co-authored-by: Nick Terrell <nickrterrell@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2bde9fb - Browse repository at this point
Copy the full SHA 2bde9fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for da589a1 - Browse repository at this point
Copy the full SHA da589a1View commit details -
Merge branch 'fix-long-offsets-resolution-pointer' of github.com:dani…
…ellerozenblit/zstd into fix-long-offsets-resolution-pointer
Configuration menu - View commit details
-
Copy full SHA for 5ec77ad - Browse repository at this point
Copy the full SHA 5ec77adView commit details -
Fix invalid assert in 32-bit decoding
The assert is only correct for valid sequences, so disable it for everything execpt round trip fuzzers.
Configuration menu - View commit details
-
Copy full SHA for b3b43f2 - Browse repository at this point
Copy the full SHA b3b43f2View commit details
Commits on Jan 28, 2023
-
Update .github/workflows/dev-long-tests.yml
Co-authored-by: Nick Terrell <nickrterrell@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 295724b - Browse repository at this point
Copy the full SHA 295724bView commit details
Commits on Jan 30, 2023
-
Bump github/codeql-action from 2.1.39 to 2.2.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.39 to 2.2.1. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@a34ca99...3ebbd71) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for dd7fdc9 - Browse repository at this point
Copy the full SHA dd7fdc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66fae56 - Browse repository at this point
Copy the full SHA 66fae56View commit details -
Merge branch 'fix-long-offsets-resolution-pointer' of github.com:dani…
…ellerozenblit/zstd into fix-long-offsets-resolution-pointer
Configuration menu - View commit details
-
Copy full SHA for 0843d9b - Browse repository at this point
Copy the full SHA 0843d9bView commit details -
Merge pull request #3460 from daniellerozenblit/fix-long-offsets-reso…
…lution-pointer fix long offset resolution
Configuration menu - View commit details
-
Copy full SHA for 0017663 - Browse repository at this point
Copy the full SHA 0017663View commit details -
Simplify 32-bit long offsets decoding logic
The previous code had an issue when `bitsConsumed == 32` it would read 0 bits for the `ofBits` read, which violates the precondition of `BIT_readBitsFast()`. This can happen when the stream is corrupted. Fix thie issue by always reading the maximum possible number of extra bits. I've measured neutral decoding performance, likely because this branch is unlikely, but this should be faster anyways. And if not, it is only 32-bit decoding, so performance isn't as critical. Credit to OSS-Fuzz
Configuration menu - View commit details
-
Copy full SHA for 2f74507 - Browse repository at this point
Copy the full SHA 2f74507View commit details
Commits on Jan 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39ceef2 - Browse repository at this point
Copy the full SHA 39ceef2View commit details -
Merge pull request #3464 from facebook/dependabot/github_actions/gith…
…ub/codeql-action-2.2.1 Bump github/codeql-action from 2.1.39 to 2.2.1
Configuration menu - View commit details
-
Copy full SHA for 71c911d - Browse repository at this point
Copy the full SHA 71c911dView commit details -
Merge pull request #3469 from facebook/updateVersion
bump version number to v1.5.4
Configuration menu - View commit details
-
Copy full SHA for 4794bbf - Browse repository at this point
Copy the full SHA 4794bbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for af09777 - Browse repository at this point
Copy the full SHA af09777View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64052ef - Browse repository at this point
Copy the full SHA 64052efView commit details
Commits on Feb 1, 2023
-
Merge pull request #3470 from facebook/bench_zstd_only
ensure that benchmark mode can only be invoked with zstd format
1Configuration menu - View commit details
-
Copy full SHA for ac0746a - Browse repository at this point
Copy the full SHA ac0746aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8189c - Browse repository at this point
Copy the full SHA 7f8189cView commit details
Commits on Feb 2, 2023
-
Fix 32-bit decoding with large dictionary
The 32-bit decoder could corrupt the regenerated data by using regular offset mode when there were actually long offsets. This is because we were only considering the window size in the calculation, not the dictionary size. So a large dictionary could allow longer offsets. Fix this in two ways: 1. Instead of looking at the window size, look at the total referencable bytes in the history buffer. Use this in the comparison instead of the window size. Additionally, we were comparing against the wrong value, it was too low. Fix that by computing exactly the maximum offset for regular sequence decoding. 2. If it is possible that we have long offsets due to (1), then check the offset code decoding table, and if the decoding table's maximum number of additional bits is no more than STREAM_ACCUMULATOR_MIN, then we can't have long offsets. This gates us to be using the long offsets decoder only when we are very likely to actually have long offsets. Note that this bug only affects the decoding of the data, and the original compressed data, if re-read with a patched decoder, will correctly regenerate the orginal data. Except that the encoder also had the same issue previously. This fixes both the open OSS-Fuzz issues. Credit to OSS-Fuzz
Configuration menu - View commit details
-
Copy full SHA for cc3e3ac - Browse repository at this point
Copy the full SHA cc3e3acView commit details -
Merge pull request #3472 from terrelln/2023-02-01-fix-32-bit-decoding
Fix 32-bit decoding with large dictionary
Configuration menu - View commit details
-
Copy full SHA for c22c995 - Browse repository at this point
Copy the full SHA c22c995View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe5f1f - Browse repository at this point
Copy the full SHA 3fe5f1fView commit details -
Merge pull request #3471 from embg/fast_seq_parse
Reduce external matchfinder API overhead by 25%
Configuration menu - View commit details
-
Copy full SHA for 31e41b3 - Browse repository at this point
Copy the full SHA 31e41b3View commit details -
Fix ZSTD_getOffsetInfo() when nbSeq == 0
In 32-bit mode, ZSTD_getOffsetInfo() can be called when nbSeq == 0, and in this case the offset table is uninitialized. The function should just return 0 for both values, because there are no sequences. Credit to OSS-Fuzz
Configuration menu - View commit details
-
Copy full SHA for 71a0259 - Browse repository at this point
Copy the full SHA 71a0259View commit details -
AsyncIO performance regression for small files fix (#3474)
- Do not use threaded AsyncIO when handling small files. - Some typo / doc fixes
Configuration menu - View commit details
-
Copy full SHA for 79bdb8c - Browse repository at this point
Copy the full SHA 79bdb8cView commit details
Commits on Feb 6, 2023
-
Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.12.1
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd) from 1.12.0 to 1.12.1. - [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases) - [Commits](ilammy/msvc-dev-cmd@7315a94...cec98b9) --- updated-dependencies: - dependency-name: ilammy/msvc-dev-cmd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 35835f4 - Browse repository at this point
Copy the full SHA 35835f4View commit details -
Merge pull request #3477 from facebook/dependabot/github_actions/ilam…
…my/msvc-dev-cmd-1.12.1 Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.12.1
Configuration menu - View commit details
-
Copy full SHA for 54a173e - Browse repository at this point
Copy the full SHA 54a173eView commit details
Commits on Feb 7, 2023
-
return error code when benchmark fails
such scenario can happen, for example, when trying a decompression-only benchmark on invalid data. Other possibilities include an allocation error in an intermediate step. So far, the benchmark would return immediately, but still return 0. On command line, this would be confusing, as the program appears successful (though it does not display any successful message). Now it returns !0, which can be interpreted as an error by command line.
Configuration menu - View commit details
-
Copy full SHA for 9cabd15 - Browse repository at this point
Copy the full SHA 9cabd15View commit details -
added more accurate error messages
for the decompression-only benchmark mode.
Configuration menu - View commit details
-
Copy full SHA for 58e7067 - Browse repository at this point
Copy the full SHA 58e7067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6740f8f - Browse repository at this point
Copy the full SHA 6740f8fView commit details -
Merge pull request #3480 from facebook/benchFail
return error code when benchmark fails
Configuration menu - View commit details
-
Copy full SHA for df21ace - Browse repository at this point
Copy the full SHA df21aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e04706c - Browse repository at this point
Copy the full SHA e04706cView commit details -
fix for v0.3 blindly ported to v0.2
in case it would be applicable here too.
Configuration menu - View commit details
-
Copy full SHA for cfec005 - Browse repository at this point
Copy the full SHA cfec005View commit details -
slightly different constraints on end of buffer conditions
Configuration menu - View commit details
-
Copy full SHA for 7eb4471 - Browse repository at this point
Copy the full SHA 7eb4471View commit details -
in case it would be applicable for this legacy version too.
Configuration menu - View commit details
-
Copy full SHA for b20e4e9 - Browse repository at this point
Copy the full SHA b20e4e9View commit details -
in case it would be applicable for this version too
Configuration menu - View commit details
-
Copy full SHA for 7a1a171 - Browse repository at this point
Copy the full SHA 7a1a171View commit details -
in case it would applicable for this version
Configuration menu - View commit details
-
Copy full SHA for 67d7a65 - Browse repository at this point
Copy the full SHA 67d7a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9419747 - Browse repository at this point
Copy the full SHA 9419747View commit details -
add requested check for legacy decoder v0.1
which uses a different technique to store literals, and therefore must check for potential overwrites.
Configuration menu - View commit details
-
Copy full SHA for c5bf6b8 - Browse repository at this point
Copy the full SHA c5bf6b8View commit details
Commits on Feb 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c689310 - Browse repository at this point
Copy the full SHA c689310View commit details -
Merge pull request #3476 from facebook/fix55714
fix oss-fuzz case 55714
Configuration menu - View commit details
-
Copy full SHA for 488f7c0 - Browse repository at this point
Copy the full SHA 488f7c0View commit details -
Fix empty-block.zst golden decompression file
This frame is invalid because the `Window_Size = 0`, and the `Block_Maximum_Size = min(128 KB, Window_Size) = 0`. But the empty compressed block has a `Block_Content` size of 2, which is invalid. The fix is to switch to using a `Window_Descriptor` instead of the `Single_Segment_Flag`. This sets the `Window_Size = 1024`. Hexdump before this PR: `28b5 2ffd 2000 1500 0000 00` Hexdump after this PR: `28b5 2ffd 0000 1500 0000 00` For issue #3482.
Configuration menu - View commit details
-
Copy full SHA for 83f8a05 - Browse repository at this point
Copy the full SHA 83f8a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de9d63 - Browse repository at this point
Copy the full SHA 4de9d63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67fb9d9 - Browse repository at this point
Copy the full SHA 67fb9d9View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4aa3bc4 - Browse repository at this point
Copy the full SHA 4aa3bc4View commit details -
Rename "External Matchfinder" to "Block-Level Sequence Producer" (#3484)
* change "external matchfinder" to "external sequence producer" * migrate contrib/ to new naming convention * fix contrib build * fix error message * update debug strings * fix def of invalid sequences in zstd.h * nit * update CHANGELOG * fix .gitignore
Configuration menu - View commit details
-
Copy full SHA for ff42ed1 - Browse repository at this point
Copy the full SHA ff42ed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ffc76 - Browse repository at this point
Copy the full SHA 95ffc76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515266e - Browse repository at this point
Copy the full SHA 515266eView commit details