Commit Graph

3155 Commits

Author SHA1 Message Date
Sebastian Pipping
f2a977c5da
Merge pull request #336 from libexpat/cmake-option-char-type
CMake option EXPAT_CHAR_TYPE=(char|ushort|wchar_t) + two other small CMake fixes
2019-09-05 21:56:40 +02:00
Sebastian Pipping
48d4929bff runtests.c: Workaround issue with combining XML_MIN_SIZE and ASan (#332) 2019-09-05 19:56:11 +02:00
Sebastian Pipping
d2892df8fd .gitignore: Add missing build results (CMake, qa.sh) 2019-09-05 19:38:36 +02:00
Sebastian Pipping
7f75b2e55f CMake: Streamline expat-config.cmake.in a bit 2019-09-05 17:21:57 +02:00
Sebastian Pipping
93431f0a8e CMake: Re-model char type components for usability 2019-09-05 17:20:06 +02:00
Sebastian Pipping
5a0df05f53 CMake: Fix guard for EXPAT_MSVC_STATIC_CRT from WIN32 to MSVC 2019-09-05 17:20:06 +02:00
Sebastian Pipping
23d85f447b CMake: Set XML_UNICODE for XML_UNICODE_WCHAR_T as well, again 2019-09-05 17:20:06 +02:00
Sebastian Pipping
27ec307136 CMake: Introduce option EXPAT_CHAR_TYPE=(char|ushort|wchar_t) 2019-09-05 17:20:06 +02:00
Sebastian Pipping
4a09fc9024 xmlwf: Get -h and -v out of usage summary line 2019-09-05 16:38:41 +02:00
Sebastian Pipping
5f28bccc5b Changes: Add reference to #338 2019-09-05 16:35:48 +02:00
Sebastian Pipping
fae03ea47c Changes: Document #339 2019-09-05 16:34:20 +02:00
Sebastian Pipping
18637ba9c8
Merge pull request #339 from bettermanzzy/fixMemLeak
Fix a potential memory leak in elements.c
2019-09-05 16:16:54 +02:00
Sebastian Pipping
b52c38a90f
Merge pull request #338 from libexpat/xmlwf-improve-help-output
xmlwf: Improve "xmlwf -h" help output
2019-09-05 12:35:40 +02:00
Sebastian Pipping
0310b5d3fd
Merge pull request #337 from libexpat/qa-sh-classify-compiler
qa.sh: Auto-detect QA_COMPILER
2019-09-05 12:35:05 +02:00
zhouzhongyuan
90e44cde80 fix potential memory leak in elements.c 2019-09-05 16:17:51 +08:00
Sebastian Pipping
041e7768be xmlwf: Improve "xmlwf -h" help output 2019-09-05 00:45:14 +02:00
Sebastian Pipping
53f81da945 qa.sh: Auto-detect QA_COMPILER 2019-09-04 21:53:47 +02:00
Sebastian Pipping
3ae79a8893 Changes: Mention CVE and commit SHA1 for #317 2019-09-04 20:43:43 +02:00
Sebastian Pipping
705c553aeb
Merge pull request #335 from libexpat/build-fuzzing-expat-only-once
CMake: Build fuzzing Expat once, not twelve times
2019-09-04 20:18:59 +02:00
Sebastian Pipping
c9b669e42a CMake: Build fuzzing Expat once, not twelve times 2019-09-03 23:20:26 +02:00
Sebastian Pipping
6da1f19625
Merge pull request #318 from libexpat/issue-317
Deny internal entities closing the doctype (for #317)
2019-09-03 22:00:41 +02:00
Sebastian Pipping
968cc3f713
Merge pull request #334 from libexpat/issue-330-cmake-migration
Go further with CMake migration (for #330)
2019-09-03 21:24:54 +02:00
Sebastian Pipping
ef3af655c6 AppVeyor: Improve use of CMake 2019-09-03 01:43:36 +02:00
Sebastian Pipping
8fe8fca412 CMake: Add missing -municode for wchar_t MinGW 2019-09-03 01:43:36 +02:00
Sebastian Pipping
3e38a17340 CMake: Fix use of XML_UNICODE and XML_UNICODE_WCHAR_T
C/C++ code is not ready to get those from expat_config.h, yet.
2019-09-03 00:36:36 +02:00
Sebastian Pipping
c7d639115b Travis CI: Adapt to qa.sh's move from GNU Autotools to CMake 2019-09-02 21:48:40 +02:00
Sebastian Pipping
50f63ae089 qa.sh: Migrate from GNU Autotools to CMake 2019-09-02 21:31:46 +02:00
Sebastian Pipping
4657d2d3de CMake: Drop .c files from expat_SRCS that are empty unless included 2019-09-02 21:31:46 +02:00
Sebastian Pipping
201094142d CMake: Do not produce expat.pc pkg-config file with MSVC 2019-09-02 21:31:46 +02:00
Sebastian Pipping
da8be0224c CMake: Port "make xml-runtest" over from GNU Autotools 2019-09-02 21:31:46 +02:00
Sebastian Pipping
d78357da50 CMake: Make MinGW support work 2019-09-02 00:45:23 +02:00
Sebastian Pipping
0e3db7fcff CMake: Fix off-by-one indentation 2019-09-02 00:18:59 +02:00
Sebastian Pipping
1a67aa4ad2 win32: Fix slash to be a backslash in expat.iss 2019-09-02 00:18:48 +02:00
Sebastian Pipping
ba0850983b Merge branch 'issue-331-address-compile-warnings-xml-min-size' (#333) 2019-09-01 21:10:36 +02:00
Sebastian Pipping
660a83ea20 Changes: Reference #331 and #333 2019-09-01 21:10:09 +02:00
Sebastian Pipping
8735c77127 xmltok.c: Fix unused variables warnings for -DXML_MIN_SIZE 2019-09-01 16:07:56 +02:00
Sebastian Pipping
294fa6782c README.md: Make CMake option listing more readable 2019-08-31 02:25:05 +02:00
Sebastian Pipping
55e4807c26 Changes: Add reference to #329 2019-08-31 02:23:49 +02:00
Sebastian Pipping
5dfac7036d
Merge pull request #329 from libexpat/cmake-option-namespace
CMake option namespace prefix EXPAT_
2019-08-31 02:22:22 +02:00
Sebastian Pipping
493aebf28f Changes: Mention -DEXPAT_BUILD_FUZZERS=(ON|OFF) 2019-08-30 23:54:51 +02:00
Sebastian Pipping
adbfa6a2ed Changes: Document move to EXPAT_ CMake option namespace prefix 2019-08-30 23:54:51 +02:00
Sebastian Pipping
b67044f475 README.md: List non-advanced build options 2019-08-30 23:54:51 +02:00
Sebastian Pipping
161bb9f5ab CMake: Mark options as advanced where guessing would go wrong, easily 2019-08-30 23:54:51 +02:00
Sebastian Pipping
bf8ab25a0d CMake: Get options to show with "cmake -D_EXPAT_HELP=ON -LH ." 2019-08-30 23:54:51 +02:00
Sebastian Pipping
54a5ea1bb8 CMake: Fix pull request reference typo 2019-08-30 23:54:51 +02:00
Sebastian Pipping
3007f5ecf2 CMake: Report about XML_MIN_SIZE in summary 2019-08-30 23:54:51 +02:00
Sebastian Pipping
d13ceacad1 CMake: Rename XML_% to EXPAT_% 2019-08-30 23:54:51 +02:00
Sebastian Pipping
fce015875e CMake: Rename BUILD_shared to EXPAT_SHARED_LIBS 2019-08-30 23:54:51 +02:00
Sebastian Pipping
474471cdc2 CMake: Rename INSTALL to EXPAT_ENABLE_INSTALL 2019-08-30 23:54:51 +02:00
Sebastian Pipping
4b214610e2 CMake: Rename MSVC_USE_STATIC_CRT to EXPAT_MSVC_STATIC_CRT 2019-08-30 23:54:51 +02:00