Commit Graph

294 Commits

Author SHA1 Message Date
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
f6e294bd2c Applied path #3010222 as fix for issue #3010819. 2012-02-21 02:59:51 +00:00
Karl Waclawek
794ff432aa Modified Windows project files to import properly into Visual Studio 2010. 2012-02-21 02:45:06 +00:00
Karl Waclawek
01a54677e8 Fix for bug ID 2958794. 2010-02-25 18:35:36 +00:00
Karl Waclawek
98a856ee20 Revised fix for issue# 2894085: differentiated between two cases where the next pointer should be updated to the end pointer or not - the differentiating negative token value is -XML_TOK_PROLOG_S. 2009-12-29 18:42:05 +00:00
Karl Waclawek
82d4951744 Fix for issue# 2894085. Removed update to next pointer. It did not seem right to force it to point somewhere between token boundaries, since that could lead the tokenizer to not recognize an end of token. 2009-11-27 13:34:29 +00:00
Karl Waclawek
194e2c456e - Fix for issue # 2855609 & 2518079.
- Some code cosmetics.
2009-09-29 02:49:16 +00:00
Steven Solie
ca17d1eae6 AmigaOS specific changes. See amiga/README.txt for more details. 2009-01-31 06:21:09 +00:00
Karl Waclawek
66d31c5506 Removed unnecessary linker dependencies. 2009-01-19 18:37:07 +00:00
Karl Waclawek
a247ccd476 Better fix for bug #1990430. 2008-06-13 13:18:44 +00:00
Karl Waclawek
5d3f2b833e Fix for bug #1990430. 2008-06-11 14:43:57 +00:00
Karl Waclawek
af3b8c6dfa Fix for issue #1785430. 2007-09-03 16:34:40 +00:00
Steven Solie
765bf559c0 Updated and removed any obsolete defines. 2007-06-03 14:57:04 +00:00
Karl Waclawek
de79105596 Removing the comment was actually not necessary. 2007-05-11 17:20:24 +00:00
Karl Waclawek
1e91933d81 Fix for issue #1717322.
Removed deprecated comment and fixed library name.
2007-05-11 16:54:09 +00:00
Karl Waclawek
5e0d9e6078 Replaced all literal references to ASCII characters with macros that
explicitly specify a hex code point. This should make it work on
EBCDIC systems. Patch provided by Scott Klement for bug #1690883.
2007-05-08 02:25:35 +00:00
Karl Waclawek
beda8f53eb Updated output directory settings, so that they all point to win32/bin/Debug
or win32/bin/Release. This ensures that executables can find the libraries
they depend on. Intermediate files will go into a subdirectory of win32/tmp.
2007-05-03 02:13:28 +00:00
Karl Waclawek
56e145f7b3 Preparing for release 2.0.1. 2006-11-27 02:51:58 +00:00
Karl Waclawek
c5cd058508 Added xmltok_impl.c and xmltok_ns.c to source files. 2006-11-26 17:58:06 +00:00
Karl Waclawek
fd79deac8b Fix for bug #1548182 . 2006-11-26 17:35:37 +00:00
Karl Waclawek
3ff6041e90 Change for MS VC++: Added #ifdefs to allow for passing xmltok_impl.c and
xmltok_ns.c to the compiler (to make them visible in IDE).
2006-11-26 17:34:46 +00:00
Karl Waclawek
c7880974e6 (s - NULL & 1) would not compiler under GCC 4.0.0. Changed to char*
subtraction so that it will compile under MS VC++ and GCC.
2006-09-06 14:32:12 +00:00
Karl Waclawek
e3e0d28628 Applied patrch #1523242 - support for Open Watcom 1.5. 2006-08-05 17:01:43 +00:00
Karl Waclawek
9922bc6e57 Improved fix for issues # 1515266 and # 1515600. Will now preserve the
"failover to default handler" logic. Note: clearing the character data handler
does not take effect immediately anymore.
2006-07-10 18:59:52 +00:00
Karl Waclawek
89f104aebe Fixed infinite loop when character data handler was cleared under
XML_TOK_DATA_CHARS in doContent() and doCdataSection().
2006-07-06 02:50:27 +00:00
Karl Waclawek
647d969449 Fix for issues # 1515266 and # 1515600. The inner for loop under
XML_TOK_DATA_CHARS in doContent() and doCdataSection() did not
check if the character data handler was set each time a call-back was made.
2006-07-05 13:06:59 +00:00
Fred L. Drake, Jr.
6788d83616 SF bug #1515266: as noted, suspending the parser has the same problem that
the abort code has; added a check and regression test or that
2006-07-01 15:30:38 +00:00
Fred L. Drake, Jr.
021ea9f68c SF bug #1515266: missing check of stopped parser in doContext() for loop
(variation of patch by Brett Cannon; test case to come tomorrow)
2006-07-01 03:57:29 +00:00
Karl Waclawek
1c42f84506 __cdecl should be used for MS compilers even if MS extensions are turned off. 2006-06-02 12:17:36 +00:00
Karl Waclawek
c71f27573b One should not cast a pointer to unsigned long, as it may not work on non-32bit systems. 2006-04-14 17:19:09 +00:00
Karl Waclawek
b43c6f3df9 Removed DESCRIPTION statement - only valid when compiling 16bit
virtual device drivers (VxD).
2006-04-07 20:54:55 +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
65fb6b9167 Applied patch #1437840. Fix for bugs #1414066 and #1033965 . 2006-03-06 14:24:36 +00:00
Karl Waclawek
6745f2401a Added missing XML_UNICODE_WCHAR_T to static debug build for UTF-16. 2006-01-19 01:04:23 +00:00
Karl Waclawek
bd5b3143aa Added some whitespace. 2005-12-28 06:07:52 +00:00
Karl Waclawek
f41b3c2003 Bumped version number to 2.0.0. 2005-12-26 15:43:22 +00:00
Karl Waclawek
cf4dd114eb Added 64-bit support for MS VC++ 6.0. 2005-12-25 16:52:13 +00:00
Karl Waclawek
ae5fcf90f8 Fixed incorrect cast which would cause 64-bit integers not to be set to a 64-bit -1 value. 2005-12-25 16:50:52 +00:00
Steven Solie
0845031711 *** empty log message *** 2005-12-24 06:34:24 +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
Karl Waclawek
b68d8cffaa Fixed non-standard line breaks. 2005-12-16 17:41:19 +00:00
Karl Waclawek
bbe15d6e69 Added int type casts for 64 bit portability, to avoid compiler warnings.
Works for MS VC++, not tested on other platforms.
2005-11-28 20:02:36 +00:00
Karl Waclawek
b3ab45b8ec Fix for bug # 1271642. 2005-11-24 14:15:22 +00:00
Karl Waclawek
cbf8ace5fb Fix for bug #1221160. 2005-06-15 14:24:26 +00:00
Karl Waclawek
1da4815bbe Applied patch for bug # 1156398. 2005-03-04 02:20:32 +00:00
Steven Solie
e6beafd504 Added AmigaOS support. 2005-02-26 01:38:13 +00:00
Fred L. Drake, Jr.
51c170f0cd Report XML_NS setting via XML_GetFeatureList(). 2005-01-29 04:48:44 +00:00
Fred L. Drake, Jr.
a9444dc7a9 rename macros: "parsing" -> "ps_parsing", "finalBuffer" -> "ps_finalBuffer"
(closes SF bug #1021776: Recursion in macro "parsing", HP 11.0)
2005-01-29 02:28:33 +00:00
Karl Waclawek
d106fb41b7 "if (ns)" check in addBinding() is not necessary, since it is only
called when namespace processing is turned on.
2004-12-24 18:25:32 +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