Commit graph

2280 commits

Author SHA1 Message Date
Jose
b4b89c2ab0 Fix compile error with Visual Studio 2012
The standard header stdbool.h is not available
with old Visual Studio compilers
2017-08-23 17:38:24 +02:00
Benbuck Nason
e0b290eb3d Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. 2017-08-23 15:49:24 +02:00
Sebastian Pipping
205be3310f README.md: Show Travis CI build status 2017-08-23 01:02:21 +02:00
Sebastian Pipping
9f8f1dd495 Merge branch 'RMJ10-issue-11-fix' (pull request #110) 2017-08-23 00:37:49 +02:00
Sebastian Pipping
48d8deb8e1 Changes: Document fix to #11 2017-08-23 00:37:08 +02:00
Rhodri James
4af5450ebb Don't suppress default handler unnecessarily (Issue #11)
The roles XML_ROLE_DOCTYPE_PUBLIC_ID and XML_ROLE_DOCTYPE_SYSTEM_ID
fall through to XML_ROLE_ENTITY_PUBLIC_ID and XML_ROLE_ENTITY_SYSTEM_ID
respectively.  This lead to the default handler getting suppressed if
there was no start doctype declaration handler but there was an entity
declaration handler.
2017-08-23 00:36:20 +02:00
Rhodri James
80e94383b1 Test for incorrectly suppressed default handler (issue #11) 2017-08-23 00:36:20 +02:00
Sebastian Pipping
3e7eed3762 Merge branch 'RMJ10-issue-8-fix' (pull request #108) 2017-08-23 00:22:49 +02:00
Sebastian Pipping
be5972546e Changes: Document fix to #8 2017-08-23 00:21:29 +02:00
Rhodri James
77b5ae3bc3 Keep allocDefaultAtts consistent if allocating defaultAtts fails.
See issue #8
2017-08-23 00:20:28 +02:00
Sebastian Pipping
ef7ab8c2dd Merge branch 'RMJ10-xmlwf-doctype-fix' (pull request #106) 2017-08-22 23:21:37 +02:00
Sebastian Pipping
a80861beae Changes: Document #106 2017-08-22 23:15:07 +02:00
Sebastian Pipping
0b44900fcb xmlwf.c: Address unused parameter warning 2017-08-22 23:15:05 +02:00
Rhodri James
e51d0d4d06 Update expected test log to match changes to xmlwf 2017-08-22 23:14:55 +02:00
Rhodri James
0abf000fa4 Plug memory leak in xmlwf's end of doctype declaration handler 2017-08-22 23:14:55 +02:00
Rhodri James
e424d3fb6a Fix formatting and message re-use 2017-08-22 23:14:55 +02:00
Rhodri James
1726204ce2 Rename xmlCharDup to xcsdup and tighten up the code 2017-08-22 23:14:54 +02:00
Rhodri James
59d81f517d Move static variables into a userdata structure 2017-08-22 22:21:10 +02:00
Rhodri James
0da3d1b5bf Add command-line arg "-N" to xmlwf to add notations to test output
...and use it in xmltest.sh
2017-08-22 22:21:10 +02:00
Rhodri James
688ecaa7ab Sort notations by name in xmlwf for conformance tests 2017-08-22 22:21:10 +02:00
Rhodri James
b07794f371 Add doctype and notation handlers to xmlwf for conformance tests 2017-08-22 21:52:48 +02:00
Sebastian Pipping
00f31fa43f Merge branch 'bluhm-memcpy-cast' (pull request #125) 2017-08-22 20:35:28 +02:00
Alexander Bluhm
793c066953
Do not cast arguments of memcpy(3).
With an explicit cast, the C compiler does not check whether the
function's arguments are compatible and will just convert anything.
So removing the cast makes the code safer as the compiler will
complain in more cases.  The implicit cast does the correct thing.
2017-08-21 19:48:20 +02:00
Sebastian Pipping
17092fc677 README.md|Makefile.am: Fix sed pattern for libexpatw.la 2017-08-20 20:21:44 +02:00
Sebastian Pipping
fc577ad9cb Travis CI: Build RPM package, too 2017-08-19 16:46:41 +02:00
Sebastian Pipping
3bdb11fc86 Prepare release version 2.2.4 (#123) 2017-08-19 16:40:21 +02:00
Sebastian Pipping
98a5115c2c Bump version info bumped from 7:5:6 to 7:6:6 (#123) 2017-08-19 16:40:20 +02:00
Sebastian Pipping
40aac6dcbb expat.spec: Fix list of doc filenames
Related commits:
- AUTHORS, Changes, changelog:
  - 2cb09ae4da
  - 2cb09ae4da
- MANIFEST: d4390f34f3
- README: da70f7af4d
2017-08-19 16:40:12 +02:00
Sebastian Pipping
497e078622 expat.spec: Fix source URL 2017-08-19 16:40:12 +02:00
Sebastian Pipping
ed2f80870a conftools/mkinstalldirs: Removed generated file (#65) 2017-08-19 16:37:38 +02:00
Sebastian Pipping
d0aa68d901 buildconf.sh: Make sure that configure has latest version (#65)
Regression from d4390f34f3
2017-08-19 16:37:38 +02:00
Sebastian Pipping
2cb09ae4da lib/Makefile.am: Install files AUTHORS and Changes, too 2017-08-15 22:09:59 +02:00
Sebastian Pipping
9abc72b58e Changes: Remove "potential" as we known better now (#115) 2017-08-13 16:33:48 +02:00
Sebastian Pipping
031e1df1fa loadlibrary.c: Mention license name and modifications (#116) 2017-08-12 21:31:32 +02:00
Sebastian Pipping
c5ce18622f README.md: Fix and improve ordered list syntax 2017-08-12 21:15:56 +02:00
Sebastian Pipping
0a7375dac4 README.md: Resolve pre-Automake INSTALL_ROOT leftover (#65) 2017-08-12 21:13:37 +02:00
Sebastian Pipping
a704c940a4 Inline copyright headers with C/C++ code where missing (#116) 2017-08-12 21:02:41 +02:00
Sebastian Pipping
d809c7cc2f Merge branch 'source-tarball-windows' 2017-08-12 19:23:14 +02:00
Sebastian Pipping
b86f806edf Makefile.am: Include Visual Studio 2013 files in source tarball (#117) 2017-08-12 19:19:56 +02:00
Sebastian Pipping
f980313710 Makefile.am: Extract variables for CMake and Windows files 2017-08-12 19:16:14 +02:00
Sebastian Pipping
5c3a01c1cc Include file tests/xmltest.log.expected in source tarball (#117) 2017-08-12 19:10:43 +02:00
Sebastian Pipping
bc6f07e115 Merge branch 'automake' #65 #118 2017-08-12 16:40:19 +02:00
Sebastian Pipping
da856e3b45 Travis CI: Add mode for "make distcheck" 2017-08-12 16:28:44 +02:00
Sebastian Pipping
d4390f34f3 Replace handwritten Makefile with GNU Automake 2017-08-12 16:09:50 +02:00
Sebastian Pipping
5c01dc098f Extend .gitignore 2017-08-11 23:25:00 +02:00
Sebastian Pipping
65b9c83310 Merge branch 'configure-without-xmlwf' 2017-08-11 23:03:47 +02:00
Sebastian Pipping
9d950527a0 configure.ac: Add --without-xmlwf 2017-08-11 22:44:47 +02:00
Sebastian Pipping
dfbf4a9bb1 Makefile.in: Extract targets related to xmlwf 2017-08-11 22:16:06 +02:00
Sebastian Pipping
d35536d03a Changes: Make list of names alphabetical again 2017-08-11 14:43:33 +02:00
Sebastian Pipping
74a7090a6e xmltok.c: Avoid copying of partial characters for UTF-8 input (#115)
Also make use of memcpy
Second take
2017-08-11 13:07:52 +02:00