Commit Graph

2429 Commits

Author SHA1 Message Date
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
Sebastian Pipping
58a7c3e8c4 appveyor.yml: Add links on CMake generators and installed VS versions 2017-08-24 22:49:38 +02:00
Sebastian Pipping
769c5c1d31 appveyor.yml: Apply detailed license header 2017-08-24 22:45:00 +02:00
Jose
c006680a32 Add Windows CI with Appveyor Fixes issue #53 2017-08-24 20:31:15 +02:00
Sebastian Pipping
bc983051bc Changes: Add missing accents 2017-08-23 22:10:03 +02:00
Sebastian Pipping
b5d1139733 Changes: Fix typo 2017-08-23 18:06:46 +02:00
Sebastian Pipping
8cee1db2c6 Merge branch 'visual-studio-2012' (pull request #127) 2017-08-23 17:55:59 +02:00
Sebastian Pipping
2cfd6eb2ba Changes: Document #126 2017-08-23 17:41:31 +02:00
Sebastian Pipping
ab1cb1fa07 Add version comment to _INTERNAL_trim_to_complete_utf8_characters 2017-08-23 17:41:30 +02:00
Sebastian Pipping
8711ee3054 Leave no doubt about align_limit_to_full_utf8_characters being internal 2017-08-23 17:41:17 +02:00
Jose
a4321e4f29 Fix missing export symbol required by testsuite
Need to export the symbol align_limit_to_full_utf8_characters
to build the test suite on Windows.
2017-08-23 17:38:39 +02:00
Sebastian Pipping
1bfe015a78 xmlwf/readfilemap.c: Address lack of ssize_t for Visual Studio 2017-08-23 17:38:39 +02:00
Sebastian Pipping
ddaa78c708 qa.sh: Stay closer to c89 (still requires c99) 2017-08-23 17:38:38 +02:00
Sebastian Pipping
b3db463e0d xmlparse.c|xmltok.c: Turn some comments to c89 style 2017-08-23 17:38:24 +02:00
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