Commit graph

3899 commits

Author SHA1 Message Date
Snild Dolkow
355a123b92 docs: Document the importance of isFinal
Before the concluding `isFinal=XML_TRUE` parse call, there is no
guarantee that all input has been parsed. An application that omits
that call risks missing handler callbacks and/or parsing errors.
2023-09-14 11:15:59 +02:00
Sebastian Pipping
8b5c9e1a01
Merge pull request #740 from libexpat/pull-674-sandwich
Merge branch `pull-674-sandwich` into `master`
2023-09-02 23:11:31 +02:00
Sebastian Pipping
f4071b8417
Merge pull request #739 from libexpat/codespell-action
codespell.yml: Make CI reject spelling errors using codespell + fix two typos
2023-09-02 22:14:31 +02:00
Sebastian Pipping
66435e268f
Merge pull request #738 from libexpat/pull-674-topping
Make branch `pull-674-sandwich` mergable to `master`
2023-09-02 20:50:34 +02:00
Sebastian Pipping
181d06421d codespell.yml: Make CI reject spelling errors using codespell 2023-09-02 19:04:38 +02:00
Sebastian Pipping
c0a78d0511 Changes: Fix typo "curruption" in section on release 2.5.0 2023-09-02 19:04:38 +02:00
Sebastian Pipping
1264df28b3 CMake: Fix in-comment typo "compatiblity" 2023-09-02 19:04:38 +02:00
Sebastian Pipping
2ac0600db5
Merge pull request #737 from libexpat/dependabot/github_actions/actions/checkout-3.6.0
Actions(deps): Bump actions/checkout from 3.5.3 to 3.6.0
2023-09-02 18:46:29 +02:00
Sebastian Pipping
ca6050827d tests/ns_tests.c: Be explicit about direct dependency expat_config.h 2023-09-02 18:38:03 +02:00
Sebastian Pipping
26c33a2dcc tests: Undef NDEBUG where needed more after refactoring
All other test files using assert(..) and <assert.h> have the same.
2023-09-02 18:37:35 +02:00
Sebastian Pipping
17367a5642 tests/runtests.c: Re-apply 883115d0a3 and c094e450a1
This effectively reverts commit 42dc2c2c4e.
2023-09-02 18:36:36 +02:00
Sebastian Pipping
014a303dc1
Merge pull request #674 from RMJ10/test_refactor_2
Refactor coverage and conformance tests
2023-09-02 18:33:53 +02:00
dependabot[bot]
fab7fdd903
Actions(deps): Bump actions/checkout from 3.5.3 to 3.6.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](c85c95e3d7...f43a0e5ff2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 12:05:56 +00:00
Sebastian Pipping
42dc2c2c4e tests/runtests.c: Revert 883115d0a3 and c094e450a1
.. to not break a ~100 commit refactoring during rebase.  Will be re-applied after refactoring.

Related command was:
$ git checkout c094e450a136ffdf4d3e128588b615008a35489e^ -- ./tests/runtests.c
2023-08-26 15:31:34 +02:00
Sebastian Pipping
b8c22bd391
Merge pull request #736 from libexpat/doc-reference-null
doc/reference.html: Improve on use of "NULL" and "null"
2023-08-24 22:18:47 +02:00
Sebastian Pipping
8249a3e62e doc/reference.html: Fix "non NULL" to "non-NULL" 2023-08-24 15:37:10 +02:00
Sebastian Pipping
c9205bb934 doc/reference.html: Be consistent about "null-terminated"
.. regarding spelling
2023-08-24 15:37:10 +02:00
Sebastian Pipping
572bab6fe5 doc/reference.html: Replace mistaken "NULL" by "null"
.. in context of string termination
2023-08-24 15:37:10 +02:00
Sebastian Pipping
f2d934910c doc/reference.html: Replace "null" by "NULL" where adequate 2023-08-24 15:37:10 +02:00
Sebastian Pipping
a779f1300c doc/reference.html: Style NULL in text as code consistently 2023-08-24 15:31:45 +02:00
Sebastian Pipping
20293f2ad2
Merge pull request #733 from libexpat/fix-ci
runtests.c: Initialize storage prior to usage (cppcheck 2.11) + autotools: Sync CMake templates with CMake 3.25
2023-07-26 18:05:59 +02:00
Sebastian Pipping
87c87a0d7d Changes: Document #706 and #733 2023-07-26 17:13:02 +02:00
Sebastian Pipping
54a8cbac61 autotools: Sync CMake templates with CMake 3.25 2023-07-26 17:12:00 +02:00
Sebastian Pipping
883115d0a3 runtests.c: Initialize storage prior to usage (cppcheck 2.11)
Error was:
> expat/tests/runtests.c:6818:50: error: Uninitialized variable: &storage [uninitvar]
>   ParserPlusStorage parserPlusStorage = {parser, &storage};
>                                                  ^
2023-07-26 17:07:02 +02:00
Sebastian Pipping
6a36e138f3
Merge pull request #728 from libexpat/dependabot/github_actions/actions/checkout-3.5.3
Actions(deps): Bump actions/checkout from 3.5.2 to 3.5.3
2023-06-12 16:50:46 +02:00
dependabot[bot]
beb4ede991
Actions(deps): Bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e5e7e5ab8...c85c95e3d7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 12:56:56 +00:00
Sebastian Pipping
a7d16c77e5
Merge pull request #727 from libexpat/issue-726-configure-support-disable-maintainer-mode
configure.ac: Support --disable-maintainer-mode (fixes #726)
2023-06-07 21:51:29 +02:00
Sebastian Pipping
53aaa01e15 configure.ac: Support --disable-maintainer-mode 2023-06-07 20:46:16 +02:00
Sebastian Pipping
4cfc119a96
Merge pull request #724 from libexpat/autotools-require-c99
configure.ac: Require C99 compiler
2023-05-28 22:57:06 +02:00
Sebastian Pipping
c020c49d73 configure.ac: Require C99 compiler 2023-05-28 21:12:17 +02:00
Sebastian Pipping
e1c0f173eb
Merge pull request #723 from libexpat/arc4random-improvements
arc4random improvements (configure.ac and in-code documentation)
2023-05-28 20:02:50 +02:00
Sebastian Pipping
efd9e301ff configure.ac: Resolve conflict between libbsd and glibc >=2.36 2023-05-28 17:05:49 +02:00
Sebastian Pipping
81dd95d20a Document that glibc 2.36+ is bringing arc4random/arc4random_buf
Related:
https://sourceware.org/pipermail/libc-alpha/2022-August/141193.html
2023-05-28 17:04:49 +02:00
Sebastian Pipping
9d3a491cb2 configure.ac: Respect arc4random_buf asking for non-null parameter 2023-05-28 17:04:49 +02:00
Sebastian Pipping
dc1ca9a0c7
Merge pull request #721 from libexpat/issue-698-resolve-some-travis-leftovers
CI: Resolve some Travis CI leftovers (fixes #698)
2023-05-25 02:02:30 +02:00
Sebastian Pipping
ed4f05603d Changes: Briefly document CI work 2023-05-24 23:26:54 +02:00
Sebastian Pipping
915f0b5ef4 CI: Resolve use of variable TRAVIS_OS_NAME 2023-05-24 23:26:54 +02:00
Sebastian Pipping
2808aa5e0f CI: Resolve use of "Travis" in workflow names 2023-05-24 23:26:54 +02:00
Sebastian Pipping
441b4db02b CI: Rename .travis.sh to .ci.sh 2023-05-24 23:26:54 +02:00
Sebastian Pipping
0219545fb0
Merge pull request #722 from libexpat/issue-720-fix-ci
Fix CI (fixes #720)
2023-05-24 23:23:38 +02:00
Sebastian Pipping
6fa6a54aa3 CI: Resolve conflicts with ppa:ubuntu-toolchain-r/test in coverage.yml
> + sudo apt-get install --yes --no-install-recommends -V mingw-w64 wine-stable wine32:i386
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  libc6:i386 : Depends: libgcc-s1:i386 but it is not going to be installed
>  libicu70:i386 : Depends: libgcc-s1:i386 (>= 7) but it is not going to be installed
>                  Depends: libstdc++6:i386 (>= 5.2) but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
2023-05-24 21:26:33 +02:00
Sebastian Pipping
b14cee59ef CI: Save one call to "sudo apt-get update" in coverage.yml 2023-05-24 21:26:28 +02:00
Sebastian Pipping
7156a6f5d7
Merge pull request #716 from AtariDreams/getDebugLevel
debugLevel fields should be unsigned longs, not integers
2023-05-23 22:56:33 +02:00
Rose
0685e01da2 debugLevel fields should be unsigned longs, not integers
This is a variation of https://github.com/libexpat/libexpat/pull/714 that makes more sense.
2023-05-23 16:26:32 -04:00
Sebastian Pipping
8e5b9a9310
Merge pull request #713 from libexpat/readme-be-specific-about-version-of-xml
README.md: Be specific about version of XML and version of C
2023-05-10 23:17:19 +02:00
Sebastian Pipping
a7a57ea1b5 README.md: Be specific about version of XML and version of C 2023-05-10 22:17:45 +02:00
Sebastian Pipping
3cc10ece09
Merge pull request #709 from libexpat/pin-github-actions-at-commit-level
CI: Pin all GitHub Actions to specific commits for security
2023-04-18 02:18:06 +02:00
Sebastian Pipping
8b6b5df740 CI: Pin all GitHub Actions to specific commits for security 2023-04-17 23:31:59 +02:00
Sebastian Pipping
4b98a4e001
Merge pull request #708 from libexpat/dependabot/github_actions/actions/checkout-3.5.2
Actions(deps): Bump actions/checkout from 3.5.0 to 3.5.2
2023-04-17 16:39:06 +02:00
dependabot[bot]
71af517c14
Actions(deps): Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 12:56:50 +00:00