Sebastian Pipping
1156ae7dca
GitHub Actions: Avoid Ubuntu 20.04 for coverage collection
...
.. because its MinGW GCC 9.3.0 fails to create any .gcda files
at test runtime (while that works just fine on 18.04 and 22.04).
2022-09-09 01:53:05 +02:00
Sebastian Pipping
003ac7403f
coverage.sh|qa.sh: Fix copying of DLLs for Wine/MinGW for Ubuntu 22.04
...
Ubuntu 22.04 no longer has libgcc_s_sjlj-1.dll but needs
libgcc_s_dw2-1.dll now, instead.
2022-09-09 01:53:05 +02:00
Sebastian Pipping
6311d58530
GitHub Actions: Fix installation of 32bit Wine on Ubuntu 20.04
...
Same approach as https://github.com/uriparser/uriparser/pull/144
2022-09-09 01:53:05 +02:00
Sebastian Pipping
666a749f15
GitHub Actions: Get off deprecated Ubuntu 18.04
2022-09-09 01:53:05 +02:00
Sebastian Pipping
80e6c69140
cmake: Avoid error "windres: Command not found" with MinGW on Ubuntu 20.04
...
Related:
https://gitlab.kitware.com/cmake/cmake/-/issues/20500#note_720469
2022-09-09 01:46:33 +02:00
Sebastian Pipping
9d246a7225
Merge pull request #636 from neheb/patch-1
...
CMake: Drop leading whitespace from a #cmakedefine line in file expat_config.h.cmake to workaround issues with Meson
2022-08-28 15:26:30 +02:00
Sebastian Pipping
fa9f063fe4
Merge pull request #637 from neheb/cl
...
apply-clang-format.sh: Add support for BSD find
2022-08-28 15:21:17 +02:00
Sebastian Pipping
acf35f3f7c
Merge pull request #638 from libexpat/fix-xmltest-log-sh-drop-more-wine-bug-output
...
fix-xmltest-log.sh: Drop more Wine bug output
2022-08-28 15:20:50 +02:00
Sebastian Pipping
05e904118f
fix-xmltest-log.sh: Drop more Wine bug output
2022-08-28 01:38:43 +02:00
Sebastian Pipping
0b826ea202
Merge pull request #635 from libexpat/coverage-sh-fix-name-collision
...
coverage.sh: Fix name collision for -funsigned-char
2022-08-28 01:34:40 +02:00
Rosen Penev
2e4ff883f1
remove leading whitespace from config file
...
meson has a bug where #cmakedefine with leading whitespace is not transformed.
2022-08-27 16:25:49 -07:00
Rosen Penev
cf0072d274
apply-clang-format: add support for BSD find
...
Found with shellcheck:
SC2185: Some finds don't have a default path. Specify '.' explicitly.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-27 15:57:42 -07:00
Sebastian Pipping
fff6ef4c87
Merge pull request #634 from libexpat/fix-mingw-compilation
...
lib: Fix compilation for -D__USE_MINGW_ANSI_STDIO=0
2022-08-28 00:35:06 +02:00
Sebastian Pipping
6225970379
coverage.sh: Fix name collision for -funsigned-char
2022-08-27 23:40:24 +02:00
Sebastian Pipping
446688c6ca
lib: Fix compilation for -D__USE_MINGW_ANSI_STDIO=0
2022-08-27 23:37:04 +02:00
Sebastian Pipping
cc3ddda565
Merge pull request #633 from libexpat/coverage-sh-exclude-mingw-headers
...
coverage.sh: Exclude MinGW headers
2022-08-21 20:05:36 +02:00
Sebastian Pipping
9188cba7a5
coverage.sh: Exclude MinGW headers (stdio.h and stdlib.h)
2022-08-21 19:22:29 +02:00
Sebastian Pipping
230b490cbf
coverage.sh: Inline exclusion patterns (for upcoming change)
2022-08-21 19:18:45 +02:00
t-0
0a0418faf8
File expat/fuzz/.gitignore changed to not ignore already-committed source files ( fixes #630 ) ( #631 )
2022-08-20 23:37:46 +02:00
Sebastian Pipping
11598f34ed
Merge pull request #625 from libexpat/autotools-sync-cmake-files
...
Autotools: Get CMake templates back in sync with CMake of GitHub Actions image "ubuntu-20.04"
2022-08-11 18:19:07 +02:00
Sebastian Pipping
2d31043257
Changes: Document past Autotools Cmake template adjustments in more detail
2022-08-11 16:28:47 +02:00
Sebastian Pipping
c09cb677f6
autotools: Sync CMake templates with CMake 3.22
2022-08-11 16:28:47 +02:00
Sebastian Pipping
f97479d7c3
Merge pull request #624 from libexpat/issue-622-mingw-cmake-dll-filename
...
CMake: Produce libexpat-1.dll with MinGW in line with GNU Autotools (fixes #622 )
2022-08-03 13:45:54 +02:00
Sebastian Pipping
7731dd5b90
cmake: Produce libexpat-1.dll with MinGW in line with GNU Autotools
2022-08-03 00:10:50 +02:00
Sebastian Pipping
e12e9ffb95
Merge pull request #621 from libexpat/issue-512-windows-render-def-files-from-template
...
CMake: Render .def file from a template to fix linking (fixes #512 ) + apply .def file with MinGW
2022-08-02 00:13:04 +02:00
Sebastian Pipping
0fb9a62022
cmake: Apply .def file when linking with MinGW
2022-07-30 21:06:08 +02:00
Sebastian Pipping
bc2d690ad4
cmake|windows: Render .def file from a template to fix linking
...
.. with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON .
2022-07-30 21:06:08 +02:00
Sebastian Pipping
9c66cb375e
Merge pull request #620 from libexpat/cmake-improve-documentation-on-variables
...
CMake: Improve documentation on variables
2022-07-28 22:21:04 +02:00
Sebastian Pipping
89dc0f26ee
Merge pull request #611 from neheb/def
...
Fix .def files syntax for MinGW
2022-07-28 01:17:03 +02:00
Sebastian Pipping
ca2cc7ead6
Merge pull request #614 from Tieske/minor
...
fix(docs) update XML_DTD symbol visibility
2022-07-28 00:21:47 +02:00
Sebastian Pipping
260c5190be
Changes: Document #608 and #620
2022-07-28 00:14:26 +02:00
Sebastian Pipping
d4ecd87e55
readme: Get CMake variables documentation back in sync
2022-07-27 23:58:29 +02:00
Sebastian Pipping
aa65f8cac7
cmake: Make all variable documentation start with a capital letter
2022-07-27 23:58:25 +02:00
Sebastian Pipping
ac6e1d0bf1
cmake: Improve documentation of variables EXPAT_*_POSTFIX
2022-07-27 23:57:54 +02:00
Sebastian Pipping
0e9bd32b30
cmake: Fix a CMAKE_*_POSTFIX leftover from pull request #608
2022-07-27 23:57:50 +02:00
Sebastian Pipping
2ba1ae67d6
Merge pull request #619 from libexpat/actions-get-off-deprecated-macos-10-15
...
Actions: Get off deprecated macos-10.15
2022-07-27 23:51:12 +02:00
Sebastian Pipping
6f746094be
Merge pull request #608 from dfaure-kdab/master
...
CMake: Set target properties *_POSTFIX instead of global vars CMAKE_*_POSTFIX
2022-07-27 23:17:44 +02:00
Sebastian Pipping
7d6c0d8f41
actions: Be explicit about macos-11
2022-07-27 23:17:30 +02:00
Sebastian Pipping
91432ad601
actions: Migrate from deprecated macos-10.15 to macos-11
2022-07-27 23:17:30 +02:00
David Faure
5a263e7516
Set target properties *_POSTFIX instead of global vars CMAKE_*_POSTFIX
...
This fixes unwanted side effects when libexpat is used with FetchContent
in another cmake-based project. Setting CMAKE_*_POSTFIX affects the
whole project, while here we only want to define the postfix for libexpat
itself.
2022-07-27 19:03:46 +02:00
Thijs Schreijer
f1a5b316fb
fix(docs) update XML_DTD symbol visibility
2022-07-22 15:06:14 +02:00
Rosen Penev
e36bcc2c40
expat: fix def files for MinGW
...
MinGW expects a populated LIBRARY field. Alternatively it can just be
removed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-18 14:37:22 -07:00
Sebastian Pipping
68e60b5677
Merge pull request #610 from libexpat/address-cppcheck-2-8-1-warning
...
lib: Address Cppcheck 2.8.1 warning / fix CI
2022-07-16 00:30:41 +02:00
Sebastian Pipping
6101fbc18e
lib: Address Cppcheck 2.8.1 warning
...
expat/lib/xmlparse.c:4288:21: error: Uninitialized variable: &versionend [uninitvar]
&version, &versionend, &encodingName, &newEncoding, &standalone)) {
^
2022-07-15 23:27:44 +02:00
Sebastian Pipping
4e91da28fb
Merge pull request #609 from libexpat/issue-585-license-file
...
Add /COPYING file + sync file headers (fixes #585 )
2022-07-14 23:29:06 +02:00
Sebastian Pipping
34f57a0b30
COPYING: cp expat/COPYING ./
2022-07-14 22:27:25 +02:00
Sebastian Pipping
39b2e99355
Sync file headers
2022-07-14 22:26:59 +02:00
Sebastian Pipping
24fa196ae8
.mailmap: Add Martin Ettl
2022-07-14 22:26:59 +02:00
Sebastian Pipping
f450135112
Merge pull request #603 from libexpat/dependabot/github_actions/actions/upload-artifact-3.1.0
...
Actions(deps): Bump actions/upload-artifact from 3.0.0 to 3.1.0
2022-05-24 21:18:38 +02:00
dependabot[bot]
3c6aaff666
Actions(deps): Bump actions/upload-artifact from 3.0.0 to 3.1.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3.0.0...v3.1.0 )
---
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>
2022-05-23 12:04:59 +00:00