Sebastian Pipping
6c4cf020f9
Make GitHub Actions compile cover compilation with MSVC on Windows
2025-01-20 21:51:33 +01:00
Sebastian Pipping
b3bd79b391
Merge pull request #945 from libexpat/require-cmake-3-10
...
Drop support for CMake <3.10
2025-01-20 18:57:50 +01:00
Sebastian Pipping
3feee8fab2
Drop support for CMake <3.10
...
Symptom was:
> CMake Deprecation Warning at CMakeLists.txt:37 (cmake_minimum_required):
> Compatibility with CMake < 3.10 will be removed from a future version of
> CMake.
> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
> to tell CMake that the project requires at least <min> but has been updated
> to work with policies introduced by <max> or earlier.
2025-01-20 17:37:38 +01:00
Sebastian Pipping
531f10f74f
Merge pull request #944 from libexpat/fix-win32bin-compilation
...
`win32/expat.iss`: Fix target location of `xmlwf.xml` for CMake
2025-01-20 15:00:57 +01:00
Sebastian Pipping
2ff156596d
win32/expat.iss: Fix target location of xmlwf.xml for CMake
2025-01-20 13:50:55 +01:00
Sebastian Pipping
fd1a3bc9fe
Merge pull request #943 from libexpat/dependabot/github_actions/actions/upload-artifact-4.6.0
...
Actions(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0
2025-01-13 15:31:39 +01:00
dependabot[bot]
8d2cc5955a
Actions(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](6f51ac03b9...65c4c4a1dd
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 12:52:36 +00:00
Sebastian Pipping
aac7eae660
Merge pull request #942 from libexpat/small-fuzzing-related-improvements
...
Small fuzzing related improvements
2025-01-05 23:41:03 +01:00
Sebastian Pipping
bf9caf7ac4
CMake: Replace -fsanitize=fuzzer-no-link by -fsanitize=fuzzer
...
.. where it is a better fit, semantically.
2025-01-05 21:50:40 +01:00
Sebastian Pipping
09f6faa996
CMake: Merge two adjacent conditionals with overlap
2025-01-05 21:50:40 +01:00
Sebastian Pipping
2892a39feb
fuzzing.yml: Start storing fuzzing logs
2025-01-05 21:50:40 +01:00
Sebastian Pipping
2a894f438d
fuzzing.yml: Stop trying to upload "crash-*" files
...
.. when regression testing against existing files
form a fuzzing corpus just does not produce these files.
2025-01-05 21:43:53 +01:00
Sebastian Pipping
76935aa308
Fix spelling of OSS-Fuzz
2025-01-05 21:43:53 +01:00
Sebastian Pipping
5321c113f1
Merge pull request #941 from libexpat/document-cxx11-header-requirement
...
`README.md` and `Changes`: Document need for C++11 compiler for use from C++
2025-01-05 20:31:45 +01:00
Sebastian Pipping
23a696c539
README.md|Changes: Document need for C++11 compiler for use from C++
2025-01-05 19:17:21 +01:00
Sebastian Pipping
c1c1677657
Merge pull request #938 from libexpat/dependabot/github_actions/actions/upload-artifact-4.5.0
...
Actions(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0
2024-12-23 16:33:52 +01:00
dependabot[bot]
402786d8eb
Actions(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](b4b15b8c7c...6f51ac03b9
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 12:26:09 +00:00
Sebastian Pipping
493406dbcc
Merge pull request #936 from libexpat/coverage-sh-quiet-lcov
...
`coverage.sh`: Pass `-q -q` for LCOV >=2.1
2024-12-17 21:05:18 +01:00
Sebastian Pipping
a39eb0ea8f
Merge pull request #937 from libexpat/issue-935-autotools-fix-generated-cmake-files-for-macos
...
Make Autotools-generated CMake files look for `libexpat.@SO_MAJOR@.dylib` (fixes #935 )
2024-12-17 21:04:53 +01:00
Sebastian Pipping
b791ba36d6
Make Autotools-generated CMake files look for libexpat.@SO_MAJOR@.dylib
...
.. to match what Autotools is producing in reality at build time.
Unlike CMake, Autotools does not produce file
"libexpat.@SO_MAJOR@.@SO_MINOR@.@SO_PATCH@.dylib" when compiling on macOS.
What the commit does on the CI side is closely mimicking a similar thing
with MinGW that existed until 7731dd5b90621a9e4696d1c467bca2b6ece6e3e6^ .
2024-12-17 19:31:13 +01:00
Sebastian Pipping
2f0b95661d
coverage.sh: Pass "-q -q" for LCOV >=2.1
...
.. to suppress output "no messages were reported".
2024-12-16 19:57:04 +01:00
Sebastian Pipping
8cb7d56772
Merge pull request #933 from libexpat/tests-cover-start-tag-level-greater-one
...
Tests: Cover `doContent` with `startTagLevel` greater than one
2024-12-11 14:21:44 +01:00
Sebastian Pipping
de96ce5b5d
tests: Cover doContent with startTagLevel >=2
2024-12-11 12:29:32 +01:00
Sebastian Pipping
422b5726e4
Merge pull request #932 from libexpat/tests-increase-coverage-unsigned-char-to-printable
...
Tests: Increase coverage of function `unsignedCharToPrintable`
2024-12-10 00:53:38 +01:00
Sebastian Pipping
e58a3c9645
tests: Cover case 0xff for unsignedCharToPrintable
2024-12-09 23:34:08 +01:00
Sebastian Pipping
03966546fa
lib: Mark dead code in unsignedCharToPrintable as dead to LCOV
2024-12-09 23:33:57 +01:00
Sebastian Pipping
a0dc7d5efa
Merge pull request #930 from libexpat/tests-cover-indirect-entity-recursion
...
Tests: Cover indirect entity recursion
2024-11-26 20:14:00 +01:00
Sebastian Pipping
3d5fdbb44e
tests: Cover indirect entity recursion
2024-11-26 18:29:36 +01:00
Sebastian Pipping
5fdb63c027
Merge pull request #927 from libexpat/tests-cover-doctype-closing-more
...
Tests: Cover doctype closing more
2024-11-23 22:34:12 +01:00
Sebastian Pipping
885f4c6303
tests: Save some runtime in test_misc_deny_internal_entity_closing_doctype_issue_317
...
Idea by Sebastian Andrzej Siewior
2024-11-23 15:34:49 +01:00
Sebastian Pipping
7b05b1420b
tests: Make suspend_after_element_declaration check for XML_StopParser success
...
Idea by Sebastian Andrzej Siewior
2024-11-23 15:34:49 +01:00
Sebastian Pipping
f46a225dc4
tests: Cover doctype closing for internalEntityProcessor through suspension
2024-11-23 15:34:43 +01:00
Sebastian Pipping
326de3dca0
Merge pull request #926 from libexpat/tests-reject-single-bytes-with-suspension
...
Tests: Reject combining single-bytes approach with suspension
2024-11-23 14:54:30 +01:00
Sebastian Pipping
31cb5b01fa
tests: Protect against accidental misuse of single-bytes approach
...
Please see commit 60dffa148c
("tests: Use normal XML_Parse in test_suspend_resume_internal_entity")
for more details on the related issue.
In reaction to analysis by Berkay Eren Ürün.
2024-11-23 12:50:55 +01:00
Sebastian Pipping
c33ff57a51
tests: Save runtime on tests that do not use the single-bytes approach
...
Related tests are:
- test_reset_in_entity
- test_resume_entity_with_syntax_error
- test_suspend_parser_between_cdata_calls
2024-11-23 12:50:55 +01:00
Sebastian Pipping
35ec6e65d6
tests: Fix multiple places that combined single-bytes with suspension
...
Please see commit 60dffa148c
("tests: Use normal XML_Parse in test_suspend_resume_internal_entity")
for more details on the related issue.
Related tests are:
- test_repeated_stop_parser_between_char_data_calls
- test_reset_in_entity
- test_resume_entity_with_syntax_error
- test_suspend_parser_between_cdata_calls
- test_suspend_parser_between_char_data_calls
- test_suspend_xdecl
In reaction to a finding by Berkay Eren Ürün.
2024-11-23 12:50:55 +01:00
Sebastian Pipping
4e2348a823
Merge pull request #925 from libexpat/autotools-sync-cmake-files
...
autotools: Sync CMake templates with CMake 3.29
2024-11-16 01:04:06 +01:00
Sebastian Pipping
3d317c9564
autotools: Sync CMake templates with CMake 3.29
2024-11-15 23:20:19 +01:00
Sebastian Pipping
554edf4d57
Merge pull request #921 from libexpat/document-stopparser-error
...
doc: Add missing documentation of error `XML_ERROR_NOT_STARTED` (follow-up to #915 )
2024-11-10 00:07:45 +01:00
Sebastian Pipping
9d17a3a073
doc: Add missing documentation of error XML_ERROR_NOT_STARTED
2024-11-09 19:20:58 +01:00
Sebastian Pipping
2691aff430
Merge pull request #920 from libexpat/issue-919-prepare-release
...
Prepare release 2.6.4 (part of #919 , ETA 2024-11-xx)
2024-11-07 02:31:34 +01:00
Sebastian Pipping
750c985f11
Sync file headers
2024-11-06 17:42:20 +01:00
Sebastian Pipping
69beb743e1
.mailmap: Extend mailmap for @hannob's second address
2024-11-06 17:42:20 +01:00
Sebastian Pipping
b5b5031516
Set release date for 2.6.4
2024-11-06 17:42:20 +01:00
Sebastian Pipping
c15ac3b307
Bump version to 2.6.4
2024-11-06 17:42:20 +01:00
Sebastian Pipping
ad7b7cbe6b
Bump version info from 10:3:9 to 11:0:10
...
See https://verbump.de/ for what these numbers do
2024-11-06 17:42:20 +01:00
Sebastian Pipping
a5725d8207
Changes: Document changes in release Expat 2.6.4
2024-11-06 17:42:20 +01:00
Sebastian Pipping
4bbbfad6aa
Merge pull request #918 from libexpat/issue-317-improve-tests
...
Improve tests for #317 (follow-up to #318 )
2024-11-06 16:37:21 +01:00
clang-format 19.1.2
e971e2ed1a
tests: Re-format test_misc_deny_internal_entity_closing_doctype_issue_317
2024-11-05 00:32:29 +01:00
Sebastian Pipping
20580a4550
tests: Improve test_misc_deny_internal_entity_closing_doctype_issue_317 case 3
...
"%e;" resolves to "]><d" which needs additional "/>" to make the
wanted "]><d/>", eventually.
2024-11-05 00:31:38 +01:00