readgateway removed from YaSp. 21/15621/2
Cedric Delamarre [Tue, 2 Dec 2014 09:27:22 +0000 (10:27 +0100)]
Change-Id: Ibfb62243aad7d37f918bcf1c59c6dadca10ffa36

scilab/modules/core/Makefile.am
scilab/modules/core/Makefile.in
scilab/modules/core/includes/gw_core.h
scilab/modules/core/sci_gateway/c/sci_readgateway.c [deleted file]
scilab/modules/core/tests/unit_tests/readgateway.dia.ref [deleted file]
scilab/modules/core/tests/unit_tests/readgateway.tst [deleted file]
scilab/modules/functions/help/en_US/built_in/readgateway.xml [deleted file]
scilab/modules/functions/help/ja_JP/built_in/readgateway.xml [deleted file]
scilab/modules/functions/help/pt_BR/built_in/readgateway.xml [deleted file]
scilab/modules/functions/help/ru_RU/built_in/readgateway.xml [deleted file]
scilab/modules/helptools/data/configuration/scilab_primitives.txt

index b63c705..7e400b4 100644 (file)
@@ -36,7 +36,6 @@ CORE_C_SOURCES = \
     src/c/getdynamicdebuginfo.c \
     src/c/gw_dynamic_generic.c \
     src/c/dynamic_gateways.c \
-    src/c/readGateway.c \
     src/c/comparehandles.c \
     src/c/setPrecisionFPU.c \
     src/c/LaunchScilabSignal.c \
@@ -132,8 +131,7 @@ GATEWAY_C_SOURCES = \
        sci_gateway/c/gw_user.c \
        sci_gateway/c/gw_user2.c \
        sci_gateway/c/sci_type.c \
-       sci_gateway/c/sci_getdebuginfo.c \
-       sci_gateway/c/sci_readgateway.c
+       sci_gateway/c/sci_getdebuginfo.c
 
 GATEWAY_CPP_SOURCES = \
        sci_gateway/cpp/core_gw.cpp \
index 2716196..94b913c 100644 (file)
@@ -203,7 +203,6 @@ am__objects_1 = src/c/libscicore_algo_la-csignal.lo \
        src/c/libscicore_algo_la-getdynamicdebuginfo.lo \
        src/c/libscicore_algo_la-gw_dynamic_generic.lo \
        src/c/libscicore_algo_la-dynamic_gateways.lo \
-       src/c/libscicore_algo_la-readGateway.lo \
        src/c/libscicore_algo_la-comparehandles.lo \
        src/c/libscicore_algo_la-setPrecisionFPU.lo \
        src/c/libscicore_algo_la-LaunchScilabSignal.lo \
@@ -280,8 +279,7 @@ am__objects_4 = sci_gateway/c/libscicore_la-gw_core.lo \
        sci_gateway/c/libscicore_la-gw_user.lo \
        sci_gateway/c/libscicore_la-gw_user2.lo \
        sci_gateway/c/libscicore_la-sci_type.lo \
-       sci_gateway/c/libscicore_la-sci_getdebuginfo.lo \
-       sci_gateway/c/libscicore_la-sci_readgateway.lo
+       sci_gateway/c/libscicore_la-sci_getdebuginfo.lo
 am__objects_5 = sci_gateway/cpp/libscicore_la-core_gw.lo \
        sci_gateway/cpp/libscicore_la-sci_getmodules.lo \
        sci_gateway/cpp/libscicore_la-sci_clear.lo \
@@ -736,7 +734,6 @@ CORE_C_SOURCES = \
     src/c/getdynamicdebuginfo.c \
     src/c/gw_dynamic_generic.c \
     src/c/dynamic_gateways.c \
-    src/c/readGateway.c \
     src/c/comparehandles.c \
     src/c/setPrecisionFPU.c \
     src/c/LaunchScilabSignal.c \
@@ -832,8 +829,7 @@ GATEWAY_C_SOURCES = \
        sci_gateway/c/gw_user.c \
        sci_gateway/c/gw_user2.c \
        sci_gateway/c/sci_type.c \
-       sci_gateway/c/sci_getdebuginfo.c \
-       sci_gateway/c/sci_readgateway.c
+       sci_gateway/c/sci_getdebuginfo.c
 
 GATEWAY_CPP_SOURCES = \
        sci_gateway/cpp/core_gw.cpp \
