Commit Graph

3183 Commits

Author SHA1 Message Date
Sebastian Pipping
811c41e3be xmlparse.c: Reject missing call to XML_GetBuffer in XML_ParseBuffer
.. rather than running into undefined behavior.
2021-02-24 02:26:06 +01:00
Sebastian Pipping
aafd462fbd
Merge pull request #437 from libexpat/issue-436-protect-expat-config-h
Protect installed expat_config.h from regression + drop obsolescent macro AC_HEADER_STDC (#436)
2020-12-29 19:55:59 +01:00
Sebastian Pipping
88be19e487 configure.ac: Drop obsolescent macro AC_HEADER_STDC (#436) 2020-12-29 03:01:09 +01:00
Sebastian Pipping
b1ff22ecea Actions: Cover list of symbols exported by installed expat_config.h 2020-12-29 03:01:09 +01:00
Sebastian Pipping
f27a97ae63
Merge pull request #435 from libexpat/move-macos-travis-to-github-actions
Move macOS Travis to GitHub Actions
2020-12-28 12:19:45 +01:00
Sebastian Pipping
7b9c444dcf Use GitHub Actions to run current macOS Travis CI tasks 2020-12-28 00:36:03 +01:00
Sebastian Pipping
ad28b54fc2
Merge pull request #434 from tbeu/detect-vs
Detect unsupported VS at configure time (and not at compile time)
2020-12-27 20:49:36 +01:00
tbeu
a86a16e2c5 Detect unsupported VS at configure time (and not at compile time) 2020-12-27 19:22:15 +01:00
Sebastian Pipping
59d54dab82
Merge pull request #432 from timgates42/bugfix_typo_without
docs: fix simple typo, wtihout -> without
2020-12-17 15:53:30 +01:00
Tim Gates
81e07895c2
docs: fix simple typo, wtihout -> without
There is a small typo in expat/tests/runtests.c.

Should read `without` rather than `wtihout`.
2020-12-17 21:14:40 +11:00
Sebastian Pipping
0f6d2dbd73 Merge branch 'make-testrunner-output-more-helpful' (#382, #428) 2020-10-30 10:12:51 +01:00
Sebastian Pipping
46698550ea Changes: Document #382 and #428 2020-10-30 10:10:53 +01:00
Sebastian Pipping
1e243aca3e tests: Show failure location for normal mode output as well 2020-10-25 21:14:18 +01:00
Sebastian Pipping
ef8d5bff85 Travis: Add CTEST_OUTPUT_ON_FAILURE=1 where missing 2020-10-25 21:14:18 +01:00
Sebastian Pipping
263c76e324 tests: Make argument -v more useful 2020-10-25 21:14:18 +01:00
Sebastian Pipping
6a7264e383 tests: Report actual failure location 2020-10-25 21:14:09 +01:00
Sebastian Pipping
bd4b55a680 tests: Make check for silence explain itself better 2020-10-25 18:40:38 +01:00
Sebastian Pipping
0d9b081278
Merge pull request #426 from libexpat/issue-422-drop-support-for-old-visual-studio
Drop support for old versions of Visual Studio (fixes #422)
2020-10-03 23:40:38 +02:00
Sebastian Pipping
ea60ef34a7 Drop remaining support for Visual Studio 2008, 2010, 2012 (#422) 2020-10-03 21:30:13 +02:00
Sebastian Pipping
60425e0fff Revert "AppVeyor: Be explicit about build script to support msbuild 3.5"
This reverts commit 24d6dd8c2d.
2020-10-03 21:13:40 +02:00
Sebastian Pipping
2e63c25864 Revert "AppVeyor: Cover 32bit Visual Studio 9 2008 using MSBuild 3.5"
This reverts commit d073dd63d3.
2020-10-03 21:13:35 +02:00
Sebastian Pipping
179a0c5526 CMake: Remove unused variable 2020-10-03 21:09:32 +02:00
Sebastian Pipping
162e16b0a7 Merge branch 'issue-415-release-expat-2-2-10' (#415) 2020-10-03 17:14:57 +02:00
Sebastian Pipping
c686d358b3 Set release date for 2.2.10 2020-10-03 00:49:39 +02:00
Sebastian Pipping
3265243064 Bump version info from 7:11:6 to 7:12:6 2020-10-03 00:49:39 +02:00
Sebastian Pipping
3af8f46e3f Bump version from 2.2.9 to 2.2.10 2020-10-03 00:49:33 +02:00
Sebastian Pipping
d0ad8e21ca Changes: Document #405 #356 #359 #394 #366 #412 #368 #369 2020-10-03 00:43:37 +02:00
Sebastian Pipping
5644f0fa8e CMake: Turn endif(..) into endif(), and else(..) into else()
Related documentation:
https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#isnt-the-expression-in-the-elseexpression-confusing
2020-10-03 00:43:37 +02:00
Sebastian Pipping
cdeadf8522 tests: Add missing static to address compiler warning
Warning was:
runtests.c:112:1: warning: no previous prototype for ‘tcase_add_test__ifdef_xml_dtd’ [-Wmissing-prototypes]
2020-10-03 00:43:37 +02:00
Sebastian Pipping
10155503c6 Merge branch 'cmake-support-simple-package-creation-based-on-cpack' (#424) 2020-10-01 21:30:44 +02:00
Sebastian Pipping
11796c2166 Changes: Document #424 2020-10-01 21:28:37 +02:00
Sebastian Pipping
559f90fed7 CMake: Support "make package" based on CPack
On Linux, this will create a file "expat-2.2.9-Linux.tar.gz"
with the following content:

$ tar tf expat-2.2.9-Linux.tar.gz | sort | grep -v '/$'
expat-2.2.9-Linux/bin/xmlwf
expat-2.2.9-Linux/include/expat_config.h
expat-2.2.9-Linux/include/expat_external.h
expat-2.2.9-Linux/include/expat.h
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-config.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-config-version.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-noconfig.cmake
expat-2.2.9-Linux/lib64/libexpat.so
expat-2.2.9-Linux/lib64/libexpat.so.1
expat-2.2.9-Linux/lib64/libexpat.so.1.6.11
expat-2.2.9-Linux/lib64/pkgconfig/expat.pc
expat-2.2.9-Linux/share/doc/expat/AUTHORS
expat-2.2.9-Linux/share/doc/expat/changelog
expat-2.2.9-Linux/share/man/man1/xmlwf.1
2020-10-01 21:23:00 +02:00
Sebastian Pipping
2e63ab0782 Merge branch 'gittiver-master' (#419) 2020-09-26 14:54:39 +02:00
Sebastian Pipping
373e974b11 Changes: Document #419 2020-09-26 14:52:44 +02:00
Sebastian Pipping
006603972e
Merge pull request #421 from libexpat/leaksan
qa.sh: Enable LeakSanitizer
2020-09-26 01:36:42 +02:00
Sebastian Pipping
639e28fc2e qa.sh: Enable LeakSanitizer 2020-09-25 20:18:33 +02:00
Sebastian Pipping
9ab26c18fd
Merge pull request #420 from libexpat/issue-418-visual-studio-2019
AppVeyor: Cover Visual Studio 16 2019 (related to #418)
2020-09-25 01:09:28 +02:00
Sebastian Pipping
8668a8d0e3 AppVeyor: Cover Visual Studio 16 2019 2020-09-24 23:09:14 +02:00
Gulliver
20f824e8e8 added "new" behaviour for Policy CMP0077 which allows to control the build options by variables if lib is used by FetchContent of a super project 2020-09-18 18:59:38 +02:00
Sebastian Pipping
d8daead33e installer: Add missing file to fix build from installed sources (#409) 2020-09-10 20:01:04 +02:00
Sebastian Pipping
1bb22cd03a
Merge pull request #414 from libexpat/issue-413-allow-installation-of-pkgconfig-file-with-msvc
CMake: Introduce option EXPAT_BUILD_PKGCONFIG (fixes #413)
2020-08-21 22:52:19 +02:00
Sebastian Pipping
86283117f1 readme: Sync list of CMake options 2020-08-20 22:02:30 +02:00
Sebastian Pipping
f438563a78 CMake: Introduce option EXPAT_BUILD_PKGCONFIG (#413) 2020-08-20 21:59:18 +02:00
Sebastian Pipping
c092d40c30
Merge pull request #412 from boris-kolpackov/unsigned-overflow
Get rid of unsigned integer overflow in column calculation
2020-08-17 23:17:39 +02:00
Boris Kolpackov
81ae3e7208 Get rid of unsigned integer overflow in column calculation
While unsigned integer overflow is well-defined, Android sanitizers treat it
as an error. We also have some in the SipHash implementation but those won't
be easy to get rid of.
2020-08-17 16:08:56 +02:00
Sebastian Pipping
990e3d07ea
Merge pull request #411 from libexpat/cmake-linker-flags
CMake: Consider use of CMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS
2020-07-17 23:58:05 +02:00
Sebastian Pipping
eca7704fd4
Merge pull request #410 from libexpat/const-correctness
Be more correct about const correctness on the inside
2020-07-17 23:57:22 +02:00
Sebastian Pipping
e94b0b243e CMake: Consider use of CMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS 2020-07-16 23:46:26 +02:00
Sebastian Pipping
fc0e2365c9 Be more correct about const correctness on the inside 2020-07-16 21:09:00 +02:00
Sebastian Pipping
5a7fe4d19a Merge branch 'issue-407-alter-expat-output-name-rather-than-target-name' (#407, #408) 2020-07-15 17:37:10 +02:00