Commit Graph

3394 Commits

Author SHA1 Message Date
Sebastian Pipping
989dd1b2ca CMake: Support absolute paths for CMAKE_INSTALL_(LIB|INCLUDE)DIR (fixes #458) 2021-04-06 19:49:28 +02:00
Sebastian Pipping
a44c3dee40
Merge pull request #457 from libexpat/issue-457-fix-and-cover-list-of-exported-symbols
Fix and cover list of exported symbols
2021-04-05 22:39:26 +02:00
Sebastian Pipping
f29b48cfca Unexpose function _INTERNAL_trim_to_complete_utf8_characters (#457) 2021-04-05 21:44:15 +02:00
Sebastian Pipping
b4f1429679 CMake: Give test suite access to internal symbols 2021-04-05 21:43:57 +02:00
Sebastian Pipping
f01a61402c Autotools: Give test suite access to internal symbols 2021-04-05 20:05:50 +02:00
Sebastian Pipping
ad0aec0651 autotools-cmake.yml: Add check for list of exported symbols 2021-04-05 20:05:50 +02:00
Sebastian Pipping
7b06704601 autotools-cmake.yml: Split up for upcoming extension 2021-04-05 20:05:50 +02:00
Sebastian Pipping
b99f9f5104
Merge pull request #456 from libexpat/actions-enable-periodic-builds
GitHub Actions: Enable periodic CI runs
2021-04-05 20:03:14 +02:00
Sebastian Pipping
20ea6956b5 Actions: Enable periodic builds 2021-04-05 18:52:16 +02:00
Sebastian Pipping
2f051a681b cppcheck: Suprocess warnings of type "objectIndex"
Report from Cppcheck 2.4.1 was:

lib/xmlparse.c:729:26: warning: The address of local variable 'entropy' might be accessed at non-zero index. [objectIndex]
      ((uint8_t *)target)[bytesWrittenTotal] = random8;
                         ^
lib/xmlparse.c:820:39: note: Address of variable taken here.
  writeRandomBytes_arc4random((void *)&entropy, sizeof(entropy));
                                      ^
lib/xmlparse.c:820:31: note: Calling function 'writeRandomBytes_arc4random', 1st argument '(void*)&entropy' value is lifetime=entropy
  writeRandomBytes_arc4random((void *)&entropy, sizeof(entropy));
                              ^
lib/xmlparse.c:729:26: note: The address of local variable 'entropy' might be accessed at non-zero index.
      ((uint8_t *)target)[bytesWrittenTotal] = random8;
                         ^
lib/xmltok.c:318:54: error: The address of local variable 'fromLim' is accessed at non-zero index. [objectIndex]
    const unsigned char prev = (unsigned char)fromLim[-1];
                                                     ^
lib/xmltok.c:369:56: note: Address of variable taken here.
    _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim);
                                                       ^
lib/xmltok.c:369:56: note: Calling function '_INTERNAL_trim_to_complete_utf8_characters', 2nd argument '&fromLim' value is lifetime=fromLim
    _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim);
                                                       ^
lib/xmltok.c:318:54: note: The address of local variable 'fromLim' is accessed at non-zero index.
    const unsigned char prev = (unsigned char)fromLim[-1];
                                                     ^