@@ -1194,8 +1190,6 @@ src/c/libscicore_algo_la-gw_dynamic_generic.lo: src/c/$(am__dirstamp) \
        src/c/$(DEPDIR)/$(am__dirstamp)
 src/c/libscicore_algo_la-dynamic_gateways.lo: src/c/$(am__dirstamp) \
        src/c/$(DEPDIR)/$(am__dirstamp)
-src/c/libscicore_algo_la-readGateway.lo: src/c/$(am__dirstamp) \
-       src/c/$(DEPDIR)/$(am__dirstamp)
 src/c/libscicore_algo_la-comparehandles.lo: src/c/$(am__dirstamp) \
        src/c/$(DEPDIR)/$(am__dirstamp)
 src/c/libscicore_algo_la-setPrecisionFPU.lo: src/c/$(am__dirstamp) \
@@ -1408,9 +1402,6 @@ sci_gateway/c/libscicore_la-sci_type.lo:  \
 sci_gateway/c/libscicore_la-sci_getdebuginfo.lo:  \
        sci_gateway/c/$(am__dirstamp) \
        sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
-sci_gateway/c/libscicore_la-sci_readgateway.lo:  \
-       sci_gateway/c/$(am__dirstamp) \
-       sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
 sci_gateway/cpp/$(am__dirstamp):
        @$(MKDIR_P) sci_gateway/cpp
        @: > sci_gateway/cpp/$(am__dirstamp)
@@ -1554,7 +1545,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscicore_la-gw_user.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscicore_la-gw_user2.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscicore_la-sci_getdebuginfo.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscicore_la-sci_readgateway.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscicore_la-sci_type.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/cpp/$(DEPDIR)/libscicore_la-core_gw.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/cpp/$(DEPDIR)/libscicore_la-sci_abort.Plo@am__quote@
@@ -1626,7 +1616,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-loadversion.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-md5.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-mode_exec.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-readGateway.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-recursionFunction.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-returnanan.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscicore_algo_la-saveCWDInPreferences.Plo@am__quote@
@@ -1872,13 +1861,6 @@ src/c/libscicore_algo_la-dynamic_gateways.lo: src/c/dynamic_gateways.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscicore_algo_la-dynamic_gateways.lo `test -f 'src/c/dynamic_gateways.c' || echo '$(srcdir)/'`src/c/dynamic_gateways.c
 
-src/c/libscicore_algo_la-readGateway.lo: src/c/readGateway.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscicore_algo_la-readGateway.lo -MD -MP -MF src/c/$(DEPDIR)/libscicore_algo_la-readGateway.Tpo -c -o src/c/libscicore_algo_la-readGateway.lo `test -f 'src/c/readGateway.c' || echo '$(srcdir)/'`src/c/readGateway.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscicore_algo_la-readGateway.Tpo src/c/$(DEPDIR)/libscicore_algo_la-readGateway.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='src/c/readGateway.c' object='src/c/libscicore_algo_la-readGateway.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscicore_algo_la-readGateway.lo `test -f 'src/c/readGateway.c' || echo '$(srcdir)/'`src/c/readGateway.c
-
 src/c/libscicore_algo_la-comparehandles.lo: src/c/comparehandles.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscicore_algo_la-comparehandles.lo -MD -MP -MF src/c/$(DEPDIR)/libscicore_algo_la-comparehandles.Tpo -c -o src/c/libscicore_algo_la-comparehandles.lo `test -f 'src/c/comparehandles.c' || echo '$(srcdir)/'`src/c/comparehandles.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscicore_algo_la-comparehandles.Tpo src/c/$(DEPDIR)/libscicore_algo_la-comparehandles.Plo
@@ -2089,13 +2071,6 @@ sci_gateway/c/libscicore_la-sci_getdebuginfo.lo: sci_gateway/c/sci_getdebuginfo.
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscicore_la-sci_getdebuginfo.lo `test -f 'sci_gateway/c/sci_getdebuginfo.c' || echo '$(srcdir)/'`sci_gateway/c/sci_getdebuginfo.c
 
