* winclose() tagged as obsolete. Will be removed for Scilab 5.5.0. 47/10747/1
Vincent COUVERT [Fri, 8 Mar 2013 12:51:56 +0000 (13:51 +0100)]
  Use close() instead.

* Remove references in examples.

Change-Id: I426a9769ebae8da5280b7d466bc86a623fcc5f3b

scilab/CHANGES_5.4.X
scilab/modules/gui/help/ja_JP/progressionbar.xml
scilab/modules/gui/help/ja_JP/waitbar.xml
scilab/modules/tclsci/help/en_US/winclose.xml
scilab/modules/tclsci/macros/winclose.sci

index 34097b9..487b433 100644 (file)
@@ -92,6 +92,9 @@ Obsolete functions
 * xsetm() tagged as obsolete. Will be removed for Scilab 5.5.0.
   Use set(), get() and ged() instead.
 
+* winclose() tagged as obsolete. Will be removed for Scilab 5.5.0.
+  Use close() instead.
+
 
 Xcos
 =====
index 98b2fcd..80e4cf3 100644 (file)
@@ -58,7 +58,7 @@ for j=0:0.1:1,
   realtime(3*j);
   progressionbar(winId);
 end
-winclose(winId);
+close(winId);
  ]]></programlisting>
     </refsection>
 </refentry>
index 9c530b5..875601a 100644 (file)
@@ -81,7 +81,7 @@ for j=0:0.1:1,
   realtime(3*j);
   waitbar(j,winH);
 end
-winclose(winH);
+close(winH);
  ]]></programlisting>
     </refsection>
 </refentry>
index d522631..bd172d1 100644 (file)
@@ -50,4 +50,15 @@ win2=waitbar('HELLO!');
 winclose([win1,win2]);
  ]]></programlisting>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0. Please use <link linkend="close">close</link> instead.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 14bf039..fe49d27 100644 (file)
@@ -19,6 +19,8 @@ function sta=winclose(h)
 //the Free Software Foundation; either version 2 of the License, or
 //(at your option) any later version.
 
+warnobsolete("close", "5.5.0");
+
 // Java waitbar or progressbar
 if type(h) == 9 then
   delete(h);