Commit Graph

647 Commits

Author SHA1 Message Date
Karl Waclawek
a1f553f5f5 Auto-upgrade of project files performed by Visual Studio 2017. This should not be a problem as the Community Edition of VS 2017 can be obtained for free. 2017-11-01 10:09:14 -04:00
Sebastian Pipping
5f9bc4836f Prepare release version 2.2.5 (#133) 2017-10-31 17:20:31 +01: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
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
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
Sebastian Pipping
52b69d2905 xmlparse.c: Resolve macro "isParamEntity" (issue #59) 2017-09-03 01:32:04 +02:00
Sebastian Pipping
7c3ece72fa xmlparse.c: Resolve macro "ps_finalBuffer" (issue #59) 2017-09-03 01:31:23 +02:00
Sebastian Pipping
3ceec918be xmlparse.c: Resolve macro "ps_parsing" (issue #59) 2017-09-03 01:30:24 +02:00
Sebastian Pipping
8ed0c56ee3 xmlparse.c: Resolve macro "parentParser" (issue #59) 2017-09-03 01:28:40 +02:00
Sebastian Pipping
c4e5c7e0a6 xmlparse.c: Resolve macro "namespaceSeparator" (issue #59) 2017-09-03 01:27:37 +02:00
Sebastian Pipping
530a5ff6d9 xmlparse.c: Resolve macro "groupSize" (issue #59) 2017-09-03 01:26:32 +02:00
Sebastian Pipping
d86272dba9 xmlparse.c: Resolve macro "groupConnector" (issue #59) 2017-09-03 01:25:46 +02:00
Sebastian Pipping
71afbbcf42 xmlparse.c: Resolve macro "temp2Pool" (issue #59) 2017-09-03 01:25:10 +02:00
Sebastian Pipping
0729b1c426 xmlparse.c: Resolve macro "tempPool" (issue #59) 2017-09-03 01:23:52 +02:00
Sebastian Pipping
e70777aabe xmlparse.c: Resolve macro "attInfo" (issue #59) 2017-09-03 01:23:02 +02:00
Sebastian Pipping
c061614a1c xmlparse.c: Resolve macro "nsAttsPower" (issue #59) 2017-09-03 01:22:33 +02:00
Sebastian Pipping
1a8f6a0dae xmlparse.c: Resolve macro "nsAttsVersion" (issue #59) 2017-09-03 01:20:52 +02:00
Sebastian Pipping
2447802e49 xmlparse.c: Resolve macro "nsAtts" (issue #59) 2017-09-03 01:20:13 +02:00
Sebastian Pipping
e005b828e1 xmlparse.c: Resolve macro "idAttIndex" (issue #59) 2017-09-03 01:15:57 +02:00
Sebastian Pipping
52fed1f414 xmlparse.c: Resolve macro "nSpecifiedAtts" (issue #59) 2017-09-03 01:14:48 +02:00
Sebastian Pipping
4c03de1c88 xmlparse.c: Resolve macro "attsSize" (issue #59) 2017-09-03 01:12:46 +02:00
Sebastian Pipping
fd7102c7d2 xmlparse.c: Resolve macro "atts" (issue #59) 2017-09-03 01:11:59 +02:00
Sebastian Pipping
5d2a89149c xmlparse.c: Resolve macro "tagStack" (issue #59) 2017-09-03 01:11:59 +02:00
Sebastian Pipping
76a5a5939a xmlparse.c: Resolve macro "inheritedBindings" (issue #59) 2017-09-03 01:11:59 +02:00
Sebastian Pipping
cefb16f3fc xmlparse.c: Resolve macro "freeBindingList" (issue #59) 2017-09-03 01:11:59 +02:00
Sebastian Pipping
fcb7cf066c xmlparse.c: Resolve macro "freeTagList" (issue #59) 2017-09-03 01:11:59 +02:00
Sebastian Pipping
cde2d9a01e xmlparse.c: Resolve macro "declAttributeIsId" (issue #59) 2017-09-03 00:52:53 +02:00
Sebastian Pipping
09768034fd xmlparse.c: Resolve macro "declAttributeIsCdata" (issue #59) 2017-09-03 00:48:06 +02:00
Sebastian Pipping
b411084c2c xmlparse.c: Resolve macro "declAttributeId" (issue #59) 2017-09-03 00:47:02 +02:00
Sebastian Pipping
60274e52d4 xmlparse.c: Resolve macro "declElementType" (issue #59) 2017-09-03 00:41:28 +02:00
Sebastian Pipping
0d550b813a xmlparse.c: Resolve macro "declNotationPublicId" (issue #59) 2017-09-03 00:40:24 +02:00
Sebastian Pipping
2eb6f725b3 xmlparse.c: Resolve macro "declNotationName" (issue #59) 2017-09-03 00:39:21 +02:00