-sci_gateway/c/libscicore_la-sci_readgateway.lo: sci_gateway/c/sci_readgateway.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscicore_la-sci_readgateway.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscicore_la-sci_readgateway.Tpo -c -o sci_gateway/c/libscicore_la-sci_readgateway.lo `test -f 'sci_gateway/c/sci_readgateway.c' || echo '$(srcdir)/'`sci_gateway/c/sci_readgateway.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscicore_la-sci_readgateway.Tpo sci_gateway/c/$(DEPDIR)/libscicore_la-sci_readgateway.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='sci_gateway/c/sci_readgateway.c' object='sci_gateway/c/libscicore_la-sci_readgateway.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicore_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscicore_la-sci_readgateway.lo `test -f 'sci_gateway/c/sci_readgateway.c' || echo '$(srcdir)/'`sci_gateway/c/sci_readgateway.c
-
 .cpp.o:
 @am__fastdepCXX_TRUE@  $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 @am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
index 7bd4862..1a6e292 100644 (file)
@@ -25,9 +25,7 @@ int C2F(sci_who)(char *fname, unsigned long fname_len);
 int C2F(sci_resume)(char *fname, unsigned long fname_len);
 int C2F(sci_return)(char *fname, unsigned long fname_len);
 int C2F(sci_isdef)(char *fname, unsigned long fname_len);
-int C2F(sci_errcatch)(char *fname, unsigned long fname_len);
 //int C2F(sci_errclear)(char *fname, unsigned long fname_len); -> C++
-int C2F(sci_iserror)(char *fname, unsigned long fname_len);
 C_GATEWAY_PROTOTYPE(C2F(sci_predef));
 int C2F(sci_clearfun)(char *fname, unsigned long fname_len);
 int C2F(sci_funptr)(char *fname, unsigned long fname_len);
@@ -54,8 +52,6 @@ int C2F(sci_with_module)(char *fname, unsigned long fname_len);
 int C2F(sci_getscilabmode)(char *fname, unsigned long fname_len);
 int C2F(sci_librarieslist)(char *fname, unsigned long fname_len);
 int C2F(sci_getvariablesonstack)(char *fname, unsigned long fname_len);
-int C2F(sci_readgateway)(char *fname, unsigned long fname_len);
-int C2F(sci_comp)(char *fname, unsigned long fname_len);
 
 //C_GATEWAY_PROTOTYPE(sci_typename); -> c++
 int C2F(sci_funcprot)(char *fname, void* pvApiCtx);
