]>
git.ipfire.org Git - thirdparty/zstd.git/log
dependabot[bot] [Mon, 24 Feb 2025 05:44:08 +0000 (05:44 +0000)]
Bump msys2/setup-msys2 from 2.26.0 to 2.27.0
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.26.0 to 2.27.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/
d44ca8e88d8b43d56cf5670f91747359d5537f97 ...
61f9e5e925871ba6c9e3e8da24ede83ea27fa91f )
---
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>
Yann Collet [Thu, 20 Feb 2025 00:56:55 +0000 (16:56 -0800)]
Merge pull request #4302 from facebook/man157
updated man pages and manual
Yann Collet [Thu, 20 Feb 2025 00:25:00 +0000 (16:25 -0800)]
updated man pages and manual
fixes #4301
Yann Collet [Wed, 19 Feb 2025 06:18:57 +0000 (22:18 -0800)]
Merge pull request #4300 from facebook/bench_157
updated benchmark numbers for v1.5.7
Yann Collet [Wed, 19 Feb 2025 05:22:02 +0000 (21:22 -0800)]
updated benchmark numbers
using latest version of @inikep's lzbench
Yann Collet [Wed, 19 Feb 2025 00:19:18 +0000 (16:19 -0800)]
faster clang-msan-testzstd
this is by far our longest CI test.
Attempt to make it run a bit faster.
Yann Collet [Tue, 18 Feb 2025 23:26:29 +0000 (15:26 -0800)]
Merge pull request #4299 from facebook/ga_harden
Improved Github Actions scorecards
Yann Collet [Tue, 18 Feb 2025 22:53:31 +0000 (14:53 -0800)]
pinned dependency hash
Yann Collet [Tue, 18 Feb 2025 22:50:03 +0000 (14:50 -0800)]
harden github actions script Android NDK Build
Yann Collet [Tue, 18 Feb 2025 22:35:24 +0000 (14:35 -0800)]
Merge pull request #4297 from facebook/changelog157
update changelog for v1.5.7
Yann Collet [Tue, 18 Feb 2025 21:42:54 +0000 (13:42 -0800)]
update changelog for v1.5.7
Yann Collet [Fri, 14 Feb 2025 04:21:35 +0000 (20:21 -0800)]
Merge pull request #4274 from luau-project/intel-compilers
CI: enable Intel LLVM C compiler (icx) check
Yann Collet [Fri, 14 Feb 2025 04:21:10 +0000 (20:21 -0800)]
Merge pull request #4293 from facebook/rip-ubuntu20
Fixed CI
Yann Collet [Tue, 11 Feb 2025 21:20:15 +0000 (13:20 -0800)]
disabled BTI test
this test seems impossible on Ubuntu-24
Yann Collet [Tue, 11 Feb 2025 21:11:29 +0000 (13:11 -0800)]
faster aarch64 test execution
Yann Collet [Tue, 11 Feb 2025 20:58:35 +0000 (12:58 -0800)]
minor arm64 test script clarification
Yann Collet [Tue, 11 Feb 2025 20:52:59 +0000 (12:52 -0800)]
updated FreeBSD VM to 14.2
14.1 seems no longer supported by gcloud
Yann Collet [Tue, 11 Feb 2025 19:43:23 +0000 (11:43 -0800)]
update arm64 test
for ubuntu-24
Yann Collet [Tue, 11 Feb 2025 19:37:18 +0000 (11:37 -0800)]
removing x32 tests
this ABI is no longer supported by Ubuntu,
and there is a wider consensus that this ABI is on the way out,
with more and more distributions dropping it,
and lingering questions about support of x32 in the kernel.
Yann Collet [Tue, 11 Feb 2025 17:57:18 +0000 (09:57 -0800)]
move qemu tests to ubuntu24
Yann Collet [Tue, 11 Feb 2025 17:19:08 +0000 (09:19 -0800)]
ubuntu 20 is being deprecated
change ubuntu20 tests to use more modern ubuntu variants
Yann Collet [Mon, 10 Feb 2025 20:09:16 +0000 (12:09 -0800)]
Merge pull request #4288 from facebook/stronger_patchfrom
Improve compression ratio of the --patch-from mode
Yann Collet [Mon, 10 Feb 2025 18:48:56 +0000 (10:48 -0800)]
update hrlog comment
Yann Collet [Sun, 9 Feb 2025 19:11:49 +0000 (11:11 -0800)]
derive hashratelog from hashlog when only hashlog is set
Yann Collet [Sun, 9 Feb 2025 00:16:35 +0000 (16:16 -0800)]
update ldm compression results
Yann Collet [Sat, 8 Feb 2025 22:27:29 +0000 (14:27 -0800)]
adjust mml
Yann Collet [Sat, 8 Feb 2025 06:47:57 +0000 (22:47 -0800)]
fix boundary condition
Yann Collet [Sat, 8 Feb 2025 02:57:44 +0000 (18:57 -0800)]
update hrlog rule to favor compression ratio a bit more at low levels
Yann Collet [Sat, 8 Feb 2025 01:40:54 +0000 (17:40 -0800)]
update results from the --long mode
Yann Collet [Sat, 8 Feb 2025 01:15:24 +0000 (17:15 -0800)]
updated LDM documentation
Yann Collet [Sat, 8 Feb 2025 00:59:34 +0000 (16:59 -0800)]
dynamic bucket sizes
Yann Collet [Fri, 7 Feb 2025 23:58:42 +0000 (15:58 -0800)]
dynamically adjust hratelog and ldmml based on strategy
Yann Collet [Mon, 10 Feb 2025 18:38:28 +0000 (10:38 -0800)]
Merge pull request #4289 from facebook/autoultra
--ultra automatically triggered with --long and --patch-from
Yann Collet [Mon, 10 Feb 2025 18:38:00 +0000 (10:38 -0800)]
Merge pull request #4290 from facebook/lmax
--max command
Yann Collet [Mon, 10 Feb 2025 07:45:47 +0000 (23:45 -0800)]
Merge pull request #4291 from facebook/dependabot/github_actions/github/codeql-action-3.28.9
Bump github/codeql-action from 3.28.1 to 3.28.9
Yann Collet [Mon, 10 Feb 2025 07:41:32 +0000 (23:41 -0800)]
modifies command echoing for macos / linux compatibility
Yann Collet [Mon, 10 Feb 2025 07:14:16 +0000 (23:14 -0800)]
disable --max in 32-bit mode
Yann Collet [Mon, 10 Feb 2025 07:02:14 +0000 (23:02 -0800)]
update test for 32-bit mode
--max doesn't work in 32-bit mode, due to address space limitation
dependabot[bot] [Mon, 10 Feb 2025 05:36:44 +0000 (05:36 +0000)]
Bump github/codeql-action from 3.28.1 to 3.28.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.1 to 3.28.9.
- [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/
b6a472f63d85b9c78a3ac5e89422239fc15e9b3c ...
9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 )
---
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>
Yann Collet [Mon, 10 Feb 2025 01:25:35 +0000 (17:25 -0800)]
reinforce man page warning
32-bit is unsuitable for --max
Yann Collet [Mon, 10 Feb 2025 01:24:12 +0000 (17:24 -0800)]
adjusted mml heuristic
Yann Collet [Sun, 9 Feb 2025 20:26:36 +0000 (12:26 -0800)]
added --max to test suite
Yann Collet [Sun, 9 Feb 2025 19:51:25 +0000 (11:51 -0800)]
add man entry for --max
Yann Collet [Sun, 9 Feb 2025 19:38:44 +0000 (11:38 -0800)]
added a new --max command
set parameters to maximum compression
(even more than -22)
Yann Collet [Sun, 9 Feb 2025 06:47:05 +0000 (22:47 -0800)]
--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.
Yann Collet [Thu, 6 Feb 2025 18:55:44 +0000 (10:55 -0800)]
Merge pull request #4284 from facebook/mesonNoexec
Add noexecstack flag for gcc/clang C and CPP in Meson
Yann Collet [Thu, 6 Feb 2025 04:12:56 +0000 (20:12 -0800)]
Merge pull request #4276 from facebook/fix_patchfrom_hc_speed
fix speed of --patch-from mode at high compression levels
Yann Collet [Thu, 6 Feb 2025 02:47:26 +0000 (18:47 -0800)]
Revert "pass dictionary loading method as parameter"
This reverts commit
821fc567f93a415e9fbe856271ccd452ee7acf07 .
Yann Collet [Sat, 1 Feb 2025 08:41:36 +0000 (00:41 -0800)]
better MT fluidity
--patch-from no longer blocked on first job dictionary loading
Yann Collet [Sat, 1 Feb 2025 08:55:52 +0000 (00:55 -0800)]
ensure cdict is properly reset to NULL
Yann Collet [Sat, 1 Feb 2025 04:57:21 +0000 (20:57 -0800)]
skips the need to create a temporary cdict for --patch-from
thus saving a bit of memory and a little bit of cpu time
Yann Collet [Sat, 1 Feb 2025 02:19:45 +0000 (18:19 -0800)]
reduced memory usage
by avoiding to duplicate in memory
a dictionary that was passed by reference.
Yann Collet [Fri, 31 Jan 2025 23:53:25 +0000 (15:53 -0800)]
always free .cdictLocal
Yann Collet [Fri, 31 Jan 2025 23:00:36 +0000 (15:00 -0800)]
update type naming convention
Yann Collet [Fri, 31 Jan 2025 02:05:58 +0000 (18:05 -0800)]
minor boundary change
improves compression ratio at low levels
Yann Collet [Thu, 30 Jan 2025 23:58:20 +0000 (15:58 -0800)]
fix speed of --patch-from at high compression mode
Yann Collet [Thu, 6 Feb 2025 01:42:54 +0000 (17:42 -0800)]
Merge pull request #4287 from facebook/warn_error
visual studio compilation tests: error out on warnings
Yann Collet [Thu, 6 Feb 2025 01:01:19 +0000 (17:01 -0800)]
fix minor conversion warnings
Yann Collet [Thu, 6 Feb 2025 00:48:19 +0000 (16:48 -0800)]
more %zu warnings fixes
Yann Collet [Thu, 6 Feb 2025 00:36:54 +0000 (16:36 -0800)]
fix more %zu warnings
Yann Collet [Thu, 6 Feb 2025 00:28:52 +0000 (16:28 -0800)]
fix minor printf argument limitation on older mingw
which do not support `%zu` fields
Yann Collet [Thu, 6 Feb 2025 00:13:58 +0000 (16:13 -0800)]
fix minor alignment warning
Yann Collet [Thu, 6 Feb 2025 00:11:54 +0000 (16:11 -0800)]
fix minor alignment warning
this is a prototype definition error:
`_mm_storeu_si128()` should accept a `void*` pointer,
since it explicitly states that it accepts unaligned addresses
yet requiring a `__m128i*` tells otherwise, and requires the compiler the enforce this alignment.
Yann Collet [Wed, 5 Feb 2025 23:46:44 +0000 (15:46 -0800)]
fix one minor alignment warning
seems like a prototype interface error:
input parameter should have been `const void*`,
since the documentation is explicit that input doesn't have to be aligned,
but `const __m256i*` makes the compiler enforce it.
Yann Collet [Wed, 5 Feb 2025 23:38:39 +0000 (15:38 -0800)]
make visual studio tests error out on warnings
Yann Collet [Wed, 5 Feb 2025 23:30:51 +0000 (15:30 -0800)]
Merge pull request #4286 from facebook/visual_clang_avx2
Fix Visual + ClangCL + AVX2 compilation
Yann Collet [Wed, 5 Feb 2025 21:48:24 +0000 (13:48 -0800)]
added __clang__ to compiler-specific alignment attribute
when clang is used within msvc, `__GNUC__` isn't defined,
so testing `__clang__` explicitly is required.
Yann Collet [Wed, 5 Feb 2025 21:25:14 +0000 (13:25 -0800)]
changed C11 keyword to _Alignas
so that it doesn't depend on #include
Yann Collet [Wed, 5 Feb 2025 20:06:14 +0000 (12:06 -0800)]
adding a Visual + ClangCL + AVX2 compilation test
Victor Zhang [Tue, 4 Feb 2025 23:20:39 +0000 (15:20 -0800)]
Add noexecstack flag for gcc/clang C and CPP in Meson
The `-Wl,-z,noexecstack` and `-Wa,--noexecstack` flags are already set for CMake, but not for Meson.
This brings the flags to the Meson build as well. Note that this maintains the discrepancy in behavior
between CMake and Meson when it comes to enabling ASM: on CMake, the ZSTD_HAS_NOEXECSTACK variable
is set and these flags added for GCC/Clang and MinGW. Then later, the ZSTD_HAS_NOEXECSTACK variable
is checked (along with some other conditions) to enable or disable ASM. However on Meson, this logic
is restricted to simply checking for GCC/Clang. This patch maintains this behavior; noexecstack is
dependent on GCC/Clang only.
Yann Collet [Fri, 31 Jan 2025 22:39:20 +0000 (14:39 -0800)]
Merge pull request #4265 from pps83/static-bmi2-check
Check `STATIC_BMI2` instead of `STATIC_BMI2 == 1`
Yann Collet [Fri, 31 Jan 2025 22:38:19 +0000 (14:38 -0800)]
Merge pull request #4271 from tsdgeos/removedupe
cmake: Remove duplicated line
Yann Collet [Fri, 31 Jan 2025 22:38:01 +0000 (14:38 -0800)]
Merge pull request #4278 from facebook/bench_x100
bench: better result alignment
Yann Collet [Fri, 31 Jan 2025 05:30:48 +0000 (21:30 -0800)]
bench: better result alignment
when displaying ratios > x100
Yann Collet [Thu, 30 Jan 2025 19:11:51 +0000 (11:11 -0800)]
Merge pull request #4264 from pps83/dev-static-bmi2
Move STATIC_BMI2 define to portability_macros.h
luau-project [Thu, 30 Jan 2025 09:08:21 +0000 (06:08 -0300)]
CI: enable Intel LLVM C compiler (icx) check
Albert Astals Cid [Mon, 27 Jan 2025 23:22:35 +0000 (00:22 +0100)]
cmake: Remove duplicated line
Yann Collet [Mon, 27 Jan 2025 19:58:22 +0000 (11:58 -0800)]
Merge pull request #4269 from luau-project/fix-rc-include
fix: quote include directory for resource compiler
luau-project [Mon, 27 Jan 2025 18:18:55 +0000 (15:18 -0300)]
fix: quote include directory for resource compiler
Yann Collet [Mon, 27 Jan 2025 17:44:53 +0000 (09:44 -0800)]
Merge pull request #4260 from gcabiddu/compress_sequences_kernel
[linux] Expose ZSTD_compressSequences*() in the kernel
Giovanni Cabiddu [Tue, 21 Jan 2025 18:52:46 +0000 (18:52 +0000)]
[linux] Expose ZSTD_compressSequencesAndLiterals() in the kernel
Make the function ZSTD_compressSequencesAndLiterals() available in kernel
space. This will be used by Intel QAT driver.
Additionally, (1) expose the function ZSTD_CCtx_setParameter(), which is
required to set parameters before calling ZSTD_compressSequencesAndLiterals(),
(2) update the build process to include `compress/zstd_preSplit.o` and
(3) replace `asm/unaligned.h` with `linux/unaligned.h`.
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
luau-project [Sun, 26 Jan 2025 19:50:39 +0000 (16:50 -0300)]
CI: build with CMake on source directory with spaces to reproduce #4268
Yann Collet [Mon, 27 Jan 2025 06:55:46 +0000 (22:55 -0800)]
Merge pull request #4266 from pps83/rm-ZSTD_decompressSequences_t
Remove unused ZSTD_decompressSequences_t typedef
Pavel P [Thu, 23 Jan 2025 23:26:13 +0000 (01:26 +0200)]
fix formatting
Pavel P [Thu, 23 Jan 2025 23:25:07 +0000 (01:25 +0200)]
Check `STATIC_BMI2` instead of `STATIC_BMI2 == 1`
Pavel P [Thu, 23 Jan 2025 22:09:44 +0000 (00:09 +0200)]
Reorder __BMI2__ check
+ if `__BMI2__` defined, then set STATIC_BMI2 for all compilers
+ use `defined(_MSC_VER) && defined(__AVX2__)` as fallback for ms compiler
Pavel P [Thu, 23 Jan 2025 22:06:13 +0000 (00:06 +0200)]
Update comment for STATIC_BMI2 macro
Pavel P [Thu, 23 Jan 2025 22:05:03 +0000 (00:05 +0200)]
Move STATIC_BMI2 block as-is to portability_macros.h
Pavel P [Fri, 24 Jan 2025 00:13:20 +0000 (02:13 +0200)]
Remove unused ZSTD_decompressSequences_t typedef
Yann Collet [Thu, 23 Jan 2025 23:53:17 +0000 (15:53 -0800)]
Merge pull request #4263 from pps83/dev-dyn-bmi2
Check `DYNAMIC_BMI2` instead of `DYNAMIC_BMI2 != 0`
Pavel P [Thu, 23 Jan 2025 21:58:50 +0000 (23:58 +0200)]
Check `DYNAMIC_BMI2` instead of `DYNAMIC_BMI2 != 0`
`#if DYNAMIC_BMI2` is consistent with the rest of the code.
+ use spaces instead of tabs
Yann Collet [Thu, 23 Jan 2025 20:50:27 +0000 (12:50 -0800)]
Merge pull request #4257 from pps83/dev-x64test
Use _M_X64 only without mixing with _M_AMD64
Yann Collet [Wed, 22 Jan 2025 23:09:35 +0000 (15:09 -0800)]
Merge pull request #4258 from pps83/dev-ZSTD_ALIGNED
Implement ZSTD_ALIGNED for ms compiler
Yann Collet [Wed, 22 Jan 2025 23:09:11 +0000 (15:09 -0800)]
Merge pull request #4259 from Treata11/dev
Add support for Apple framework builds
Treata11 [Wed, 22 Jan 2025 19:24:03 +0000 (22:54 +0330)]
Instructions for Apple Framework builds
Treata11 [Wed, 22 Jan 2025 19:23:41 +0000 (22:53 +0330)]
Build: Revert min version to 3.10
Treata11 [Tue, 21 Jan 2025 17:36:54 +0000 (21:06 +0330)]
Ignore generated framework artifacts
Signed-off-by: Treata11 <treata11@yahoo.com>
Treata11 [Tue, 21 Jan 2025 17:28:27 +0000 (20:58 +0330)]
Build: Add support for Apple frameworks
Signed-off-by: Treata11 <treata11@yahoo.com>
Pavel P [Tue, 21 Jan 2025 00:33:25 +0000 (02:33 +0200)]
Implement ZSTD_ALIGNED for ms compiler
Pavel P [Tue, 21 Jan 2025 00:27:09 +0000 (02:27 +0200)]
Use _M_X64 only without mixing with _M_AMD64