You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2013/07/02 15:25:01 UTC

svn commit: r1498925 - in /tcl/site/rivet: ./ static/

Author: mxmanghi
Date: Tue Jul  2 13:25:01 2013
New Revision: 1498925

URL: http://svn.apache.org/r1498925
Log:
website announcing Rivet 2.1.2

Modified:
    tcl/site/rivet/index.html
    tcl/site/rivet/static/about.html
    tcl/site/rivet/static/ajax.html
    tcl/site/rivet/static/calendar.html
    tcl/site/rivet/static/download.html
    tcl/site/rivet/static/file_download.html
    tcl/site/rivet/static/file_upload.html
    tcl/site/rivet/static/hello_world.html
    tcl/site/rivet/static/rn-2-0.html
    tcl/site/rivet/static/rn-2-1.html
    tcl/site/rivet/static/scripts.html
    tcl/site/rivet/static/shaded_table.html
    tcl/site/rivet/static/templates.html
    tcl/site/rivet/static/var_access.html

Modified: tcl/site/rivet/index.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/index.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/index.html (original)
+++ tcl/site/rivet/index.html Tue Jul  2 13:25:01 2013
@@ -176,7 +176,7 @@
     <h4>News</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="static/rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
+            <a href="static/rn-2-1.html">30 Jun 2013: Rivet 2.1.2 released</a>
         </li>
         <li class="navitem">
             <a href="static/rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>

Modified: tcl/site/rivet/static/about.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/about.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/about.html (original)
+++ tcl/site/rivet/static/about.html Tue Jul  2 13:25:01 2013
@@ -92,7 +92,7 @@
     <h4>News</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
+            <a href="rn-2-1.html">30 Jun 2013: Rivet 2.1.2 released</a>
         </li>
         <li class="navitem">
             <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>

Modified: tcl/site/rivet/static/ajax.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/ajax.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/ajax.html (original)
+++ tcl/site/rivet/static/ajax.html Tue Jul  2 13:25:01 2013
@@ -143,9 +143,7 @@ if {[var exists load]} {
     ::rivet::headers type "text/xml"
     ::rivet::headers add Content-Length [string length $xml]
     puts $xml
-}
-
-</pre>
+}</pre>
             <p>
 			    For sake of brevity the JavaScript and HTML will not listed here. 
 			    The whole example is at 

Modified: tcl/site/rivet/static/calendar.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/calendar.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/calendar.html (original)
+++ tcl/site/rivet/static/calendar.html Tue Jul  2 13:25:01 2013
@@ -39,8 +39,7 @@ puts $c_txt
   4  5  6  7  8  9 10
  11 12 13 14 15 16 17
  18 19 20 21 22 23 24
- 25 26 27 28 29 30 31
-</pre>
+ 25 26 27 28 29 30 31</pre>
     </p>
     <p>
 					When it comes to writing web pages <b>HtmlCalendar</b>
@@ -62,8 +61,7 @@ proc ::cal_cell_attributes { day month y
 set htmlc [HtmlCalendar #auto]
 set html_txt [$htmlc emit -container {table class calendar} -current_weekday 3 \
                           -cell_function cal_cell_attributes ]
-puts $html_txt
-</pre>
+puts $html_txt</pre>
     <p>
 					with some CSS styling would print
 				</p>

Modified: tcl/site/rivet/static/download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/download.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/download.html (original)
+++ tcl/site/rivet/static/download.html Tue Jul  2 13:25:01 2013
@@ -123,7 +123,7 @@
     <h4>News</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
+            <a href="rn-2-1.html">30 Jun 2013: Rivet 2.1.2 released</a>
         </li>
         <li class="navitem">
             <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>

Modified: tcl/site/rivet/static/file_download.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_download.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/file_download.html (original)
+++ tcl/site/rivet/static/file_download.html Tue Jul  2 13:25:01 2013
@@ -101,8 +101,7 @@ if {[var exists pdfname]} {
     }
 } else {
     parse parameter_not_defined_error.rvt
-}
-</pre>
+}</pre>
         <p>
                 Before the pdf is sent the procedure sets the Content-Type, Content-Disposition, Content-Description and 
                 Content-Length headers to inform the client about the file type, name and size. Notice that in order to 