diff --git a/scilab/modules/core/sci_gateway/c/sci_readgateway.c b/scilab/modules/core/sci_gateway/c/sci_readgateway.c
deleted file mode 100644 (file)
index 11977f5..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA - Allan CORNET
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution.  The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-
-/*--------------------------------------------------------------------------*/
-#include "gw_core.h"
-#include "stack-c.h"
-#include "readGateway.h"
-#include "sci_malloc.h"
-#include "Scierror.h"
-#include "localization.h"
-#include "freeArrayOfString.h"
-#include "with_module.h"
-/*--------------------------------------------------------------------------*/
-int C2F(sci_readgateway)(char *fname, unsigned long fname_len)
-{
-    /* CheckRhs(1,1); */
-    /* CheckLhs(1,3); */
-
-    /* if (VarType(1) == sci_strings) */
-    /* { */
-    /*         int l1 = 0,n1 = 0,m1 = 0; */
-    /*         char *moduleName = NULL; */
-
-    /*         GetRhsVar(1,STRING_DATATYPE,&m1,&n1,&l1); */
-    /*         moduleName = cstk(l1); */
-
-    /*         if ( with_module(moduleName) ) */
-    /*         { */
-    /*                 struct gateway_struct *gateway_content = NULL; */
-
-    /*                 gateway_content = readGateway(moduleName); */
-
-    /*                 if (gateway_content) */
-    /*                 { */
-    /*                         if (gateway_content->dimLists == 0) */
-    /*                         { */
-    /*                                 m1 = 0; n1 = 0; l1 = 0; */
-    /*                                 CreateVar(Rhs+1,MATRIX_OF_DOUBLE_DATATYPE,&m1,&n1,&l1); */
-    /*                                 LhsVar(1) = Rhs + 1; */
-
-    /*                                 if (Lhs == 2) */
-    /*                                 { */
-    /*                                         m1 = 0; n1 = 0; l1 = 0; */
-    /*                                         CreateVar(Rhs+2,MATRIX_OF_DOUBLE_DATATYPE,&m1,&n1,&l1); */
-    /*                                         LhsVar(2) = Rhs + 2; */
-    /*                                 } */
-
-    /*                                 if (Lhs == 3) */
-    /*                                 { */
-    /*                                         m1 = 0; n1 = 0; l1 = 0; */
-
-    /*                                         CreateVar(Rhs+2,MATRIX_OF_DOUBLE_DATATYPE,&m1,&n1,&l1); */
-    /*                                         LhsVar(2) = Rhs + 2; */
-
-    /*                                         CreateVar(Rhs+3,MATRIX_OF_DOUBLE_DATATYPE,&m1,&n1,&l1); */
-    /*                                         LhsVar(3) = Rhs + 3; */
-    /*                                 } */
-    /*                         } */
-    /*                         else */
-    /*                         { */
-    /*                                 int *output = NULL; */
-    /*                                 m1 = gateway_content->dimLists; */
-    /*                                 n1 = 1; */
-
-    /*                                 CreateVarFromPtr(Rhs+1,MATRIX_OF_STRING_DATATYPE,&m1,&n1,gateway_content->primitivesList); */
-    /*                                 LhsVar(1) = Rhs + 1; */
-
-    /*                                 if (Lhs == 2) */
-    /*                                 { */
-    /*                                         output = gateway_content->primiviteIdList; */
-    /*                                         CreateVarFromPtr(Rhs+2,MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &output); */
-    /*                                         LhsVar(2) = Rhs + 2; */
-    /*                                 } */
-
-    /*                                 if (Lhs == 3) */
-    /*                                 { */
-    /*                                         output = gateway_content->primiviteIdList; */
-    /*                                         CreateVarFromPtr(Rhs+2,MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &output); */
-    /*                                         LhsVar(2) = Rhs + 2; */
-
-    /*                                         output = gateway_content->gatewayIdList; */
-    /*                                         CreateVarFromPtr(Rhs+3,MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &output); */
-    /*                                         LhsVar(3) = Rhs + 3; */
-    /*                                 } */
-
-    /*                                 /\* FREE struct *\/ */
-    /*                                 freeArrayOfString(gateway_content->primitivesList,gateway_content->dimLists); */
-    /*                                 if (gateway_content->primiviteIdList) */
-    /*                                 { */
-    /*                                         FREE(gateway_content->primiviteIdList); */
-    /*                                         gateway_content->primiviteIdList = NULL; */
-    /*                                 } */
-    /*                                 if (gateway_content->gatewayIdList) */
-    /*                                 { */
-    /*                                         FREE(gateway_content->gatewayIdList); */
-    /*                                         gateway_content->gatewayIdList = NULL; */
-    /*                                 } */
-    /*                                 FREE(gateway_content); */
-    /*                                 gateway_content = NULL; */
-    /*                         } */
-    /*                         PutLhsVar(); */
-    /*                 } */
-    /*                 else */
-    /*                 { */
-    /*                         Scierror(999,_("%s: Impossible to read %s gateway.\n"),fname,moduleName); */
-    /*                 } */
-    /*         } */
-    /*         else */
-    /*         { */
-    /*                 Scierror(999,_("%s: Invalid module name : %s.\n"),fname,moduleName); */
-    /*         } */
-    /* } */
-    /* else */
-    /* { */
-    /*         Scierror(999,_("%s: Wrong type for input argument #%d: String expected.\n"),fname, 1); */
-    /* } */
-    return 0;
-}
-/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/core/tests/unit_tests/readgateway.dia.ref b/scilab/modules/core/tests/unit_tests/readgateway.dia.ref
deleted file mode 100644 (file)
index 6171493..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2008 - INRIA - Allan CORNET
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-a0 = readgateway('core');
-[a1,b1] = readgateway('core');
-[a2,b2,c2] = readgateway('core');
-if a0 <> a1 then bugmes();quit;end
-if a1 <> a2 then bugmes();quit;end
-if b1 <> b2 then bugmes();quit;end
-if size(a0) <> size(c2) then bugmes();quit;end
-if type(a2) <> 10 then bugmes();quit;end
-if type(b2) <> 1 then bugmes();quit;end
-if type(c2) <> 1 then bugmes();quit;end
-if and(a2 <> 'debug') then bugmes();quit;end
-m = getmodules();
-for i=1:size(m,'*')
- [a2,b2,c2] = readgateway(m(i));
-end
diff --git a/scilab/modules/core/tests/unit_tests/readgateway.tst b/scilab/modules/core/tests/unit_tests/readgateway.tst
deleted file mode 100644 (file)
index 7d49bc4..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2008 - INRIA - Allan CORNET
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-
-a0 = readgateway('core');
-[a1,b1] = readgateway('core');
-[a2,b2,c2] = readgateway('core');
-
-if a0 <> a1 then pause,end
-if a1 <> a2 then pause,end
-
-if b1 <> b2 then pause,end
-if size(a0) <> size(c2) then pause,end
-
-if type(a2) <> 10 then pause,end
-if type(b2) <> 1 then pause,end
-if type(c2) <> 1 then pause,end
-
-if and(a2 <> 'debug') then pause,end
-
-m = getmodules();
-for i=1:size(m,'*')
- [a2,b2,c2] = readgateway(m(i));
-end
diff --git a/scilab/modules/functions/help/en_US/built_in/readgateway.xml b/scilab/modules/functions/help/en_US/built_in/readgateway.xml
deleted file mode 100644 (file)
index a4ae684..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="readgateway" xml:lang="en">
-    <refnamediv>
-        <refname>readgateway</refname>
-        <refpurpose>get primitives list of a module</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Calling Sequence</title>
-        <synopsis>readgateway(module_name)
-            primitives = readgateway(module_name);
-            [primitives,primitivesID] = readgateway(module_name);
-            [primitives,primitivesID,gatewayID] = readgateway(module_name);
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Arguments</title>
-        <variablelist>
-            <varlistentry>
-                <term>module_name</term>
-                <listitem>
-                    <para>a string</para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>primitives, primitivesID, gatewayID</term>
-                <listitem>
-                    <para>matrices of string</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Description</title>
-        <para>
-            <literal>readgateway(module_name)</literal> gets primitives list of a 
-            <literal>module_name</literal>.
-        </para>
-        <para>
-            <literal>primitives</literal>: list of primitives of a <literal>module_name</literal>.
-        </para>
-        <para>
-            <literal>primitivesID</literal>: list of ID for primitives.
-        </para>
-        <para>
-            <literal>gatewayID</literal>: list of ID of gateway associated to a 
-            <literal>module_name</literal>.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-[primitives,primitivesID,gatewayID] = readgateway('core');
-primitives(1) // 'debug' primitive
-primitivesID(1) // 1 is ID of 'debug' in 'core' gateway
-gatewayID(1) // 13 is ID of 'core' gateway in scilab
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>See Also</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="getmodules">getmodules</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/functions/help/ja_JP/built_in/readgateway.xml b/scilab/modules/functions/help/ja_JP/built_in/readgateway.xml
deleted file mode 100644 (file)
index 08e8c8b..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="readgateway" xml:lang="ja">
-    
-    <refnamediv>
-        
-        <refname>readgateway</refname>
-        
-        <refpurpose>モジュールのプリミティブの一覧を取得</refpurpose>
-        
-    </refnamediv>
-    
-    <refsynopsisdiv>
-        
-        <title>呼出し手順</title>
-        
-        <synopsis>readgateway(module_name)
-            
-            primitives = readgateway(module_name);
-            
-            [primitives,primitivesID] = readgateway(module_name);
-            
-            [primitives,primitivesID,gatewayID] = readgateway(module_name);
-            
-        </synopsis>
-        
-    </refsynopsisdiv>
-    
-    <refsection>
-        
-        <title>引数</title>
-        
-        <variablelist>
-            
-            <varlistentry>
-                
-                <term>module_name</term>
-                
-                <listitem>
-                    
-                    <para>文字列</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-            <varlistentry>
-                
-                <term>primitives, primitivesID, gatewayID</term>
-                
-                <listitem>
-                    
-                    <para>文字列の行列</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-        </variablelist>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>説明</title>
-        
-        <para>
-            
-            <literal>readgateway(module_name)</literal>は,
-            
-            <literal>module_name</literal>の
-            
-            プリミティブの一覧を取得します.
-            
-        </para>
-        
-        <para>
-            
-            <literal>primitives</literal>: <literal>module_name</literal>のプリミティブの一覧.
-            
-        </para>
-        
-        <para>
-            
-            <literal>primitivesID</literal>: プリミティブのIDの一覧.
-            
-        </para>
-        
-        <para>
-            
-            <literal>gatewayID</literal>: <literal>module_name</literal>に関連するゲートウエイのIDの一覧
-            
-        </para>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-[primitives,primitivesID,gatewayID] = readgateway('core');
-primitives(1) // 'debug' primitive
-primitivesID(1) // 1 is ID of 'debug' in 'core' gateway
-gatewayID(1) // 13 is ID of 'core' gateway in scilab
- ]]></programlisting>
-        
-    </refsection>
-    
-    <refsection role="see also">
-        
-        <title>参照</title>
-        
-        <simplelist type="inline">
-            
-            <member>
-                
-                <link linkend="getmodules">getmodules</link>
-                
-            </member>
-            
-        </simplelist>
-        
-    </refsection>
-    
-</refentry>
-
diff --git a/scilab/modules/functions/help/pt_BR/built_in/readgateway.xml b/scilab/modules/functions/help/pt_BR/built_in/readgateway.xml
deleted file mode 100644 (file)
index 895e1c0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="readgateway" xml:lang="en">
-    <refnamediv>
-        <refname>readgateway</refname>
-        <refpurpose>retorna a lista de primitivas de um módulo</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
-        <synopsis>readgateway(module_name)
-            primitives = readgateway(module_name);
-            [primitives,primitivesID] = readgateway(module_name);
-            [primitives,primitivesID,gatewayID] = readgateway(module_name);
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Descrição</title>
-        <para>Retorna a lista de primitivas de um módulo.</para>
-        <para>Primitives : lista de primitivas de um módulo.</para>
-        <para>primitivesID : lista de identificadores das primitivas.</para>
-        <para>gatewayID : lista de identificadores de portas de ligaçãos
-            associados ao módulo.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
-[primitives,primitivesID,gatewayID] = readgateway('core');
-primitives(1) // primitiva 'debug' primitive
-primitivesID(1) // 1 é o ID de 'debug' na porta de ligação de 'core'
-gatewayID(1) // 13 é o ID da porta de ligação de 'core' no Scilab
- ]]></programlisting>
-    </refsection>
-    <refsection>
-        <title>Ver Também</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="getmodules">getmodules</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/functions/help/ru_RU/built_in/readgateway.xml b/scilab/modules/functions/help/ru_RU/built_in/readgateway.xml
deleted file mode 100644 (file)
index 3c6ea56..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="readgateway" xml:lang="ru">
-    <refnamediv>
-        <refname>readgateway</refname>
-        <refpurpose>получение списка примитивов модуля</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Последовательность вызова</title>
-        <synopsis>
-            readgateway(module_name)
-            primitives = readgateway(module_name);
-            [primitives,primitivesID] = readgateway(module_name);
-            [primitives,primitivesID,gatewayID] = readgateway(module_name);
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Аргументы</title>
-        <variablelist>
-            <varlistentry>
-                <term>module_name</term>
-                <listitem>
-                    <para>строка</para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>primitives, primitivesID, gatewayID</term>
-                <listitem>
-                    <para>матрицы строк</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Описание</title>
-        <para>
-            <literal>readgateway(module_name)</literal> возвращает список переменных модуля 
-            <literal>module_name</literal>.
-        </para>
-        <para>
-            <literal>primitives</literal>: список примитивов модуля <literal>module_name</literal>.
-        </para>
-        <para>
-            <literal>primitivesID</literal>: список идентификаторов примитивов.
-        </para>
-        <para>
-            <literal>gatewayID</literal>: список идентификаторов шлюзов, связанных с модулем
-            <literal>module_name</literal>.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Примеры</title>
-        <programlisting role="example"><![CDATA[ 
-[primitives,primitivesID,gatewayID] = readgateway('core');
-primitives(1) // примитив 'debug'
-primitivesID(1) // идентификатор примитива 'debug' в шлюзе 'core'
-gatewayID(1) // идентификатор шлюза 'core' в Scilab
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Смотрите также</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="getmodules">getmodules</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>