setbpt, delbpt, dispbpt: remove ashes 78/18478/3
Samuel GOUGEON [Wed, 17 Aug 2016 18:55:30 +0000 (20:55 +0200)]
 All files having the "setbpt|delbpt|dispbpt" pattern have been visited

Change-Id: I587b41380766b352c70459a09252b8113c5e0f38

scilab/CHANGES.md
scilab/modules/core/sci_gateway/c/sci_delbpt.c [deleted file]
scilab/modules/core/sci_gateway/c/sci_dispbpt.c [deleted file]
scilab/modules/core/sci_gateway/c/sci_setbpt.c [deleted file]
scilab/modules/core/sci_gateway/core_gateway.xml
scilab/modules/functions/tests/nonreg_tests/bug_1469.dia.ref
scilab/modules/functions/tests/nonreg_tests/bug_1469.tst

index 627c0fd..bb457ab 100644 (file)
@@ -306,6 +306,7 @@ Removed Functions
 * Functionnalities based on former Scilab stack have been removed:
   - `comp`, `errcatch`, `iserror`, `fun2string`, `getvariablesonstack`, `gstacksize`, `macr2lst`, `stacksize`, `code2str` and `str2code`.
   - `-mem` launching option (used to set `stacksize` at startup).
+* Former debugging functions have been removed: `setbpt`, `delbpt`, `dispbpt`. Please use `debug` instead.
 
 
 Known issues
diff --git a/scilab/modules/core/sci_gateway/c/sci_delbpt.c b/scilab/modules/core/sci_gateway/c/sci_delbpt.c
deleted file mode 100644 (file)
index 2074024..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2006 - INRIA - Allan CORNET
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- */
-#include "gw_core.h"
-/*--------------------------------------------------------------------------*/
-extern int C2F(intdelbpt)(void);
-/*--------------------------------------------------------------------------*/
-int C2F(sci_delbpt)(char *fname, unsigned long fname_len)
-{
-    C2F(intdelbpt)();
-    return 0;
-}
-/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/core/sci_gateway/c/sci_dispbpt.c b/scilab/modules/core/sci_gateway/c/sci_dispbpt.c
deleted file mode 100644 (file)
index 23e5170..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2006 - INRIA - Allan CORNET
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- */
-#include "gw_core.h"
-/*--------------------------------------------------------------------------*/
-extern int C2F(intdispbpt)(void);
-/*--------------------------------------------------------------------------*/
-int C2F(sci_dispbpt)(char *fname, unsigned long fname_len)
-{
-    C2F(intdispbpt)();
-    return 0;
-}
-/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/core/sci_gateway/c/sci_setbpt.c b/scilab/modules/core/sci_gateway/c/sci_setbpt.c
deleted file mode 100644 (file)
index f0ae09d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2006 - INRIA - Allan CORNET
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- */
-#include "gw_core.h"
-/*--------------------------------------------------------------------------*/
-extern int C2F(intsetbpt)(void);
-/*--------------------------------------------------------------------------*/
-int C2F(sci_setbpt)(char *fname, unsigned long fname_len)
-{
-    C2F(intsetbpt)();
-    return 0;
-}
-/*--------------------------------------------------------------------------*/
index 1edabc6..35c7c67 100644 (file)
     <PRIMITIVE gatewayId="13" primitiveId="20" primitiveName="newfun" />
     <PRIMITIVE gatewayId="13" primitiveId="21" primitiveName="clearfun" />
     <PRIMITIVE gatewayId="13" primitiveId="22" primitiveName="funptr" />
