Yann Collet
a2245721ca
codemod: seqStore_t -> SeqStore_t
...
same idea, SeqStore_t is a type name, it should start with a Capital letter.
2024-12-20 10:36:55 -08:00
Yann Collet
9671813375
codemod: seqDef -> SeqDef
...
SeqDef is a type name, so it should start with a Capital letter.
It's an internal symbol, no impact on public API.
2024-12-20 10:36:55 -08:00
Yann Collet
b4a40a845f
move Sequences definition to zstd_compress_internal.h
...
they should not be in common/zstd_internal.h,
since these definitions are not shared beyond lib/compress/.
2024-12-20 10:36:55 -08:00
Yann Collet
a00f45a037
created ZSTD_storeSeqOnly()
...
makes it possible to register a sequence without copying its literals.
2024-12-20 10:36:04 -08:00
Yann Collet
125f05282b
publish new symbol ZSTD_compressSequencesAndLiterals()
2024-12-20 10:36:04 -08:00
Bent and Nick Terrell
5a7f5c745c
removed debug echos
2024-12-20 07:33:53 -08:00
Bent and Nick Terrell
d06e8778bc
added UNAME_TARGET_SYSTEM build flag to configure shared lib flags
2024-12-20 07:33:53 -08:00
Victor Zhang
8f49db5a02
Revert "Remove unnecessary extern C declarations from xxhash.h"
...
This reverts commit 10b9d81909 .
2024-12-19 17:54:41 -08:00
Victor Zhang
c7af0428c6
Oopsie with fileio_common.h
2024-12-19 17:48:00 -08:00
Victor Zhang
10b9d81909
Remove unnecessary extern C declarations from xxhash.h
2024-12-19 16:54:32 -08:00
Victor Zhang
c727d5cd67
Remove unnecessary extern C declarations from programs/ and contrib/
2024-12-19 16:20:23 -08:00
Victor Zhang
d0d5ce4c00
Remove extern C blocks from lib/* internal APIs (except xxhash.h)
2024-12-19 16:00:11 -08:00
Victor Zhang
d51e6072a8
Test: remove extern C from some lib/common files
2024-12-19 14:59:02 -08:00
Victor Zhang
a7bb6d6c49
Oopsie with xxhash.h [1/?]
2024-12-18 12:41:53 -08:00
Victor Zhang
07ffcc6b65
Separate xxhash includes from extern C blocks
2024-12-18 12:35:10 -08:00
Victor Zhang
f25b9f11ba
Oopsie with zdict.h
2024-12-18 10:10:20 -08:00
Victor Zhang
63acf9a995
Oopsie with huf.h, debug.h
2024-12-18 09:56:50 -08:00
Victor Zhang
58a7f4b869
Oopsie with threading.h
2024-12-17 18:37:33 -08:00
Victor Zhang
fa5bfb6030
Oopsie with zstd.h
2024-12-17 18:34:04 -08:00
Victor Zhang
ded4c1ec18
Oopsie with util.h
2024-12-17 18:18:02 -08:00
Victor Zhang
5222dd87cf
Oopsie with fse.h
2024-12-17 18:11:58 -08:00
Victor Zhang
fc726da774
Move #includes out of extern "C" blocks
...
Do some include shuffling for `**.h` files within lib, programs, tests, and zlibWrapper.
`lib/legacy` and `lib/deprecated` are untouched.
`#include`s within `extern "C"` blocks in .cpp files are untouched.
todo: shuffling for `xxhash.h`
2024-12-17 17:55:07 -08:00
Yann Collet and GitHub
0218c8de0f
Merge pull request #4212 from diegonc/t/fix-test-on-gnuhurd
...
tests: fix non-regular file test on GNU/Hurd
2024-12-16 20:43:34 -08:00
Yann Collet and GitHub
2d8710c447
Merge pull request #4213 from kevinjzhang/CI
...
Move sanitizer CI jobs back to ubuntu-latest
2024-12-16 20:43:13 -08:00
Yann Collet and GitHub
5a1c5014cb
Merge pull request #4214 from facebook/ldm_bucketLog
...
minor: more accurate parameter for `ZSTD_ldm_insertEntry()`
2024-12-16 20:43:00 -08:00
Yann Collet
50ca9984ad
minor: more accurate parameter
...
just pass ldm_bucketLog, instead of the entire ldm* state
2024-12-14 11:57:14 -08:00
Victor Zhang and GitHub
f7a8bb1263
Merge pull request #4210 from facebook/cm310
...
Update cmake minimum requirement to 3.10
2024-12-13 14:57:52 -08:00
Elliot Gorokhovsky and Kevin Zhang
7236e05b0a
Revert "Pin tsan and msan CI jobs to ubuntu-20.04 ( #3945 )"
...
This reverts commit ee6acaf26b .
2024-12-13 10:44:54 -08:00
Victor Zhang
1198a582d3
Update VERSION_LESS usage to VERSION_GREATER_THAN
2024-12-12 11:39:40 -08:00
daniellerozenblit and GitHub
17beeb5d1a
Change CLI to employ multithreading by default ( #4211 )
...
* Change CLI to employ multithreading by default
* Document changes to benchmarking, print number of threads for display level >= 4, and add lower bound of 1 for the default number of threads
2024-12-12 13:09:29 -05:00
Diego Nieto Cid
4a4786bef0
tests: fix non-regular file test on GNU/Hurd
...
Since commit b21b03ca6 [1] the behaviour of writes to /dev/zero has been
fixed and now the non-regular file removal test no longer needs to be
done on /dev/random (which no longer works as random is not writable now).
[1] https://git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=b21b03ca624b89caeedfe58430cea4b40317d39f
2024-12-10 10:30:52 -03:00
Victor Zhang
e190e7944e
Update cmake minimum requirement to 3.10
...
CMake warns on the current minimum requirement (3.5). Update to 3.10.
This means support is still available for the default on Ubuntu 18.04, which
exited LTS standard in April of 2023.
[draft]
2024-12-09 10:53:38 -08:00
Yann Collet and GitHub
709be6c227
Merge pull request #4208 from facebook/dependabot/github_actions/msys2/setup-msys2-2.26.0
...
Bump msys2/setup-msys2 from 2.25.0 to 2.26.0
2024-12-08 22:17:49 -08:00
dependabot[bot] and GitHub
c254ea097b
Bump msys2/setup-msys2 from 2.25.0 to 2.26.0
...
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2 ) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases )
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/msys2/setup-msys2/compare/c52d1fa9c7492275e60fe763540fb601f5f232a1...d44ca8e88d8b43d56cf5670f91747359d5537f97 )
---
updated-dependencies:
- dependency-name: msys2/setup-msys2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-09 05:38:13 +00:00
郑苏波 (Super Zheng) and Nick Terrell
5e0a83ec25
Disallow 32-bit mode in clang section
...
Fix register %rbx is only available in 64-bit mode
2024-12-04 06:47:32 -08:00
Yann Collet and GitHub
82d470564d
Merge pull request #4201 from rorosen/seek-table-create-null-check
...
prevent possible segfault when creating seek table
2024-11-26 17:59:42 -08:00
Yann Collet and GitHub
2b36d4bc1c
Merge pull request #4202 from nhz2/fix-compressBound-typo
...
Fix typo in ZSTD_compressBound docs
2024-11-26 17:59:25 -08:00
Yann Collet and GitHub
7f11e6d2b6
Merge pull request #4205 from DimitriPapadopoulos/codespell
...
Fix new typos found by codespell
2024-11-26 09:59:25 -08:00
Dimitri Papadopoulos
fcf88ae39b
Fix new typos found by codespell
2024-11-26 11:15:39 +01:00
Yann Collet and GitHub
1958fff050
Merge pull request #4199 from jimis/fix_filesize_print
...
Fix printing of filesize if >4GB
2024-11-25 08:54:11 -08:00
Robert Rose
b683c0dbe2
prevent possible segfault when creating seek table
...
Add a check whether the seek table of a `ZSTD_seekable` is initialized
before creating a new seek table from it. Return `NULL`, if the check
fails.
2024-11-25 08:57:25 +01:00
nhz2
10beb7cb53
Fix typo in ZSTD_compressBound docs
2024-11-24 19:05:15 -05:00
Dimitrios Apostolou
194062a4e7
Fix printing of filesize if >4GB
2024-11-20 16:11:17 +01:00
Yann Collet and GitHub
b0a179d469
Merge pull request #4196 from facebook/dependabot/github_actions/msys2/setup-msys2-2.25.0
...
Bump msys2/setup-msys2 from 2.24.1 to 2.25.0
2024-11-18 08:34:40 -08:00
dependabot[bot] and GitHub
a9d279c97c
Bump msys2/setup-msys2 from 2.24.1 to 2.25.0
...
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2 ) from 2.24.1 to 2.25.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases )
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/msys2/setup-msys2/compare/ddf331adaebd714795f1042345e6ca57bd66cea8...c52d1fa9c7492275e60fe763540fb601f5f232a1 )
---
updated-dependencies:
- dependency-name: msys2/setup-msys2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 05:12:44 +00:00
Yann Collet and GitHub
45fdc5f9e4
Merge pull request #4191 from lukaso/fix-macos-min-version-sdk-path
...
cmake: Fix #4038 MacOS target older OS and SDK versions
2024-11-11 10:27:57 -08:00
Yann Collet and GitHub
314092f150
Merge pull request #4194 from facebook/dependabot/github_actions/github/codeql-action-3.27.1
...
Bump github/codeql-action from 3.26.2 to 3.27.1
2024-11-11 07:54:06 -08:00
dependabot[bot] and GitHub
2d1bbc37eb
Bump github/codeql-action from 3.26.2 to 3.27.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.2 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/429e1977040da7a23b6822b13c129cd1ba93dbb2...4f3212b61783c3c68e8309a0f18a699764811cda )
---
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 >
2024-11-11 05:27:06 +00:00
Yann Collet and GitHub
b2c5bc16d9
Merge pull request #4188 from facebook/qnx_include
...
blind fix for QNX
2024-11-10 12:34:05 -08:00
Lukas Oberhuber
d0fe334c85
cmake: Fix #4038 MacOS target older OS and SDK versions
...
This fix ensures that when `MACOSX_DEPLOYMENT_TARGET` and `SDKROOT` are set, they are respected when building the libraries and executables.
2024-11-08 00:08:33 +00:00