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 2016/11/15 17:22:14 UTC
svn commit: r1769859 - in /tcl/rivet/branches/2.3: ChangeLog doc/rivet.xml
doc/xml/asciiglyphs.xml doc/xml/formbroker.xml
Author: mxmanghi
Date: Tue Nov 15 17:22:14 2016
New Revision: 1769859
URL: http://svn.apache.org/viewvc?rev=1769859&view=rev
Log:
* doc/xml/formbroker.xml,asciiglyphs.xml: add
documentation for packages formbroker and asciiglyphs
Added:
tcl/rivet/branches/2.3/doc/xml/asciiglyphs.xml
tcl/rivet/branches/2.3/doc/xml/formbroker.xml
Modified:
tcl/rivet/branches/2.3/ChangeLog
tcl/rivet/branches/2.3/doc/rivet.xml
Modified: tcl/rivet/branches/2.3/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/ChangeLog?rev=1769859&r1=1769858&r2=1769859&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/ChangeLog (original)
+++ tcl/rivet/branches/2.3/ChangeLog Tue Nov 15 17:22:14 2016
@@ -5,6 +5,8 @@
error codes
* rivet/packages/formbroker/formbroker.tcl: add
package formbroker
+ * doc/xml/formbroker.xml,asciiglyphs.xml: add
+ documentation for packages formbroker and asciiglyphs
2016-11-09 Massimo Manghi <mx...@apache.org>
* src/mod_rivet/mod_rivet_common.c: the request_rec
Modified: tcl/rivet/branches/2.3/doc/rivet.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/doc/rivet.xml?rev=1769859&r1=1769858&r2=1769859&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/doc/rivet.xml (original)
+++ tcl/rivet/branches/2.3/doc/rivet.xml Tue Nov 15 17:22:14 2016
@@ -119,9 +119,15 @@
<!-- Calendar -->
&calendar.xml;
+ <!-- AsciiGlyphs -->
+ &asciiglyphs.xml;
+
<!-- Entities -->
&entities.xml;
+ <!-- FormBroker -->
+ &formbroker.xml;
+
<!-- Help -->
&help.xml;
Added: tcl/rivet/branches/2.3/doc/xml/asciiglyphs.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/doc/xml/asciiglyphs.xml?rev=1769859&view=auto
==============================================================================
--- tcl/rivet/branches/2.3/doc/xml/asciiglyphs.xml (added)
+++ tcl/rivet/branches/2.3/doc/xml/asciiglyphs.xml Tue Nov 15 17:22:14 2016
@@ -0,0 +1,58 @@
+<section id="asciiglyphs">
+ <title>AsciiGlyphs</title>
+ <section>
+ <title>Introduction</title>
+ <para>
+ The <command>AsciiGlyphs</command> package provides a command
+ to print large ASCII glyphs in an HTML fragment based on
+ a <pre>...</pre:> element. The shape of the glyphs was
+ inspired by the challenge response used by Fossil to let anonymous users
+ to log into a repository. The glyph set was extended to
+ support the whole English alphabet and some punctuation characters.
+ The string to be represented has to be made of pure 7-bit ASCII characters.
+ The package also runs standalone outside of mod_rivet
+ </para>
+ </section>
+ <refentry id="toglyphs">
+ <refnamediv>
+ <refname>toGlyphs</refname>
+ <refpurpose>
+ print large ASCII glyphs
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>::AsciiGlyphs toGlyphs</command>
+ <arg choice="plain">string</arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>Description</title>
+ <para>
+ prints the ASCII glyphs corresponding to the characters forming
+ the argument <arg choice="plain">string</arg>
+ </para>
+ </refsect1>
+ </refentry>
+ <section>
+ <title>Example</title>
+ <programlisting>package require AsciiGlyphs
+::AsciiGlyphs toGlyphs "Date: 07-12-2015"
+ _____ _____ ______ ___ ______ __ ___ ___ ___ __ _____
+| __ \ /\ |_ _| | ____| _ / _ \ |____ | /_ ||__ \ |__ \ / _ \ /_ || ____|
+| | | | / \ | | | |__ |_| | | | | / / ____ | | ) | ____ ) || | | | | || |__
+| | | | / /\ \ | | | __| _ | | | | / / |____| | | / / |____| / / | | | | | ||___ \
+| |__| | / ____ \ | | | |____ |_| | |_| | / / | | / /_ / /_ | |_| | | | ___) |
+|_____/ /_/ \_\ |_| |______| \___/ /_/ |_||____| |____| \___/ |_||____/
+
+::AsciiGlyphs toGlyphs "Time: 18:10:19"
+ _____ ___ _ _ ______ __ ___ __ ___ __ ___
+|_ _| | || \ / | | ____| _ /_ | / _ \ _ /_ | / _ \ _ /_ | / _ \
+ | | | | | \/ | | |__ |_| | || (_) | |_| | || | | | |_| | || (_) |
+ | | | | | | | | | __| _ | | > _ < _ | || | | | _ | | \__, |
+ | | | | | | | | | |____ |_| | || (_) | |_| | || |_| | |_| | | / /
+ |_| |___||_| |_| |______| |_| \___/ |_| \___/ |_| /_/
+
+</programlisting>
+ </section>
+</section>
\ No newline at end of file
Added: 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=1769859&view=auto
==============================================================================
--- tcl/rivet/branches/2.3/doc/xml/formbroker.xml (added)
+++ tcl/rivet/branches/2.3/doc/xml/formbroker.xml Tue Nov 15 17:22:14 2016
@@ -0,0 +1,21 @@
+<section id="formbroker">
+ <title>The Form Broker</title>
+ <section>
+ <title>Introduction</title>
+ <para>
+ The <command>FormBroker</command> package creates instances of
+ <command>FormBroker</command> controlled objects each representing
+ a form data description. These objects expose a simple set of methods
+ meant to validate and control data typically posted through an HTML form,
+ thus data represented the association of form variables with their values as
+ returned by the <command>::rivet::load_response</command> command
+ </para>
+ <para>
+ The <command>FormBroker</command> creates new instances
+
+
+ </section>
+ <refentry id="fb">
+ </refentry>
+</section>
+
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org