Modified: tcl/site/rivet/static/file_upload.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/file_upload.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/file_upload.html (original)
+++ tcl/site/rivet/static/file_upload.html Tue Jul  2 13:25:01 2013
@@ -37,8 +37,7 @@
         <pre class="programlisting">&lt;form action="foo.rvt" enctype="multipart/form-data" method="post"&gt;
     &lt;input type="file" name="MyUpload"&gt;&lt;/input&gt;
     &lt;input type="submit" value="Send File"&gt;&lt;/input&gt;
-&lt;/form&gt;
-</pre>
+&lt;/form&gt;</pre>
         <p> 
 		    In the script invoked by the form (upload.rvt) <b>upload ?argument ...?</b>
 
@@ -49,8 +48,7 @@
 upload save MyUpload /tmp/uploadfiles/file1
 puts "Saved file [upload filename MyUpload] \
         ([upload size MyUpload] bytes) to server"
-?&gt;
-</pre>
+?&gt;</pre>
         <p>
 		    Don't forget that the apache server must have write access to the directory where files are being created. 
 		    The Rivet Apache directives have a substantial impact on the upload process, you have to carefully read the 

Modified: tcl/site/rivet/static/hello_world.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/hello_world.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/hello_world.html (original)
+++ tcl/site/rivet/static/hello_world.html Tue Jul  2 13:25:01 2013
@@ -39,16 +39,14 @@
       &lt;b&gt;&lt;? puts "Hello world" ?&gt;&lt;/b&gt;
     &lt;/pre&gt;
   &lt;/body&gt;
-&lt;/html&gt;
-</pre>
+&lt;/html&gt;</pre>
         <p>
                         The example can be elaborated, for example using the <tt>
                 <a href="http://tcl.apache.org/rivet/manual2.1/html.html">html</a>
             </tt>
 
  command			
-                        <pre class="programlisting">
-&lt;? set hello_message "Hello world" ?&gt;
+                        <pre class="programlisting">&lt;? set hello_message "Hello world" ?&gt;
 &lt;html&gt;
   &lt;head&gt;
     &lt;title&gt;&lt;? puts $hello_message ?&gt;&lt;/title&gt;
@@ -56,23 +54,20 @@
   &lt;body&gt;&lt;?
     puts [::rivet::html $hello_message pre b]
   ?&gt;&lt;/body&gt;
-&lt;/html&gt;
-</pre>
+&lt;/html&gt;</pre>
         </p>
         <p>
 			Starting with version 2.0.5 Rivet also supports a shorthand notation
 			to output simple strings. 
 		    </p>
         <p>
-            <pre class="programlisting">
-&lt;? set hello_message "Hello world" ?&gt;
+            <pre class="programlisting">&lt;? set hello_message "Hello world" ?&gt;
 &lt;html&gt;
   &lt;head&gt;
     &lt;title&gt;&lt;?= $hello_message ?&gt;&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;&lt;?= [::rivet::html $hello_message pre b] ?&gt;&lt;/body&gt;
-&lt;/html&gt;
-</pre>
+&lt;/html&gt;</pre>
         </p>
     </div>
 </div>

Modified: tcl/site/rivet/static/rn-2-0.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/rn-2-0.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/rn-2-0.html (original)
+++ tcl/site/rivet/static/rn-2-0.html Tue Jul  2 13:25:01 2013
@@ -192,7 +192,7 @@
                 </li>
                 <li>with an absolute path
 								<pre class="programlisting">makeurl /a/b/c
-==&gt; http://&lt;host&gt;:&lt;port&gt;/a/b/c </pre>
+==&gt; http://&lt;host&gt;:&lt;port&gt;/a/b/c</pre>
                 </li>
                 <li>with a relative path
 								<pre class="programlisting">makeurl a/b/c
@@ -302,8 +302,7 @@
 
 . To fix the problem one has to
 						rename the 'key' and 'package' columns as 'key_' and 'package_'
-<pre class="programlisting">
-ALTER TABLE rivet_session_cache RENAME COLUMN key to key_
+<pre class="programlisting">ALTER TABLE rivet_session_cache RENAME COLUMN key to key_
 ALTER TABLE rivet_session_cache RENAME COLUMN package to package_</pre>
             </li>
             <li>
@@ -374,7 +373,7 @@ ALTER TABLE rivet_session_cache RENAME C
     <h4>News</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
+            <a href="rn-2-1.html">30 Jun 2013: Rivet 2.1.2 released</a>
         </li>
         <li class="navitem">
             <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>

