Sebastian Pipping
0f5186c7b8
Support docbook-to-man command, e.g. for openSUSE ( #153 )
2017-10-27 19:47:08 +02:00
Sebastian Pipping
c227d90984
Changes: Document lack of XML_ERROR_INVALID_ARGUMENT message
2017-10-25 14:12:57 +02:00
Sebastian Pipping
4cf92e08cf
xmlparse.c: Add version information to XML_ErrorString messages
...
.. based on comments from enum XML_Error in expat.h.
2017-10-25 14:09:23 +02:00
Hans Wennborg
5ae72360c6
XML_ErrorString: handle XML_ERROR_INVALID_ARGUMENT
...
Previously, this enum didn't have any error string.
2017-10-25 13:42:44 +02:00
Hans Wennborg
0ab7640bd9
Rewrite XML_ErrorString to use a switch
...
This makes it a little easier to correlate each enumerator with its
error message, and the compiler should generate a lookup table anyway.
It also avoids running into Clang's -Wsign-compare warning when building
on Windows (where enum's are signed ints):
error: comparison of integers of different signs: 'enum XML_Error'
and 'unsigned int' [-Werror,-Wsign-compare]
if (code > 0 && code < sizeof(message)/sizeof(message[0]))
~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We ran into this when building Chromium on Windows using a recent version of
Clang.
2017-10-25 13:42:44 +02:00
Sebastian Pipping
5c224d67ec
xmlparse.c: Make failproof entropy providers stand out more
2017-10-24 22:50:01 +02:00
Sebastian Pipping
a80b209884
xmlparse.c: Address warning about unused functions ( #161 )
2017-10-24 22:46:30 +02:00
Sebastian Pipping
535047b10c
Tests: Fix CPPFLAGS=-DNDEBUG ourselves ( #160 )
2017-10-24 21:41:18 +02:00
Sebastian Pipping
68bf904027
Changes: Document #153 and #155
2017-10-21 19:55:32 +02:00
Sebastian Pipping
b1ca18f795
doc/Makefile.am: Round braces for style
2017-10-21 19:50:55 +02:00
Sebastian Pipping
8fa1d0e7cd
doc/Makefile.am: Fix mis-use of variable
...
We want to delete all generated man pages, not all distributed ones.
2017-10-21 19:50:27 +02:00
Sebastian Pipping
b49e3f907e
configure.ac: Improve documentation of --with(out)-docbook
2017-10-21 19:48:23 +02:00
Sebastian Pipping
7c62246abc
configure.ac: Allow for custom docbook2x-man command
...
Example:
./configure DOCBOOK_TO_MAN=/bin/true
2017-10-21 19:44:16 +02:00
Sebastian Pipping
9ec95b7605
doc/Makefile.am: Improve scope of docbook2man availability
...
.. so that "make dist" has no chance of shipping no manpage
or and outdated one.
2017-10-21 19:40:14 +02:00
Stephen Groat
cb7d430d22
Fix docbook
2017-10-21 19:23:48 +02:00
Sebastian Pipping
f75a40cbae
xmlwf|tests: Repeat L string prefix to fix compilation
2017-10-04 22:55:42 +02:00
Sebastian Pipping
31bdf3025b
xmlwf/xmltchar.h: Make T(..) support T(XML_FMT_INT_MOD)
2017-10-04 21:29:35 +02:00
Sebastian Pipping
41cc68cb67
xmlwf.c: Fix code indentation
2017-10-04 21:14:10 +02:00
Sebastian Pipping
177eb6bbb9
README.md: Use pseudo-organization AppVeyor account
2017-09-16 01:03:18 +02:00
Sebastian Pipping
a0567a38c2
loadlibrary.c: Exclude line from coverage
...
.. as it seems that something in Windows/Wine would need to be off
to execute it.
2017-09-11 17:11:29 +02:00
Sebastian Pipping
3240718240
Fix test suite for --disable-xml-context ( #146 )
...
Regression from bc6468d230
2017-09-11 15:29:57 +02:00
Sebastian Pipping
4bad01f941
udiffer.py: Ship with tarballs
2017-09-09 19:20:40 +02:00
Sebastian Pipping
9f166f82e8
runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES
...
Regression from 70d19d635a
Compile error was:
runtests.c: In function ‘byte_character_handler’:
runtests.c:4195:11: error: ‘s’ undeclared (first use in this function)
(void)s;
2017-09-09 19:13:21 +02:00
Sebastian Pipping
bc7d690203
Changes: Mention #144
2017-09-09 18:59:29 +02:00
Sebastian Pipping
21df4d3064
coverage.sh: Support XML_UNICODE_WCHAR_T with MinGW
2017-09-09 18:59:29 +02:00
Sebastian Pipping
7b3f902a69
Make wmain work with MinGW
2017-09-09 18:59:29 +02:00
Sebastian Pipping
d1a4212992
coverage.sh: Migrate to GNU Automake ( #65 )
2017-09-09 18:59:29 +02:00
Sebastian Pipping
3efafceb60
udiffer.py: Improve overall structure
2017-09-09 18:21:18 +02:00
Sebastian Pipping
7c0f6d71cc
udiffer.py: Extract function to resolve code duplication
2017-09-09 18:21:18 +02:00
Sebastian Pipping
7f768b5068
udiffer.py: Add license header
2017-09-09 18:21:18 +02:00
Rhodri James
fec399291e
Make xmltest.sh script work for UTF-16 builds
2017-09-09 18:21:18 +02:00
Sebastian Pipping
df75ab14f4
xmlwf: Indent preprocessor code
2017-09-09 18:21:18 +02:00
Rhodri James
71b533dae1
Fix file access for xmlwf compiled with XML_UNICODE_WCHAR_T on MinGW
2017-09-04 14:29:39 +01:00
Rhodri James
742fbf024f
Make xmlwf build with XML_UNICODE_WCHAR_T on MinGW
...
This seems to need some extra mangling of Makefile.am for MinGW.
* Add "-mwindows" to AM_CPPFLAGS
* Add "AM_LDFLAGS = -municode"
Running the XML tests (xmltest.sh) is problematic: it needs a
unicode-aware differ for starters
2017-09-04 14:29:39 +01:00
Sebastian Pipping
56b64ca040
Changes: Document fix to #59
2017-09-03 02:13:03 +02:00
Sebastian Pipping
a6f25bc39f
xmlparse.c: Stop malloc/realloc/free macros from hiding parser (issue #59 )
2017-09-03 02:00:23 +02:00
Sebastian Pipping
598be69685
xmlparse.c: Resolve macro "buffer" (issue #59 )
2017-09-03 01:51:56 +02:00
Sebastian Pipping
66f64e58f8
xmlparse.c: Resolve macro "encoding" (issue #59 )
2017-09-03 01:48:17 +02:00
Sebastian Pipping
9cc3ded1b8
xmlparse.c: Resolve macro "defaultExpandInternalEntities" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
fe9deeeb79
xmlparse.c: Resolve macro "unknownEncodingHandlerData" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
89017e2b1f
xmlparse.c: Resolve macro "internalEntityRefHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
71950e96be
xmlparse.c: Resolve macro "externalEntityRefHandlerArg" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
28fd39ca7d
xmlparse.c: Resolve macro "externalEntityRefHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
a0d9d36652
xmlparse.c: Resolve macro "startNamespaceDeclHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
6472431ab7
xmlparse.c: Resolve macro "unparsedEntityDeclHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
588570c96f
xmlparse.c: Resolve macro "startCdataSectionHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
f71b05f38a
xmlparse.c: Resolve macro "processingInstructionHandler" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
01ab82f496
xmlparse.c: Resolve macro "hash_secret_salt" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
a436b94582
xmlparse.c: Resolve macro "paramEntityParsing" (issue #59 )
2017-09-03 01:42:25 +02:00
Sebastian Pipping
c1040d02fa
xmlparse.c: Resolve macro "useForeignDTD" (issue #59 )
2017-09-03 01:32:36 +02:00