]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
2 months agoFix duplicate LC_RPATH error on MacOS 4370/head 4371/head
Etienne Cordonnier [Fri, 18 Apr 2025 12:37:50 +0000 (14:37 +0200)] 
Fix duplicate LC_RPATH error on MacOS

After the update to MacOS 15.4, the dynamic loader dyld treats duplicated LC_RPATH as an error.
The `FLAGS` variable already contains `LDFLAGS`, thus using both `FLAGS` and `LDFLAGS`
duplicates all `LDFLAGS`, including `-Wl,rpath` parameters.

The duplicate LC_RPATH causes this kind of errors:

```
dyld[29361]: Library not loaded: @loader_path/../lib/libzstd.1.dylib
      Referenced from: <7131C877-3CF0-33AC-AA05-257BA4FDD770> /Users/foobar/...
      Reason: tried: '/Users/foobar/..../lib/libzstd.1.dylib' (duplicate LC_RPATH '/usr/mypath.../lib')
```

Closes https://github.com/facebook/zstd/issues/4369

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2 months agoMerge pull request #4362 from facebook/dependabot/github_actions/actions/setup-java...
Yann Collet [Mon, 14 Apr 2025 10:19:07 +0000 (03:19 -0700)] 
Merge pull request #4362 from facebook/dependabot/github_actions/actions/setup-java-4.7.1

Bump actions/setup-java from 4.7.0 to 4.7.1

2 months agoBump actions/setup-java from 4.7.0 to 4.7.1 4362/head
dependabot[bot] [Mon, 14 Apr 2025 05:21:33 +0000 (05:21 +0000)] 
Bump actions/setup-java from 4.7.0 to 4.7.1

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/3a4f6e1af504cf6a31855fa899c6aa5355ba6c12...c5195efecf7bdfc987ee8bae7a71cb8b11521c00)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 4.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoMerge pull request #4353 from afq984/sparse
Yann Collet [Mon, 7 Apr 2025 10:48:41 +0000 (03:48 -0700)] 
Merge pull request #4353 from afq984/sparse

Check regular file for sparse support after opening

3 months agoUpdate cli-tests/file-stat tests 4353/head
Li-Yu Yu [Fri, 28 Mar 2025 21:45:47 +0000 (21:45 +0000)] 
Update cli-tests/file-stat tests

3 months agoCheck regular file for sparse support after opening
Li-Yu Yu [Fri, 28 Mar 2025 21:16:29 +0000 (21:16 +0000)] 
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.

3 months agoMerge pull request #4349 from Cyan4973/devfd
Yann Collet [Fri, 28 Mar 2025 17:35:45 +0000 (10:35 -0700)] 
Merge pull request #4349 from Cyan4973/devfd

Support process substitution for `--filelist=`

3 months agoupdate error message 4349/head
Yann Collet [Fri, 28 Mar 2025 17:02:37 +0000 (10:02 -0700)] 
update error message

3 months agofix test
Yann Collet [Thu, 27 Mar 2025 04:33:26 +0000 (21:33 -0700)] 
fix test

3 months agoadd error message clarification for inputs as process substitution
Yann Collet [Thu, 27 Mar 2025 02:21:48 +0000 (19:21 -0700)] 
add error message clarification for inputs as process substitution

3 months agoadded CI test
Yann Collet [Tue, 25 Mar 2025 23:39:42 +0000 (16:39 -0700)] 
added CI test

3 months agovisual studio fix
Yann Collet [Tue, 25 Mar 2025 22:22:55 +0000 (15:22 -0700)] 
visual studio fix

3 months agominor: restore some code comment
Yann Collet [Tue, 25 Mar 2025 04:31:51 +0000 (21:31 -0700)] 
minor: restore some code comment

3 months agobetter naming
Yann Collet [Tue, 25 Mar 2025 04:20:21 +0000 (21:20 -0700)] 
better naming

and more narrow scope of local variables

