You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2020/01/19 16:22:32 UTC

[tcl-rivet] branch master updated: dropped entry for command incr0

This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e0ba08  dropped entry for command incr0
9e0ba08 is described below

commit 9e0ba08f3d7e62acc9aa048eb499a3ff270a98da
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Sun Jan 19 17:18:10 2020 +0100

    dropped entry for command incr0
---
 ChangeLog            |  3 +++
 doc/xml/commands.xml | 32 --------------------------------
 2 files changed, 3 insertions(+), 32 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 154645d..a33381b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-01-19 Massimo Manghi <mx...@apache.org>
+    * doc/xml/commands.xml: remove entry for command incr0 (dropped in 3.0)
+
 2019-12-12 Massimo Manghi <mx...@apache.org>
     * src/mod_rivet_ng/apache_config.c: copying also upload_files_to_var in
     Rivet_MergeConfig
diff --git a/doc/xml/commands.xml b/doc/xml/commands.xml
index ddbf976..0b95309 100644
--- a/doc/xml/commands.xml
+++ b/doc/xml/commands.xml
@@ -953,38 +953,6 @@ keyvalue_map(args) = 1 2 3 4 5</programlisting>
 	    </refsect1>
 	</refentry>
 
-	<refentry id="incr0">
-	    <refnamediv>
-            <refname>incr0</refname>
-            <refpurpose>increment a variable or set it to 1 if nonexistent.</refpurpose>
-	    </refnamediv>
-
-	    <refsynopsisdiv>
-            <cmdsynopsis>
-                <command>incr0</command>
-                <arg><replaceable>varname</replaceable></arg>
-                <arg><replaceable>num</replaceable></arg>
-            </cmdsynopsis>
-	    </refsynopsisdiv>
-	    <refsect1>
-            <title>Description</title>
-            <para>
-                Increment a variable
-                <option><replaceable>varname</replaceable></option> by
-                <option><replaceable>num</replaceable></option>.  If the
-                variable doesn't exist, create it instead of returning an
-                error.
-            </para>
-            <note> 
-                incr0 functionality is provided by the native <command>incr</command> in 
-                Tcl &gt;= 8.5, therefore this command is deprecated and kept as an
-                interpreter alias only for compatibility. As such <command>incr0</command> 
-                wasn't moved to the ::rivet namespace and
-                it will be removed in future versions of Rivet.
-            </note>
-	    </refsect1>
-	</refentry>
-
 	<refentry id="inspect">
 	    <refnamediv>
             <refname>inspect</refname>


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