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 2017/04/19 16:35:49 UTC
svn commit: r1791938 - in /tcl/rivet/branches/2.3: ChangeLog VERSION
configure.ac doc/xml/directives.xml doc/xml/formbroker.xml
Author: mxmanghi
Date: Wed Apr 19 16:35:49 2017
New Revision: 1791938
URL: http://svn.apache.org/viewvc?rev=1791938&view=rev
Log:
* doc/xml/directives.xml: fixed typo
* VERSION,configure.ac: bumping version number to 2.3.4
* doc/xml/formbroker.xml: various corrections
Modified:
tcl/rivet/branches/2.3/ChangeLog
tcl/rivet/branches/2.3/VERSION
tcl/rivet/branches/2.3/configure.ac
tcl/rivet/branches/2.3/doc/xml/directives.xml
tcl/rivet/branches/2.3/doc/xml/formbroker.xml
Modified: tcl/rivet/branches/2.3/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/ChangeLog?rev=1791938&r1=1791937&r2=1791938&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/ChangeLog (original)
+++ tcl/rivet/branches/2.3/ChangeLog Wed Apr 19 16:35:49 2017
@@ -1,3 +1,8 @@
+2017-04-19 Massimo Manghi <mx...@apache.org>
+ * doc/xml/directives.xml: fixed typo
+ * VERSION,configure.ac: bumping version number to 2.3.4
+ * doc/xml/formbroker.xml: various corrections
+
2017-02-10 Massimo Manghi <mx...@apache.org>
* rivet/packages/formbroker/formbroker.tcl: now
handling natively also boolean in the form y|n or
Modified: tcl/rivet/branches/2.3/VERSION
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/VERSION?rev=1791938&r1=1791937&r2=1791938&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/VERSION (original)
+++ tcl/rivet/branches/2.3/VERSION Wed Apr 19 16:35:49 2017
@@ -1 +1 @@
-2.3.3
+2.3.4
Modified: tcl/rivet/branches/2.3/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/configure.ac?rev=1791938&r1=1791937&r2=1791938&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/configure.ac (original)
+++ tcl/rivet/branches/2.3/configure.ac Wed Apr 19 16:35:49 2017
@@ -22,7 +22,7 @@ dnl
# so you can encode the package version directly into the source files.
#-----------------------------------------------------------------------
-AC_INIT([Rivet],[2.3.3])
+AC_INIT([Rivet],[2.3.4])
TEA_INIT([3.9])
# we are storing here the configure command line, as recursive
Modified: tcl/rivet/branches/2.3/doc/xml/directives.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/doc/xml/directives.xml?rev=1791938&r1=1791937&r2=1791938&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/doc/xml/directives.xml (original)
+++ tcl/rivet/branches/2.3/doc/xml/directives.xml Wed Apr 19 16:35:49 2017
@@ -399,7 +399,7 @@
buffers.
</para>
<note>
- This option is implemented in order to have fine grain control over mod_rivet. In
+ This option is implemented in order to have fine-grained control over mod_rivet. In
nearly all practical cases you won't need to change Rivet Channel (stdout) settings
for different applications by calling <command>fconfigure stdout ....</command>.
This option is, by nature, only available at the global level and has effect only if
Modified: tcl/rivet/branches/2.3/doc/xml/formbroker.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/doc/xml/formbroker.xml?rev=1791938&r1=1791937&r2=1791938&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/doc/xml/formbroker.xml (original)
+++ tcl/rivet/branches/2.3/doc/xml/formbroker.xml Wed Apr 19 16:35:49 2017
@@ -48,7 +48,7 @@
descriptors passed to <command>create</command>. Each descriptor
is a list of parameter or parameter-value pairs whose order has as only requirement
to begin with the <command>{variable_name variable_type}</command> pair.
- A formbroker object handles natively integer, unsigned, string and email data types.
+ A formbroker object handles natively integer, unsigned, string, boolean and email data types.
The programmer can defined new data type and provide in the descriptor a
reference to a validating procedure for that type.
</para>
@@ -310,7 +310,7 @@ a(var4) = 0</programlisting>
</variablelist>
</refsect1>
<refsect1>
- <title>Writing a special variable form validator</title>
+ <title>Writing a variable form validator</title>
<para>
The form broker is by no means restricted to work only with its native
data types: you may define your own form variable types and have
@@ -324,13 +324,14 @@ a(var4) = 0</programlisting>
keys are listed
</para>
<para>
- Suppose you're writing an HTML that accept as input a network
+ Suppose you're writing a form text entry that demands as input a network
interface MAC address.
A mac address is represented by 6 hexadecimal octets separated by
either a <quote>-</quote> (Windows convention) or <quote>:</quote>
(Unix, Mac convention). The procedure <command>validate_mac</command>
- checks the validity of the mac address and if compliant transforms its
- representation in the Unix form. By setting the key <quote>constrain</quote>
+ checks the validity of the mac address and if validation is successful it
+ transforms its representation into the Unix form.
+ By setting the key <quote>constrain</quote>
in the dictionary <emphasis>mac_address_d</emphasis> the procedure
is telling the form broker to copy the transformed value back
in the input response array
@@ -354,7 +355,7 @@ a(var4) = 0</programlisting>
# the 'constrain' field is bidirectional:
# it tells the validator to curb/change the value
# within bonds/forms/representation. By setting it the
- # validator we tell the FormBroker to copy the value
+ # validator tells the FormBroker to copy the value
# back in the response array
set constrain 1
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org