Sebastian Pipping
841338da7f
Revert "runtests.c: Fix compiler warning "unused function" with -DEXPAT_MIN_SIZE=ON"
...
This reverts commit 76f2beee81
.
2021-04-25 22:51:23 +02:00
Sebastian Pipping
72cdab2aeb
Revert "runtests.c: Workaround issue with combining XML_MIN_SIZE and ASan ( #332 )"
...
This reverts commit 48d4929bff
.
2021-04-25 22:51:23 +02:00
Sebastian Pipping
1a5ae0e4c0
Changes: Document improvements to the man page
2021-04-25 19:13:00 +02:00
Sebastian Pipping
1f75b7fbac
xmlwf.1: Bump date of last modification
2021-04-25 19:11:14 +02:00
Sebastian Pipping
dd77046dc3
xmlwf.1: Be more precise in section "author"
2021-04-25 19:11:14 +02:00
Sebastian Pipping
de34e8ce15
xmlwf.1: Use <command>&dhpackage;</command> where missing
2021-04-25 19:11:14 +02:00
Sebastian Pipping
a1c3ac908c
xmlwf.1: Improve links in section "see also"
2021-04-25 19:11:14 +02:00
Sebastian Pipping
506600c59f
xmlwf.1: Drop section "alternatives" that contains only dead links
2021-04-25 19:11:14 +02:00
Sebastian Pipping
0d21b17b2c
xmlwf.1: Move argument -k in place with regard to alphabetic order
2021-04-25 19:10:51 +02:00
Sebastian Pipping
83f12b5627
xmlwf.1: Pull colon out of <emphasis>
2021-04-25 19:10:51 +02:00
Sebastian Pipping
1613b6ed1f
xmlwf.1: Add <replaceable> where missing
2021-04-25 19:10:51 +02:00
Sebastian Pipping
c028d9b280
xmlwf: Simplify synopsis
2021-04-25 17:49:21 +02:00
Sebastian Pipping
8d1bd6ff2c
Resolve macro HAVE_EXPAT_CONFIG_H
2021-04-22 00:11:28 +02:00
Sebastian Pipping
10d3429621
Merge pull request #463 from libexpat/small-xmlwf-refactoring
...
Small xmlwf refactoring
2021-04-20 13:34:54 +02:00
Tomas Korbar
8f53530dea
Fix reference.html badly insterted ul tag
...
This fix makes no visible difference but stops static code analysers
from yielding warnings about not allowed ul inside paragraph.
2021-04-20 10:40:13 +02:00
Sebastian Pipping
810e240fde
xmlwf: Extract exit code constants
2021-04-19 19:32:29 +02:00
Sebastian Pipping
385aeb477b
xmlwf: Extract macro XMLWF_SHIFT_ARGUMENT
2021-04-19 19:30:12 +02:00
Sebastian Pipping
ae6c9b40af
README.md: Extract two bullet points from a long sentence
2021-04-06 23:49:40 +02:00
Sebastian Pipping
dff64502da
README.md: Emphasize lowercase and uppercase in CMake content
2021-04-06 23:48:12 +02:00
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
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
bfe4b25b80
cmake/autotools/expat.cmake: Get back in sync with CI
2021-04-05 18:11:22 +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
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
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
b50ff5adaa
Autotools: Install CMake files
2021-03-22 22:30:00 +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
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
dd26478455
Windows: Drop support for Visual Studio <=14.0/2015
2021-03-20 15:38: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
1955a4092e
Bump version infro from 7:12:6 to 8:0:7
2021-03-16 18:34:06 +01:00
Sebastian Pipping
734698ba6a
Changes: Fix inconsistent double blank line
2021-03-16 18:27:32 +01:00
Sebastian Pipping
29b9c6010c
Changes: Document #442
2021-03-16 18:15:24 +01:00
Alex Richardson
13d4c51a17
CMake: Only set CMAKE_CXX_FLAGS after enable_language(CXX)
...
Otherwise flags specified in a CMake cross-compilation toolchain (such as
CMAKE_CXX_FLAGS_INIT) will not be added. This could also affect native
builds but is much more likely to be noticed when cross-compiling due to
missing essential flags.
2021-03-16 15:57:05 +00:00
Sebastian Pipping
0e567d2ed1
fuzzers: Address Clang warning -Wunused-parameter
2021-03-10 16:21:00 +01:00
Sebastian Pipping
44d889e78c
.travis.yml: Upgrade to Ubuntu Bionic 18.04.x LTS and Clang 11
2021-02-24 03:34:43 +01:00
Sebastian Pipping
af86899bf9
apply-clang-format.sh: Report on clang-format version
2021-02-24 03:34:43 +01:00
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
88be19e487
configure.ac: Drop obsolescent macro AC_HEADER_STDC ( #436 )
2020-12-29 03:01:09 +01:00
tbeu
a86a16e2c5
Detect unsupported VS at configure time (and not at compile time)
2020-12-27 19:22:15 +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
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
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
ea60ef34a7
Drop remaining support for Visual Studio 2008, 2010, 2012 ( #422 )
2020-10-03 21:30:13 +02:00
Sebastian Pipping
179a0c5526
CMake: Remove unused variable
2020-10-03 21:09:32 +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
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
639e28fc2e
qa.sh: Enable LeakSanitizer
2020-09-25 20:18:33 +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
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
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
72227166b9
Changes: Document #408
2020-07-15 17:36:31 +02:00
Sebastian Pipping
da7cda3a85
CMake: Get expat target name back to constant "expat"
2020-07-10 19:33:34 +02:00
Sebastian Pipping
308d470e00
Changes: Document #406
2020-06-22 19:58:33 +02:00
Kleber Tarcísio
12a7276f3e
xmlwf: Checks value after calling malloc
2020-06-22 19:56:34 +02:00
Sebastian Pipping
13bb381d29
xmlparse.c: Fix reading uninitialized variable ( #404 )
2020-05-28 01:57:06 +02:00
Sebastian Pipping
867bb34373
Merge branch 'notroj-xmlwf-doc-exitcode' ( #403 )
2020-05-13 14:42:18 +02:00
Sebastian Pipping
49ef210fc8
Changes: Document #403
2020-05-13 14:40:29 +02:00
Joe Orton
f1634dbaea
Update xmlwf to exit with 3 if an output file could not be opened.
...
Update xmlwf exit code docs per review.
2020-05-13 08:36:56 +01:00
Joe Orton
38cfc7165f
Document the exit codes for xmlwf.
2020-05-12 09:28:40 +01:00
Sebastian Pipping
f2172ff9bf
Changes: Document #398
2020-04-20 15:21:25 +02:00
Ben Wagner
49c165c5a8
Don't add to NULL in iterator.
...
In C it is undefined to add anything to NULL. Clang recently began
taking advantage of this and can assume that if anything is added or
subtracted from a pointer that the pointer can be assumed non-NULL. The
Address Sanitizer has been updated to report when this happens at
runtime and produces messages like
expat/lib/xmlparse.c:6509:23: runtime error: applying zero offset to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior expat/lib/xmlparse.c:6509:23
This can be mitigated with 'p ? p + n : NULL' which optimizes to just
the add in all optimizing compilers, but avoids the undefined behavior.
2020-04-07 13:12:18 -04:00
Sebastian Pipping
c0bfb97ddd
Merge pull request #392 from libexpat/issue-387-use-werror-during-flag-support-detection
...
conftools: Use -Werror when checking compile flags
2020-03-20 16:39:56 +01:00
Sebastian Pipping
8829f5c3fd
conftools: Fix regression with detection of -Wstrict-prototypes
...
The issue was that the code generated by AC_LANG_PROGRAM
produces warnings, and hence -Werror makes detection fail:
$ gcc -x c -Werror -Wstrict-prototypes - <<<'int main() {}'; echo $?
<stdin>:1:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
cc1: all warnings being treated as errors
1
2020-03-20 05:35:57 +01:00
Sebastian Pipping
21381bf35e
conftools: Use -Werror when checking compile flags
2020-03-20 05:35:57 +01:00
Sebastian Pipping
ef09dbabd4
xmlparse.c: Fix undefined behavior for XML_UNICODE
...
Pointer arithmetic with NULL is undefined behavior.
This reverts c71f27573b
2020-03-20 05:31:40 +01:00
Sebastian Pipping
90ed5777a6
Drop support for Visual Studio <=8.0/2005, officially
2020-03-20 02:44:35 +01:00
Sebastian Pipping
ddeedc6be1
configure.ac: Fix whitespace regression
...
One blank line more than intended.
Introduced by mistake in commit 06819ba3e9
2020-03-18 22:26:47 +01:00
Joe Orton
06819ba3e9
Use AC_MSG_NOTICE so e.g. "configure --silent" is still silent.
2020-03-18 10:56:10 +00:00
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
Sebastian Pipping
ae87321020
runtests.c: Fix for -DEXPAT_DTD=OFF
2019-09-29 21:44:58 +02:00
Sebastian Pipping
3137798629
runtests.c: Fix for -DEXPAT_NS=OFF
2019-09-29 20:36:28 +02:00
Sebastian Pipping
76f2beee81
runtests.c: Fix compiler warning "unused function" with -DEXPAT_MIN_SIZE=ON
2019-09-29 19:34:39 +02:00
Sebastian Pipping
24a912c12c
xmlparse.c|xmlrole.c: Fix compiler warning "unused parameter" with -DEXPAT_DTD=OFF
2019-09-29 19:34:39 +02:00
Sebastian Pipping
d05afa5829
xmlparse.c: Address compiler warninging with -DEXPAT_CONTEXT_BYTES=OFF
...
Warning was:
comparison of integers of different signs: 'int' and 'unsigned long'
2019-09-29 19:34:39 +02:00
Sebastian Pipping
b3d3ea6456
Changes: Fix spelling of "September"
2019-09-28 15:16:09 +02:00
Sebastian Pipping
a7bc26b697
Set release date for 2.2.9
2019-09-25 21:30:07 +02:00
Sebastian Pipping
89de2d561c
Bump version info from 7:10:6 to 7:11:6
2019-09-25 21:26:10 +02:00
Sebastian Pipping
25c96511a0
Bump version from 2.2.8 to 2.2.9
2019-09-25 21:22:30 +02:00
Sebastian Pipping
fc79a3acdf
Changes: Document #347
2019-09-25 21:18:59 +02:00
Sebastian Pipping
8c51dd9d51
Merge pull request #349 from libexpat/cmake-windows-libexpat-dll
...
CMake: Use libexpat*.(dll|lib) not expat*.(dll|lib) on Windows
2019-09-23 22:23:46 +02:00
Sebastian Pipping
de621b53cf
CMake: Use libexpat*.(dll|lib) not expat*.(dll|lib) on Windows
2019-09-21 20:43:04 +02:00
bungeman
c6de942020
Only define _CRT_RAND_S when not already defined.
...
There exist builds which go out of their way to define _CRT_RAND_S for everything by forcing it into the list of macros defined on the command line to the compiler. Unfortunately, something like "-D_CRT_RAND_S" implies _CRT_RAND_S is defined to be '1' and defining it to be empty produces a redefinition.
Since the intention here is to ensure that _CRT_RAND_S is always defined, only define it if it isn't already defined.
2019-09-18 10:39:05 -04:00
Sebastian Pipping
6b19963341
Drop mistaken executable bits
2019-09-16 20:54:47 +02:00
tbeu
706f050615
Fix typo
2019-09-14 16:35:17 +02:00
Sebastian Pipping
91b17cfeb8
Set release date for 2.2.8
2019-09-13 22:03:21 +02:00
Sebastian Pipping
a5414b759d
Bump version from 2.2.7 to 2.2.8
2019-09-13 22:03:21 +02:00
Sebastian Pipping
8fd183abfe
Bump version info from 7:9:6 to 7:10:6
2019-09-13 21:44:39 +02:00
Sebastian Pipping
9f89db5317
Changes: Document #312 and #343
2019-09-13 21:17:02 +02:00
Mohammed Khajapasha
df35daf126
Autotools: Enable clang tool chain to generate libraries
...
Enable clang tool chain for autotool to generate shared libexpat libraries.
Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
2019-09-13 06:00:38 +00:00
Sebastian Pipping
68ec895e5d
Changes: Re-order entries for upcoming a release
2019-09-08 20:05:04 +02:00
Sebastian Pipping
966f5d0da8
xmltest.sh: Adapt to fixed xmlwf exit code
2019-09-06 19:53:36 +02:00
Sebastian Pipping
70a4a691fc
xmlwf: Fix exit code for case without "-d DIRECTORY"
2019-09-06 19:53:36 +02:00
Sebastian Pipping
11a621be71
Merge pull request #340 from libexpat/issue-332-workaround-xml-min-size-with-asan
...
runtests.c: Workaround issue with combining XML_MIN_SIZE and ASan (#332 )
2019-09-06 01:16:30 +02:00
Sebastian Pipping
45bf95686c
Changes: Add reference to #336
2019-09-05 21:58:50 +02:00
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
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
c9b669e42a
CMake: Build fuzzing Expat once, not twelve times
2019-09-03 23:20:26 +02:00