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 mx...@apache.org on 2011/09/19 23:20:04 UTC
svn commit: r1172835 - in /tcl/rivet/branches/2.0: ChangeLog
doc/xml/commands.xml
Author: mxmanghi
Date: Mon Sep 19 21:20:04 2011
New Revision: 1172835
URL: http://svn.apache.org/viewvc?rev=1172835&view=rev
Log:
* doc/xml/commands.xml: the new extended makeurl command description slipped out from
previous commit.
Modified:
tcl/rivet/branches/2.0/ChangeLog
tcl/rivet/branches/2.0/doc/xml/commands.xml
Modified: tcl/rivet/branches/2.0/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.0/ChangeLog?rev=1172835&r1=1172834&r2=1172835&view=diff
==============================================================================
--- tcl/rivet/branches/2.0/ChangeLog (original)
+++ tcl/rivet/branches/2.0/ChangeLog Mon Sep 19 21:20:04 2011
@@ -1,4 +1,8 @@
2011-09-19 Massimo Manghi <mx...@apache.org>
+ * doc/xml/commands.xml: the new extended makeurl command description slipped out from
+ previous commit.
+
+2011-09-19 Massimo Manghi <mx...@apache.org>
* src/apache-2/TclWebapache.c: Command load_env and load_headers now resolve
the array name parameter following the default method (removed
TCL_NAMESPACE_ONLY flag that prevented creation of an array in a
Modified: tcl/rivet/branches/2.0/doc/xml/commands.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.0/doc/xml/commands.xml?rev=1172835&r1=1172834&r2=1172835&view=diff
==============================================================================
--- tcl/rivet/branches/2.0/doc/xml/commands.xml (original)
+++ tcl/rivet/branches/2.0/doc/xml/commands.xml Mon Sep 19 21:20:04 2011
@@ -927,17 +927,31 @@ bxxb ccxxxxcc
<refsect1>
<title>Description</title>
<para>
- Create a self referencing URL from a filename. For example:
- <programlisting>makeurl /tclp.gif</programlisting>
- returns
- <computeroutput>http://[hostname]:[port]/tclp.gif</computeroutput>.
- where hostname and port are the hostname and port of the
- server in question.
+ Create a self referencing URL from a filename. <command>makeurl</command>
+ can be used in three ways
+ <itemizedlist>
+ <listitem> No argument is passed to the command (returns the current script URL)</listitem>
+ <listitem>
+ A relative style path is passed (returns the argument prepended with the
+ current script's URL
+ </listitem>
+ <listitem>
+ An absolute path is passed to the command: (returns the full URL to the
+ resource)
+ </listitem>
+
+ </itemizedlist>
+ </para>
+ <para>
+ Example of absolute path: <programlisting>makeurl /tclp.gif</programlisting> returns
+ <computeroutput>http://[hostname]:[port]/tclp.gif</computeroutput>.
+ where hostname and port are the hostname and port of the
+ server in question.
</para>
</refsect1>
</refentry>
- <refentry id="no_body">
+ <refentry id="no_body">
<refnamediv>
<refname>no_body</refname>
<refpurpose>Prevents Rivet from sending any content.</refpurpose>
@@ -961,26 +975,26 @@ bxxb ccxxxxcc
<refentry id="parray">
<refnamediv>
- <refname>parray</refname>
- <refpurpose>Tcl's <command>parray</command> with html formatting.</refpurpose>
+ <refname>parray</refname>
+ <refpurpose>Tcl's <command>parray</command> with html formatting.</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <cmdsynopsis>
- <command>parray</command>
- <arg><replaceable>arrayName</replaceable></arg>
- <arg><replaceable><optional>pattern</optional></replaceable></arg>
- </cmdsynopsis>
+ <cmdsynopsis>
+ <command>parray</command>
+ <arg><replaceable>arrayName</replaceable></arg>
+ <arg><replaceable><optional>pattern</optional></replaceable></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
- <title>Description</title>
- <para>
- An html version of the standard Tcl
- <command>parray</command> command. Displays the entire
- contents of an array in a sorted, nicely-formatted way.
- Mostly used for debugging purposes.
- </para>
+ <title>Description</title>
+ <para>
+ An html version of the standard Tcl
+ <command>parray</command> command. Displays the entire
+ contents of an array in a sorted, nicely-formatted way.
+ Mostly used for debugging purposes.
+ </para>
</refsect1>
</refentry>
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org