Commit Graph

2793 Commits

Author SHA1 Message Date
Sebastian Pipping
2db13ca57d xmlwf: Add missing @AM_*FLAGS@ 2020-03-18 00:32:06 +01:00
Sebastian Pipping
5d1a7b3737 Changes: Document improved handling of compile flags 2020-03-17 21:25:23 +01:00
Sebastian Pipping
b391d182b0 configure.ac: Fix mis-treatment of AM_* as macros in heredoc
Warnings were:
configure.ac:336: warning: macro 'AM_CPPFLAGS' not found in library
configure.ac:337: warning: macro 'AM_CFLAGS' not found in library
configure.ac:338: warning: macro 'AM_CXXFLAGS' not found in library
configure.ac:339: warning: macro 'AM_LDFLAGS' not found in library
2020-03-17 21:10:52 +01:00
Sebastian Pipping
b070491723 configure.ac: Use a heredoc for printing the summary 2020-03-17 20:39:41 +01:00
Jeffrey Walton
5c66485b86 Update Autotools to use AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS 2020-03-17 20:35:20 +01:00
Sebastian Pipping
f7e69887b3 CMake: Expose man page compilation as target "xmlwf-manpage" 2020-03-16 22:30:21 +01:00
Sebastian Pipping
f1ac70b3e3 Merge branch 'Mizzrym1-move-xml-static-to-public' (#385) 2020-03-11 01:55:59 +01:00
Sebastian Pipping
4b71379a3e Changes: Document #385 2020-03-11 01:52:29 +01:00
Sebastian Pipping
5210036b1e CMake: Fix approach to set(.. PARENT_SCOPE)
Apparently, PARENT_SCOPE _only_ sets a variable in the parent scope
so we now first set it for Expat and do another exporting
call using PARENT_SCOPE if needed.

Error output of CMake 3.16.2 was:
CMake Error at libexpat/expat/CMakeLists.txt:319 (target_include_directories):
  Cannot specify include directories for target "INTERFACE" which is not
  built by this project.

CMake Error at libexpat/expat/CMakeLists.txt:368 (add_custom_command):
  add_custom_command Wrong syntax.  A TARGET or OUTPUT must be specified.
2020-03-09 16:14:13 +01:00
Maciej Sroczyński
b53473b119 Move definition XML_STATIC to public in target 2020-03-05 10:51:00 +01:00
Sebastian Pipping
65011ad2f7 CMake: Expose ${EXPAT_TARGET} to parent scope 2020-02-10 23:34:22 +01:00
Sebastian Pipping
b73d405848 Merge branch 'Mizzrym1-Fix_cmake_EXPORT' (#375, fixes #380) 2020-02-10 16:05:49 +01:00
Sebastian Pipping
74751abb6b Changes: Document #375 and #380 2020-02-10 16:04:29 +01:00
Maciej Sroczyński
6f44304d82 Fix cmake target_include_directories 2020-02-10 14:42:15 +01:00
Sebastian Pipping
8a989015ad README.md: Replace "should" by "can" regarding Windows binaries (#376) 2020-01-23 22:23:08 +01:00
Matthias
8a93b41a8a
Update COPYING
Copyright year should be 2019 for 2.2.9?
2019-12-26 00:22:56 +01:00
Bhargava Shastry
037bcd1657 CMake: Fix warning due to if statement with mismatching arguments 2019-11-29 13:29:45 +01:00
Sebastian Pipping
83e1688c74 xmlwf: Improve output of "xmlwf -h" by two tiny bits 2019-11-26 16:17:44 +01:00
Sebastian Pipping
49c31c180c
Merge pull request #369 from libexpat/issue-368-fix-doc-png-images
doc: Process *.png images by zopflipng (for #368)
2019-11-24 18:11:33 +01:00
Sebastian Pipping
3698d490a0 doc: Process *.png images by zopflipng 2019-11-24 15:29:20 +01:00
Bhargava Shastry
9d646413c4 CMake: Enable oss-fuzz integration 2019-11-19 11:31:59 +01:00
Bhargava Shastry
8889179071 parsebuffer fuzzer: Bail out on empty fuzzer input 2019-11-17 21:12:13 +01:00
luz.paz
56893d4fbb Fix source comment typos
Found via `codespell -q 3 -S ./testdata,./expat/Changes`
2019-11-04 07:52:31 -05:00
Sebastian Pipping
515f5d07c6 xmlparse.c: Improve warning regarding lack of high quality entropy (#172) 2019-10-26 15:23:09 +02:00
Sebastian Pipping
a328ba3ca6 Changes: Fix name order for 2.2.8 2019-10-16 15:25:34 +02:00
Sebastian Pipping
739a525d1b Changes: Give credit for #361 and #362 2019-10-16 15:23:14 +02:00
Mohammed Khajapasha
8935c83a84 Autotools: Add package name variable for expat.pc config file
Add _EXPAT_TARGET package name variable for expat.pc
package config file in automake.

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
2019-10-14 18:19:52 +00:00
Sebastian Pipping
87674af183
Merge pull request #359 from libexpat/rand-s-mingwrt-version-guard
Limit declaration of rand_s to mingwrt <5.3.0
2019-10-13 15:13:49 +02:00
Sebastian Pipping
fc32dd491c xmlparse.c: Limit declaration of rand_s to mingwrt <5.3.0 2019-10-13 13:06:05 +02:00
Sebastian Pipping
b65e0d383d Changes: Document improvements to CMake 2019-10-12 23:22:24 +02:00
Sebastian Pipping
c513cea787 CMake: Install shipped xmlwf manpage in case of -DEXPAT_BUILD_DOCS=OFF 2019-10-12 23:22:24 +02:00
Sebastian Pipping
f2d53fb6cd CMake: Catch troublesome build combinations for -DEXPAT_CHAR_TYPE=wchar_t 2019-10-12 23:22:24 +02:00
Sebastian Pipping
db01810bf3 CMake: Catch troublesome build combinations for -DEXPAT_CHAR_TYPE=ushort 2019-10-12 23:22:24 +02:00
Sebastian Pipping
5aa6475ca5 CMake: Create libexpatw.{dll,so} and expatw.pc with -DEXPAT_CHAR_TYPE=(ushort|wchar_t) 2019-10-12 23:22:24 +02:00
Sebastian Pipping
3e31626c7b CMake: Fix visibility of EXPAT_WITH_LIBBSD and EXPAT_*RANDOM* 2019-10-12 23:22:24 +02:00
Sebastian Pipping
a0ce01d3b0 Changes: Document #356 2019-10-12 23:20:52 +02:00
Sebastian Pipping
ccd1cbc14d Drop expat.spec RPM packaging (related to #330) 2019-10-09 19:56:19 +02:00
Sebastian Pipping
dd53eb8d10
Merge pull request #357 from libexpat/coverage-sh-cmake
Migrate coverage.sh from GNU Autotools to CMake (part of #330)
2019-10-09 15:21:08 +02:00
Sebastian Pipping
7426853889 codepage.c: Define functions codepageMap and codepageConvert no more than once 2019-10-08 00:20:28 +02:00
Sebastian Pipping
4d45e55178 coverage.sh: Limit coverage logs to lib/ and xmlwf/ folders 2019-10-08 00:20:28 +02:00
Sebastian Pipping
d516114e76 coverage.sh: Report more about calls to lcov (than their output) 2019-10-08 00:20:28 +02:00
Sebastian Pipping
3334d63437 coverage.sh: Fix directory collisions for w/ and w/o attribute info 2019-10-08 00:20:28 +02:00
Sebastian Pipping
ab73290c35 coverage.sh: Re-use first xmlts.zip download 2019-10-07 22:33:46 +02:00
Sebastian Pipping
6136acc8e0 coverage.sh: Move from GNU Autotools to CMake# 2019-10-07 22:33:35 +02:00
Sebastian Pipping
41c8dc1771 coverage.sh: Copy libexpat.dll as well 2019-10-07 22:33:35 +02:00
Sebastian Pipping
0b53cb461b coverage.sh: Improve handling of absent libwinpthread-1.dll 2019-10-07 22:33:35 +02:00
Vadim Zeitlin
52aead2583 Declare rand_s() for MinGW 32 ourselves
Runtime files for MinGW don't contain rand_s() declaration, even in
their latest version, so declare it ourselves to avoid the warning about
missing function declaration.
2019-10-06 22:12:25 +02:00
Sebastian Pipping
5123c8ed95 xmltok.c: Address warnings about accidental non-ASCII dashes in comments (#355) 2019-10-01 21:50:52 +02:00
Sebastian Pipping
c675d2d9da Changes: Document #354 2019-10-01 21:46:14 +02:00
Sebastian Pipping
8850b20417 qa.sh: Exclude "make run-xmltest" for -DEXPAT_DTD=OFF 2019-09-29 22:42:18 +02:00