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 2003/03/30 10:02:30 UTC

cvs commit: tcl-rivet/src TclWebapache.c

davidw      2003/03/30 00:02:30

  Modified:    .        ChangeLog
               doc      rivet.xml
               doc/html directives.html help.html index.html internals.html
                        upgrading.html
               src      TclWebapache.c
  Log:
  * doc/rivet.xml: Fixed example configuration directive.
  
  Revision  Changes    Path
  1.105     +6 -0      tcl-rivet/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/ChangeLog,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- ChangeLog	27 Mar 2003 21:27:48 -0000	1.104
  +++ ChangeLog	30 Mar 2003 08:02:29 -0000	1.105
  @@ -1,4 +1,10 @@
  +2003-03-30  David N. Welton  <da...@dedasys.com>
  +
  +	* doc/rivet.xml: Fixed example configuration directive.
  +
   2003-03-27  David N. Welton  <da...@dedasys.com>
  +
  +	* src/TclWebapache.c (TclWeb_UploadData): Comment out unused alloc.
   
   	* src/rivetWWW.c (Rivet_UnescapeStringCmd): Free memory allocated
   	with Tcl_Alloc.
  
  
  
  1.20      +1 -1      tcl-rivet/doc/rivet.xml
  
  Index: rivet.xml
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/rivet.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- rivet.xml	15 Mar 2003 01:53:46 -0000	1.19
  +++ rivet.xml	30 Mar 2003 08:02:30 -0000	1.20
  @@ -264,7 +264,7 @@
   		  is an actual Tcl script, so to run a file, you would
   		  do:
   
  -		  <programlisting>Rivet_Script GlobalInitScript "source /var/www/foobar.tcl"</programlisting>
  +		  <programlisting>RivetServerConf GlobalInitScript "source /var/www/foobar.tcl"</programlisting>
   		</para>
   	      </listitem>
   	    </varlistentry>
  
  
  
  1.11      +1 -1      tcl-rivet/doc/html/directives.html
  
  Index: directives.html
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/html/directives.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- directives.html	22 Feb 2003 01:04:23 -0000	1.10
  +++ directives.html	30 Mar 2003 08:02:30 -0000	1.11
  @@ -27,7 +27,7 @@
   		  is an actual Tcl script, so to run a file, you would
   		  do:
   
  -		  <pre style="background:#bbffbb ; width:90ex ; margin: 2ex ;      padding: 1ex; border: solid black 1px ; white-space: pre;      font-family:monospace ; " class="programlisting">Rivet_Script GlobalInitScript &quot;source /var/www/foobar.tcl&quot;</pre>
  +		  <pre style="background:#bbffbb ; width:90ex ; margin: 2ex ;      padding: 1ex; border: solid black 1px ; white-space: pre;      font-family:monospace ; " class="programlisting">RivetServerConf GlobalInitScript &quot;source /var/www/foobar.tcl&quot;</pre>
   		</div></div></dd><dt><span class="term">
   		<div class="cmdsynopsis" style="width:80%"><span style="background:#bbbbff ; margin:1ex ; padding:.4ex ;  word-spacing:1ex "><span style="font-family:monospace; text-decoration:underline">ChildInitScript</span> <span style="font-family:monospace; text-decoration:underline"><i class="replaceable"><tt>script</tt></i></span></span></div>
   	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style=" margin:1ex ; margin-bottom:1.5ex ; padding .5ex">
  
  
  
  1.12      +3 -3      tcl-rivet/doc/html/help.html
  
  Index: help.html
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/html/help.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- help.html	22 Feb 2003 01:04:23 -0000	1.11
  +++ help.html	30 Mar 2003 08:02:30 -0000	1.12
  @@ -1,5 +1,5 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Resources - How to Get Help</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="previous" href="examples.html" title="Examples and Usage"><link rel="next" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources - How to Get Help</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="examples.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="internals.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div><div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5390605"></a>Mailing Lists</h3></div></div><div></div></div><p style="width:90%">
  +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Resources - How to Get Help</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="previous" href="examples.html" title="Examples and Usage"><link rel="next" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources - How to Get Help</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="examples.html">Prev</a>�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="internals.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div><div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396436"></a>Mailing Lists</h3></div></div><div></div></div><p style="width:90%">
   	The Rivet mailing list is the first place you should turn for
   	help, if you haven't found the solution to your problem in the
   	documentation.  Send email to
  @@ -9,7 +9,7 @@
   	subscribe to either list, post email to
   	<tt class="email">&lt;<a href="mailto:rivet-list-subscribe@tcl.apache.org">rivet-<i class="replaceable"><tt>list</tt></i>-subscribe@tcl.apache.org</a>&gt;</tt>.
         </p><p style="width:90%">
  -	The mailing list archives are available at <a href="http://www.apachelabs.org" target="_top">http://www.apachelabs.org</a>
  +	The mailing list archives are available at <a href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=118" target="_top">http://nagoya.apache.org/eyebrowse/SummarizeList?listId=118</a>
         </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="websites"></a>Web Sites</h3></div></div><div></div></div><p style="width:90%">
   	There are several web sites that cover Apache and Tcl
   	extensively.
  @@ -27,7 +27,7 @@
   	  </div></li><li><div style=" margin:1ex ; margin-bottom:1.5ex ; padding .5ex">
   	    <a href="http://wiki.tcl.tk" target="_top">http://wiki.tcl.tk</a> is the Tcl'ers Wiki, a
   	    free-form place to search for answers and ask for help.
  -	  </div></li></ul></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5390498"></a>Bug Tracking System</h3></div></div><div></div></div><p style="width:90%">
  +	  </div></li></ul></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396258"></a>Bug Tracking System</h3></div></div><div></div></div><p style="width:90%">
   	Apache Rivet uses the Apache Bug Tracking system at <a href="http://nagoya.apache.org/bugzilla/" target="_top">http://nagoya.apache.org/bugzilla/</a>.  Here,
   	you can report problems, or check and see if existing issues
   	are already known and being dealt with.
  
  
  
  1.12      +2 -2      tcl-rivet/doc/html/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/html/index.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- index.html	22 Feb 2003 01:04:23 -0000	1.11
  +++ index.html	30 Mar 2003 08:02:30 -0000	1.12
  @@ -1,9 +1,9 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="next" href="installation.html" title="Apache Rivet Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet</th></tr><tr><td width="20%" align="left">�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="installation.html">Next</a></td></tr></table><hr></div><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id5385000"></a>Apache Rivet</h1></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="surname">Welton</span></h3><div class="affiliation"><div class="address"><p><br>
  +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="next" href="installation.html" title="Apache Rivet Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet</th></tr><tr><td width="20%" align="left">�</td><th width="60%" align="center">�</th><td width="20%" align="right">�<a accesskey="n" href="installation.html">Next</a></td></tr></table><hr></div><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id5336229"></a>Apache Rivet</h1></div><div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="surname">Welton</span></h3><div class="affiliation"><div class="address"><p><br>
   	��<tt class="email">&lt;<a href="mailto:davidw@apache.org">davidw@apache.org</a>&gt;</tt><br>
   	</p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Damon</span> <span class="surname">Courtney</span></h3><div class="affiliation"><div class="address"><p><br>
   	��<tt class="email">&lt;<a href="mailto:damonc@apache.org">damonc@apache.org</a>&gt;</tt><br>
  -	</p></div></div></div></div><div><p class="copyright">Copyright � 2002 Apache Software Foundation</p></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="index.html#id5385077">Introduction to Apache Rivet</a></dt><dt><a href="installation.html">Apache Rivet Installation</a></dt><dt><a href="directives.html">Rivet Apache Directives</a></dt><dt><a href="commands.html">Rivet Tcl Commands and Variables</a></dt><dt><a href="examples.html">Examples and Usage</a></dt><dt><a href="help.html">Resources - How to Get Help</a></dt><dd><dl><dt><a href="help.html#id5390605">Mailing Lists</a></dt><dt><a href="help.html#websites">Web Sites</a></dt><dt><a href="help.html#id5390498">Bug Tracking System</a></dt></dl></dd><dt><a href="internals.html">Rivet Internals</a></dt><dd><dl><dt><a href="internals.html#id5390540">Initialization</a></dt><dt><a href="internals.html#id5390575">RivetChan</a></dt><dt><a href="internals.html#id5389545">Page Parsing, Execution and Cacheing</a></dt></dl></dd><dt><a href="upgrading.html">Upgrading from mod_dtcl or NeoWebScript</a></dt><dd><dl><dt><a href="upgrading.html#id5389622">mod_dtcl</a></dt><dt><a href="upgrading.html#id5389637">NeoWebScript</a></dt></dl></dd></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="id5385077"></a>Introduction to Apache Rivet</h2></div></div><div></div></div><p style="width:90%">
  +	</p></div></div></div></div><div><p class="copyright">Copyright � 2002 Apache Software Foundation</p></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="index.html#id5390694">Introduction to Apache Rivet</a></dt><dt><a href="installation.html">Apache Rivet Installation</a></dt><dt><a href="directives.html">Rivet Apache Directives</a></dt><dt><a href="commands.html">Rivet Tcl Commands and Variables</a></dt><dt><a href="examples.html">Examples and Usage</a></dt><dt><a href="help.html">Resources - How to Get Help</a></dt><dd><dl><dt><a href="help.html#id5396436">Mailing Lists</a></dt><dt><a href="help.html#websites">Web Sites</a></dt><dt><a href="help.html#id5396258">Bug Tracking System</a></dt></dl></dd><dt><a href="internals.html">Rivet Internals</a></dt><dd><dl><dt><a href="internals.html#id5396299">Initialization</a></dt><dt><a href="internals.html#id5396336">RivetChan</a></dt><dt><a href="internals.html#id5396364">Page Parsing, Execution and Cacheing</a></dt></dl></dd><dt><a href="upgrading.html">Upgrading from mod_dtcl or NeoWebScript</a></dt><dd><dl><dt><a href="upgrading.html#id5396612">mod_dtcl</a></dt><dt><a href="upgrading.html#id5396628">NeoWebScript</a></dt></dl></dd></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="id5390694"></a>Introduction to Apache Rivet</h2></div></div><div></div></div><p style="width:90%">
         Apache Rivet is a system for creating dynamic web content via a
         programming language integrated with Apache Web Server.  It is
         designed to be fast, powerful and extensible, consume few system
  
  
  
  1.12      +3 -3      tcl-rivet/doc/html/internals.html
  
  Index: internals.html
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/html/internals.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- internals.html	22 Feb 2003 01:04:23 -0000	1.11
  +++ internals.html	30 Mar 2003 08:02:30 -0000	1.12
  @@ -4,7 +4,7 @@
         code is removed, and changes are made.  The best place to look
         is the source code itself.  If you are interested in the changes
         themselves FIXME.
  -    </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5390540"></a>Initialization</h3></div></div><div></div></div><p style="width:90%">
  +    </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396299"></a>Initialization</h3></div></div><div></div></div><p style="width:90%">
   	When Apache is started, (or when child Apache processes are
   	started if a threaded Tcl is used),
   	<tt class="function">Rivet_InitTclStuff</tt> is called, which
  @@ -15,7 +15,7 @@
   	executes Rivet's <tt class="filename">init.tcl</tt>.  The caching
   	system is also set up, and if there is a
   	<span style="font-family:monospace"><b class="command">GlobalInitScript</b></span>, it is run.
  -      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5390575"></a>RivetChan</h3></div></div><div></div></div><p style="width:90%">
  +      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396336"></a>RivetChan</h3></div></div><div></div></div><p style="width:90%">
   	The <span class="structname">RivetChan</span> system was created in
   	order to have an actual Tcl channel that we could redirect
   	standard output to.  This lets us use, for instance, the
  @@ -25,7 +25,7 @@
   	Tcl's regular standard output is replaced with an instance of
   	this channel type, so that, by default, output will go to the
   	web page.
  -      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5389545"></a>Page Parsing, Execution and Cacheing</h3></div></div><div></div></div><p style="width:90%">
  +      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396364"></a>Page Parsing, Execution and Cacheing</h3></div></div><div></div></div><p style="width:90%">
   	When a Rivet page is requested, it is transformed into an
   	ordinary Tcl script by parsing the file for the &lt;? ?&gt;
   	processing instruction tags.  Everything outside these tags
  
  
  
  1.12      +2 -2      tcl-rivet/doc/html/upgrading.html
  
  Index: upgrading.html
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/doc/html/upgrading.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- upgrading.html	22 Feb 2003 01:04:23 -0000	1.11
  +++ upgrading.html	30 Mar 2003 08:02:30 -0000	1.12
  @@ -6,8 +6,8 @@
         compatibility was not a primary goal when creating Rivet, but we
         do provide this information which may be of use to those wishing
         to upgrade from mod_dtcl or NWS installations.
  -    </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5389622"></a>mod_dtcl</h3></div></div><div></div></div><p style="width:90%">
  +    </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396612"></a>mod_dtcl</h3></div></div><div></div></div><p style="width:90%">
   	Rivet was originally based on the dtcl code, but it has
   	changed (improved!) quite a bit.  The concepts remain the
   	same, but many of the commands have changed.
  -      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5389637"></a>NeoWebScript</h3></div></div><div></div></div><p style="width:90%">TODO</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="internals.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�</td></tr><tr><td width="40%" align="left" valign="top">Rivet Internals�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�</td></tr></table></div></body></html>
  +      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id5396628"></a>NeoWebScript</h3></div></div><div></div></div><p style="width:90%">TODO</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="internals.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">�</td></tr><tr><td width="40%" align="left" valign="top">Rivet Internals�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�</td></tr></table></div></body></html>
  
  
  
  1.43      +2 -2      tcl-rivet/src/TclWebapache.c
  
  Index: TclWebapache.c
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/src/TclWebapache.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- TclWebapache.c	27 Mar 2003 21:27:48 -0000	1.42
  +++ TclWebapache.c	30 Mar 2003 08:02:30 -0000	1.43
  @@ -562,7 +562,7 @@
   	char *bytes = NULL;
   	Tcl_Channel chan = NULL;
   
  -	bytes = Tcl_Alloc((unsigned)ApacheUpload_size(req->upload));
  +	/* bytes = Tcl_Alloc((unsigned)ApacheUpload_size(req->upload)); */
   #ifdef __MINGW32__
   	chan = Tcl_MakeFileChannel(
   	    (ClientData)_get_osfhandle(
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org