Greg Stein [Wed, 18 Jun 2003 01:11:45 +0000 (01:11 +0000)]
Patch submitted by Joe Orton <joe@manyfish.co.uk> with additional
modifications by Greg Stein (comments and text changes).
* buildconf.sh: to deal with crazy/custom libtool installations, allow
the developer/package to specify the libtool.m4 location by
setting the LIBTOOL_M4 environment variable. If that isn't set,
then we use our previous method of trying to derive its location.
Fred L. Drake, Jr. [Tue, 15 Apr 2003 18:43:03 +0000 (18:43 +0000)]
Add a reference to the Simkin scripting language.
Fred L. Drake, Jr. [Fri, 14 Mar 2003 17:25:12 +0000 (17:25 +0000)]
Be more defensive: only enable the *CALL macros when using GCC on
Linux, since we know the current definitions work there and have a
positive effect.
This closes SF bug #692878.
Fred L. Drake, Jr. [Thu, 13 Mar 2003 02:17:48 +0000 (02:17 +0000)]
- better explain the XML_GetCurrent*() functions (SF bug #683681)
Fred L. Drake, Jr. [Thu, 13 Mar 2003 02:13:06 +0000 (02:13 +0000)]
- better explain the XML_GetCurrent*() functions (SF bug #683681)
- fix spelling
Fred L. Drake, Jr. [Thu, 13 Mar 2003 01:30:48 +0000 (01:30 +0000)]
Fix function signature.
Closes SF bug #679468.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 23:02:11 +0000 (23:02 +0000)]
Fix FASTCALL for GCC on Solaris (SF bug #692878).
This file is becoming a liability.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 22:42:53 +0000 (22:42 +0000)]
Removed documentation of limitations that no longer exist in the
implementation. See SF bug #620343.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 19:25:03 +0000 (19:25 +0000)]
- be more specific about the errors we expect to see reported
- change the name of make_basic_suite() to make_suite(), since there's
only one make_*_suite() function
Fred L. Drake, Jr. [Wed, 12 Mar 2003 19:17:18 +0000 (19:17 +0000)]
Add regression tests for SF bugs:
#692964 - Case where expat 1.95.6 doesn't report duplicate attributes
#695401 - Unbound prefixes not rejected
Karl Waclawek [Fri, 7 Mar 2003 15:54:08 +0000 (15:54 +0000)]
Apply patch NSAttFix3.diff for bug #692964 (with one minor modification).
This also fixes bug #695401.
Karl Waclawek [Mon, 3 Feb 2003 20:32:45 +0000 (20:32 +0000)]
Fix for bug #679754: compile error when XML_DTD not defined.
Fred L. Drake, Jr. [Wed, 29 Jan 2003 02:43:08 +0000 (02:43 +0000)]
Move the XML_Status enum definition earlier. Some recent versions of
GCC (3.2 at least) report an error from the forward reference.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 15:26:59 +0000 (15:26 +0000)]
Add win32/README.txt to the Source/ directory that gets installed.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 15:23:39 +0000 (15:23 +0000)]
XML_Status is an enum, not a typedef name.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:54:33 +0000 (05:54 +0000)]
Fix the release date... again.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:45:10 +0000 (05:45 +0000)]
Karl's latest patch for SF issue #673791:
Call storeAtts() for all element start tags; this is necessary to
ensure attribute defaults are properly processed for all elements
(needed to do proper namespace checking, at the very least), and that
tag names are properly cooked when there's an end-element-handler but
no start-element-handler.
This causes the new tests to pass, and closes the SF tracker issue.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:33:37 +0000 (05:33 +0000)]
- two more tests based on Karl's comments on SF patch #673791
- pass XML_TRUE or XML_FALSE as the isFinal parameter for XML_Parse()
Fred L. Drake, Jr. [Sun, 26 Jan 2003 01:11:29 +0000 (01:11 +0000)]
Add the .DEF files to the Windows installer.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 18:43:29 +0000 (18:43 +0000)]
Added change notes for Expat 1.95.6, in preparation for pending
release. This should not be published in the release is made public
on SourceForge.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 16:25:34 +0000 (16:25 +0000)]
Replace tabs with spaces.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 16:10:15 +0000 (16:10 +0000)]
Update more version numbers.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 15:36:31 +0000 (15:36 +0000)]
Update for release 1.95.6.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 15:33:21 +0000 (15:33 +0000)]
Update information on the 1.95.6 release (still pending).
Fred L. Drake, Jr. [Sat, 25 Jan 2003 06:55:25 +0000 (06:55 +0000)]
Added regression tests for SF bug #673791.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 06:53:05 +0000 (06:53 +0000)]
Karl's fix for SF bug #673791:
Error with xmlns:prefix= with namespace processing enabled.
It seems that storeAtts() has the following properties:
- when called with tagNamePtr = NULL and bindingsPtr = NULL,
it does not process attributes incl. namespace declarations
- when called with all arguments non-NULL it processes
attributes (incl. default attributes) and namespace declarations
We also have these requirements:
A) for start of element event:
1) if we have a startElementHandler:
we need to process at least default attributes,
so we must call storeAtts with all arguments non-NULL
2) if we have no startElementHandler, but we have attributes:
we need to process namespace declarations,
so we must call storeAtts with all arguments non-NULL
3) if we have no startElementHandler and no attributes:
we need to store the name (for the end element event, where
the names are compared) and call only the default handler
Note: Storing the name is a pre-requisiste for calling
storeAtts with all arguments non-NULL.
So there really is no place for calling storeAtts with
tagNamePtr = NULL and bindingsPtr = NULL.
B) for empty element event:
1) if we have a startElementHandler:
we need to process at least default attributes,
so we must call storeAtts with all arguments non-NULL
2) if we have no startElementHandler, but we have attributes:
we need to process namespace declarations,
so we must call storeAtts with all arguments non-NULL
3) if we have no startElementHandler and no attributes,
but we have an endElementHandler:
we need to store the name for calling the handler,
but we need not process any attributes (default or not)
4) if we have no start- or endElementHandler, and no attributes:
we need to call only the default handler
Given that storeAtts will now always be called with all arguments
non-NULL we could remove a few internal checks in storeAtts,
if that improves efficiency. Not sure if that is worth it.
This patch should therefore fix the problem of namespace declarations
not being processed when no startElementHandler is set, that is,
it will fix Jeremy's NS processing patch.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 04:57:44 +0000 (04:57 +0000)]
Thread the proper file name and line number to make determination of
which test is failing easier.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:43:20 +0000 (18:43 +0000)]
Last minute updates.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:34:59 +0000 (18:34 +0000)]
Regenerate from xmlwf.sgml revision 1.4.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:34:03 +0000 (18:34 +0000)]
Explain "--" properly.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 16:21:46 +0000 (16:21 +0000)]
Add a clobber target. "clean" should really be less destructive, but
libtool is really a thorn with regard to this.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 15:26:06 +0000 (15:26 +0000)]
Regenerate from xmlwf.sgml.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 15:23:33 +0000 (15:23 +0000)]
- document unexpected memory use reporting when memory mapped files
are used; closes SF bug #632146
- minor changes to wording in a few places
- remove cute comment on one of the linked sites
- added more markup
Fred L. Drake, Jr. [Fri, 24 Jan 2003 05:39:16 +0000 (05:39 +0000)]
- _expect_failure(): Use _fail_unless() instead of fail() to allow
reporting of the right line number
- add test that demonstrates the default namespace can be reset
without a syntax error
Fred L. Drake, Jr. [Fri, 24 Jan 2003 05:09:42 +0000 (05:09 +0000)]
Add a test that makes sure xmlns:prefix="" is allowed when namespace
processing is not enabled.
Karl Waclawek [Fri, 24 Jan 2003 05:01:45 +0000 (05:01 +0000)]
Applied patch #673791.
Karl Waclawek [Wed, 22 Jan 2003 14:52:20 +0000 (14:52 +0000)]
For the start of element and end of element events, it is possible that
the default handler does not get called even when no element handlers
are called, because storeAtts() may trigger the startNamespaceDeclHandler
where the application has a chance to clear the element handlers.
This patch fixes this with one issue still open, which applies to empty elements only:
When the endElement handler is called, but not the startElementHandler,
then the default handler is not called, which causes attributes to not
be reported at all. The other alternative would be to call the default handler,
but then the element would be reported twice.
Karl Waclawek [Wed, 22 Jan 2003 14:26:07 +0000 (14:26 +0000)]
Prevent storeAtts() from being called twice for an empty element when
the endElementHandler is set, but not the startElementHandler.
Fred L. Drake, Jr. [Wed, 22 Jan 2003 03:19:22 +0000 (03:19 +0000)]
- update information on the GOBO Expat interface
- fix some well-formedness errors
- add some missing punctuation
Fred L. Drake, Jr. [Tue, 21 Jan 2003 16:09:31 +0000 (16:09 +0000)]
Added notes that the namespace decl handlers are only called when the
start element handler is set. See SF bug #620343.
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:41:24 +0000 (05:41 +0000)]
Fix test case regarding reporting of undefined entities and
non-validating parsers (see section 5.1 of the XML 1.0 specification).
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:20:51 +0000 (05:20 +0000)]
Added link to a discussion of another way to handle stateful
callbacks, using Expat as an example library to work with.
Closes SF bug #658080.
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:00:51 +0000 (05:00 +0000)]
Documented XML_SetExternalEntityRefHandlerArg(), including API
foolishness noted in SF bug #644344.
Closes SF bug #644344.
Fred L. Drake, Jr. [Mon, 20 Jan 2003 15:25:20 +0000 (15:25 +0000)]
- try to be smarter about the options to cp
- use indentation consistently
- one we've built the tarball successfully, clean up the 2nd temp dir
Fred L. Drake, Jr. [Mon, 20 Jan 2003 15:00:57 +0000 (15:00 +0000)]
Update the list of project files for the Borland tools.
Fred L. Drake, Jr. [Mon, 20 Jan 2003 14:49:44 +0000 (14:49 +0000)]
Minor cleanups and conformance with current recommended usage.
Karl Waclawek [Fri, 17 Jan 2003 00:49:12 +0000 (00:49 +0000)]
Correct the version some APIs were added in.
Fred L. Drake, Jr. [Thu, 16 Jan 2003 23:24:38 +0000 (23:24 +0000)]
Added notes about the new APIs.
Fred L. Drake, Jr. [Thu, 16 Jan 2003 23:22:56 +0000 (23:22 +0000)]
Correct the version some APIs were added in.
Fred L. Drake, Jr. [Thu, 16 Jan 2003 23:15:19 +0000 (23:15 +0000)]
Add documentation for XML_FreeContentModel(), XML_MemMalloc(),
XML_MemRealloc(), and XML_MemFree().
Karl Waclawek [Thu, 16 Jan 2003 22:07:26 +0000 (22:07 +0000)]
Change to support Windows 2000 behaviour by default
Karl Waclawek [Thu, 16 Jan 2003 22:05:46 +0000 (22:05 +0000)]
Updating Borland BCB5 DEF files for patch re. bug/feature request #651754
Karl Waclawek [Thu, 16 Jan 2003 22:03:42 +0000 (22:03 +0000)]
Patch for bug/feature request #651754.
Implemented with two API additions:
1) For element declaration handler support:
XML_FreeContentModel
2) Exposing Expat's memory allocation functions:
XML_MemMalloc
XML_MemRealloc
XML_MemFree
Karl Waclawek [Wed, 15 Jan 2003 00:51:15 +0000 (00:51 +0000)]
Applied patch for bug #667511 supplied by Jeremy Kloth.
Fred L. Drake, Jr. [Tue, 31 Dec 2002 17:53:21 +0000 (17:53 +0000)]
Update comments to refer to XML_STATUS_OK, XML_STATUS_ERROR, and NULL
as appropriate.
Fred L. Drake, Jr. [Mon, 30 Dec 2002 20:12:52 +0000 (20:12 +0000)]
Change the API to return XML_Status values where possible.
Existing client code is 100% compatible.
Fred L. Drake, Jr. [Mon, 30 Dec 2002 20:02:28 +0000 (20:02 +0000)]
When returning a status value through the public API, use
XML_STATUS_OK / XML_STATUS_ERROR. Internal status returns are not
affected.
Fred L. Drake, Jr. [Mon, 30 Dec 2002 19:50:06 +0000 (19:50 +0000)]
Clarify the documentation for the position-reporting functions
somewhat (see SF bug #653180).
Use XML_STATUS_ERROR and XML_STATUS_OK instead of 0, 1, and "non-zero"
in several places.
Fred L. Drake, Jr. [Mon, 30 Dec 2002 19:33:21 +0000 (19:33 +0000)]
Oops, there were more regression tests for SF bug #653180; add these
as well.
Fred L. Drake, Jr. [Mon, 30 Dec 2002 19:20:39 +0000 (19:20 +0000)]
Added regression tests from bug; Karl already fixed the bug itself.
Closes SF bug #653180.
Removed test that failed to tickle the bug, but should have.
Karl Waclawek [Mon, 16 Dec 2002 04:02:02 +0000 (04:02 +0000)]
Fix for bug/feature request #653180.
Karl Waclawek [Sat, 14 Dec 2002 03:12:18 +0000 (03:12 +0000)]
Applied patch for bug #653449.
Patrick McConnell [Mon, 9 Dec 2002 17:23:23 +0000 (17:23 +0000)]
Segregate obj files for utf8 and unicode build versions
Karl Waclawek [Sun, 8 Dec 2002 14:35:34 +0000 (14:35 +0000)]
Annotated MS VC++ DEF files.
Patrick McConnell [Sun, 8 Dec 2002 03:37:41 +0000 (03:37 +0000)]
Moving the Borland module definition files to the bcb5 dir, correcting
an error in the LIBRARY entry in the def files, calling the new def
files in the proj and make files.
Patrick McConnell [Sun, 8 Dec 2002 03:16:38 +0000 (03:16 +0000)]
Moving the Borland .def files to the BCB5 directory and correcting an
error in the LIBRARY entry
Karl Waclawek [Sat, 7 Dec 2002 14:18:50 +0000 (14:18 +0000)]
Clarified runtime linking issues.
Patrick McConnell [Sat, 7 Dec 2002 08:59:43 +0000 (08:59 +0000)]
Revision of Borland proj and make files to fix dos carriage return
problem. Files remain identical to initial release for building static
and wide-char versions of libs, as well as the dll's.
Patrick McConnell [Sat, 7 Dec 2002 08:25:58 +0000 (08:25 +0000)]
libexpat dll def files for borland initial release
Patrick McConnell [Fri, 6 Dec 2002 22:29:14 +0000 (22:29 +0000)]
Removed dos linefeeds, test this before doing rest of bcb5
Patrick McConnell [Fri, 6 Dec 2002 21:52:38 +0000 (21:52 +0000)]
*** empty log message ***
Patrick McConnell [Fri, 6 Dec 2002 21:36:08 +0000 (21:36 +0000)]
*** empty log message ***
Fred L. Drake, Jr. [Wed, 4 Dec 2002 06:52:36 +0000 (06:52 +0000)]
Added a link to SCEW.
Karl Waclawek [Wed, 27 Nov 2002 17:11:32 +0000 (17:11 +0000)]
Added additional patch for bug #644334. Includes workaround for
bad API typedef of externalEntityRefHandler.
Fred L. Drake, Jr. [Wed, 27 Nov 2002 04:03:33 +0000 (04:03 +0000)]
Add some type casts to deal with MALLOC signature checking for
some platforms.
Closes SF bug #644334.
Fred L. Drake, Jr. [Wed, 27 Nov 2002 03:31:23 +0000 (03:31 +0000)]
The feature name pointers should be marked const. This reportedly
avoids some warnings on HP-UX using the aCC compiler.
Closes SF bug #644461.
Karl Waclawek [Wed, 20 Nov 2002 16:20:10 +0000 (16:20 +0000)]
Fixed memory leak.
Fred L. Drake, Jr. [Wed, 20 Nov 2002 04:27:32 +0000 (04:27 +0000)]
Make sure all lines end with a newline.
Fred L. Drake, Jr. [Tue, 12 Nov 2002 21:49:36 +0000 (21:49 +0000)]
Remove trailing whitespace.
Fred L. Drake, Jr. [Tue, 12 Nov 2002 21:44:18 +0000 (21:44 +0000)]
Remove trailing whitespace.
Fred L. Drake, Jr. [Tue, 12 Nov 2002 20:26:05 +0000 (20:26 +0000)]
Added regression test for SF bug #483514: Default handler reports
handled events.
Fred L. Drake, Jr. [Tue, 12 Nov 2002 19:22:49 +0000 (19:22 +0000)]
Added regression test for SF bug #620106: XML_SetEncoding() broken
for external entities.
Fred L. Drake, Jr. [Thu, 7 Nov 2002 23:02:26 +0000 (23:02 +0000)]
Added regression test for SF bug #616863.
Cleaned up some indentation.
Report the version of the Expat library if not in "silent" mode.
Fred L. Drake, Jr. [Thu, 7 Nov 2002 21:48:05 +0000 (21:48 +0000)]
Avoid use of xargs; not available on Windows when using MSYS/MinGW.
Karl Waclawek [Mon, 21 Oct 2002 21:19:41 +0000 (21:19 +0000)]
* Applied patch #620822 - Windows Dll build with DEF file
* Changed macro for static linking from _STATIC to XML_STATIC
and modified expat.h accordingly
* Added ReadMe file to Win32 subdirectory documenting Windows builds
* Changed static build settings to create libraries with names different
from the Dll stub library libexpat(w).lib
Fred L. Drake, Jr. [Thu, 17 Oct 2002 19:13:55 +0000 (19:13 +0000)]
Adjust markup a bit, adding some internal hyperlinks.
Karl Waclawek [Thu, 17 Oct 2002 16:47:45 +0000 (16:47 +0000)]
Improved documentation of XML_ExternalEntityRefHandler.
Karl Waclawek [Wed, 9 Oct 2002 13:21:45 +0000 (13:21 +0000)]
Applied patch for bug # 620106.
Fred L. Drake, Jr. [Tue, 8 Oct 2002 17:04:55 +0000 (17:04 +0000)]
SF bug #620343: segfault: bad API/callback interaction
The start-namespace-decl callback can set the start-element callback to
NULL, but Expat tried to call it anyway.
Fred L. Drake, Jr. [Tue, 8 Oct 2002 14:02:02 +0000 (14:02 +0000)]
Add omitted period.
Fred L. Drake, Jr. [Mon, 7 Oct 2002 20:26:31 +0000 (20:26 +0000)]
Bump version numbers.
Fred L. Drake, Jr. [Mon, 7 Oct 2002 20:25:24 +0000 (20:25 +0000)]
Start making notes about changes.
Karl Waclawek [Thu, 3 Oct 2002 19:41:26 +0000 (19:41 +0000)]
Applied patch #618199.
Karl Waclawek [Tue, 1 Oct 2002 16:58:54 +0000 (16:58 +0000)]
Applied fix for bug #616863.
Karl Waclawek [Mon, 30 Sep 2002 12:11:26 +0000 (12:11 +0000)]
Forgot to re-establish implicit namespace context (prefix xml)
in XML_ParserReset().
Karl Waclawek [Sat, 28 Sep 2002 14:47:34 +0000 (14:47 +0000)]
Fix for bug #615606.
Fred L. Drake, Jr. [Fri, 27 Sep 2002 14:13:12 +0000 (14:13 +0000)]
Move the old news to a separate page, hopefully making the 3rd-party
wrapper information more discoverable.
Add a link to the top pointing down to the "References & Wrappers"
section, for the same purpose. (Thanks, Karl!)
Fred L. Drake, Jr. [Fri, 27 Sep 2002 14:11:43 +0000 (14:11 +0000)]
Archive old news off the main page so it is not so distracting. Hopefully
makes the 3rd-party wrapper information more discoverable.
Karl Waclawek [Fri, 20 Sep 2002 03:42:43 +0000 (03:42 +0000)]
Changed calling convention macros to differentiate between
different types of function calls - see comments in internal.h.
Fred L. Drake, Jr. [Thu, 19 Sep 2002 20:19:51 +0000 (20:19 +0000)]
Fix a name.