2021-04-05 18:52:16 +02:00
Sebastian Pipping
bfe4b25b80 cmake/autotools/expat.cmake: Get back in sync with CI 2021-04-05 18:11:22 +02:00
Sebastian Pipping
a46b210be8
Merge pull request #455 from libexpat/issue-454-losen-rejection-of-unsupported-msvc-compilers
CMake: Be less rejective towards unsupported MSVC compilers for Conan (#454)
2021-03-29 14:22:05 +02:00
Sebastian Pipping
9fafff73cd CMake: Be less rejective towards unsupported MSVC compilers for Conan (#454) 2021-03-26 18:05:10 +01:00
Sebastian Pipping
a29faca366
Merge pull request #453 from nschonni/patch-1
typo: Buildung -> Building
2021-03-25 19:11:19 +01:00
Sebastian Pipping
f592a964bd xmlwf.xml: Sync date of latest change 2021-03-25 18:37:33 +01:00
Nick Schonning
8fdc4c6c5f
typo: Buildung -> Building 2021-03-25 13:18:08 -04:00
Sebastian Pipping
2d58706dad Merge branch 'issue-445-prepare-release' (#445) 2021-03-25 01:29:53 +01:00
Sebastian Pipping
cc414b64bd .gitignore: Add generated files at cmake/autotools/ 2021-03-25 01:28:34 +01:00
Sebastian Pipping
7d375b1bd9 Changes: Set release date for version 2.3.0 2021-03-24 21:05:04 +01:00
Sebastian Pipping
800c4d14e2 lib: Fix references to version 2.2.11 to be about 2.3.0, instead 2021-03-24 21:05:04 +01:00
Sebastian Pipping
3417b3e098 Bump version from 2.2.10 to 2.3.0 2021-03-24 21:05:04 +01:00
Sebastian Pipping
d0faa1ec14 README.md: Replace a "will" by a "may" to be more precise 2021-03-24 21:05:04 +01:00
Sebastian Pipping
4bd4bac268 README.md: Fix a SourceForge link leftover regarding Windows binaries (#1) 2021-03-24 21:05:04 +01:00
Sebastian Pipping
1ec7950e46 README.md: Replace Travis CI badge with GitHub Actions badge 2021-03-24 21:05:04 +01:00
Sebastian Pipping
f546f0658b README.md: Document use of libexpat from a CMake-based project 2021-03-24 21:05:04 +01:00
Sebastian Pipping
8f70f8c87f README.md: Add more structure 2021-03-24 20:10:02 +01:00
Sebastian Pipping
c992ac0fd7 README.md: Fix list syntax for some markdown interpreters 2021-03-24 20:09:54 +01:00
Sebastian Pipping
7991830172 Changes: Document #425, #426, #434, #435, #436, #437, #441, #443, #446 (#445) 2021-03-23 00:54:35 +01:00
Sebastian Pipping
1361370223 Changes: Improve documentation of #444 2021-03-23 00:54:35 +01:00
Sebastian Pipping
f840ff1a2a
Merge pull request #452 from libexpat/issue-452-fix-autotools-macro-regression
configure.ac: Fix use of M4 macro "expat_version"
2021-03-23 00:49:17 +01:00
Sebastian Pipping
30ec88b351 configure.ac: Fix use of M4 macro "expat_version"
Regression introduced in fd9a7d649e
as part of pull request #450
2021-03-23 00:01:03 +01:00
Sebastian Pipping
39f304d99f Actions: Make CI fail on non-triple version from configure.ac 2021-03-23 00:01:03 +01:00
Sebastian Pipping
8574d61f78
Merge pull request #451 from libexpat/make-autotools-install-cmake-files
Make GNU Autotools install CMake files
2021-03-22 23:43:14 +01:00
Sebastian Pipping
e9026b19c4 Actions: Ensure that GNU Autotools install identical CMake files 2021-03-22 22:40:54 +01:00
Sebastian Pipping
b50ff5adaa Autotools: Install CMake files 2021-03-22 22:30:00 +01:00
Sebastian Pipping
16315c6b5b
Merge pull request #450 from libexpat/autotools-autoupdate
configure.ac: Apply partial autoupdate-2.71
2021-03-22 19:36:18 +01:00
Sebastian Pipping
fd9a7d649e configure.ac: Apply partial autoupdate-2.71
Addressed:
warning: The macro `AC_CONFIG_HEADER' is obsolete.

Not addressed yet:
warning: AC_PROG_CC_C99 is obsolete; use AC_PROG_CC
2021-03-22 18:28:11 +01:00
Sebastian Pipping
13e8bc246b
Merge pull request #444 from libexpat/issue-444-resolve-exit-status-2-ambiguity
xmlwf: Resolve exit status 2 ambiguity
2021-03-20 21:32:59 +01:00
Sebastian Pipping
05f54b6c5e xmlwf.xml: Fix numerus for recent advent of -k 2021-03-20 18:20:09 +01:00
Sebastian Pipping
a6f3f2a3a2 xmlwf: Split off exit status 4 for invalid argument invokation 2021-03-20 18:20:09 +01:00
Sebastian Pipping
689cb6527f Changes: Fix inconsistent indentation 2021-03-20 18:20:09 +01:00
Sebastian Pipping
c48bb1eb35
Merge pull request #447 from libexpat/drop-support-for-ancient-visual-studio
Windows: Drop support for Visual Studio <=14.0/2015
2021-03-20 17:10:10 +01:00
Sebastian Pipping
3bc4eac843
Merge pull request #446 from libexpat/quickport-remaining-travis-ci-to-github-actions
Quick-port Linux jobs from Travis CI to GitHub Actions
2021-03-20 15:47:05 +01:00
Sebastian Pipping
dd26478455 Windows: Drop support for Visual Studio <=14.0/2015 2021-03-20 15:38:49 +01:00
Sebastian Pipping
c01e51126d Quick-port Linux jobs from Travis CI to GitHub Actions 2021-03-20 14:06:49 +01:00
Sebastian Pipping
10e75ca59a Merge branch 'timbray-master' (#439) 2021-03-17 21:46:32 +01:00
Sebastian Pipping
4a6524e89e Changes: Document #439 2021-03-17 21:46:05 +01:00
Tim Bray
56c18c63ed Add argument -k to allow continuing after non-fatal errors 2021-03-16 20:40:26 -07:00
Sebastian Pipping
87176c5ce3 expat.h: Fix conmment typo regarding XML_ERROR_UNKNOWN_ENCODING 2021-03-17 02:12:18 +01:00
Sebastian Pipping
90c36ffffe
Merge pull request #443 from libexpat/bump-version-info
Bump shared library version info for next release
2021-03-17 00:49:36 +01:00