Commit Graph

2513 Commits

Author SHA1 Message Date
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
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