39c091bc9e
Merge pull request #4397 from xiaoge1001/free
...
Fix several locations with potential memory leak
2025-06-09 10:06:36 -07:00
de8d9e8914
Fix several locations with potential memory leak
2025-06-09 21:23:23 +08:00
4bd5654e72
update --rm
cmd help info
...
Starting from cee6bec9fa
, --rm is ignored when the output is `stdout`.
2025-05-30 06:49:52 +08:00
2a12bbaf90
Update cli-tests/file-stat tests
2025-03-28 22:46:26 +00:00
3bd5aa3404
Check regular file for sparse support after opening
...
A regular file may be created by the open call.
Checking after opening allows sparseFileSupport even
if dstFileName does not already exist.
2025-03-28 21:23:10 +00:00
2f9627863f
update error message
2025-03-28 10:02:37 -07:00
8626da73b6
add error message clarification for inputs as process substitution
2025-03-28 09:18:17 -07:00
0bde39a9b3
visual studio fix
2025-03-28 09:18:17 -07:00
94cfa0b5a0
minor: restore some code comment
2025-03-28 09:18:17 -07:00
76c2fdc7b7
better naming
...
and more narrow scope of local variables
2025-03-28 09:18:17 -07:00
7630870b47
second implementation, better structured for improved maintenance
2025-03-28 09:18:17 -07:00
165e52ce62
first implementation supporting Process Substitution
2025-03-28 09:18:17 -07:00
7f0519dcfd
Merge pull request #4346 from Cyan4973/wintime
...
fix a risk of overflow on a time counter on Windows
2025-03-27 21:07:57 -07:00
eb168a0afc
add --patch-apply command
...
as an equivalent for `-d --patch-from`.
Requested by @sergeevabc in #2173 .
2025-03-25 14:50:39 -07:00
33f4d40d1e
fix a risk of overflow on a time counter on Windows
...
closes #4126
2025-03-23 11:42:41 -07:00
19541b4d1a
fix minor unused variable warning
2025-03-11 00:17:45 -07:00
c583c2c39e
warn when requesting decompression with multiple threads
...
restore #2918 fix
2025-03-10 22:50:00 -07:00
2ff87aefac
fix FreeBSD
...
use an alias instead of a function
also: added more traces and updated version nb to v1.5.8
2025-03-10 19:04:41 -07:00
56e2ebf5c3
removed useless assert()
2025-03-10 09:54:06 -07:00
d5986f235f
fix #4332 : setting ZSTD_NBTHREADS=0 via environment variables
2025-03-10 00:12:34 -07:00
0de4991942
Add a method for checking if ZSTD was compiled with flags that impact determinism
2025-03-07 10:31:19 -05:00
f5a0e047cb
fix typo
2025-03-04 15:12:35 -08:00
0b40c513fd
update fileio to employ jobSize
2025-03-04 14:55:25 -08:00
0298df50f9
update cli-tests
2025-03-04 14:43:06 -08:00
19ffcf81b8
changed -B# command into --jobsize
...
to reduce confusion with the term "block".
-B# remains supported for existing scripts,
but it's no longer documented, so it's effectively a hidden shortcut.
2025-03-04 13:17:10 -08:00
fcfb3160dc
convert benchmark unit to use the new naming scheme
...
chunks instead of blocks
2025-03-04 13:04:59 -08:00
d5dbdd6ece
changed command --blocksize into --split
...
to reduce confusion with the concept of "blocks" inside a Zstandard frame.
We are now talking about "independent chunks" being produced by a `split` operation.
updated documentation accordingly.
Note: old commands "-B#` and `--blocksize=#` remain supported,
to maintain compatibility with existing scripts.
2025-03-04 12:53:23 -08:00
6af3842118
updated man pages and manual
...
fixes #4301
2025-02-19 16:25:00 -08:00
339bca6606
update ldm compression results
2025-02-10 10:46:37 -08:00
72406b71c3
update hrlog rule to favor compression ratio a bit more at low levels
2025-02-10 10:46:37 -08:00
bf218c142a
updated LDM documentation
2025-02-10 10:46:37 -08:00
5b8575adaa
Merge pull request #4289 from facebook/autoultra
...
--ultra automatically triggered with --long and --patch-from
2025-02-10 10:38:28 -08:00
468e1453a5
disable --max in 32-bit mode
2025-02-09 23:16:14 -08:00
f86024ccd2
reinforce man page warning
...
32-bit is unsuitable for --max
2025-02-09 17:25:35 -08:00
39d1d82fa8
adjusted mml heuristic
2025-02-09 17:24:12 -08:00
8ae1330708
add man entry for --max
2025-02-09 11:51:25 -08:00
630b47a158
added a new --max command
...
set parameters to maximum compression
(even more than -22)
2025-02-09 11:38:44 -08:00
aebffd66ec
--ultra automatically triggered with --long and --patch-from
...
the purpose of --ultra is to make the user explicitly opt-in
to generate very large window size (> 8 MB).
The agreement to generate very large window size is already implicit
when selecting --long or --patch-from.
Consequently, `--ultra ` is automatically enabled when `--long` or `--patch-from` is set.
2025-02-08 22:47:05 -08:00
60f84f73fe
bench: better result alignment
...
when displaying ratios > x100
2025-01-30 21:30:48 -08:00
319dc2911f
Merge pull request #4235 from facebook/bench_nbThreads
...
benchmark mode specifies nb of threads with -v
2025-01-16 10:33:04 -08:00
f5dbdac818
fixed macro name typo
2025-01-12 23:08:26 -08:00
56500044c4
bench: nb threads specified with -v
2025-01-12 12:01:57 -08:00
a610550e2c
Merge pull request #4218 from facebook/externC
...
Move #includes out of `extern "C"` blocks
2025-01-07 10:06:08 -08:00
0fd521048d
Update MANDIR for FreeBSD
...
share/man became a valid path for manpage since Jan 2020. And we
converted the whole ports tree to share/man around last March.
2025-01-05 22:26:08 +08:00
dfb236b2aa
chore: indentation alignment
2025-01-02 15:10:40 -08:00
6b046f5841
PR feedback
2025-01-02 15:05:58 -08:00
54c3d998a0
Support for libc variants without fseeko/ftello
...
Some older Android libc implementations don't support `fseeko` or `ftello`.
This commit adds a new compile-time macro `LIBC_NO_FSEEKO` as well as a usage in CMake for old Android APIs.
2025-01-02 14:02:10 -08:00
04a2a0219c
update type names
...
naming convention: Type names should start with a Capital letter (after the prefix)
2024-12-29 14:25:33 -08:00
56cfb7816a
codemod: ZSTD_paramSwitch_e -> ZSTD_ParamSwitch_e
2024-12-20 10:36:58 -08:00
125f05282b
publish new symbol ZSTD_compressSequencesAndLiterals()
2024-12-20 10:36:04 -08:00