1*e3466a89SXin LIRelease 2.1.0 Sat March 24 2012 2*e3466a89SXin LI - Bug Fixes: 3*e3466a89SXin LI #1742315: Harmful XML_ParserCreateNS suggestion. 4*e3466a89SXin LI #2895533: CVE-2012-1147 - Resource leak in readfilemap.c. 5*e3466a89SXin LI #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3. 6*e3466a89SXin LI #1983953, 2517952, 2517962, 2649838: 7*e3466a89SXin LI Build modifications using autoreconf instead of buildconf.sh. 8*e3466a89SXin LI #2815947, #2884086: OBJEXT and EXEEXT support while building. 9*e3466a89SXin LI #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences. 10*e3466a89SXin LI #2517938: xmlwf should return non-zero exit status if not well-formed. 11*e3466a89SXin LI #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml. 12*e3466a89SXin LI #2855609: Dangling positionPtr after error. 13*e3466a89SXin LI #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8(). 14*e3466a89SXin LI #2958794: CVE-2012-1148 - Memory leak in poolGrow. 15*e3466a89SXin LI #2990652: CMake support. 16*e3466a89SXin LI #3010819: UNEXPECTED_STATE with a trailing "%" in entity value. 17*e3466a89SXin LI #3206497: Unitialized memory returned from XML_Parse. 18*e3466a89SXin LI #3287849: make check fails on mingw-w64. 19*e3466a89SXin LI #3496608: CVE-2012-0876 - Hash DOS attack. 20*e3466a89SXin LI - Patches: 21*e3466a89SXin LI #1749198: pkg-config support. 22*e3466a89SXin LI #3010222: Fix for bug #3010819. 23*e3466a89SXin LI #3312568: CMake support. 24*e3466a89SXin LI #3446384: Report byte offsets for attr names and values. 25*e3466a89SXin LI - New Features / API changes: 26*e3466a89SXin LI Added new API member XML_SetHashSalt() that allows setting an intial 27*e3466a89SXin LI value (salt) for hash calculations. This is part of the fix for 28*e3466a89SXin LI bug #3496608 to randomize hash parameters. 29*e3466a89SXin LI When compiled with XML_ATTR_INFO defined, adds new API member 30*e3466a89SXin LI XML_GetAttributeInfo() that allows retrieving the byte 31*e3466a89SXin LI offsets for attribute names and values (patch #3446384). 32*e3466a89SXin LI Added CMake build system. 33*e3466a89SXin LI See bug #2990652 and patch #3312568. 34*e3466a89SXin LI Added run-benchmark target to Makefile.in - relies on testdata module 35*e3466a89SXin LI present in the same relative location as in the repository. 36*e3466a89SXin LI 37220ed979SColeman KaneRelease 2.0.1 Tue June 5 2007 38*e3466a89SXin LI - Fixed bugs #1515266, #1515600: The character data handler's calling 39220ed979SColeman Kane of XML_StopParser() was not handled properly; if the parser was 40220ed979SColeman Kane stopped and the handler set to NULL, the parser would segfault. 41220ed979SColeman Kane - Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed 42220ed979SColeman Kane some character constants to be ASCII encoded. 43220ed979SColeman Kane - Minor cleanups of the test harness. 44220ed979SColeman Kane - Fixed xmlwf bug #1513566: "out of memory" error on file size zero. 45220ed979SColeman Kane - Fixed outline.c bug #1543233: missing a final XML_ParserFree() call. 46220ed979SColeman Kane - Fixes and improvements for Windows platform: 47*e3466a89SXin LI bugs #1409451, #1476160, #1548182, #1602769, #1717322. 48220ed979SColeman Kane - Build fixes for various platforms: 49220ed979SColeman Kane HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180. 50220ed979SColeman Kane All Unix: #1554618 (refreshed config.sub/config.guess). 51220ed979SColeman Kane #1490371, #1613457: support both, DESTDIR and INSTALL_ROOT, 52220ed979SColeman Kane without relying on GNU-Make specific features. 53220ed979SColeman Kane #1647805: Patched configure.in to work better with Intel compiler. 54220ed979SColeman Kane - Fixes to Makefile.in to have make check work correctly: 55220ed979SColeman Kane bugs #1408143, #1535603, #1536684. 56220ed979SColeman Kane - Added Open Watcom support: patch #1523242. 57220ed979SColeman Kane 58220ed979SColeman KaneRelease 2.0.0 Wed Jan 11 2006 59220ed979SColeman Kane - We no longer use the "check" library for C unit testing; we 60220ed979SColeman Kane always use the (partial) internal implementation of the API. 61220ed979SColeman Kane - Report XML_NS setting via XML_GetFeatureList(). 62220ed979SColeman Kane - Fixed headers for use from C++. 63220ed979SColeman Kane - XML_GetCurrentLineNumber() and XML_GetCurrentColumnNumber() 64220ed979SColeman Kane now return unsigned integers. 65220ed979SColeman Kane - Added XML_LARGE_SIZE switch to enable 64-bit integers for 66220ed979SColeman Kane byte indexes and line/column numbers. 67220ed979SColeman Kane - Updated to use libtool 1.5.22 (the most recent). 68220ed979SColeman Kane - Added support for AmigaOS. 69*e3466a89SXin LI - Some mostly minor bug fixes. SF issues include: #1006708, 70*e3466a89SXin LI #1021776, #1023646, #1114960, #1156398, #1221160, #1271642. 71220ed979SColeman Kane 72220ed979SColeman KaneRelease 1.95.8 Fri Jul 23 2004 73220ed979SColeman Kane - Major new feature: suspend/resume. Handlers can now request 74220ed979SColeman Kane that a parse be suspended for later resumption or aborted 75220ed979SColeman Kane altogether. See "Temporarily Stopping Parsing" in the 76220ed979SColeman Kane documentation for more details. 77220ed979SColeman Kane - Some mostly minor bug fixes, but compilation should no 78220ed979SColeman Kane longer generate warnings on most platforms. SF issues 79*e3466a89SXin LI include: #827319, #840173, #846309, #888329, #896188, #923913, 80*e3466a89SXin LI #928113, #961698, #985192. 81220ed979SColeman Kane 82220ed979SColeman KaneRelease 1.95.7 Mon Oct 20 2003 83220ed979SColeman Kane - Fixed enum XML_Status issue (reported on SourceForge many 84220ed979SColeman Kane times), so compilers that are properly picky will be happy. 85220ed979SColeman Kane - Introduced an XMLCALL macro to control the calling 86220ed979SColeman Kane convention used by the Expat API; this macro should be used 87220ed979SColeman Kane to annotate prototypes and definitions of callback 88220ed979SColeman Kane implementations in code compiled with a calling convention 89220ed979SColeman Kane other than the default convention for the host platform. 90220ed979SColeman Kane - Improved ability to build without the configure-generated 91220ed979SColeman Kane expat_config.h header. This is useful for applications 92220ed979SColeman Kane which embed Expat rather than linking in the library. 93*e3466a89SXin LI - Fixed a variety of bugs: see SF issues #458907, #609603, 94*e3466a89SXin LI #676844, #679754, #692878, #692964, #695401, #699323, #699487, 95*e3466a89SXin LI #820946. 96220ed979SColeman Kane - Improved hash table lookups. 97220ed979SColeman Kane - Added more regression tests and improved documentation. 98220ed979SColeman Kane 99220ed979SColeman KaneRelease 1.95.6 Tue Jan 28 2003 100220ed979SColeman Kane - Added XML_FreeContentModel(). 101220ed979SColeman Kane - Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree(). 102*e3466a89SXin LI - Fixed a variety of bugs: see SF issues #615606, #616863, 103*e3466a89SXin LI #618199, #653180, #673791. 104220ed979SColeman Kane - Enhanced the regression test suite. 105*e3466a89SXin LI - Man page improvements: includes SF issue #632146. 106220ed979SColeman Kane 1075bb6a25fSPoul-Henning KampRelease 1.95.5 Fri Sep 6 2002 1085bb6a25fSPoul-Henning Kamp - Added XML_UseForeignDTD() for improved SAX2 support. 1095bb6a25fSPoul-Henning Kamp - Added XML_GetFeatureList(). 1105bb6a25fSPoul-Henning Kamp - Defined XML_Bool type and the values XML_TRUE and XML_FALSE. 1115bb6a25fSPoul-Henning Kamp - Use an incomplete struct instead of a void* for the parser 1125bb6a25fSPoul-Henning Kamp (may not retain). 1135bb6a25fSPoul-Henning Kamp - Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected. 1145bb6a25fSPoul-Henning Kamp - Finally fixed bug where default handler would report DTD 1155bb6a25fSPoul-Henning Kamp events that were already handled by another handler. 116220ed979SColeman Kane Initial patch contributed by Darryl Miles. 1175bb6a25fSPoul-Henning Kamp - Removed unnecessary DllMain() function that caused static 1185bb6a25fSPoul-Henning Kamp linking into a DLL to be difficult. 1195bb6a25fSPoul-Henning Kamp - Added VC++ projects for building static libraries. 1205bb6a25fSPoul-Henning Kamp - Reduced line-length for all source code and headers to be 1215bb6a25fSPoul-Henning Kamp no longer than 80 characters, to help with AS/400 support. 1225bb6a25fSPoul-Henning Kamp - Reduced memory copying during parsing (SF patch #600964). 123*e3466a89SXin LI - Fixed a variety of bugs: see SF issues #580793, #434664, 124*e3466a89SXin LI #483514, #580503, #581069, #584041, #584183, #584832, #585537, 125*e3466a89SXin LI #596555, #596678, #598352, #598944, #599715, #600479, #600971. 1265bb6a25fSPoul-Henning Kamp 1275bb6a25fSPoul-Henning KampRelease 1.95.4 Fri Jul 12 2002 1285bb6a25fSPoul-Henning Kamp - Added support for VMS, contributed by Craig Berry. See 1295bb6a25fSPoul-Henning Kamp vms/README.vms for more information. 1305bb6a25fSPoul-Henning Kamp - Added Mac OS (classic) support, with a makefile for MPW, 1315bb6a25fSPoul-Henning Kamp contributed by Thomas Wegner and Daryle Walker. 1325bb6a25fSPoul-Henning Kamp - Added Borland C++ Builder 5 / BCC 5.5 support, contributed 1335bb6a25fSPoul-Henning Kamp by Patrick McConnell (SF patch #538032). 134*e3466a89SXin LI - Fixed a variety of bugs: see SF issues #441449, #563184, 135*e3466a89SXin LI #564342, #566334, #566901, #569461, #570263, #575168, #579196. 1365bb6a25fSPoul-Henning Kamp - Made skippedEntityHandler conform to SAX2 (see source comment) 1375bb6a25fSPoul-Henning Kamp - Re-implemented WFC: Entity Declared from XML 1.0 spec and 1385bb6a25fSPoul-Henning Kamp added a new error "entity declared in parameter entity": 139*e3466a89SXin LI see SF bug report #569461 and SF patch #578161 1405bb6a25fSPoul-Henning Kamp - Re-implemented section 5.1 from XML 1.0 spec: 141*e3466a89SXin LI see SF bug report #570263 and SF patch #578161 1425bb6a25fSPoul-Henning Kamp 1435bb6a25fSPoul-Henning KampRelease 1.95.3 Mon Jun 3 2002 1445bb6a25fSPoul-Henning Kamp - Added a project to the MSVC workspace to create a wchar_t 1455bb6a25fSPoul-Henning Kamp version of the library; the DLLs are named libexpatw.dll. 1465bb6a25fSPoul-Henning Kamp - Changed the name of the Windows DLLs from expat.dll to 1475bb6a25fSPoul-Henning Kamp libexpat.dll; this fixes SF bug #432456. 1485bb6a25fSPoul-Henning Kamp - Added the XML_ParserReset() API function. 1495bb6a25fSPoul-Henning Kamp - Fixed XML_SetReturnNSTriplet() to work for element names. 1505bb6a25fSPoul-Henning Kamp - Made the XML_UNICODE builds usable (thanks, Karl!). 1515bb6a25fSPoul-Henning Kamp - Allow xmlwf to read from standard input. 1525bb6a25fSPoul-Henning Kamp - Install a man page for xmlwf on Unix systems. 153*e3466a89SXin LI - Fixed many bugs; see SF bug reports #231864, #461380, #464837, 154*e3466a89SXin LI #466885, #469226, #477667, #484419, #487840, #494749, #496505, 155*e3466a89SXin LI #547350. Other bugs which we can't test as easily may also 1565bb6a25fSPoul-Henning Kamp have been fixed, especially in the area of build support. 1575bb6a25fSPoul-Henning Kamp 1585bb6a25fSPoul-Henning KampRelease 1.95.2 Fri Jul 27 2001 1595bb6a25fSPoul-Henning Kamp - More changes to make MSVC happy with the build; add a single 1605bb6a25fSPoul-Henning Kamp workspace to support both the library and xmlwf application. 1615bb6a25fSPoul-Henning Kamp - Added a Windows installer for Windows users; includes 1625bb6a25fSPoul-Henning Kamp xmlwf.exe. 1635bb6a25fSPoul-Henning Kamp - Added compile-time constants that can be used to determine the 1645bb6a25fSPoul-Henning Kamp Expat version 1655bb6a25fSPoul-Henning Kamp - Removed a lot of GNU-specific dependencies to aide portability 1665bb6a25fSPoul-Henning Kamp among the various Unix flavors. 1675bb6a25fSPoul-Henning Kamp - Fix the UTF-8 BOM bug. 1685bb6a25fSPoul-Henning Kamp - Cleaned up warning messages for several compilers. 1695bb6a25fSPoul-Henning Kamp - Added the -Wall, -Wstrict-prototypes options for GCC. 1705bb6a25fSPoul-Henning Kamp 1715bb6a25fSPoul-Henning KampRelease 1.95.1 Sun Oct 22 15:11:36 EDT 2000 1725bb6a25fSPoul-Henning Kamp - Changes to get expat to build under Microsoft compiler 1735bb6a25fSPoul-Henning Kamp - Removed all aborts and instead return an UNEXPECTED_STATE error. 1745bb6a25fSPoul-Henning Kamp - Fixed a bug where a stray '%' in an entity value would cause an 1755bb6a25fSPoul-Henning Kamp abort. 1765bb6a25fSPoul-Henning Kamp - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for 1775bb6a25fSPoul-Henning Kamp finding this oversight. 1785bb6a25fSPoul-Henning Kamp - Changed default patterns in lib/Makefile.in to fit non-GNU makes 1795bb6a25fSPoul-Henning Kamp Thanks to robin@unrated.net for reporting and providing an 1805bb6a25fSPoul-Henning Kamp account to test on. 1815bb6a25fSPoul-Henning Kamp - The reference had the wrong label for XML_SetStartNamespaceDecl. 1825bb6a25fSPoul-Henning Kamp Reported by an anonymous user. 1835bb6a25fSPoul-Henning Kamp 1845bb6a25fSPoul-Henning KampRelease 1.95.0 Fri Sep 29 2000 1855bb6a25fSPoul-Henning Kamp - XML_ParserCreate_MM 1865bb6a25fSPoul-Henning Kamp Allows you to set a memory management suite to replace the 1875bb6a25fSPoul-Henning Kamp standard malloc,realloc, and free. 1885bb6a25fSPoul-Henning Kamp - XML_SetReturnNSTriplet 1895bb6a25fSPoul-Henning Kamp If you turn this feature on when namespace processing is in 1905bb6a25fSPoul-Henning Kamp effect, then qualified, prefixed element and attribute names 1915bb6a25fSPoul-Henning Kamp are returned as "uri|name|prefix" where '|' is whatever 1925bb6a25fSPoul-Henning Kamp separator character is used in namespace processing. 1935bb6a25fSPoul-Henning Kamp - Merged in features from perl-expat 1945bb6a25fSPoul-Henning Kamp o XML_SetElementDeclHandler 1955bb6a25fSPoul-Henning Kamp o XML_SetAttlistDeclHandler 1965bb6a25fSPoul-Henning Kamp o XML_SetXmlDeclHandler 1975bb6a25fSPoul-Henning Kamp o XML_SetEntityDeclHandler 1985bb6a25fSPoul-Henning Kamp o StartDoctypeDeclHandler takes 3 additional parameters: 1995bb6a25fSPoul-Henning Kamp sysid, pubid, has_internal_subset 2005bb6a25fSPoul-Henning Kamp o Many paired handler setters (like XML_SetElementHandler) 2015bb6a25fSPoul-Henning Kamp now have corresponding individual handler setters 2025bb6a25fSPoul-Henning Kamp o XML_GetInputContext for getting the input context of 2035bb6a25fSPoul-Henning Kamp the current parse position. 2045bb6a25fSPoul-Henning Kamp - Added reference material 2055bb6a25fSPoul-Henning Kamp - Packaged into a distribution that builds a sharable library 206