- Feb 25, 2021
-
-
Nick Terrell authored
Fixes the update from PR #2508. I had accidentally forgotten to rebuild the library, and the regression test suite isn't hooked up to the new fancy build system yet. I've double checked that the results are deterministic.
-
Yann Collet authored
Use standard md5 tool on NetBSD.
-
- Feb 24, 2021
-
-
Yann Collet authored
CMake: Enable only C for lib and programs projects
-
Nick Terrell authored
[regression] Update results.csv
-
- Feb 23, 2021
-
-
Nick Terrell authored
9f327c02 changed the compression method for LDM, so the results are slightly different. I've re-tested LDM on some larger inputs and everything seems fine. These ratio changes just seem to be noise. There is generally a 0.01% swing in ratio, sometimes better sometimes worse, but never large.
-
Yann Collet authored
update FreeBSD image to latest 12.2
-
Yann Collet authored
Stop using deprecated reset?Stream functions
-
Yann Collet authored
-
Stephen Kitt authored
These are replaced by the corresponding context resets. When converting resetCStream, CCtx_setPledgedSrcSize isn't called if the source size is "unknown". This helps reduce the reliance on "static only" symbols, as well as reducing the use of deprecated functions. Signed-off-by:
Stephen Kitt <steve@sk2.org>
-
Yann Collet authored
-
- Feb 20, 2021
-
-
Yann Collet authored
fix ubsan test errors
-
Yann Collet authored
-
Yann Collet authored
[fuzz] Fix compiler detection & update ubsan flags
-
- Feb 19, 2021
-
-
Nick Terrell authored
* Fix compiler version regex, which was broken for multi-digit versions. * Fix compiler detection for gcc. * Disable `pointer-overflow` instead of `integer-overflow` for gcc versions newer than 8.0.0.
-
Yann Collet authored
allows recovering from pointer overflow
-
- Feb 17, 2021
-
-
Felix Handte authored
Use umask() to Constrain Created File Permissions
-
W. Felix Handte authored
This commit addresses #2491. Note that a downside of this solution is that it is global: `umask()` affects all file creation calls in the process. I believe this is safe since `fileio.c` functions should only ever be used in the zstd binary, and these are (almost) the only files ever created by zstd, and AIUI they're only created in a single thread. So we can get away with messing with global state. Note that this doesn't change the permissions of files created by `dibio.c`. I'm not sure what those should be...
-
Yann Collet authored
[easy][cli] Add newline to boundary of --help message of --trace and --[no-]check
-
senhuang42 authored
-
- Feb 16, 2021
-
-
Nick Terrell authored
[bug-fix] Make simple single-pass functions ignore advanced parameters
-
- Feb 13, 2021
-
-
Nick Terrell authored
The simple compression functions are intended to ignore the advanced parameters, but they were accidentally using them. All the `ZSTD_parameters` were set correctly, but any extra parameters were used as-is. E.g. `ZSTD_c_format`. This PR makes all the simple single-pass functions listed below ignore the advanced parameters, as intended. * `ZSTD_compressCCtx()` * `ZSTD_compress_usingDict()` * `ZSTD_compress_usingCDict()` * `ZSTD_compress_advanced()` * `ZSTD_compress_usingCDict_advanced()` It also adds a test case that ensures that each of these functions ignore the advanced parameters.
-
Nick Terrell authored
[lib] Set appliedParams.compressionLevel correctly
-
- Feb 12, 2021
-
-
Nick Terrell authored
Forward the correct compressionLevel to the appliedParams in all cases. It was already correct for the advanced API, so only the old single-pass functions needed to be fixed. This compression level is unused by the library, but is set so that the tracing framework can consume it.
-
Nick Terrell authored
[trace] Minor fixes found during integration
-
Nick Terrell authored
* Mark `ZSTD_CCtx_getParameter()` as const * Add `extern "C"` guards to `zstd_trace.h`
-
- Feb 11, 2021
-
-
Yann Collet authored
New algorithms for the long distance matcher
-
nia authored
This avoids a GNU coreutils dependency. -n is used to match the output format of coreutils: http://man.netbsd.org/md5.1
-
- Feb 10, 2021
-
-
Quentin Carbonneaux authored
-
- Feb 09, 2021
-
-
Nick Terrell authored
[trace] Keep track of a uint64_t tracing context
-
Nick Terrell authored
The most common information that you want to track between begin() and end() is the timestamp of the begin function, so you can measure the duration of the (de)compression call. Allow the tracing library to put this information inside the `ZSTD_TraceCtx`, so it doesn't need to keep a global map in this case. If a single uint64_t is not enough, the tracing library can return a unique identifier (like the context pointer) instead, and use it as a key in a map. This keeps the simple case simple.
-
- Feb 08, 2021
-
-
Quentin Carbonneaux authored
-
Issam E. Maghni authored
-
- Feb 06, 2021
-
-
Nick Terrell authored
Add (de)compression tracing functionality
-
Nick Terrell authored
-
Nick Terrell authored
[zstd] Fix NULL pointer addition in ZSTD_checkContinuity()
-
- Feb 05, 2021
-
-
Nick Terrell authored
Don't start a new section when `dstSize == 0` to avoid NULL pointer addition.
-
Yann Collet authored
minor: removed flackey gcc6 tests from github actions
-
Yann Collet authored
fixed minor cast warning
-
Yann Collet authored
-
Yann Collet authored
from github actions. replaced by equivalent "current" gcc tests when it makes sense
-