xref: /openbsd-src/lib/libexpat/Changes (revision d13be5d47e4149db2549a9828e244d59dbc43f15)
1Release 2.0.1 Tue June 5 2007
2        - Fixed bugs #1515266, #1515600: The character data handler's calling
3          of XML_StopParser() was not handled properly; if the parser was
4          stopped and the handler set to NULL, the parser would segfault.
5        - Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
6          some character constants to be ASCII encoded.
7        - Minor cleanups of the test harness.
8        - Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
9        - Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
10        - Fixes and improvements for Windows platform:
11          bugs #1409451, #1476160, #1548182, #1602769, #1717322.
12        - Build fixes for various platforms:
13          HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
14          All Unix: #1554618 (refreshed config.sub/config.guess).
15                    #1490371, #1613457: support both, DESTDIR and INSTALL_ROOT,
16                    without relying on GNU-Make specific features.
17          #1647805: Patched configure.in to work better with Intel compiler.
18        - Fixes to Makefile.in to have make check work correctly:
19          bugs #1408143, #1535603, #1536684.
20        - Added Open Watcom support: patch #1523242.
21
22Release 2.0.0 Wed Jan 11 2006
23        - We no longer use the "check" library for C unit testing; we
24          always use the (partial) internal implementation of the API.
25        - Report XML_NS setting via XML_GetFeatureList().
26        - Fixed headers for use from C++.
27        - XML_GetCurrentLineNumber() and  XML_GetCurrentColumnNumber()
28          now return unsigned integers.
29        - Added XML_LARGE_SIZE switch to enable 64-bit integers for
30          byte indexes and line/column numbers.
31        - Updated to use libtool 1.5.22 (the most recent).
32        - Added support for AmigaOS.
33        - Some mostly minor bug fixes. SF issues include: #1006708,
34          #1021776, #1023646, #1114960, #1156398, #1221160, #1271642.
35
36Release 1.95.8 Fri Jul 23 2004
37        - Major new feature: suspend/resume.  Handlers can now request
38          that a parse be suspended for later resumption or aborted
39          altogether.  See "Temporarily Stopping Parsing" in the
40          documentation for more details.
41        - Some mostly minor bug fixes, but compilation should no
42          longer generate warnings on most platforms.  SF issues
43          include: #827319, #840173, #846309, #888329, #896188, #923913,
44          #928113, #961698, #985192.
45
46Release 1.95.7 Mon Oct 20 2003
47        - Fixed enum XML_Status issue (reported on SourceForge many
48          times), so compilers that are properly picky will be happy.
49        - Introduced an XMLCALL macro to control the calling
50          convention used by the Expat API; this macro should be used
51          to annotate prototypes and definitions of callback
52          implementations in code compiled with a calling convention
53          other than the default convention for the host platform.
54        - Improved ability to build without the configure-generated
55          expat_config.h header.  This is useful for applications
56          which embed Expat rather than linking in the library.
57        - Fixed a variety of bugs: see SF issues #458907, #609603,
58          #676844, #679754, #692878, #692964, #695401, #699323, #699487,
59          #820946.
60        - Improved hash table lookups.
61        - Added more regression tests and improved documentation.
62
63Release 1.95.6 Tue Jan 28 2003
64        - Added XML_FreeContentModel().
65        - Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
66        - Fixed a variety of bugs: see SF issues #615606, #616863,
67          #618199, #653180, #673791.
68        - Enhanced the regression test suite.
69        - Man page improvements: includes SF issue #632146.
70
71Release 1.95.5 Fri Sep 6 2002
72        - Added XML_UseForeignDTD() for improved SAX2 support.
73        - Added XML_GetFeatureList().
74        - Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
75        - Use an incomplete struct instead of a void* for the parser
76          (may not retain).
77        - Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
78        - Finally fixed bug where default handler would report DTD
79          events that were already handled by another handler.
80          Initial patch contributed by Darryl Miles.
81        - Removed unnecessary DllMain() function that caused static
82          linking into a DLL to be difficult.
83        - Added VC++ projects for building static libraries.
84        - Reduced line-length for all source code and headers to be
85          no longer than 80 characters, to help with AS/400 support.
86        - Reduced memory copying during parsing (SF patch #600964).
87        - Fixed a variety of bugs: see SF issues #580793, #434664,
88          #483514, #580503, #581069, #584041, #584183, #584832, #585537,
89          #596555, #596678, #598352, #598944, #599715, #600479, #600971.
90
91Release 1.95.4 Fri Jul 12 2002
92        - Added support for VMS, contributed by Craig Berry.  See
93          vms/README.vms for more information.
94        - Added Mac OS (classic) support, with a makefile for MPW,
95          contributed by Thomas Wegner and Daryle Walker.
96        - Added Borland C++ Builder 5 / BCC 5.5 support, contributed
97          by Patrick McConnell (SF patch #538032).
98        - Fixed a variety of bugs: see SF issues #441449, #563184,
99          #564342, #566334, #566901, #569461, #570263, #575168, #579196.
100        - Made skippedEntityHandler conform to SAX2 (see source comment)
101        - Re-implemented WFC: Entity Declared from XML 1.0 spec and
102          added a new error "entity declared in parameter entity":
103          see SF bug report #569461 and SF patch #578161
104        - Re-implemented section 5.1 from XML 1.0 spec:
105          see SF bug report #570263 and SF patch #578161
106
107Release 1.95.3 Mon Jun 3 2002
108        - Added a project to the MSVC workspace to create a wchar_t
109          version of the library; the DLLs are named libexpatw.dll.
110        - Changed the name of the Windows DLLs from expat.dll to
111          libexpat.dll; this fixes SF bug #432456.
112        - Added the XML_ParserReset() API function.
113        - Fixed XML_SetReturnNSTriplet() to work for element names.
114        - Made the XML_UNICODE builds usable (thanks, Karl!).
115        - Allow xmlwf to read from standard input.
116        - Install a man page for xmlwf on Unix systems.
117        - Fixed many bugs; see SF bug reports #231864, #461380, #464837,
118          #466885, #469226, #477667, #484419, #487840, #494749, #496505,
119          #547350.  Other bugs which we can't test as easily may also
120          have been fixed, especially in the area of build support.
121
122Release 1.95.2 Fri Jul 27 2001
123        - More changes to make MSVC happy with the build; add a single
124          workspace to support both the library and xmlwf application.
125        - Added a Windows installer for Windows users; includes
126          xmlwf.exe.
127        - Added compile-time constants that can be used to determine the
128          Expat version
129        - Removed a lot of GNU-specific dependencies to aide portability
130          among the various Unix flavors.
131        - Fix the UTF-8 BOM bug.
132        - Cleaned up warning messages for several compilers.
133        - Added the -Wall, -Wstrict-prototypes options for GCC.
134
135Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000
136        - Changes to get expat to build under Microsoft compiler
137        - Removed all aborts and instead return an UNEXPECTED_STATE error.
138        - Fixed a bug where a stray '%' in an entity value would cause an
139          abort.
140        - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
141          finding this oversight.
142        - Changed default patterns in lib/Makefile.in to fit non-GNU makes
143          Thanks to robin@unrated.net for reporting and providing an
144          account to test on.
145        - The reference had the wrong label for XML_SetStartNamespaceDecl.
146          Reported by an anonymous user.
147
148Release 1.95.0 Fri Sep 29 2000
149        - XML_ParserCreate_MM
150                Allows you to set a memory management suite to replace the
151                standard malloc,realloc, and free.
152        - XML_SetReturnNSTriplet
153                If you turn this feature on when namespace processing is in
154                effect, then qualified, prefixed element and attribute names
155                are returned as "uri|name|prefix" where '|' is whatever
156                separator character is used in namespace processing.
157        - Merged in features from perl-expat
158                o XML_SetElementDeclHandler
159                o XML_SetAttlistDeclHandler
160                o XML_SetXmlDeclHandler
161                o XML_SetEntityDeclHandler
162                o StartDoctypeDeclHandler takes 3 additional parameters:
163                        sysid, pubid, has_internal_subset
164                o Many paired handler setters (like XML_SetElementHandler)
165                  now have corresponding individual handler setters
166                o XML_GetInputContext for getting the input context of
167                  the current parse position.
168        - Added reference material
169        - Packaged into a distribution that builds a sharable library
170