3 months agosecond implementation, better structured for improved maintenance
Yann Collet [Tue, 25 Mar 2025 03:47:56 +0000 (20:47 -0700)] 
second implementation, better structured for improved maintenance

3 months agofirst implementation supporting Process Substitution
Yann Collet [Tue, 25 Mar 2025 03:42:52 +0000 (20:42 -0700)] 
first implementation supporting Process Substitution

3 months agoMerge pull request #4346 from Cyan4973/wintime
Yann Collet [Fri, 28 Mar 2025 04:07:57 +0000 (21:07 -0700)] 
Merge pull request #4346 from Cyan4973/wintime

fix a risk of overflow on a time counter on Windows

3 months agoMerge pull request #4350 from Cyan4973/patchapply
Yann Collet [Thu, 27 Mar 2025 16:57:20 +0000 (09:57 -0700)] 
Merge pull request #4350 from Cyan4973/patchapply

add --patch-apply command

3 months agoadd --patch-apply command 4350/head
Yann Collet [Tue, 25 Mar 2025 21:23:14 +0000 (14:23 -0700)] 
add --patch-apply command

as an equivalent for `-d --patch-from`.
Requested by @sergeevabc in #2173.

3 months agoMerge pull request #4314 from facebook/dependabot/github_actions/ossf/scorecard-actio...
Yann Collet [Tue, 25 Mar 2025 01:33:51 +0000 (18:33 -0700)] 
Merge pull request #4314 from facebook/dependabot/github_actions/ossf/scorecard-action-2.4.1

Bump ossf/scorecard-action from 2.4.0 to 2.4.1

3 months agoMerge pull request #4345 from Cyan4973/block128
Yann Collet [Tue, 25 Mar 2025 01:33:01 +0000 (18:33 -0700)] 
Merge pull request #4345 from Cyan4973/block128

[doc] minor clarification for maximum block size

3 months agoMerge pull request #4344 from Cyan4973/assert1
Yann Collet [Tue, 25 Mar 2025 01:32:37 +0000 (18:32 -0700)] 
Merge pull request #4344 from Cyan4973/assert1

add an assert

3 months agoupdate zstd --fast benchmark result
Yann Collet [Sun, 23 Mar 2025 19:06:58 +0000 (12:06 -0700)] 
update zstd --fast benchmark result

use --fast=4, instead of --fast=3,
to make it more representative of a lzo equivalent scenario.

3 months agoupdate benchmark result
Yann Collet [Sun, 23 Mar 2025 19:02:51 +0000 (12:02 -0700)] 
update benchmark result

brotli uses -1 level, like all other compressors

3 months agofix a risk of overflow on a time counter on Windows 4346/head
Yann Collet [Sun, 23 Mar 2025 18:42:41 +0000 (11:42 -0700)] 
fix a risk of overflow on a time counter on Windows

closes #4126

3 months ago[doc] minor clarification for maximum block size 4345/head
Yann Collet [Sun, 23 Mar 2025 06:52:45 +0000 (23:52 -0700)] 
[doc] minor clarification for maximum block size

closes #4339

3 months agoadd an assert 4344/head
Yann Collet [Sun, 23 Mar 2025 01:23:31 +0000 (18:23 -0700)] 
add an assert

to help static analyzers understand there is no overflow risk there.

3 months agoMerge pull request #4341 from clan/pragma
Yann Collet [Fri, 21 Mar 2025 02:49:08 +0000 (19:49 -0700)] 
Merge pull request #4341 from clan/pragma

lib/zstd.h: don't put pragma after static

3 months agolib/zstd.h: move pragma before static 4341/head
Z. Liu [Thu, 20 Mar 2025 03:28:37 +0000 (03:28 +0000)] 
lib/zstd.h: move pragma before static

otherwise will cause dev-python/zstandard build failed when compiling with
clang as reported at https://bugs.gentoo.org/950259