-    <PRIMITIVE gatewayId="13" primitiveId="23" primitiveName="setbpt" />
-    <PRIMITIVE gatewayId="13" primitiveId="24" primitiveName="delbpt" />
-    <PRIMITIVE gatewayId="13" primitiveId="25" primitiveName="dispbpt" />
-    <PRIMITIVE gatewayId="13" primitiveId="26" primitiveName="funcprot" />
-    <PRIMITIVE gatewayId="13" primitiveId="27" primitiveName="where" />
-    <PRIMITIVE gatewayId="13" primitiveId="28" primitiveName="stacksize" />
-    <PRIMITIVE gatewayId="13" primitiveId="29" primitiveName="mtlb_mode" />
-    <PRIMITIVE gatewayId="13" primitiveId="30" primitiveName="clear" />
-    <PRIMITIVE gatewayId="13" primitiveId="31" primitiveName="what" />
-    <PRIMITIVE gatewayId="13" primitiveId="32" primitiveName="sciargs" />
-    <PRIMITIVE gatewayId="13" primitiveId="33" primitiveName="ieee" />
-    <PRIMITIVE gatewayId="13" primitiveId="34" primitiveName="typename" />
-    <PRIMITIVE gatewayId="13" primitiveId="35" primitiveName="global" />
-    <PRIMITIVE gatewayId="13" primitiveId="36" primitiveName="clearglobal" />
-    <PRIMITIVE gatewayId="13" primitiveId="37" primitiveName="isglobal" />
-    <PRIMITIVE gatewayId="13" primitiveId="38" primitiveName="gstacksize" />
-    <PRIMITIVE gatewayId="13" primitiveId="39" primitiveName="intppty" />
-    <PRIMITIVE gatewayId="13" primitiveId="40" primitiveName="lasterror" />
-    <PRIMITIVE gatewayId="13" primitiveId="41" primitiveName="getversion" />
-    <PRIMITIVE gatewayId="13" primitiveId="42" primitiveName="macr2tree" />
-    <PRIMITIVE gatewayId="13" primitiveId="43" primitiveName="getos" />
-    <PRIMITIVE gatewayId="13" primitiveId="44" primitiveName="banner" />
-    <PRIMITIVE gatewayId="13" primitiveId="45" primitiveName="getmemory" />
-    <PRIMITIVE gatewayId="13" primitiveId="46" primitiveName="getmd5" />
-    <PRIMITIVE gatewayId="13" primitiveId="47" primitiveName="getmodules" />
-    <PRIMITIVE gatewayId="13" primitiveId="48" primitiveName="with_module" />
-    <PRIMITIVE gatewayId="13" primitiveId="49" primitiveName="getdebuginfo" />
-    <PRIMITIVE gatewayId="13" primitiveId="50" primitiveName="readgateway" />
-    <PRIMITIVE gatewayId="13" primitiveId="51" primitiveName="exit" />
-    <PRIMITIVE gatewayId="13" primitiveId="52" primitiveName="oldEmptyBehaviour" />
+    <PRIMITIVE gatewayId="13" primitiveId="23" primitiveName="funcprot" />
+    <PRIMITIVE gatewayId="13" primitiveId="24" primitiveName="where" />
+    <PRIMITIVE gatewayId="13" primitiveId="25" primitiveName="stacksize" />
+    <PRIMITIVE gatewayId="13" primitiveId="26" primitiveName="mtlb_mode" />
+    <PRIMITIVE gatewayId="13" primitiveId="27" primitiveName="clear" />
+    <PRIMITIVE gatewayId="13" primitiveId="28" primitiveName="what" />
+    <PRIMITIVE gatewayId="13" primitiveId="29" primitiveName="sciargs" />
+    <PRIMITIVE gatewayId="13" primitiveId="30" primitiveName="ieee" />
+    <PRIMITIVE gatewayId="13" primitiveId="31" primitiveName="typename" />
+    <PRIMITIVE gatewayId="13" primitiveId="32" primitiveName="global" />
+    <PRIMITIVE gatewayId="13" primitiveId="33" primitiveName="clearglobal" />
+    <PRIMITIVE gatewayId="13" primitiveId="34" primitiveName="isglobal" />
+    <PRIMITIVE gatewayId="13" primitiveId="35" primitiveName="gstacksize" />
+    <PRIMITIVE gatewayId="13" primitiveId="36" primitiveName="intppty" />
+    <PRIMITIVE gatewayId="13" primitiveId="37" primitiveName="lasterror" />
+    <PRIMITIVE gatewayId="13" primitiveId="38" primitiveName="getversion" />
+    <PRIMITIVE gatewayId="13" primitiveId="39" primitiveName="macr2tree" />
+    <PRIMITIVE gatewayId="13" primitiveId="40" primitiveName="getos" />
+    <PRIMITIVE gatewayId="13" primitiveId="41" primitiveName="banner" />
+    <PRIMITIVE gatewayId="13" primitiveId="42" primitiveName="getmemory" />
+    <PRIMITIVE gatewayId="13" primitiveId="43" primitiveName="getmd5" />
+    <PRIMITIVE gatewayId="13" primitiveId="44" primitiveName="getmodules" />
+    <PRIMITIVE gatewayId="13" primitiveId="45" primitiveName="with_module" />
+    <PRIMITIVE gatewayId="13" primitiveId="46" primitiveName="getdebuginfo" />
+    <PRIMITIVE gatewayId="13" primitiveId="47" primitiveName="readgateway" />
+    <PRIMITIVE gatewayId="13" primitiveId="48" primitiveName="exit" />
+    <PRIMITIVE gatewayId="13" primitiveId="49" primitiveName="oldEmptyBehaviour" />
 
     <PRIMITIVE gatewayId="14" primitiveId="1" primitiveName="user" />
 
index afa1900..b01d62d 100644 (file)
 // http://bugzilla.scilab.org/show_bug.cgi?id=1469
 //
 // <-- Short Description -->
-//    Comments modify line numbering in functions
+//    Appended comments are considered as a new physical line
 //
-//    What you don't believe?
-//
-//    Try this:
-//
-//    1st test, no comment in line 1:
-//
-//    -->function foo1()
-//    -->  function foo3
-//    -->  endfunction
-//    -->  disp("line a");
-//    -->  disp("line b");
-//    -->  disp("line c");
-//    -->endfunction
-//
-//    -->setbpt("foo1",[3,4])
-//
-//    -->foo1()
-//    Stop after row     3 in function foo1 :
-// ...
+
 //test of line numbering in  functions, handling initial comments
 // ================ Test 1 =====================================================
 function foo,endfunction
index a033351..cd96377 100644 (file)
 // http://bugzilla.scilab.org/show_bug.cgi?id=1469
 //
 // <-- Short Description -->
-//    Comments modify line numbering in functions
+//    Appended comments are considered as a new physical line
 //
-//    What you don't believe?
-//
-//    Try this:
-//
-//    1st test, no comment in line 1:
-//
-//    -->function foo1()
-//    -->  function foo3
-//    -->  endfunction
-//    -->  disp("line a");
-//    -->  disp("line b");
-//    -->  disp("line c");
-//    -->endfunction
-//
-//    -->setbpt("foo1",[3,4])
-//
-//    -->foo1()
-//    Stop after row     3 in function foo1 :
-// ...
 
 //test of line numbering in  functions, handling initial comments