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 2014/06/05 00:30:35 UTC

svn commit: r1600530 - in /tcl/rivet/branches/2.2: ./ ChangeLog configure.ac doc/ doc/examples-sgml/color-table.tcl doc/examples/color-table.tcl doc/images/color-table.png doc/rivet.xml doc/xml/examples.xml

Author: mxmanghi
Date: Wed Jun  4 22:30:35 2014
New Revision: 1600530

URL: http://svn.apache.org/r1600530
Log:
merging latest changes in trunk

Added:
    tcl/rivet/branches/2.2/doc/examples-sgml/color-table.tcl
      - copied unchanged from r1600529, tcl/rivet/trunk/doc/examples-sgml/color-table.tcl
    tcl/rivet/branches/2.2/doc/examples/color-table.tcl
      - copied unchanged from r1600529, tcl/rivet/trunk/doc/examples/color-table.tcl
    tcl/rivet/branches/2.2/doc/images/color-table.png
      - copied unchanged from r1600529, tcl/rivet/trunk/doc/images/color-table.png
Modified:
    tcl/rivet/branches/2.2/   (props changed)
    tcl/rivet/branches/2.2/ChangeLog
    tcl/rivet/branches/2.2/configure.ac
    tcl/rivet/branches/2.2/doc/   (props changed)
    tcl/rivet/branches/2.2/doc/rivet.xml
    tcl/rivet/branches/2.2/doc/xml/examples.xml

Propchange: tcl/rivet/branches/2.2/
------------------------------------------------------------------------------
  Merged /tcl/rivet/trunk:r1599814-1600529

Modified: tcl/rivet/branches/2.2/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.2/ChangeLog?rev=1600530&r1=1600529&r2=1600530&view=diff
==============================================================================
--- tcl/rivet/branches/2.2/ChangeLog (original)
+++ tcl/rivet/branches/2.2/ChangeLog Wed Jun  4 22:30:35 2014
@@ -1,3 +1,7 @@
+2014-06-04 Massimo Manghi <mx...@apache.org>
+    * doc/images/color-table.png, doc/xml/examples.xml,doc/examples/color-table-tcl: Changing old table.rvt
+    example in a more enticing colorful table generation
+
 2014-06-03 Massimo Manghi <mx...@apache.org>
     * 2.2/: merging changes from trunk
     * doc/xml/intro.xml: Acknowledgements reworded into a list

Modified: tcl/rivet/branches/2.2/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.2/configure.ac?rev=1600530&r1=1600529&r2=1600530&view=diff
==============================================================================
--- tcl/rivet/branches/2.2/configure.ac (original)
+++ tcl/rivet/branches/2.2/configure.ac Wed Jun  4 22:30:35 2014
@@ -740,13 +740,13 @@ if test "$print_fileevent_msg" = "1"; th
     AC_MSG_NOTICE([=======================================================================])
     AC_MSG_NOTICE([                             WARNING!])
     AC_MSG_NOTICE([========================================================================])
-    AC_MSG_NOTICE([The Tcl notifier (and consequently the event loop) will not be working])
-    AC_MSG_NOTICE([in Rivet running Tcl $TCL_VERSION$TCL_PATCH_LEVEL and the 'prefork' MPM of Apache.])
+    AC_MSG_NOTICE([The Tcl notifier (and consequently the event loop) does not work with])
+    AC_MSG_NOTICE([Rivet running Tcl $TCL_VERSION$TCL_PATCH_LEVEL and the 'prefork' MPM of Apache.])
     AC_MSG_NOTICE([In order to have asynchronous I/O working the required versions are:])
     AC_MSG_NOTICE([   - threaded builds: Tcl >= 8.5.15 (8.5 version) or Tcl >= 8.6.1])
     AC_MSG_NOTICE([   - any non-threaded build of Tcl >= 8.5.10])
     AC_MSG_NOTICE([])
-    AC_MSG_NOTICE([Nonetheless Rivet scripts are working with Tcl >= 8.5.10 provided])
+    AC_MSG_NOTICE([Nonetheless Rivet scripts work with Tcl >= 8.5.10 provided])
     AC_MSG_NOTICE([you do not have to rely on the event loop to do I/O (e.g. you])
     AC_MSG_NOTICE([cannot use the 'fileevent' command to set up callbacks)])
     AC_MSG_NOTICE([see https://issues.apache.org/bugzilla/show_bug.cgi?id=55153])

Propchange: tcl/rivet/branches/2.2/doc/
------------------------------------------------------------------------------
  Merged /tcl/rivet/trunk/doc:r1599814-1600529

Modified: tcl/rivet/branches/2.2/doc/rivet.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.2/doc/rivet.xml?rev=1600530&r1=1600529&r2=1600530&view=diff
==============================================================================
--- tcl/rivet/branches/2.2/doc/rivet.xml (original)
+++ tcl/rivet/branches/2.2/doc/rivet.xml Wed Jun  4 22:30:35 2014
@@ -4,7 +4,7 @@
   "http://www.oasis-open.org/committees/docbook/xml/4.1.2/docbookx.dtd" [
     <!ENTITY hello.rvt		        SYSTEM	"examples-sgml/hello.rvt" >
     <!ENTITY hello1.rvt		        SYSTEM	"examples-sgml/hello1.rvt" >
-    <!ENTITY table.rvt		        SYSTEM  "examples-sgml/table.rvt" >
+    <!ENTITY color-table.tcl		        SYSTEM  "examples-sgml/color-table.tcl" >
     <!ENTITY vars.html		        SYSTEM  "examples-sgml/vars.html" >
     <!ENTITY vars.rvt		        SYSTEM	"examples-sgml/vars.rvt" >
     <!ENTITY upload.html	        SYSTEM	"examples-sgml/upload.html" >

Modified: tcl/rivet/branches/2.2/doc/xml/examples.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.2/doc/xml/examples.xml?rev=1600530&r1=1600529&r2=1600530&view=diff
==============================================================================
--- tcl/rivet/branches/2.2/doc/xml/examples.xml (original)
+++ tcl/rivet/branches/2.2/doc/xml/examples.xml Wed Jun  4 22:30:35 2014
@@ -40,20 +40,23 @@
     </example>
 
     <example>
-		<title>Generate a Table</title>
+		<title>Generate a Colorful Table</title>
 	  	<para>
-	   	In another simple example, we dynamically generate a table:
+	   	In another simple example, we dynamically generate a table selecting
+	   	a different background color for each cell. The font color is determined
+	   	through a simple CSS rule embedded in a HTML &lt;style&gt; element. Create
+	   	the file color-table.tcl and put the following code in it
 	  	</para>
-	  	<programlisting>&table.rvt;</programlisting>
+	  	<programlisting>&color-table.tcl;</programlisting>
 	  	<para>
 	    	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
-	    	would generate the same HTML!
+	    	would generate the same HTML
 	  	</para>
 	  	<para>
 	    	The result should look something like this:
 	  	</para>
-	  	<graphic fileref="images/table.png"/>
+	  	<graphic fileref="images/color-table.png"/>
     </example>
 
     <example id="variable_access">



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