Skip to content

Commit e626a72

Browse files
authored
Merge pull request #991 from Cyan4973/dev
v0.8.3
2 parents bbb27a5 + 1ac318b commit e626a72

30 files changed

+2076
-989
lines changed

.github/workflows/ci.yml

+86-72
Large diffs are not rendered by default.

.github/workflows/scorecard.yml

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# This workflow uses actions that are not certified by GitHub. They are provided
2+
# by a third-party and are governed by separate terms of service, privacy
3+
# policy, and support documentation.
4+
5+
name: Scorecard supply-chain security
6+
on:
7+
# For Branch-Protection check. Only the default branch is supported. See
8+
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
9+
branch_protection_rule:
10+
# To guarantee Maintained check is occasionally updated. See
11+
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
12+
schedule:
13+
- cron: '35 19 * * 2'
14+
push:
15+
branches: [ "dev" ]
16+
17+
# Declare default permissions as read only.
18+
permissions: read-all
19+
20+
jobs:
21+
analysis:
22+
name: Scorecard analysis
23+
runs-on: ubuntu-latest
24+
permissions:
25+
# Needed to upload the results to code-scanning dashboard.
26+
security-events: write
27+
# Needed to publish results and get a badge (see publish_results below).
28+
id-token: write
29+
# Uncomment the permissions below if installing in a private repository.
30+
# contents: read
31+
# actions: read
32+
33+
steps:
34+
- name: "Checkout code"
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
with:
37+
persist-credentials: false
38+
39+
- name: "Run analysis"
40+
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
41+
with:
42+
results_file: results.sarif
43+
results_format: sarif
44+
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
45+
# - you want to enable the Branch-Protection check on a *public* repository, or
46+
# - you are installing Scorecard on a *private* repository
47+
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
48+
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
49+
50+
# Public repositories:
51+
# - Publish results to OpenSSF REST API for easy access by consumers
52+
# - Allows the repository to include the Scorecard badge.
53+
# - See https://github.com/ossf/scorecard-action#publishing-results.
54+
# For private repositories:
55+
# - `publish_results` will always be set to `false`, regardless
56+
# of the value entered here.
57+
publish_results: true
58+
59+
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
60+
# format to the repository Actions tab.
61+
- name: "Upload artifact"
62+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
63+
with:
64+
name: SARIF file
65+
path: results.sarif
66+
retention-days: 5
67+
68+
# Upload the results to GitHub's code scanning dashboard.
69+
- name: "Upload to code-scanning"
70+
uses: github/codeql-action/upload-sarif@c6c77c8c2d62cfd5b2e8d548817fd3d1582ac744 # v2.14.5
71+
with:
72+
sarif_file: results.sarif

.gitignore

+12-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ libxxhash.*
1212
xxh32sum
1313
xxh64sum
1414
xxh128sum
15+
xxh3sum
1516
xxhsum
1617
xxhsum32
1718
xxhsum_privateXXH
@@ -20,9 +21,7 @@ dispatch
2021
tests/generate_unicode_test
2122
tests/sanity_test
2223
tests/sanity_test_vectors_generator
23-
24-
# local conf
25-
.clang_complete
24+
fuzzer
2625

2726
# Mac OS-X artefacts
2827
*.dSYM
@@ -47,6 +46,16 @@ infer-out
4746
tmp*
4847
tests/*.unicode
4948
tests/unicode_test*
49+
*.txt
50+
!CMakeLists.txt
51+
*.xxhsum
52+
53+
# editor artifacts
54+
.clang_complete
55+
.clangd
56+
*.swp
57+
.vscode/
58+
.vs/
5059

5160
# Doxygen
5261
doxygen/

.travis.yml

-142
This file was deleted.

CHANGELOG

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
v0.8.3
2+
- fix : variant `XXH3_128bits_withSecretandSeed()` could produce an invalid result in some specific set of conditions, #894 by @hltj
3+
- cli : vector extension detected at runtime on x86/x64, enabled by default
4+
- cli : new commands `--filelist` and `--files-from`, by @Ian-Clowes
5+
- cli : XXH3 64-bits GNU format can now be generated and checked (command `-H3`)
6+
- portability: LoongArch SX SIMD extension, by @lrzlin
7+
- portability: can build on AIX, suggested by @likema
8+
- portability: validated for SPARC cpus
9+
110
v0.8.2
211
- fix : XXH3 S390x vector implementation (@hzhuang1)
312
- fix : PowerPC vector compilation with IBM XL compiler (@MaxiBoether)

Doxyfile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ EXPAND_ONLY_PREDEF = YES
3838
# Predefine some macros to clean up the output.
3939
PREDEFINED = "XXH_DOXYGEN=" \
4040
"XXH_PUBLIC_API=" \
41+
"XXH_NOESCAPE=" \
4142
"XXH_FORCE_INLINE=static inline" \
4243
"XXH_NO_INLINE=static" \
4344
"XXH_RESTRICT=restrict" \

Doxyfile-internal

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ EXPAND_ONLY_PREDEF = YES
3838
# Predefine some macros to clean up the output.
3939
PREDEFINED = "XXH_DOXYGEN=" \
4040
"XXH_PUBLIC_API=" \
41+
"XXH_NOESCAPE=" \
4142
"XXH_FORCE_INLINE=static inline" \
4243
"XXH_NO_INLINE=static" \
4344
"XXH_RESTRICT=restrict" \

0 commit comments

Comments
 (0)