summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoopercc <coopercc>2000-09-29 14:57:44 +0000
committercoopercc <coopercc>2000-09-29 14:57:44 +0000
commit483e367bf271db50ac89f88b164f43907f019668 (patch)
tree704a2b00ea504e44fcf13cb2a6d7d3ffadcc2d47
parent9ea95f8d619bde5af1562b6d029f9286db699d42 (diff)
downloadlibexpat-483e367bf271db50ac89f88b164f43907f019668.tar.gz
Versioning information, fill in Changes file, possible final commit before
first release (1.95.0)
-rw-r--r--Changes22
-rw-r--r--Makefile.in2
-rw-r--r--README45
-rw-r--r--config.hin6
-rw-r--r--doc/reference.html11
-rw-r--r--lib/Makefile.in6
-rw-r--r--lib/expat.h4
-rw-r--r--lib/xmlparse.c8
-rw-r--r--lib/xmlrole.c3
-rw-r--r--lib/xmltok.c3
10 files changed, 55 insertions, 55 deletions
diff --git a/Changes b/Changes
index e69de29..e3c5c17 100644
--- a/Changes
+++ b/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 \ No newline at end of file
diff --git a/Makefile.in b/Makefile.in
index 7befd0e..b318c08 100644
--- a/Makefile.in
+++ b/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/README b/README
index 3274cbc..e69de29 100644
--- a/README
+++ b/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/config.hin b/config.hin
index c3942a5..5dd8d5b 100644
--- a/config.hin
+++ b/config.hin
@@ -43,12 +43,6 @@
/* Define if you have the <unistd.h> 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/doc/reference.html b/doc/reference.html
index f37f55f..bf73a70 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -47,6 +47,7 @@ copyright and to distribute it with expat.
<ul>
<li><a href="#XML_ParserCreate">XML_ParserCreate</a></li>
<li><a href="#XML_ParserCreateNS">XML_ParserCreateNS</a></li>
+ <li><a href="#XML_ParserCreate_MM">XML_ParserCreate_MM</a></li>
<li><a href="#XML_ExternalEntityParserCreate">XML_ExternalEntityParserCreate</a></li>
<li><a href="#XML_ParserFree">XML_ParserFree</a></li>
</ul>
@@ -110,6 +111,8 @@ copyright and to distribute it with expat.
<li><a href="#XML_GetIdAttributeIndex">XML_GetIdAttributeIndex</a></li>
<li><a href="#XML_SetEncoding">XML_SetEncoding</a></li>
<li><a href="#XML_SetParamEntityParsing">XML_SetParamEntityParsing</a></li>
+ <li><a href="#XML_SetReturnNSTriplet">XML_SetReturnNSTriplet</a></li>
+ <li><a href="#XML_ExpatVersion">XML_ExpatVersion</a></li>
</ul>
</li>
</ul>
@@ -1462,5 +1465,13 @@ The order of returned parts is URI, local name, and prefix.</p>
default manner, URI then local_name separated by the namespace separator.</p>
</div>
+<div class="fcndec"><a name="XML_ExpatVersion"><pre>
+XML_LChar *
+XML_ExpatVersion();
+</pre></a>
+<div class="fcndef">
+Return the library version string.
+</div>
+
</body>
</html>
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 369bbdc..95af269 100644
--- a/lib/Makefile.in
+++ b/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/lib/expat.h b/lib/expat.h
index e3ae452..d913e59 100644
--- a/lib/expat.h
+++ b/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/lib/xmlparse.c b/lib/xmlparse.c
index c1441b6..b246b70 100644
--- a/lib/xmlparse.c
+++ b/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: /cvsroot/expat/expat/lib/xmlparse.c,v 1.6 2000/09/29 14:57:45 coopercc Exp $";
+
#include <config.h>
#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/lib/xmlrole.c b/lib/xmlrole.c
index 19a8018..fb50856 100644
--- a/lib/xmlrole.c
+++ b/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: /cvsroot/expat/expat/lib/xmlrole.c,v 1.4 2000/09/29 14:57:45 coopercc Exp $";
+
#include <config.h>
#include "xmlrole.h"
#include "ascii.h"
diff --git a/lib/xmltok.c b/lib/xmltok.c
index 8351cc6..173732a 100644
--- a/lib/xmltok.c
+++ b/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: /cvsroot/expat/expat/lib/xmltok.c,v 1.4 2000/09/29 14:57:45 coopercc Exp $";
+
#include <config.h>
#include "xmltok.h"
#include "nametab.h"