Fred L. Drake, Jr. [Thu, 30 Sep 2004 02:47:03 +0000 (02:47 +0000)]
convert MSVC project and workspace files to binary files that must always
use the DOS/Windows CR-LF line end convention
(closes SF bug #
1007088)
Fred L. Drake, Jr. [Thu, 30 Sep 2004 02:34:48 +0000 (02:34 +0000)]
- avoided assumptions that glob patterns before a trailing slash will
be expanded; this seems to be a problem in some non-bash shells
(see SF bug #
1033923)
- move counter updates to a shared function
- modified one of the output messages to be (hopefully) less confusing
Fred L. Drake, Jr. [Fri, 24 Sep 2004 15:19:11 +0000 (15:19 +0000)]
Install expat_external.h properly on all platforms.
Closes SF bug #
1000112.
Karl Waclawek [Fri, 24 Sep 2004 13:06:29 +0000 (13:06 +0000)]
Removed last comma in enum XML_Status declaration to improve
compiler compatibility.
Fred L. Drake, Jr. [Tue, 24 Aug 2004 17:40:39 +0000 (17:40 +0000)]
reference to an old snapshot should no longer be a hyperlink
Karl Waclawek [Tue, 10 Aug 2004 18:18:25 +0000 (18:18 +0000)]
Added type casts necessary for compiling as C++ file (at least under VC++).
Karl Waclawek [Tue, 10 Aug 2004 18:06:29 +0000 (18:06 +0000)]
Added type cast necessary for compiling as C++ file (at least under VC++).
Karl Waclawek [Tue, 10 Aug 2004 18:04:34 +0000 (18:04 +0000)]
Fixed type error that came to light when compiling as C++ file.
Karl Waclawek [Tue, 10 Aug 2004 17:34:19 +0000 (17:34 +0000)]
Fred L. Drake, Jr. [Mon, 26 Jul 2004 14:53:39 +0000 (14:53 +0000)]
add news of the 1.95.8 release
Fred L. Drake, Jr. [Sat, 24 Jul 2004 05:26:48 +0000 (05:26 +0000)]
fix busted %changelog entry
Fred L. Drake, Jr. [Fri, 23 Jul 2004 04:48:36 +0000 (04:48 +0000)]
add notes for 1.95.8 release
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:59:40 +0000 (03:59 +0000)]
- add some missing files
- re-arrange to make comparison with the actual list of files easier
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:42:23 +0000 (03:42 +0000)]
when controlling the CVS client from a script, we should always
disable the personal CVS config file to avoid any unpredictable
behavior
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:38:43 +0000 (03:38 +0000)]
added missing files
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:28:09 +0000 (03:28 +0000)]
Add basic documentation for the suspend/resume feature.
Closes SF bug #880632.
Fred L. Drake, Jr. [Fri, 23 Jul 2004 02:02:41 +0000 (02:02 +0000)]
The status argument to XML_GetParsingStatus() cannot be NULL.
Fred L. Drake, Jr. [Fri, 16 Jul 2004 02:31:27 +0000 (02:31 +0000)]
added more detail about XML_CONTEXT_BYTES
Fred L. Drake, Jr. [Fri, 16 Jul 2004 02:10:57 +0000 (02:10 +0000)]
Update version number to 1.95.8 in preparation for release.
Fred L. Drake, Jr. [Fri, 16 Jul 2004 00:54:57 +0000 (00:54 +0000)]
add some comments about when various error codes were added
Fred L. Drake, Jr. [Fri, 16 Jul 2004 00:13:05 +0000 (00:13 +0000)]
- fix the description of the XML_DTD preprocessor symbol
(closes SF bug #916232)
- fix markup error (swapped end tags)
Fred L. Drake, Jr. [Thu, 15 Jul 2004 23:29:25 +0000 (23:29 +0000)]
update tests to reflect that a more specific error message is being generated
for some cases
Fred L. Drake, Jr. [Thu, 15 Jul 2004 22:54:19 +0000 (22:54 +0000)]
- avoid using the "check" library's suite_free() function; it is not
available in all versions of the library, and srunner_free() is
sufficient
(closes SF bug #985192)
- avoid some compiler warnings
Karl Waclawek [Thu, 27 May 2004 17:38:52 +0000 (17:38 +0000)]
Applied patch for bug #961698 supplied by Anders Carlsson.
Karl Waclawek [Tue, 18 May 2004 13:50:13 +0000 (13:50 +0000)]
Added a few more meaningful error codes (and messages).
Karl Waclawek [Fri, 7 May 2004 20:00:48 +0000 (20:00 +0000)]
Added expat_external.h
Karl Waclawek [Thu, 6 May 2004 13:55:49 +0000 (13:55 +0000)]
Renamed exrternal.h to expat_external.h.
Fixed up references to this file.
Karl Waclawek [Sun, 2 May 2004 17:31:13 +0000 (17:31 +0000)]
Fix for bug #946506: PublicId for DOCTYPE not checked & normalized.
Karl Waclawek [Fri, 30 Apr 2004 17:28:05 +0000 (17:28 +0000)]
Made note about building under Visual Studio .NET.
Karl Waclawek [Fri, 30 Apr 2004 15:39:47 +0000 (15:39 +0000)]
Fix for bug #928113 .
Fred L. Drake, Jr. [Fri, 30 Apr 2004 03:44:34 +0000 (03:44 +0000)]
patch from Shard (neoni dot net) to support BeOS
Fred L. Drake, Jr. [Fri, 30 Apr 2004 03:18:11 +0000 (03:18 +0000)]
If the check library is not available, use an abbreviated implementation of
the check API. This allows the unit and regression tests to be run on any
system without requiring an external package.
Karl Waclawek [Thu, 29 Apr 2004 17:53:34 +0000 (17:53 +0000)]
Fixed compile errors when XML_DTD and XML_CONTEXT_BYTES
were undefined.
Karl Waclawek [Tue, 27 Apr 2004 00:50:50 +0000 (00:50 +0000)]
Added note about the effects on well-formedness checking when
calling XML_UseForeignDTD(parser, XML_TRUE).
Karl Waclawek [Tue, 27 Apr 2004 00:49:34 +0000 (00:49 +0000)]
Added comment about the effects on well-formedness checking after
calling XML_UseForeignDTD(parser, XML_TRUE).
Karl Waclawek [Mon, 26 Apr 2004 20:36:10 +0000 (20:36 +0000)]
Re-ordered links to 3rd party wrappers.
Karl Waclawek [Mon, 26 Apr 2004 19:45:23 +0000 (19:45 +0000)]
Added link to SAXExpat.NET.
Karl Waclawek [Sat, 24 Apr 2004 23:56:41 +0000 (23:56 +0000)]
Would not build on Linux without including stddef.h before
including external.h.
Karl Waclawek [Tue, 13 Apr 2004 13:17:59 +0000 (13:17 +0000)]
Fix for bug #920274.
Fred L. Drake, Jr. [Fri, 2 Apr 2004 21:53:40 +0000 (21:53 +0000)]
update URL to the mailing lists page
Karl Waclawek [Fri, 26 Mar 2004 14:24:11 +0000 (14:24 +0000)]
Fix for bug #923913, Calling convention problems.
For details see bug description.
Karl Waclawek [Tue, 16 Mar 2004 22:14:31 +0000 (22:14 +0000)]
Changed to allow aborting a suspended parser instance.
Karl Waclawek [Tue, 16 Mar 2004 20:29:28 +0000 (20:29 +0000)]
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.
Karl Waclawek [Tue, 16 Mar 2004 04:41:54 +0000 (04:41 +0000)]
When the parser was suspended while processing an internal entity,
an XML_ERROR_NO_ELEMENTS condition could happen.
The reason was that the internal entity's start tag level was not preserved
when parsing was suspended. This has been corrected.
Karl Waclawek [Tue, 16 Mar 2004 04:27:18 +0000 (04:27 +0000)]
Fixed the XML_GetCurrentLine/ColumnNumber() functions so that
they don't produce an access violation when the value of eventPtr is
less than the value of positionPtr. This can happen when a handler
raises an exception or potentially in some border cases.
Also added some more updates of eventPtr.
Karl Waclawek [Tue, 16 Mar 2004 03:53:24 +0000 (03:53 +0000)]
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.
Karl Waclawek [Mon, 15 Mar 2004 00:34:12 +0000 (00:34 +0000)]
Fix for bug #916228.
Karl Waclawek [Wed, 10 Mar 2004 15:56:11 +0000 (15:56 +0000)]
Improved comments for XML_StopParser() and XML_ResumeParser().
Karl Waclawek [Fri, 13 Feb 2004 18:11:51 +0000 (18:11 +0000)]
Applied a simplified version of Jeremy Kloth's patch for bug #896188.
Also removed some code that was never executed, because the condition
(prologState.documentEntity && role == XML_ROLE_INNER_PARAM_ENTITY_REF)
can never be true. Improved some comments as well.
Karl Waclawek [Wed, 11 Feb 2004 16:42:40 +0000 (16:42 +0000)]
Made these compiler warnings go away:
- not all cases handled for switch based an enumeration:
added default: ; where appropriate
- char* passed where const char* was expected:
changed variable declarations to const char*
Fred L. Drake, Jr. [Thu, 29 Jan 2004 00:11:32 +0000 (00:11 +0000)]
update version number (closes SF patch #841591)
Karl Waclawek [Tue, 27 Jan 2004 01:48:58 +0000 (01:48 +0000)]
Cosmetic changes in function signatures - for consistency.
Fred L. Drake, Jr. [Thu, 22 Jan 2004 04:22:17 +0000 (04:22 +0000)]
add link to OCaml Expat
Fred L. Drake, Jr. [Wed, 21 Jan 2004 21:30:54 +0000 (21:30 +0000)]
add MSVC 6 project files to the source distribution
closes SF bug #856659
Fred L. Drake, Jr. [Tue, 20 Jan 2004 16:04:47 +0000 (16:04 +0000)]
suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms
Fred L. Drake, Jr. [Tue, 20 Jan 2004 14:41:59 +0000 (14:41 +0000)]
- add a link-less entry for XML::Parser
- fix punctuation
Karl Waclawek [Wed, 7 Jan 2004 17:12:04 +0000 (17:12 +0000)]
Applied patch #835123: Suspend/Resume functionality.
For details check the patch description.
Karl Waclawek [Tue, 16 Dec 2003 17:24:29 +0000 (17:24 +0000)]
Updated links for SAXExpat and SAX for Pascal.
Fred L. Drake, Jr. [Mon, 17 Nov 2003 15:36:02 +0000 (15:36 +0000)]
Defined HAVE_EXPAT_CONFIG_H when building on VMS.
Closes SF bug #840173.
Fred L. Drake, Jr. [Sun, 2 Nov 2003 20:37:22 +0000 (20:37 +0000)]
bump the version number since the code has changed, however slightly
Fred L. Drake, Jr. [Sun, 2 Nov 2003 18:14:11 +0000 (18:14 +0000)]
remove unused stanzas
Fred L. Drake, Jr. [Sun, 2 Nov 2003 09:44:55 +0000 (09:44 +0000)]
Simplify preprocessor construct.
Fred L. Drake, Jr. [Sun, 2 Nov 2003 08:21:30 +0000 (08:21 +0000)]
Allow the configure script to set where manpages go using --mandir.
Closes SF bug #827319.
Fred L. Drake, Jr. [Sun, 2 Nov 2003 08:12:46 +0000 (08:12 +0000)]
added regression test for SF bug #824420:
in non-namespace mode, Expat reported the use of an unbound namespace
when encountering an element that looks like it has a namespace prefix
(were namespaces enabled) and there's a definition for that prefix in
the DTD
Fred L. Drake, Jr. [Thu, 30 Oct 2003 19:59:50 +0000 (19:59 +0000)]
update the dates
Fred L. Drake, Jr. [Thu, 30 Oct 2003 14:58:39 +0000 (14:58 +0000)]
remove unnecessary typecast
Fred L. Drake, Jr. [Tue, 28 Oct 2003 21:25:43 +0000 (21:25 +0000)]
extend the "Communicating between handlers" section a bit; needed to
mention the need to accumulate data between calls to the character
data handler
Fred L. Drake, Jr. [Tue, 28 Oct 2003 17:13:10 +0000 (17:13 +0000)]
update the link for tDOM
Karl Waclawek [Sun, 26 Oct 2003 08:13:54 +0000 (08:13 +0000)]
Make XML_ParserFree() null-safe, so that it behaves
like the standard free() memory deallocation function.
Karl Waclawek [Fri, 24 Oct 2003 00:40:54 +0000 (00:40 +0000)]
Corrected docs regarding Win32 builds with MS VC++.
Karl Waclawek [Fri, 24 Oct 2003 00:39:42 +0000 (00:39 +0000)]
Cleaned up make files and improved docs.
Fred L. Drake, Jr. [Thu, 23 Oct 2003 05:24:11 +0000 (05:24 +0000)]
Started a new page with some notes about what's changing in Expat 3.
Largely a placeholder at this point, but this can be used to tell the
community about what Expat 3 will "look like."
Fred L. Drake, Jr. [Tue, 21 Oct 2003 17:05:43 +0000 (17:05 +0000)]
make sure we pick up the Expat logo in the doc directory
Fred L. Drake, Jr. [Tue, 21 Oct 2003 03:52:10 +0000 (03:52 +0000)]
Add a news item for the Expat 1.95.7 release; not quite ready, but almost.
Fred L. Drake, Jr. [Mon, 20 Oct 2003 21:11:27 +0000 (21:11 +0000)]
Set the release date.
Fred L. Drake, Jr. [Mon, 20 Oct 2003 14:50:37 +0000 (14:50 +0000)]
use indentation consistently
Fred L. Drake, Jr. [Mon, 20 Oct 2003 14:40:44 +0000 (14:40 +0000)]
Steal a bit of look-n-feel from the website; this document was just looking
incredibly bland.
Fred L. Drake, Jr. [Sat, 18 Oct 2003 04:46:02 +0000 (04:46 +0000)]
avoid a few additional warnings for some compilers, and others with
warnings turned way up high
Fred L. Drake, Jr. [Fri, 17 Oct 2003 21:08:30 +0000 (21:08 +0000)]
Updates from last night.
Karl Waclawek [Thu, 16 Oct 2003 14:26:46 +0000 (14:26 +0000)]
Fix for bug #824420.
Fred L. Drake, Jr. [Thu, 16 Oct 2003 05:05:16 +0000 (05:05 +0000)]
update to reflect further improvements
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:51:11 +0000 (04:51 +0000)]
Make it possible to avoid the import of expat_config.h. This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:32:39 +0000 (04:32 +0000)]
- reorganize by the components that need what we're checking for
- remove the check for memcmp(); we didn't use the result of the check
(though we do use memcmp())
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:23:44 +0000 (04:23 +0000)]
- use spaces instead of tabs consistently
- don't allow trailing whitespace at the end of lines
- remove blank lines at the end of the file
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:20:54 +0000 (04:20 +0000)]
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.
Karl Waclawek [Wed, 15 Oct 2003 21:38:15 +0000 (21:38 +0000)]
Removed unused EXPAT_EXPORTS definition.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:51:28 +0000 (20:51 +0000)]
clean up the macro restructuring, and make it play nice on Windows
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:46:53 +0000 (20:46 +0000)]
- add the XMLCALL annotation consistently in the docs
- don't drop the void return for handler setting functions
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:02:12 +0000 (20:02 +0000)]
- the "alt" attribute is required on <img/> to be valid XHTML strict
- minor cleanup
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:49:54 +0000 (18:49 +0000)]
- add Expat version number
- add notes about safely using XMLCALL with older Expat versions
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:33:27 +0000 (18:33 +0000)]
Update to reflect the addition of the XMLCALL macro.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:16:35 +0000 (18:16 +0000)]
Add a news item about the upcoming release, and a pointer to the testing
snapshot.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 16:36:23 +0000 (16:36 +0000)]
Move "Configuring Expat Using the Pre-Processor" from the "Using"
section to the "Building" section.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 16:25:44 +0000 (16:25 +0000)]
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.
Fred L. Drake, Jr. [Sat, 11 Oct 2003 17:50:22 +0000 (17:50 +0000)]
- move the CVS repository specification to a variable
- use authenticated access for now, since SF's anonymous CVS still
isn't in a happy state
Greg Stein [Thu, 9 Oct 2003 21:32:28 +0000 (21:32 +0000)]
Put in a little protection against the developer not having the check
package available.
sfbug #664541.
* configure.in: look for check.h. This will set up a HAVE_CHECK_H define.
* tests/chardata.c, tests/runtests.c: update banner. add test for
HAVE_CHECK_H and bail if not present.
Fred L. Drake, Jr. [Thu, 9 Oct 2003 12:18:41 +0000 (12:18 +0000)]
Minor updates before release.
Fred L. Drake, Jr. [Wed, 8 Oct 2003 03:32:25 +0000 (03:32 +0000)]
Added documentation for the pre-processor macros used to configure Expat.
Greg Stein [Sun, 28 Sep 2003 21:57:22 +0000 (21:57 +0000)]
Suggested fix from jtalkington@users.sf.net.
See bug #765227.
* lib/internal.h:
(FASTCALL, PTRFASTCALL): only define these macros for the GNU C compiler
on i386 platforms. apprently, they do not work well on PPC ports.
Karl Waclawek [Mon, 22 Sep 2003 14:14:54 +0000 (14:14 +0000)]
Improved comment on hash algorithm.