You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2004/02/24 11:24:35 UTC
cvs commit: tcl-rivet/win makefile.vc
davidw 2004/02/24 02:24:35
Modified: . ChangeLog LICENSE
contrib two-mode-mode.el
debian copyright
doc norefchunk.xsl refentry.xsl rivet-chunk.xsl
rivet-nochunk.xsl rivet.it.xml rivet.ru.xml
rivet.xml rivet.xsl
rivet init.tcl
rivet/packages/commserver commserver.tcl server.tcl
rivet/packages/dio dio.tcl diodisplay.tcl
rivet/packages/dtcl dtcl.tcl
rivet/packages/form form.tcl
rivet/packages/session session-class.tcl session-httpd.conf
rivet/packages/simpledb simpledb.tcl
rivet/packages/tclrivet tclrivet.tcl tclrivetparser.tcl
src TclWeb.c TclWebapache.c TclWebcgi.c
apache_multipart_buffer.c apache_request.c
configure.tcl mod_rivet.c parserPkgInit.c
rivetChannel.c rivetCore.c rivetCrypt.c rivetList.c
rivetParser.c rivetPkgInit.c rivetWWW.c
src/buildscripts aardvark.tcl cmdline.tcl
tests runtests.tcl
tests/apachetest apachetest.tcl
win makefile.vc
Added: . NOTICE
Removed: src/buildscripts LICENSE
Log:
* LICENSE: Switch to Apache 2.0 License.
Revision Changes Path
1.168 +4 -0 tcl-rivet/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/tcl-rivet/ChangeLog,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- ChangeLog 19 Feb 2004 23:23:48 -0000 1.167
+++ ChangeLog 24 Feb 2004 10:24:27 -0000 1.168
@@ -1,3 +1,7 @@
+2004-02-23 David N. Welton <da...@dedasys.com>
+
+ * LICENSE: Switch to Apache 2.0 License.
+
2004-02-20 David N. Welton <da...@dedasys.com>
* src/TclWebapache.c (TclWeb_SetHeaderType): strdup object's
1.4 +202 -53 tcl-rivet/LICENSE
Index: LICENSE
===================================================================
RCS file: /home/cvs/tcl-rivet/LICENSE,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- LICENSE 6 Feb 2004 16:59:54 -0000 1.3
+++ LICENSE 24 Feb 2004 10:24:27 -0000 1.4
@@ -1,53 +1,202 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2004 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "mod_rivet"
- * or "rivet", nor may "rivet" appear in their name, without prior
- * written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
1.1 tcl-rivet/NOTICE
Index: NOTICE
===================================================================
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
1.2 +13 -5 tcl-rivet/contrib/two-mode-mode.el
Index: two-mode-mode.el
===================================================================
RCS file: /home/cvs/tcl-rivet/contrib/two-mode-mode.el,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- two-mode-mode.el 5 Aug 2003 12:56:51 -0000 1.1
+++ two-mode-mode.el 24 Feb 2004 10:24:27 -0000 1.2
@@ -1,11 +1,19 @@
;; two-mode-mode.el -- switches between tcl and sgml(html) modes
;; $Id$
-;; two-mode-mode.el is Copyright (C) David Welton <da...@dedasys.com>
-;; 1999-2001, Copyright (C) the Apache Software Foundation 2001-2003.
+;; Copyright 1999-2004 The Apache Software Foundation
-;; two-mode-mode.el may be distributed under the terms of the Apache
-;; Software License, Version 1.1
+;; Licensed under the Apache License, Version 2.0 (the "License");
+;; you may not use this file except in compliance with the License.
+;; You may obtain a copy of the License at
+
+;; http://www.apache.org/licenses/LICENSE-2.0
+
+;; Unless required by applicable law or agreed to in writing, software
+;; distributed under the License is distributed on an "AS IS" BASIS,
+;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;; See the License for the specific language governing permissions and
+;; limitations under the License.
;; These same concepts could be used to do a number of neat 2-mode
;; modes, for things like PHP, or anything else where you have a
1.4 +202 -54 tcl-rivet/debian/copyright
Index: copyright
===================================================================
RCS file: /home/cvs/tcl-rivet/debian/copyright,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- copyright 26 Mar 2003 09:39:42 -0000 1.3
+++ copyright 24 Feb 2004 10:24:27 -0000 1.4
@@ -3,60 +3,208 @@
It was downloaded from http://tcl.apache.org/rivet/
-Upstream Authors: David N. Welton and Damon Courtney
+Upstream Authors: The Apache Software Foundation
Copyright:
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "mod_rivet"
- * or "rivet", nor may "rivet" appear in their name, without prior
- * written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
1.2 +16 -0 tcl-rivet/doc/norefchunk.xsl
Index: norefchunk.xsl
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/norefchunk.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- norefchunk.xsl 29 Aug 2003 16:46:32 -0000 1.1
+++ norefchunk.xsl 24 Feb 2004 10:24:28 -0000 1.2
@@ -3,6 +3,22 @@
version="1.0"
exclude-result-prefixes="exsl">
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<!-- Why is chunk-code now xsl:included?
Suppose you want to customize *both* the chunking algorithm used *and* the
1.2 +18 -1 tcl-rivet/doc/refentry.xsl
Index: refentry.xsl
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/refentry.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- refentry.xsl 29 Aug 2003 16:46:32 -0000 1.1
+++ refentry.xsl 24 Feb 2004 10:24:28 -0000 1.2
@@ -12,6 +12,23 @@
******************************************************************** -->
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+
<!-- ==================================================================== -->
<xsl:template match="reference">
1.4 +17 -1 tcl-rivet/doc/rivet-chunk.xsl
Index: rivet-chunk.xsl
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet-chunk.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rivet-chunk.xsl 20 Nov 2003 10:51:13 -0000 1.3
+++ rivet-chunk.xsl 24 Feb 2004 10:24:28 -0000 1.4
@@ -4,6 +4,22 @@
exclude-result-prefixes="doc"
version='1.0'>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<!--
<xsl:output method="html"
encoding="ISO-8859-1"
1.4 +17 -1 tcl-rivet/doc/rivet-nochunk.xsl
Index: rivet-nochunk.xsl
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet-nochunk.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rivet-nochunk.xsl 17 Feb 2004 17:45:05 -0000 1.3
+++ rivet-nochunk.xsl 24 Feb 2004 10:24:28 -0000 1.4
@@ -4,6 +4,22 @@
exclude-result-prefixes="doc"
version='1.0'>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<!--
<xsl:output method="html"
encoding="ISO-8859-1"
1.5 +16 -0 tcl-rivet/doc/rivet.it.xml
Index: rivet.it.xml
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet.it.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rivet.it.xml 20 Dec 2003 09:52:54 -0000 1.4
+++ rivet.it.xml 24 Feb 2004 10:24:28 -0000 1.5
@@ -10,6 +10,22 @@
<!ENTITY upload.rvt SYSTEM "examples/upload.rvt" >
]>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<article lang="it">
<articleinfo>
<title>Apache Rivet</title>
1.9 +16 -0 tcl-rivet/doc/rivet.ru.xml
Index: rivet.ru.xml
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet.ru.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- rivet.ru.xml 20 Dec 2003 09:52:54 -0000 1.8
+++ rivet.ru.xml 24 Feb 2004 10:24:28 -0000 1.9
@@ -10,6 +10,22 @@
<!ENTITY upload.rvt SYSTEM "examples/upload.rvt" >
]>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<article lang="ru">
<articleinfo>
<title>Apache Rivet</title>
1.42 +19 -2 tcl-rivet/doc/rivet.xml
Index: rivet.xml
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- rivet.xml 19 Feb 2004 23:23:48 -0000 1.41
+++ rivet.xml 24 Feb 2004 10:24:28 -0000 1.42
@@ -10,6 +10,22 @@
<!ENTITY upload.rvt SYSTEM "examples/upload.rvt" >
]>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<!-- $Id$ -->
<article>
@@ -18,6 +34,7 @@
<copyright>
<year>2002</year>
<year>2003</year>
+ <year>2004</year>
<holder>Apache Software Foundation</holder>
</copyright>
<author>
1.13 +16 -0 tcl-rivet/doc/rivet.xsl
Index: rivet.xsl
===================================================================
RCS file: /home/cvs/tcl-rivet/doc/rivet.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- rivet.xsl 29 Aug 2003 16:46:32 -0000 1.12
+++ rivet.xsl 24 Feb 2004 10:24:28 -0000 1.13
@@ -2,6 +2,22 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
<!-- This is the body of the XSL stylesheet for Rivet. It is called
from either rivet-chunk.xsl or rivet-nochunk.xsl. -->
1.8 +14 -0 tcl-rivet/rivet/init.tcl
Index: init.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/init.tcl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- init.tcl 26 Mar 2003 07:52:29 -0000 1.7
+++ init.tcl 24 Feb 2004 10:24:32 -0000 1.8
@@ -1,3 +1,17 @@
+# Copyright 2002-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
package provide RivetTcl 1.1
namespace eval ::Rivet {
1.4 +17 -3 tcl-rivet/rivet/packages/commserver/commserver.tcl
Index: commserver.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/commserver/commserver.tcl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- commserver.tcl 29 Sep 2003 13:09:35 -0000 1.3
+++ commserver.tcl 24 Feb 2004 10:24:32 -0000 1.4
@@ -1,9 +1,23 @@
-# $Id$
-
-# commserver --
+# commserver.tcl --
# This forks off an external server process with 'comm' loaded in it,
# for use as an IPC system.
+
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# $Id$
package provide commserver 0.1
1.5 +17 -1 tcl-rivet/rivet/packages/commserver/server.tcl
Index: server.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/commserver/server.tcl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- server.tcl 29 Sep 2003 13:09:35 -0000 1.4
+++ server.tcl 24 Feb 2004 10:24:32 -0000 1.5
@@ -1,6 +1,22 @@
+# server.tcl --
+
# This is a server that is detached from the main Apache process, in
# order to provide inter-process comunication via tcllib's comm
# package.
+
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# $Id$
1.6 +22 -4 tcl-rivet/rivet/packages/dio/dio.tcl
Index: dio.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/dio/dio.tcl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dio.tcl 15 Jul 2002 04:06:26 -0000 1.5
+++ dio.tcl 24 Feb 2004 10:24:32 -0000 1.6
@@ -1,3 +1,21 @@
+# dio.tcl -- implements a database abstraction layer.
+
+# Copyright 2002-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+
catch {package require Tclx}
package require Itcl
@@ -407,9 +425,9 @@
seek 0
set i 0
while {[next -list list]} {
- if {[incr i] >= $cacheSize} { break }
+ if {[incr i] >= $cacheSize} { break }
}
- set autocache $autostatus
+ set autocache $autostatus
seek $currrow
set cached 1
}
@@ -447,7 +465,7 @@
}
if {$autocache} { set cacheArray($rowid) $list }
}
-
+
incr rowid
switch -- $type {
@@ -529,7 +547,7 @@
switch -- $var {
"dbname" { set db $val }
default { set $var $val }
- }
+ }
}
}
1.5 +20 -4 tcl-rivet/rivet/packages/dio/diodisplay.tcl
Index: diodisplay.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/dio/diodisplay.tcl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- diodisplay.tcl 20 Jan 2004 20:06:34 -0000 1.4
+++ diodisplay.tcl 24 Feb 2004 10:24:32 -0000 1.5
@@ -1,3 +1,19 @@
+# diodisplay.tcl --
+
+# Copyright 2002-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
package require Itcl
package require DIO
package require form
@@ -274,7 +290,7 @@
(![lempty $sortfields] && [lsearch $sortfields $field] < 0)} {
set html $text
} else {
- set html {<A HREF="}
+ set html "<A HREF=\""
append html "$document?mode=$response(mode)"
foreach var {query searchBy numResults} {
if {[info exists response($var)]} {
@@ -489,10 +505,10 @@
}
return [$DIO sql_limit_syntax $pagesize $offset]
}
-
+
method Search {} {
- set searchField $FieldTextMap($response(searchBy))
+ set searchField $FieldTextMap($response(searchBy))
set query "-$searchField $response(query)"
@@ -914,7 +930,7 @@
if {[lsearch -exact $values $val] > -1} { return 1 }
return 0
}
-
+
public variable true "Yes"
public variable false "No"
public variable values "1 y yes t true on"
1.3 +15 -1 tcl-rivet/rivet/packages/dtcl/dtcl.tcl
Index: dtcl.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/dtcl/dtcl.tcl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dtcl.tcl 11 Mar 2002 00:31:10 -0000 1.2
+++ dtcl.tcl 24 Feb 2004 10:24:32 -0000 1.3
@@ -1,9 +1,23 @@
###
-## This package is meant as a compatibility layer between Rivet and mod_dtcl.
+## This package is a compatibility layer between Rivet and mod_dtcl.
##
## All of the mod_dtcl commands call their Rivet equivalents and return the
## proper responses.
###
+
+# Copyright 2002-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
package provide Dtcl 1.0
1.5 +18 -1 tcl-rivet/rivet/packages/form/form.tcl
Index: form.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/form/form.tcl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- form.tcl 8 Aug 2003 20:54:12 -0000 1.4
+++ form.tcl 24 Feb 2004 10:24:32 -0000 1.5
@@ -1,3 +1,20 @@
+# form.tcl -- generate forms automatically.
+
+# Copyright 2002-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
package require Itcl
package provide form 1.0
@@ -167,7 +184,7 @@
set default $data(value)
unset data(value)
}
-
+
if {[lempty $labels]} { set labels $values }
html "<select name=\"$name\" [argstring data]>"
1.3 +15 -1 tcl-rivet/rivet/packages/session/session-class.tcl
Index: session-class.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/session/session-class.tcl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- session-class.tcl 6 Jan 2004 07:17:00 -0000 1.2
+++ session-class.tcl 24 Feb 2004 10:24:32 -0000 1.3
@@ -4,6 +4,20 @@
# $Id$
#
+# Copyright 2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
package provide Session 1.0
package require Itcl
1.2 +2 -2 tcl-rivet/rivet/packages/session/session-httpd.conf
Index: session-httpd.conf
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/session/session-httpd.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- session-httpd.conf 5 Jan 2004 21:08:26 -0000 1.1
+++ session-httpd.conf 24 Feb 2004 10:24:32 -0000 1.2
@@ -1,6 +1,6 @@
##
## session-httpd.conf -- include in for from an Apache httpd.conf file
-## to pick up
+## to pick up
##
## Include file
##
1.3 +19 -3 tcl-rivet/rivet/packages/simpledb/simpledb.tcl
Index: simpledb.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/simpledb/simpledb.tcl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- simpledb.tcl 15 Jan 2004 14:01:11 -0000 1.2
+++ simpledb.tcl 24 Feb 2004 10:24:34 -0000 1.3
@@ -1,4 +1,19 @@
-# simpledb.tcl -- provide a simple tcl database.
+# simpledb.tcl -- provides a simple tcl database.
+
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# $Id$
package provide simpledb 0.1
@@ -166,7 +181,8 @@
# simpledb::delitem --
#
-# Delete an item from the database.
+# Delete an item from the database. This is slow because of the
+# lsearch.
#
# Arguments:
# table - table name.
1.2 +15 -1 tcl-rivet/rivet/packages/tclrivet/tclrivet.tcl
Index: tclrivet.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/tclrivet/tclrivet.tcl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tclrivet.tcl 20 Dec 2003 23:29:05 -0000 1.1
+++ tclrivet.tcl 24 Feb 2004 10:24:34 -0000 1.2
@@ -1,5 +1,19 @@
# Tcl versions of Rivet commands.
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# $Id$
package provide tclrivet 0.1
1.3 +15 -1 tcl-rivet/rivet/packages/tclrivet/tclrivetparser.tcl
Index: tclrivetparser.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/rivet/packages/tclrivet/tclrivetparser.tcl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tclrivetparser.tcl 6 Feb 2004 16:59:55 -0000 1.2
+++ tclrivetparser.tcl 24 Feb 2004 10:24:34 -0000 1.3
@@ -1,5 +1,19 @@
# tclrivetparser.tcl -- parse Rivet files in pure Tcl.
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# $Id$
package provide tclrivetparser 0.1
1.2 +16 -1 tcl-rivet/src/TclWeb.c
Index: TclWeb.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/TclWeb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TclWeb.c 18 Jan 2002 19:08:53 -0000 1.1
+++ TclWeb.c 24 Feb 2004 10:24:34 -0000 1.2
@@ -3,6 +3,21 @@
* Common API layer.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
/* $Id$ */
#include <tcl.h>
1.47 +16 -1 tcl-rivet/src/TclWebapache.c
Index: TclWebapache.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/TclWebapache.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- TclWebapache.c 19 Feb 2004 23:23:48 -0000 1.46
+++ TclWebapache.c 24 Feb 2004 10:24:34 -0000 1.47
@@ -7,6 +7,21 @@
* operations.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
/* $Id$ */
#include <tcl.h>
1.4 +19 -1 tcl-rivet/src/TclWebcgi.c
Index: TclWebcgi.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/TclWebcgi.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TclWebcgi.c 19 Jan 2002 16:11:52 -0000 1.3
+++ TclWebcgi.c 24 Feb 2004 10:24:34 -0000 1.4
@@ -6,6 +6,22 @@
* TclWeb.h. Low-level implementations are provided in this file.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+
/* $Id$ */
#include <tcl.h>
@@ -26,6 +42,8 @@
Tcl_InitHashTable(req->headers, TCL_STRING_KEYS);
return TCL_OK;
}
+
+/* All these are still TODO. */
int
TclWeb_SendHeaders(TclWebRequest *req)
1.5 +14 -57 tcl-rivet/src/apache_multipart_buffer.c
Index: apache_multipart_buffer.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/apache_multipart_buffer.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- apache_multipart_buffer.c 26 Mar 2003 01:18:17 -0000 1.4
+++ apache_multipart_buffer.c 24 Feb 2004 10:24:34 -0000 1.5
@@ -1,60 +1,17 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * nor may "Apache" appear in their name, without prior written
- * permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- *
- * Portions of this software are based upon public domain software
- * originally written at the National Center for Supercomputing Applications,
- * University of Illinois, Urbana-Champaign.
- */
+/* Copyright -2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
#include "apache_multipart_buffer.h"
1.9 +18 -59 tcl-rivet/src/apache_request.c
Index: apache_request.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/apache_request.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- apache_request.c 30 Sep 2003 18:27:47 -0000 1.8
+++ apache_request.c 24 Feb 2004 10:24:34 -0000 1.9
@@ -1,64 +1,22 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * nor may "Apache" appear in their name, without prior written
- * permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- *
- * Portions of this software are based upon public domain software
- * originally written at the National Center for Supercomputing Applications,
- * University of Illinois, Urbana-Champaign.
- */
+/* Copyright 2000-2004 The Apache Software Foundation
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#include <errno.h>
+#include <string.h>
#include "apache_request.h"
#include "apache_multipart_buffer.h"
-
int fill_buffer(multipart_buffer *self); /* needed for mozilla hack */
static void req_plustospace(char *str)
@@ -357,7 +315,7 @@
return OK;
}
-/* static int urlword_dlm[] = {'&', ';', 0}; */
+static int urlword_dlm[] = {'&', ';', 0};
static char *my_urlword(pool *p, const char **line)
{
@@ -429,6 +387,7 @@
req->parsed = 1;
return result;
+
}
int ApacheRequest_parse_urlencoded(ApacheRequest *req)
1.7 +15 -1 tcl-rivet/src/configure.tcl
Index: configure.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/src/configure.tcl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configure.tcl 2 Jan 2004 22:53:58 -0000 1.6
+++ configure.tcl 24 Feb 2004 10:24:34 -0000 1.7
@@ -4,6 +4,20 @@
# Tcl configure-like system.
+# Copyright 2003-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# ./configure.tcl -help for options.
# $Id$
1.71 +13 -62 tcl-rivet/src/mod_rivet.c
Index: mod_rivet.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/mod_rivet.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- mod_rivet.c 30 Sep 2003 20:47:11 -0000 1.70
+++ mod_rivet.c 24 Feb 2004 10:24:34 -0000 1.71
@@ -1,68 +1,19 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "mod_rivet"
- * or "rivet", nor may "rivet" appear in their name, without prior
- * written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- *
- * Portions of this software are based upon public domain software
- * originally written at the National Center for Supercomputing Applications,
- * University of Illinois, Urbana-Champaign. */
+/* mod_rivet.c -- The apache module itself, for Apache 1.3. */
-/* $Id$ */
+/* Copyright 2000-2004 The Apache Software Foundation
-/* mod_rivet.c by David Welton <da...@apache.org>
- * and Damon Courtney <da...@unreality.com>
- * Originally based off code from mod_include.
- */
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
-/* See http://tcl.apache.org/mod_rivet/credits.rvt for additional credits. */
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
/* Apache includes */
#include "httpd.h"
1.5 +17 -1 tcl-rivet/src/parserPkgInit.c
Index: parserPkgInit.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/parserPkgInit.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- parserPkgInit.c 20 Dec 2003 23:29:05 -0000 1.4
+++ parserPkgInit.c 24 Feb 2004 10:24:34 -0000 1.5
@@ -4,6 +4,22 @@
* Rivet.
*/
+/* Copyright 2003-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+
/* $Id$ */
#include <tcl.h>
1.3 +17 -2 tcl-rivet/src/rivetChannel.c
Index: rivetChannel.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetChannel.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rivetChannel.c 22 Oct 2002 18:21:47 -0000 1.2
+++ rivetChannel.c 24 Feb 2004 10:24:34 -0000 1.3
@@ -1,3 +1,20 @@
+/* rivetChannel.c -- describes the mod_rivet Tcl output channel. */
+
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
@@ -8,8 +25,6 @@
#include "apache_request.h"
#include "mod_rivet.h"
#include "TclWeb.h"
-
-/* This file describes the mod_rivet Tcl output channel. */
static int
inputproc(ClientData instancedata, char *buf, int toRead, int *errorCodePtr)
1.40 +16 -1 tcl-rivet/src/rivetCore.c
Index: rivetCore.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetCore.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- rivetCore.c 19 Feb 2004 23:23:48 -0000 1.39
+++ rivetCore.c 24 Feb 2004 10:24:34 -0000 1.40
@@ -2,6 +2,21 @@
* rivetCore.c - Core commands which are compiled into mod_rivet itself.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
/* $Id$ */
#include "httpd.h"
1.7 +15 -0 tcl-rivet/src/rivetCrypt.c
Index: rivetCrypt.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetCrypt.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rivetCrypt.c 5 Jul 2003 14:23:18 -0000 1.6
+++ rivetCrypt.c 24 Feb 2004 10:24:34 -0000 1.7
@@ -2,6 +2,21 @@
* rivetCrypt.c - Commands to do encryption and decryption.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
#include <tcl.h>
#include <string.h>
#include "rivet.h"
1.5 +20 -4 tcl-rivet/src/rivetList.c
Index: rivetList.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetList.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rivetList.c 5 Jul 2003 14:23:18 -0000 1.4
+++ rivetList.c 24 Feb 2004 10:24:34 -0000 1.5
@@ -2,6 +2,23 @@
* rivetList.c - Rivet commands that manipulate lists.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/* Code originally from TclX by Karl Lehenbauer and others. */
+
#include <tcl.h>
#include <string.h>
#include "rivet.h"
@@ -71,7 +88,6 @@
(char *)NULL);
return TCL_ERROR;
}
-
}
if( list >= objc - 1 ) {
@@ -95,9 +111,9 @@
matchedListPtr = Tcl_NewListObj(0, NULL);
}
if (Tcl_ListObjAppendElement(interp, matchedListPtr,
- listObjv[i]) != TCL_OK)
+ listObjv[i]) != TCL_OK) {
goto errorExit;
-
+ }
continue;
}
@@ -167,7 +183,7 @@
Tcl_SetObjResult(interp, matchedListPtr);
}
return TCL_OK;
-
+
errorExit:
if(matchedListPtr != NULL)
Tcl_DecrRefCount(matchedListPtr);
1.13 +16 -1 tcl-rivet/src/rivetParser.c
Index: rivetParser.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetParser.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- rivetParser.c 20 Dec 2003 23:29:05 -0000 1.12
+++ rivetParser.c 24 Feb 2004 10:24:34 -0000 1.13
@@ -6,6 +6,21 @@
*
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
/* $Id$ */
#include <string.h>
1.3 +16 -0 tcl-rivet/src/rivetPkgInit.c
Index: rivetPkgInit.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetPkgInit.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rivetPkgInit.c 26 Mar 2003 07:52:30 -0000 1.2
+++ rivetPkgInit.c 24 Feb 2004 10:24:34 -0000 1.3
@@ -2,6 +2,22 @@
* rivetPkgInit.c - Initialize all of the Rivet commands into a Tcl interp.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+
#include <tcl.h>
#include "rivet.h"
1.6 +20 -3 tcl-rivet/src/rivetWWW.c
Index: rivetWWW.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetWWW.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rivetWWW.c 5 Jul 2003 14:23:18 -0000 1.5
+++ rivetWWW.c 24 Feb 2004 10:24:34 -0000 1.6
@@ -2,6 +2,23 @@
* rivetWWW.c - Rivet commands designed for use with the world wide web.
*/
+/* Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/* $Id$ */
+
#include <tcl.h>
#include <ctype.h>
#include "rivet.h"
@@ -313,13 +330,13 @@
return TCL_OK;
}
-/*
+/*
*-----------------------------------------------------------------------------
* Rivet_InitWWW --
- *
+ *
* Initialize the WWW functions.
*-----------------------------------------------------------------------------
- */
+ */
int
Rivet_InitWWW( interp )
Tcl_Interp *interp;
1.17 +91 -14 tcl-rivet/src/buildscripts/aardvark.tcl
Index: aardvark.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/src/buildscripts/aardvark.tcl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- aardvark.tcl 22 Aug 2003 08:58:54 -0000 1.16
+++ aardvark.tcl 24 Feb 2004 10:24:35 -0000 1.17
@@ -1,10 +1,20 @@
-# aardvark make-like system
+# aardvark.tcl -- aardvark make-like system
+
# $Id$
-# Copyright (c) 2001-2003 Apache Software Foundation. All Rights
-# reserved.
+# Copyright 2001-2004 The Apache Software Foundation
-# See the LICENSE file for licensing terms.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
package provide aardvark 0.1
source [file join [file dirname [info script]] graph.tcl]
@@ -71,7 +81,22 @@
}
}
-# the command that gets run when we walk the graph.
+
+# aardvark::runbuildcommand --
+#
+# This command is run when we walk the dependency graph.
+#
+# Arguments:
+# direction - which way the graph is being walked.
+# graphname - the graph in question.
+# node - the node in question.
+#
+# Side Effects:
+# Runs the build command.
+#
+# Results:
+# None.
+
proc aardvark::runbuildcommand { direction graphname node } {
variable grph
set rebuild 0
@@ -159,9 +184,21 @@
}
}
-# these are the commands of our mini build language
+# These are the commands of our mini build language.
+
+# aardvark::sh --
+#
+# Adds a shell command to be run.
+#
+# Arguments:
+# The command and its arguments.
+#
+# Side Effects:
+# Adds it to the processing instructions for the node.
+#
+# Results:
+# None.
-# Adds a shell command to be executed.
proc aardvark::sh { args } {
variable buildinfo
set arg [join $args]
@@ -169,7 +206,19 @@
return ""
}
-# Adds a Tcl command to be evaluated.
+# aardvark::tcl --
+#
+# Adds a tcl command to be evaluated.
+#
+# Arguments:
+# The tcl script.
+#
+# Side Effects:
+# Adds the script to the processing instructions for the node.
+#
+# Results:
+# None.
+
proc aardvark::tcl { args } {
variable buildinfo
set arg [join $args]
@@ -177,15 +226,44 @@
return ""
}
-# Adds a file dependency.
+# aardvark::depends --
+#
+# Adds dependencies for the node.
+#
+# Arguments:
+# A list of dependencies.
+#
+# Side Effects:
+# The node will depend on the nodes listed to be run before it
+# can be run.
+#
+# Results:
+# None.
+
proc aardvark::depends { args } {
variable dependencies
set dependencies [join $args]
return ""
}
-# Add a node to the dependency tree.
-proc aardvark::AddNode { name rest } {
+# aardvark::AddNode --
+#
+# Adds a node, its dependencies and processing instructions to
+# the graph.
+#
+# Arguments:
+# name - name of the node.
+# body - the script to add dependencies, build instructions and
+# so on.
+#
+# Side Effects:
+# Creates a node in the dependency graph with the associated
+# build instructions.
+#
+# Results:
+# None.
+
+proc aardvark::AddNode { name body } {
variable grph
variable dependencies
variable buildinfo
@@ -199,7 +277,7 @@
array set buildinfo {cmds ""}
set self $name
catch {
- uplevel #0 $rest
+ uplevel #0 $body
} err
if { $err != "" } {
puts "Error: $err"
@@ -222,7 +300,6 @@
#
# Results:
# List of all the nodes.
-
proc aardvark::Nodes { } {
variable grph
1.2 +2 -2 tcl-rivet/src/buildscripts/cmdline.tcl
Index: cmdline.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/src/buildscripts/cmdline.tcl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cmdline.tcl 11 Aug 2003 21:01:27 -0000 1.1
+++ cmdline.tcl 24 Feb 2004 10:24:35 -0000 1.2
@@ -8,7 +8,7 @@
# Copyright (c) 1998-2000 by Ajuba Solutions.
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-#
+#
# RCS: @(#) $Id$
package require Tcl 8.2
1.13 +16 -0 tcl-rivet/tests/runtests.tcl
Index: runtests.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/tests/runtests.tcl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- runtests.tcl 24 May 2003 08:43:30 -0000 1.12
+++ runtests.tcl 24 Feb 2004 10:24:35 -0000 1.13
@@ -2,6 +2,22 @@
# the next line restarts using tclsh \
exec tclsh "$0" "$@"
+# Copyright 2001-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# $Id$
+
source [file join apachetest apachetest.tcl]
apachetest::getbinname $argv
1.10 +16 -3 tcl-rivet/tests/apachetest/apachetest.tcl
Index: apachetest.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/tests/apachetest/apachetest.tcl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- apachetest.tcl 6 Feb 2004 21:43:55 -0000 1.9
+++ apachetest.tcl 24 Feb 2004 10:24:35 -0000 1.10
@@ -1,7 +1,20 @@
-# $Id$
+# apachetest.tcl -- Tcl-based Apache test suite
+
+# Copyright 2001-2004 The Apache Software Foundation
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
-# apachetest.tcl -- Tcl-based Apache test suite, by David N. Welton
-# <da...@dedasys.com>
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# $Id$
# This test suite provides a means to create configuration files, and
# start apache with user-specified options. All it needs to run is
1.3 +2 -2 tcl-rivet/win/makefile.vc
Index: makefile.vc
===================================================================
RCS file: /home/cvs/tcl-rivet/win/makefile.vc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- makefile.vc 22 Oct 2003 17:40:43 -0000 1.2
+++ makefile.vc 24 Feb 2004 10:24:35 -0000 1.3
@@ -10,7 +10,7 @@
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-#
+#
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
# Copyright (c) 2001 ActiveState Corporation.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org