Mark config.sci as obsolete 22/8522/3
Sylvestre Ledru [Fri, 3 Aug 2012 14:17:20 +0000 (16:17 +0200)]
Change-Id: I50cb061376fc31bb48a38df4570704b8eec6558b

scilab/CHANGES_5.4.X
scilab/modules/tclsci/help/en_US/config.xml
scilab/modules/tclsci/macros/config.sci

index b89ad5b..173f05a 100644 (file)
@@ -1,6 +1,13 @@
             Changes between version 5.4.0-beta-2 and 5.4.0-beta-3 of Scilab
             ===============================================================
 
+Obsolete functions
+==================
+
+* config function is now obsolete and will be removed in Scilab 5.4.1.
+  Please use 'preferences' instead.
+
+
 Bug Fixes
 =========
 
index 57fe7dd..36dff37 100644 (file)
  *
  -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="config">
-  <refnamediv>
-    <refname>config</refname>
-    <refpurpose> Scilab general configuration.</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Calling Sequence</title>
-    <synopsis>config()</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Description</title>
-    <para>
-      <literal>config()</literal> allows configure scilab parameters like lines to display, stacksize, %ODEOPTIONS.
-    </para>
-  </refsection>
+    <refnamediv>
+        <refname>config</refname>
+        <refpurpose>
+            Scilab general configuration. <emphasis role="bold">This function is obsolete.</emphasis>
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>config()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>
+            <literal>config()</literal> allows configure scilab parameters like lines to display, stacksize, %ODEOPTIONS.
+        </para>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.0</revnumber>
+                <revremark>Function config is obsolete.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b63033f..076e7e6 100644 (file)
@@ -11,7 +11,7 @@ function config()
 //the Free Software Foundation; either version 2 of the License, or
 //(at your option) any later version.
   sciGUI_init()
-  
+  warnobsolete("preferences", "5.4.1");
   vt=format();
   if (vt(1)==0) then v4="v"; else v4="e"; end;
   v5=string(vt(2));