From aa45fb851a881b10ee3afacef8688f207807b871 Mon Sep 17 00:00:00 2001 From: Clark Cooper Date: Fri, 29 Sep 2000 14:57:45 +0000 Subject: [PATCH] Versioning information, fill in Changes file, possible final commit before first release (1.95.0) --- expat/Changes | 22 ++++++++++++++++++++ expat/Makefile.in | 2 ++ expat/README | 45 ---------------------------------------- expat/config.hin | 6 ------ expat/doc/reference.html | 11 ++++++++++ expat/lib/Makefile.in | 6 ++---- expat/lib/expat.h | 4 ++++ expat/lib/xmlparse.c | 8 +++++++ expat/lib/xmlrole.c | 3 +++ expat/lib/xmltok.c | 3 +++ 10 files changed, 55 insertions(+), 55 deletions(-) diff --git a/expat/Changes b/expat/Changes index e69de29b..9555646b 100644 --- a/expat/Changes +++ b/expat/Changes @@ -0,0 +1,22 @@ +Release 1.95.0 Fri Sep 29 2000 + - XML_ParserCreate_MM + Allows you to set a memory management suite to replace the + standard malloc,realloc, and free. + - XML_SetReturnNSTriplet + If you turn this feature on when namespace processing is in + effect, then qualified, prefixed element and attribute names + are returned as "uri|name|prefix" where '|' is whatever + separator character is used in namespace processing. + - Merged in features from perl-expat + o XML_SetElementDeclHandler + o XML_SetAttlistDeclHandler + o XML_SetXmlDeclHandler + o XML_SetEntityDeclHandler + o StartDoctypeDeclHandler takes 3 additional parameters: + sysid, pubid, has_internal_subset + o Many paired handler setters (like XML_SetElementHandler) + now have corresponding individual handler setters + o XML_GetInputContext for getting the input context of + the current parse position. + - Added reference material + - Packaged into a distribution that builds a sharable library@ diff --git a/expat/Makefile.in b/expat/Makefile.in index 7befd0eb..b318c08e 100644 --- a/expat/Makefile.in +++ b/expat/Makefile.in @@ -128,6 +128,8 @@ maintainer-clean: distclean rm -rf $(DISTDIR) distdir: MANIFEST + sed -e "1,3s/Release .*/Release $(VERSION)." README > README.tmp; \ + mv -f README.tmp README; \ test -d $(DISTDIR) && rm -rf $(DISTDIR); \ mkdir $(DISTDIR); \ flist=`sed -e "s/[ ]:.*$$//" MANIFEST`; for file in $$flist; do \ diff --git a/expat/README b/expat/README index 3274cbce..e69de29b 100644 --- a/expat/README +++ b/expat/README @@ -1,45 +0,0 @@ - - Expat, Release 2.00 - -This is expat, the C library for parsing XML, written by James Clark. Expat -is a stream oriented XML parser. This means that you register handlers with -the parser prior to starting the parse. These handlers are called when -the parser discovers the associated structures in the document being parsed. -A start tag is an example of the kind of structures for which you may -register handlers. - -Expat is free software. You may copy, distribute, and modify it under the -terms of the License contained in the file, COPYING, distributed with this -package. This license is the same as the MIT/X Consortium license. - -To build expat, you first run the configuration shell script in the top -level distribution directory: - - ./configure - -There are many options which you may provide to configure (which you can -discover by running configure with the --help option.) But the one of most -interest is the one that sets the installation directory. By default, -the configure script will set things up to install libexpat into -/usr/local/lib and expat.h into /usr/local/include. If, for example, you'd -prefer to install into /home/me/mystuff/lib and /home/me/mystuff/include, -you can tell configure about that with: - - ./configure --prefix=/home/me/mystuff - -After running the configure script, the "make" command will build things and -"make install" will install things into their proper location. Note that -you need to have write permission into the directories into which things -will be installed. - -A reference manual is available in the doc/reference.html in this -distribution. - -The homepage for this project is http://expat.sourceforge.net. There are -links there to connect you to the bug reports page. If you need to report -a bug when you don't have access to a browser, you may also send a bug -report by email to expat-bugs@lists.sourceforge.net. - -Discussion related to the direction of future expat development takes place -on expat-discuss@lists.sourceforge.net. Archives of this list may be found -at http://www.geocrawler.com/redir-sf.php3?list=expat-discuss. diff --git a/expat/config.hin b/expat/config.hin index c3942a5d..5dd8d5b7 100644 --- a/expat/config.hin +++ b/expat/config.hin @@ -43,12 +43,6 @@ /* Define if you have the header file. */ #undef HAVE_UNISTD_H -/* Name of package */ -#undef PACKAGE - -/* Version number of package */ -#undef VERSION - #define XML_NS #define XML_DTD diff --git a/expat/doc/reference.html b/expat/doc/reference.html index f37f55f0..bf73a70e 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -47,6 +47,7 @@ copyright and to distribute it with expat. @@ -110,6 +111,8 @@ copyright and to distribute it with expat.
  • XML_GetIdAttributeIndex
  • XML_SetEncoding
  • XML_SetParamEntityParsing
  • +
  • XML_SetReturnNSTriplet
  • +
  • XML_ExpatVersion
  • @@ -1462,5 +1465,13 @@ The order of returned parts is URI, local name, and prefix.

    default manner, URI then local_name separated by the namespace separator.

    +
    +XML_LChar *
    +XML_ExpatVersion();
    +
    +
    +Return the library version string. +
    + diff --git a/expat/lib/Makefile.in b/expat/lib/Makefile.in index 369bbdc2..95af269d 100644 --- a/expat/lib/Makefile.in +++ b/expat/lib/Makefile.in @@ -46,8 +46,6 @@ DESTDIR = top_builddir = .. -AUTOCONF = @AUTOCONF@ - INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -60,7 +58,6 @@ CC = @CC@ DLLTOOL = @DLLTOOL@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ -MAKEINFO = @MAKEINFO@ OBJDUMP = @OBJDUMP@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ @@ -80,7 +77,8 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = -DEFS = @DEFS@ -I$(srcdir) -I.. +INCLUDES = -I$(srcdir) -I.. +DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)"' CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ diff --git a/expat/lib/expat.h b/expat/lib/expat.h index e3ae4525..d913e599 100644 --- a/expat/lib/expat.h +++ b/expat/lib/expat.h @@ -699,6 +699,10 @@ XML_ParserFree(XML_Parser parser); const XML_LChar XMLPARSEAPI * XML_ErrorString(int code); +/* Return a string containing the version number of this expat */ +const XML_LChar XMLPARSEAPI * +XML_ExpatVersion(); + #ifdef __cplusplus } #endif diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index c1441b62..1c7c8f32 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -3,6 +3,9 @@ Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ +static char RCSId[] + = "$Header$"; + #include #ifdef __declspec @@ -1304,6 +1307,11 @@ const XML_LChar *XML_ErrorString(int code) return 0; } +const XML_LChar * +XML_ExpatVersion() { + return VERSION; +} + static enum XML_Error contentProcessor(XML_Parser parser, const char *start, diff --git a/expat/lib/xmlrole.c b/expat/lib/xmlrole.c index 19a80189..6c3518fb 100644 --- a/expat/lib/xmlrole.c +++ b/expat/lib/xmlrole.c @@ -3,6 +3,9 @@ Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ +static char RCSId[] + = "$Header$"; + #include #include "xmlrole.h" #include "ascii.h" diff --git a/expat/lib/xmltok.c b/expat/lib/xmltok.c index 8351cc65..788e79f9 100644 --- a/expat/lib/xmltok.c +++ b/expat/lib/xmltok.c @@ -3,6 +3,9 @@ Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ +static char RCSId[] + = "$Header$"; + #include #include "xmltok.h" #include "nametab.h"