Commit graph

4538 commits

Author SHA1 Message Date
Sebastian Pipping
0165a43876 valid-xml.yml: Stop xmllint from loading DTD from the internet
.. to address flaky CI
2025-03-13 03:45:25 +01:00
Sebastian Pipping
07108642fe
Merge pull request #970 from hannob-forks/https2
Update links in code comments to HTTPS
2025-03-07 16:24:41 +01:00
Hanno Böck
87fb1a42f0 Update links in code comments to https 2025-03-07 08:42:42 +01:00
Sebastian Pipping
c92b51b6a9
Merge pull request #971 from libexpat/address-cppcheck-warnings
Address Cppcheck warnings + fix Cppcheck CI
2025-03-07 04:28:36 +01:00
Sebastian Pipping
24aa9b8c49 Changes: Document #971 2025-03-07 03:06:30 +01:00
Sebastian Pipping
b8ab03d2da cppcheck.yml: Ensure latest Cppcheck from macOS Homebrew 2025-03-07 03:06:27 +01:00
Sebastian Pipping
ba7853edef tests: Address Cppcheck 2.17.1 warning about malloc returning NULL 2025-03-07 03:06:24 +01:00
Sebastian Pipping
688483ee3b mass-cppcheck.sh: Make Cppcheck pass check for __attribute__((noreturn))
Related:
https://sourceforge.net/p/cppcheck/discussion/general/thread/acbae4ae20/
https://sourceforge.net/p/cppcheck/discussion/general/thread/2f5d2766/
2025-03-07 03:06:21 +01:00
Sebastian Pipping
6620f6f40a tests/minicheck: Use more portable check for __attribute__((noreturn))
Related:
https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html
2025-03-07 03:06:21 +01:00
Sebastian Pipping
401e6d4f49 tests/benchmark: Address Cppcheck 2.17.1 warning about malloc returning NULL 2025-03-07 03:06:18 +01:00
Sebastian Pipping
03fa6fa576
Merge pull request #969 from hannob-forks/https1
Update Open Group link/comment to HTTPS
2025-03-04 23:13:47 +01:00
Hanno Böck
afd87e8399 Update opengroup link/comment to https 2025-03-04 22:24:28 +01:00
Sebastian Pipping
660e48b0a3
Merge pull request #966 from libexpat/leverage-cmake-3-13
Leverage CMake >=3.13
2025-02-26 02:34:15 +01:00
Sebastian Pipping
2e122561fd Changes: Document #966 2025-02-26 01:24:52 +01:00
Sebastian Pipping
d701205f81 CMake: Make use of target_link_options of CMake >=3.13 2025-02-26 01:24:52 +01:00
Sebastian Pipping
a111fa867f
Merge pull request #964 from libexpat/coverity-scan-disable-for-forks
Stop (trying to) upload to Coverity Scan from fork repositories
2025-02-25 18:18:00 +01:00
Sebastian Pipping
da47494e44 Changes: Document #964 2025-02-25 05:56:40 +01:00
Sebastian Pipping
27046f2376 coverity-scan.yml: Do not run in fork repositories 2025-02-25 05:56:37 +01:00
Sebastian Pipping
2785661a04
Merge pull request #958 from libexpat/extend-changelog
Extend changelog (i.e. early bits of preparation for release 2.6.5)
2025-02-24 17:53:57 +01:00
Sebastian Pipping
f5c915ae13
Merge pull request #963 from libexpat/dependabot/github_actions/actions/upload-artifact-4.6.1
Actions(deps): Bump actions/upload-artifact from 4.6.0 to 4.6.1
2025-02-24 17:39:50 +01:00
dependabot[bot]
01b453af3a
Actions(deps): Bump actions/upload-artifact from 4.6.0 to 4.6.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 15:07:44 +00:00
Sebastian Pipping
7f9a144507
Merge pull request #962 from libexpat/require-cmake-3-13
Drop support for CMake <3.13
2025-02-23 21:00:49 +01:00
Sebastian Pipping
b91c28f375 Changes: Document more changes since release Expat 2.6.4 2025-02-23 16:49:47 +01:00
Sebastian Pipping
6fe87b6116 Drop support for CMake <3.13
Because libprotobuf-mutator with tests enabled already
needs CMake >=3.13 in practice
(https://github.com/google/libprotobuf-mutator/pull/276).

PS: Near-end-of-life Ubuntu "focal" 20.04 LTS has
CMake 3.16.3 (https://packages.ubuntu.com/focal/cmake)
and Debian "bullseye" old(!)stable has CMake 3.18.4
(https://packages.debian.org/bullseye/cmake).
2025-02-23 16:43:38 +01:00
Sebastian Pipping
c659edbd2b
Merge pull request #961 from libexpat/fuzzers-re-enable-xml-lpm-fuzzer-for-oss-fuzz
fuzzers|cmake: Re-enable `xml_lpm_fuzzer` for `-DEXPAT_OSSFUZZ_BUILD=ON`
2025-02-23 05:21:23 +01:00
Sebastian Pipping
9bfccc4b13 fuzzers|cmake: Forward to libprotobuf-mutator with Ubuntu 20.04 support 2025-02-23 04:40:37 +01:00
Sebastian Pipping
ae1fc71ebb fuzzers|cmake: Use proper library order for linking xml_lpm_fuzzer 2025-02-23 04:40:21 +01:00
Sebastian Pipping
cf28b6de98 Revert "fuzzers|cmake: Disable xml_lpm_fuzzer for -DEXPAT_OSSFUZZ_BUILD=ON"
This reverts commit 392fb29e67.
2025-02-23 04:25:24 +01:00
Sebastian Pipping
e89dc4e7a3
Merge pull request #960 from libexpat/coverity-scan-upload
Submit a build to Coverity Scan for static analysis
2025-02-22 16:53:16 +01:00
Sebastian Pipping
d9f802ea8d Submit a build to Coverity Scan for static analysis 2025-02-22 16:10:18 +01:00
Sebastian Pipping
ca7321b9fc
Merge pull request #959 from libexpat/tests-benchmark-improve
`tests/benchmark`: Fix a harmless TOCTTOU + upfront refactorings + improve error messages
2025-02-22 16:08:31 +01:00
Sebastian Pipping
7f5903483e tests/benchmark: Make error messages more technical 2025-02-21 23:31:32 +01:00
Sebastian Pipping
ead919d692 tests/benchmark: Resolve (harmless) TOCTTOU
.. that was reported by Coverity Scan.

https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
2025-02-21 23:31:32 +01:00
Sebastian Pipping
5f4144a6bc tests/benchmark: Add missing call to fclose 2025-02-21 23:31:23 +01:00
Sebastian Pipping
4de3d65003 tests/benchmark: Resolve needless use of exit for clarity 2025-02-21 22:24:16 +01:00
Sebastian Pipping
524096c139 tests/benchmark: Rename misleading variable "fd" to "file" 2025-02-21 22:19:26 +01:00
Sebastian Pipping
c4a0ab7265
Merge pull request #957 from libexpat/fuzzing-coverage-report
`fuzzing.yml`: Start producing code coverage report
2025-02-14 22:59:59 +01:00
Sebastian Pipping
879c8faecd fuzzing.yml: Evaluate one single fuzzer at a time, in parallel 2025-02-14 22:00:18 +01:00
Sebastian Pipping
0fa794d333 fuzzing.yml: Make clear that fuzzing logs are about the last batch 2025-02-14 22:00:18 +01:00
Sebastian Pipping
39d2ebb467 fuzzing.yml: Start producing code coverage report 2025-02-14 22:00:18 +01:00
Sebastian Pipping
deb5af9954
Merge pull request #956 from libexpat/get-off-of-ubuntu-20-04
Get CI off of about-to-be-removed Ubuntu 20.04
2025-02-12 02:21:35 +01:00
Sebastian Pipping
71dcb3a835 expat_config_h.yml: Sync expat_config.h.in expectation for Ubuntu 22.04 2025-02-12 01:08:30 +01:00
Sebastian Pipping
dee6610959 linux.yml: Drop workarounds for installing wine32:i386
.. that where needed with GitHub Actions image "ubuntu-20.04"
but are no longer necessary with image "ubuntu-22.04"
2025-02-12 01:07:09 +01:00
Sebastian Pipping
f6e6bb1578 Get CI off of about-to-be-removed Ubuntu 20.04 2025-02-12 01:06:29 +01:00
Sebastian Pipping
571b1bb05e
Merge pull request #955 from libexpat/fix-build-for-oss-fuzz
fuzzers|cmake: Disable `xml_lpm_fuzzer` for `-DEXPAT_OSSFUZZ_BUILD=ON`
2025-02-11 15:05:34 +01:00
Sebastian Pipping
392fb29e67 fuzzers|cmake: Disable xml_lpm_fuzzer for -DEXPAT_OSSFUZZ_BUILD=ON
.. to give OSS-Fuzz a chance at a successful build while their
images are based on Ubuntu 20.04 with too-old Protobuf

PS: Display this commit with "-w" to see it best.
2025-02-11 14:24:57 +01:00
Sebastian Pipping
c577981ffa
Merge pull request #954 from libexpat/fuzzers-bump-libprotobuf-mutator
Fuzzers: Bump libprotobuf-mutator to v1.4-8-g75f1720
2025-02-07 20:31:15 +01:00
Sebastian Pipping
9e906b5bf1 fuzzers|cmake|ci: Save compile time on libprotobuf-mutator examples
As a side effect, CI no longer needs to install liblzma-dev.
2025-02-07 19:05:59 +01:00
Sebastian Pipping
14424c70fb fuzzers|cmake: Bump libprotobuf-mutator to v1.4-8-g75f1720 2025-02-07 19:05:59 +01:00
Sebastian Pipping
78767684c3 fuzzers|cmake: Break up long line (before making it even longer) 2025-02-07 19:05:59 +01:00