Rhodri James
4fe2c1a5e4
Fix test_set_base() to work for UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
093c5c9258
Fix test_multichar_cdata_utf16() to work for UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
7bc8663933
Fix test_long_cdata_utf16() to work for UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
18ccc4b65a
Fix test_good_cdata_utf16_le() to work for UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
cda42d84c9
Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly)
2017-08-29 23:13:13 +02:00
Rhodri James
4a8980afd5
Fix test_good_cdata_ascii() to work for UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
4ac42fcc89
Fix test_dtd_attr_handling() to work with UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
6129536b7d
Fix test_dtd_default_handling() to work for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
388219c03a
Fix test_not_standalone_handler_accept() to work for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
d550ca2dc5
Fix test_not_standalone_handler_accept() to work in UTF-16 builds
2017-08-29 23:13:13 +02:00
Rhodri James
c7abdc8536
Fix test_wfc_undeclared_entity_with_external_subset() for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
e4ca396c1c
Fix test_ext_entity_set_bom() to work for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
f0a5129bd4
Fix test_ext_entity_no_handler() to work for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
d4e08e98ce
Fix test_ext_entity_set_encoding to work for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
cea58e4172
Fix UnknownEncodingHandler to work with UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
dc2b79611e
Fix attribute whitespace normalization tests for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
fd6e43f64a
Fix whitespace normalization tests for UTF-16
2017-08-29 23:13:13 +02:00
Rhodri James
c9c6a7bb27
Ensure encoding passed to XML_SetEncoding is always const XML_Char*
2017-08-29 23:13:13 +02:00
Rhodri James
f770d7abf7
Fix test_utf16() to work for UTF-16 builds
2017-08-29 22:30:33 +02:00
Rhodri James
61995637fd
Fix test_utf8_false_rejection() to work in UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
2d1020a2e4
Fix test_french_utf8() to work in UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
47ddbf3edc
Fix test_french_latin1() to work in UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
4d39fc0bfa
Fix test_french_charref_decimal() to work for UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
0731c0b8de
Fix test_french_charref_hexidecimal() to work for UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
c486259c69
Fix test_latin1_umlauts() to work for UTF-16
2017-08-29 22:30:33 +02:00
Rhodri James
87899c4ff1
Fix test_danish_latin1() to handle UTF-16
2017-08-29 22:30:32 +02:00
Rhodri James
1e11b39311
Add wrapper macro to give string literals the right type for XML_Char*
2017-08-29 22:30:32 +02:00
Rhodri James
0cf316f825
Ensure the _check functions take parse text as char not XML_Char
...
_run_character_check() et al pass their parse text to XML_Parse()
via _XML_Parse_SINGLE_BYTES(). Both of these expect the parse text
as "const char *", not "const XML_Char *".
2017-08-29 22:30:32 +02:00
Rhodri James
c64f7a6a65
Fix wide character issues in param_entity_match_handler()
2017-08-29 22:30:32 +02:00
Rhodri James
0a7631ae64
Add macros for XML_Char-based strncmp and strlen equivalents
2017-08-29 22:30:32 +02:00
Rhodri James
3bda331fff
Fix wide character comparisons in external_entity_optioner()
2017-08-29 22:30:32 +02:00
Rhodri James
f57d8914a0
Define and use macros for XML_Char and XML_Char* format strings
2017-08-29 22:30:32 +02:00
Rhodri James
3278570027
Prevent XML_UNICODE being redefined
2017-08-29 22:30:32 +02:00
Rhodri James
5baf114b7f
examples: Use printf rather than [f]put[w]s (pull request #135 )
2017-08-29 20:08:52 +02:00
Sebastian Pipping
bc6468d230
xmlparse.c: Resolve superfluous internal malloc/realloc switch ( #6 )
2017-08-29 00:39:58 +02:00
Sebastian Pipping
448d79c02e
xmltok.c: Use memcpy
...
Fixes false positive Clang (4.0.1) Static Analyzer warning (issue #9 )
as a side-effect.
2017-08-28 22:21:10 +02:00
Sebastian Pipping
e4661bfb85
xmlwf: Address Clang Static Analyzer warning
2017-08-28 21:38:44 +02:00
Sebastian Pipping
07643fcd85
Merge branch 'RMJ10-unicode-benchmark' (pull request #130 )
2017-08-26 17:19:47 +02:00
Sebastian Pipping
1e4ab81a83
Changes: Document #130
2017-08-26 17:19:12 +02:00
Sebastian Pipping
4767305c1a
benchmark: Indent preprocessor code
2017-08-26 17:18:10 +02:00
Rhodri James
bc775ae501
Fix benchmark to compile under XML_UNICODE_WCHAR_T
2017-08-26 17:17:21 +02:00
Sebastian Pipping
b598d08cae
Merge branch 'RMJ10-unicode-examples' (pull request #129 )
2017-08-26 17:04:13 +02:00
Sebastian Pipping
3693f28404
Changes: Document #129
2017-08-26 17:02:30 +02:00
Sebastian Pipping
c1e1a84c82
examples: Indent preprocessor code
2017-08-26 17:01:59 +02:00
Rhodri James
c7071f1434
Fix example programs to compile under XML_UNICODE_WCHAR_T
2017-08-26 16:57:36 +02:00
Sebastian Pipping
396a699d1c
README.md: Add AppVeyor status badge
2017-08-25 00:11:03 +02:00
Sebastian Pipping
d30c11cc83
Merge branch 'zeroc-ice-ci' (pull request #128 , issue #53 )
2017-08-24 23:36:08 +02:00
Sebastian Pipping
0db10380c2
appveyor.yml: Sync copyright header
2017-08-24 23:07:59 +02:00
Sebastian Pipping
b28d60d324
appveyor.yml: Convert from ISO-8859 to UTF-8
2017-08-24 23:04:57 +02:00
Sebastian Pipping
49a65150b8
appveyor.yml: Add vs2010
2017-08-24 23:04:42 +02:00