Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 42656 invoked from network); 29 Sep 2010 08:17:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Sep 2010 08:17:26 -0000 Received: (qmail 33021 invoked by uid 500); 29 Sep 2010 08:17:25 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 32136 invoked by uid 500); 29 Sep 2010 08:17:24 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 32010 invoked by uid 99); 29 Sep 2010 08:17:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 08:17:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 08:17:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7377923888FE; Wed, 29 Sep 2010 08:17:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1002512 [1/12] - in /apr/apr-util/vendor/expat/current: ./ conftools/ doc/ examples/ lib/ xmlwf/ Date: Wed, 29 Sep 2010 08:17:00 -0000 To: commits@apr.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100929081701.7377923888FE@eris.apache.org> Author: jorton Date: Wed Sep 29 08:16:58 2010 New Revision: 1002512 URL: http://svn.apache.org/viewvc?rev=1002512&view=rev Log: Import expat 1.95.2. Added: apr/apr-util/vendor/expat/current/ apr/apr-util/vendor/expat/current/COPYING apr/apr-util/vendor/expat/current/Changes apr/apr-util/vendor/expat/current/MANIFEST apr/apr-util/vendor/expat/current/Makefile.in apr/apr-util/vendor/expat/current/README apr/apr-util/vendor/expat/current/config.h.in apr/apr-util/vendor/expat/current/configure (with props) apr/apr-util/vendor/expat/current/configure.in apr/apr-util/vendor/expat/current/conftools/ apr/apr-util/vendor/expat/current/conftools/PrintPath (with props) apr/apr-util/vendor/expat/current/conftools/ac_c_bigendian_cross.m4 apr/apr-util/vendor/expat/current/conftools/config.guess (with props) apr/apr-util/vendor/expat/current/conftools/config.sub (with props) apr/apr-util/vendor/expat/current/conftools/install-sh (with props) apr/apr-util/vendor/expat/current/conftools/ltconfig (with props) apr/apr-util/vendor/expat/current/conftools/ltmain.sh apr/apr-util/vendor/expat/current/conftools/missing (with props) apr/apr-util/vendor/expat/current/conftools/mkinstalldirs (with props) apr/apr-util/vendor/expat/current/doc/ apr/apr-util/vendor/expat/current/doc/reference.html apr/apr-util/vendor/expat/current/doc/style.css apr/apr-util/vendor/expat/current/examples/ apr/apr-util/vendor/expat/current/examples/Makefile.in apr/apr-util/vendor/expat/current/examples/elements.c apr/apr-util/vendor/expat/current/examples/outline.c apr/apr-util/vendor/expat/current/lib/ apr/apr-util/vendor/expat/current/lib/Makefile.in apr/apr-util/vendor/expat/current/lib/ascii.h apr/apr-util/vendor/expat/current/lib/asciitab.h apr/apr-util/vendor/expat/current/lib/expat.h.in apr/apr-util/vendor/expat/current/lib/iasciitab.h apr/apr-util/vendor/expat/current/lib/latin1tab.h apr/apr-util/vendor/expat/current/lib/nametab.h apr/apr-util/vendor/expat/current/lib/utf8tab.h apr/apr-util/vendor/expat/current/lib/winconfig.h apr/apr-util/vendor/expat/current/lib/xmlparse.c apr/apr-util/vendor/expat/current/lib/xmlrole.c apr/apr-util/vendor/expat/current/lib/xmlrole.h apr/apr-util/vendor/expat/current/lib/xmltok.c apr/apr-util/vendor/expat/current/lib/xmltok.h apr/apr-util/vendor/expat/current/lib/xmltok_impl.c apr/apr-util/vendor/expat/current/lib/xmltok_impl.h apr/apr-util/vendor/expat/current/lib/xmltok_ns.c apr/apr-util/vendor/expat/current/xmlwf/ apr/apr-util/vendor/expat/current/xmlwf/Makefile.in apr/apr-util/vendor/expat/current/xmlwf/codepage.c (with props) apr/apr-util/vendor/expat/current/xmlwf/codepage.h (with props) apr/apr-util/vendor/expat/current/xmlwf/ct.c (with props) apr/apr-util/vendor/expat/current/xmlwf/filemap.h (with props) apr/apr-util/vendor/expat/current/xmlwf/readfilemap.c (with props) apr/apr-util/vendor/expat/current/xmlwf/unixfilemap.c (with props) apr/apr-util/vendor/expat/current/xmlwf/wfcheck.c (with props) apr/apr-util/vendor/expat/current/xmlwf/wfcheck.h (with props) apr/apr-util/vendor/expat/current/xmlwf/wfcheckmessage.c (with props) apr/apr-util/vendor/expat/current/xmlwf/win32filemap.c (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlfile.c (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlfile.h (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlmime.c (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlmime.h (with props) apr/apr-util/vendor/expat/current/xmlwf/xmltchar.h (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlurl.h (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlwf.c (with props) apr/apr-util/vendor/expat/current/xmlwf/xmlwin32url.cxx (with props) Added: apr/apr-util/vendor/expat/current/COPYING URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/COPYING?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/COPYING (added) +++ apr/apr-util/vendor/expat/current/COPYING Wed Sep 29 08:16:58 2010 @@ -0,0 +1,21 @@ +Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd + and Clark Cooper + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Added: apr/apr-util/vendor/expat/current/Changes URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/Changes?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/Changes (added) +++ apr/apr-util/vendor/expat/current/Changes Wed Sep 29 08:16:58 2010 @@ -0,0 +1,46 @@ +Release 1.95.2 Fri Jul 27 2001 + - Nore changes to make MSVC happy with the build; add a single + workspace to support both the library and xmlwf applicatiion. + - Added a Windows installer for Windows users; includes + xmlwf.exe. + - Added compile-time constants that can be used to determine the + Expat version + - Removed a lot of GNU-specific dependencies to aide portability + among the various Unix flavors. + - Fix the UTF-8 BOM bug. + - Cleaned up warning messages for several compilers. + - Added the -Wall, -Wstrict-prototypes options for GCC. +Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000 + - Changes to get expat to build under Microsoft compiler + - Removed all aborts and instead return an UNEXPECTED_STATE error. + - Fixed a bug where a stray '%' in an entity value would cause an + abort. + - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for + finding this oversight. + - Changed default patterns in lib/Makefile.in to fit non-GNU makes + Thanks to robin@unrated.net for reporting and providing an + account to test on. + - The reference had the wrong label for XML_SetStartNamespaceDecl. + Reported by an anonymous user. +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 Added: apr/apr-util/vendor/expat/current/MANIFEST URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/MANIFEST?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/MANIFEST (added) +++ apr/apr-util/vendor/expat/current/MANIFEST Wed Sep 29 08:16:58 2010 @@ -0,0 +1,58 @@ +Changes +COPYING +MANIFEST +Makefile.in +README +config.h.in +configure +configure.in +conftools/PrintPath +conftools/ac_c_bigendian_cross.m4 +conftools/config.guess +conftools/config.sub +conftools/install-sh +conftools/ltconfig +conftools/ltmain.sh +conftools/missing +conftools/mkinstalldirs +doc/reference.html +doc/style.css +examples/Makefile.in +examples/elements.c +examples/outline.c +lib/Makefile.in +lib/ascii.h +lib/asciitab.h +lib/expat.h.in +lib/iasciitab.h +lib/latin1tab.h +lib/nametab.h +lib/utf8tab.h +lib/xmlparse.c +lib/xmlrole.c +lib/xmlrole.h +lib/xmltok.c +lib/xmltok.h +lib/xmltok_impl.c +lib/xmltok_impl.h +lib/xmltok_ns.c +lib/winconfig.h +xmlwf/Makefile.in +xmlwf/codepage.c +xmlwf/codepage.h +xmlwf/ct.c +xmlwf/filemap.h +xmlwf/readfilemap.c +xmlwf/unixfilemap.c +xmlwf/wfcheck.c +xmlwf/wfcheck.h +xmlwf/wfcheckmessage.c +xmlwf/win32filemap.c +xmlwf/xmlfile.c +xmlwf/xmlfile.h +xmlwf/xmlmime.c +xmlwf/xmlmime.h +xmlwf/xmltchar.h +xmlwf/xmlurl.h +xmlwf/xmlwf.c +xmlwf/xmlwin32url.cxx Added: apr/apr-util/vendor/expat/current/Makefile.in URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/Makefile.in?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/Makefile.in (added) +++ apr/apr-util/vendor/expat/current/Makefile.in Wed Sep 29 08:16:58 2010 @@ -0,0 +1,165 @@ +################################################################ +# Process this file with top-level configure script to produce Makefile +# +# Copyright 2000 Clark Cooper +# +# This file is part of EXPAT. +# +# EXPAT is free software; you can redistribute it and/or modify it +# under the terms of the License (based on the MIT/X license) contained +# in the file COPYING that comes with this distribution. +# +# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT. +# +# --- +# I started using automake, but +# 1) it seemed like overkill +# 2) I don't want all the GNU policies +# 3) I wanted more explicit control over what gets built +# +# So I'm doing my Makefile.in files manually. But a fair part is based +# on what I learned from perusing the Makefile.in's generated by automake, +# and the automake authors still get my kudos. +# + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +top_builddir = . + + +AUTOCONF = autoconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ + +CC = @CC@ + +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +VERSION = @VERSION@ + +SUBDIRS = lib examples xmlwf +INSTALLSUBDIRS = lib xmlwf +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +CONFIG_HEADERS = config.h + +DISTDIR = $(PACKAGE)-$(VERSION) +DISTRIBUTION = $(DISTDIR).tar.gz + +default: lib xmlwf + +buildlib: lib + +all: $(SUBDIRS) + +Makefile: Makefile.in config.status + CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) config.status + +config.status: configure + @if test -f $@; then \ + $(SHELL) config.status --recheck ; \ + else \ + $(SHELL) configure ; \ + fi + +configure: configure.in + $(AUTOCONF) + +config.h: config.h.in config.status + CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADERS) \ + $(SHELL) ./config.status + +$(SUBDIRS): + cd $@ && $(MAKE) + +clean: + for dir in $(SUBDIRS); do \ + (cd $$dir && $(MAKE) clean); \ + done + rm -f core *~ + +distclean: + for dir in $(SUBDIRS); do \ + (cd $$dir && $(MAKE) distclean); \ + done + rm -f config.h config.status config.log config.cache libtool + rm -f Makefile examples/Makefile xmlwf/Makefile + +extraclean: distclean + rm -f aclocal.m4 config.h.in configure + rm -f conftools/config.guess conftools/config.sub + rm -f conftools/ltconfig conftools/ltmain.sh + +maintainer-clean: distclean + rm -f $(DISTRIBUTION) + rm -rf $(DISTDIR) + +distdir: MANIFEST + test -d $(DISTDIR) && rm -rf $(DISTDIR); \ + mkdir $(DISTDIR); \ + flist=`sed -e "s/[ ]:.*$$//" MANIFEST`; for file in $$flist; do \ + cp -P $$file $(DISTDIR); \ + done + +check: $(SUBDIRS) + @echo + @echo This package does not yet have a regression test. + @echo + +$(DISTRIBUTION): distdir + tar cf - $(DISTDIR) | gzip -9 >$(DISTRIBUTION) + +dist: $(DISTRIBUTION) + +install: + for dir in $(INSTALLSUBDIRS); do \ + (cd $$dir && $(MAKE) install); \ + done + +uninstall: + for dir in $(INSTALLSUBDIRS); do \ + (cd $$dir && $(MAKE) uninstall); \ + done + +.PHONY: buildlib all $(SUBDIRS) \ + clean distclean extraclean maintainer-clean \ + dist distdir \ + install uninstall Added: apr/apr-util/vendor/expat/current/README URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/README?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/README (added) +++ apr/apr-util/vendor/expat/current/README Wed Sep 29 08:16:58 2010 @@ -0,0 +1,72 @@ + + Expat, Release 1.95.2 + +This is expat, a 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 before 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. + +Windows users should use the expat_win32bin package, which includes +both precompiled libraries and executalbes, and source code for +developers. + +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. + +Versions of expat that have an odd minor version (the middle number in +the release above), are development releases and should be considered +as beta software. Releases with even minor version numbers are +intended to be production grade software. + +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, expat.h into /usr/local/include, and +xmlwf into /usr/local/bin. If, for example, you'd prefer to install +into /home/me/mystuff/lib, /home/me/mystuff/include, and +/home/me/mystuff/bin, 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. + +When building for use with C++, you may need to add additional +compiler flags to support proper interaction with exceptions. This +can be done by setting the CFLAGS environment variable. For example, +when using GCC, you can use: + + CFLAGS=-fexceptions ./configure + +Note for Solaris users: The "ar" command is usually located in +"/usr/ccs/bin", which is not in the default PATH. You will need to +add this to your path for the "make" command, and probably also switch +to GNU make (the "make" found in /usr/ccs/bin does not seem to work +properly -- appearantly it does not understand .PHONY directives). If +you're using ksh or bash, use this command to build: + + PATH=/usr/ccs/bin:$PATH make + +A reference manual is available in the file 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. Added: apr/apr-util/vendor/expat/current/config.h.in URL: http://svn.apache.org/viewvc/apr/apr-util/vendor/expat/current/config.h.in?rev=1002512&view=auto ============================================================================== --- apr/apr-util/vendor/expat/current/config.h.in (added) +++ apr/apr-util/vendor/expat/current/config.h.in Wed Sep 29 08:16:58 2010 @@ -0,0 +1,52 @@ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define to empty if the keyword does not work. */ +#undef const + +/* Define if you have a working `mmap' system call. */ +#undef HAVE_MMAP + +/* Define to `long' if doesn't define. */ +#undef off_t + +/* Define to `unsigned' if doesn't define. */ +#undef size_t + +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if you have the bcopy function. */ +#undef HAVE_BCOPY + +/* Define if you have the getpagesize function. */ +#undef HAVE_GETPAGESIZE + +/* Define if you have the memmove function. */ +#undef HAVE_MEMMOVE + +/* Define if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H + +/* whether byteorder is bigendian */ +#undef WORDS_BIGENDIAN + +/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ +#undef BYTEORDER + + +#define XML_NS +#define XML_DTD + +#define XML_CONTEXT_BYTES 1024 + +#ifndef HAVE_MEMMOVE +#ifdef HAVE_BCOPY +#define memmove(d,s,l) bcopy((s),(d),(l)) +#else +#define memmove(d,s,l) ;punting on memmove; +#endif + +#endif