Modified: tcl/site/rivet/static/rn-2-1.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/rn-2-1.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/rn-2-1.html (original)
+++ tcl/site/rivet/static/rn-2-1.html Tue Jul  2 13:25:01 2013
@@ -42,6 +42,21 @@
                                     </p>
     </div>
     <div class="sez">
+        <h4>Rivet 2.1.2 Release Notes</h4>
+        <ul>
+            <li>various bug fixes to form2.tcl</li>
+            <li>documentation improved for the form package and for the installation process</li>
+            <li>libtool/autotool scripts update</li>
+            <li>mod_rivet.c: fixed call to panic that refused to compile with Tcl8.6</li>
+            <li>apache request: relaxed restrictions on HTTP methods accepted</li>
+            <li>binary module/libraries and Tcl packages installations were split. 
+		   				Rivet installation is a two step process now. This should make possible
+		   				to create arch independent archives/packages of code written in Tcl and
+		   				shipped with Rivet
+		   			</li>
+        </ul>
+    </div>
+    <div class="sez">
         <h4>Rivet 2.1.1 Release Notes</h4>
         <h5>Bug Fixes</h5>
         <ul>
@@ -210,7 +225,7 @@
     <h4>News</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="rn-2-1.html">21 Feb 2013: Rivet 2.1.1 released</a>
+            <a href="rn-2-1.html">30 Jun 2013: Rivet 2.1.2 released</a>
         </li>
         <li class="navitem">
             <a href="rn-2-0.html">1 Dec 2012: Rivet 2.0.6 released</a>

Modified: tcl/site/rivet/static/scripts.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/scripts.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/scripts.html (original)
+++ tcl/site/rivet/static/scripts.html Tue Jul  2 13:25:01 2013
@@ -33,9 +33,7 @@
     } else {
         error "Problem with socket"
     }
-}
-     
-</pre>
+}</pre>
     </p>
     <p>
 		    For instance scripts are useful when you want to have control of the http protocol and you are not transmitting 

Modified: tcl/site/rivet/static/shaded_table.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/shaded_table.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/shaded_table.html (original)
+++ tcl/site/rivet/static/shaded_table.html Tue Jul  2 13:25:01 2013
@@ -32,8 +32,7 @@
 	puts "&lt;/tr&gt;\n"
     }
     puts "&lt;/table&gt;\n"
-?&gt;
-</pre>
+?&gt;</pre>
         <p style="width:90%">
 						If you read the code, you can see that this is pure Tcl.  We
 						could take the same code, run it outside of Rivet, and it

Modified: tcl/site/rivet/static/templates.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/templates.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/templates.html (original)
+++ tcl/site/rivet/static/templates.html Tue Jul  2 13:25:01 2013
@@ -45,8 +45,7 @@ foreach  line [chat::model::getlines $us
 	    &lt;/tbody&gt;
 	&lt;/table&gt;
     &lt;/body&gt;
-&lt;/html&gt;     
-</pre>
+&lt;/html&gt;</pre>
     </div>
 </div>
 

Modified: tcl/site/rivet/static/var_access.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/var_access.html?rev=1498925&r1=1498924&r2=1498925&view=diff
==============================================================================
--- tcl/site/rivet/static/var_access.html (original)
+++ tcl/site/rivet/static/var_access.html Tue Jul  2 13:25:01 2013
@@ -21,8 +21,7 @@
     <div class="example-contents">
         <p>Here, we demonstrate how to access variables set by GET or POST operations.</p>
         <p>Given an HTML form like the following:</p>
-        <pre class="programlisting">
-&lt;form action="vars.rvt"&gt;
+        <pre class="programlisting">&lt;form action="vars.rvt"&gt;
       &lt;table&gt;
         &lt;tbody&gt;
           &lt;tr&gt;
@@ -52,9 +51,7 @@
           &lt;/tr&gt;
         &lt;/tbody&gt;
       &lt;/table&gt;
-&lt;/form&gt;
-
-</pre>
+&lt;/form&gt;</pre>
         <p>We can use this Rivet script to get the variable values:</p>
         <pre class="programlisting">&lt;?
 set errlist {}
@@ -114,8 +111,7 @@ if { [llength $errlist] != 0 } {
     &lt;/table&gt;
     &lt;?
 }
-?&gt;
-</pre>
+?&gt;</pre>
         <p>The first statement checks to make sure that the boss variable has been passed to the script, 
                 and then does something with that information. If it's not present, an error is added to the list of errors.</p>
         <p>In the second block of code, the variable salary is fetched, with one more error check - because it's a 



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