the root cause is pycparser, which is unfixed since reported 2.5 years
ago, :(

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
3 months agoMerge pull request #4336 from Cyan4973/qsort_v2
Yann Collet [Wed, 12 Mar 2025 17:31:54 +0000 (10:31 -0700)] 
Merge pull request #4336 from Cyan4973/qsort_v2

fix #4312 - musl compilation compatibility

3 months agoremoved OpenBSD specificity 4336/head
Yann Collet [Wed, 12 Mar 2025 16:55:14 +0000 (09:55 -0700)] 
removed OpenBSD specificity

3 months agoupdated documentation
Yann Collet [Tue, 11 Mar 2025 21:10:11 +0000 (14:10 -0700)] 
updated documentation

3 months agoadd support for C11 Annex K qsort_s()
Yann Collet [Tue, 11 Mar 2025 20:30:25 +0000 (13:30 -0700)] 
add support for C11 Annex K qsort_s()

standard defined re-entrant variant of qsort().
Unfortunately, Annex K is optional.

3 months agore-design qsort() selection in cover
Yann Collet [Tue, 11 Mar 2025 18:58:16 +0000 (11:58 -0700)] 
re-design qsort() selection in cover

centralizes auto detection tests,
then distribute the outcome in all the places where it's active.

3 months agofix #4312
Yann Collet [Tue, 11 Mar 2025 08:57:24 +0000 (01:57 -0700)] 
fix #4312

and upgraded the test so that it would fail, both at compile time and at run time, without the fix

3 months agoattempt to reduce length of long cli tests by invoking -T0
Yann Collet [Tue, 11 Mar 2025 08:14:39 +0000 (01:14 -0700)] 
attempt to reduce length of long cli tests by invoking -T0

3 months ago[linux] Opt out of row based match finder for the kernel
Nick Terrell [Tue, 11 Mar 2025 18:53:20 +0000 (11:53 -0700)] 
[linux] Opt out of row based match finder for the kernel

The row based match finder is slower without SIMD. We used to detect the
presence of SIMD to set the lower bound to 17, but that breaks
determinism. Instead, specifically opt into it for the kernel, because
it is one of the rare cases that doesn't have SIMD support.

3 months agoMerge pull request #4335 from Cyan4973/dec_mt_warning
Yann Collet [Tue, 11 Mar 2025 18:51:15 +0000 (11:51 -0700)] 
Merge pull request #4335 from Cyan4973/dec_mt_warning

warn when requesting decompression with multiple threads

3 months agofix minor unused variable warning 4335/head
Yann Collet [Tue, 11 Mar 2025 07:17:45 +0000 (00:17 -0700)] 
fix minor unused variable warning

3 months agowarn when requesting decompression with multiple threads
Yann Collet [Tue, 11 Mar 2025 05:46:33 +0000 (22:46 -0700)] 
warn when requesting decompression with multiple threads

restore #2918 fix

3 months agoMerge pull request #4334 from Cyan4973/fix4332
Yann Collet [Tue, 11 Mar 2025 05:12:24 +0000 (21:12 -0800)] 
Merge pull request #4334 from Cyan4973/fix4332

fix #4332: setting ZSTD_NBTHREADS=0 via environment variable

3 months agofixed ShellCheck warning 4334/head
Yann Collet [Tue, 11 Mar 2025 02:11:44 +0000 (19:11 -0700)] 
fixed ShellCheck warning

3 months agofix FreeBSD
Yann Collet [Mon, 10 Mar 2025 20:55:45 +0000 (13:55 -0700)] 
fix FreeBSD

use an alias instead of a function

also: added more traces and updated version nb to v1.5.8

3 months agoadd test
Yann Collet [Mon, 10 Mar 2025 20:40:47 +0000 (13:40 -0700)] 
add test

checks that ZSTD_NBTHREADS triggers the expected verbose message

Also: checked that the new test script fails on current `dev` branch, and is fixed by this branch

3 months agoremoved useless assert()
Yann Collet [Mon, 10 Mar 2025 16:54:06 +0000 (09:54 -0700)] 
removed useless assert()

3 months agofix #4332: setting ZSTD_NBTHREADS=0 via environment variables
Yann Collet [Mon, 10 Mar 2025 07:12:34 +0000 (00:12 -0700)] 
fix #4332: setting ZSTD_NBTHREADS=0 via environment variables

4 months ago[test] Add tests for determinism
Nick Terrell [Thu, 6 Mar 2025 19:14:38 +0000 (14:14 -0500)] 
[test] Add tests for determinism

Run compression & validate the compressed file matches a known checksum.

To update the output run:

```
make -C tests update-cli-tests
```

4 months agoAdd a method for checking if ZSTD was compiled with flags that impact determinism
Nick Terrell [Thu, 6 Mar 2025 22:31:57 +0000 (17:31 -0500)] 
Add a method for checking if ZSTD was compiled with flags that impact determinism

4 months agoMerge pull request #4329 from Cyan4973/cmd_split
Yann Collet [Wed, 5 Mar 2025 15:46:04 +0000 (07:46 -0800)] 
Merge pull request #4329 from Cyan4973/cmd_split

New commands --split and --jobsize

4 months ago[zstd] Remove global variables in dictBuilder
Nick Terrell [Tue, 4 Mar 2025 20:54:49 +0000 (15:54 -0500)] 
[zstd] Remove global variables in dictBuilder

D50949782 fixed a race condition updating `g_displayLevel` by disabling display.
Instead of disabling display, delete the global variable and always "capture" a local `displayLevel` variable.
This also fixes `DISPLAYUPDATE()` by requiring the user to pass in the last update time as the first parameter.

4 months ago[zstd] Backport D49756856
Nick Terrell [Tue, 4 Mar 2025 19:55:39 +0000 (14:55 -0500)] 
[zstd] Backport D49756856

4 months agoMerge pull request #4327 from Cyan4973/win_artifacts
Yann Collet [Wed, 5 Mar 2025 00:08:01 +0000 (16:08 -0800)] 
Merge pull request #4327 from Cyan4973/win_artifacts

Generate Zstandard binaries for Windows with lz4 support

4 months agoadded a cli test for new command --jobsize 4329/head
Yann Collet [Tue, 4 Mar 2025 23:24:43 +0000 (15:24 -0800)] 
added a cli test for new command --jobsize

4 months agofix typo
Yann Collet [Tue, 4 Mar 2025 23:12:35 +0000 (15:12 -0800)] 
fix typo

4 months agoupdate fileio to employ jobSize
Yann Collet [Tue, 4 Mar 2025 22:55:25 +0000 (14:55 -0800)] 
update fileio to employ jobSize

4 months agoupdate cli-tests
Yann Collet [Tue, 4 Mar 2025 22:43:06 +0000 (14:43 -0800)] 
update cli-tests

4 months agoupdated playTests.sh to employ the new commands
Yann Collet [Tue, 4 Mar 2025 21:22:01 +0000 (13:22 -0800)] 
updated playTests.sh to employ the new commands

4 months agochanged -B# command into --jobsize
Yann Collet [Tue, 4 Mar 2025 21:17:10 +0000 (13:17 -0800)] 
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.

4 months agoconvert benchmark unit to use the new naming scheme
Yann Collet [Tue, 4 Mar 2025 21:04:59 +0000 (13:04 -0800)] 
convert benchmark unit to use the new naming scheme

chunks instead of blocks

4 months agochanged command --blocksize into --split
Yann Collet [Tue, 4 Mar 2025 20:51:39 +0000 (12:51 -0800)] 
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.

4 months agoattempt to no longer depend on system library presence for autodetection 4327/head
Yann Collet [Mon, 3 Mar 2025 23:54:29 +0000 (15:54 -0800)] 
attempt to no longer depend on system library presence for autodetection

use explicit opt-in and path setting

4 months agoupdate zstd build recipe to also support lz4 format
Yann Collet [Mon, 3 Mar 2025 22:27:43 +0000 (14:27 -0800)] 
update zstd build recipe to also support lz4 format

4 months agoMerge pull request #4324 from facebook/dependabot/github_actions/actions/checkout-4
Yann Collet [Mon, 3 Mar 2025 18:39:50 +0000 (10:39 -0800)] 
Merge pull request #4324 from facebook/dependabot/github_actions/actions/checkout-4

Bump actions/checkout from 3 to 4

4 months agoUpdate windows-artifacts.yml 4324/head
Yann Collet [Mon, 3 Mar 2025 07:11:35 +0000 (23:11 -0800)] 
Update windows-artifacts.yml

edit version comment

4 months agoUpdate scorecards.yml
Yann Collet [Mon, 3 Mar 2025 07:11:08 +0000 (23:11 -0800)] 
Update scorecards.yml

edit version comment

4 months agoUpdate publish-release-artifacts.yml
Yann Collet [Mon, 3 Mar 2025 07:10:09 +0000 (23:10 -0800)] 
Update publish-release-artifacts.yml

fix version comment

4 months agoBump actions/checkout from 3 to 4
dependabot[bot] [Mon, 3 Mar 2025 05:44:17 +0000 (05:44 +0000)] 
Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agolib: zstd: export API needed for dictionary support
Sergey Senozhatsky [Mon, 2 Sep 2024 10:55:49 +0000 (19:55 +0900)] 
lib: zstd: export API needed for dictionary support

Patch series "zram: introduce custom comp backends API", v7.

This series introduces support for run-time compression algorithms tuning,
so users, for instance, can adjust compression/acceleration levels and
provide pre-trained compression/decompression dictionaries which certain
algorithms support.

At this point we stop supporting (old/deprecated) comp API.  We may add
new acomp API support in the future, but before that zram needs to undergo
some major rework (we are not ready for async compression).

Some benchmarks for reference (look at column #2)

*** init zstd
/sys/block/zram0/mm_stat
1750659072 504622188 514355200        0 514355200        1        0    34204    34204

*** init zstd dict=/home/ss/zstd-dict-amd64
/sys/block/zram0/mm_stat
1750650880 465908890 475398144        0 475398144        1        0    34185    34185

*** init zstd level=8 dict=/home/ss/zstd-dict-amd64
/sys/block/zram0/mm_stat
1750654976 430803319 439873536        0 439873536        1        0    34185    34185

*** init lz4
/sys/block/zram0/mm_stat
1750646784 664266564 677060608        0 677060608        1        0    34288    34288

*** init lz4 dict=/home/ss/lz4-dict-amd64
/sys/block/zram0/mm_stat
1750650880 619990300 632102912        0 632102912        1        0    34278    34278

*** init lz4hc
/sys/block/zram0/mm_stat
1750630400 609023822 621232128        0 621232128        1        0    34288    34288

*** init lz4hc dict=/home/ss/lz4-dict-amd64
/sys/block/zram0/mm_stat
1750659072 505133172 515231744        0 515231744        1        0    34278    34278

Recompress
init zram zstd (prio=0), zstd level=5 (prio 1), zstd with dict (prio 2)

*** zstd
/sys/block/zram0/mm_stat
1750982656 504630584 514269184        0 514269184        1        0    34204    34204

*** idle recompress priority=1 (zstd level=5)
/sys/block/zram0/mm_stat
1750982656 488645601 525438976        0 514269184        1        0    34204    34204

*** idle recompress priority=2 (zstd dict)
/sys/block/zram0/mm_stat
1750982656 460869640 517914624        0 514269184        1        0    34185    34204

This patch (of 24):

We need to export a number of API functions that enable advanced zstd
usage - C/D dictionaries, dictionaries sharing between contexts, etc.

Link: https://lkml.kernel.org/r/20240902105656.1383858-1-senozhatsky@chromium.org
Link: https://lkml.kernel.org/r/20240902105656.1383858-2-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4 months agoMerge pull request #4321 from Cyan4973/win_artifacts
Yann Collet [Fri, 28 Feb 2025 20:35:06 +0000 (12:35 -0800)] 
Merge pull request #4321 from Cyan4973/win_artifacts

Automate Windows Artifact generation and publication

4 months agoautomatically upload windows artifact on Release Tag creation 4321/head
Yann Collet [Fri, 28 Feb 2025 20:04:06 +0000 (12:04 -0800)] 
automatically upload windows artifact on Release Tag creation

4 months agotest win artifact generation on pushing to release
Yann Collet [Fri, 28 Feb 2025 17:42:50 +0000 (09:42 -0800)] 
test win artifact generation on pushing to release

this will get a chance to check that win artifact generation works correctly
before creating the release tag.

4 months agoavoid double zipping
Yann Collet [Fri, 28 Feb 2025 17:33:22 +0000 (09:33 -0800)] 
avoid double zipping

4 months agoproper usage of standard variables
Yann Collet [Fri, 28 Feb 2025 00:59:40 +0000 (16:59 -0800)] 
proper usage of standard variables

4 months agofixed the script so that it fails when a copy fails
Yann Collet [Thu, 27 Feb 2025 22:33:49 +0000 (14:33 -0800)] 
fixed the script so that it fails when a copy fails

and also: fix the list of files, as `zdict.h` was incorrectly set.

4 months agoupdate build_package.bat by using a subrouting
Yann Collet [Thu, 27 Feb 2025 20:43:11 +0000 (12:43 -0800)] 
update build_package.bat by using a subrouting

4 months agoupdated zlib version to more recent v1.3.1
Yann Collet [Thu, 27 Feb 2025 19:38:04 +0000 (11:38 -0800)] 
updated zlib version to more recent v1.3.1

4 months agoensure that a copy error results in the task failing clearly
Yann Collet [Thu, 27 Feb 2025 19:36:25 +0000 (11:36 -0800)] 
ensure that a copy error results in the task failing clearly

error code != 0, red status

checked by intentionally inserting an error in another run

4 months agoMerge pull request #4322 from Cyan4973/meson_win
Yann Collet [Fri, 28 Feb 2025 00:17:34 +0000 (16:17 -0800)] 
Merge pull request #4322 from Cyan4973/meson_win

fix the meson windows build

4 months agotry to fix the meson windows build 4322/head
Yann Collet [Thu, 27 Feb 2025 23:44:40 +0000 (15:44 -0800)] 
try to fix the meson windows build

apparently could be just a missing include

4 months agoMerge pull request #4312 from Cyan4973/musl_ci
Yann Collet [Thu, 27 Feb 2025 22:27:21 +0000 (14:27 -0800)] 
Merge pull request #4312 from Cyan4973/musl_ci

introduce ZSTD_USE_C90_QSORT

4 months agoMerge pull request #4317 from hirohira9119/fix-function-signature
Yann Collet [Thu, 27 Feb 2025 21:03:03 +0000 (13:03 -0800)] 
Merge pull request #4317 from hirohira9119/fix-function-signature

Fix function signature mismatch for ZSTD_convertBlockSequences

4 months agoMerge pull request #4320 from sebres/patch-1
Yann Collet [Wed, 26 Feb 2025 23:15:03 +0000 (15:15 -0800)] 
Merge pull request #4320 from sebres/patch-1

build_package.bat: fix path to zstd_errors.h, avoid silently ignore of the errors if build failed

4 months agoMerge pull request #4319 from Cyan4973/Wconversion
Yann Collet [Wed, 26 Feb 2025 23:14:52 +0000 (15:14 -0800)] 
Merge pull request #4319 from Cyan4973/Wconversion

step towards -Wconversion

4 months agofixed minor C++ compat warnings 4319/head
Yann Collet [Wed, 26 Feb 2025 22:30:29 +0000 (14:30 -0800)] 
fixed minor C++ compat warnings

4 months agoGHA/windows-artifacts.yml: don't ignore the error if build-package batch failed 4320/head
Sergey G. Brester [Wed, 26 Feb 2025 19:13:44 +0000 (20:13 +0100)] 
GHA/windows-artifacts.yml: don't ignore the error if build-package batch failed

4 months agobuild_package.bat: don't swallow the error(s) by copy, exit with error if failed...
Sergey G. Brester [Wed, 26 Feb 2025 19:02:48 +0000 (20:02 +0100)] 
build_package.bat: don't swallow the error(s) by copy, exit with error if failed somewhere

4 months agobuild_package.bat: fix path to zstd_errors.h (it is in lib not in lib/common)
Sergey G. Brester [Wed, 26 Feb 2025 18:27:44 +0000 (19:27 +0100)] 
build_package.bat: fix path to zstd_errors.h (it is in lib not in lib/common)

closes gh-4318

4 months agofixed -Wconversion for lib/decompress/zstd_decompress_block.c
Yann Collet [Wed, 26 Feb 2025 18:01:05 +0000 (10:01 -0800)] 
fixed -Wconversion for lib/decompress/zstd_decompress_block.c

4 months agofixed -Wconversion for cover.c
Yann Collet [Wed, 26 Feb 2025 16:33:01 +0000 (08:33 -0800)] 
fixed -Wconversion for cover.c

4 months agofixed -Wconversion for divsufsort.c
Yann Collet [Wed, 26 Feb 2025 16:12:11 +0000 (08:12 -0800)] 
fixed -Wconversion for divsufsort.c

4 months agofixed -Wconversion for zdict
Yann Collet [Wed, 26 Feb 2025 16:07:51 +0000 (08:07 -0800)] 
fixed -Wconversion for zdict

4 months agofix conversion warning
Yann Collet [Wed, 26 Feb 2025 15:41:34 +0000 (07:41 -0800)] 
fix conversion warning

4 months agoFix function signature mismatch for ZSTD_convertBlockSequences 4317/head
hirohira [Tue, 25 Feb 2025 23:23:48 +0000 (08:23 +0900)] 
Fix function signature mismatch for ZSTD_convertBlockSequences

4 months agoMerge pull request #4310 from Cyan4973/cmake_target_compile
Yann Collet [Tue, 25 Feb 2025 18:04:10 +0000 (10:04 -0800)] 
Merge pull request #4310 from Cyan4973/cmake_target_compile

[cmake] use target_compile_definitions

4 months agoMerge pull request #4309 from Cyan4973/check_manual
Yann Collet [Mon, 24 Feb 2025 23:17:11 +0000 (15:17 -0800)] 
Merge pull request #4309 from Cyan4973/check_manual

Check API manual and man pages before release

4 months agoMerge pull request #4315 from facebook/dependabot/github_actions/msys2/setup-msys2...
Yann Collet [Mon, 24 Feb 2025 09:53:48 +0000 (01:53 -0800)] 
Merge pull request #4315 from facebook/dependabot/github_actions/msys2/setup-msys2-2.27.0

Bump msys2/setup-msys2 from 2.26.0 to 2.27.0

4 months agoBump msys2/setup-msys2 from 2.26.0 to 2.27.0 4315/head
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>
4 months agoBump ossf/scorecard-action from 2.4.0 to 2.4.1 4314/head
dependabot[bot] [Mon, 24 Feb 2025 05:44:05 +0000 (05:44 +0000)] 
Bump ossf/scorecard-action from 2.4.0 to 2.4.1

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/62b2cac7ed8198b15735ed49ab1e5cf35480ba46...f49aabe0b5af0936a0987cfb85d86b75731b0186)

---
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>
4 months agodocument ZSTD_USE_C90_QSORT 4312/head
Yann Collet [Fri, 21 Feb 2025 20:48:26 +0000 (12:48 -0800)] 
document ZSTD_USE_C90_QSORT

4 months agointroduce ZSTD_USE_C90_QSORT
Yann Collet [Fri, 21 Feb 2025 19:36:30 +0000 (11:36 -0800)] 
introduce ZSTD_USE_C90_QSORT