Commit Graph

101 Commits

Author SHA1 Message Date
Sebastian Pipping
3bdb11fc86 Prepare release version 2.2.4 (#123) 2017-08-19 16:40:21 +02:00
Sebastian Pipping
a704c940a4 Inline copyright headers with C/C++ code where missing (#116) 2017-08-12 21:02:41 +02:00
Sebastian Pipping
97c6bd0199 Prepare release version 2.2.3 2017-08-02 15:40:48 +02:00
Sebastian Pipping
e72c42eb18 Prepare release version 2.2.2 2017-07-12 19:00:02 +02:00
Sebastian Pipping
5f51145401 Move to C99 (#73) and fix ULL integer literals (#69) 2017-07-12 18:47:37 +02:00
Sebastian Pipping
484cc4e62c Bump version, year, and ID for 2.2.1
Also fill earliest release date
2017-06-17 01:58:05 +02:00
Sebastian Pipping
afd0805071 expat.h: Fix version hint on XML_ERROR_INVALID_ARGUMENT
Introduced at commit 768613f801.
2017-05-31 23:45:12 +02:00
Rhodri James
11ec6aefd1 Validate parser parameter to XML_GetCurrentColumnNumber 2017-05-24 20:49:40 +02:00
Rhodri James
1bf78fe1fb Validate parser parameter to XML_GetCurrentLineNumber 2017-05-24 20:49:40 +02:00
Rhodri James
2253c12304 Validate the parser parameter to XML_GetCurrentByteIndex 2017-05-24 20:49:40 +02:00
Rhodri James
b58abe1e92 Validate parser parameter to XML_SetHashSalt 2017-05-24 20:49:40 +02:00
Rhodri James
2a6ed44fbc Validate parser parameter to XML_SetParamentityParsing 2017-05-24 20:49:40 +02:00
Rhodri James
a1feb1da07 Validate parser parameter to XML_GetIdAttributeIndex 2017-05-24 20:49:38 +02:00
Rhodri James
c5baf7e3e4 Validate parser parameter to XML_GetSpecifiedAttributeCount 2017-05-24 20:49:38 +02:00
Rhodri James
768613f801 Validate parser parameter to XML_UseForeignDTD. 2017-05-24 20:49:38 +02:00
Karl Waclawek
0672d84397 Fixed versioning comment. 2016-06-20 16:43:12 -04:00
Sebastian Pipping
a0eaef2d67 Set version 2.2.0/2016-06-18 where missing 2016-06-18 00:16:21 +02:00
tbeu
e1b1cf953f Fix typos 2016-06-06 21:40:47 +02:00
Cristian Rodríguez
a4c383b722 Annotate memory allocators for GCC 2016-05-11 19:55:19 +02:00
Sebastian Pipping
8c2fd3d097 Bump version to 2.1.1 2016-03-12 00:23:16 +01:00
Karl Waclawek
e3e81a6d9f - Fix for bug # 3496608 (Hash DOS attack)
- Added patch # 3446384 (byte offsets for attr names and values)
- Fix for bug # 3206497 (unitialized memory returned from XML_Parse)
2012-03-03 19:08:02 +00:00
Karl Waclawek
56e145f7b3 Preparing for release 2.0.1. 2006-11-27 02:51:58 +00:00
Karl Waclawek
8617df5d5e Added XML_FEATURE_LARGE_SIZE to be able to detect if Expat was
compiled with XML_LARGE_SIZE - see XML_GetFeatureList().
2006-04-07 20:24:20 +00:00
Karl Waclawek
f41b3c2003 Bumped version number to 2.0.0. 2005-12-26 15:43:22 +00:00
Karl Waclawek
f8412b2167 Added support for 64-bit integers when reporting byte indexes,
line and column numbers. Can be turned on/off using the
XML_LARGE_SIZE switch.
2005-12-23 14:45:27 +00:00
Fred L. Drake, Jr.
51c170f0cd Report XML_NS setting via XML_GetFeatureList(). 2005-01-29 04:48:44 +00:00
Karl Waclawek
57081d0c3c Fix for bug # 695407: Reserved prefixes and namespace names.
Contributed by Peter van der Beken.
2004-12-24 18:00:28 +00:00
Karl Waclawek
1f86de6168 Fixed comment for XML_ParserCreateNS. 2004-12-20 03:19:09 +00:00
Karl Waclawek
45594b1bb3 Added include guard to expat_external.h.
Renamed include guard for expat.h, to reflect the changed file name.
2004-11-26 00:20:21 +00:00
Karl Waclawek
b705d712c2 Removed last comma in enum XML_Status declaration to improve
compiler compatibility.
2004-09-24 13:06:29 +00:00
Karl Waclawek
f44f6b4200 Fix for bug #1006708. 2004-08-10 17:34:19 +00:00
Fred L. Drake, Jr.
b3c95c25bf add some comments about when various error codes were added 2004-07-16 00:54:57 +00:00
Karl Waclawek
99f5788c21 Added a few more meaningful error codes (and messages). 2004-05-18 13:50:13 +00:00
Karl Waclawek
cac0ed29a8 Renamed exrternal.h to expat_external.h.
Fixed up references to this file.
2004-05-06 13:55:49 +00:00
Karl Waclawek
edca100c0c Added comment about the effects on well-formedness checking after
calling XML_UseForeignDTD(parser, XML_TRUE).
2004-04-27 00:49:34 +00:00
Karl Waclawek
9b665601fd Fix for bug #923913, Calling convention problems.
For details see bug description.
2004-03-26 14:24:11 +00:00
Karl Waclawek
22fc8d15d4 Changed to allow aborting a suspended parser instance. 2004-03-16 22:14:31 +00:00
Karl Waclawek
9c48460b5e Removed ability to suspend while parsing an external parameter entity.
The problem is that on return from the externalEntityRefHandler() call-back
the parser currently assumes that parsing of the parameter entity is finished,
and updates its internal state accordingly. I do not have the time at this
point to implement and test a solution. Being able to suspend while parsing
the DTD is also less desirable than doing the same while parsing content.
2004-03-16 20:29:28 +00:00
Karl Waclawek
2a3e8fa423 Changed signature of XML_GetParsingStatus(), changing the return value
to a parameter passed by reference (pointer). It seems that  the processing
of return values is not standardized, even when calling convention and
platform are specified. This should make Expat more usable as a shared library.
2004-03-16 03:53:24 +00:00
Karl Waclawek
28ede67c7f Improved comments for XML_StopParser() and XML_ResumeParser(). 2004-03-10 15:56:11 +00:00
Karl Waclawek
100e0bd4a2 Cosmetic changes in function signatures - for consistency. 2004-01-27 01:48:58 +00:00
Fred L. Drake, Jr.
3fc33bf3b6 suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms
2004-01-20 16:04:47 +00:00
Karl Waclawek
2335294f7c Applied patch #835123: Suspend/Resume functionality.
For details check the patch description.
2004-01-07 17:12:04 +00:00
Fred L. Drake, Jr.
1b3f0f6b1f bump the version number since the code has changed, however slightly 2003-11-02 20:37:22 +00:00
Fred L. Drake, Jr.
80e8668e6f Remove the __attribute__((dllimport)) and __attribute__((dllexport))
declarations; these are needed only on an obscure platform (Windows NT
on PowerPC using GCC), and were never in previous releases of Expat.
They caused way too many spurious warnings on several platforms where
they aren't actually needed but should be ignored silently.
Removing these cannot break working code.
2003-10-16 04:20:54 +00:00
Fred L. Drake, Jr.
2331e87068 clean up the macro restructuring, and make it play nice on Windows 2003-10-15 20:51:28 +00:00
Fred L. Drake, Jr.
2bba3d20f5 Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.

To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:

- XMLCALL, which expands to whatever is needed to nail down the
  calling convention for all calls across the library boundary.  This
  must match the convention used for the system's malloc()
  implementation.

- XMLIMPORT, defined to be whatever magic is needed to mark an entry
  point as imported from a dynamically loaded module (.dll, .so, .sl,
  whatever).

These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points.  In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
2003-10-15 16:25:44 +00:00
Fred L. Drake, Jr.
fa49735f8a - bump the versioning information
- start describing the changes in 1.95.7
2003-07-15 15:20:35 +00:00
Fred L. Drake, Jr.
5bd3d020d3 - better explain the XML_GetCurrent*() functions (SF bug #683681) 2003-03-13 02:17:48 +00:00
Karl Waclawek
8650b04b24 Apply patch NSAttFix3.diff for bug #692964 (with one minor modification).
This also fixes bug #695401.
2003-03-07 15:54:08 +00:00