diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/console | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/console')
505 files changed, 47340 insertions, 0 deletions
diff --git a/modules/console/.libs/libsciconsole-minimal.la b/modules/console/.libs/libsciconsole-minimal.la new file mode 120000 index 000000000..c3d8e18be --- /dev/null +++ b/modules/console/.libs/libsciconsole-minimal.la @@ -0,0 +1 @@ +../libsciconsole-minimal.la
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole-minimal.lai b/modules/console/.libs/libsciconsole-minimal.lai new file mode 100755 index 000000000..83ca7a130 --- /dev/null +++ b/modules/console/.libs/libsciconsole-minimal.lai @@ -0,0 +1,41 @@ +# libsciconsole-minimal.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libsciconsole-minimal.so.5' + +# Names of this library. +library_names='libsciconsole-minimal.so.5.5.2 libsciconsole-minimal.so.5 libsciconsole-minimal.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libsciconsole-minimal. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/console/.libs/libsciconsole-minimal.so b/modules/console/.libs/libsciconsole-minimal.so new file mode 120000 index 000000000..dc34a7b36 --- /dev/null +++ b/modules/console/.libs/libsciconsole-minimal.so @@ -0,0 +1 @@ +libsciconsole-minimal.so.5.5.2
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole-minimal.so.5 b/modules/console/.libs/libsciconsole-minimal.so.5 new file mode 120000 index 000000000..dc34a7b36 --- /dev/null +++ b/modules/console/.libs/libsciconsole-minimal.so.5 @@ -0,0 +1 @@ +libsciconsole-minimal.so.5.5.2
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole-minimal.so.5.5.2 b/modules/console/.libs/libsciconsole-minimal.so.5.5.2 Binary files differnew file mode 100755 index 000000000..5a90667f3 --- /dev/null +++ b/modules/console/.libs/libsciconsole-minimal.so.5.5.2 diff --git a/modules/console/.libs/libsciconsole.la b/modules/console/.libs/libsciconsole.la new file mode 120000 index 000000000..0c11ab6fc --- /dev/null +++ b/modules/console/.libs/libsciconsole.la @@ -0,0 +1 @@ +../libsciconsole.la
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole.lai b/modules/console/.libs/libsciconsole.lai new file mode 100755 index 000000000..2bfe1d8a6 --- /dev/null +++ b/modules/console/.libs/libsciconsole.lai @@ -0,0 +1,41 @@ +# libsciconsole.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libsciconsole.so.5' + +# Names of this library. +library_names='libsciconsole.so.5.5.2 libsciconsole.so.5 libsciconsole.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' /usr/local/lib/scilab/libsciconsole-minimal.la -lpthread -ldl -lcurses' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libsciconsole. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/console/.libs/libsciconsole.so b/modules/console/.libs/libsciconsole.so new file mode 120000 index 000000000..771e25124 --- /dev/null +++ b/modules/console/.libs/libsciconsole.so @@ -0,0 +1 @@ +libsciconsole.so.5.5.2
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole.so.5 b/modules/console/.libs/libsciconsole.so.5 new file mode 120000 index 000000000..771e25124 --- /dev/null +++ b/modules/console/.libs/libsciconsole.so.5 @@ -0,0 +1 @@ +libsciconsole.so.5.5.2
\ No newline at end of file diff --git a/modules/console/.libs/libsciconsole.so.5.5.2 b/modules/console/.libs/libsciconsole.so.5.5.2 Binary files differnew file mode 100755 index 000000000..c1e1b0bc2 --- /dev/null +++ b/modules/console/.libs/libsciconsole.so.5.5.2 diff --git a/modules/console/.libs/libsciconsole.so.5.5.2T b/modules/console/.libs/libsciconsole.so.5.5.2T Binary files differnew file mode 100755 index 000000000..e869edb2b --- /dev/null +++ b/modules/console/.libs/libsciconsole.so.5.5.2T diff --git a/modules/console/Makefile b/modules/console/Makefile new file mode 100755 index 000000000..8bd16c246 --- /dev/null +++ b/modules/console/Makefile @@ -0,0 +1,2065 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# modules/console/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru +# Copyright (C) INRIA - 2007 - Vincent COUVERT +# Copyright (C) DIGITEO - 2009 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# Copyright (C) DIGITEO - 2011 - 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 +# + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# 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 +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/scilab +pkgincludedir = $(includedir)/scilab +pkglibdir = $(libdir)/scilab +pkglibexecdir = $(libexecdir)/scilab +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +#am__append_1 = giws +#am__append_2 = swig +#am__append_3 = src/c/others/initMacOSXEnv.c +#am__append_4 = src/c/others/initMacOSXEnv.c + +# FIXME: Plateform specific optimisation flags should be set on configure.ac +#am__append_5 = -msse2 +am__append_6 = libsciconsole.la +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +am__append_7 = java +subdir = modules/console +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libsciconsole_la_etcdir)" \ + "$(DESTDIR)$(libsciconsole_la_rootdir)" \ + "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" +LTLIBRARIES = $(pkglib_LTLIBRARIES) +libsciconsole_minimal_la_LIBADD = +am__libsciconsole_minimal_la_SOURCES_DIST = src/noconsole/noconsole.c \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c src/c/clc.c \ + src/c/tohome.c src/c/more.c src/c/scilines.c \ + src/c/GetCommandLine.c src/c/others/gotoxy_nw.c \ + src/c/others/clrscr_nw.c src/c/prompt.c src/c/promptecho.c \ + src/c/cmdLine/autoCompletionCli.c \ + src/c/cmdLine/charactersManagement.c \ + src/c/cmdLine/cliDisplayManagement.c \ + src/c/cmdLine/cliHistory.c src/c/cmdLine/cliPrompt.c \ + src/c/cmdLine/getKey.c src/c/cmdLine/getNbrLine.c \ + src/c/cmdLine/gotoFunctions.c src/c/cmdLine/initConsoleMode.c \ + src/c/cmdLine/termcapManagement.c src/c/others/initMacOSXEnv.c +am__dirstamp = $(am__leading_dot)dirstamp +#am__objects_1 = src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo +am_libsciconsole_minimal_la_OBJECTS = \ + src/noconsole/libsciconsole_minimal_la-noconsole.lo \ + sci_gateway/c/libsciconsole_minimal_la-gw_console.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo \ + src/c/libsciconsole_minimal_la-clc.lo \ + src/c/libsciconsole_minimal_la-tohome.lo \ + src/c/libsciconsole_minimal_la-more.lo \ + src/c/libsciconsole_minimal_la-scilines.lo \ + src/c/libsciconsole_minimal_la-GetCommandLine.lo \ + src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo \ + src/c/others/libsciconsole_minimal_la-clrscr_nw.lo \ + src/c/libsciconsole_minimal_la-prompt.lo \ + src/c/libsciconsole_minimal_la-promptecho.lo \ + src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo \ + src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo \ + src/c/cmdLine/libsciconsole_minimal_la-getKey.lo \ + src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo \ + src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo \ + src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo \ + src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo \ + $(am__objects_1) +libsciconsole_minimal_la_OBJECTS = \ + $(am_libsciconsole_minimal_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +am__v_lt_1 = +libsciconsole_la_DEPENDENCIES = libsciconsole-minimal.la +am__libsciconsole_la_SOURCES_DIST = src/jni/GuiManagement_wrap.c \ + src/jni/DropFiles_wrap.c src/c/GuiManagement.c \ + src/c/dropFiles.c src/c/others/initMacOSXEnv.c \ + src/jni/CallScilabBridge.cpp src/cpp/ClearConsole.cpp \ + src/cpp/ClearConsolePart.cpp src/cpp/ConsolePrintf.cpp \ + src/cpp/ConsoleRead.cpp src/cpp/ConsoleIsWaitingForInput.cpp \ + src/cpp/GetCharWithoutOutput.cpp src/cpp/PromptToHome.cpp \ + src/cpp/ScilabLinesUpdate.cpp src/cpp/SetConsolePrompt.cpp \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c +am__objects_2 = src/jni/libsciconsole_la-GuiManagement_wrap.lo \ + src/jni/libsciconsole_la-DropFiles_wrap.lo +#am__objects_3 = src/c/others/libsciconsole_la-initMacOSXEnv.lo +am__objects_4 = src/c/libsciconsole_la-GuiManagement.lo \ + src/c/libsciconsole_la-dropFiles.lo $(am__objects_3) +am__objects_5 = src/jni/libsciconsole_la-CallScilabBridge.lo +am__objects_6 = src/cpp/libsciconsole_la-ClearConsole.lo \ + src/cpp/libsciconsole_la-ClearConsolePart.lo \ + src/cpp/libsciconsole_la-ConsolePrintf.lo \ + src/cpp/libsciconsole_la-ConsoleRead.lo \ + src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo \ + src/cpp/libsciconsole_la-GetCharWithoutOutput.lo \ + src/cpp/libsciconsole_la-PromptToHome.lo \ + src/cpp/libsciconsole_la-ScilabLinesUpdate.lo \ + src/cpp/libsciconsole_la-SetConsolePrompt.lo +am__objects_7 = sci_gateway/c/libsciconsole_la-gw_console.lo \ + sci_gateway/c/libsciconsole_la-sci_clc.lo \ + sci_gateway/c/libsciconsole_la-sci_tohome.lo \ + sci_gateway/c/libsciconsole_la-sci_lines.lo \ + sci_gateway/c/libsciconsole_la-sci_prompt.lo \ + sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo +am_libsciconsole_la_OBJECTS = $(am__objects_2) $(am__objects_4) \ + $(am__objects_5) $(am__objects_6) $(am__objects_7) +libsciconsole_la_OBJECTS = $(am_libsciconsole_la_OBJECTS) +am_libsciconsole_la_rpath = -rpath $(pkglibdir) +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_$(V)) +am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_$(V)) +am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(libsciconsole_minimal_la_SOURCES) \ + $(libsciconsole_la_SOURCES) +DIST_SOURCES = $(am__libsciconsole_minimal_la_SOURCES_DIST) \ + $(am__libsciconsole_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libsciconsole_la_etc_DATA) $(libsciconsole_la_root_DATA) \ + $(libsciconsole_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14 +ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ +ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +ANT = /usr/bin/ant +ANTLR = /usr/share/java/antlr.jar +AR = ar +ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack +ASM3 = /usr/share/java/asm3-3.3.2.jar +AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf +AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader +AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14 +AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar +AWK = mawk +BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar +BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas +CC = gcc +CCACHE = +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CHECKSTYLE = +COBERTURA = /usr/share/java/cobertura.jar +COMMONS_BEANUTILS = +COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar +COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar +CPP = gcc -E +CPPFLAGS = +CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config +CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz +CURL_VERSION = libcurl 7.19.7 +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEMOTOOLS_ENABLE = yes +DEPDIR = .deps +DLLTOOL = false +DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/ +DOXYGEN_BIN = +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar +EGREP = /bin/grep -E +EXEEXT = +F77 = gfortran +FFLAGS = -g -O2 +FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3 +FFTW_ENABLE = yes +FGREP = /bin/grep -F +FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar +FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath +FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar +FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar +FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar +FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar +FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar +FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar +GENHTML = +GETTEXT_MACRO_VERSION = 0.19 +GIWS_BIN = +GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar +GMSGFMT = /usr/bin/msgfmt +GMSGFMT_015 = /usr/bin/msgfmt +GRAPHICS_ENABLE = yes +GREP = /bin/grep +GUI_ENABLE = yes +HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl +HELP_ENABLE = yes +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +INTLLIBS = +INTL_MACOSX_LIBS = +JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar +JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac +JAVAC_DEBUG = off +JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc +JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah +JAVASCI_ENABLE = yes +JAVA_ENABLE = yes +JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64 +JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux +JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm +JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb +JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar +JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar +JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar +JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar +JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar +JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar +JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar +JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar +JUNIT4 = /usr/share/java/junit4.jar +LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack +LCOV = +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -Wl,--no-as-needed +LIBICONV = -liconv +LIBINTL = +LIBM = -lm +LIBOBJS = +LIBS = -lpthread -ldl -lcurses -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LOGGING_LEVEL = SEVERE +LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar +LTLIBICONV = -liconv +LTLIBINTL = +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo +MANIFEST_TOOL = : +MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +MATIO_ENABLE = yes +MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5 +MKDIR_P = /bin/mkdir -p +MPI_ENABLE = no +MSGCAT = /usr/bin/msgcat +MSGFMT = /usr/bin/msgfmt +MSGFMT_015 = /usr/bin/msgfmt +MSGMERGE = /usr/bin/msgmerge +NM = nm +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OCAMLC = ocamlc +OCAMLDEP = ocamldep +OCAMLLEX = ocamllex +OCAMLOPT = ocamlopt +OCAMLYACC = ocamlyacc +OPENMPI_CC = +OPENMPI_CFLAGS = +OPENMPI_CXX = +OPENMPI_CXXFLAGS = +OPENMPI_LIBS = +OPENMP_CFLAGS = -fopenmp +OPENMP_CXXFLAGS = -fopenmp +OPENMP_ENABLE = yes +OPENMP_LIBS = -lgomp -lstdc++ +OTOOL = +OTOOL64 = +PACKAGE = scilab +PACKAGE_BUGREPORT = http://bugzilla.scilab.org/ +PACKAGE_NAME = Scilab +PACKAGE_STRING = Scilab 5 +PACKAGE_TARNAME = scilab +PACKAGE_URL = +PACKAGE_VERSION = 5 +PATH_SEPARATOR = : +PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config +PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre +PCRE_VERSION = 8.35 +PKG_CONFIG = /usr/bin/pkg-config +POSUB = po +POW_LIB = +PYTHON = +RANLIB = ranlib +RELOCATABLE = no +RT_LIB = -lrt +SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar +SCILAB_BINARY_VERSION = 5.5.2 +SCILAB_LIBRARY_VERSION = 5:5:2 +SCILAB_VERSION_MAINTENANCE = 2 +SCILAB_VERSION_MAJOR = 5 +SCILAB_VERSION_MINOR = 5 +SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar +SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar +SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector +SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector +SCI_FFLAGS = -DNDEBUG -m64 -fPIC +SCI_LDFLAGS = +SED = /bin/sed +SET_MAKE = +SET_RELOCATABLE = +SHELL = /bin/bash +SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar +SPLINT = no +STRIP = strip +SWIG_BIN = +SWIG_JAVA = +SWIG_RUNTIME_LIBS_DIR = +SWIG_SCILAB = +TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl +TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_ENABLE = yes +UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd +USE_NLS = yes +VERSION = 5 +WITH_OCAML = +WITH_TKSCI = yes +XCOS_ENABLE = yes +XGETTEXT = /usr/bin/xgettext +XGETTEXT_015 = /usr/bin/xgettext +XGETTEXT_EXTRA_OPTIONS = +XMKMF = +XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar +XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar +XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config +XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2 +XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl +XML_VERSION = 2.9.1 +X_CFLAGS = +X_EXTRA_LIBS = +X_LIBS = +X_PRE_LIBS = +abs_builddir = /home/shashank/scilab-master_5.5.2/modules/console +abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/console +abs_top_builddir = /home/shashank/scilab-master_5.5.2 +abs_top_srcdir = /home/shashank/scilab-master_5.5.2 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_DUMPBIN = +ac_ct_F77 = gfortran +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +cxx_present = yes +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. + +#### Target ###### +modulename = console + +#### console : Conf files #### +libsciconsole_la_rootdir = $(mydatadir) +libsciconsole_la_root_DATA = license.txt + +#### console : init scripts #### +libsciconsole_la_etcdir = $(mydatadir)/etc +libsciconsole_la_etc_DATA = \ + etc/console.quit \ + etc/console.start \ + etc/configuration.xml \ + etc/XConfiguration-console.xml \ + etc/XConfiguration-console.xsl \ + etc/XConfiguration-general.xml \ + etc/XConfiguration-general.xsl \ + etc/Actions-Configuration.xml + + +#### console : List of the cpp files #### +CONSOLE_CXX_JNI_SOURCES = src/jni/CallScilabBridge.cpp +CONSOLE_CXX_SOURCES = src/cpp/ClearConsole.cpp \ +src/cpp/ClearConsolePart.cpp \ +src/cpp/ConsolePrintf.cpp \ +src/cpp/ConsoleRead.cpp \ +src/cpp/ConsoleIsWaitingForInput.cpp \ +src/cpp/GetCharWithoutOutput.cpp \ +src/cpp/PromptToHome.cpp \ +src/cpp/ScilabLinesUpdate.cpp \ +src/cpp/SetConsolePrompt.cpp + + +#### console : List of the c files #### +CONSOLE_C_JNI_SOURCES = src/jni/GuiManagement_wrap.c \ +src/jni/DropFiles_wrap.c + + +# List of the gateway c files +CONSOLE_GATEWAY_C_SOURCES = sci_gateway/c/gw_console.c \ +sci_gateway/c/sci_clc.c \ +sci_gateway/c/sci_tohome.c \ +sci_gateway/c/sci_lines.c \ +sci_gateway/c/sci_prompt.c \ +sci_gateway/c/sci_iswaitingforinput.c + +GIWS_WRAPPERS = src/jni/CallScilabBridge.giws.xml +BUILT_SOURCES = $(am__append_1) $(am__append_2) + +# List of the c files +libsciconsole_minimal_la_SOURCES = src/noconsole/noconsole.c \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c src/c/clc.c \ + src/c/tohome.c src/c/more.c src/c/scilines.c \ + src/c/GetCommandLine.c src/c/others/gotoxy_nw.c \ + src/c/others/clrscr_nw.c src/c/prompt.c src/c/promptecho.c \ + src/c/cmdLine/autoCompletionCli.c \ + src/c/cmdLine/charactersManagement.c \ + src/c/cmdLine/cliDisplayManagement.c \ + src/c/cmdLine/cliHistory.c src/c/cmdLine/cliPrompt.c \ + src/c/cmdLine/getKey.c src/c/cmdLine/getNbrLine.c \ + src/c/cmdLine/gotoFunctions.c src/c/cmdLine/initConsoleMode.c \ + src/c/cmdLine/termcapManagement.c $(am__append_4) +CONSOLE_C_SOURCES = src/c/GuiManagement.c src/c/dropFiles.c \ + $(am__append_3) +libsciconsole_minimal_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes \ + $(AM_CPPFLAGS) + + +# Includes need for the compilation +libsciconsole_la_CPPFLAGS = -I$(srcdir)/includes/ -I$(srcdir)/src/c/ \ + -I$(srcdir)/src/c/cmdLine -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ -I$(top_srcdir)/modules/commons/src/jni/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ $(JAVA_JNI_INCLUDE) \ + $(AM_CPPFLAGS) $(am__append_5) + +# Name of the library +pkglib_LTLIBRARIES = libsciconsole-minimal.la $(am__append_6) +libsciconsole_la_LIBADD = libsciconsole-minimal.la + +# All the sources needed by libsciconsole.la +libsciconsole_la_SOURCES = $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) $(CONSOLE_CXX_JNI_SOURCES) $(CONSOLE_CXX_SOURCES) $(CONSOLE_GATEWAY_C_SOURCES) + +# For the code check (splint) +CHECK_SRC = $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) +INCLUDE_FLAGS = $(libsciconsole_la_CPPFLAGS) + +#### console : gateway declaration #### +libsciconsole_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libsciconsole_la_sci_gateway_DATA = sci_gateway/console_gateway.xml + +#### SWIG Declaration #### +SWIG_WRAPPERS = src/jni/GuiManagement.i \ + src/jni/DropFiles.i + + +# Provides macros compilation, Java compilation, cleaning +# If you want Makefile to call ant, add USEANT=1 +USEANT = 1 + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_7) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/console/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/console/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/noconsole/$(am__dirstamp): + @$(MKDIR_P) src/noconsole + @: > src/noconsole/$(am__dirstamp) +src/noconsole/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/noconsole/$(DEPDIR) + @: > src/noconsole/$(DEPDIR)/$(am__dirstamp) +src/noconsole/libsciconsole_minimal_la-noconsole.lo: \ + src/noconsole/$(am__dirstamp) \ + src/noconsole/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-gw_console.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +src/c/$(am__dirstamp): + @$(MKDIR_P) src/c + @: > src/c/$(am__dirstamp) +src/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/$(DEPDIR) + @: > src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-clc.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-tohome.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-more.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-scilines.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-GetCommandLine.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/others/$(am__dirstamp): + @$(MKDIR_P) src/c/others + @: > src/c/others/$(am__dirstamp) +src/c/others/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/others/$(DEPDIR) + @: > src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-clrscr_nw.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-prompt.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-promptecho.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/$(am__dirstamp): + @$(MKDIR_P) src/c/cmdLine + @: > src/c/cmdLine/$(am__dirstamp) +src/c/cmdLine/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/cmdLine/$(DEPDIR) + @: > src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-getKey.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) + +libsciconsole-minimal.la: $(libsciconsole_minimal_la_OBJECTS) $(libsciconsole_minimal_la_DEPENDENCIES) $(EXTRA_libsciconsole_minimal_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libsciconsole_minimal_la_OBJECTS) $(libsciconsole_minimal_la_LIBADD) $(LIBS) +src/jni/$(am__dirstamp): + @$(MKDIR_P) src/jni + @: > src/jni/$(am__dirstamp) +src/jni/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/jni/$(DEPDIR) + @: > src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-GuiManagement_wrap.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-DropFiles_wrap.lo: src/jni/$(am__dirstamp) \ + src/jni/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_la-GuiManagement.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_la-dropFiles.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_la-initMacOSXEnv.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-CallScilabBridge.lo: src/jni/$(am__dirstamp) \ + src/jni/$(DEPDIR)/$(am__dirstamp) +src/cpp/$(am__dirstamp): + @$(MKDIR_P) src/cpp + @: > src/cpp/$(am__dirstamp) +src/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/cpp/$(DEPDIR) + @: > src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ClearConsole.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ClearConsolePart.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsolePrintf.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsoleRead.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-GetCharWithoutOutput.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-PromptToHome.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ScilabLinesUpdate.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-SetConsolePrompt.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-gw_console.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_clc.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_tohome.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_lines.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_prompt.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + +libsciconsole.la: $(libsciconsole_la_OBJECTS) $(libsciconsole_la_DEPENDENCIES) $(EXTRA_libsciconsole_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libsciconsole_la_rpath) $(libsciconsole_la_OBJECTS) $(libsciconsole_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f src/c/*.$(OBJEXT) + -rm -f src/c/*.lo + -rm -f src/c/cmdLine/*.$(OBJEXT) + -rm -f src/c/cmdLine/*.lo + -rm -f src/c/others/*.$(OBJEXT) + -rm -f src/c/others/*.lo + -rm -f src/cpp/*.$(OBJEXT) + -rm -f src/cpp/*.lo + -rm -f src/jni/*.$(OBJEXT) + -rm -f src/jni/*.lo + -rm -f src/noconsole/*.$(OBJEXT) + -rm -f src/noconsole/*.lo + +distclean-compile: + -rm -f *.tab.c + +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Plo +include sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Plo +include src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Plo +include src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Plo +include src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Plo +include src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Plo +include src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Plo +include src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Plo +include src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Plo +include src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Plo +include src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Plo +include src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Plo +include src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Plo +include src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Plo +include src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Plo + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC)source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $< + +src/noconsole/libsciconsole_minimal_la-noconsole.lo: src/noconsole/noconsole.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/noconsole/libsciconsole_minimal_la-noconsole.lo -MD -MP -MF src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Tpo -c -o src/noconsole/libsciconsole_minimal_la-noconsole.lo `test -f 'src/noconsole/noconsole.c' || echo '$(srcdir)/'`src/noconsole/noconsole.c + $(AM_V_at)$(am__mv) src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Tpo src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Plo +# $(AM_V_CC)source='src/noconsole/noconsole.c' object='src/noconsole/libsciconsole_minimal_la-noconsole.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/noconsole/libsciconsole_minimal_la-noconsole.lo `test -f 'src/noconsole/noconsole.c' || echo '$(srcdir)/'`src/noconsole/noconsole.c + +sci_gateway/c/libsciconsole_minimal_la-gw_console.lo: sci_gateway/c/gw_console.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-gw_console.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Plo +# $(AM_V_CC)source='sci_gateway/c/gw_console.c' object='sci_gateway/c/libsciconsole_minimal_la-gw_console.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + +sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo: sci_gateway/c/sci_clc.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_clc.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + +sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo: sci_gateway/c/sci_tohome.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_tohome.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + +sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo: sci_gateway/c/sci_lines.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_lines.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + +sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo: sci_gateway/c/sci_prompt.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_prompt.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + +sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo: sci_gateway/c/sci_iswaitingforinput.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_iswaitingforinput.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c + +src/c/libsciconsole_minimal_la-clc.lo: src/c/clc.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-clc.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Tpo -c -o src/c/libsciconsole_minimal_la-clc.lo `test -f 'src/c/clc.c' || echo '$(srcdir)/'`src/c/clc.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Plo +# $(AM_V_CC)source='src/c/clc.c' object='src/c/libsciconsole_minimal_la-clc.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-clc.lo `test -f 'src/c/clc.c' || echo '$(srcdir)/'`src/c/clc.c + +src/c/libsciconsole_minimal_la-tohome.lo: src/c/tohome.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-tohome.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Tpo -c -o src/c/libsciconsole_minimal_la-tohome.lo `test -f 'src/c/tohome.c' || echo '$(srcdir)/'`src/c/tohome.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Plo +# $(AM_V_CC)source='src/c/tohome.c' object='src/c/libsciconsole_minimal_la-tohome.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-tohome.lo `test -f 'src/c/tohome.c' || echo '$(srcdir)/'`src/c/tohome.c + +src/c/libsciconsole_minimal_la-more.lo: src/c/more.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-more.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Tpo -c -o src/c/libsciconsole_minimal_la-more.lo `test -f 'src/c/more.c' || echo '$(srcdir)/'`src/c/more.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Plo +# $(AM_V_CC)source='src/c/more.c' object='src/c/libsciconsole_minimal_la-more.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-more.lo `test -f 'src/c/more.c' || echo '$(srcdir)/'`src/c/more.c + +src/c/libsciconsole_minimal_la-scilines.lo: src/c/scilines.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-scilines.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Tpo -c -o src/c/libsciconsole_minimal_la-scilines.lo `test -f 'src/c/scilines.c' || echo '$(srcdir)/'`src/c/scilines.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Plo +# $(AM_V_CC)source='src/c/scilines.c' object='src/c/libsciconsole_minimal_la-scilines.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-scilines.lo `test -f 'src/c/scilines.c' || echo '$(srcdir)/'`src/c/scilines.c + +src/c/libsciconsole_minimal_la-GetCommandLine.lo: src/c/GetCommandLine.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-GetCommandLine.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Tpo -c -o src/c/libsciconsole_minimal_la-GetCommandLine.lo `test -f 'src/c/GetCommandLine.c' || echo '$(srcdir)/'`src/c/GetCommandLine.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Plo +# $(AM_V_CC)source='src/c/GetCommandLine.c' object='src/c/libsciconsole_minimal_la-GetCommandLine.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-GetCommandLine.lo `test -f 'src/c/GetCommandLine.c' || echo '$(srcdir)/'`src/c/GetCommandLine.c + +src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo: src/c/others/gotoxy_nw.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Tpo -c -o src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo `test -f 'src/c/others/gotoxy_nw.c' || echo '$(srcdir)/'`src/c/others/gotoxy_nw.c + $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Plo +# $(AM_V_CC)source='src/c/others/gotoxy_nw.c' object='src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo `test -f 'src/c/others/gotoxy_nw.c' || echo '$(srcdir)/'`src/c/others/gotoxy_nw.c + +src/c/others/libsciconsole_minimal_la-clrscr_nw.lo: src/c/others/clrscr_nw.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-clrscr_nw.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Tpo -c -o src/c/others/libsciconsole_minimal_la-clrscr_nw.lo `test -f 'src/c/others/clrscr_nw.c' || echo '$(srcdir)/'`src/c/others/clrscr_nw.c + $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Plo +# $(AM_V_CC)source='src/c/others/clrscr_nw.c' object='src/c/others/libsciconsole_minimal_la-clrscr_nw.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-clrscr_nw.lo `test -f 'src/c/others/clrscr_nw.c' || echo '$(srcdir)/'`src/c/others/clrscr_nw.c + +src/c/libsciconsole_minimal_la-prompt.lo: src/c/prompt.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-prompt.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Tpo -c -o src/c/libsciconsole_minimal_la-prompt.lo `test -f 'src/c/prompt.c' || echo '$(srcdir)/'`src/c/prompt.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Plo +# $(AM_V_CC)source='src/c/prompt.c' object='src/c/libsciconsole_minimal_la-prompt.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-prompt.lo `test -f 'src/c/prompt.c' || echo '$(srcdir)/'`src/c/prompt.c + +src/c/libsciconsole_minimal_la-promptecho.lo: src/c/promptecho.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-promptecho.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Tpo -c -o src/c/libsciconsole_minimal_la-promptecho.lo `test -f 'src/c/promptecho.c' || echo '$(srcdir)/'`src/c/promptecho.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Plo +# $(AM_V_CC)source='src/c/promptecho.c' object='src/c/libsciconsole_minimal_la-promptecho.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-promptecho.lo `test -f 'src/c/promptecho.c' || echo '$(srcdir)/'`src/c/promptecho.c + +src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo: src/c/cmdLine/autoCompletionCli.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo `test -f 'src/c/cmdLine/autoCompletionCli.c' || echo '$(srcdir)/'`src/c/cmdLine/autoCompletionCli.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Plo +# $(AM_V_CC)source='src/c/cmdLine/autoCompletionCli.c' object='src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo `test -f 'src/c/cmdLine/autoCompletionCli.c' || echo '$(srcdir)/'`src/c/cmdLine/autoCompletionCli.c + +src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo: src/c/cmdLine/charactersManagement.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo `test -f 'src/c/cmdLine/charactersManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/charactersManagement.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Plo +# $(AM_V_CC)source='src/c/cmdLine/charactersManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo `test -f 'src/c/cmdLine/charactersManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/charactersManagement.c + +src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo: src/c/cmdLine/cliDisplayManagement.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo `test -f 'src/c/cmdLine/cliDisplayManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/cliDisplayManagement.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Plo +# $(AM_V_CC)source='src/c/cmdLine/cliDisplayManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo `test -f 'src/c/cmdLine/cliDisplayManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/cliDisplayManagement.c + +src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo: src/c/cmdLine/cliHistory.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo `test -f 'src/c/cmdLine/cliHistory.c' || echo '$(srcdir)/'`src/c/cmdLine/cliHistory.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Plo +# $(AM_V_CC)source='src/c/cmdLine/cliHistory.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo `test -f 'src/c/cmdLine/cliHistory.c' || echo '$(srcdir)/'`src/c/cmdLine/cliHistory.c + +src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo: src/c/cmdLine/cliPrompt.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo `test -f 'src/c/cmdLine/cliPrompt.c' || echo '$(srcdir)/'`src/c/cmdLine/cliPrompt.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Plo +# $(AM_V_CC)source='src/c/cmdLine/cliPrompt.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo `test -f 'src/c/cmdLine/cliPrompt.c' || echo '$(srcdir)/'`src/c/cmdLine/cliPrompt.c + +src/c/cmdLine/libsciconsole_minimal_la-getKey.lo: src/c/cmdLine/getKey.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-getKey.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-getKey.lo `test -f 'src/c/cmdLine/getKey.c' || echo '$(srcdir)/'`src/c/cmdLine/getKey.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Plo +# $(AM_V_CC)source='src/c/cmdLine/getKey.c' object='src/c/cmdLine/libsciconsole_minimal_la-getKey.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-getKey.lo `test -f 'src/c/cmdLine/getKey.c' || echo '$(srcdir)/'`src/c/cmdLine/getKey.c + +src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo: src/c/cmdLine/getNbrLine.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo `test -f 'src/c/cmdLine/getNbrLine.c' || echo '$(srcdir)/'`src/c/cmdLine/getNbrLine.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Plo +# $(AM_V_CC)source='src/c/cmdLine/getNbrLine.c' object='src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo `test -f 'src/c/cmdLine/getNbrLine.c' || echo '$(srcdir)/'`src/c/cmdLine/getNbrLine.c + +src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo: src/c/cmdLine/gotoFunctions.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo `test -f 'src/c/cmdLine/gotoFunctions.c' || echo '$(srcdir)/'`src/c/cmdLine/gotoFunctions.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Plo +# $(AM_V_CC)source='src/c/cmdLine/gotoFunctions.c' object='src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo `test -f 'src/c/cmdLine/gotoFunctions.c' || echo '$(srcdir)/'`src/c/cmdLine/gotoFunctions.c + +src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo: src/c/cmdLine/initConsoleMode.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo `test -f 'src/c/cmdLine/initConsoleMode.c' || echo '$(srcdir)/'`src/c/cmdLine/initConsoleMode.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Plo +# $(AM_V_CC)source='src/c/cmdLine/initConsoleMode.c' object='src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo `test -f 'src/c/cmdLine/initConsoleMode.c' || echo '$(srcdir)/'`src/c/cmdLine/initConsoleMode.c + +src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo: src/c/cmdLine/termcapManagement.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo `test -f 'src/c/cmdLine/termcapManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/termcapManagement.c + $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Plo +# $(AM_V_CC)source='src/c/cmdLine/termcapManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo `test -f 'src/c/cmdLine/termcapManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/termcapManagement.c + +src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo: src/c/others/initMacOSXEnv.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Tpo -c -o src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Plo +# $(AM_V_CC)source='src/c/others/initMacOSXEnv.c' object='src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + +src/jni/libsciconsole_la-GuiManagement_wrap.lo: src/jni/GuiManagement_wrap.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libsciconsole_la-GuiManagement_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Tpo -c -o src/jni/libsciconsole_la-GuiManagement_wrap.lo `test -f 'src/jni/GuiManagement_wrap.c' || echo '$(srcdir)/'`src/jni/GuiManagement_wrap.c + $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Tpo src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Plo +# $(AM_V_CC)source='src/jni/GuiManagement_wrap.c' object='src/jni/libsciconsole_la-GuiManagement_wrap.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libsciconsole_la-GuiManagement_wrap.lo `test -f 'src/jni/GuiManagement_wrap.c' || echo '$(srcdir)/'`src/jni/GuiManagement_wrap.c + +src/jni/libsciconsole_la-DropFiles_wrap.lo: src/jni/DropFiles_wrap.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libsciconsole_la-DropFiles_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Tpo -c -o src/jni/libsciconsole_la-DropFiles_wrap.lo `test -f 'src/jni/DropFiles_wrap.c' || echo '$(srcdir)/'`src/jni/DropFiles_wrap.c + $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Tpo src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Plo +# $(AM_V_CC)source='src/jni/DropFiles_wrap.c' object='src/jni/libsciconsole_la-DropFiles_wrap.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libsciconsole_la-DropFiles_wrap.lo `test -f 'src/jni/DropFiles_wrap.c' || echo '$(srcdir)/'`src/jni/DropFiles_wrap.c + +src/c/libsciconsole_la-GuiManagement.lo: src/c/GuiManagement.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_la-GuiManagement.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Tpo -c -o src/c/libsciconsole_la-GuiManagement.lo `test -f 'src/c/GuiManagement.c' || echo '$(srcdir)/'`src/c/GuiManagement.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Tpo src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Plo +# $(AM_V_CC)source='src/c/GuiManagement.c' object='src/c/libsciconsole_la-GuiManagement.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_la-GuiManagement.lo `test -f 'src/c/GuiManagement.c' || echo '$(srcdir)/'`src/c/GuiManagement.c + +src/c/libsciconsole_la-dropFiles.lo: src/c/dropFiles.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_la-dropFiles.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Tpo -c -o src/c/libsciconsole_la-dropFiles.lo `test -f 'src/c/dropFiles.c' || echo '$(srcdir)/'`src/c/dropFiles.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Tpo src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Plo +# $(AM_V_CC)source='src/c/dropFiles.c' object='src/c/libsciconsole_la-dropFiles.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_la-dropFiles.lo `test -f 'src/c/dropFiles.c' || echo '$(srcdir)/'`src/c/dropFiles.c + +src/c/others/libsciconsole_la-initMacOSXEnv.lo: src/c/others/initMacOSXEnv.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_la-initMacOSXEnv.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Tpo -c -o src/c/others/libsciconsole_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Tpo src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Plo +# $(AM_V_CC)source='src/c/others/initMacOSXEnv.c' object='src/c/others/libsciconsole_la-initMacOSXEnv.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + +sci_gateway/c/libsciconsole_la-gw_console.lo: sci_gateway/c/gw_console.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-gw_console.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Tpo -c -o sci_gateway/c/libsciconsole_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Plo +# $(AM_V_CC)source='sci_gateway/c/gw_console.c' object='sci_gateway/c/libsciconsole_la-gw_console.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + +sci_gateway/c/libsciconsole_la-sci_clc.lo: sci_gateway/c/sci_clc.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_clc.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_clc.c' object='sci_gateway/c/libsciconsole_la-sci_clc.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + +sci_gateway/c/libsciconsole_la-sci_tohome.lo: sci_gateway/c/sci_tohome.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_tohome.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_tohome.c' object='sci_gateway/c/libsciconsole_la-sci_tohome.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + +sci_gateway/c/libsciconsole_la-sci_lines.lo: sci_gateway/c/sci_lines.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_lines.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_lines.c' object='sci_gateway/c/libsciconsole_la-sci_lines.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + +sci_gateway/c/libsciconsole_la-sci_prompt.lo: sci_gateway/c/sci_prompt.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_prompt.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_prompt.c' object='sci_gateway/c/libsciconsole_la-sci_prompt.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + +sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo: sci_gateway/c/sci_iswaitingforinput.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_iswaitingforinput.c' object='sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c + +.cpp.o: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CXX)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CXX)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CXX)source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LTCXXCOMPILE) -c -o $@ $< + +src/jni/libsciconsole_la-CallScilabBridge.lo: src/jni/CallScilabBridge.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libsciconsole_la-CallScilabBridge.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Tpo -c -o src/jni/libsciconsole_la-CallScilabBridge.lo `test -f 'src/jni/CallScilabBridge.cpp' || echo '$(srcdir)/'`src/jni/CallScilabBridge.cpp + $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Tpo src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Plo +# $(AM_V_CXX)source='src/jni/CallScilabBridge.cpp' object='src/jni/libsciconsole_la-CallScilabBridge.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libsciconsole_la-CallScilabBridge.lo `test -f 'src/jni/CallScilabBridge.cpp' || echo '$(srcdir)/'`src/jni/CallScilabBridge.cpp + +src/cpp/libsciconsole_la-ClearConsole.lo: src/cpp/ClearConsole.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ClearConsole.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Tpo -c -o src/cpp/libsciconsole_la-ClearConsole.lo `test -f 'src/cpp/ClearConsole.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsole.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Plo +# $(AM_V_CXX)source='src/cpp/ClearConsole.cpp' object='src/cpp/libsciconsole_la-ClearConsole.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ClearConsole.lo `test -f 'src/cpp/ClearConsole.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsole.cpp + +src/cpp/libsciconsole_la-ClearConsolePart.lo: src/cpp/ClearConsolePart.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ClearConsolePart.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Tpo -c -o src/cpp/libsciconsole_la-ClearConsolePart.lo `test -f 'src/cpp/ClearConsolePart.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsolePart.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Plo +# $(AM_V_CXX)source='src/cpp/ClearConsolePart.cpp' object='src/cpp/libsciconsole_la-ClearConsolePart.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ClearConsolePart.lo `test -f 'src/cpp/ClearConsolePart.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsolePart.cpp + +src/cpp/libsciconsole_la-ConsolePrintf.lo: src/cpp/ConsolePrintf.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsolePrintf.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Tpo -c -o src/cpp/libsciconsole_la-ConsolePrintf.lo `test -f 'src/cpp/ConsolePrintf.cpp' || echo '$(srcdir)/'`src/cpp/ConsolePrintf.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Plo +# $(AM_V_CXX)source='src/cpp/ConsolePrintf.cpp' object='src/cpp/libsciconsole_la-ConsolePrintf.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsolePrintf.lo `test -f 'src/cpp/ConsolePrintf.cpp' || echo '$(srcdir)/'`src/cpp/ConsolePrintf.cpp + +src/cpp/libsciconsole_la-ConsoleRead.lo: src/cpp/ConsoleRead.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsoleRead.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Tpo -c -o src/cpp/libsciconsole_la-ConsoleRead.lo `test -f 'src/cpp/ConsoleRead.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleRead.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Plo +# $(AM_V_CXX)source='src/cpp/ConsoleRead.cpp' object='src/cpp/libsciconsole_la-ConsoleRead.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsoleRead.lo `test -f 'src/cpp/ConsoleRead.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleRead.cpp + +src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo: src/cpp/ConsoleIsWaitingForInput.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Tpo -c -o src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo `test -f 'src/cpp/ConsoleIsWaitingForInput.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleIsWaitingForInput.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Plo +# $(AM_V_CXX)source='src/cpp/ConsoleIsWaitingForInput.cpp' object='src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo `test -f 'src/cpp/ConsoleIsWaitingForInput.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleIsWaitingForInput.cpp + +src/cpp/libsciconsole_la-GetCharWithoutOutput.lo: src/cpp/GetCharWithoutOutput.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-GetCharWithoutOutput.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Tpo -c -o src/cpp/libsciconsole_la-GetCharWithoutOutput.lo `test -f 'src/cpp/GetCharWithoutOutput.cpp' || echo '$(srcdir)/'`src/cpp/GetCharWithoutOutput.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Plo +# $(AM_V_CXX)source='src/cpp/GetCharWithoutOutput.cpp' object='src/cpp/libsciconsole_la-GetCharWithoutOutput.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-GetCharWithoutOutput.lo `test -f 'src/cpp/GetCharWithoutOutput.cpp' || echo '$(srcdir)/'`src/cpp/GetCharWithoutOutput.cpp + +src/cpp/libsciconsole_la-PromptToHome.lo: src/cpp/PromptToHome.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-PromptToHome.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Tpo -c -o src/cpp/libsciconsole_la-PromptToHome.lo `test -f 'src/cpp/PromptToHome.cpp' || echo '$(srcdir)/'`src/cpp/PromptToHome.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Plo +# $(AM_V_CXX)source='src/cpp/PromptToHome.cpp' object='src/cpp/libsciconsole_la-PromptToHome.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-PromptToHome.lo `test -f 'src/cpp/PromptToHome.cpp' || echo '$(srcdir)/'`src/cpp/PromptToHome.cpp + +src/cpp/libsciconsole_la-ScilabLinesUpdate.lo: src/cpp/ScilabLinesUpdate.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ScilabLinesUpdate.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Tpo -c -o src/cpp/libsciconsole_la-ScilabLinesUpdate.lo `test -f 'src/cpp/ScilabLinesUpdate.cpp' || echo '$(srcdir)/'`src/cpp/ScilabLinesUpdate.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Plo +# $(AM_V_CXX)source='src/cpp/ScilabLinesUpdate.cpp' object='src/cpp/libsciconsole_la-ScilabLinesUpdate.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ScilabLinesUpdate.lo `test -f 'src/cpp/ScilabLinesUpdate.cpp' || echo '$(srcdir)/'`src/cpp/ScilabLinesUpdate.cpp + +src/cpp/libsciconsole_la-SetConsolePrompt.lo: src/cpp/SetConsolePrompt.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-SetConsolePrompt.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Tpo -c -o src/cpp/libsciconsole_la-SetConsolePrompt.lo `test -f 'src/cpp/SetConsolePrompt.cpp' || echo '$(srcdir)/'`src/cpp/SetConsolePrompt.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Plo +# $(AM_V_CXX)source='src/cpp/SetConsolePrompt.cpp' object='src/cpp/libsciconsole_la-SetConsolePrompt.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-SetConsolePrompt.lo `test -f 'src/cpp/SetConsolePrompt.cpp' || echo '$(srcdir)/'`src/cpp/SetConsolePrompt.cpp + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf src/c/.libs src/c/_libs + -rm -rf src/c/cmdLine/.libs src/c/cmdLine/_libs + -rm -rf src/c/others/.libs src/c/others/_libs + -rm -rf src/cpp/.libs src/cpp/_libs + -rm -rf src/jni/.libs src/jni/_libs + -rm -rf src/noconsole/.libs src/noconsole/_libs +install-libsciconsole_la_etcDATA: $(libsciconsole_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_etc_DATA)'; test -n "$(libsciconsole_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_etcdir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_etc_DATA)'; test -n "$(libsciconsole_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libsciconsole_la_rootDATA: $(libsciconsole_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_root_DATA)'; test -n "$(libsciconsole_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_rootdir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_root_DATA)'; test -n "$(libsciconsole_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libsciconsole_la_sci_gatewayDATA: $(libsciconsole_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_sci_gateway_DATA)'; test -n "$(libsciconsole_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_sci_gateway_DATA)'; test -n "$(libsciconsole_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libsciconsole_la_etcdir)" "$(DESTDIR)$(libsciconsole_la_rootdir)" "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f src/c/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/$(am__dirstamp) + -rm -f src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/cmdLine/$(am__dirstamp) + -rm -f src/c/others/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/others/$(am__dirstamp) + -rm -f src/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f src/cpp/$(am__dirstamp) + -rm -f src/jni/$(DEPDIR)/$(am__dirstamp) + -rm -f src/jni/$(am__dirstamp) + -rm -f src/noconsole/$(DEPDIR)/$(am__dirstamp) + -rm -f src/noconsole/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/c/cmdLine/$(DEPDIR) src/c/others/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/noconsole/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libsciconsole_la_etcDATA \ + install-libsciconsole_la_rootDATA \ + install-libsciconsole_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/c/cmdLine/$(DEPDIR) src/c/others/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/noconsole/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libsciconsole_la_etcDATA \ + uninstall-libsciconsole_la_rootDATA \ + uninstall-libsciconsole_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: all check check-am install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-local distclean-tags distdir dvi dvi-am html html-am \ + info info-am install install-am install-data install-data-am \ + install-data-local install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am \ + install-html-local install-info install-info-am \ + install-libsciconsole_la_etcDATA \ + install-libsciconsole_la_rootDATA \ + install-libsciconsole_la_sci_gatewayDATA install-man \ + install-pdf install-pdf-am install-pkglibLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am \ + uninstall-libsciconsole_la_etcDATA \ + uninstall-libsciconsole_la_rootDATA \ + uninstall-libsciconsole_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT); \ + fi + +clean-java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) clean; \ + fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#swig: $(SWIG_WRAPPERS) +# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +# if test -n "$(SWIG_WRAPPERS)"; then \ +# for file in $(SWIG_WRAPPERS) ; do \ +# echo "Swig process of $$file (Java) ..."; \ +# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +#swig-scilab: $(SWIG_SCILAB_WRAPPERS) +# @SWIG_OUTDIR=src/swig/; \ +# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +# for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +# echo "Swig process of $$file (Scilab) ..."; \ +# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#giws: $(GIWS_WRAPPERS) +# @GIWS_OUTPUTDIR=src/jni/; \ +# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +# if test -n "$(GIWS_WRAPPERS)"; then \ +# for file in $(GIWS_WRAPPERS) ; do \ +# echo "GIWS process of $$file ..."; \ +# if test -z "$(GIWS_OPTIONS)"; then \ +# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# else \ +# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# fi \ +# done; \ +# fi + +#giws-exception: +# @GIWS_OUTPUTDIR=src/jni/;\ +# echo "GIWS: Generation of exception class ..."; \ +# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed + @echo "-------- Install of XML sources of help files --------"; \ + for lang in $(ALL_LINGUAS); do \ + if test -d $(srcdir)/help/$$lang; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ + if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ + done ; \ + fi; \ + fi; \ + done; \ + @echo "-------- Install of MathML sources --------"; \ + if test -d $(srcdir)/help/mml/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ + if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ + done ; \ + fi; \ + fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +clean-local: clean-java +#clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/console/Makefile.am b/modules/console/Makefile.am new file mode 100755 index 000000000..cf5d41266 --- /dev/null +++ b/modules/console/Makefile.am @@ -0,0 +1,190 @@ +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru +# Copyright (C) INRIA - 2007 - Vincent COUVERT +# Copyright (C) DIGITEO - 2009 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# Copyright (C) DIGITEO - 2011 - 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 +# + + +#### Target ###### +modulename=console + +#### console : Conf files #### +libsciconsole_la_rootdir = $(mydatadir) +libsciconsole_la_root_DATA = license.txt + +#### console : init scripts #### +libsciconsole_la_etcdir = $(mydatadir)/etc +libsciconsole_la_etc_DATA = \ + etc/console.quit \ + etc/console.start \ + etc/configuration.xml \ + etc/XConfiguration-console.xml \ + etc/XConfiguration-console.xsl \ + etc/XConfiguration-general.xml \ + etc/XConfiguration-general.xsl \ + etc/Actions-Configuration.xml + +#### console : List of the cpp files #### +CONSOLE_CXX_JNI_SOURCES = src/jni/CallScilabBridge.cpp + +CONSOLE_CXX_SOURCES = src/cpp/ClearConsole.cpp \ +src/cpp/ClearConsolePart.cpp \ +src/cpp/ConsolePrintf.cpp \ +src/cpp/ConsoleRead.cpp \ +src/cpp/ConsoleIsWaitingForInput.cpp \ +src/cpp/GetCharWithoutOutput.cpp \ +src/cpp/PromptToHome.cpp \ +src/cpp/ScilabLinesUpdate.cpp \ +src/cpp/SetConsolePrompt.cpp + +#### console : List of the c files #### +CONSOLE_C_JNI_SOURCES = src/jni/GuiManagement_wrap.c \ +src/jni/DropFiles_wrap.c + +# List of the gateway c files +CONSOLE_GATEWAY_C_SOURCES = sci_gateway/c/gw_console.c \ +sci_gateway/c/sci_clc.c \ +sci_gateway/c/sci_tohome.c \ +sci_gateway/c/sci_lines.c \ +sci_gateway/c/sci_prompt.c \ +sci_gateway/c/sci_iswaitingforinput.c + +GIWS_WRAPPERS = src/jni/CallScilabBridge.giws.xml + +BUILT_SOURCES= + +if GIWS +BUILT_SOURCES+=giws +endif + +if SWIG +BUILT_SOURCES+=swig +endif + + +# List of the c files +libsciconsole_minimal_la_SOURCES = src/noconsole/noconsole.c \ +sci_gateway/c/gw_console.c \ +sci_gateway/c/sci_clc.c \ +sci_gateway/c/sci_tohome.c \ +sci_gateway/c/sci_lines.c \ +sci_gateway/c/sci_prompt.c \ +sci_gateway/c/sci_iswaitingforinput.c \ +src/c/clc.c \ +src/c/tohome.c \ +src/c/more.c \ +src/c/scilines.c \ +src/c/GetCommandLine.c \ +src/c/others/gotoxy_nw.c \ +src/c/others/clrscr_nw.c \ +src/c/prompt.c \ +src/c/promptecho.c \ +src/c/cmdLine/autoCompletionCli.c \ +src/c/cmdLine/charactersManagement.c \ +src/c/cmdLine/cliDisplayManagement.c \ +src/c/cmdLine/cliHistory.c \ +src/c/cmdLine/cliPrompt.c \ +src/c/cmdLine/getKey.c \ +src/c/cmdLine/getNbrLine.c \ +src/c/cmdLine/gotoFunctions.c \ +src/c/cmdLine/initConsoleMode.c \ +src/c/cmdLine/termcapManagement.c + + +CONSOLE_C_SOURCES = src/c/GuiManagement.c \ + src/c/dropFiles.c +if IS_MACOSX +CONSOLE_C_SOURCES += src/c/others/initMacOSXEnv.c +endif + +if IS_MACOSX +libsciconsole_minimal_la_SOURCES += src/c/others/initMacOSXEnv.c +endif + + +libsciconsole_minimal_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes \ + $(AM_CPPFLAGS) + +# Includes need for the compilation +libsciconsole_la_CPPFLAGS= -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(srcdir)/src/c/cmdLine \ + -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ \ + -I$(top_srcdir)/modules/commons/src/jni/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ \ + $(JAVA_JNI_INCLUDE) \ + $(AM_CPPFLAGS) + +# FIXME: Plateform specific optimisation flags should be set on configure.ac +if IS_MACOSX +libsciconsole_la_CPPFLAGS += -msse2 +endif + +# Name of the library +pkglib_LTLIBRARIES = libsciconsole-minimal.la + +if GUI +pkglib_LTLIBRARIES += libsciconsole.la +endif + +libsciconsole_la_LIBADD = libsciconsole-minimal.la + +# All the sources needed by libsciconsole.la +libsciconsole_la_SOURCES = $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) $(CONSOLE_CXX_JNI_SOURCES) $(CONSOLE_CXX_SOURCES) $(CONSOLE_GATEWAY_C_SOURCES) + +# For the code check (splint) +CHECK_SRC= $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) +INCLUDE_FLAGS = $(libsciconsole_la_CPPFLAGS) + +#### console : gateway declaration #### +libsciconsole_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libsciconsole_la_sci_gateway_DATA = sci_gateway/console_gateway.xml + +#### SWIG Declaration #### +SWIG_WRAPPERS = src/jni/GuiManagement.i \ + src/jni/DropFiles.i + +# Provides macros compilation, Java compilation, cleaning +# If you want Makefile to call ant, add USEANT=1 + +if GUI +USEANT=1 +endif + +include $(top_srcdir)/Makefile.incl.am diff --git a/modules/console/Makefile.in b/modules/console/Makefile.in new file mode 100755 index 000000000..432f63cc1 --- /dev/null +++ b/modules/console/Makefile.in @@ -0,0 +1,2065 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru +# Copyright (C) INRIA - 2007 - Vincent COUVERT +# Copyright (C) DIGITEO - 2009 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# Copyright (C) DIGITEO - 2011 - 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 +# + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# 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 +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + +VPATH = @srcdir@ +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@GIWS_TRUE@am__append_1 = giws +@SWIG_TRUE@am__append_2 = swig +@IS_MACOSX_TRUE@am__append_3 = src/c/others/initMacOSXEnv.c +@IS_MACOSX_TRUE@am__append_4 = src/c/others/initMacOSXEnv.c + +# FIXME: Plateform specific optimisation flags should be set on configure.ac +@IS_MACOSX_TRUE@am__append_5 = -msse2 +@GUI_TRUE@am__append_6 = libsciconsole.la +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +@NEED_JAVA_TRUE@am__append_7 = java +subdir = modules/console +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libsciconsole_la_etcdir)" \ + "$(DESTDIR)$(libsciconsole_la_rootdir)" \ + "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" +LTLIBRARIES = $(pkglib_LTLIBRARIES) +libsciconsole_minimal_la_LIBADD = +am__libsciconsole_minimal_la_SOURCES_DIST = src/noconsole/noconsole.c \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c src/c/clc.c \ + src/c/tohome.c src/c/more.c src/c/scilines.c \ + src/c/GetCommandLine.c src/c/others/gotoxy_nw.c \ + src/c/others/clrscr_nw.c src/c/prompt.c src/c/promptecho.c \ + src/c/cmdLine/autoCompletionCli.c \ + src/c/cmdLine/charactersManagement.c \ + src/c/cmdLine/cliDisplayManagement.c \ + src/c/cmdLine/cliHistory.c src/c/cmdLine/cliPrompt.c \ + src/c/cmdLine/getKey.c src/c/cmdLine/getNbrLine.c \ + src/c/cmdLine/gotoFunctions.c src/c/cmdLine/initConsoleMode.c \ + src/c/cmdLine/termcapManagement.c src/c/others/initMacOSXEnv.c +am__dirstamp = $(am__leading_dot)dirstamp +@IS_MACOSX_TRUE@am__objects_1 = src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo +am_libsciconsole_minimal_la_OBJECTS = \ + src/noconsole/libsciconsole_minimal_la-noconsole.lo \ + sci_gateway/c/libsciconsole_minimal_la-gw_console.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo \ + sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo \ + src/c/libsciconsole_minimal_la-clc.lo \ + src/c/libsciconsole_minimal_la-tohome.lo \ + src/c/libsciconsole_minimal_la-more.lo \ + src/c/libsciconsole_minimal_la-scilines.lo \ + src/c/libsciconsole_minimal_la-GetCommandLine.lo \ + src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo \ + src/c/others/libsciconsole_minimal_la-clrscr_nw.lo \ + src/c/libsciconsole_minimal_la-prompt.lo \ + src/c/libsciconsole_minimal_la-promptecho.lo \ + src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo \ + src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo \ + src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo \ + src/c/cmdLine/libsciconsole_minimal_la-getKey.lo \ + src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo \ + src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo \ + src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo \ + src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo \ + $(am__objects_1) +libsciconsole_minimal_la_OBJECTS = \ + $(am_libsciconsole_minimal_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libsciconsole_la_DEPENDENCIES = libsciconsole-minimal.la +am__libsciconsole_la_SOURCES_DIST = src/jni/GuiManagement_wrap.c \ + src/jni/DropFiles_wrap.c src/c/GuiManagement.c \ + src/c/dropFiles.c src/c/others/initMacOSXEnv.c \ + src/jni/CallScilabBridge.cpp src/cpp/ClearConsole.cpp \ + src/cpp/ClearConsolePart.cpp src/cpp/ConsolePrintf.cpp \ + src/cpp/ConsoleRead.cpp src/cpp/ConsoleIsWaitingForInput.cpp \ + src/cpp/GetCharWithoutOutput.cpp src/cpp/PromptToHome.cpp \ + src/cpp/ScilabLinesUpdate.cpp src/cpp/SetConsolePrompt.cpp \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c +am__objects_2 = src/jni/libsciconsole_la-GuiManagement_wrap.lo \ + src/jni/libsciconsole_la-DropFiles_wrap.lo +@IS_MACOSX_TRUE@am__objects_3 = src/c/others/libsciconsole_la-initMacOSXEnv.lo +am__objects_4 = src/c/libsciconsole_la-GuiManagement.lo \ + src/c/libsciconsole_la-dropFiles.lo $(am__objects_3) +am__objects_5 = src/jni/libsciconsole_la-CallScilabBridge.lo +am__objects_6 = src/cpp/libsciconsole_la-ClearConsole.lo \ + src/cpp/libsciconsole_la-ClearConsolePart.lo \ + src/cpp/libsciconsole_la-ConsolePrintf.lo \ + src/cpp/libsciconsole_la-ConsoleRead.lo \ + src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo \ + src/cpp/libsciconsole_la-GetCharWithoutOutput.lo \ + src/cpp/libsciconsole_la-PromptToHome.lo \ + src/cpp/libsciconsole_la-ScilabLinesUpdate.lo \ + src/cpp/libsciconsole_la-SetConsolePrompt.lo +am__objects_7 = sci_gateway/c/libsciconsole_la-gw_console.lo \ + sci_gateway/c/libsciconsole_la-sci_clc.lo \ + sci_gateway/c/libsciconsole_la-sci_tohome.lo \ + sci_gateway/c/libsciconsole_la-sci_lines.lo \ + sci_gateway/c/libsciconsole_la-sci_prompt.lo \ + sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo +am_libsciconsole_la_OBJECTS = $(am__objects_2) $(am__objects_4) \ + $(am__objects_5) $(am__objects_6) $(am__objects_7) +libsciconsole_la_OBJECTS = $(am_libsciconsole_la_OBJECTS) +@GUI_TRUE@am_libsciconsole_la_rpath = -rpath $(pkglibdir) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(libsciconsole_minimal_la_SOURCES) \ + $(libsciconsole_la_SOURCES) +DIST_SOURCES = $(am__libsciconsole_minimal_la_SOURCES_DIST) \ + $(am__libsciconsole_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libsciconsole_la_etc_DATA) $(libsciconsole_la_root_DATA) \ + $(libsciconsole_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +ANT = @ANT@ +ANTLR = @ANTLR@ +AR = @AR@ +ARPACK_LIBS = @ARPACK_LIBS@ +ASM3 = @ASM3@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AVALON_FRAMEWORK = @AVALON_FRAMEWORK@ +AWK = @AWK@ +BATIK = @BATIK@ +BLAS_LIBS = @BLAS_LIBS@ +CC = @CC@ +CCACHE = @CCACHE@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECKSTYLE = @CHECKSTYLE@ +COBERTURA = @COBERTURA@ +COMMONS_BEANUTILS = @COMMONS_BEANUTILS@ +COMMONS_IO = @COMMONS_IO@ +COMMONS_LOGGING = @COMMONS_LOGGING@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CURL_CFLAGS = @CURL_CFLAGS@ +CURL_CONFIG = @CURL_CONFIG@ +CURL_LIBS = @CURL_LIBS@ +CURL_VERSION = @CURL_VERSION@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOCBOOK_ROOT = @DOCBOOK_ROOT@ +DOXYGEN_BIN = @DOXYGEN_BIN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +ECJ = @ECJ@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FFTW3_LIB = @FFTW3_LIB@ +FFTW_ENABLE = @FFTW_ENABLE@ +FGREP = @FGREP@ +FLEXDOCK = @FLEXDOCK@ +FLIBS = @FLIBS@ +FOP = @FOP@ +FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@ +FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@ +FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@ +FREEHEP_IO = @FREEHEP_IO@ +FREEHEP_UTIL = @FREEHEP_UTIL@ +GENHTML = @GENHTML@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GIWS_BIN = @GIWS_BIN@ +GLUEGEN2_RT = @GLUEGEN2_RT@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GRAPHICS_ENABLE = @GRAPHICS_ENABLE@ +GREP = @GREP@ +GUI_ENABLE = @GUI_ENABLE@ +HDF5_CFLAGS = @HDF5_CFLAGS@ +HDF5_LIBS = @HDF5_LIBS@ +HELP_ENABLE = @HELP_ENABLE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JAR = @JAR@ +JAVA = @JAVA@ +JAVAC = @JAVAC@ +JAVAC_DEBUG = @JAVAC_DEBUG@ +JAVADOC = @JAVADOC@ +JAVAH = @JAVAH@ +JAVASCI_ENABLE = @JAVASCI_ENABLE@ +JAVA_ENABLE = @JAVA_ENABLE@ +JAVA_G = @JAVA_G@ +JAVA_HOME = @JAVA_HOME@ +JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@ +JAVA_JNI_LIBS = @JAVA_JNI_LIBS@ +JDB = @JDB@ +JEUCLID_CORE = @JEUCLID_CORE@ +JGRAPHX = @JGRAPHX@ +JHALL = @JHALL@ +JLATEXMATH = @JLATEXMATH@ +JLATEXMATH_FOP = @JLATEXMATH_FOP@ +JOGL2 = @JOGL2@ +JROSETTA_API = @JROSETTA_API@ +JROSETTA_ENGINE = @JROSETTA_ENGINE@ +JUNIT4 = @JUNIT4@ +LAPACK_LIBS = @LAPACK_LIBS@ +LCOV = @LCOV@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOGGING_LEVEL = @LOGGING_LEVEL@ +LOOKS = @LOOKS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATIO_CFLAGS = @MATIO_CFLAGS@ +MATIO_ENABLE = @MATIO_ENABLE@ +MATIO_LIBS = @MATIO_LIBS@ +MKDIR_P = @MKDIR_P@ +MPI_ENABLE = @MPI_ENABLE@ +MSGCAT = @MSGCAT@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OCAMLC = @OCAMLC@ +OCAMLDEP = @OCAMLDEP@ +OCAMLLEX = @OCAMLLEX@ +OCAMLOPT = @OCAMLOPT@ +OCAMLYACC = @OCAMLYACC@ +OPENMPI_CC = @OPENMPI_CC@ +OPENMPI_CFLAGS = @OPENMPI_CFLAGS@ +OPENMPI_CXX = @OPENMPI_CXX@ +OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@ +OPENMPI_LIBS = @OPENMPI_LIBS@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@ +OPENMP_ENABLE = @OPENMP_ENABLE@ +OPENMP_LIBS = @OPENMP_LIBS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CFLAGS = @PCRE_CFLAGS@ +PCRE_CONFIG = @PCRE_CONFIG@ +PCRE_LIBS = @PCRE_LIBS@ +PCRE_VERSION = @PCRE_VERSION@ +PKG_CONFIG = @PKG_CONFIG@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RT_LIB = @RT_LIB@ +SAXON = @SAXON@ +SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@ +SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@ +SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@ +SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@ +SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@ +SCIRENDERER = @SCIRENDERER@ +SCIRENDERER_CP = @SCIRENDERER_CP@ +SCI_CFLAGS = @SCI_CFLAGS@ +SCI_CXXFLAGS = @SCI_CXXFLAGS@ +SCI_FFLAGS = @SCI_FFLAGS@ +SCI_LDFLAGS = @SCI_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ +SHELL = @SHELL@ +SKINLF = @SKINLF@ +SPLINT = @SPLINT@ +STRIP = @STRIP@ +SWIG_BIN = @SWIG_BIN@ +SWIG_JAVA = @SWIG_JAVA@ +SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ +SWIG_SCILAB = @SWIG_SCILAB@ +TCLTK_LIBS = @TCLTK_LIBS@ +TCL_INC_PATH = @TCL_INC_PATH@ +TK_INC_PATH = @TK_INC_PATH@ +UMFPACK_CFLAGS = @UMFPACK_CFLAGS@ +UMFPACK_ENABLE = @UMFPACK_ENABLE@ +UMFPACK_LIB = @UMFPACK_LIB@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WITH_OCAML = @WITH_OCAML@ +WITH_TKSCI = @WITH_TKSCI@ +XCOS_ENABLE = @XCOS_ENABLE@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@ +XML_APIS_EXT = @XML_APIS_EXT@ +XML_CONFIG = @XML_CONFIG@ +XML_FLAGS = @XML_FLAGS@ +XML_LIBS = @XML_LIBS@ +XML_VERSION = @XML_VERSION@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +cxx_present = @cxx_present@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +#### Target ###### +modulename = console + +#### console : Conf files #### +libsciconsole_la_rootdir = $(mydatadir) +libsciconsole_la_root_DATA = license.txt + +#### console : init scripts #### +libsciconsole_la_etcdir = $(mydatadir)/etc +libsciconsole_la_etc_DATA = \ + etc/console.quit \ + etc/console.start \ + etc/configuration.xml \ + etc/XConfiguration-console.xml \ + etc/XConfiguration-console.xsl \ + etc/XConfiguration-general.xml \ + etc/XConfiguration-general.xsl \ + etc/Actions-Configuration.xml + + +#### console : List of the cpp files #### +CONSOLE_CXX_JNI_SOURCES = src/jni/CallScilabBridge.cpp +CONSOLE_CXX_SOURCES = src/cpp/ClearConsole.cpp \ +src/cpp/ClearConsolePart.cpp \ +src/cpp/ConsolePrintf.cpp \ +src/cpp/ConsoleRead.cpp \ +src/cpp/ConsoleIsWaitingForInput.cpp \ +src/cpp/GetCharWithoutOutput.cpp \ +src/cpp/PromptToHome.cpp \ +src/cpp/ScilabLinesUpdate.cpp \ +src/cpp/SetConsolePrompt.cpp + + +#### console : List of the c files #### +CONSOLE_C_JNI_SOURCES = src/jni/GuiManagement_wrap.c \ +src/jni/DropFiles_wrap.c + + +# List of the gateway c files +CONSOLE_GATEWAY_C_SOURCES = sci_gateway/c/gw_console.c \ +sci_gateway/c/sci_clc.c \ +sci_gateway/c/sci_tohome.c \ +sci_gateway/c/sci_lines.c \ +sci_gateway/c/sci_prompt.c \ +sci_gateway/c/sci_iswaitingforinput.c + +GIWS_WRAPPERS = src/jni/CallScilabBridge.giws.xml +BUILT_SOURCES = $(am__append_1) $(am__append_2) + +# List of the c files +libsciconsole_minimal_la_SOURCES = src/noconsole/noconsole.c \ + sci_gateway/c/gw_console.c sci_gateway/c/sci_clc.c \ + sci_gateway/c/sci_tohome.c sci_gateway/c/sci_lines.c \ + sci_gateway/c/sci_prompt.c \ + sci_gateway/c/sci_iswaitingforinput.c src/c/clc.c \ + src/c/tohome.c src/c/more.c src/c/scilines.c \ + src/c/GetCommandLine.c src/c/others/gotoxy_nw.c \ + src/c/others/clrscr_nw.c src/c/prompt.c src/c/promptecho.c \ + src/c/cmdLine/autoCompletionCli.c \ + src/c/cmdLine/charactersManagement.c \ + src/c/cmdLine/cliDisplayManagement.c \ + src/c/cmdLine/cliHistory.c src/c/cmdLine/cliPrompt.c \ + src/c/cmdLine/getKey.c src/c/cmdLine/getNbrLine.c \ + src/c/cmdLine/gotoFunctions.c src/c/cmdLine/initConsoleMode.c \ + src/c/cmdLine/termcapManagement.c $(am__append_4) +CONSOLE_C_SOURCES = src/c/GuiManagement.c src/c/dropFiles.c \ + $(am__append_3) +libsciconsole_minimal_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes \ + $(AM_CPPFLAGS) + + +# Includes need for the compilation +libsciconsole_la_CPPFLAGS = -I$(srcdir)/includes/ -I$(srcdir)/src/c/ \ + -I$(srcdir)/src/c/cmdLine -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ -I$(top_srcdir)/modules/commons/src/jni/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/history_manager/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/core/includes/ \ + -I$(top_srcdir)/modules/completion/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/action_binding/includes/ \ + -I$(top_srcdir)/modules/fileio/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/ui_data/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ $(JAVA_JNI_INCLUDE) \ + $(AM_CPPFLAGS) $(am__append_5) + +# Name of the library +pkglib_LTLIBRARIES = libsciconsole-minimal.la $(am__append_6) +libsciconsole_la_LIBADD = libsciconsole-minimal.la + +# All the sources needed by libsciconsole.la +libsciconsole_la_SOURCES = $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) $(CONSOLE_CXX_JNI_SOURCES) $(CONSOLE_CXX_SOURCES) $(CONSOLE_GATEWAY_C_SOURCES) + +# For the code check (splint) +CHECK_SRC = $(CONSOLE_C_JNI_SOURCES) $(CONSOLE_C_SOURCES) +INCLUDE_FLAGS = $(libsciconsole_la_CPPFLAGS) + +#### console : gateway declaration #### +libsciconsole_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libsciconsole_la_sci_gateway_DATA = sci_gateway/console_gateway.xml + +#### SWIG Declaration #### +SWIG_WRAPPERS = src/jni/GuiManagement.i \ + src/jni/DropFiles.i + + +# Provides macros compilation, Java compilation, cleaning +# If you want Makefile to call ant, add USEANT=1 +@GUI_TRUE@USEANT = 1 + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_7) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/console/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/console/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/noconsole/$(am__dirstamp): + @$(MKDIR_P) src/noconsole + @: > src/noconsole/$(am__dirstamp) +src/noconsole/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/noconsole/$(DEPDIR) + @: > src/noconsole/$(DEPDIR)/$(am__dirstamp) +src/noconsole/libsciconsole_minimal_la-noconsole.lo: \ + src/noconsole/$(am__dirstamp) \ + src/noconsole/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-gw_console.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +src/c/$(am__dirstamp): + @$(MKDIR_P) src/c + @: > src/c/$(am__dirstamp) +src/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/$(DEPDIR) + @: > src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-clc.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-tohome.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-more.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-scilines.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-GetCommandLine.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/others/$(am__dirstamp): + @$(MKDIR_P) src/c/others + @: > src/c/others/$(am__dirstamp) +src/c/others/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/others/$(DEPDIR) + @: > src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-clrscr_nw.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-prompt.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_minimal_la-promptecho.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/$(am__dirstamp): + @$(MKDIR_P) src/c/cmdLine + @: > src/c/cmdLine/$(am__dirstamp) +src/c/cmdLine/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/cmdLine/$(DEPDIR) + @: > src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-getKey.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo: \ + src/c/cmdLine/$(am__dirstamp) \ + src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) + +libsciconsole-minimal.la: $(libsciconsole_minimal_la_OBJECTS) $(libsciconsole_minimal_la_DEPENDENCIES) $(EXTRA_libsciconsole_minimal_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libsciconsole_minimal_la_OBJECTS) $(libsciconsole_minimal_la_LIBADD) $(LIBS) +src/jni/$(am__dirstamp): + @$(MKDIR_P) src/jni + @: > src/jni/$(am__dirstamp) +src/jni/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/jni/$(DEPDIR) + @: > src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-GuiManagement_wrap.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-DropFiles_wrap.lo: src/jni/$(am__dirstamp) \ + src/jni/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_la-GuiManagement.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libsciconsole_la-dropFiles.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/others/libsciconsole_la-initMacOSXEnv.lo: \ + src/c/others/$(am__dirstamp) \ + src/c/others/$(DEPDIR)/$(am__dirstamp) +src/jni/libsciconsole_la-CallScilabBridge.lo: src/jni/$(am__dirstamp) \ + src/jni/$(DEPDIR)/$(am__dirstamp) +src/cpp/$(am__dirstamp): + @$(MKDIR_P) src/cpp + @: > src/cpp/$(am__dirstamp) +src/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/cpp/$(DEPDIR) + @: > src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ClearConsole.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ClearConsolePart.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsolePrintf.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsoleRead.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-GetCharWithoutOutput.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-PromptToHome.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-ScilabLinesUpdate.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libsciconsole_la-SetConsolePrompt.lo: src/cpp/$(am__dirstamp) \ + src/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-gw_console.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_clc.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_tohome.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_lines.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_prompt.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + +libsciconsole.la: $(libsciconsole_la_OBJECTS) $(libsciconsole_la_DEPENDENCIES) $(EXTRA_libsciconsole_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libsciconsole_la_rpath) $(libsciconsole_la_OBJECTS) $(libsciconsole_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f src/c/*.$(OBJEXT) + -rm -f src/c/*.lo + -rm -f src/c/cmdLine/*.$(OBJEXT) + -rm -f src/c/cmdLine/*.lo + -rm -f src/c/others/*.$(OBJEXT) + -rm -f src/c/others/*.lo + -rm -f src/cpp/*.$(OBJEXT) + -rm -f src/cpp/*.lo + -rm -f src/jni/*.$(OBJEXT) + -rm -f src/jni/*.lo + -rm -f src/noconsole/*.$(OBJEXT) + -rm -f src/noconsole/*.lo + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +src/noconsole/libsciconsole_minimal_la-noconsole.lo: src/noconsole/noconsole.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/noconsole/libsciconsole_minimal_la-noconsole.lo -MD -MP -MF src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Tpo -c -o src/noconsole/libsciconsole_minimal_la-noconsole.lo `test -f 'src/noconsole/noconsole.c' || echo '$(srcdir)/'`src/noconsole/noconsole.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Tpo src/noconsole/$(DEPDIR)/libsciconsole_minimal_la-noconsole.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/noconsole/noconsole.c' object='src/noconsole/libsciconsole_minimal_la-noconsole.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/noconsole/libsciconsole_minimal_la-noconsole.lo `test -f 'src/noconsole/noconsole.c' || echo '$(srcdir)/'`src/noconsole/noconsole.c + +sci_gateway/c/libsciconsole_minimal_la-gw_console.lo: sci_gateway/c/gw_console.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-gw_console.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-gw_console.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_console.c' object='sci_gateway/c/libsciconsole_minimal_la-gw_console.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + +sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo: sci_gateway/c/sci_clc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_clc.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_clc.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_clc.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + +sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo: sci_gateway/c/sci_tohome.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_tohome.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_tohome.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_tohome.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + +sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo: sci_gateway/c/sci_lines.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_lines.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_lines.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_lines.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + +sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo: sci_gateway/c/sci_prompt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_prompt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_prompt.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_prompt.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + +sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo: sci_gateway/c/sci_iswaitingforinput.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Tpo -c -o sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_minimal_la-sci_iswaitingforinput.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_iswaitingforinput.c' object='sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c + +src/c/libsciconsole_minimal_la-clc.lo: src/c/clc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-clc.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Tpo -c -o src/c/libsciconsole_minimal_la-clc.lo `test -f 'src/c/clc.c' || echo '$(srcdir)/'`src/c/clc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-clc.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/clc.c' object='src/c/libsciconsole_minimal_la-clc.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-clc.lo `test -f 'src/c/clc.c' || echo '$(srcdir)/'`src/c/clc.c + +src/c/libsciconsole_minimal_la-tohome.lo: src/c/tohome.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-tohome.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Tpo -c -o src/c/libsciconsole_minimal_la-tohome.lo `test -f 'src/c/tohome.c' || echo '$(srcdir)/'`src/c/tohome.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-tohome.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/tohome.c' object='src/c/libsciconsole_minimal_la-tohome.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-tohome.lo `test -f 'src/c/tohome.c' || echo '$(srcdir)/'`src/c/tohome.c + +src/c/libsciconsole_minimal_la-more.lo: src/c/more.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-more.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Tpo -c -o src/c/libsciconsole_minimal_la-more.lo `test -f 'src/c/more.c' || echo '$(srcdir)/'`src/c/more.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-more.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/more.c' object='src/c/libsciconsole_minimal_la-more.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-more.lo `test -f 'src/c/more.c' || echo '$(srcdir)/'`src/c/more.c + +src/c/libsciconsole_minimal_la-scilines.lo: src/c/scilines.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-scilines.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Tpo -c -o src/c/libsciconsole_minimal_la-scilines.lo `test -f 'src/c/scilines.c' || echo '$(srcdir)/'`src/c/scilines.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-scilines.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/scilines.c' object='src/c/libsciconsole_minimal_la-scilines.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-scilines.lo `test -f 'src/c/scilines.c' || echo '$(srcdir)/'`src/c/scilines.c + +src/c/libsciconsole_minimal_la-GetCommandLine.lo: src/c/GetCommandLine.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-GetCommandLine.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Tpo -c -o src/c/libsciconsole_minimal_la-GetCommandLine.lo `test -f 'src/c/GetCommandLine.c' || echo '$(srcdir)/'`src/c/GetCommandLine.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-GetCommandLine.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetCommandLine.c' object='src/c/libsciconsole_minimal_la-GetCommandLine.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-GetCommandLine.lo `test -f 'src/c/GetCommandLine.c' || echo '$(srcdir)/'`src/c/GetCommandLine.c + +src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo: src/c/others/gotoxy_nw.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Tpo -c -o src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo `test -f 'src/c/others/gotoxy_nw.c' || echo '$(srcdir)/'`src/c/others/gotoxy_nw.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-gotoxy_nw.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/others/gotoxy_nw.c' object='src/c/others/libsciconsole_minimal_la-gotoxy_nw.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo `test -f 'src/c/others/gotoxy_nw.c' || echo '$(srcdir)/'`src/c/others/gotoxy_nw.c + +src/c/others/libsciconsole_minimal_la-clrscr_nw.lo: src/c/others/clrscr_nw.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-clrscr_nw.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Tpo -c -o src/c/others/libsciconsole_minimal_la-clrscr_nw.lo `test -f 'src/c/others/clrscr_nw.c' || echo '$(srcdir)/'`src/c/others/clrscr_nw.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-clrscr_nw.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/others/clrscr_nw.c' object='src/c/others/libsciconsole_minimal_la-clrscr_nw.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-clrscr_nw.lo `test -f 'src/c/others/clrscr_nw.c' || echo '$(srcdir)/'`src/c/others/clrscr_nw.c + +src/c/libsciconsole_minimal_la-prompt.lo: src/c/prompt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-prompt.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Tpo -c -o src/c/libsciconsole_minimal_la-prompt.lo `test -f 'src/c/prompt.c' || echo '$(srcdir)/'`src/c/prompt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-prompt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/prompt.c' object='src/c/libsciconsole_minimal_la-prompt.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-prompt.lo `test -f 'src/c/prompt.c' || echo '$(srcdir)/'`src/c/prompt.c + +src/c/libsciconsole_minimal_la-promptecho.lo: src/c/promptecho.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_minimal_la-promptecho.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Tpo -c -o src/c/libsciconsole_minimal_la-promptecho.lo `test -f 'src/c/promptecho.c' || echo '$(srcdir)/'`src/c/promptecho.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Tpo src/c/$(DEPDIR)/libsciconsole_minimal_la-promptecho.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/promptecho.c' object='src/c/libsciconsole_minimal_la-promptecho.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_minimal_la-promptecho.lo `test -f 'src/c/promptecho.c' || echo '$(srcdir)/'`src/c/promptecho.c + +src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo: src/c/cmdLine/autoCompletionCli.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo `test -f 'src/c/cmdLine/autoCompletionCli.c' || echo '$(srcdir)/'`src/c/cmdLine/autoCompletionCli.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-autoCompletionCli.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/autoCompletionCli.c' object='src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo `test -f 'src/c/cmdLine/autoCompletionCli.c' || echo '$(srcdir)/'`src/c/cmdLine/autoCompletionCli.c + +src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo: src/c/cmdLine/charactersManagement.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo `test -f 'src/c/cmdLine/charactersManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/charactersManagement.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-charactersManagement.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/charactersManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo `test -f 'src/c/cmdLine/charactersManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/charactersManagement.c + +src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo: src/c/cmdLine/cliDisplayManagement.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo `test -f 'src/c/cmdLine/cliDisplayManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/cliDisplayManagement.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliDisplayManagement.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/cliDisplayManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo `test -f 'src/c/cmdLine/cliDisplayManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/cliDisplayManagement.c + +src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo: src/c/cmdLine/cliHistory.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo `test -f 'src/c/cmdLine/cliHistory.c' || echo '$(srcdir)/'`src/c/cmdLine/cliHistory.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliHistory.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/cliHistory.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliHistory.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo `test -f 'src/c/cmdLine/cliHistory.c' || echo '$(srcdir)/'`src/c/cmdLine/cliHistory.c + +src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo: src/c/cmdLine/cliPrompt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo `test -f 'src/c/cmdLine/cliPrompt.c' || echo '$(srcdir)/'`src/c/cmdLine/cliPrompt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-cliPrompt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/cliPrompt.c' object='src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo `test -f 'src/c/cmdLine/cliPrompt.c' || echo '$(srcdir)/'`src/c/cmdLine/cliPrompt.c + +src/c/cmdLine/libsciconsole_minimal_la-getKey.lo: src/c/cmdLine/getKey.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-getKey.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-getKey.lo `test -f 'src/c/cmdLine/getKey.c' || echo '$(srcdir)/'`src/c/cmdLine/getKey.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getKey.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/getKey.c' object='src/c/cmdLine/libsciconsole_minimal_la-getKey.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-getKey.lo `test -f 'src/c/cmdLine/getKey.c' || echo '$(srcdir)/'`src/c/cmdLine/getKey.c + +src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo: src/c/cmdLine/getNbrLine.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo `test -f 'src/c/cmdLine/getNbrLine.c' || echo '$(srcdir)/'`src/c/cmdLine/getNbrLine.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-getNbrLine.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/getNbrLine.c' object='src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo `test -f 'src/c/cmdLine/getNbrLine.c' || echo '$(srcdir)/'`src/c/cmdLine/getNbrLine.c + +src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo: src/c/cmdLine/gotoFunctions.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo `test -f 'src/c/cmdLine/gotoFunctions.c' || echo '$(srcdir)/'`src/c/cmdLine/gotoFunctions.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-gotoFunctions.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/gotoFunctions.c' object='src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo `test -f 'src/c/cmdLine/gotoFunctions.c' || echo '$(srcdir)/'`src/c/cmdLine/gotoFunctions.c + +src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo: src/c/cmdLine/initConsoleMode.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo `test -f 'src/c/cmdLine/initConsoleMode.c' || echo '$(srcdir)/'`src/c/cmdLine/initConsoleMode.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-initConsoleMode.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/initConsoleMode.c' object='src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo `test -f 'src/c/cmdLine/initConsoleMode.c' || echo '$(srcdir)/'`src/c/cmdLine/initConsoleMode.c + +src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo: src/c/cmdLine/termcapManagement.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo -MD -MP -MF src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Tpo -c -o src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo `test -f 'src/c/cmdLine/termcapManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/termcapManagement.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Tpo src/c/cmdLine/$(DEPDIR)/libsciconsole_minimal_la-termcapManagement.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/cmdLine/termcapManagement.c' object='src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo `test -f 'src/c/cmdLine/termcapManagement.c' || echo '$(srcdir)/'`src/c/cmdLine/termcapManagement.c + +src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo: src/c/others/initMacOSXEnv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Tpo -c -o src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Tpo src/c/others/$(DEPDIR)/libsciconsole_minimal_la-initMacOSXEnv.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/others/initMacOSXEnv.c' object='src/c/others/libsciconsole_minimal_la-initMacOSXEnv.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) $(libsciconsole_minimal_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_minimal_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + +src/jni/libsciconsole_la-GuiManagement_wrap.lo: src/jni/GuiManagement_wrap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libsciconsole_la-GuiManagement_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Tpo -c -o src/jni/libsciconsole_la-GuiManagement_wrap.lo `test -f 'src/jni/GuiManagement_wrap.c' || echo '$(srcdir)/'`src/jni/GuiManagement_wrap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Tpo src/jni/$(DEPDIR)/libsciconsole_la-GuiManagement_wrap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/jni/GuiManagement_wrap.c' object='src/jni/libsciconsole_la-GuiManagement_wrap.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libsciconsole_la-GuiManagement_wrap.lo `test -f 'src/jni/GuiManagement_wrap.c' || echo '$(srcdir)/'`src/jni/GuiManagement_wrap.c + +src/jni/libsciconsole_la-DropFiles_wrap.lo: src/jni/DropFiles_wrap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libsciconsole_la-DropFiles_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Tpo -c -o src/jni/libsciconsole_la-DropFiles_wrap.lo `test -f 'src/jni/DropFiles_wrap.c' || echo '$(srcdir)/'`src/jni/DropFiles_wrap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Tpo src/jni/$(DEPDIR)/libsciconsole_la-DropFiles_wrap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/jni/DropFiles_wrap.c' object='src/jni/libsciconsole_la-DropFiles_wrap.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libsciconsole_la-DropFiles_wrap.lo `test -f 'src/jni/DropFiles_wrap.c' || echo '$(srcdir)/'`src/jni/DropFiles_wrap.c + +src/c/libsciconsole_la-GuiManagement.lo: src/c/GuiManagement.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_la-GuiManagement.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Tpo -c -o src/c/libsciconsole_la-GuiManagement.lo `test -f 'src/c/GuiManagement.c' || echo '$(srcdir)/'`src/c/GuiManagement.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Tpo src/c/$(DEPDIR)/libsciconsole_la-GuiManagement.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GuiManagement.c' object='src/c/libsciconsole_la-GuiManagement.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_la-GuiManagement.lo `test -f 'src/c/GuiManagement.c' || echo '$(srcdir)/'`src/c/GuiManagement.c + +src/c/libsciconsole_la-dropFiles.lo: src/c/dropFiles.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libsciconsole_la-dropFiles.lo -MD -MP -MF src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Tpo -c -o src/c/libsciconsole_la-dropFiles.lo `test -f 'src/c/dropFiles.c' || echo '$(srcdir)/'`src/c/dropFiles.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Tpo src/c/$(DEPDIR)/libsciconsole_la-dropFiles.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/dropFiles.c' object='src/c/libsciconsole_la-dropFiles.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libsciconsole_la-dropFiles.lo `test -f 'src/c/dropFiles.c' || echo '$(srcdir)/'`src/c/dropFiles.c + +src/c/others/libsciconsole_la-initMacOSXEnv.lo: src/c/others/initMacOSXEnv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/others/libsciconsole_la-initMacOSXEnv.lo -MD -MP -MF src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Tpo -c -o src/c/others/libsciconsole_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Tpo src/c/others/$(DEPDIR)/libsciconsole_la-initMacOSXEnv.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/others/initMacOSXEnv.c' object='src/c/others/libsciconsole_la-initMacOSXEnv.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/others/libsciconsole_la-initMacOSXEnv.lo `test -f 'src/c/others/initMacOSXEnv.c' || echo '$(srcdir)/'`src/c/others/initMacOSXEnv.c + +sci_gateway/c/libsciconsole_la-gw_console.lo: sci_gateway/c/gw_console.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-gw_console.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Tpo -c -o sci_gateway/c/libsciconsole_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-gw_console.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_console.c' object='sci_gateway/c/libsciconsole_la-gw_console.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-gw_console.lo `test -f 'sci_gateway/c/gw_console.c' || echo '$(srcdir)/'`sci_gateway/c/gw_console.c + +sci_gateway/c/libsciconsole_la-sci_clc.lo: sci_gateway/c/sci_clc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_clc.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_clc.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_clc.c' object='sci_gateway/c/libsciconsole_la-sci_clc.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_clc.lo `test -f 'sci_gateway/c/sci_clc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_clc.c + +sci_gateway/c/libsciconsole_la-sci_tohome.lo: sci_gateway/c/sci_tohome.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_tohome.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_tohome.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_tohome.c' object='sci_gateway/c/libsciconsole_la-sci_tohome.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_tohome.lo `test -f 'sci_gateway/c/sci_tohome.c' || echo '$(srcdir)/'`sci_gateway/c/sci_tohome.c + +sci_gateway/c/libsciconsole_la-sci_lines.lo: sci_gateway/c/sci_lines.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_lines.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_lines.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_lines.c' object='sci_gateway/c/libsciconsole_la-sci_lines.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_lines.lo `test -f 'sci_gateway/c/sci_lines.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lines.c + +sci_gateway/c/libsciconsole_la-sci_prompt.lo: sci_gateway/c/sci_prompt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_prompt.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_prompt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_prompt.c' object='sci_gateway/c/libsciconsole_la-sci_prompt.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_prompt.lo `test -f 'sci_gateway/c/sci_prompt.c' || echo '$(srcdir)/'`sci_gateway/c/sci_prompt.c + +sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo: sci_gateway/c/sci_iswaitingforinput.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Tpo -c -o sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Tpo sci_gateway/c/$(DEPDIR)/libsciconsole_la-sci_iswaitingforinput.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_iswaitingforinput.c' object='sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.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) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo `test -f 'sci_gateway/c/sci_iswaitingforinput.c' || echo '$(srcdir)/'`sci_gateway/c/sci_iswaitingforinput.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 $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +src/jni/libsciconsole_la-CallScilabBridge.lo: src/jni/CallScilabBridge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libsciconsole_la-CallScilabBridge.lo -MD -MP -MF src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Tpo -c -o src/jni/libsciconsole_la-CallScilabBridge.lo `test -f 'src/jni/CallScilabBridge.cpp' || echo '$(srcdir)/'`src/jni/CallScilabBridge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Tpo src/jni/$(DEPDIR)/libsciconsole_la-CallScilabBridge.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/jni/CallScilabBridge.cpp' object='src/jni/libsciconsole_la-CallScilabBridge.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libsciconsole_la-CallScilabBridge.lo `test -f 'src/jni/CallScilabBridge.cpp' || echo '$(srcdir)/'`src/jni/CallScilabBridge.cpp + +src/cpp/libsciconsole_la-ClearConsole.lo: src/cpp/ClearConsole.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ClearConsole.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Tpo -c -o src/cpp/libsciconsole_la-ClearConsole.lo `test -f 'src/cpp/ClearConsole.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsole.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsole.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ClearConsole.cpp' object='src/cpp/libsciconsole_la-ClearConsole.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ClearConsole.lo `test -f 'src/cpp/ClearConsole.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsole.cpp + +src/cpp/libsciconsole_la-ClearConsolePart.lo: src/cpp/ClearConsolePart.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ClearConsolePart.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Tpo -c -o src/cpp/libsciconsole_la-ClearConsolePart.lo `test -f 'src/cpp/ClearConsolePart.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsolePart.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ClearConsolePart.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ClearConsolePart.cpp' object='src/cpp/libsciconsole_la-ClearConsolePart.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ClearConsolePart.lo `test -f 'src/cpp/ClearConsolePart.cpp' || echo '$(srcdir)/'`src/cpp/ClearConsolePart.cpp + +src/cpp/libsciconsole_la-ConsolePrintf.lo: src/cpp/ConsolePrintf.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsolePrintf.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Tpo -c -o src/cpp/libsciconsole_la-ConsolePrintf.lo `test -f 'src/cpp/ConsolePrintf.cpp' || echo '$(srcdir)/'`src/cpp/ConsolePrintf.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsolePrintf.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ConsolePrintf.cpp' object='src/cpp/libsciconsole_la-ConsolePrintf.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsolePrintf.lo `test -f 'src/cpp/ConsolePrintf.cpp' || echo '$(srcdir)/'`src/cpp/ConsolePrintf.cpp + +src/cpp/libsciconsole_la-ConsoleRead.lo: src/cpp/ConsoleRead.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsoleRead.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Tpo -c -o src/cpp/libsciconsole_la-ConsoleRead.lo `test -f 'src/cpp/ConsoleRead.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleRead.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleRead.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ConsoleRead.cpp' object='src/cpp/libsciconsole_la-ConsoleRead.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsoleRead.lo `test -f 'src/cpp/ConsoleRead.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleRead.cpp + +src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo: src/cpp/ConsoleIsWaitingForInput.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Tpo -c -o src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo `test -f 'src/cpp/ConsoleIsWaitingForInput.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleIsWaitingForInput.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ConsoleIsWaitingForInput.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ConsoleIsWaitingForInput.cpp' object='src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo `test -f 'src/cpp/ConsoleIsWaitingForInput.cpp' || echo '$(srcdir)/'`src/cpp/ConsoleIsWaitingForInput.cpp + +src/cpp/libsciconsole_la-GetCharWithoutOutput.lo: src/cpp/GetCharWithoutOutput.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-GetCharWithoutOutput.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Tpo -c -o src/cpp/libsciconsole_la-GetCharWithoutOutput.lo `test -f 'src/cpp/GetCharWithoutOutput.cpp' || echo '$(srcdir)/'`src/cpp/GetCharWithoutOutput.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-GetCharWithoutOutput.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/GetCharWithoutOutput.cpp' object='src/cpp/libsciconsole_la-GetCharWithoutOutput.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-GetCharWithoutOutput.lo `test -f 'src/cpp/GetCharWithoutOutput.cpp' || echo '$(srcdir)/'`src/cpp/GetCharWithoutOutput.cpp + +src/cpp/libsciconsole_la-PromptToHome.lo: src/cpp/PromptToHome.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-PromptToHome.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Tpo -c -o src/cpp/libsciconsole_la-PromptToHome.lo `test -f 'src/cpp/PromptToHome.cpp' || echo '$(srcdir)/'`src/cpp/PromptToHome.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-PromptToHome.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/PromptToHome.cpp' object='src/cpp/libsciconsole_la-PromptToHome.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-PromptToHome.lo `test -f 'src/cpp/PromptToHome.cpp' || echo '$(srcdir)/'`src/cpp/PromptToHome.cpp + +src/cpp/libsciconsole_la-ScilabLinesUpdate.lo: src/cpp/ScilabLinesUpdate.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-ScilabLinesUpdate.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Tpo -c -o src/cpp/libsciconsole_la-ScilabLinesUpdate.lo `test -f 'src/cpp/ScilabLinesUpdate.cpp' || echo '$(srcdir)/'`src/cpp/ScilabLinesUpdate.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-ScilabLinesUpdate.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/ScilabLinesUpdate.cpp' object='src/cpp/libsciconsole_la-ScilabLinesUpdate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-ScilabLinesUpdate.lo `test -f 'src/cpp/ScilabLinesUpdate.cpp' || echo '$(srcdir)/'`src/cpp/ScilabLinesUpdate.cpp + +src/cpp/libsciconsole_la-SetConsolePrompt.lo: src/cpp/SetConsolePrompt.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libsciconsole_la-SetConsolePrompt.lo -MD -MP -MF src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Tpo -c -o src/cpp/libsciconsole_la-SetConsolePrompt.lo `test -f 'src/cpp/SetConsolePrompt.cpp' || echo '$(srcdir)/'`src/cpp/SetConsolePrompt.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Tpo src/cpp/$(DEPDIR)/libsciconsole_la-SetConsolePrompt.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/SetConsolePrompt.cpp' object='src/cpp/libsciconsole_la-SetConsolePrompt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciconsole_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libsciconsole_la-SetConsolePrompt.lo `test -f 'src/cpp/SetConsolePrompt.cpp' || echo '$(srcdir)/'`src/cpp/SetConsolePrompt.cpp + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf src/c/.libs src/c/_libs + -rm -rf src/c/cmdLine/.libs src/c/cmdLine/_libs + -rm -rf src/c/others/.libs src/c/others/_libs + -rm -rf src/cpp/.libs src/cpp/_libs + -rm -rf src/jni/.libs src/jni/_libs + -rm -rf src/noconsole/.libs src/noconsole/_libs +install-libsciconsole_la_etcDATA: $(libsciconsole_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_etc_DATA)'; test -n "$(libsciconsole_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_etcdir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_etc_DATA)'; test -n "$(libsciconsole_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libsciconsole_la_rootDATA: $(libsciconsole_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_root_DATA)'; test -n "$(libsciconsole_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_rootdir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_root_DATA)'; test -n "$(libsciconsole_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libsciconsole_la_sci_gatewayDATA: $(libsciconsole_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libsciconsole_la_sci_gateway_DATA)'; test -n "$(libsciconsole_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libsciconsole_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libsciconsole_la_sci_gateway_DATA)'; test -n "$(libsciconsole_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libsciconsole_la_etcdir)" "$(DESTDIR)$(libsciconsole_la_rootdir)" "$(DESTDIR)$(libsciconsole_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f src/c/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/$(am__dirstamp) + -rm -f src/c/cmdLine/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/cmdLine/$(am__dirstamp) + -rm -f src/c/others/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/others/$(am__dirstamp) + -rm -f src/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f src/cpp/$(am__dirstamp) + -rm -f src/jni/$(DEPDIR)/$(am__dirstamp) + -rm -f src/jni/$(am__dirstamp) + -rm -f src/noconsole/$(DEPDIR)/$(am__dirstamp) + -rm -f src/noconsole/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/c/cmdLine/$(DEPDIR) src/c/others/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/noconsole/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libsciconsole_la_etcDATA \ + install-libsciconsole_la_rootDATA \ + install-libsciconsole_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/c/cmdLine/$(DEPDIR) src/c/others/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/noconsole/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libsciconsole_la_etcDATA \ + uninstall-libsciconsole_la_rootDATA \ + uninstall-libsciconsole_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: all check check-am install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-local distclean-tags distdir dvi dvi-am html html-am \ + info info-am install install-am install-data install-data-am \ + install-data-local install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am \ + install-html-local install-info install-info-am \ + install-libsciconsole_la_etcDATA \ + install-libsciconsole_la_rootDATA \ + install-libsciconsole_la_sci_gatewayDATA install-man \ + install-pdf install-pdf-am install-pkglibLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am \ + uninstall-libsciconsole_la_etcDATA \ + uninstall-libsciconsole_la_rootDATA \ + uninstall-libsciconsole_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +@NEED_JAVA_TRUE@java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT); \ +@NEED_JAVA_TRUE@ fi + +@NEED_JAVA_TRUE@clean-java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT) clean; \ +@NEED_JAVA_TRUE@ fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@SWIG_TRUE@swig: $(SWIG_WRAPPERS) +@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS) +@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \ +@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@GIWS_TRUE@giws: $(GIWS_WRAPPERS) +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \ +@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \ +@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \ +@GIWS_TRUE@ echo "GIWS process of $$file ..."; \ +@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \ +@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ else \ +@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ fi \ +@GIWS_TRUE@ done; \ +@GIWS_TRUE@ fi + +@GIWS_TRUE@giws-exception: +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\ +@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \ +@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \ +@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ done; \ +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +@NEED_JAVA_TRUE@clean-local: clean-java +@NEED_JAVA_FALSE@clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/console/build.xml b/modules/console/build.xml new file mode 100755 index 000000000..d4463e800 --- /dev/null +++ b/modules/console/build.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2007-2008 - INRIA - Sylvestre LEDRU + * Copyright (C) 2007-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 + * + --> +<project name="console" default="jar"> + <import file="../../build.incl.xml"/> + <property name="library.name" value="${library.console.name}"/> + <property name="library.title" value="Scilab console"/> + <description> + Build the console Scilab module + </description> +</project> diff --git a/modules/console/build/classes/org/scilab/modules/console/ClearConsoleAction.class b/modules/console/build/classes/org/scilab/modules/console/ClearConsoleAction.class Binary files differnew file mode 100755 index 000000000..485dfccfa --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ClearConsoleAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/CompletionAction.class b/modules/console/build/classes/org/scilab/modules/console/CompletionAction.class Binary files differnew file mode 100755 index 000000000..249d191c7 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/CompletionAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration$Conf.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration$Conf.class Binary files differnew file mode 100755 index 000000000..49e42e57b --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration$Conf.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration.class Binary files differnew file mode 100755 index 000000000..7fc4d88fe --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleConfiguration.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleColor.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleColor.class Binary files differnew file mode 100755 index 000000000..4dcedbe7e --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleColor.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleDisplay.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleDisplay.class Binary files differnew file mode 100755 index 000000000..9bdb9cfd9 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleDisplay.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleFont.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleFont.class Binary files differnew file mode 100755 index 000000000..940c91a40 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$ConsoleFont.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$LaTeXFont.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$LaTeXFont.class Binary files differnew file mode 100755 index 000000000..63fc8f0e9 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions$LaTeXFont.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions.class Binary files differnew file mode 100755 index 000000000..067c12e38 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleOptions.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ConsoleboxAction.class b/modules/console/build/classes/org/scilab/modules/console/ConsoleboxAction.class Binary files differnew file mode 100755 index 000000000..3c29307d7 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ConsoleboxAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DelEndOfLineAction.class b/modules/console/build/classes/org/scilab/modules/console/DelEndOfLineAction.class Binary files differnew file mode 100755 index 000000000..c32c946d4 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DelEndOfLineAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DelLastWordAction.class b/modules/console/build/classes/org/scilab/modules/console/DelLastWordAction.class Binary files differnew file mode 100755 index 000000000..6a527ea10 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DelLastWordAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DelNextCharAction.class b/modules/console/build/classes/org/scilab/modules/console/DelNextCharAction.class Binary files differnew file mode 100755 index 000000000..56c05dec0 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DelNextCharAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DelPreviousCharAction.class b/modules/console/build/classes/org/scilab/modules/console/DelPreviousCharAction.class Binary files differnew file mode 100755 index 000000000..ed58f8d61 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DelPreviousCharAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DelWholeLineAction.class b/modules/console/build/classes/org/scilab/modules/console/DelWholeLineAction.class Binary files differnew file mode 100755 index 000000000..ae4827504 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DelWholeLineAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DropFiles.class b/modules/console/build/classes/org/scilab/modules/console/DropFiles.class Binary files differnew file mode 100755 index 000000000..c2b3f5e30 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DropFiles.class diff --git a/modules/console/build/classes/org/scilab/modules/console/DropFilesJNI.class b/modules/console/build/classes/org/scilab/modules/console/DropFilesJNI.class Binary files differnew file mode 100755 index 000000000..f52927acb --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/DropFilesJNI.class diff --git a/modules/console/build/classes/org/scilab/modules/console/FocusMouseListener.class b/modules/console/build/classes/org/scilab/modules/console/FocusMouseListener.class Binary files differnew file mode 100755 index 000000000..f0ad01b8b --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/FocusMouseListener.class diff --git a/modules/console/build/classes/org/scilab/modules/console/GetNextAction.class b/modules/console/build/classes/org/scilab/modules/console/GetNextAction.class Binary files differnew file mode 100755 index 000000000..9caae867a --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/GetNextAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/GetPreviousAction.class b/modules/console/build/classes/org/scilab/modules/console/GetPreviousAction.class Binary files differnew file mode 100755 index 000000000..f3095fc7b --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/GetPreviousAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/GuiManagement.class b/modules/console/build/classes/org/scilab/modules/console/GuiManagement.class Binary files differnew file mode 100755 index 000000000..1d84bb13c --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/GuiManagement.class diff --git a/modules/console/build/classes/org/scilab/modules/console/GuiManagementJNI.class b/modules/console/build/classes/org/scilab/modules/console/GuiManagementJNI.class Binary files differnew file mode 100755 index 000000000..f7ea65166 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/GuiManagementJNI.class diff --git a/modules/console/build/classes/org/scilab/modules/console/HelpAction.class b/modules/console/build/classes/org/scilab/modules/console/HelpAction.class Binary files differnew file mode 100755 index 000000000..404fdce8e --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/HelpAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCopy.class b/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCopy.class Binary files differnew file mode 100755 index 000000000..df1938878 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCopy.class diff --git a/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCut.class b/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCut.class Binary files differnew file mode 100755 index 000000000..0ade7f28f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/InterruptScilabWorkOrCut.class diff --git a/modules/console/build/classes/org/scilab/modules/console/LineBeginningAction.class b/modules/console/build/classes/org/scilab/modules/console/LineBeginningAction.class Binary files differnew file mode 100755 index 000000000..608bd947f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/LineBeginningAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/LineEndAction.class b/modules/console/build/classes/org/scilab/modules/console/LineEndAction.class Binary files differnew file mode 100755 index 000000000..e918e9366 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/LineEndAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/NextCharAction.class b/modules/console/build/classes/org/scilab/modules/console/NextCharAction.class Binary files differnew file mode 100755 index 000000000..771b43be0 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/NextCharAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/OneCharKeyEventListener.class b/modules/console/build/classes/org/scilab/modules/console/OneCharKeyEventListener.class Binary files differnew file mode 100755 index 000000000..fcb37cc3f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/OneCharKeyEventListener.class diff --git a/modules/console/build/classes/org/scilab/modules/console/PageDownAction.class b/modules/console/build/classes/org/scilab/modules/console/PageDownAction.class Binary files differnew file mode 100755 index 000000000..592f38086 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/PageDownAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/PageUpAction.class b/modules/console/build/classes/org/scilab/modules/console/PageUpAction.class Binary files differnew file mode 100755 index 000000000..4c3646823 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/PageUpAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/PasteClipboard.class b/modules/console/build/classes/org/scilab/modules/console/PasteClipboard.class Binary files differnew file mode 100755 index 000000000..925d15997 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/PasteClipboard.class diff --git a/modules/console/build/classes/org/scilab/modules/console/PreviousCharAction.class b/modules/console/build/classes/org/scilab/modules/console/PreviousCharAction.class Binary files differnew file mode 100755 index 000000000..82d4f60f2 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/PreviousCharAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciCommandLineView.class b/modules/console/build/classes/org/scilab/modules/console/SciCommandLineView.class Binary files differnew file mode 100755 index 000000000..6364e4ba2 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciCommandLineView.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciCompletionManager.class b/modules/console/build/classes/org/scilab/modules/console/SciCompletionManager.class Binary files differnew file mode 100755 index 000000000..a3f5bbc8f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciCompletionManager.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciCompletionWindow.class b/modules/console/build/classes/org/scilab/modules/console/SciCompletionWindow.class Binary files differnew file mode 100755 index 000000000..84eebd2eb --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciCompletionWindow.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole$1.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole$1.class Binary files differnew file mode 100755 index 000000000..8ce8a17c0 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole$2$1.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole$2$1.class Binary files differnew file mode 100755 index 000000000..7d2012b66 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole$2$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole$2.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole$2.class Binary files differnew file mode 100755 index 000000000..aac68a2ff --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole$2.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole$3.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole$3.class Binary files differnew file mode 100755 index 000000000..51376a06a --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole$3.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole$4.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole$4.class Binary files differnew file mode 100755 index 000000000..5ef9f5fe9 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole$4.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciConsole.class b/modules/console/build/classes/org/scilab/modules/console/SciConsole.class Binary files differnew file mode 100755 index 000000000..bccf88567 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciConsole.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciDropTargetListener.class b/modules/console/build/classes/org/scilab/modules/console/SciDropTargetListener.class Binary files differnew file mode 100755 index 000000000..ebb2b5ad0 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciDropTargetListener.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciHistoryManager.class b/modules/console/build/classes/org/scilab/modules/console/SciHistoryManager.class Binary files differnew file mode 100755 index 000000000..0918096e5 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciHistoryManager.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$1.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$1.class Binary files differnew file mode 100755 index 000000000..319f3145d --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$2.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$2.class Binary files differnew file mode 100755 index 000000000..98e035d36 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$2.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$3.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$3.class Binary files differnew file mode 100755 index 000000000..1cdc1b234 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$3.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4$1.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4$1.class Binary files differnew file mode 100755 index 000000000..9503e9fed --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4.class Binary files differnew file mode 100755 index 000000000..d1cbc5ad6 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$4.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$5.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$5.class Binary files differnew file mode 100755 index 000000000..2c71f032e --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$5.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$6.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$6.class Binary files differnew file mode 100755 index 000000000..f770beba7 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView$6.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView.class b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView.class Binary files differnew file mode 100755 index 000000000..9d5227fda --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputCommandView.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInputParsingManager.class b/modules/console/build/classes/org/scilab/modules/console/SciInputParsingManager.class Binary files differnew file mode 100755 index 000000000..34acbdc6a --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInputParsingManager.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciInterpreter.class b/modules/console/build/classes/org/scilab/modules/console/SciInterpreter.class Binary files differnew file mode 100755 index 000000000..5ef5dc7cc --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciInterpreter.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1.class b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1.class Binary files differnew file mode 100755 index 000000000..0e688a7b7 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1FixedCaret.class b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1FixedCaret.class Binary files differnew file mode 100755 index 000000000..a1c528c69 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$1FixedCaret.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciOutputView$2.class b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$2.class Binary files differnew file mode 100755 index 000000000..b0093f62f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$2.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciOutputView$3.class b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$3.class Binary files differnew file mode 100755 index 000000000..c4a48c2b0 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciOutputView$3.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciOutputView.class b/modules/console/build/classes/org/scilab/modules/console/SciOutputView.class Binary files differnew file mode 100755 index 000000000..71b35b7c7 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciOutputView.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SciPromptView.class b/modules/console/build/classes/org/scilab/modules/console/SciPromptView.class Binary files differnew file mode 100755 index 000000000..32afab307 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SciPromptView.class diff --git a/modules/console/build/classes/org/scilab/modules/console/SelectAllAction.class b/modules/console/build/classes/org/scilab/modules/console/SelectAllAction.class Binary files differnew file mode 100755 index 000000000..167072f22 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/SelectAllAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/ValidationAction.class b/modules/console/build/classes/org/scilab/modules/console/ValidationAction.class Binary files differnew file mode 100755 index 000000000..481b91b4a --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/ValidationAction.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabLaTeXViewer.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabLaTeXViewer.class Binary files differnew file mode 100755 index 000000000..1b599979d --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabLaTeXViewer.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$1.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$1.class Binary files differnew file mode 100755 index 000000000..7a78cb48f --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$1.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$LaTeXCompiler.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$LaTeXCompiler.class Binary files differnew file mode 100755 index 000000000..bdf0b70cb --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$LaTeXCompiler.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$MathMLCompiler.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$MathMLCompiler.class Binary files differnew file mode 100755 index 000000000..48bf69fb9 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$MathMLCompiler.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$SpecialIcon.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$SpecialIcon.class Binary files differnew file mode 100755 index 000000000..45d59e0a3 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities$SpecialIcon.class diff --git a/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.class b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.class Binary files differnew file mode 100755 index 000000000..635609fd5 --- /dev/null +++ b/modules/console/build/classes/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.class diff --git a/modules/console/console.iss b/modules/console/console.iss new file mode 100755 index 000000000..a809ad200 --- /dev/null +++ b/modules/console/console.iss @@ -0,0 +1,55 @@ +; +; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +; Copyright (C) INRIA - Allan CORNET +; Copyright (C) INRIA - 2007 - Vincent COUVERT +; Copyright (C) DIGITEO - 2010 - 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 +; +;-------------------------------------------------------------------------------------------------------------- +; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required) +; +;-------------------------------------------------------------------------------------------------------------- +; console module +;-------------------------------------------------------------------------------------------------------------- +; +#define CONSOLE "console" +; +Source: bin\sci{#CONSOLE}.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: bin\no{#CONSOLE}.dll; DestDir: {app}\bin; DestName: sci{#CONSOLE}.dll; Components: {#COMPN_SCILAB} and not ({#COMPN_JVM_MODULE}) +; +Source: modules\{#CONSOLE}\jar\org.scilab.modules.{#CONSOLE}.jar;DestDir: {app}\modules\{#CONSOLE}\jar; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: thirdparty\jrosetta-engine.jar;DestDir: {app}\thirdparty; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: thirdparty\jrosetta-API.jar;DestDir: {app}\thirdparty; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: modules\{#CONSOLE}\etc\configuration.xml; DestDir: {app}\modules\{#CONSOLE}\etc; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +; + +Source: modules\{#CONSOLE}\license.txt; DestDir: {app}\modules\{#CONSOLE}; Components: {#COMPN_SCILAB} +; +Source: modules\{#CONSOLE}\sci_gateway\{#CONSOLE}_gateway.xml; DestDir: {app}\modules\{#CONSOLE}\sci_gateway; Components: {#COMPN_SCILAB} +; +Source: modules\{#CONSOLE}\includes\*.h; DestDir: {app}\modules\{#CONSOLE}\includes; Components: {#COMPN_SCILAB} +; +Source: modules\{#CONSOLE}\etc\{#CONSOLE}.quit; DestDir: {app}\modules\{#CONSOLE}\etc; Components: {#COMPN_SCILAB} +Source: modules\{#CONSOLE}\etc\{#CONSOLE}.start; DestDir: {app}\modules\{#CONSOLE}\etc; Components: {#COMPN_SCILAB} +; +Source: modules\{#CONSOLE}\etc\*.xml; DestDir: {app}\modules\{#CONSOLE}\etc; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: modules\{#CONSOLE}\etc\*.xsl; DestDir: {app}\modules\{#CONSOLE}\etc; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +; +Source: modules\{#CONSOLE}\macros\buildmacros.sce; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: modules\{#CONSOLE}\macros\buildmacros.bat; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +Source: modules\{#CONSOLE}\macros\cleanmacros.bat; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +;Source: modules\{#CONSOLE}\macros\*.bin; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +;Source: modules\{#CONSOLE}\macros\*.sci; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +;Source: modules\{#CONSOLE}\macros\lib; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +;Source: modules\{#CONSOLE}\macros\names; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +; +;Source: modules\{#CONSOLE}\demos\*.*; DestDir: {app}\modules\{#CONSOLE}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} +; +Source: modules\{#CONSOLE}\tests\*.*; DestDir: {app}\modules\{#CONSOLE}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS} +; +;-------------------------------------------------------------------------------------------------------------- diff --git a/modules/console/etc/Actions-Configuration.xml b/modules/console/etc/Actions-Configuration.xml new file mode 100755 index 000000000..60fcf50e5 --- /dev/null +++ b/modules/console/etc/Actions-Configuration.xml @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Map between action names and Java or Scilab action --> +<map> + <scinotes> + <entry type="java" action="ActivateHelpOnTypingForOpenersAction" name="scinotes-autocomplete-openers"/> + <entry type="java" action="ActivateHelpOnTypingForKeywordsAction" name="scinotes-autocomplete-keyword"/> + <entry type="java" action="GenerateHelpFromFunctionAction" name="scinotes-help-prototype"/> + <entry type="java" action="TabifyAction" name="scinotes-tabify"/> + <entry type="java" action="UnTabifyAction" name="scinotes-untabify"/> + <entry type="java" action="IndentAction" name="scinotes-indent"/> + <entry type="java" action="CommentAction" name="scinotes-comment"/> + <entry type="java" action="UnCommentAction" name="scinotes-uncomment"/> + <entry type="java" action="RemoveTrailingWhiteAction" name="scinotes-remove-whites"/> + <entry type="java" action="SelectAllAction" name="scinotes-select-all"/> + <entry type="java" action="SelectBlockAction" name="scinotes-select-block"/> + <entry type="java" action="OpenTabInNewWindowAction" name="scinotes-clone-current"/> + <entry type="java" action="CCloseTabInNewWindowAction" name="scinotes-export-current"/> + <entry type="java" action="CopyAsHTMLAction" name="scinotes-copy"/> + <entry type="java" action="CutAction" name="scinotes-cut"/> + <entry type="java" action="PasteAction" name="scinotes-paste"/> + <entry type="java" action="PasteColumnAction" name="scinotes-paste-column"/> + <entry type="java" action="RepeatSelectionOnColumnAction" name="scinotes-repeat-column"/> + <entry type="java" action="UndoAction" name="scinotes-undo"/> + <entry type="java" action="RedoAction" name="scinotes-redo"/> + <entry type="java" action="CopyAsHTMLWithLineNumberAction" name="scinotes-copy-with-lines"/> + <entry type="java" action="NewAction" name="scinotes-new"/> + <entry type="java" action="OpenAction" name="scinotes-open"/> + <entry type="java" action="OpenURLAction" name="scinotes-open-url"/> + <entry type="java" action="OpenSourceFileOnKeywordAction" name="scinotes-open-source"/> + <entry type="java" action="SaveAction" name="scinotes-save"/> + <entry type="java" action="SaveAsAction" name="scinotes-save-as"/> + <entry type="java" action="ReloadAction" name="scinotes-reload"/> + <entry type="java" action="PrintPreviewAction" name="scinotes-print-preview"/> + <entry type="java" action="PrintAction" name="scinotes-print"/> + <entry type="java" action="CloseAction" name="scinotes-close"/> + <entry type="java" action="ExitAction" name="scinotes-exit"/> + <entry type="java" action="ToLowerCaseAction" name="scinotes-tolowercase"/> + <entry type="java" action="ToUpperCaseAction" name="scinotes-touppercase"/> + <entry type="java" action="CapitalizeAction" name="scinotes-capitalize"/> + <entry type="java" action="HelpOnKeywordAction" name="scinotes-help-keyword"/> + <entry type="java" action="LoadIntoScilabAction" name="scinotes-load-scilab"/> + <entry type="java" action="ExecuteFileIntoScilabAction" name="scinotes-execute-scilab"/> + <entry type="java" action="EvaluateSelectionAction" name="scinotes-evaluate-selection"/> + <entry type="java" action="SaveAndExecuteFileAction" name="scinotes-save-execute"/> + <entry type="java" action="SaveAndExecuteAllFilesAction" name="scinotes-save-execute-all"/> + <entry type="java" action="FindAction" name="scinotes-find"/> + <entry type="java" action="FindNextAction" name="scinotes-find-next"/> + <entry type="java" action="FindPreviousAction" name="scinotes-find-previous"/> + <entry type="java" action="IncrementalSearchAction" name="scinotes-incremental-search"/> + <entry type="java" action="SetAnchorAction" name="scinotes-set-anchor"/> + <entry type="java" action="RemoveAnchorAction" name="scinotes-remove-anchor"/> + <entry type="java" action="GotoNextAnchorAction" name="scinotes-next-anchor"/> + <entry type="java" action="GotoPreviousAnchorAction" name="scinotes-previous-anchor"/> + <entry type="java" action="CodeNavigatorAction" name="scinotes-code-navigator"/> + <entry type="java" action="SearchWordInFilesAction" name="scinotes-word-file"/> + <entry type="java" action="SearchFilesAction" name="scinotes-search-files"/> + <entry type="java" action="SciNotesCompletionAction" name="scinotes-completion"/> + <entry type="java" action="HelpAction" name="scinotes-help"/> + <entry type="java" action="AboutAction" name="scinotes-about"/> + <entry type="java" action="NextTabAction" name="scinotes-next-tab"/> + <entry type="java" action="PreviousTabAction" name="scinotes-previous-tab"/> + <entry type="java" action="DeleteAction" name="scinotes-delete"/> + <entry type="java" action="NextParagraphAction" name="scinotes-next-paragraph"/> + <entry type="java" action="PreviousParagraphAction" name="scinotes-previous-paragraph"/> + <entry type="java" action="SaveAllAction" name="scinotes-save-all"/> + <entry type="java" action="OverwriteAction" name="scinotes-overwrite"/> + <entry type="java" action="PageSetupAction" name="scinotes-page-setup"/> + <entry type="java" action="CloseAllAction" name="scinotes-close-all"/> + <entry type="java" action="CloseAllButThisAction" name="scinotes-close-all-but"/> + <entry type="java" action="DoubleQuoteStringAction" name="scinotes-double-quote"/> + <entry type="java" action="LineNumbersAction" name="scinotes-line-numbering"/> + <entry type="java" action="RecentFileAction" name="scinotes-recent"/> + <entry type="java" action="RegisterFavoriteDirsAction" name="scinotes-register-favorite-dir"/> + <entry type="java" action="OpenFileInAction" name="scinotes-open-file-in"/> + <entry type="java" action="SaveFileInAction" name="scinotes-save-file-in"/> + <entry type="java" action="RestoreOpenedFilesAction" name="scinotes-restore-startup"/> + <entry type="java" action="ExportAction" name="scinotes-export"/> + <entry type="java" action="EncodingAction" name="scinotes-encoding"/> + <entry type="java" action="EndOfLineAction" name="scinotes-eof"/> + <entry type="java" action="CopySelectionInNewTabAction" name="scinotes-selection-new-tab"/> + <entry type="java" action="SplitAction" name="scinotes-split"/> + <entry type="java" action="HelpOnKeywordInPopupAction" name="scinotes-help-keyword-popup"/> + <entry type="java" action="SetFontAction" name="scinotes-set-font"/> + <entry type="java" action="SetColorsAction" name="scinotes-set-colors"/> + <entry type="java" action="GeneralSettingsAction" name="scinotes-general-settings"/> + </scinotes> + <console> + <entry type="java" action="org.scilab.modules.console.SelectAllAction" name="console-select-all"/> + <entry type="java" action="org.scilab.modules.console.ClearConsoleAction" name="console-clear"/> + <entry type="java" action="org.scilab.modules.console.ConsoleboxAction" name="console-box"/> + <entry type="java" action="org.scilab.modules.console.HelpAction" name="console-help-browser"/> + <entry type="java" action="org.scilab.modules.console.ValidationAction" name="console-enter"/> + <entry type="java" action="org.scilab.modules.console.CompletionAction" name="console-completion"/> + <entry type="java" action="org.scilab.modules.console.LineBeginningAction" name="console-line-begin"/> + <entry type="java" action="org.scilab.modules.console.GetPreviousAction" name="console-prev-history"/> + <entry type="java" action="org.scilab.modules.console.GetNextAction" name="console-next-history"/> + <entry type="java" action="org.scilab.modules.console.LineEndAction" name="console-line-end"/> + <entry type="java" action="org.scilab.modules.console.PreviousCharAction" name="console-prev-char"/> + <entry type="java" action="org.scilab.modules.console.NextCharAction" name="console-next-char"/> + <entry type="java" action="org.scilab.modules.console.DelPreviousCharAction" name="console-del-prev-char"/> + <entry type="java" action="org.scilab.modules.console.DelNextCharAction" name="console-del-next-char"/> + <entry type="java" action="org.scilab.modules.console.DelLastWordAction" name="console-del-last-word"/> + <entry type="java" action="org.scilab.modules.console.DelEndOfLineAction" name="console-del-end-line"/> + <entry type="java" action="org.scilab.modules.console.DelWholeLineAction" name="console-del-whole-line"/> + <entry type="java" action="org.scilab.modules.console.InterruptScilabWorkOrCut" name="console-cut-or-interrupt"/> + <entry type="java" action="org.scilab.modules.console.InterruptScilabWorkOrCopy" name="console-copy-or-interrupt"/> + <entry type="java" action="org.scilab.modules.console.PageUpAction" name="console-prev-page"/> + <entry type="java" action="org.scilab.modules.console.PageDownAction" name="console-next-page"/> + </console> +</map> diff --git a/modules/console/etc/XConfiguration-console.xml b/modules/console/etc/XConfiguration-console.xml new file mode 100755 index 000000000..076009bb1 --- /dev/null +++ b/modules/console/etc/XConfiguration-console.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<console title="_(Console)"> + <body> + <display wrap-lines="true" adapt-to-display="true" lines-to-display="100" columns-to-display="80" tab-size="4" scroll-size="3000"/> + </body> +</console> diff --git a/modules/console/etc/XConfiguration-console.xsl b/modules/console/etc/XConfiguration-console.xsl new file mode 100755 index 000000000..94f6d146b --- /dev/null +++ b/modules/console/etc/XConfiguration-console.xsl @@ -0,0 +1,75 @@ +<?xml version='1.0' encoding='utf-8'?>
+<xsl:stylesheet version ="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ ><!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
+ ::
+ :: M A I N P A N E L : C O N S O L E
+
+::
+ -->
+
+ <xsl:template match="display">
+ <Title text="_(Display)">
+ <xsl:variable name="enable">
+ <xsl:choose>
+ <xsl:when test="@adapt-to-display='true'">
+ <xsl:text>false</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>true</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <Grid>
+ <Checkbox checked="{@adapt-to-display}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Automatically adapt the display to the console)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">
+ <actionPerformed choose="adapt-to-display">
+ <xsl:call-template name="context"/>
+ </actionPerformed>
+ </Checkbox>
+ <Label gridx="1" gridy="3" weightx="0" text="_(Lines to display:)" enable="{$enable}"/>
+ <Panel gridx="2" gridy="3" gridheight="4" fill="both"/>
+ <NumericalSpinner gridx="3"
+ gridy="3"
+ weightx="0"
+ min-value = "0"
+ increment = "10"
+ length = "4"
+ listener = "ActionListener"
+ value = "{@lines-to-display}"
+ enable="{$enable}">
+ <actionPerformed choose="lines-to-display">
+ <xsl:call-template name="context"/>
+ </actionPerformed>
+ </NumericalSpinner>
+ <Label gridx="1" gridy="4" weightx="0" text="_(Columns to display:)" enable="{$enable}"/>
+ <NumericalSpinner gridx="3"
+ gridy="4"
+ weightx="0"
+ min-value = "0"
+ increment = "10"
+ length = "4"
+ listener = "ActionListener"
+ value = "{@columns-to-display}"
+ enable="{$enable}">
+ <actionPerformed choose="columns-to-display">
+ <xsl:call-template name="context"/>
+ </actionPerformed>
+ </NumericalSpinner>
+ <Label gridx="1" gridy="5" weightx="0" text="_(Number of lines in console scroll buffer:)"/>
+ <NumericalSpinner gridx="3"
+ gridy="5"
+ weightx="0"
+ min-value = "100"
+ increment = "1000"
+ length = "5"
+ listener = "ActionListener"
+ value = "{@scroll-size}">
+ <actionPerformed choose="scroll-size">
+ <xsl:call-template name="context"/>
+ </actionPerformed>
+ </NumericalSpinner>
+ </Grid>
+ </Title>
+ </xsl:template>
+</xsl:stylesheet>
+
diff --git a/modules/console/etc/XConfiguration-general.xml b/modules/console/etc/XConfiguration-general.xml new file mode 100755 index 000000000..35ded4703 --- /dev/null +++ b/modules/console/etc/XConfiguration-general.xml @@ -0,0 +1,262 @@ +<?xml version="1.0" encoding="utf-8"?> +<general title="_(General)"> + <body> + <environment fpe="0" printing-format="v" width="10"> + <fpe code="0" floating-point-exception="_(Produces an error)"/> + <fpe code="1" floating-point-exception="_(Produces a warning)"/> + <fpe code="2" floating-point-exception="_(Produces Inf or NaN)"/> + <printing-format code="v" format="_(Variable format)"/> + <printing-format code="e" format="_(Scientific format)"/> + </environment> + <languages lang="en_US"> + <language code="en_US" desc="_(English)"/> + <language code="fr_FR" desc="_(French)"/> + <language code="pt_BR" desc="_(Portugese (Brazil))"/> + <language code="ca_ES" desc="_(Catalan)"/> + <language code="cs_CZ" desc="_(Czech)"/> + <language code="es_ES" desc="_(Spanish)"/> + <language code="it_IT" desc="_(Italian)"/> + <language code="pl_PL" desc="_(Polish)"/> + <language code="ru_RU" desc="_(Russian)"/> + <language code="zh_CN" desc="_(Chinese (Simplified))"/> + <language code="zh_TW" desc="_(Chinese (Traditional))"/> + <language code="de_DE" desc="_(German)"/> + <language code="ja_JP" desc="_(Japanese)"/> + <language code="uk_UA" desc="_(Ukrainian)"/> + </languages> + <java-heap-memory heap-size="256"/> + <startup title="_(Start-up directory)" use="current" default="" previous=""/> + </body> + <confirmation-dialogs title="_(Confirmation dialogs)"> + <body> + <tools> + <tool state="checked" id="console-exit" name="Console" description="_(Warn before exiting Scilab)"/> + <tool state="checked" id="delete-history-item" name="Command History" description="_(Warn before deleting Command History items)"/> + <tool state="checked" id="console-clear" name="Console" description="_(Warn before clearing the Console)"/> + </tools> + </body> + </confirmation-dialogs> + <desktop-layout title="_(Desktop layout)"> + <body> + <layouts id="0" save-desktop="true"> + <layout id="0" name="_(Integrated)" path="$SCI/modules/gui/etc/integratedConfiguration.xml" image="file:///$SCI/modules/gui/images/preferences/integrated.png"/> + <layout id="1" name="_(Simple)" path="$SCI/modules/gui/etc/simpleConfiguration.xml" image="file:///$SCI/modules/gui/images/preferences/simple.png"/> + </layouts> + </body> + </desktop-layout> + <shortcuts title="_(Shortcuts)"> + <body> + <actions active="scilab" name="Console" item="1" browse="--choose a file --" filter=""> + <action-folder name="Console" xconf-uid="console"> + <action key="OSSCKEY X" description="_(Cut or interrupt)" name="console-cut-or-interrupt"/> + <action key="OSSCKEY C" description="_(Copy or interrupt)" name="console-copy-or-interrupt"/> + <action key="OSSCKEY S" description="_(Select all)" name="console-select-all"/> + <action key="OSSCKEY A" description="_(Line beginning)" name="console-line-begin"/> + <action key="OSSCKEY E" description="_(Line end)" name="console-line-end"/> + <action key="OSSCKEY B" description="_(Previous char)" name="console-prev-char"/> + <action key="OSSCKEY D" description="_(Delete next char)" name="console-del-next-char"/> + <action key="OSSCKEY H" description="_(Delete previous char)" name="console-del-prev-char"/> + <action key="OSSCKEY K" description="_(Delete end of line)" name="console-del-end-line"/> + <action key="OSSCKEY U" description="_(Delete whole line)" name="console-del-whole-line"/> + <action key="OSSCKEY ESCAPE" description="_(Delete whole line)" name="console-del-whole-line"/> + <action key="OSSCKEY W" description="_(Delete last word)" name="console-del-last-word"/> + <action key="PAGE_UP" description="_(Previous console page)" name="console-prev-page"/> + <action key="PAGE_DOWN" description="_(Next console page)" name="console-next-page"/> + <action key="ENTER" description="_(Validate input)" name="console-enter"/> + <action key="F2" description="_(Clear console)" name="console-clear"/> + <action key="F12" description="_(Console box)" name="console-box"/> + <action key="OSSCKEY SPACE" description="_(Completion)" name="console-completion"/> + <action key="TAB" description="_(Completion)" name="console-completion"/> + <action key="UP" description="_(Previous history line)" name="console-prev-history"/> + <action key="DOWN" description="_(Next history line)" name="console-next-history"/> + <action key="OSSCKEY N" description="_(Previous history line)" name="console-prev-history"/> + <action key="OSSCKEY P" description="_(Next history line)" name="console-next-history"/> + <action key="F1" description="_(Help Browser)" name="console-help-browser"/> + <action key="F3" description="_(Console Search Field)" name="console-search-field"/> + <action key="OSSCKEY F" description="_(Console Search Field)" name="console-search-field"/> + <!--action key="OSSCKEY V" description="_(Paste)" name="console-paste"/> + <action key="OSSCKEY O" description="_(Open a file)" name="console-open"/> + <action key="OSSCKEY L" description="_(Load environment)" name="console-load"/> + <action key="OSSCKEY S" description="_(Save environment)" name="console-save"/> + <action key="OSSCKEY Q" description="_(Quit)" name="console-quit"/> + <action key="" description="_(Execute)" name="console-execute"/> + <action key="" description="_(Empty clipboard)" name="console-empty-clipboard"/> + <action key="" description="_(Change current directory)" name="console-change-cwd"/> + <action key="" description="_(Display current directory)" name="console-display-cwd"/> + <action key="" description="_(Page setup)" name="console-page-setup"/> + <action key="" description="_(Print)" name="console-print"/> + <action key="" description="_(Preferences)" name="console-prefs"/> + <action key="" description="_(Show/Hide toolbar)" name="console-sh-toolbar"/> + <action key="" description="_(Clear history)" name="console-clear-history"/> + <action key="" description="_(Resume)" name="console-resume"/> + <action key="" description="_(Abort)" name="console-abort"/> + <action key="" description="_(Interrupt)" name="console-interrupt"/> + <action key="" description="_(Launch SciNotes)" name="console-scinotes"/> + <action key="" description="_(Launch Xcos)" name="console-xcos"/> + <action key="" description="_(Matlab to Scilab Translator)" name="console-matsci-translator"/> + <action key="" description="_(Module manager)" name="console-atoms"/> + <action key="" description="_(Variable Browser)" name="console-variable-browser"/> + <action key="" description="_(Command History)" name="console-history-browser"/> + <action key="" description="_(File Browser)" name="console-file-browser"/> + <action key="" description="_(Demonstrations)" name="console-demos"/> + <action key="" description="_(Open Scilab website)" name="console-scilab-website"/> + <action key="" description="_(Open Online Help)" name="console-help-website"/> + <action key="" description="_(Open Scilab wiki)" name="console-wiki-website"/> + <action key="" description="_(Open ATOMS website)" name="console-atom-website"/> + <action key="" description="_(Open File Exchange website)" name="console-fileex-website"/> + <action key="" description="_(Open Mailing lists)" name="console-ml-website"/> + <action key="" description="_(Open Forge website)" name="console-forge-website"/> + <action key="" description="_(Open Bugzilla)" name="console-bugzilla-website"/> + <action key="Shift F1" description="_(About Scilab)" name="console-about"/--> + </action-folder> + <action-folder name="Scinotes" xconf-uid="scinotes"> + <action key="OSSCKEY H" description="_(Auto complete (, [,...)" name="scinotes-autocomplete-openers"/> + <action key="OSSCKEY Shift H" description="_(Auto complete keyword)" name="scinotes-autocomplete-keyword"/> + <action key="OSSCKEY Shift G" description="_(Generate Help prototype)" name="scinotes-help-prototype"/> + <action key="TAB" description="_(Tabify)" name="scinotes-tabify"/> + <action key="Shift TAB" description="_(Untabify)" name="scinotes-untabify"/> + <action key="OSSCKEY I" description="_(Indent)" name="scinotes-indent"/> + <action key="OSSCKEY D" description="_(Comment)" name="scinotes-comment"/> + <action key="OSSCKEY Shift D" description="_(Uncomment)" name="scinotes-uncomment"/> + <action key="OSSCKEY Shift W" description="_(Remove trailing whites)" name="scinotes-remove-whites"/> + <action key="OSSCKEY A" description="_(Select all)" name="scinotes-select-all"/> + <action key="OSSCKEY B" description="_(Select block)" name="scinotes-select-block"/> + <action key="OSSCKEY Shift T" description="_(Open current tab in a new window)" name="scinotes-clone-current"/> + <action key="OSSCKEY Shift X" description="_(Export current tab in a new window)" name="scinotes-export-current"/> + <action key="OSSCKEY C" description="_(Copy)" name="scinotes-copy"/> + <action key="OSSCKEY X" description="_(Cut)" name="scinotes-cut"/> + <action key="OSSCKEY V" description="_(Paste)" name="scinotes-paste"/> + <action key="OSSCKEY Shift V" description="_(Paste a column)" name="scinotes-paste-column"/> + <action key="OSSCKEY Shift Z" description="_(Repeat selection on column)" name="scinotes-repeat-column"/> + <action key="OSSCKEY Z" description="_(Undo)" name="scinotes-undo"/> + <action key="OSSCKEY Y" description="_(Redo)" name="scinotes-redo"/> + <action key="OSSCKEY Shift C" description="_(Copy as HTML with line number)" name="scinotes-copy-with-lines"/> + <action key="OSSCKEY N" description="_(New)" name="scinotes-new"/> + <action key="OSSCKEY O" description="_(Open)" name="scinotes-open"/> + <action key="OSSCKEY U" description="_(Open URL)" name="scinotes-open-url"/> + <action key="OSSCKEY Shift O" description="_(Open source)" name="scinotes-open-source"/> + <action key="OSSCKEY S" description="_(Save)" name="scinotes-save"/> + <action key="OSSCKEY Shift S" description="_(Save as)" name="scinotes-save-as"/> + <action key="OSSCKEY Shift R" description="_(Reload)" name="scinotes-reload"/> + <action key="OSSCKEY Shift P" description="_(Print preview)" name="scinotes-print-preview"/> + <action key="OSSCKEY P" description="_(Print)" name="scinotes-print"/> + <action key="OSSCKEY W" description="_(Close)" name="scinotes-close"/> + <action key="OSSCKEY Q" description="_(Exit)" name="scinotes-exit"/> + <action key="OSSCKEY J" description="_(To lower case)" name="scinotes-tolowercase"/> + <action key="OSSCKEY Shift J" description="_(To upper case)" name="scinotes-touppercase"/> + <action key="OSSCKEY Shift A" description="_(Capitalize)" name="scinotes-capitalize"/> + <action key="OSSCKEY F1" description="_(Help on keyword)" name="scinotes-help-keyword"/> + <action key="OSSCKEY L" description="_(Load in Scilab)" name="scinotes-load-scilab"/> + <action key="OSSCKEY Shift E" description="_(Execute in Scilab)" name="scinotes-execute-scilab"/> + <action key="OSSCKEY E" description="_(Evaluate selection)" name="scinotes-evaluate-selection"/> + <action key="F5" description="_(Save and execute)" name="scinotes-save-execute"/> + <action key="OSSCKEY F5" description="_(Save and execute all)" name="scinotes-save-execute-all"/> + <action key="OSSCKEY F" description="_(Find)" name="scinotes-find"/> + <action key="OSSCKEY K" description="_(Find next)" name="scinotes-find-next"/> + <action key="OSSCKEY Shift K" description="_(Find previous)" name="scinotes-find-previous"/> + <action key="F3" description="_(Incremental search)" name="scinotes-incremental-search"/> + <action key="OSSCKEY M" description="_(Set anchor)" name="scinotes-set-anchor"/> + <action key="OSSCKEY Shift M" description="_(Remove anchor)" name="scinotes-remove-anchor"/> + <action key="OSSCKEY Shift LESS" description="_(Go to next anchor)" name="scinotes-next-anchor"/> + <action key="OSSCKEY LESS" description="_(Go to previous anchor)" name="scinotes-previous-anchor"/> + <action key="OSSCKEY G" description="_(Start Code Navigator)" name="scinotes-code-navigator"/> + <action key="OSSCKEY Shift F" description="_(Search word in file)" name="scinotes-word-file"/> + <action key="OSSCKEY Shift B" description="_(Search files)" name="scinotes-search-files"/> + <action key="OSSCKEY SPACE" description="_(Keyword completion)" name="scinotes-completion"/> + <action key="F1" description="_(Help)" name="scinotes-help"/> + <action key="Shift F1" description="_(About)" name="scinotes-about"/> + <action key="OSSCKEY PAGE_DOWN" description="_(Next tab)" name="scinotes-next-tab"/> + <action key="OSSCKEY PAGE_UP" description="_(Previous tab)" name="scinotes-previous-tab"/> + <action key="DELETE" description="_(Delete)" name="scinotes-delete"/> + <action key="OSSCKEY DOWN" description="_(Next paragraph)" name="scinotes-next-paragraph"/> + <action key="OSSCKEY UP" description="_(Previous paragraph)" name="scinotes-previous-paragraph"/> + <action key="" description="_(Save all)" name="scinotes-save-all"/> + <action key="" description="_(Overwrite)" name="scinotes-overwrite"/> + <action key="" description="_(Page setup)" name="scinotes-page-setup"/> + <action key="" description="_(Close all)" name="scinotes-close-all"/> + <action key="" description="_(Close all but this)" name="scinotes-close-all-but"/> + <action key="" description="_(Convert quote to double quote)" name="scinotes-double-quote"/> + <action key="" description="_(Line numbering)" name="scinotes-line-numbering"/> + <action key="" description="_(Set the SciNotes font)" name="scinotes-set-font"/> + <action key="" description="_(Set the SciNotes colors)" name="scinotes-set-colors"/> + </action-folder> + <action-folder name="Xcos" xconf-uid="xcos"> + <!-- File --> + <action key="OSSCKEY N" description="_(New diagram)" name="xcos-new" /> + <action key="OSSCKEY O" description="_(Open)" name="xcos-open" /> + <action key="" description="_(Open file in Scilab current directory)" name="xcos-open-in-sci" /> + <action key="OSSCKEY S" description="_(Save)" name="xcos-save" /> + <action key="OSSCKEY Shift S" description="_(Save as)" name="xcos-save-as" /> + <action key="OSSCKEY E" description="_(Export)" name="xcos-export" /> + <action key="OSSCKEY P" description="_(Print)" name="xcos-print" /> + <action key="OSSCKEY W" description="_(Close)" name="xcos-close" /> + <action key="OSSCKEY Q" description="_(Quit Xcos)" name="xcos-quit" /> + <!-- Edit --> + <action key="OSSCKEY Z" description="_(Undo)" name="xcos-undo" /> + <action key="OSSCKEY Y" description="_(Redo)" name="xcos-redo" /> + <action key="OSSCKEY X" description="_(Cut)" name="xcos-cut" /> + <action key="OSSCKEY C" description="_(Copy)" name="xcos-copy" /> + <action key="OSSCKEY V" description="_(Paste)" name="xcos-paste" /> + <action key="OSSCKEY DELETE" description="_(Delete)" name="xcos-delete" /> + <action key="OSSCKEY A" description="_(Select all)" name="xcos-select-all" /> + <action key="" description="_(Invert selection)" name="xcos-invert-selection" /> + <action key="OSSCKEY B" description="_(Block Parameters)" name="xcos-block-parameters" /> + <action key="" description="_(Region to superblock)" name="xcos-region-to-superblock" /> + <!-- View --> + <action key="OSSCKEY ADD" description="_(Zoom In)" name="xcos-zoom-in" /> + <action key="OSSCKEY SUBTRACT" description="_(Zoom Out)" name="xcos-zoom-out" /> + <action key="OSSCKEY SPACE" description="_(Fit diagram to view)" name="xcos-fit-diagram" /> + <action key="" description="_(Normal 100%)" name="xcos-zoom-normal" /> + <action key="" description="_(Palette browser)" name="xcos-view-palette" /> + <action key="" description="_(Diagram browser)" name="xcos-view-diagram" /> + <action key="" description="_(Viewport)" name="xcos-view-viewport" /> + <action key="" description="_(Details)" name="xcos-view-details" /> + <!-- Simulation --> + <action key="" description="_(Setup)" name="xcos-setup" /> + <action key="" description="_(Execution trace and Debug)" name="xcos-debug-level" /> + <action key="" description="_(Set Context)" name="xcos-set-context" /> + <action key="" description="_(Compile)" name="xcos-compile" /> + <action key="" description="_(Start)" name="xcos-start" /> + <action key="" description="_(Stop)" name="xcos-stop" /> + <!-- Format --> + <action key="OSSCKEY R" description="_(Rotate)" name="xcos-rotate" /> + <action key="OSSCKEY F" description="_(Flip)" name="xcos-flip" /> + <action key="OSSCKEY M" description="_(Mirror)" name="xcos-mirror" /> + <action key="" description="_(Show/Hide shadow)" name="xcos-shadow" /> + <action key="" description="_(Left)" name="xcos-align-left" /> + <action key="" description="_(Center)" name="xcos-align-center" /> + <action key="" description="_(Right)" name="xcos-align-right" /> + <action key="" description="_(Top)" name="xcos-align-top" /> + <action key="" description="_(Middle)" name="xcos-align-middle" /> + <action key="" description="_(Bottom)" name="xcos-align-bottom" /> + <action key="" description="_(Border Color)" name="xcos-border-color" /> + <action key="" description="_(Fill Color)" name="xcos-fill-color" /> + <action key="H" description="_(Horizontal)" name="xcos-link-horizontal" /> + <action key="S" description="_(Straight)" name="xcos-link-straight" /> + <action key="V" description="_(Vertical)" name="xcos-fill-vertical" /> + <action key="" description="_(Diagram background)" name="xcos-background" /> + <action key="" description="_(Grid)" name="xcos-grid" /> + <!-- Tools --> + <action key="" description="_(Code generation)" name="xcos-code-generation" /> + <!-- Help --> + <action key="F1" description="_(Xcos Help)" name="xcos-help" /> + <action key="OSSCKEY H" description="_(Block Help)" name="xcos-help-block" /> + <action key="" description="_(Xcos Demonstrations)" name="xcos-demo" /> + <action key="" description="_(About Xcos)" name="xcos-about" /> + </action-folder> + <!--action-folder name="Variable Browser" xconf-uid="browsevar"> + <action key="OSSCKEY S" description="_(Save)" name="variablebrowser-save"/> + </action-folder> + <action-folder name="Variable Editor" xconf-uid="editvar"> + <action key="OSSCKEY S" description="_(Save variable)" name="editvar-save"/> + </action-folder> + <action-folder name="History Browser" xconf-uid="historybrowser"> + <action key="OSSCKEY S" description="_(Save history)" name="historybrowser-save"/> + </action-folder> + <action-folder name="File Browser" xconf-uid="filebrowser"> + <action key="OSSCKEY S" description="_(Save file)" name="filebrowser-save"/> + </action-folder--> + </actions> + </body> + </shortcuts> +</general> diff --git a/modules/console/etc/XConfiguration-general.xsl b/modules/console/etc/XConfiguration-general.xsl new file mode 100755 index 000000000..90bbdcc33 --- /dev/null +++ b/modules/console/etc/XConfiguration-general.xsl @@ -0,0 +1,293 @@ +<?xml version='1.0' encoding='utf-8'?> +<xsl:stylesheet version ="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + > + <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = + :: + :: M A I N P A N E L : G E N E R A L + :: + --> + <xsl:template match="environment" mode="tooltip">Settings environment</xsl:template> + <xsl:template match="environment"> + <Title text="_(Environment)"> + <Grid> + <Label gridx="1" gridy="1" weightx="0" text="_(Floating point exception (ieee): )"/> + <Panel gridx="2" gridy="1" weightx="1"/> + <Select gridx="3" gridy="1" listener="ActionListener"> + <xsl:variable name="fpe" select="@fpe"/> + <actionPerformed choose="fpe"> + <xsl:call-template name="context"/> + </actionPerformed> + <xsl:for-each select="fpe"> + <option value="{@floating-point-exception}" key="{@code}"> + <xsl:if test="@code=$fpe"> + <xsl:attribute name="selected">selected</xsl:attribute> + </xsl:if> + </option> + </xsl:for-each> + </Select> + + <Label gridx="1" gridy="2" weightx="0" text="_(Printing format: )"/> + <Select gridx="3" gridy="2" listener="ActionListener"> + <xsl:variable name="pf" select="@printing-format"/> + <actionPerformed choose="printing-format"> + <xsl:call-template name="context"/> + </actionPerformed> + <xsl:for-each select="printing-format"> + <option value="{@format}" key="{@code}"> + <xsl:if test="@code=$pf"> + <xsl:attribute name="selected">selected</xsl:attribute> + </xsl:if> + </option> + </xsl:for-each> + </Select> + <Label gridx="1" gridy="3" weightx="0" text="_(Width: )"/> + <NumericalSpinner gridx="3" + gridy="3" + weightx="0" + min-value="2" + max-value="25" + increment="1" + length="3" + listener="ActionListener" + value="{@width}"> + <actionPerformed choose="width"> + <xsl:call-template name="context"/> + </actionPerformed> + </NumericalSpinner> + </Grid> + </Title> + </xsl:template> + + <xsl:template match="languages"> + <xsl:if test="$OS='Windows'"> + <VSpace height="10"/> + <Title text="_(Language setting)"> + <Grid> + <Label text="_(Default language: )" gridx="1" gridy="1" anchor="baseline" weightx="0"/> + <Panel gridx="2" gridy="1" weightx="1"/> + <Select gridx="3" gridy="1" listener="ActionListener"> + <actionPerformed choose="lang"> + <xsl:call-template name="context"/> + </actionPerformed> + <xsl:variable name="code" select="@lang"/> + <xsl:for-each select="language"> + <option value="{@desc}" key="{@code}"> + <xsl:if test="@code=$SCILAB_LANGUAGE or @code=$code"> + <xsl:attribute name="selected">selected</xsl:attribute> + </xsl:if> + </option> + </xsl:for-each> + </Select> + <Label text="_((This requires a restart of Scilab))" font-face="bold" gridx="1" gridy="2" anchor="west" weightx="0"/> + <Panel gridx="2" gridy="2" weightx="1" fill="both"/> + </Grid> + </Title> + </xsl:if> + </xsl:template> + + <xsl:template match="java-heap-memory" mode="tooltip"> and java heap size.</xsl:template> + <xsl:template match="java-heap-memory"> + <VSpace height="10"/> + <Title text="_(Java Heap Memory)"> + <Grid> + <Label text="_(Select the memory (in MB) available in Java: )" gridx="1" gridy="1" anchor="baseline" weightx="0"/> + <Panel gridx="2" gridy="1" weightx="1"/> + <NumericalSpinner min-value="0" + increment="128" + length="6" + listener="ActionListener" + value="{@heap-size}" + gridx="3" gridy="1" anchor="baseline" weightx="0"> + <actionPerformed choose="heap-size"> + <xsl:call-template name="context"/> + </actionPerformed> + </NumericalSpinner> + <Label text="_((This requires a restart of Scilab))" font-face="bold" gridx="1" gridy="2" anchor="west" weightx="0"/> + <Panel gridx="2" gridy="2" weightx="1" fill="both"/> + </Grid> + </Title> + </xsl:template> + + <xsl:template match="startup"> + <VSpace height="10"/> + <Title text="_(Start-up directory)"> + <Grid> + <Radiobutton value="{@use}" expected-value="current" listener="ActionListener" text="_(Use current working directory)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west"> + <actionPerformed choose="use"> + <xsl:call-template name="context"/> + </actionPerformed> + </Radiobutton> + + <Radiobutton value="{@use}" expected-value="previous" listener="ActionListener" text="_(Use previous working directory)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west"> + <actionPerformed choose="use"> + <xsl:call-template name="context"/> + </actionPerformed> + </Radiobutton> + + <Radiobutton value="{@use}" expected-value="default" listener="ActionListener" text="_(Use default directory)" gridx="1" gridy="3" fill="none" weightx="0" anchor="west"> + <actionPerformed choose="use"> + <xsl:call-template name="context"/> + </actionPerformed> + </Radiobutton> + + <FileSelector gridx="2" gridy="3" weightx="1" anchor="above_baseline" + listener="EntryListener" + href="{@default}" + desc="_(Default startup directory)" + dir-selection="true" + check-entry="true"> + <xsl:attribute name="enable"> + <xsl:if test="@use='default'"> + <xsl:text>true</xsl:text> + </xsl:if> + </xsl:attribute> + <entryChanged choose="default"> + <xsl:call-template name="context"/> + </entryChanged> + </FileSelector> + </Grid> + </Title> + </xsl:template> + + <xsl:template match="tools"> + <Title text="_(Confirmation dialogs)"> + <Grid> + <xsl:for-each select="tool"> + <Checkbox + gridy="{position() + 1}" + gridx="1" + listener="ActionListener" + checked="{@state}" + text="{@description}"> + <actionPerformed choose="state"> + <xsl:call-template name="context"/> + </actionPerformed> + </Checkbox> + </xsl:for-each> + </Grid> + </Title> + </xsl:template> + + <xsl:template match="layouts"> + <xsl:variable name="id" select="@id"/> + <Title text="_(Desktop Layout)"> + <Grid> + <Label gridx="1" gridy="1" weightx="0" text="_(Select a layout)"/> + <Panel gridx="2" gridy="1" gridheight="1" fill="both"/> + <Select gridx="3" gridy="1" listener="ActionListener"> + <actionPerformed choose="id"> + <xsl:call-template name="context"/> + </actionPerformed> + <xsl:for-each select="layout"> + <option value="{@name}" key="{@id}"> + <xsl:if test="@id=$id"> + <xsl:attribute name="selected">selected</xsl:attribute> + </xsl:if> + </option> + </xsl:for-each> + </Select> + <Label text="_((Modify the layout requires to restart Scilab))" font-face="bold" gridx="1" gridy="2" anchor="west" weightx="0"/> + <Panel gridx="1" gridy="3"> + <VSpace height="10"/> + </Panel> + <Image gridx="1" gridy="4" gridwidth="3"> + <xsl:attribute name="url"> + <xsl:value-of select="layout[@id=$id]/@image"/> + </xsl:attribute> + </Image> + <Panel gridx="1" gridy="5"> + <VSpace height="10"/> + </Panel> + <Checkbox gridx="1" gridy="6" weightx="0" text="_(Save layout on exiting)" checked="{@save-desktop}" selected-value="true" unselected-value="false" listener="ActionListener"> + <actionPerformed choose="save-desktop"> + <xsl:call-template name="context"/> + </actionPerformed> + </Checkbox> + <Button gridx="3" gridy="6" weightx="0" text="_(Reset layout)" listener="ActionListener"> + <actionPerformed callback="Reset layout"/> + </Button> + </Grid> + </Title> + </xsl:template> + + <xsl:template match="actions"> + <xsl:variable name="name" select="@name"/> + <xsl:variable name="current-item" select="action-folder[@name=$name]/action[number(@item)]"/> + <Title text="_(Keys binding)" fixed-height="false"> + <VBox fixed-height="false"> + <Grid> + <Label gridy="1" gridx="1" gridwidth="2" text="_(Filter on action name: )"/> + <Entry gridy="2" gridx="1" gridwidth="2" text="{@filter}" listener="EntryListener"> + <entryChanged choose="filter"> + <xsl:call-template name="context"/> + </entryChanged> + </Entry> + </Grid> + <VSpace height="10"/> + <Grid> + <VBox gridx="1" gridy="1" weightx="0" anchor="north"> + <Label text="_(Component)"/> + <List item="{@name}" nb-visible-rows="4" listener="ActionListener"> + <actionPerformed choose="name"> + <xsl:call-template name="context"/> + </actionPerformed> + <xsl:for-each select="action-folder"> + <listElement name="{@name}"/> + </xsl:for-each> + </List> + </VBox> + <Panel gridx="2" gridy="1" weightx="0" width="30" height="1" fixed-width="true"/> + <Grid gridx="3" gridy="1" weightx="1" anchor="north"> + <Label gridx="1" gridy="1" weightx="0" weighty="0" anchor="north" text="_(Name: )"/> + <Label gridx="2" gridy="1" weightx="0" weighty="0" anchor="west"> + <xsl:attribute name="text"> + <xsl:value-of select="$current-item/@name"/> + </xsl:attribute> + </Label> + <Label gridx="1" gridy="2" weightx="0" weighty="0" anchor="north" text="_(Description: )"/> + <TextArea gridx="2" gridy="2" weightx="1" weighty="0" anchor="west" editable="false" rows="4"> + <xsl:attribute name="text"> + <xsl:value-of select="$current-item/@description"/> + </xsl:attribute> + </TextArea> + <Label gridx="1" gridy="3" weightx="0" weighty="0" anchor="baseline" text="_(Binding: )"/> + <Entry gridx="2" gridy="3" weightx="0" weighty="0" anchor="baseline" listener="EntryListener"> + <xsl:attribute name="text"> + <xsl:value-of select="$current-item/@key"/> + </xsl:attribute> + <entryChanged choose="key"> + <xsl:attribute name="context"> + <xsl:for-each select="$current-item/ancestor-or-self::*"> + <xsl:if test="not(.=/)"> + <xsl:value-of select="count(preceding-sibling::*)+1"/> + <xsl:text>/</xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </entryChanged> + </Entry> + </Grid> + </Grid> + <VSpace height="10"/> + <Table mode="select" listener="TableListener" fixed-height="false"> + <!-- we change this useless attribute (which is not an actuator) to force the table reload) --> + <xsl:attribute name="name"> + <xsl:value-of select="concat($name,@filter)"/> + </xsl:attribute> + <tableSelect choose="item"> + <xsl:call-template name="context"/> + </tableSelect> + <xsl:for-each select="action-folder[@name=$name]/action[contains( + translate(@name,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + translate(current()/@filter,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))]"> + <tableRow binding="{@key}" command="{@name}"/> + </xsl:for-each> + <tableCol title="_(Action name)" attr="command"/> + <tableCol title="_(Key binding)" attr="binding"/> + </Table> + <Glue/> + </VBox> + </Title> + </xsl:template> +</xsl:stylesheet> diff --git a/modules/console/etc/configuration.xml b/modules/console/etc/configuration.xml new file mode 100755 index 000000000..c7da31d5a --- /dev/null +++ b/modules/console/etc/configuration.xml @@ -0,0 +1,72 @@ +<?xml version="1.0"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<Setting version="0.02"> + <!-- Scilab configuration --> + <Profile name="scilab"> + <!-- Welcome line --> + <WelcomeLine useCache="true" value=""/> + + <!-- GUI Part --> + <PromptView useCache="true" value="org.scilab.modules.console.SciPromptView"/> + <OutputView useCache="true" value="org.scilab.modules.console.SciOutputView"/> + <LastOpenedDirectory useCache="true" value=""/> + <InputCommandView useCache="true" value="org.scilab.modules.console.SciInputCommandView"/> + <BackgroundColor useCache="true" value="#FFFFFF"/> + <ForegroundColor useCache="true" value="#000000"/> + <ScrollableUnitIncrement useCache="true" value="20"/> + <ScrollableBlockIncrement useCache="true" value="20"/> + <VerticalWrapAllowed useCache="true" value="false"/> + <HorizontalWrapAllowed useCache="true" value="false"/> + <FontName useCache="true" value="Monospaced"/> + <FontStyle useCache="true" value="0"/> + <!-- 0=PLAIN, 1=BOLD, 2=ITALIC, 3=BOLD+ITALIC --> + <FontSize useCache="true" value="13"/> + + <MainWindowPosition useCache="true" x="0" y="0"/> + <MainWindowSize useCache="true" width="650" height="550"/> + + <!-- Help part --> + <HelpFontSize useCache="true" value="2"/> + + <!-- Core part --> + <OutputViewStyledDocument useCache="true" value="javax.swing.text.DefaultStyledDocument"/> + <InputCommandViewStyledDocument useCache="true" value="javax.swing.text.DefaultStyledDocument"/> + <InputParsingManager useCache="true" value="org.scilab.modules.console.SciInputParsingManager"/> + <GenericInterpreter useCache="true" value="org.scilab.modules.console.SciInterpreter"/> + <CompletionManager useCache="true" value="org.scilab.modules.console.SciCompletionManager"/> + <CompletionWindow useCache="true" value="org.scilab.modules.console.SciCompletionWindow"/> + <HistoryManager useCache="true" value="org.scilab.modules.console.SciHistoryManager"/> + <MaxOutputSize useCache="true" value="10000"/> + + <!-- Key mapping --> + <KeyMapping> + <Key name="VK_F1" mask="" action="HELP"/> + </KeyMapping> + + <!-- Key mapping --> + <!--<Action name="PASTE" className="org.scilab.modules.console.PasteClipboard"/>--> + <ActionMapping> + <Action name="HELP" className="org.scilab.modules.console.HelpAction"/> + </ActionMapping> + + </Profile> + + <!-- Scilab configuration under MacOSX --> + <Profile name="macosx"> + <!-- Key mapping --> + <KeyMapping> + <Key name="VK_F1" mask="" action="HELP"/> + </KeyMapping> + </Profile> + +</Setting> diff --git a/modules/console/etc/console.quit b/modules/console/etc/console.quit new file mode 100755 index 000000000..ab83f0c89 --- /dev/null +++ b/modules/console/etc/console.quit @@ -0,0 +1,10 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA +// Copyright (C) 2009 - DIGITEO +// +// 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 + diff --git a/modules/console/etc/console.start b/modules/console/etc/console.start new file mode 100755 index 000000000..30efbd5c6 --- /dev/null +++ b/modules/console/etc/console.start @@ -0,0 +1,9 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Vincent COUVERT +// +// 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 + diff --git a/modules/console/help/en_US/addchapter.sce b/modules/console/help/en_US/addchapter.sce new file mode 100755 index 000000000..94441edf5 --- /dev/null +++ b/modules/console/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// 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 + +add_help_chapter("Console",SCI+"/modules/console/help/en_US",%T); + diff --git a/modules/console/help/en_US/clc.xml b/modules/console/help/en_US/clc.xml new file mode 100755 index 000000000..ddcdf6105 --- /dev/null +++ b/modules/console/help/en_US/clc.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="clc"> + <refnamediv> + <refname>clc</refname> + <refpurpose>Clear Command Window</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>clc([nblines])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>nblines</term> + <listitem> + <para>a double value</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <code>clc()</code> clears all input and output from the Console. + </para> + <para> + After using <code>clc()</code>, you cannot use the scroll bar to see the history of functions, but still can use the up arrow to recall statements from the command history. + </para> + <para> + <code>clc(nblines)</code> clears <varname>nblines</varname> above cursor current line and move cursor up to this line. + </para> + <para> + <note> + Note that <literal>clc([nblines])</literal> cannot be used under Unix/Linux platforms when Scilab used in <literal>cli</literal> or <literal>adv-cli</literal> (no window) modes. + </note> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +clc(); +rand(10,10) +clc(5); // Delete the 5 previous lines + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="tohome">tohome</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/completion.xml b/modules/console/help/en_US/completion.xml new file mode 100755 index 000000000..bd5c100bf --- /dev/null +++ b/modules/console/help/en_US/completion.xml @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * 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 + * + --> +<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="completion" xml:lang="en"> + <refnamediv> + <refname>completion</refname> + <refpurpose>returns words that start with the text you pass as + parameter. + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>r = completion(beginning_of_a_word) + r = completion(beginning_of_a_word,dictionary) + [functions, commands, variables, macros, graphic_properties, files] = completion(beginning_of_a_word) + [functions, commands, variables, macros, graphic_properties] = completion(beginning_of_a_word) + [functions, commands, variables, macros] = completion(beginning_of_a_word) + [functions, commands, variables] = completion(beginning_of_a_word) + [functions, commands] = completion(beginning_of_a_word) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>r</term> + <listitem> + <para>a string matrix</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>beginning_of_a_word</term> + <listitem> + <para>a string</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>dictionary</term> + <listitem> + <para>a string ("functions", "commands", "variables", "macros", + "graphic_properties", "files") + </para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>functions, commands, variables, macros, graphic_properties, + files + </term> + <listitem> + <para>a string matrix</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Returns words that start with the text you pass as parameter.</para> + <para> + functions: a string matrix of functions name (C gateways). See <link linkend="what">what</link>. + </para> + <para> + commands: a string matrix of command words (reserved). See <link linkend="what">what</link>. + </para> + <para> + variables: a string matrix of variables names. See <link linkend="who">who</link>. + </para> + <para> + macros: a string matrix of macros names. See <link linkend="who">who</link>. + </para> + <para>graphic_properties: a string matrix of graphic properties.</para> + <para>files: a string matrix of files names.</para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"> + r = completion('w') + r = completion('w','functions') + r = completion('w','commands') + r = completion('w','variables') + r = completion('w','macros') + r = completion('w','graphic_properties') + r = completion('w','files') + + [functions,commands,variables,macros,graphic_properties,files] = completion('w') + [functions,commands,variables,macros,graphic_properties] = completion('w') + [functions,commands,variables,macros] = completion('w') + [functions,commands,variables] = completion('w') + [functions,commands] = completion('w') + </programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="getscilabkeywords">getscilabkeywords</link> + </member> + <member> + <link linkend="who">who</link> + </member> + <member> + <link linkend="what">what</link> + </member> + <member> + <link linkend="libraryinfo">libraryinfo</link> + </member> + <member> + <link linkend="librarieslist">librarieslist</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/console.xml b/modules/console/help/en_US/console.xml new file mode 100755 index 000000000..03fe61530 --- /dev/null +++ b/modules/console/help/en_US/console.xml @@ -0,0 +1,190 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + --> +<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" scilab:needs-examples="no" xml:id="console" xml:lang="en"> + <refnamediv> + <refname>console</refname> + <refpurpose>Keyboard Shortcuts in the Console Window</refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <informaltable border="1"> + <tr> + <td>UP or Ctrl+P</td> + <td>recall previous line.</td> + </tr> + <tr> + <td>DOWN or Ctrl+N</td> + <td>recall next line.</td> + </tr> + <tr> + <td>F1</td> + <td>call help.</td> + </tr> + <tr> + <td>F2</td> + <td>clear console.</td> + </tr> + <tr> + <td>F12</td> + <td>open console box only on Windows.</td> + </tr> + <tr> + <td>Ctrl+space or TAB</td> + <td>completion : Scilab displays a list of all names that start with + somes characters. + </td> + </tr> + <tr> + <td>Ctrl + A or HOME</td> + <td>move to beginning of current line.</td> + </tr> + <tr> + <td>Ctrl + B or LEFT</td> + <td>moves the cursor one character to the left.</td> + </tr> + <tr> + <td>Ctrl + C</td> + <td>interrupts Scilab if nothing selected in the console, else text + selected is sent to clipboard. + </td> + </tr> + <tr> + <td>Ctrl + D or DELETE</td> + <td>deletes the current character.</td> + </tr> + <tr> + <td>Ctrl + E or END</td> + <td>moves the cursor to the end of command line.</td> + </tr> + <tr> + <td>Ctrl + F or RIGHT</td> + <td>moves the cursor one character to the right.</td> + </tr> + <tr> + <td>Ctrl + H or BACKSPACE</td> + <td>deletes the previous character.</td> + </tr> + <tr> + <td>Ctrl + K</td> + <td>kills command line from cursor to the end.</td> + </tr> + <tr> + <td>Ctrl + S</td> + <td>select all.</td> + </tr> + <tr> + <td>Ctrl + U</td> + <td>delete the whole command line.</td> + </tr> + <tr> + <td>Ctrl + V</td> + <td>do a paste from clipboard.</td> + </tr> + <tr> + <td>Ctrl + W</td> + <td>delete the last word of the command line.</td> + </tr> + <tr> + <td>Ctrl + X</td> + <td>Interrupt Scilab</td> + </tr> + <tr> + <td>Ctrl + LEFT</td> + <td>move left one word.</td> + </tr> + <tr> + <td>Ctrl + RIGHT</td> + <td>move right one word.</td> + </tr> + <tr> + <td>Shift + HOME</td> + <td>select from cursor to beginning of statement.</td> + </tr> + <tr> + <td>Shift + END</td> + <td>select from cursor to end of statement.</td> + </tr> + <tr> + <td>Double-click</td> + <td>select current word.</td> + </tr> + </informaltable> + </refsection> + <refnamediv> + <refname>console cli</refname> + <refpurpose>Keyboard Shortcuts in NW/NWNI mode</refpurpose> + </refnamediv> + <refsection> + <title>Description</title> + <informaltable border="1"> + <tr> + <td>UP or Ctrl+P</td> + <td>recall previous line.</td> + </tr> + <tr> + <td>DOWN or Ctrl+N</td> + <td>recall next line.</td> + </tr> + <tr> + <td>TAB</td> + <td>completion : Scilab displays a list of all names that start with + somes characters. + </td> + </tr> + <tr> + <td>Ctrl + A or HOME</td> + <td>move to beginning of current line.</td> + </tr> + <tr> + <td>Ctrl + B or LEFT</td> + <td>moves the cursor one character to the left.</td> + </tr> + <tr> + <td>Ctrl + D or DELETE</td> + <td>deletes the current character.</td> + </tr> + <tr> + <td>Ctrl + E or END</td> + <td>moves the cursor to the end of command line.</td> + </tr> + <tr> + <td>Ctrl + F or RIGHT</td> + <td>moves the cursor one character to the right.</td> + </tr> + <tr> + <td>Ctrl + H or BACKSPACE</td> + <td>deletes the previous character.</td> + </tr> + <tr> + <td>Ctrl + K</td> + <td>kills command line from cursor to the end.</td> + </tr> + <tr> + <td>Ctrl + U</td> + <td>kills command line from cursor to beginning.</td> + </tr> + <tr> + <td>Ctrl + W</td> + <td>delete the previous word from the cursor.</td> + </tr> + <tr> + <td>Alt+B or Ctrl+LEFT</td> + <td>move left one word.</td> + </tr> + <tr> + <td>Alt+F or Ctrl+RIGHT</td> + <td>move right one word.</td> + </tr> + </informaltable> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/diary.xml b/modules/console/help/en_US/diary.xml new file mode 100755 index 000000000..3ac2a7cac --- /dev/null +++ b/modules/console/help/en_US/diary.xml @@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2009 - DIGITEO - 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 + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="diary" xml:lang="en"> + <refnamediv> + <refname>diary</refname> + <refpurpose>diary of session</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> diary(filename) + [id,filename] = diary(filename, ['new'|'append']) + + [ids, filenames] = diary() + [ids, filenames] = diary([], 'list') + + diary([], 'close') + diary(0) + diary(filename, 'close') + diary(id, 'close') + + diary([], 'pause'|'off') + diary(filename, 'pause'|'off') + diary(id, 'pause'|'off') + + diary([], 'resume'|'on') + diary(filename, 'resume'|'on') + diary(id, 'resume'|'on') + + diary(filenames, 'exists') + diary(ids, 'exists') + + diary(filename, 'new'|'append', 'prefix=YYYY-MM-DD hh:mm:ss') + diary(filename, 'new'|'append', 'prefix=U') + diary(filename, 'new'|'append', [ 'prefix=YYYY-MM-DD hh:mm:ss' ; 'prefix-only-commands' ] ); + + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>a character string, give the full file name path.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>id</term> + <listitem> + <para>a scalar to identify a diary.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>diary(f)</literal>function creates a log of keyboard input + and the resulting text output. + </para> + </refsection> + <refsection> + <title>Start a diary session</title> + <para> + <literal>[id, filename] = diary(filename, + ['new'|'append']) + </literal> + </para> + <para>returns :</para> + <para>* id : a positive integer (>= 1) which is the diary session + identifier. + </para> + <para>* filename : A string, the absolute path of the effective written + file. + </para> + <para>The first input argument is a string that contain the path of the + diary file. This can be a relative path or an absolute path. + </para> + <para>The 2nd input argument controls if a new file is created ('new') or + if diary() adds new content at the end of the file ('append'). If the 2nd + input argument is not present, the default value is 'new'. + </para> + <para>When diary() is called with 'new' mode : If 'filename' already + exists and is not empty, an effective filename + 'base(filemane)+_#+extension(filename)' is built, used, and returned by + diary(filename) as a second output argument (beside id). The rank # would + be set as the smallest integer for which the resultant filename does not + yet exists. + </para> + </refsection> + <refsection> + <title>List diary sessions</title> + <para> + <literal>[ids, filenames] = diary()</literal> + </para> + <para> + <literal>[ids, filenames] = diary([],'list')</literal> + </para> + <para>returns a column vector of integer : identifiers list of opened + diary sessions. a column vector of strings : absolute paths of the files + associated with opened diary sessions. + </para> + </refsection> + <refsection> + <title>Close diary session(s)</title> + <para> + <literal>diary([],'close')</literal> + </para> + <para> + <literal>diary(0)</literal> + </para> + <para> + <literal>diary(filename,'close')</literal> + </para> + <para> + <literal>diary(id,'close')</literal> + </para> + <para>The first and second syntaxes close all opened diary + sessions. + </para> + <para>The third syntax closes diary session(s) identified by + 'filename'. + </para> + <para>The fourth syntax closes the diary session identified by “id” which + is a positive integer or a vector of positive integers. + </para> + <para>Remark : diary(0) is retained as backwards compatibility.</para> + </refsection> + <refsection> + <title>Pause/Resume diary session(s)</title> + <para> + <literal>diary([] ,'pause'|'off')</literal> + </para> + <para> + <literal>diary(filename,'pause'|'off')</literal> + </para> + <para> + <literal>diary(id ,'pause'|'off')</literal> + </para> + <para>The first syntax suspends all opened diary sessions.</para> + <para>The second syntax suspend diary session(s) identified by 'filename'. + 'filename' can be a single string or a character string array. + </para> + <para>The third syntax suspend the diary session identified by 'id' which + is a positive integer or a vector of positive integers. + </para> + <para/> + <para> + <literal>diary([] ,'resume'|'on')</literal> + </para> + <para> + <literal>diary(filename,'resume'|'on')</literal> + </para> + <para> + <literal>diary(id ,'resume'|'on')</literal> + </para> + <para>The first syntax resume all opened diary sessions.</para> + <para>The second syntax resume diary session(s) identified by 'filename'. + 'filename' can be a single string or a character string array. + </para> + <para>The third syntax resume the diary session identified by 'id' which + is a positive integer or a vector of positive integers. + </para> + </refsection> + <refsection> + <title>Does a diary session exists ?</title> + <para> + <literal>diary(filename,'exists')</literal> + </para> + <para> + <literal>diary(id,'exists')</literal> + </para> + <para>return true if a diary session is currently opened with the file + 'filename', if not false. + </para> + </refsection> + <refsection> + <title>Diary and time-stamp</title> + <para> + <literal>diary(filename,'new','prefix=YYYY-MM-DD hh:mm:ss')</literal> + </para> + <para> + <literal>diary(filename,'new','prefix=U')</literal> + </para> + <para> + <literal>diary(filename,'new',[ 'prefix=YYYY-MM-DD hh:mm:ss' ; + 'prefix-only-commands' ] ); + </literal> + </para> + <para>'prefix=YYYY-MM-DD hh:mm:ss' add date & hour</para> + <para>'prefix=U' add UNIX time epoch</para> + <para>'prefix-only-commands' add time-stamp only as prefix for + commands + </para> + </refsection> + <refsection> + <title>Filtering diary</title> + <para> + <literal>diary(filename,”new”,”filter=command”) </literal>Log only + the input commands. + </para> + <para> + <literal>diary(filename,”new”,”filter=output”) </literal>Log only + the text output. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +d1 = diary(TMPDIR + '/diary1.txt') +d2 = diary(TMPDIR + '/diary2.txt') + +// some Scilab instructions … +cd TMPDIR +dir + +// returns infos about opened diary +[ids, filenames] = diary() + +// close diary d1 +diary(d1,'close') +[ids, filenames] = diary() + +// close diary d2 +diary(TMPDIR + '/diary2.txt') +[ids, filenames] = diary() +// closes all diary +diary([],'close') +[ids, filenames] = diary() + ]]></programlisting> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/lines.xml b/modules/console/help/en_US/lines.xml new file mode 100755 index 000000000..381bf61cd --- /dev/null +++ b/modules/console/help/en_US/lines.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002 - INRIA + * Copyright (C) 2012 - DIGITEO - 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 + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="lines" xml:lang="en"> + <refnamediv> + <refname>lines</refname> + <refpurpose>rows and columns used for display</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>lines(nl) + lines(nl, nc) + lines(ncl) + ncl = lines() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>nl</term> + <listitem> + <para>An integer, the number of lines for vertical paging control.</para> + <itemizedlist> + <listitem> + <para>If 0: no vertical paging control is done.</para> + </listitem> + <listitem> + <para>If -1: reset vertical paging control to current size of the window.</para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>nc</term> + <listitem> + <para>An integer, the number of column of output. Used for + formatting output + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>ncl</term> + <listitem> + <para>A 1x2 vector [nc, nl]</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>lines</literal> handles Scilab display paging. + </para> + <para> + <literal>lines()</literal> returns the vector <literal>[# columns, # + rows] + </literal> + currently used by Scilab for displaying the + results. + </para> + <para> + <literal>lines(nl)</literal> sets the number of displayed lines + (before user is asked for more) to <literal>nl</literal>. + </para> + <para> + <literal>lines(0)</literal> disables vertical paging. + </para> + <para> + <literal>lines(nl,nc)</literal> and <literal>lines([nc,nl])</literal> changes also the size of the output + to <literal>nc</literal> columns. + </para> + <para>When Scilab is launched without -nw option, the + <literal>lines</literal> parameters are automatically set according to the + output window size, these parameters are also automatically modified when + the window is resized. + </para> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="disp">disp</link> + </member> + <member> + <link linkend="print">print</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revdescription> + <itemizedlist> + <listitem>lines is set by default to 0. Argument -1 added. See SEP #67 for more information.</listitem> + <listitem>lines manages a 1x2 vector [nc, nl] as input + argument + </listitem> + </itemizedlist> + </revdescription> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/prompt.xml b/modules/console/help/en_US/prompt.xml new file mode 100755 index 000000000..08f27a7ba --- /dev/null +++ b/modules/console/help/en_US/prompt.xml @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + --> +<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="prompt" xml:lang="en"> + <refnamediv> + <refname>prompt</refname> + <refpurpose>Get/Set current prompt</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + currentprompt = prompt() + [currentprompt,pauselevel] = prompt() + prompt(userprompt) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>currentprompt</term> + <listitem> + <para>a string: current prompt returned as a character string.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>pauselevel</term> + <listitem> + <para>an integer: current pause level.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>userprompt</term> + <listitem> + <para>a string: prompt to display for next user input. Then current + prompt will be used again. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <literal>currentprompt = prompt()</literal> gets the current + prompt. + </para> + <para> + <literal>prompt(userprompt)</literal> sets the prompt. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +currentPrompt = prompt(); +disp(currentPrompt); // Probably "-->" + +[currentPrompt, pauseLevel] = prompt(); +disp(pauseLevel); // Probably 0 + +prompt(">>"); // Create a new prompt just for the next command + + ]]></programlisting> + </refsection> + + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="pause">pause</link> + </member> + <member> + <link linkend="input">input</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/en_US/tohome.xml b/modules/console/help/en_US/tohome.xml new file mode 100755 index 000000000..107344b8a --- /dev/null +++ b/modules/console/help/en_US/tohome.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="tohome"> + <refnamediv> + <refname>tohome</refname> + <refpurpose>Move the cursor to the upper left corner of the Command Window</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>tohome()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + <literal>tohome()</literal> moves the cursor to the upper-left corner of the Command Window and clears the screen. + </para> + <para>You can use the scroll bar to see the history of previous functions.</para> + <para> + <note> + Note that <literal>tohome()</literal> cannot be used under Windows platforms when Scilab used in no window mode. + </note> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +tohome(); + ]]></programlisting> + </refsection> + + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="clc">clc</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/fr_FR/addchapter.sce b/modules/console/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..6a98bd36c --- /dev/null +++ b/modules/console/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// 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 + +add_help_chapter("Console",SCI+"/modules/console/help/fr_FR",%T); + diff --git a/modules/console/help/fr_FR/clc.xml b/modules/console/help/fr_FR/clc.xml new file mode 100755 index 000000000..fd6b96c55 --- /dev/null +++ b/modules/console/help/fr_FR/clc.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="clc"> + <refnamediv> + <refname>clc</refname> + <refpurpose>Efface la fenêtre de commande</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>clc([nblines])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Paramètres</title> + <variablelist> + <varlistentry> + <term>nblines</term> + <listitem> + <para>une valeur double</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <code>clc()</code> efface toutes les entrées et sorties de la fenêtre de commande. + </para> + <para> + Après avoir utilisé <code>clc()</code>, vous ne pouvez pas utiliser la barre de défilement pour voir l'historique des fonctions, mais vous pouvez encore utiliser le clavier pour rappeler les instructions de l'historique des commandes. + </para> + <para> + <code>clc(nblines)</code> efface <varname>nblines</varname> au dessus de la ligne courante du curseur et déplace le curseur jusqu'à cette ligne. + </para> + <para> + <note> + Notez que <literal>clc([nblines])</literal> ne peut être utilisé sous Unix/Linux quand Scilab est utilisé en mode sans fenêtre. + </note> + </para> + </refsection> + <refsection> + <title>Example</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +clc(); +rand(10,10) +clc(5); // Efface les 5 précédentes lignes. + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="tohome">tohome</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/fr_FR/tohome.xml b/modules/console/help/fr_FR/tohome.xml new file mode 100755 index 000000000..c3e54f43d --- /dev/null +++ b/modules/console/help/fr_FR/tohome.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="tohome"> + <refnamediv> + <refname>tohome</refname> + <refpurpose>Déplace le curseur en haut à gauche de la fenêtre de commande</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>tohome()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + <literal>tohome()</literal> déplace le curseur en haut à gauche de la fenêtre de commande et efface l'écran. + </para> + <para>Vous pouvez utiliser la barre de défilement pour voir l'historique des fonctions.</para> + <para> + <note> + Notez que <literal>tohome()</literal> ne peut être utilisé sous Windows quand Scilab est utilisé en mode sans fenêtre. + </note> + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="clc">clc</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/addchapter.sce b/modules/console/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..badcf08e6 --- /dev/null +++ b/modules/console/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// 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 + +add_help_chapter("Console",SCI+"/modules/console/help/ja_JP",%T); + diff --git a/modules/console/help/ja_JP/clc.xml b/modules/console/help/ja_JP/clc.xml new file mode 100755 index 000000000..8fbe00a25 --- /dev/null +++ b/modules/console/help/ja_JP/clc.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="clc"> + <refnamediv> + <refname>clc</refname> + <refpurpose>コマンドウインドウを消去する</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>clc([nblines])</synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>nblines</term> + <listitem> + <para>double の値</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <code>clc()</code>はコマンドウインドウの + 入力および出力を全て消去します. + </para> + <para> + <code>clc()</code>の使用後, 関数の履歴を + スクロールバーにより見ることはできませんが, + 上矢印によりコマンド履歴から命令を再度コールすることはできます. + </para> + <para> + <code>clc(nblines)</code> はカレント行の上<varname>nblines</varname> + 行を消去し,カーソルをこの行に移動します. + </para> + <para> + <note> + <literal>clc([nblines])</literal> は,ウインドウモードではない + Scilabの時, Unix/Linuxプラットフォームでは使用できないことに注意してください. + </note> + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +clc(); +rand(10,10) +clc(5); // Delete the 5 previous lines + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="tohome">tohome</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/completion.xml b/modules/console/help/ja_JP/completion.xml new file mode 100755 index 000000000..3b4732e09 --- /dev/null +++ b/modules/console/help/ja_JP/completion.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * 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 + * + --> +<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="completion" xml:lang="ja"> + <refnamediv> + <refname>completion</refname> + <refpurpose>パラメータとして指定したテキストから始まる単語を返す.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>r = completion(beginning_of_a_word) + r = completion(beginning_of_a_word,dictionary) + [functions, commands, variables, macros, graphic_properties, files] = completion(beginning_of_a_word) + [functions, commands, variables, macros, graphic_properties] = completion(beginning_of_a_word) + [functions, commands, variables, macros] = completion(beginning_of_a_word) + [functions, commands, variables] = completion(beginning_of_a_word) + [functions, commands] = completion(beginning_of_a_word) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>r</term> + <listitem> + <para>文字列行列</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>beginning_of_a_word</term> + <listitem> + <para>文字列</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>dictionary</term> + <listitem> + <para>文字列 ("functions", "commands", "variables", "macros", + "graphic_properties", "files") + </para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>functions, commands, variables, macros, graphic_properties, + files + </term> + <listitem> + <para>文字列</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para>パラメータとして指定したテキストから始まる単語を返します.</para> + <para>functions: 関数名の文字列行列 (C ゲートウエイ). 'what'参照.</para> + <para>commands: コマンドの文字列行列 (予約). 'what'参照.</para> + <para>variables: 変数名の文字列行列. 'who'参照.</para> + <para>macros: マクロ名の文字列行列.'who'参照.</para> + <para>graphic_properties: 文字列行列x</para> + <para>files: 文字列行列 </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"> + r = completion('w') + r = completion('w','functions') + r = completion('w','commands') + r = completion('w','variables') + r = completion('w','macros') + r = completion('w','graphic_properties') + r = completion('w','files') + [functions,commands,variables,macros,graphic_properties,files] = completion('w') + [functions,commands,variables,macros,graphic_properties] = completion('w') + [functions,commands,variables,macros] = completion('w') + [functions,commands,variables] = completion('w') + [functions,commands] = completion('w') + </programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="getscilabkeywords">getscilabkeywords</link> + </member> + <member> + <link linkend="who">who</link> + </member> + <member> + <link linkend="what">what</link> + </member> + <member> + <link linkend="libraryinfo">libraryinfo</link> + </member> + <member> + <link linkend="librarieslist">librarieslist</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/console.xml b/modules/console/help/ja_JP/console.xml new file mode 100755 index 000000000..1b6a814ab --- /dev/null +++ b/modules/console/help/ja_JP/console.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + --> +<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="console" xml:lang="ja"> + <refnamediv> + <refname>console</refname> + <refpurpose>コンソールウインドウでのキーボードショートカット</refpurpose> + </refnamediv> + <refsection> + <title>説明</title> + <informaltable border="1"> + <tr> + <td>UP or Ctrl+P</td> + <td>前の行を呼び出す.</td> + </tr> + <tr> + <td>DOWN or Ctrl+N</td> + <td>次の行を呼び出す.</td> + </tr> + <tr> + <td>F1</td> + <td>ヘルプをコールする.</td> + </tr> + <tr> + <td>F2</td> + <td>コンソールをクリアする.</td> + </tr> + <tr> + <td>F12</td> + <td>Windowsでのみコンソールボックスをオープンするo.</td> + </tr> + <tr> + <td>Ctrl+space or TAB</td> + <td>補完 : scilab はいくつかの文字で始まる全ての名前のリストを表示します.</td> + </tr> + <tr> + <td>Ctrl + A or HOME</td> + <td>カレントの行の始めに移動します.</td> + </tr> + <tr> + <td>Ctrl + B or LEFT</td> + <td>カーソルを一文字左に移動します.</td> + </tr> + <tr> + <td>Ctrl + C</td> + <td>コンソールで何も選択されていない場合, Scilabの処理を中断します. + 選択されている場合,選択されたテキストをクリップボードに送信します. + </td> + </tr> + <tr> + <td>Ctrl + D or DELETE</td> + <td>カレントの文字を削除します.</td> + </tr> + <tr> + <td>Ctrl + E or END</td> + <td>カーソルをコマンド行の最後に移動します.</td> + </tr> + <tr> + <td>Ctrl + F or RIGHT</td> + <td>カーソルを一文字右に移動します.</td> + </tr> + <tr> + <td>Ctrl + H or BACKSPACE</td> + <td>前の文字を削除します.</td> + </tr> + <tr> + <td>Ctrl + K</td> + <td>カーソルから行末までのコマンド行を消去します.</td> + </tr> + <tr> + <td>Ctrl + S</td> + <td>全てを選択します.</td> + </tr> + <tr> + <td>Ctrl + U</td> + <td>コマンド行全体を削除します.</td> + </tr> + <tr> + <td>Ctrl + V</td> + <td>クリップボードから貼り付けを行います.</td> + </tr> + <tr> + <td>Ctrl + W</td> + <td>コマンド行の最終ワードを削除します.</td> + </tr> + <tr> + <td>Ctrl + X</td> + <td>Scilab割込みを発生します.</td> + </tr> + <tr> + <td>Ctrl + LEFT</td> + <td>左に1ワード移動します.</td> + </tr> + <tr> + <td>Ctrl + RIGHT</td> + <td>右に1ワード移動します.</td> + </tr> + <tr> + <td>Shift + HOME</td> + <td>カーソル位置から命令文の開始位置までを選択します.</td> + </tr> + <tr> + <td>Shift + END</td> + <td>カーソル位置から命令文の終了位置までを選択します.</td> + </tr> + <tr> + <td>Double-click</td> + <td>カレントワードを選択します.</td> + </tr> + </informaltable> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/diary.xml b/modules/console/help/ja_JP/diary.xml new file mode 100755 index 000000000..f01358d6e --- /dev/null +++ b/modules/console/help/ja_JP/diary.xml @@ -0,0 +1,237 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2009 - DIGITEO - 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 + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="diary" xml:lang="ja"> + <refnamediv> + <refname>diary</refname> + <refpurpose>セッションのダイアリー</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis> diary(filename) + [id,filename] = diary(filename, ['new'|'append']) + [ids, filenames] = diary() + [ids, filenames] = diary([], 'list') + diary([], 'close') + diary(0) + diary(filename, 'close') + diary(id, 'close') + diary([], 'pause'|'off') + diary(filename, 'pause'|'off') + diary(id, 'pause'|'off') + diary([], 'resume'|'on') + diary(filename, 'resume'|'on') + diary(id, 'resume'|'on') + diary(filenames, 'exists') + diary(ids, 'exists') + diary(filename, 'new'|'append', 'prefix=YYYY-MM-DD hh:mm:ss') + diary(filename, 'new'|'append', 'prefix=U') + diary(filename, 'new'|'append', [ 'prefix=YYYY-MM-DD hh:mm:ss' ; 'prefix-only-commands' ] ); + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>文字列, 完全なファイル名パスを指定します.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>id</term> + <listitem> + <para>ダイアリーを特定するためのスカラー値.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>diary(f)</literal>関数はキーボード入力および + その結果のテキスト出力のログを作成します. + </para> + </refsection> + <refsection> + <title>ダイアリーセッションを開始</title> + <para> + <literal>[id, filename] = diary(filename, + ['new'|'append']) + </literal> + </para> + <para>returns :</para> + <para>* id : 正の整数 (>= 1)で,このダイアリセッションのIDです.</para> + <para>* filename : 文字列, 実際に書き込まれるファイルの絶対パス.</para> + <para>最初の入力引数は文字列で,ダイアリファイルへのパスを有します. + これは,相対パスまたは絶対パスのどちらかとすることができます.. + </para> + <para>2番目の入力引数は,新規にファイルを作成する('new')か, + diary() が新規コンテンツをファイルの終端に追加するか('append') + を制御します.2番目の入力引数が指定されない場合, + デフォルト値は 'new' です. + </para> + <para>diary() が 'new' モードを指定してコールされた場合 : 'filename' が + 既に存在して,空ではない場合,実効ファイル名'base(filemane)+_#+extension(filename)' + が作成,使用され,diary(filename)から2番目の出力引数として返されます. + ランク # にはまだ存在しない結果のファイル名の中で最小の整数が設定されます. + </para> + </refsection> + <refsection> + <title>ダイアリセッションの一覧</title> + <para> + <literal>[ids, filenames] = diary()</literal> + </para> + <para> + <literal>[ids, filenames] = diary([],'list')</literal> + </para> + <para>は,整数の列ベクトル : オープンされている + ダイアリセッションのID,と文字列の列ベクトル : + オープンされているダイアリセッションに関連付けられた + ファイルの絶対パス, を返します. + </para> + </refsection> + <refsection> + <title>ダイアリセッションを閉じる</title> + <para> + <literal>diary([],'close')</literal> + </para> + <para> + <literal>diary(0)</literal> + </para> + <para> + <literal>diary(filename,'close')</literal> + </para> + <para> + <literal>diary(id,'close')</literal> + </para> + <para> + 最初と2番目の構文は全てのオープンされている + ダイアリセッションを閉じます. + </para> + <para>3番目の構文は'filename'で特定される + ダイアリセッションを閉じます. + </para> + <para>4番目の構文は"id"により特定されるダイアリセッションを閉じます. + この"id" は正の整数または正の整数のベクトルです. + </para> + <para>注意 : diary(0) は下位互換性のために残されていますy.</para> + </refsection> + <refsection> + <title>ダイアリセッションのポーズ/レジューム</title> + <para> + <literal>diary([] ,'pause'|'off')</literal> + </para> + <para> + <literal>diary(filename,'pause'|'off')</literal> + </para> + <para> + <literal>diary(id ,'pause'|'off')</literal> + </para> + <para>最初の構文は全てのオープンされているダイアリセッションを + サスペンドします. + </para> + <para>2番目の構文は'filename'で特定されるダイアリセッションを + サスペンドします.'filename'は文字列または文字列配列とすることが + できます. + </para> + <para>3番目の構文は"id"で特定されるダイアリセッションを + サスペンドします.この"id"はは正の整数または正の整数の + ベクトルです. + </para> + <para/> + <para> + <literal>diary([] ,'resume'|'on')</literal> + </para> + <para> + <literal>diary(filename,'resume'|'on')</literal> + </para> + <para> + <literal>diary(id ,'resume'|'on')</literal> + </para> + <para>最初の構文は全てのオープンされているダイアリセッションを + レジュームします. + </para> + <para>2番目の構文は'filename'で特定されるダイアリセッションを + レジュームします.'filename'は文字列または文字列配列とすることが + できます. + </para> + <para>3番目の構文は"id"で特定されるダイアリセッションを + レジュームします.この"id"はは正の整数または正の整数の + ベクトルです. + </para> + </refsection> + <refsection> + <title>ダイアリセッションが存在するか ?</title> + <para> + <literal>diary(filename,'exists')</literal> + </para> + <para> + <literal>diary(id,'exists')</literal> + </para> + <para>ファイル'filename'を指定するダイアリセッションが + 現在オープンされている場合には true, そうでない場合には + falseを返します. + </para> + </refsection> + <refsection> + <title>ダイアリとタイムスタンプ</title> + <para> + <literal>diary(filename,'new','prefix=YYYY-MM-DD hh:mm:ss')</literal> + </para> + <para> + <literal>diary(filename,'new','prefix=U')</literal> + </para> + <para> + <literal>diary(filename,'new',[ 'prefix=YYYY-MM-DD hh:mm:ss' ; + 'prefix-only-commands' ] ); + </literal> + </para> + <para>'prefix=YYYY-MM-DD hh:mm:ss' は日付 & 時間を追加します</para> + <para>'prefix=U' は UNIX時間エポックを追加します</para> + <para>'prefix-only-commands' はコマンドへのプレフィックスとして + タイムスタンプのみを追加します + </para> + </refsection> + <refsection> + <title>ダイアリをフィルタ処理する</title> + <para> + <literal>diary(filename,”new”,”filter=command”) </literal> + 入力コマンドのみを記録します. + </para> + <para> + <literal>diary(filename,”new”,”filter=output”) </literal> + テキスト出力のみを記録します. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +d1 = diary(TMPDIR + '/diary1.txt') +d2 = diary(TMPDIR + '/diary2.txt') +// 何らかのScilab命令 … +cd TMPDIR +dir +// オープンされたダイアリに関する情報を返す +[ids, filenames] = diary() +// ダイアリd1を閉じる +diary(d1,'close') +[ids, filenames] = diary() +// ダイアリd2を閉じる +diary(TMPDIR + '/diary2.txt') +[ids, filenames] = diary() +// closes all diary +diary([],'close') +[ids, filenames] = diary() + ]]></programlisting> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/lines.xml b/modules/console/help/ja_JP/lines.xml new file mode 100755 index 000000000..0f35f68af --- /dev/null +++ b/modules/console/help/ja_JP/lines.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002 - INRIA + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="lines"> + <refnamediv> + <refname>lines</refname> + <refpurpose>表示に使用される行および列</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>lines(nl) + lines(nl, nc) + lines(ncl) + ncl = lines() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>nl</term> + <listitem> + <para>整数, 垂直方向のページ切替制御の行数.</para> + <itemizedlist> + <listitem> + <para>0の場合,垂直方向のページ切替制御は行われません.</para> + </listitem> + <listitem> + <para> + -1の場合: 垂直ページング制御をウインドウの現在 + の大きさにリセット. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>nc</term> + <listitem> + <para>整数, 出力の列の数. 整形出力で使用されます</para> + </listitem> + </varlistentry> + <varlistentry> + <term>ncl</term> + <listitem> + <para>1x2 ベクトル [nc,nl]</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>lines</literal> はScilab表示ページ制御を処理します. + </para> + <para> + <literal>lines()</literal> は結果の表示用にScilabにより現在使用されている + ベクトル <literal>[# columns, # rows]</literal>を返します. + </para> + <para> + <literal>lines(nl)</literal> は,(moreとユーザに聞くまでの)表示行の数を + <literal>nl</literal>に設定します. + </para> + <para> + <literal>lines(0)</literal> は垂直ページ制御を無効にします + </para> + <para> + <literal>lines(nl,nc)</literal> は + 出力の大きさを<literal>nc</literal>列にも変更します. + </para> + <para> + Scilabが-nwオプションを指定せずに起動された場合, + <literal>lines</literal>パラメータは出力ウインドウの大きさに + 基づき自動的に設定されます. + これらのパラメータはウインドウの大きさが変更された場合にも + 自動的に修正されます. + </para> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="disp">disp</link> + </member> + <member> + <link linkend="print">print</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>履歴</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revdescription> + <itemizedlist> + <listitem>lines はデフォルトで 0に設定されます. + 引数 -1 が追加されます. + 詳細については, SEP #67 を参照ください. + </listitem> + <listitem> + lines は, + 入力引数として 1x2 ベクトル [nc, nl] を管理します. + </listitem> + </itemizedlist> + </revdescription> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/prompt.xml b/modules/console/help/ja_JP/prompt.xml new file mode 100755 index 000000000..8dc405768 --- /dev/null +++ b/modules/console/help/ja_JP/prompt.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + --> +<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="prompt" xml:lang="ja"> + <refnamediv> + <refname>prompt</refname> + <refpurpose>カレントのプロンプトを取得/設定</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis> + currentprompt = prompt() + [currentprompt,pauselevel] = prompt() + prompt(userprompt) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>currentprompt</term> + <listitem> + <para>文字列: カレントのプロンプトを文字列として返します.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>pauselevel</term> + <listitem> + <para>整数: カレントのポーズレベル.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>userprompt</term> + <listitem> + <para>文字列: 次のユーザ入力で表示されるプロンプト. この後,カレントの + が再び使用されます. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>currentprompt = prompt()</literal> はカレントのプロンプトを + 取得します. + </para> + <para> + <literal>prompt(userprompt)</literal> はプロンプトを設定します. + </para> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="pause">pause</link> + </member> + <member> + <link linkend="input">input</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/ja_JP/tohome.xml b/modules/console/help/ja_JP/tohome.xml new file mode 100755 index 000000000..ff8ff4f93 --- /dev/null +++ b/modules/console/help/ja_JP/tohome.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="tohome"> + <refnamediv> + <refname>tohome</refname> + <refpurpose>カーソルをコマンドウインドウの左上隅に移動</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>tohome()</synopsis> + </refsynopsisdiv> + <refsection> + <title>説明</title> + <para> + <literal>tohome()</literal> はカーソルをコマンドウインドウの左上隅に移動 + し,画面を消去します. + </para> + <para>前の関数の履歴を見るために垂直バーを使用することができます. + </para> + <para> + <note> + <literal>tohome()</literal> は,Scilabがウインドウモードではない場合に + Windowsプラットフォームでは使用できません. + </note> + </para> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="clc">clc</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/console/help/pt_BR/addchapter.sce b/modules/console/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..29320a25e --- /dev/null +++ b/modules/console/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// 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 + +add_help_chapter("Console",SCI+"/modules/console/help/pt_BR",%T); + diff --git a/modules/console/help/ru_RU/addchapter.sce b/modules/console/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..a6ab2e1ac --- /dev/null +++ b/modules/console/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// 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 + +add_help_chapter("Командное окно",SCI+"/modules/console/help/ru_RU",%T); + diff --git a/modules/console/help/ru_RU/clc.xml b/modules/console/help/ru_RU/clc.xml new file mode 100755 index 000000000..347a7070c --- /dev/null +++ b/modules/console/help/ru_RU/clc.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="clc"> + <refnamediv> + <refname>clc</refname> + <refpurpose>очистка командного окна</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Последовательность вызова</title> + <synopsis>clc([nblines])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Аргументы</title> + <variablelist> + <varlistentry> + <term>nblines</term> + <listitem> + <para>значение типа double</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Описание</title> + <para> + <code>clc()</code> очищает весь ввод и вывод в Командном окне. + </para> + <para> + После использования <code>clc()</code> вы не можете + использовать ползунок, чтобы посмотреть историю функцию, но + вы по-прежнему можете использовать клавишу со стрелкой вверх, + чтобы повторно вызывать инструкции из истории команд. + </para> + <para> + <code>clc(nblines)</code> очищает <varname>nblines</varname> + строк выше курсора текущей строки и передвигает курсор на + эту строку. + </para> + <para> + <note> + Заметьте, что <literal>clc([nblines])</literal> не + может быть использована на платформах Unix/Linux, когда + Scilab используется в неграфических режимах + <literal>cli</literal> или <literal>adv-cli</literal>. + </note> + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +clc(); +rand(10,10) +clc(5); // удаляет 5 предыдущих строчек + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="tohome">tohome</link> + </member> + </simplelist> + </refsection> +</refentry> + diff --git a/modules/console/help/ru_RU/completion.xml b/modules/console/help/ru_RU/completion.xml new file mode 100755 index 000000000..c2bde8b04 --- /dev/null +++ b/modules/console/help/ru_RU/completion.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * 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 + * + --> +<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="completion" xml:lang="ru"> + <refnamediv> + <refname>completion</refname> + <refpurpose> + возвращает слова, которые начинаются с текста, который вы передаёте в качестве параметра + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Последовательность вызова</title> + <synopsis>r = completion(beginning_of_a_word) + r = completion(beginning_of_a_word,dictionary) + [functions, commands, variables, macros, graphic_properties, files] = completion(beginning_of_a_word) + [functions, commands, variables, macros, graphic_properties] = completion(beginning_of_a_word) + [functions, commands, variables, macros] = completion(beginning_of_a_word) + [functions, commands, variables] = completion(beginning_of_a_word) + [functions, commands] = completion(beginning_of_a_word) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Аргументы</title> + <variablelist> + <varlistentry> + <term>r</term> + <listitem> + <para>матрица строк</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>beginning_of_a_word</term> + <listitem> + <para>строковое значение: начало слова</para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>dictionary</term> + <listitem> + <para>строковое значение: словарь ("functions", "commands", "variables", "macros", + "graphic_properties", "files") + </para> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term>functions, commands, variables, macros, graphic_properties, + files + </term> + <listitem> + <para>матрица строк</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Описание</title> + <para>Возвращает слова, которые начинаются с текста, который вы передаёте в качестве параметра.</para> + <para> + functions: строковая матрица имён функций (Си-шлюзы). См. справку по <link linkend="what">what</link>. + </para> + <para> + commands: строковая матрица слов-команд (зарезервированных). См. справку по <link linkend="what">what</link>. + </para> + <para> + variables: строковая матрица имён переменных. См. справку по <link linkend="who">who</link>. + </para> + <para> + macros: строковая матрица имён макросов. См. справку по <link linkend="who">who</link>. + </para> + <para>graphic_properties: строковая матрица имён свойств графических окон.</para> + <para>files: строковая матрица имён файлов.</para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"> + r = completion('w') + r = completion('w','functions') + r = completion('w','commands') + r = completion('w','variables') + r = completion('w','macros') + r = completion('w','graphic_properties') + r = completion('w','files') + + [functions,commands,variables,macros,graphic_properties,files] = completion('w') + [functions,commands,variables,macros,graphic_properties] = completion('w') + [functions,commands,variables,macros] = completion('w') + [functions,commands,variables] = completion('w') + [functions,commands] = completion('w') + </programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="getscilabkeywords">getscilabkeywords</link> + </member> + <member> + <link linkend="who">who</link> + </member> + <member> + <link linkend="what">what</link> + </member> + <member> + <link linkend="libraryinfo">libraryinfo</link> + </member> + <member> + <link linkend="librarieslist">librarieslist</link> + </member> + </simplelist> + </refsection> +</refentry> + diff --git a/modules/console/help/ru_RU/console.xml b/modules/console/help/ru_RU/console.xml new file mode 100755 index 000000000..215004e5c --- /dev/null +++ b/modules/console/help/ru_RU/console.xml @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +--> +<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" scilab:needs-examples="no" xmlns:scilab="http://www.scilab.org" xml:id="console" xml:lang="ru"> + <refnamediv> + <refname>console</refname> + <refpurpose>сочетания клавиш в командном окне</refpurpose> + </refnamediv> + <refsection> + <title>Описание</title> + <informaltable border="1"> + <tr> + <td>ВВЕРХ или Ctrl+P</td> + <td>повторный вызов предыдущей строки.</td> + </tr> + <tr> + <td>ВНИЗ или Ctrl+N</td> + <td>повторный вызов следующей строки.</td> + </tr> + <tr> + <td>F1</td> + <td>вызов справки.</td> + </tr> + <tr> + <td>F2</td> + <td>очистить консоль.</td> + </tr> + <tr> + <td>F12</td> + <td>открывает консоль в отдельном окне (только в Windows).</td> + </tr> + <tr> + <td>Ctrl+пробел или TAB</td> + <td> + дополнение : Scilab отображает список всех имён, которые начинаются + с некоторых символов. + </td> + </tr> + <tr> + <td>Ctrl + A или HOME</td> + <td>переход в начало текущей строки.</td> + </tr> + <tr> + <td>Ctrl + B или LEFT</td> + <td>перевод курсора на один символ влево.</td> + </tr> + <tr> + <td>Ctrl + C</td> + <td> + прерывание работы Scilab, если ничего не выбрано в консоли, + иначе выбранный текст копируется в буфер обмена. + </td> + </tr> + <tr> + <td>Ctrl + D или DELETE</td> + <td>удаляет текущий символ.</td> + </tr> + <tr> + <td>Ctrl + E или END</td> + <td>перемещает курсор в конец командной строки.</td> + </tr> + <tr> + <td>Ctrl + F или RIGHT</td> + <td>перемещает курсор на один символ вправо.</td> + </tr> + <tr> + <td>Ctrl + H или BACKSPACE</td> + <td>удаляет предыдущий символ.</td> + </tr> + <tr> + <td>Ctrl + K</td> + <td>убивает командную строку от курсора до конца.</td> + </tr> + <tr> + <td>Ctrl + S</td> + <td>выбирает всё.</td> + </tr> + <tr> + <td>Ctrl + U</td> + <td>удаляет командную строку целиком.</td> + </tr> + <tr> + <td>Ctrl + V</td> + <td>делает вставку из буфера обмена.</td> + </tr> + <tr> + <td>Ctrl + W</td> + <td>удаляет последнее слово командной строки.</td> + </tr> + <tr> + <td>Ctrl + X</td> + <td>прерывает работу Scilab'а</td> + </tr> + <tr> + <td>Ctrl + ВЛЕВО</td> + <td>перемещение на одно слово влево.</td> + </tr> + <tr> + <td>Ctrl + RIGHT</td> + <td>перемещение на одно слово вправо.</td> + </tr> + <tr> + <td>Shift + HOME</td> + <td>выбор от курсора до начала инструкции.</td> + </tr> + <tr> + <td>Shift + END</td> + <td>выбор от курсора до конца инструкции.</td> + </tr> + <tr> + <td>Double-click</td> + <td>выбор текущего слова.</td> + </tr> + </informaltable> + </refsection> + <refnamediv> + <refname>console cli</refname> + <refpurpose>сочетания клавиш в неграфическом режиме NW/NWNI</refpurpose> + </refnamediv> + <refsection> + <title>Описание</title> + <informaltable border="1"> + <tr> + <td>ВВЕРХ или Ctrl+P</td> + <td>повторный вызов предыдущей строки.</td> + </tr> + <tr> + <td>ВНИЗ или Ctrl+N</td> + <td>повторный вызов следующей строки.</td> + </tr> + <tr> + <td>TAB</td> + <td> + дополнение: Scilab отображает список всех имён, которые + начинаются с некоторых. + </td> + </tr> + <tr> + <td>Ctrl + A или HOME</td> + <td>перемещение в начало текущей строки.</td> + </tr> + <tr> + <td>Ctrl + B или ВЛЕВО</td> + <td>перемещает курсор на один символ влево.</td> + </tr> + <tr> + <td>Ctrl + D или DELETE</td> + <td>удаляет текущий символ.</td> + </tr> + <tr> + <td>Ctrl + E или END</td> + <td>перемещает курсор в конец командной строки.</td> + </tr> + <tr> + <td>Ctrl + F или RIGHT</td> + <td>перемещает курсор на один символ вправо.</td> + </tr> + <tr> + <td>Ctrl + H или BACKSPACE</td> + <td>удаляет предыдущий символ.</td> + </tr> + <tr> + <td>Ctrl + K</td> + <td>удаляет командную строку от курсора до конца.</td> + </tr> + <tr> + <td>Ctrl + U</td> + <td>удаляет командную строку от курсора до начала.</td> + </tr> + <tr> + <td>Ctrl + W</td> + <td>удаляет предыдущее слово от курсора.</td> + </tr> + <tr> + <td>Alt+B или Ctrl+ВЛЕВО</td> + <td>перемещение на одно слово влево.</td> + </tr> + <tr> + <td>Alt+F или Ctrl+ВПРАВО</td> + <td>перемещение на одно слово вправо.</td> + </tr> + </informaltable> + </refsection> +</refentry> + diff --git a/modules/console/help/ru_RU/lines.xml b/modules/console/help/ru_RU/lines.xml new file mode 100755 index 000000000..058e9d0c4 --- /dev/null +++ b/modules/console/help/ru_RU/lines.xml @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002 - INRIA + * Copyright (C) 2012 - DIGITEO - 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 + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="lines" xml:lang="ru"> + <info> + <pubdate>$LastChangedDate$</pubdate> + </info> + <refnamediv> + <refname>lines</refname> + <refpurpose>строки и столбцы, используемые для отображения</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Последовательность вызова</title> + <synopsis>lines(nl) + lines(nl, nc) + lines(ncl) + ncl = lines() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Аргументы</title> + <variablelist> + <varlistentry> + <term>nl</term> + <listitem> + <para> + Целое число, количество строк для управления разбивкой на страницы по вертикали. + </para> + <itemizedlist> + <listitem> + <para>Если 0: нет управления разбивкой на страницы по вертикали.</para> + </listitem> + <listitem> + <para>Если -1: сброс управления разбивкой на страницы по вертикали до текущего размера окна.</para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>nc</term> + <listitem> + <para> + Целое число, количество столбцов при выводе. Используется для форматирования вывода. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>ncl</term> + <listitem> + <para>вектор [nc, nl] размером 1 на 2.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Описание</title> + <para> + <literal>lines</literal> управляет отображением страниц в Scilab'е. + </para> + <para> + <literal>lines()</literal> возвращает вектор <literal>[количество столбцов, количество строк]</literal>, + который в настоящий момент используется Scilab'ом для отображения результатов. + </para> + <para> + <literal>lines(nl)</literal> устанавливает количество отображаемых строк + (прежде, чем пользователя не спросят о дальнейшем отображении) равным + <literal>nl</literal>. + </para> + <para> + <literal>lines(0)</literal> отключает разбивку на страницы по вертикали. + </para> + <para> + <literal>lines(nl,nc)</literal> и <literal>lines([nc,nl])</literal> + меняет также размер вывода до <literal>nc</literal> столбцов. + </para> + <para> + Если Scilab запущен без опции <literal>-nw</literal>, то параметры + <literal>lines</literal> автоматически устанавливаются в соответствии + с размером окна вывода, эти параметры также автоматически изменяются + при изменении размера окна. + </para> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="disp">disp</link> + </member> + <member> + <link linkend="print">print</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>История</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revdescription> + <itemizedlist> + <listitem> + lines по умолчанию установлена в 0. Добавлен Аргумент -1. + За более подробной информацией обращайтесь к SEP #67. + </listitem> + <listitem> + lines работает с вектором [nc, nl] размером 1 на 2 + в качестве входного аргумента. + </listitem> + </itemizedlist> + </revdescription> + </revision> + </revhistory> + </refsection> +</refentry> + diff --git a/modules/console/help/ru_RU/prompt.xml b/modules/console/help/ru_RU/prompt.xml new file mode 100755 index 000000000..aa866e856 --- /dev/null +++ b/modules/console/help/ru_RU/prompt.xml @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + --> +<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="prompt" xml:lang="ru"> + <refnamediv> + <refname>prompt</refname> + <refpurpose>получение/установка текущего приглашения командной строки</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Последовательность вызова</title> + <synopsis> + currentprompt = prompt() + [currentprompt,pauselevel] = prompt() + prompt(userprompt) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Аргументы</title> + <variablelist> + <varlistentry> + <term>currentprompt</term> + <listitem> + <para> + Строка: текущее приглашение командной строки, возвращённое + в виде символьной строки. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>pauselevel</term> + <listitem> + <para>Целое число: текущий уровень паузы.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>userprompt</term> + <listitem> + <para> + Строка: приглашение командной строки, которое будет + отображено для следующего пользовательского ввода. + Затем текущее приглашение командной строки будет использоваться + вновь. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Описание</title> + <para> + Инструкция <literal>currentprompt = prompt()</literal> получает текущее + приглашение командной строки. + </para> + <para> + Инструкция <literal>prompt(userprompt)</literal> устанавливает приглашение + командной строки. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +currentPrompt = prompt(); +disp(currentPrompt); // Вероятно "-->" + +[currentPrompt, pauseLevel] = prompt(); +disp(pauseLevel); // Вероятно 0 + +prompt(">>"); // Создать новое приглашение командной строки лишь для следующей команды + + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="pause">pause</link> + </member> + <member> + <link linkend="input">input</link> + </member> + </simplelist> + </refsection> +</refentry> + diff --git a/modules/console/help/ru_RU/tohome.xml b/modules/console/help/ru_RU/tohome.xml new file mode 100755 index 000000000..04e3f3624 --- /dev/null +++ b/modules/console/help/ru_RU/tohome.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<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" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="tohome"> + <refnamediv> + <refname>tohome</refname> + <refpurpose>перемещение курсора в верхний левый угол командного окна</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Последовательность вызова</title> + <synopsis>tohome()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Описание</title> + <para> + Команда <literal>tohome()</literal> перемещает курсор в верхний левый + угол командного окна и очищает экран. + </para> + <para> + Можете использовать ползунок для того, чтобы посмотреть + историю предыдущих функций. + </para> + <para> + <note> + Заметьте, что <literal>tohome()</literal> нельзя использовать на платформах + Windows, когда Scilab используется в неграфическом режиме. + </note> + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +rand(10,10) +tohome(); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="clc">clc</link> + </member> + </simplelist> + </refsection> +</refentry> + diff --git a/modules/console/includes/ConsolePrintf.h b/modules/console/includes/ConsolePrintf.h new file mode 100755 index 000000000..b42404e2f --- /dev/null +++ b/modules/console/includes/ConsolePrintf.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-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 + * + */ + +#ifndef __CONSOLEPRINTF_H__ +#define __CONSOLEPRINTF_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +/*--------------------------------------------------------------------------*/ +/** +* ConsolePrintf function +* @param a string to display +* @return total number of characters written is returned. +*/ +CONSOLE_IMPEXP int ConsolePrintf(char *line); +/*--------------------------------------------------------------------------*/ +#endif /* __CONSOLEPRINTF_H__ */ + diff --git a/modules/console/includes/GetCommandLine.h b/modules/console/includes/GetCommandLine.h new file mode 100755 index 000000000..f6e63dd56 --- /dev/null +++ b/modules/console/includes/GetCommandLine.h @@ -0,0 +1,36 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2009 - DIGITEO +* +* 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 +* +*/ + +#ifndef __GETCOMMANDLINE_H__ +#define __GETCOMMANDLINE_H__ +/*--------------------------------------------------------------------------*/ + +#include "dynlib_console.h" + +/** +* getConsoleInputLine function +* @return characters +*/ +CONSOLE_IMPEXP char *getConsoleInputLine(void); + +/** +* line editor +* @param buffer +* @param buffer size +* @param length line +* @param eof +*/ +CONSOLE_IMPEXP void C2F(eventloopprompt)(char *buffer, int *buf_size, int *len_line, int * eof); + +/*--------------------------------------------------------------------------*/ +#endif /* __GETCOMMANDLINE_H__ */ + diff --git a/modules/console/includes/InitializeConsole.h b/modules/console/includes/InitializeConsole.h new file mode 100755 index 000000000..8afbd6769 --- /dev/null +++ b/modules/console/includes/InitializeConsole.h @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +/*--------------------------------------------------------------------------*/ +#ifndef __INTIALIZECONSOLE_H__ +#define __INTIALIZECONSOLE_H__ + +#include "dynlib_console.h" +#include "BOOL.h" + +CONSOLE_IMPEXP BOOL InitializeConsole(void); + +#endif /* __INTIALIZECONSOLE_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/includes/autoCompletionCli.h b/modules/console/includes/autoCompletionCli.h new file mode 100755 index 000000000..e2f25c7a7 --- /dev/null +++ b/modules/console/includes/autoCompletionCli.h @@ -0,0 +1,25 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef AUTO_COMPLETION_CLI_H_ +#define AUTO_COMPLETION_CLI_H_ + +#define WK_BUF_SIZE 520 +#define GET_MAX(x,y) (x) > (y) ? (x) : (y) + +/** + * Manage auto completion in NW/NWNI console. + * @param pointer to Command line currently edited. + * @param Cursor position in command line. + */ +void autoCompletionInConsoleMode(wchar_t ** commandLine, unsigned int *cursorLocation); + +#endif /* !AUTO_COMPLETION_CLI_H_ */ diff --git a/modules/console/includes/charactersManagement.h b/modules/console/includes/charactersManagement.h new file mode 100755 index 000000000..4777a515f --- /dev/null +++ b/modules/console/includes/charactersManagement.h @@ -0,0 +1,65 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef CHAR_CTL_H_ +#define CHAR_CTL_H_ + +#include <wchar.h> + +/* + * Note: + * The command line must be a multiple of 1024. + * Then, each time the buffer size is reached, 1024 * sizeof(wchar_t) is added. + */ + +/** + * Add a character in the command line at the cursor position. + * @param current edited line. + * @param user input. + * @param cursor position in the string. + * @return user input. + */ +int addChar(wchar_t ** CommandLine, int key, unsigned int *cursorLocation); + +/** + * Remove a character in the command line at the cursor position if SCI_DELETE is passed as key. + * Remove a character in the command line at the cursor position if SCI_BACKSPACE is passed as key. + * @param current edited line. + * @param user input. + * @param cursor position in the string. + * @return user input. + */ +int rmChar(wchar_t * CommandLine, int key, unsigned int *cursorLocation); + +/** + * Delete all characters from the cursor position to the end of the line. + * @param current edited line. + * @param cursor position in the string. + * @return user input. + */ +int deleteFromCursToEndLine(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Delete all characters from the cursor position to the beginning of the line. + * @param current edited line. + * @param cursor position in the string. + * @return user input. + */ +int deleteFromCursToBeginningLine(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Delete previous word from cursor. + * @param command line. + * @param cursor location. + * @return user input. + */ +int deletePreviousWordFromCurs(wchar_t * CommandLine, unsigned int *cursorLocation); +#endif /* !CHAR_CTL_H_ */ diff --git a/modules/console/includes/cliDisplayManagement.h b/modules/console/includes/cliDisplayManagement.h new file mode 100755 index 000000000..25be0b697 --- /dev/null +++ b/modules/console/includes/cliDisplayManagement.h @@ -0,0 +1,74 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef SETCHARDISPLAY_H_ +#define SETCHARDISPLAY_H_ + +#include <stdlib.h> +#include "BOOL.h" + +/* + * Here you find some defines related to character display. + * To change character, the next string must be print : + * \033[#*m + * # correspond to the type of setting (bold, italic, etc...) + * If # is equal to 3 (foreground color) or 4 (background color), + * * correspond to the color you want to set. + * Those colors are defined in curses.h and must be used with + * setForegroundColor and setBackgroundColor. + */ + +/* Characteristic to use with setCharDisplay */ +#define DISP_DEFAULT "0" +#define DISP_BRIGHT "1" +#define DISP_FAINT "2" +#define DISP_ITALIC "3" +#define DISP_NEGATIVE "7" +#define DISP_LAST_SET NULL +#define DISP_RESET "0" + +#define SET_CONSOLE_FOREGROUND 3 +#define SET_CONSOLE_BACKGROUND 4 + +/** + * Set character display characteristic. + * @param Characteristic to set using previous define. + */ +void setCharDisplay(char *characteristic); + +/** + * Change Characters color using nCurses colors define. + * @param color define in (n)curses.h + */ +void setForegroundColor(int color); + +/** + * Change Background color using nCurses colors define. + * @param color define in (n)curses.h + */ +void setBackgroundColor(int color); + +/** + * Return the color mode for the CLI (true with color, false otherwise) + * + * @return TRUE if color should be printed + */ +BOOL getCLIColor(void); + +/** + * Enable or disable color in the term + * + * @param CLIColor True for color, False without + */ +void setCLIColor(BOOL CLIColor); + + +#endif /* SETCHARDISPLAY_H_ */ diff --git a/modules/console/includes/cliHistory.h b/modules/console/includes/cliHistory.h new file mode 100755 index 000000000..efac8a3fd --- /dev/null +++ b/modules/console/includes/cliHistory.h @@ -0,0 +1,33 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef HISTORY_H_ +#define HISTORY_H_ + +#include <wchar.h> + +/** + * Change current editing line to prev editing line + * @param list of all command lines. + * @param cursor location in the command line. + * @return user input + */ +int previousCmd(wchar_t ** cmd, unsigned int *cursorLocation); + +/** + * Change current editing line to next editing line + * @param list of all command lines. + * @param cursor location in the command line. + * @return user input + */ +int nextCmd(wchar_t ** cmd, unsigned int *cursorLocation); + +#endif /* !HISTORY_H_ */ diff --git a/modules/console/includes/cliPrompt.h b/modules/console/includes/cliPrompt.h new file mode 100755 index 000000000..a44ddf9c6 --- /dev/null +++ b/modules/console/includes/cliPrompt.h @@ -0,0 +1,39 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef AFF_PROMPT_H_ +#define AFF_PROMPT_H_ + +#include <wchar.h> + +/* Token to indicate printPrompt what to do */ + +/* Display the prompt */ +#define WRITE_PROMPT 1 +/* Don't display the prompt */ +#define NOWRITE_PROMPT -1 + +/** + * Save a prompt. + * @param prompt that will be saved + * or NULL if you don't want to saved any prompt + * @return last saved prompt + */ +wchar_t *setPrompt(wchar_t *); + +/** + * Get the current saved prompt. + * @param token to indicate if prompt must be displayed or not + * @return size of the prompt. + */ +int printPrompt(int); + +#endif /* !AFF_PROMPT_H_ */ diff --git a/modules/console/includes/dynlib_console.h b/modules/console/includes/dynlib_console.h new file mode 100755 index 000000000..045ad6919 --- /dev/null +++ b/modules/console/includes/dynlib_console.h @@ -0,0 +1,29 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2009 - 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 +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __DYNLIB_CONSOLE_H__ +#define __DYNLIB_CONSOLE_H__ + +#ifdef _MSC_VER +#ifdef CONSOLE_EXPORTS +#define CONSOLE_IMPEXP __declspec(dllexport) +#else +#define CONSOLE_IMPEXP __declspec(dllimport) +#endif +#else +#define CONSOLE_IMPEXP +#endif + +#endif /* __DYNLIB_CONSOLE_H__ */ +/*--------------------------------------------------------------------------*/ + diff --git a/modules/console/includes/getKey.h b/modules/console/includes/getKey.h new file mode 100755 index 000000000..e064e8066 --- /dev/null +++ b/modules/console/includes/getKey.h @@ -0,0 +1,44 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef GET_KEY_H_ +#define GET_KEY_H_ + +#define CHECK_TOKEN -1 +#define CONTINUE_COMMAND 0 +#define RESET_TOKEN 0 +#define SEND_COMMAND 1 +#define SEND_MULTI_COMMAND 2 +#define DO_NOT_SEND_COMMAND 3 + +/** + * Wait for user user input and Manage all the command line. + * Function is left when the user press enter. + * @return command line enter by the user. + */ +char *getCmdLine(void); + +/** + * Set a token to know what to do during command line edition. + * @param token to set. + * @return token saved. + */ +int setTokenInteruptExecution(int token); + +/** + * Get the token to know if the line must be edited. + * @return token saved. + */ +int getTokenInteruptExecution(); + +int getTokenInteruptExecution(void); + +#endif /* !GET_KEY_H_ */ diff --git a/modules/console/includes/getNbrLine.h b/modules/console/includes/getNbrLine.h new file mode 100755 index 000000000..447341fa0 --- /dev/null +++ b/modules/console/includes/getNbrLine.h @@ -0,0 +1,24 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef _GETNBRLINE_H +#define _GETNBRLINE_H + +#include <wchar.h> + +/** + * Get how may lines the string take in the window. + * @param string whose number of line will be counted + * @return number of line used by the string. + */ +int getNbrLine(wchar_t * str); + +#endif /* !_GETNBRLINE_H */ diff --git a/modules/console/includes/gotoFunctions.h b/modules/console/includes/gotoFunctions.h new file mode 100755 index 000000000..fc44dcc5d --- /dev/null +++ b/modules/console/includes/gotoFunctions.h @@ -0,0 +1,65 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef GOTO_FUNC_H_ +#define GOTO_FUNC_H_ + +#include <wchar.h> + +/** + * Move the cursor to the right. + * @param Current edited line + * @param cursor location in the command line. + * @return user Input + */ +int gotoRight(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Move the cursor to the left. + * @param Current edited line + * @param cursor location in the command line. + * @return user Input + */ +int gotoLeft(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Move the cursor to the end of the current edited line. + * @param Current edited line + * @param cursor location in the command line. + * @return user Input + */ +int endLine(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Move the cursor to the beginning of the current edited line. + * @param Current edited line + * @param cursor location in the command line. + * @return user Input + */ +int begLine(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Move cursor to the beginning of the next word or to the end of the string if none were found. + * @param current edited line + * @param cursor location in the command line. + * @return user Input + */ +int nextWord(wchar_t * CommandLine, unsigned int *cursorLocation); + +/** + * Move cursor to the beginning of the prev word or to the beginning of the string if none were found. + * @param current edited line + * @param cursor location in the command line. + * @return user Input + */ +int previousWord(wchar_t * CommandLine, unsigned int *cursorLocation); + +#endif /* !GOTO_FUNC_H_ */ diff --git a/modules/console/includes/gw_console.h b/modules/console/includes/gw_console.h new file mode 100755 index 000000000..2ae2d85dd --- /dev/null +++ b/modules/console/includes/gw_console.h @@ -0,0 +1,32 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2011 - DIGITEO - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __GW_CONSOLE_H__ +#define __GW_CONSOLE_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "api_scilab.h" +/*--------------------------------------------------------------------------*/ +CONSOLE_IMPEXP int gw_console(void); +/*--------------------------------------------------------------------------*/ +/* Declaration of all the profile function declared and */ +/* used in sci_gateway */ +CONSOLE_IMPEXP int sci_clc(char *fname, unsigned long fname_len); +CONSOLE_IMPEXP int sci_tohome(char *fname, unsigned long fname_len); +CONSOLE_IMPEXP int sci_lines(char *fname, unsigned long fname_len); +CONSOLE_IMPEXP int sci_prompt(char *fname, unsigned long fname_len); +CONSOLE_IMPEXP int sci_iswaitingforinput(char *fname, unsigned long fname_len); +/*--------------------------------------------------------------------------*/ +#endif /* __GW_CONSOLE_H__ */ + + diff --git a/modules/console/includes/initConsoleMode.h b/modules/console/includes/initConsoleMode.h new file mode 100755 index 000000000..b644e6cde --- /dev/null +++ b/modules/console/includes/initConsoleMode.h @@ -0,0 +1,40 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef INIT_TC_SHELL_H_ +#define INIT_TC_SHELL_H_ + +/* Indicate to setAttr and initConsoleMode what mode to set */ + +/* set Canonic mode */ +#define CANON 1 + +/* set Raw mode */ +#define RAW 0 + +/* set Shell mode */ +#define ATTR_RESET -1 + +/** + * Initialise the command line. Console mode and Termcaps + * @param Mode that will be set (Canonic or Raw) + * @return -1 in case of error, else 0. + */ +int initConsoleMode(int); + +/** + * Set only console mode. + * @param Mode that will be set (Canonic or Raw) + * @return -1 in case of error, else 0. + */ +int setAttr(int bin); + +#endif /* !INIT_TC_SHELL_H_ */ diff --git a/modules/console/includes/initMacOSXEnv.h b/modules/console/includes/initMacOSXEnv.h new file mode 100755 index 000000000..e0b5e02c9 --- /dev/null +++ b/modules/console/includes/initMacOSXEnv.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - DIGITEO - Sylvestre LEDRU + * + * 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 "realmain.h" + +/* + * Specific wrapper for mac os X which is going to call realmin in a specific + * thread. + * Takes the same args as realmain + * @param no_startup_flag_l + * @param initial_script the initial script given to Scilab + * @param initial_script_type Kind of script (file or code) + * @param memory + * @return 1 if OK or 0 if KO + */ + +int initMacOSXEnv(int no_startup_flag_l, char *initial_script, InitScriptType initial_script_type, int memory); diff --git a/modules/console/includes/more.h b/modules/console/includes/more.h new file mode 100755 index 000000000..7d29d4046 --- /dev/null +++ b/modules/console/includes/more.h @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __MORE_H__ +#define __MORE_H__ + +#include "dynlib_console.h" + +/** +* do a "more" +* @return 0 or 1 +*/ +CONSOLE_IMPEXP int linesmore(void); + +#endif /* __MORE_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/includes/prompt.h b/modules/console/includes/prompt.h new file mode 100755 index 000000000..a01477e3d --- /dev/null +++ b/modules/console/includes/prompt.h @@ -0,0 +1,55 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Sylvestre LEDRU + * + * 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 + * + */ + +#ifndef _PROMPT_H_ +#define _PROMPT_H_ +/* Define prompts of Scilab */ + +#include "machine.h" /* C2F */ +#include "dynlib_console.h" + +#ifdef SCIPROMPT +#undef SCIPROMPT +#endif +#define SCIPROMPT "-->" + +/* Define prompt with wide char string */ +#ifdef WSCIPROMPT +#undef WSCIPROMPT +#endif +#define WSCIPROMPT L"~~>" + +#ifdef SCIPROMPT_PAUSE +#undef SCIPROMPT_PAUSE +#endif +#define SCIPROMPT_PAUSE ">>" + +#ifdef SCIPROMPT_INTERRUPT +#undef SCIPROMPT_INTERRUPT +#endif +#define SCIPROMPT_INTERRUPT "-%d->" + +#define PROMPT_SIZE_MAX 64 + +/*--------------------------------------------------------------------------*/ +CONSOLE_IMPEXP void C2F(setprlev) (int *pause); + +CONSOLE_IMPEXP void GetCurrentPrompt(char *CurrentPrompt); + +CONSOLE_IMPEXP void SetTemporaryPrompt(char *tempPrompt); + +CONSOLE_IMPEXP char *GetTemporaryPrompt(void); + +CONSOLE_IMPEXP void ClearTemporaryPrompt(void); + +/*--------------------------------------------------------------------------*/ +#endif /* _PROMPT_H_ */ diff --git a/modules/console/includes/scilines.h b/modules/console/includes/scilines.h new file mode 100755 index 000000000..807b8a42c --- /dev/null +++ b/modules/console/includes/scilines.h @@ -0,0 +1,75 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __SCILINES_H__ +#define __SCILINES_H__ + +#include "machine.h" /* C2F */ +#include "BOOL.h" +#include "dynlib_console.h" + +/** +* set number of lines and columns to display data +* @param[in] number of lines +* @param[in] number of columns +* @return 0 +*/ +CONSOLE_IMPEXP int scilines(int nl, int nc); + +/** +* set default number of lines and columns to display data +* @return 0 +*/ +CONSOLE_IMPEXP int scilinesdefault(void); + +/** +* set number of lines and columns to display data (C2F version) +* @param[in] number of lines +* @param[in] number of columns +* @return 0 +*/ +CONSOLE_IMPEXP int C2F(scilines)(int *nl, int *nc); + +/** +* set default number of lines and columns to display data (C2F version) +* @return 0 +*/ +CONSOLE_IMPEXP int C2F(scilinesdefault)(void); + +/** +* set number of columns to display data +* @param new size of columns +* @return TRUE or FALSE +*/ +CONSOLE_IMPEXP BOOL setColumnsSize(int colums); + +/** +* set number of lines to display data +* @param new size of lines +* @return TRUE or FALSE +*/ +CONSOLE_IMPEXP BOOL setLinesSize(int lines_); + +/** +* get number of columns to display data +* @return numbers of columns +*/ +CONSOLE_IMPEXP int getColumnsSize(void); + +/** +* get number of lines to display data +* @return numbers of lines +*/ +CONSOLE_IMPEXP int getLinesSize(void); + +#endif /* __SCILINES_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/includes/termcapManagement.h b/modules/console/includes/termcapManagement.h new file mode 100755 index 000000000..5f4f92665 --- /dev/null +++ b/modules/console/includes/termcapManagement.h @@ -0,0 +1,58 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +#ifndef CAP_FUNC_H_ +#define CAP_FUNC_H_ + +/* TODO: Check if it is really portable */ + +/* Token used to differenciate DEL key from Backspace key for rmChar */ + +/* When backspace is pressed */ +#define SCI_BACKSPACE 0x7f +/* when delete is pressed */ +#define SCI_DELETE 0X1b5b337e + +/* Value returned by getchar/getwchar by pressing ctrl + key */ +#define CTRL_A 0x01 +#define CTRL_B 0x02 +#define CTRL_D 0x04 +#define CTRL_E 0x05 +#define CTRL_F 0x06 +#define CTRL_H 0x08 +#define CTRL_I 0x09 +#define CTRL_K 0x0B +#define CTRL_L 0x0C +#define CTRL_M 0x0D +#define CTRL_N 0x0E +#define CTRL_P 0x10 +#define CTRL_U 0x15 +#define CTRL_W 0x17 + +/* Define for meta key (alt + key or escape) */ +#define ESCAPE 0x1b + +/** + * Turn a capacity on, Useful to simplify termcap use. + * TODO: please rename for something more explicit (startTermcap ?) + * @param capacity to activate. + */ +void setStringCapacities(const char *str); + +/** + * Move cursor using termcap, Useful to simplify termcap use. + * Note: Can be consider as x,y coordinates. + * @param column where cursor will move + * @param line where cursor will move + */ +void capGoto(int col, int li); + +#endif /* !CAP_FUNC_H_ */ diff --git a/modules/console/jar/org.scilab.modules.console.jar b/modules/console/jar/org.scilab.modules.console.jar Binary files differnew file mode 100755 index 000000000..28e7710b8 --- /dev/null +++ b/modules/console/jar/org.scilab.modules.console.jar diff --git a/modules/console/libsciconsole-minimal.la b/modules/console/libsciconsole-minimal.la new file mode 100755 index 000000000..9ab42fa6b --- /dev/null +++ b/modules/console/libsciconsole-minimal.la @@ -0,0 +1,41 @@ +# libsciconsole-minimal.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libsciconsole-minimal.so.5' + +# Names of this library. +library_names='libsciconsole-minimal.so.5.5.2 libsciconsole-minimal.so.5 libsciconsole-minimal.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libsciconsole-minimal. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/console/libsciconsole.la b/modules/console/libsciconsole.la new file mode 100755 index 000000000..6598a3430 --- /dev/null +++ b/modules/console/libsciconsole.la @@ -0,0 +1,42 @@ +# libsciconsole.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libsciconsole.so.5' + +# Names of this library. +library_names='libsciconsole.so.5.5.2 libsciconsole.so.5 libsciconsole.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' /home/shashank/scilab-master_5.5.2/modules/console/libsciconsole-minimal.la -lpthread -ldl -lcurses' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libsciconsole. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' +relink_command="(cd /home/shashank/scilab-master_5.5.2/modules/console; /bin/bash /home/shashank/scilab-master_5.5.2/libtool --tag CXX --mode=relink g++ -DNDEBUG -fno-stack-protector -g -O2 -version-number 5:5:2 -Wl,--no-as-needed -o libsciconsole.la -rpath /usr/local/lib/scilab src/jni/libsciconsole_la-GuiManagement_wrap.lo src/jni/libsciconsole_la-DropFiles_wrap.lo src/c/libsciconsole_la-GuiManagement.lo src/c/libsciconsole_la-dropFiles.lo src/jni/libsciconsole_la-CallScilabBridge.lo src/cpp/libsciconsole_la-ClearConsole.lo src/cpp/libsciconsole_la-ClearConsolePart.lo src/cpp/libsciconsole_la-ConsolePrintf.lo src/cpp/libsciconsole_la-ConsoleRead.lo src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo src/cpp/libsciconsole_la-GetCharWithoutOutput.lo src/cpp/libsciconsole_la-PromptToHome.lo src/cpp/libsciconsole_la-ScilabLinesUpdate.lo src/cpp/libsciconsole_la-SetConsolePrompt.lo sci_gateway/c/libsciconsole_la-gw_console.lo sci_gateway/c/libsciconsole_la-sci_clc.lo sci_gateway/c/libsciconsole_la-sci_tohome.lo sci_gateway/c/libsciconsole_la-sci_lines.lo sci_gateway/c/libsciconsole_la-sci_prompt.lo sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo libsciconsole-minimal.la -lpthread -ldl -lcurses -lm @inst_prefix_dir@)" diff --git a/modules/console/license.txt b/modules/console/license.txt new file mode 100755 index 000000000..ceaa946a2 --- /dev/null +++ b/modules/console/license.txt @@ -0,0 +1,11 @@ +Copyright: +Copyright (c) 2008 - DIGITEO +Copyright (c) 1989-2008 - INRIA + +License: +This module must be used under the terms of the CeCILL. +This module 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 + diff --git a/modules/console/locales/ca_ES.po b/modules/console/locales/ca_ES.po new file mode 100755 index 000000000..073ab1ccd --- /dev/null +++ b/modules/console/locales/ca_ES.po @@ -0,0 +1,802 @@ +# Catalan translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2009-02-12 11:37+0000\n" +"Last-Translator: oriolsbd <oriolsbd@yahoo.es>\n" +"Language-Team: Catalan <ca@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ca\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "Fitxer o directori" + +msgid "Scilab Fields" +msgstr "" + +msgid "Scilab Function" +msgstr "Funció de Scilab" + +msgid "Scilab Command" +msgstr "Comanda de Scilab" + +msgid "Scilab Macro" +msgstr "Macro de Scilab" + +msgid "Scilab Variable" +msgstr "Variable de Scilab" + +msgid "Graphics handle field" +msgstr "Camp de tractament de gràfics" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" + +msgid "Field" +msgstr "" + +msgid "No help" +msgstr "Sense ajuda" + +msgid "Out of Screen" +msgstr "Fora de la pantalla" + +msgid "Could not change the Console Font." +msgstr "No s'ha pogut canviar el tipus de lletra de la consola." + +msgid "Could not change the Console Foreground." +msgstr "No s'ha pogut canviar el color en primer pla de la consola." diff --git a/modules/console/locales/console.pot b/modules/console/locales/console.pot new file mode 100755 index 000000000..117d18933 --- /dev/null +++ b/modules/console/locales/console.pot @@ -0,0 +1,1367 @@ +# Localization of the module console +# Please see in SCI/tools/localization for localization management +# Copyright (C) 2007-2008 - INRIA +# Copyright (C) 2008-2011 - DIGITEO +# Copyright (C) 2012-2014 - Scilab-Enterprises +# This file is distributed under the same license as the Scilab package. +# +msgid "" +msgstr "" +"Project-Id-Version: Scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n" +"Language-Team: Scilab Localization <localization@lists.scilab.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Revision-Date: 2015-03-27 13:54+0100\n" + +# File: sci_gateway/c/sci_clc.c, line: 41 +# File: sci_gateway/c/sci_lines.c, line: 206 +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_clc.c, line: 47 +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_clc.c, line: 60 +# File: sci_gateway/c/sci_tohome.c, line: 29 +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_iswaitingforinput.c, line: 38 +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 67 +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 92 +# File: sci_gateway/c/sci_lines.c, line: 118 +# File: sci_gateway/c/sci_lines.c, line: 136 +# File: sci_gateway/c/sci_lines.c, line: 174 +# File: sci_gateway/c/sci_lines.c, line: 189 +# File: sci_gateway/c/sci_lines.c, line: 232 +# File: sci_gateway/c/sci_lines.c, line: 240 +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 99 +# File: sci_gateway/c/sci_lines.c, line: 247 +# File: sci_gateway/c/sci_lines.c, line: 253 +# File: sci_gateway/c/sci_lines.c, line: 273 +# File: sci_gateway/c/sci_lines.c, line: 290 +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 107 +# File: sci_gateway/c/sci_lines.c, line: 259 +# File: sci_gateway/c/sci_lines.c, line: 265 +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 130 +# File: sci_gateway/c/sci_lines.c, line: 199 +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_lines.c, line: 153 +# File: sci_gateway/c/sci_lines.c, line: 316 +# File: sci_gateway/c/sci_lines.c, line: 331 +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_prompt.c, line: 61 +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_prompt.c, line: 69 +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_prompt.c, line: 80 +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 184 +msgid "Console" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 200 +msgid "Display" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 212 +msgid "Automatically adapt the display to the console" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 217 +msgid "Lines to display:" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 232 +msgid "Columns to display:" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 246 +msgid "Number of lines in console scroll buffer:" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 265 +msgid "General" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 268 +msgid "Produces an error" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 269 +msgid "Produces a warning" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 270 +msgid "Produces Inf or NaN" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 271 +msgid "Variable format" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 272 +msgid "Scientific format" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 275 +msgid "English" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 276 +msgid "French" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 277 +msgid "Portugese (Brazil)" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 278 +msgid "Catalan" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 279 +msgid "Czech" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 280 +msgid "Spanish" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 281 +msgid "Italian" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 282 +msgid "Polish" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 283 +msgid "Russian" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 284 +msgid "Chinese (Simplified)" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 285 +msgid "Chinese (Traditional)" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 286 +msgid "German" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 287 +msgid "Japanese" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 288 +msgid "Ukrainian" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 291 +# File: scilab_fake_localization_file.c, line: 639 +msgid "Start-up directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 293 +# File: scilab_fake_localization_file.c, line: 679 +msgid "Confirmation dialogs" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 296 +msgid "Warn before exiting Scilab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 297 +msgid "Warn before deleting Command History items" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 298 +msgid "Warn before clearing the Console" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 302 +msgid "Desktop layout" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 305 +msgid "Integrated" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 306 +msgid "Simple" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 310 +msgid "Shortcuts" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 314 +msgid "Cut or interrupt" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 315 +msgid "Copy or interrupt" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 316 +# File: scilab_fake_localization_file.c, line: 385 +# File: scilab_fake_localization_file.c, line: 464 +msgid "Select all" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 317 +msgid "Line beginning" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 318 +msgid "Line end" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 319 +msgid "Previous char" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 320 +msgid "Delete next char" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 321 +msgid "Delete previous char" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 322 +msgid "Delete end of line" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 323 +# File: scilab_fake_localization_file.c, line: 324 +msgid "Delete whole line" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 325 +msgid "Delete last word" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 326 +msgid "Previous console page" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 327 +msgid "Next console page" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 328 +msgid "Validate input" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 329 +msgid "Clear console" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 330 +msgid "Console box" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 331 +# File: scilab_fake_localization_file.c, line: 332 +msgid "Completion" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 333 +# File: scilab_fake_localization_file.c, line: 335 +msgid "Previous history line" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 334 +# File: scilab_fake_localization_file.c, line: 336 +msgid "Next history line" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 337 +msgid "Help Browser" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 338 +# File: scilab_fake_localization_file.c, line: 339 +msgid "Console Search Field" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 340 +# File: scilab_fake_localization_file.c, line: 391 +# File: scilab_fake_localization_file.c, line: 462 +msgid "Paste" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 341 +msgid "Open a file" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 342 +msgid "Load environment" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 343 +msgid "Save environment" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 344 +msgid "Quit" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 345 +msgid "Execute" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 346 +msgid "Empty clipboard" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 347 +msgid "Change current directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 348 +msgid "Display current directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 349 +# File: scilab_fake_localization_file.c, line: 438 +msgid "Page setup" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 350 +# File: scilab_fake_localization_file.c, line: 405 +# File: scilab_fake_localization_file.c, line: 454 +msgid "Print" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 351 +msgid "Preferences" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 352 +msgid "Show/Hide toolbar" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 353 +msgid "Clear history" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 354 +msgid "Resume" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 355 +msgid "Abort" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 356 +msgid "Interrupt" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 357 +msgid "Launch SciNotes" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 358 +msgid "Launch Xcos" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 359 +msgid "Matlab to Scilab Translator" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 360 +msgid "Module manager" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 361 +msgid "Variable Browser" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 362 +msgid "Command History" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 363 +msgid "File Browser" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 364 +msgid "Demonstrations" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 365 +msgid "Open Scilab website" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 366 +msgid "Open Online Help" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 367 +msgid "Open Scilab wiki" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 368 +msgid "Open ATOMS website" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 369 +msgid "Open File Exchange website" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 370 +msgid "Open Mailing lists" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 371 +msgid "Open Forge website" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 372 +msgid "Open Bugzilla" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 373 +msgid "About Scilab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 376 +msgid "Auto complete (, [,..." +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 377 +msgid "Auto complete keyword" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 378 +msgid "Generate Help prototype" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 379 +msgid "Tabify" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 380 +msgid "Untabify" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 381 +msgid "Indent" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 382 +msgid "Comment" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 383 +msgid "Uncomment" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 384 +msgid "Remove trailing whites" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 386 +msgid "Select block" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 387 +msgid "Open current tab in a new window" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 388 +msgid "Export current tab in a new window" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 389 +# File: scilab_fake_localization_file.c, line: 461 +msgid "Copy" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 390 +# File: scilab_fake_localization_file.c, line: 460 +msgid "Cut" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 392 +msgid "Paste a column" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 393 +msgid "Repeat selection on column" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 394 +# File: scilab_fake_localization_file.c, line: 458 +msgid "Undo" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 395 +# File: scilab_fake_localization_file.c, line: 459 +msgid "Redo" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 396 +msgid "Copy as HTML with line number" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 397 +msgid "New" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 398 +# File: scilab_fake_localization_file.c, line: 449 +msgid "Open" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 399 +msgid "Open URL" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 400 +msgid "Open source" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 401 +# File: scilab_fake_localization_file.c, line: 451 +# File: scilab_fake_localization_file.c, line: 511 +msgid "Save" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 402 +# File: scilab_fake_localization_file.c, line: 452 +msgid "Save as" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 403 +msgid "Reload" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 404 +msgid "Print preview" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 406 +# File: scilab_fake_localization_file.c, line: 455 +msgid "Close" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 407 +msgid "Exit" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 408 +msgid "To lower case" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 409 +msgid "To upper case" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 410 +msgid "Capitalize" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 411 +msgid "Help on keyword" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 412 +msgid "Load in Scilab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 413 +msgid "Execute in Scilab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 414 +msgid "Evaluate selection" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 415 +msgid "Save and execute" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 416 +msgid "Save and execute all" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 417 +msgid "Find" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 418 +msgid "Find next" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 419 +msgid "Find previous" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 420 +msgid "Incremental search" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 421 +msgid "Set anchor" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 422 +msgid "Remove anchor" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 423 +msgid "Go to next anchor" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 424 +msgid "Go to previous anchor" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 425 +msgid "Start Code Navigator" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 426 +msgid "Search word in file" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 427 +msgid "Search files" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 428 +msgid "Keyword completion" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 429 +msgid "Help" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 430 +msgid "About" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 431 +msgid "Next tab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 432 +msgid "Previous tab" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 433 +# File: scilab_fake_localization_file.c, line: 463 +msgid "Delete" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 434 +msgid "Next paragraph" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 435 +msgid "Previous paragraph" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 436 +msgid "Save all" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 437 +msgid "Overwrite" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 439 +msgid "Close all" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 440 +msgid "Close all but this" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 441 +msgid "Convert quote to double quote" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 442 +msgid "Line numbering" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 443 +msgid "Set the SciNotes font" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 444 +msgid "Set the SciNotes colors" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 448 +msgid "New diagram" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 450 +msgid "Open file in Scilab current directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 453 +msgid "Export" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 456 +msgid "Quit Xcos" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 465 +msgid "Invert selection" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 466 +msgid "Block Parameters" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 467 +msgid "Region to superblock" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 469 +msgid "Zoom In" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 470 +msgid "Zoom Out" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 471 +msgid "Fit diagram to view" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 472 +msgid "Normal 100%" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 473 +msgid "Palette browser" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 474 +msgid "Diagram browser" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 475 +msgid "Viewport" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 476 +msgid "Details" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 478 +msgid "Setup" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 479 +msgid "Execution trace and Debug" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 480 +msgid "Set Context" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 481 +msgid "Compile" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 482 +msgid "Start" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 483 +msgid "Stop" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 485 +msgid "Rotate" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 486 +msgid "Flip" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 487 +msgid "Mirror" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 488 +msgid "Show/Hide shadow" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 489 +msgid "Left" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 490 +msgid "Center" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 491 +msgid "Right" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 492 +msgid "Top" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 493 +msgid "Middle" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 494 +msgid "Bottom" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 495 +msgid "Border Color" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 496 +msgid "Fill Color" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 497 +msgid "Horizontal" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 498 +msgid "Straight" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 499 +msgid "Vertical" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 500 +msgid "Diagram background" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 501 +msgid "Grid" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 503 +msgid "Code generation" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 505 +msgid "Xcos Help" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 506 +msgid "Block Help" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 507 +msgid "Xcos Demonstrations" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 508 +msgid "About Xcos" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 514 +msgid "Save variable" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 517 +msgid "Save history" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 520 +msgid "Save file" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 537 +msgid "Environment" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 539 +msgid "Floating point exception (ieee): " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 555 +msgid "Printing format: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 569 +msgid "Width: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 590 +msgid "Language setting" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 592 +msgid "Default language: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 607 +# File: scilab_fake_localization_file.c, line: 631 +msgid "(This requires a restart of Scilab)" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 617 +msgid "Java Heap Memory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 619 +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 641 +msgid "Use current working directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 647 +msgid "Use previous working directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 653 +msgid "Use default directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 662 +msgid "Default startup directory" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 699 +msgid "Desktop Layout" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 701 +msgid "Select a layout" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 715 +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 727 +msgid "Save layout on exiting" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 732 +msgid "Reset layout" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 742 +msgid "Keys binding" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 745 +msgid "Filter on action name: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 755 +msgid "Component" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 767 +msgid "Name: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 773 +msgid "Description: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 779 +msgid "Binding: " +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 811 +msgid "Action name" +msgstr "" + +# +# File: scilab_fake_localization_file.c, line: 812 +msgid "Key binding" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 225 +# File: src/c/windows/TermCompletion.c, line: 60 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 60 +msgid "File or Directory" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 494 +# File: src/c/windows/TermCompletion.c, line: 195 +msgid "Scilab Fields" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 528 +# File: src/c/windows/TermCompletion.c, line: 223 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 74 +msgid "Scilab Function" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 529 +# File: src/c/windows/TermCompletion.c, line: 224 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 71 +msgid "Scilab Command" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 530 +# File: src/c/windows/TermCompletion.c, line: 225 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 80 +msgid "Scilab Macro" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 531 +# File: src/c/windows/TermCompletion.c, line: 226 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 83 +msgid "Scilab Variable" +msgstr "" + +# +# File: src/c/cmdLine/autoCompletionCli.c, line: 533 +# File: src/c/windows/TermCompletion.c, line: 227 +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 77 +msgid "Graphics handle field" +msgstr "" + +# +# File: src/c/cmdLine/getKey.c, line: 370 +# File: src/java/org/scilab/modules/console/SciConsole.java, line: 560 +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +# +# File: src/c/more.c, line: 25 +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" + +# +# File: src/c/prompt.c, line: 43 +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 68 +msgid "Field" +msgstr "" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 115 +msgid "No help" +msgstr "" + +# +# File: src/java/org/scilab/modules/console/SciConsole.java, line: 443 +msgid "Out of Screen" +msgstr "" + +# +# File: src/java/org/scilab/modules/console/SciConsole.java, line: 648 +msgid "Could not change the Console Font." +msgstr "" + +# +# File: src/java/org/scilab/modules/console/SciConsole.java, line: 711 +msgid "Could not change the Console Foreground." +msgstr "" diff --git a/modules/console/locales/cs_CZ.po b/modules/console/locales/cs_CZ.po new file mode 100755 index 000000000..bd4afc6fb --- /dev/null +++ b/modules/console/locales/cs_CZ.po @@ -0,0 +1,807 @@ +# Czech translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2013-09-24 11:58+0000\n" +"Last-Translator: Zbyněk Schwarz <Unknown>\n" +"Language-Team: Czech <cs@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Špatná hodnota vstupního argumentu #%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Tato funkce nebyla zavedena.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: Tato funkce nebyla v tomto režimu zavedena.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: V tomto režimu není zavedeno.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Chyba při přidělování paměti.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Nelze přečíst vstupní argument #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván skalár.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Špatná velikost vstupního argumentu #%d: Očekáván skalár.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: Špatná hodnota vstupního argumentu #%d: Očekávána hodnota celého čísla.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Špatná hodnota vstupního argumentu #%d: Očekáván skalár (>= 0).\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván řetězec.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s: Špatná velikost vstupního argumentu #%d: Očekáván řetězec.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Špatný počet výstupních argumentů.\n" + +msgid "Console" +msgstr "Konzole" + +msgid "Display" +msgstr "Zobrazení" + +msgid "Automatically adapt the display to the console" +msgstr "Automaticky přizpůsobit zobrazení konzoli" + +msgid "Lines to display:" +msgstr "Řádky k zobrazení:" + +msgid "Columns to display:" +msgstr "Sloupce k zobrazení:" + +msgid "Number of lines in console scroll buffer:" +msgstr "Počet řádků ve vyrovnávací paměti posunu v konzoli:" + +msgid "General" +msgstr "Obecné" + +msgid "Produces an error" +msgstr "Vytváří chybu" + +msgid "Produces a warning" +msgstr "Vytváří varování" + +msgid "Produces Inf or NaN" +msgstr "Vytváří nekonečno nebo NaN" + +msgid "Variable format" +msgstr "Proměnný formát" + +msgid "Scientific format" +msgstr "Vědecký formát" + +msgid "English" +msgstr "Angličtina" + +msgid "French" +msgstr "Franzouzština" + +msgid "Portugese (Brazil)" +msgstr "Portugalština (brazilská)" + +msgid "Catalan" +msgstr "Katalánština" + +msgid "Czech" +msgstr "Čeština" + +msgid "Spanish" +msgstr "Španělština" + +msgid "Italian" +msgstr "Italština" + +msgid "Polish" +msgstr "Polština" + +msgid "Russian" +msgstr "Ruština" + +msgid "Chinese (Simplified)" +msgstr "Čínština (zjednodušená)" + +msgid "Chinese (Traditional)" +msgstr "Čínština (tradiční))" + +msgid "German" +msgstr "Němčina" + +msgid "Japanese" +msgstr "Japonština" + +msgid "Ukrainian" +msgstr "Ukrajinština" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "Dialogová okna potvrzení" + +msgid "Warn before exiting Scilab" +msgstr "Varovat před ukončením Scilab" + +msgid "Warn before deleting Command History items" +msgstr "Varovat před vymazáním položek historie příkazů" + +msgid "Warn before clearing the Console" +msgstr "Varovat před vyčištěním konzole" + +msgid "Desktop layout" +msgstr "Rozložení plochy" + +msgid "Integrated" +msgstr "Začleněné" + +msgid "Simple" +msgstr "Jednoduché" + +msgid "Shortcuts" +msgstr "Zkratky" + +msgid "Cut or interrupt" +msgstr "Vyjmout nebo přerušit" + +msgid "Copy or interrupt" +msgstr "Kopírovat nebo přerušit" + +msgid "Select all" +msgstr "Vybrat vše" + +msgid "Line beginning" +msgstr "Začátek řádku" + +msgid "Line end" +msgstr "Konec řádku" + +msgid "Previous char" +msgstr "Předchozí znak" + +msgid "Delete next char" +msgstr "Smazat další znak" + +msgid "Delete previous char" +msgstr "Smazat předchozí znak" + +msgid "Delete end of line" +msgstr "Smazat konec řádku" + +msgid "Delete whole line" +msgstr "Smazat celý řádek" + +msgid "Delete last word" +msgstr "Smazat poslední slovo" + +msgid "Previous console page" +msgstr "Předchozí stránka konzole" + +msgid "Next console page" +msgstr "Další stránka konzole" + +msgid "Validate input" +msgstr "Ověřit vstup" + +msgid "Clear console" +msgstr "Vyčistit konzoli" + +msgid "Console box" +msgstr "Rámeček konzole" + +msgid "Completion" +msgstr "Dokončení" + +msgid "Previous history line" +msgstr "Předchozí řádek historie" + +msgid "Next history line" +msgstr "Další řádek historie" + +msgid "Help Browser" +msgstr "Průzkumník nápovědy" + +msgid "Console Search Field" +msgstr "Pole konzole pro vyhledávání" + +msgid "Paste" +msgstr "Vložit" + +msgid "Open a file" +msgstr "Otevřít soubor" + +msgid "Load environment" +msgstr "Nahrát prostředí" + +msgid "Save environment" +msgstr "Uložit prostředí" + +msgid "Quit" +msgstr "Ukončit" + +msgid "Execute" +msgstr "Spustit" + +msgid "Empty clipboard" +msgstr "Vyčistit schránku" + +msgid "Change current directory" +msgstr "Změnit současný adresář" + +msgid "Display current directory" +msgstr "Zobrazit současný adresář" + +msgid "Page setup" +msgstr "Nastavení stránky" + +msgid "Print" +msgstr "Tisk" + +msgid "Preferences" +msgstr "Nastaveni" + +msgid "Show/Hide toolbar" +msgstr "Zobrrazit/Skrýt panel nástrojů" + +msgid "Clear history" +msgstr "Vyčistit historii" + +msgid "Resume" +msgstr "Pokračovat" + +msgid "Abort" +msgstr "Ukončit" + +msgid "Interrupt" +msgstr "Přerušit" + +msgid "Launch SciNotes" +msgstr "Spustit SciNotes" + +msgid "Launch Xcos" +msgstr "Spustit Xcos" + +msgid "Matlab to Scilab Translator" +msgstr "Převaděč Matlab na Scilab" + +msgid "Module manager" +msgstr "Správce modulů" + +msgid "Variable Browser" +msgstr "Prohlížeč proměnných" + +msgid "Command History" +msgstr "Historie příkazů" + +msgid "File Browser" +msgstr "Průzkumník souborů" + +msgid "Demonstrations" +msgstr "Ukázky" + +msgid "Open Scilab website" +msgstr "Otevřít stránku Scilab" + +msgid "Open Online Help" +msgstr "Otevřít nápoědu online" + +msgid "Open Scilab wiki" +msgstr "Otevřít wiki Scilab" + +msgid "Open ATOMS website" +msgstr "Otevřít stránku ATOMS" + +msgid "Open File Exchange website" +msgstr "Otevřít stránku výměny souborů" + +msgid "Open Mailing lists" +msgstr "Otevřít poštovní konference" + +msgid "Open Forge website" +msgstr "Otevřít stránku Forge" + +msgid "Open Bugzilla" +msgstr "Otevřít Bugzilla" + +msgid "About Scilab" +msgstr "O Scilab" + +msgid "Auto complete (, [,..." +msgstr "Automatické dokončení (, [,..." + +msgid "Auto complete keyword" +msgstr "Automatické dokončení klíčového slova" + +msgid "Generate Help prototype" +msgstr "Vytvořit prototyp nápovědy" + +msgid "Tabify" +msgstr "Tabulovat" + +msgid "Untabify" +msgstr "Odtabulovat" + +msgid "Indent" +msgstr "Odsadit" + +msgid "Comment" +msgstr "Okomenovat" + +msgid "Uncomment" +msgstr "Odkomentovat" + +msgid "Remove trailing whites" +msgstr "Odstranit konečné mezery" + +msgid "Select block" +msgstr "Vybrat blok" + +msgid "Open current tab in a new window" +msgstr "Otevřít současnou kartu v novém okně" + +msgid "Export current tab in a new window" +msgstr "Exportovat současnou kartu do nového okna" + +msgid "Copy" +msgstr "Kopírovat" + +msgid "Cut" +msgstr "Vyjmout" + +msgid "Paste a column" +msgstr "Vložit sloupec" + +msgid "Repeat selection on column" +msgstr "Opakovat výběr ve sloupci" + +msgid "Undo" +msgstr "Zpět" + +msgid "Redo" +msgstr "Znovu" + +msgid "Copy as HTML with line number" +msgstr "Kopírovat jako HTML s čísly řádků" + +msgid "New" +msgstr "Nový" + +msgid "Open" +msgstr "Otevřít" + +msgid "Open URL" +msgstr "Otevřít URL" + +msgid "Open source" +msgstr "Otevřený software" + +msgid "Save" +msgstr "Uložit" + +msgid "Save as" +msgstr "Uložit jako" + +msgid "Reload" +msgstr "Obnovit" + +msgid "Print preview" +msgstr "Náhled tisku" + +msgid "Close" +msgstr "Zavřít" + +msgid "Exit" +msgstr "Ukončit" + +msgid "To lower case" +msgstr "Na malá písmena" + +msgid "To upper case" +msgstr "Na velká písmena" + +msgid "Capitalize" +msgstr "Kapitálky" + +msgid "Help on keyword" +msgstr "Nápověda pro klíčové slovo" + +msgid "Load in Scilab" +msgstr "Načíst v Scilab" + +msgid "Execute in Scilab" +msgstr "Spustit v Scilab" + +msgid "Evaluate selection" +msgstr "Vyhodnotit výběr" + +msgid "Save and execute" +msgstr "Uložit a spustit" + +msgid "Save and execute all" +msgstr "Uložit a spustit vše" + +msgid "Find" +msgstr "Najít" + +msgid "Find next" +msgstr "Najít další" + +msgid "Find previous" +msgstr "Najít předchozí" + +msgid "Incremental search" +msgstr "Přírůstkové hledání" + +msgid "Set anchor" +msgstr "Nastavit kotvu" + +msgid "Remove anchor" +msgstr "Odstranit kotvu" + +msgid "Go to next anchor" +msgstr "Přejít na další kotvu" + +msgid "Go to previous anchor" +msgstr "Přejit na předchozí kotvu" + +msgid "Start Code Navigator" +msgstr "Spustit prohlížeče kódu" + +msgid "Search word in file" +msgstr "Hledat slovo v souboru" + +msgid "Search files" +msgstr "Hledat soubory" + +msgid "Keyword completion" +msgstr "Dokončení klíčových slov" + +msgid "Help" +msgstr "Nápověda" + +msgid "About" +msgstr "O aplikaci" + +msgid "Next tab" +msgstr "Další karta" + +msgid "Previous tab" +msgstr "Předchozí karta" + +msgid "Delete" +msgstr "Smazat" + +msgid "Next paragraph" +msgstr "Další odstavec" + +msgid "Previous paragraph" +msgstr "Předchozí odstavec" + +msgid "Save all" +msgstr "Uložit vše" + +msgid "Overwrite" +msgstr "Přepsat" + +msgid "Close all" +msgstr "Zavřít vše" + +msgid "Close all but this" +msgstr "Zavřít vše kromě tohoto" + +msgid "Convert quote to double quote" +msgstr "Převést uvozovky na dvojité" + +msgid "Line numbering" +msgstr "Číslování řádků" + +msgid "Set the SciNotes font" +msgstr "Nastavit písmo SciNotes" + +msgid "Set the SciNotes colors" +msgstr "Nastavit barvy SciNotes" + +msgid "New diagram" +msgstr "Nový graf" + +msgid "Open file in Scilab current directory" +msgstr "Otevřít soubor v současném adresáři Scilab" + +msgid "Export" +msgstr "Exportovat" + +msgid "Quit Xcos" +msgstr "Ukončit Xcos" + +msgid "Invert selection" +msgstr "Obrátit výběr" + +msgid "Block Parameters" +msgstr "Parametry bloku" + +msgid "Region to superblock" +msgstr "Oblast do superbloku" + +msgid "Zoom In" +msgstr "Přiblížit" + +msgid "Zoom Out" +msgstr "Oddálit" + +msgid "Fit diagram to view" +msgstr "Přizpůsobit graf pro zobrazení" + +msgid "Normal 100%" +msgstr "Normální 100%" + +msgid "Palette browser" +msgstr "Průzkumník palet" + +msgid "Diagram browser" +msgstr "Prohlížeč grafu" + +msgid "Viewport" +msgstr "Výřez" + +msgid "Details" +msgstr "Podrobnosti" + +msgid "Setup" +msgstr "Nastavení" + +msgid "Execution trace and Debug" +msgstr "Trasování spuštění a Ladění" + +msgid "Set Context" +msgstr "Nastavit kontext" + +msgid "Compile" +msgstr "Kompilovat" + +msgid "Start" +msgstr "Spustit" + +msgid "Stop" +msgstr "Zastavit" + +msgid "Rotate" +msgstr "Otočit" + +msgid "Flip" +msgstr "Překlopit" + +msgid "Mirror" +msgstr "Zrcadlit" + +msgid "Show/Hide shadow" +msgstr "Zobrazit/Skrýt stín" + +msgid "Left" +msgstr "Vlevo" + +msgid "Center" +msgstr "Střed" + +msgid "Right" +msgstr "Vpravo" + +msgid "Top" +msgstr "Zeshora" + +msgid "Middle" +msgstr "Nastřed" + +msgid "Bottom" +msgstr "Zezdola" + +msgid "Border Color" +msgstr "Barva okraje" + +msgid "Fill Color" +msgstr "Barva výplně" + +msgid "Horizontal" +msgstr "Vodorovně" + +msgid "Straight" +msgstr "Přímé" + +msgid "Vertical" +msgstr "Svisle" + +msgid "Diagram background" +msgstr "Pozadí grafu" + +msgid "Grid" +msgstr "Mřížka" + +msgid "Code generation" +msgstr "Vytváření kódu" + +msgid "Xcos Help" +msgstr "Nápověda Xcos" + +msgid "Block Help" +msgstr "Nápověda bloku" + +msgid "Xcos Demonstrations" +msgstr "Ukázky Xcos" + +msgid "About Xcos" +msgstr "O Xcos" + +msgid "Save variable" +msgstr "Uložit proměnnou" + +msgid "Save history" +msgstr "Uložit historii" + +msgid "Save file" +msgstr "Uložit soubor" + +msgid "Environment" +msgstr "Prostředí" + +msgid "Floating point exception (ieee): " +msgstr "Výjimka čísel s plovoucí čárkou (ieee): " + +msgid "Printing format: " +msgstr "Formát tisku: " + +msgid "Width: " +msgstr "Šířka: " + +msgid "Language setting" +msgstr "Nastavení jazyka" + +msgid "Default language: " +msgstr "Výchozí jazyk: " + +msgid "(This requires a restart of Scilab)" +msgstr "(Toto vyžaduje restart Scilabu)" + +msgid "Java Heap Memory" +msgstr "Haldová paměť Java" + +msgid "Select the memory (in MB) available in Java: " +msgstr "Vyberte paměť (v MB) dostupnou pro Java: " + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "Rozložení plochy" + +msgid "Select a layout" +msgstr "Zvolit rozložení" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "(Změna rozvržení vyžaduje retart)" + +msgid "Save layout on exiting" +msgstr "Při ukončení uložit rozvržení" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "Přidělení kláves" + +msgid "Filter on action name: " +msgstr "Filtr v názech činností: " + +msgid "Component" +msgstr "Díl" + +msgid "Name: " +msgstr "Název: " + +msgid "Description: " +msgstr "Popis: " + +msgid "Binding: " +msgstr "Přidělení: " + +msgid "Action name" +msgstr "Název činnosti" + +msgid "Key binding" +msgstr "Přidělení klávesy" + +msgid "File or Directory" +msgstr "Soubor nebo Adresář" + +msgid "Scilab Fields" +msgstr "Pole Scilab" + +msgid "Scilab Function" +msgstr "Funkce Scilabu" + +msgid "Scilab Command" +msgstr "Příkaz Scilabu" + +msgid "Scilab Macro" +msgstr "Makro Scilabu" + +msgid "Scilab Variable" +msgstr "Proměnná Scilabu" + +msgid "Graphics handle field" +msgstr "Grafické ovládací pole" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" +"Příkaz je příliš dlouhý (více než %d znaků): nelze ho odeslat do Scilab\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Pokračovat v zobrazení? n (ne) pro zastavení, jiné klávesy pro pokračování]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Zadejte '%s' nebo '%s' pro návrat do standardní úrovně výzvy.\n" +"\n" + +msgid "Field" +msgstr "Pole" + +msgid "No help" +msgstr "Žádná nápověda" + +msgid "Out of Screen" +msgstr "Mimo obrazovku" + +msgid "Could not change the Console Font." +msgstr "Nebylo možné změnit písmo konzole." + +msgid "Could not change the Console Foreground." +msgstr "Nebylo možné změnit popředí konzole." diff --git a/modules/console/locales/de_DE.po b/modules/console/locales/de_DE.po new file mode 100755 index 000000000..27cb4588d --- /dev/null +++ b/modules/console/locales/de_DE.po @@ -0,0 +1,815 @@ +# German translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2013-06-16 19:02+0000\n" +"Last-Translator: Petersen <Unknown>\n" +"Language-Team: German <de@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: de\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Falscher Wert für Eingangsargument #%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: diese Funktion wurde nicht implementiert.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "" +"%s: diese Funktionalität wurde in diesem Modus nicht implementiert.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: in diesem Modus nicht implementiert.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Speicherreservierungsfehler.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Eingangsargument #%d kann nicht gelesen werden.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "%s: Falscher Typ für Eingangsargument #%d: Skalar erwartet.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Falsche Größe des Eingangsarguments #%d: Skalar wird erwartet.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: Falscher Wert des Eingangsarguments #%d: Ein Integer-Wert wird " +"erwartet.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Falscher Wert für Eingangsargument #%d: Ein Skalar (>= 0) wird " +"erwartet.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: Falscher Typ für Eingangsargument #%d: Eine Zeichenkette wird erwartet.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: Falsche Größe des Eingangsarguments #%d: Eine Zeichenkette wird " +"erwartet.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: falscher Anzahl von Ausgangsargument(en).\n" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "Wechsle aktuelles Verzeichnis" + +msgid "Display current directory" +msgstr "Aktuelles Verzeichnis anzeigen" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "Modul-Manager" + +msgid "Variable Browser" +msgstr "Variablen-Browser" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "Datei-Browser" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "Über Scilab" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "Öffne Datei im aktuellen Scilab Verzeichnis" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "Datei oder Verzeichnis" + +msgid "Scilab Fields" +msgstr "Scilab-Felder" + +msgid "Scilab Function" +msgstr "Scilab Funktion" + +msgid "Scilab Command" +msgstr "Scilab Befehl" + +msgid "Scilab Macro" +msgstr "Scilab Macro" + +msgid "Scilab Variable" +msgstr "Scilab Variable" + +msgid "Graphics handle field" +msgstr "Feld für Graphen" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Mit der Anzeige fortfahren? n (Nein) zum Beenden, andere Taste, um " +"fortzufahren]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Geben Sie »%s« oder »%s« ein, um zur Standard-Eingabeaufforderung " +"zurückzukehren.\n" +"\n" + +msgid "Field" +msgstr "Feld" + +msgid "No help" +msgstr "Keine Hilfe" + +msgid "Out of Screen" +msgstr "Ausserhalb des Bildschirms" + +msgid "Could not change the Console Font." +msgstr "Kann den Konsolenzeichensatz nicht ändern." + +msgid "Could not change the Console Foreground." +msgstr "Kann den Konsolenvordergrund nicht ändern." diff --git a/modules/console/locales/es_ES.po b/modules/console/locales/es_ES.po new file mode 100755 index 000000000..60f7b8b97 --- /dev/null +++ b/modules/console/locales/es_ES.po @@ -0,0 +1,813 @@ +# Spanish translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-02-01 22:27+0000\n" +"Last-Translator: Adrian Pardini <Unknown>\n" +"Language-Team: Spanish <es@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: es\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Valor incorrecto del argumento de entrada #%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Esta función aun no a sido implementada.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: Esta función no ha sido implementada para este modo.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: No implementada en este modo.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Error de asignación de memoria.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: No se puede leer el argumento de entrada #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un escalar.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tamaño incorrecto de argumento de entrada #%d: Se esperaba un escalar.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: Valor incorrecto para el argumento de entrada #%d: Se esperaba un " +"entero.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Valor incorrecto para el argumento de entrada #%d: Se esperaba un " +"escalar mayor o igual a 0.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un string.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: Tamaño incorrecto de argumento de entrada #%d: Se esperaba un string.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Numero incorrecto de argumento(s) de salida.\n" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "Archivo o Directorio" + +msgid "Scilab Fields" +msgstr "Campos de Scilab" + +msgid "Scilab Function" +msgstr "Función de Scilab" + +msgid "Scilab Command" +msgstr "Comando de Scilab" + +msgid "Scilab Macro" +msgstr "Macro de Scilab" + +msgid "Scilab Variable" +msgstr "Variable de Scilab" + +msgid "Graphics handle field" +msgstr "Campo del manejador gráfico" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Seguir mostrando? n (no) para parar, cualquier otra tecla para continuar]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Escriba '%s' o '%s' para volver al nivel de consola estándar.\n" +"\n" + +msgid "Field" +msgstr "Campo" + +msgid "No help" +msgstr "Sin ayuda" + +msgid "Out of Screen" +msgstr "Fuera de la Pantalla" + +msgid "Could not change the Console Font." +msgstr "No se pudo cambiar la tipografía de consola." + +msgid "Could not change the Console Foreground." +msgstr "No se ha podido cambiar el primer plano de la consola." diff --git a/modules/console/locales/fr_FR.po b/modules/console/locales/fr_FR.po new file mode 100755 index 000000000..71cb3e2fa --- /dev/null +++ b/modules/console/locales/fr_FR.po @@ -0,0 +1,819 @@ +# French translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-10-03 03:01+0000\n" +"Last-Translator: Scilab.team <Unknown>\n" +"Language-Team: French <fr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: fr\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s : Valeur erronée de l'argument d'entrée n°%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s : Cette fonction n'a pas été implémentée.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s : Cette fonctionnalité n'a pas été implémentée dans ce mode.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s : Non implémenté dans ce mode.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s : Erreur d'allocation mémoire.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s : Impossible de lire l'argument d'entrée n°%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Un scalaire attendu.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Un scalaire attendu.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s : Valeur erronée de l'argument d'entrée n°%d : Une valeur entière " +"attendue.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s : Valeur erronée de l'argument d'entrée n°%d : Un scalaire (>= 0) " +"attendu.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères " +"attendue.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Une chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s : Nombre erroné d'argument(s) de sortie.\n" + +msgid "Console" +msgstr "Console" + +msgid "Display" +msgstr "Affichage" + +msgid "Automatically adapt the display to the console" +msgstr "Adapter automatiquement l'affichage à la taille de la console" + +msgid "Lines to display:" +msgstr "Lignes à afficher :" + +msgid "Columns to display:" +msgstr "Colonnes à afficher :" + +msgid "Number of lines in console scroll buffer:" +msgstr "Nombre de lignes dans la mémoire tampon de la console :" + +msgid "General" +msgstr "Général" + +msgid "Produces an error" +msgstr "Produit une erreur" + +msgid "Produces a warning" +msgstr "Produit un avertissement" + +msgid "Produces Inf or NaN" +msgstr "Produit Inf ou NaN" + +msgid "Variable format" +msgstr "Format variable" + +msgid "Scientific format" +msgstr "Format scientifique" + +msgid "English" +msgstr "Anglais" + +msgid "French" +msgstr "Français" + +msgid "Portugese (Brazil)" +msgstr "Portugais du Brésil" + +msgid "Catalan" +msgstr "Catalan" + +msgid "Czech" +msgstr "Tchèque" + +msgid "Spanish" +msgstr "Espagnol" + +msgid "Italian" +msgstr "Italien" + +msgid "Polish" +msgstr "Polonais" + +msgid "Russian" +msgstr "Russe" + +msgid "Chinese (Simplified)" +msgstr "Chinois (Simplifié)" + +msgid "Chinese (Traditional)" +msgstr "Chinois (Traditionnel)" + +msgid "German" +msgstr "Allemand" + +msgid "Japanese" +msgstr "Japonais" + +msgid "Ukrainian" +msgstr "Ukrainien" + +msgid "Start-up directory" +msgstr "Répertoire de démarrage" + +msgid "Confirmation dialogs" +msgstr "Messages de confirmation" + +msgid "Warn before exiting Scilab" +msgstr "Avertissement avant de quitter Scilab" + +msgid "Warn before deleting Command History items" +msgstr "Avertissement avant d'effacer des commandes dans l'historique" + +msgid "Warn before clearing the Console" +msgstr "Avertissement avant d'effacer la console" + +msgid "Desktop layout" +msgstr "Disposition du bureau" + +msgid "Integrated" +msgstr "Intégrée" + +msgid "Simple" +msgstr "Simple" + +msgid "Shortcuts" +msgstr "Raccourcis clavier" + +msgid "Cut or interrupt" +msgstr "Couper ou interrompre" + +msgid "Copy or interrupt" +msgstr "Copier ou interrompre" + +msgid "Select all" +msgstr "Tout sélectionner" + +msgid "Line beginning" +msgstr "Début de ligne" + +msgid "Line end" +msgstr "Fin de ligne" + +msgid "Previous char" +msgstr "Caractère précédent" + +msgid "Delete next char" +msgstr "Supprimer le caractère suivant" + +msgid "Delete previous char" +msgstr "Supprimer le caractère précédent" + +msgid "Delete end of line" +msgstr "Supprimer la fin de la ligne" + +msgid "Delete whole line" +msgstr "Supprimer la ligne entière" + +msgid "Delete last word" +msgstr "Supprimer le dernier mot" + +msgid "Previous console page" +msgstr "Page précédente" + +msgid "Next console page" +msgstr "Page suivante" + +msgid "Validate input" +msgstr "Valider l'entrée" + +msgid "Clear console" +msgstr "Effacer la console" + +msgid "Console box" +msgstr "Invite de commandes" + +msgid "Completion" +msgstr "Complétion" + +msgid "Previous history line" +msgstr "Ligne précédente dans l'historique" + +msgid "Next history line" +msgstr "Ligne suivante dans l'historique" + +msgid "Help Browser" +msgstr "Navigateur d'aide" + +msgid "Console Search Field" +msgstr "Champs de recherche de la console" + +msgid "Paste" +msgstr "Coller" + +msgid "Open a file" +msgstr "Ouvrir un fichier" + +msgid "Load environment" +msgstr "Charger l'environnement" + +msgid "Save environment" +msgstr "Sauvegarder l'environnement" + +msgid "Quit" +msgstr "Quitter" + +msgid "Execute" +msgstr "Exécuter" + +msgid "Empty clipboard" +msgstr "Vider le presse-papiers" + +msgid "Change current directory" +msgstr "Changer le répertoire courant" + +msgid "Display current directory" +msgstr "Afficher le répertoire courant" + +msgid "Page setup" +msgstr "Configuration de la page" + +msgid "Print" +msgstr "Imprimer" + +msgid "Preferences" +msgstr "Préférences" + +msgid "Show/Hide toolbar" +msgstr "Afficher/Masquer la barre d'outils" + +msgid "Clear history" +msgstr "Effacer l'historique" + +msgid "Resume" +msgstr "Reprendre" + +msgid "Abort" +msgstr "Abandon" + +msgid "Interrupt" +msgstr "Interrompt" + +msgid "Launch SciNotes" +msgstr "Démarrer SciNotes" + +msgid "Launch Xcos" +msgstr "Démarrer Xcos" + +msgid "Matlab to Scilab Translator" +msgstr "Traducteur Matlab vers Scilab" + +msgid "Module manager" +msgstr "Gestionnaire de modules" + +msgid "Variable Browser" +msgstr "Navigateur de variables" + +msgid "Command History" +msgstr "Historique des commandes" + +msgid "File Browser" +msgstr "Navigateur de fichiers" + +msgid "Demonstrations" +msgstr "Démonstrations" + +msgid "Open Scilab website" +msgstr "Lien vers le site web de Scilab" + +msgid "Open Online Help" +msgstr "Lien vers l'aide en ligne de Scilab" + +msgid "Open Scilab wiki" +msgstr "Lien vers le wiki de Scilab" + +msgid "Open ATOMS website" +msgstr "Lien vers le site web d'ATOMS" + +msgid "Open File Exchange website" +msgstr "Lien vers le File Exchange" + +msgid "Open Mailing lists" +msgstr "Lien vers les archives des listes de diffusion" + +msgid "Open Forge website" +msgstr "Lien vers la forge" + +msgid "Open Bugzilla" +msgstr "Lien vers Bugzilla" + +msgid "About Scilab" +msgstr "À propos de Scilab" + +msgid "Auto complete (, [,..." +msgstr "Complétion automatique (, [,..." + +msgid "Auto complete keyword" +msgstr "Complétion automatique sur les mots-clés" + +msgid "Generate Help prototype" +msgstr "Générer le prototype d'aide" + +msgid "Tabify" +msgstr "Conversion d'espaces en tabulations" + +msgid "Untabify" +msgstr "Supprimer la tabulation" + +msgid "Indent" +msgstr "Indentation" + +msgid "Comment" +msgstr "Commentaire" + +msgid "Uncomment" +msgstr "Décommenter" + +msgid "Remove trailing whites" +msgstr "Supprimer les blancs de fin de lignes" + +msgid "Select block" +msgstr "Sélectionner le bloc" + +msgid "Open current tab in a new window" +msgstr "Ouvrir l'onglet courant dans une nouvelle fenêtre" + +msgid "Export current tab in a new window" +msgstr "Exporter l'onglet courant vers une nouvelle fenêtre" + +msgid "Copy" +msgstr "Copier" + +msgid "Cut" +msgstr "Couper" + +msgid "Paste a column" +msgstr "Coller une colonne" + +msgid "Repeat selection on column" +msgstr "Répéter la sélection sur la colonne" + +msgid "Undo" +msgstr "Annuler" + +msgid "Redo" +msgstr "Rétablir" + +msgid "Copy as HTML with line number" +msgstr "Copier en HTML avec les numéros de ligne" + +msgid "New" +msgstr "Nouveau" + +msgid "Open" +msgstr "Ouvrir" + +msgid "Open URL" +msgstr "Ouvrir une URL" + +msgid "Open source" +msgstr "Ouvrir la source" + +msgid "Save" +msgstr "Enregistrer" + +msgid "Save as" +msgstr "Enregistrer sous" + +msgid "Reload" +msgstr "Recharger" + +msgid "Print preview" +msgstr "Aperçu avant impression" + +msgid "Close" +msgstr "Fermer" + +msgid "Exit" +msgstr "Quitter" + +msgid "To lower case" +msgstr "Passer en minuscules" + +msgid "To upper case" +msgstr "Passer en majuscules" + +msgid "Capitalize" +msgstr "Mettre en majuscules" + +msgid "Help on keyword" +msgstr "Aide sur le mot-clé" + +msgid "Load in Scilab" +msgstr "Charger dans Scilab" + +msgid "Execute in Scilab" +msgstr "Exécuter dans Scilab" + +msgid "Evaluate selection" +msgstr "Évaluer la sélection" + +msgid "Save and execute" +msgstr "Enregistrer et exécuter" + +msgid "Save and execute all" +msgstr "Enregistrer et exécuter tout" + +msgid "Find" +msgstr "Chercher" + +msgid "Find next" +msgstr "Rechercher le suivant" + +msgid "Find previous" +msgstr "Rechercher le précédent" + +msgid "Incremental search" +msgstr "Recherche incrémentale" + +msgid "Set anchor" +msgstr "Ajouter une ancre" + +msgid "Remove anchor" +msgstr "Supprimer l'ancre" + +msgid "Go to next anchor" +msgstr "Ancre suivante" + +msgid "Go to previous anchor" +msgstr "Ancre précédente" + +msgid "Start Code Navigator" +msgstr "Lancer le navigateur de code" + +msgid "Search word in file" +msgstr "Rechercher un mot dans un fichier" + +msgid "Search files" +msgstr "Recherche fichiers" + +msgid "Keyword completion" +msgstr "Complétion sur les mots-clés" + +msgid "Help" +msgstr "Aide" + +msgid "About" +msgstr "À propos" + +msgid "Next tab" +msgstr "Onglet suivant" + +msgid "Previous tab" +msgstr "Onglet précédent" + +msgid "Delete" +msgstr "Supprimer" + +msgid "Next paragraph" +msgstr "Paragraphe suivant" + +msgid "Previous paragraph" +msgstr "Paragraphe précédent" + +msgid "Save all" +msgstr "Tout enregistrer" + +msgid "Overwrite" +msgstr "Écraser" + +msgid "Close all" +msgstr "Tout fermer" + +msgid "Close all but this" +msgstr "Fermer tous sauf celui-ci" + +msgid "Convert quote to double quote" +msgstr "Convertir les simples guillemets en double" + +msgid "Line numbering" +msgstr "Numérotation de lignes" + +msgid "Set the SciNotes font" +msgstr "Configurer la police de caractères de SciNotes" + +msgid "Set the SciNotes colors" +msgstr "Configurer les couleurs de SciNotes" + +msgid "New diagram" +msgstr "Nouveau diagramme" + +msgid "Open file in Scilab current directory" +msgstr "Ouvrir le fichier dans le répertoire courant de Scilab" + +msgid "Export" +msgstr "Exporter" + +msgid "Quit Xcos" +msgstr "Quitter Xcos" + +msgid "Invert selection" +msgstr "Inverser la sélection" + +msgid "Block Parameters" +msgstr "Paramètres du bloc" + +msgid "Region to superblock" +msgstr "Zone vers SuperBloc" + +msgid "Zoom In" +msgstr "Zoom avant" + +msgid "Zoom Out" +msgstr "Zoom arrière" + +msgid "Fit diagram to view" +msgstr "Ajuster le diagramme à la vue" + +msgid "Normal 100%" +msgstr "Normal 100%" + +msgid "Palette browser" +msgstr "Navigateur de palettes" + +msgid "Diagram browser" +msgstr "Navigateur de diagrammes" + +msgid "Viewport" +msgstr "Aperçu" + +msgid "Details" +msgstr "Détails" + +msgid "Setup" +msgstr "Configurer" + +msgid "Execution trace and Debug" +msgstr "Trace d'exécution et débogage" + +msgid "Set Context" +msgstr "Modifier le contexte" + +msgid "Compile" +msgstr "Compiler" + +msgid "Start" +msgstr "Démarrer" + +msgid "Stop" +msgstr "Arrêter" + +msgid "Rotate" +msgstr "Pivoter" + +msgid "Flip" +msgstr "Retourner" + +msgid "Mirror" +msgstr "Miroir" + +msgid "Show/Hide shadow" +msgstr "Afficher/Masquer l'ombre" + +msgid "Left" +msgstr "À gauche" + +msgid "Center" +msgstr "Au centre" + +msgid "Right" +msgstr "À droite" + +msgid "Top" +msgstr "En haut" + +msgid "Middle" +msgstr "Au milieu" + +msgid "Bottom" +msgstr "En bas" + +msgid "Border Color" +msgstr "Couleur du cadre" + +msgid "Fill Color" +msgstr "Couleur de fond" + +msgid "Horizontal" +msgstr "Horizontal" + +msgid "Straight" +msgstr "Droit" + +msgid "Vertical" +msgstr "Vertical" + +msgid "Diagram background" +msgstr "Fond du diagramme" + +msgid "Grid" +msgstr "Grille" + +msgid "Code generation" +msgstr "Génération de code" + +msgid "Xcos Help" +msgstr "Aide de Xcos" + +msgid "Block Help" +msgstr "Aide du bloc" + +msgid "Xcos Demonstrations" +msgstr "Démonstrations Xcos" + +msgid "About Xcos" +msgstr "À propos de Xcos" + +msgid "Save variable" +msgstr "Enregistrer la variable" + +msgid "Save history" +msgstr "Enregistrer l'historique" + +msgid "Save file" +msgstr "Enregistrer le fichier" + +msgid "Environment" +msgstr "Environnement" + +msgid "Floating point exception (ieee): " +msgstr "Exception en virgule flottante (ieee) : " + +msgid "Printing format: " +msgstr "Format d'impression : " + +msgid "Width: " +msgstr "Largeur : " + +msgid "Language setting" +msgstr "Paramètres de la langue" + +msgid "Default language: " +msgstr "Langue par défaut : " + +msgid "(This requires a restart of Scilab)" +msgstr "(Cela nécessite de redémarrer Scilab)" + +msgid "Java Heap Memory" +msgstr "Mémoire du tas Java (heap memory)" + +msgid "Select the memory (in MB) available in Java: " +msgstr "Sélectionner la mémoire (en MB) disponible pour le Java : " + +msgid "Use current working directory" +msgstr "Utiliser le répertoire de travail actuel" + +msgid "Use previous working directory" +msgstr "Utiliser le répertoire de travail précédent" + +msgid "Use default directory" +msgstr "Utiliser le répertoire par défaut" + +msgid "Default startup directory" +msgstr "Répertoire de démarrage par défaut" + +msgid "Desktop Layout" +msgstr "Agencement du bureau" + +msgid "Select a layout" +msgstr "Sélectionner un agencement" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" +"(Modifier la disposition des fenêtres nécessite de redémarrer Scilab)" + +msgid "Save layout on exiting" +msgstr "Enregistrer la disposition en quittant" + +msgid "Reset layout" +msgstr "Réinitialiser la disposition" + +msgid "Keys binding" +msgstr "Combinaison de touches" + +msgid "Filter on action name: " +msgstr "Filtrer sur le nom de l'action : " + +msgid "Component" +msgstr "Composant" + +msgid "Name: " +msgstr "Nom : " + +msgid "Description: " +msgstr "Description : " + +msgid "Binding: " +msgstr "Combinaison : " + +msgid "Action name" +msgstr "Nom de l'action" + +msgid "Key binding" +msgstr "Combinaison de touches" + +msgid "File or Directory" +msgstr "Fichier ou répertoire" + +msgid "Scilab Fields" +msgstr "Champs Scilab" + +msgid "Scilab Function" +msgstr "Fonction Scilab" + +msgid "Scilab Command" +msgstr "Commande Scilab" + +msgid "Scilab Macro" +msgstr "Macro Scilab" + +msgid "Scilab Variable" +msgstr "Variable Scilab" + +msgid "Graphics handle field" +msgstr "Champ d'un handle graphique" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" +"La commande est trop longue (plus de %d caractères de long) : Impossible de " +"l'envoyer à Scilab.\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Continuer à afficher ? n (no) pour arrêter, toute autre touche pour " +"continuer]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Saisissez '%s' ou '%s' pour revenir au niveau de prompt standard.\n" +"\n" + +msgid "Field" +msgstr "Champ" + +msgid "No help" +msgstr "Pas d'aide" + +msgid "Out of Screen" +msgstr "Plus de place sur l'écran" + +msgid "Could not change the Console Font." +msgstr "Impossible de changer la police de la console." + +msgid "Could not change the Console Foreground." +msgstr "Impossible de changer la couleur de fond de la console." diff --git a/modules/console/locales/it_IT.po b/modules/console/locales/it_IT.po new file mode 100755 index 000000000..8a320bae8 --- /dev/null +++ b/modules/console/locales/it_IT.po @@ -0,0 +1,819 @@ +# Italian translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-02-15 20:16+0000\n" +"Last-Translator: Carml <mighty.carml@gmail.com>\n" +"Language-Team: Italian <it@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: it\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: L'argomento in ingresso #%d ha un valore sbagliato.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Questa caratteristica non è stata sviluppata.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "" +"%s: Questa caratteristica non è stata sviluppata in questa modalità.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: Non è sviluppata in questa modalità.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso uno " +"scalare.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era atteso uno " +"scalare.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso uno " +"scalare (>=0).\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Il numero degli argomenti in uscita è sbagliato.\n" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "Formato di stampa " + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "Impostazioni lingua" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "Questo richiede un riavvio di Scilab" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "Modificare l'aspetto richiede il riavvio di Scilab" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "File o Directory" + +msgid "Scilab Fields" +msgstr "Campi di Scilab" + +msgid "Scilab Function" +msgstr "Funzione di Scilab" + +msgid "Scilab Command" +msgstr "Comando di Scilab" + +msgid "Scilab Macro" +msgstr "Macro di Scilab" + +msgid "Scilab Variable" +msgstr "Variabile di Scilab" + +msgid "Graphics handle field" +msgstr "Campo handle dei grafici" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" +"Il comando è troppo lungo (oltre %d caratteri): impossibile inviarlo a " +"Scialab\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Continuare a mostrare? n (no) per fermare, qualsiasi altro tasto per " +"continuare]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Digitare \"%s\" o \"%s\" per tornare al prompt di livello standard.\n" +"\n" + +msgid "Field" +msgstr "Campo" + +msgid "No help" +msgstr "Nessun aiuto" + +msgid "Out of Screen" +msgstr "Fuori dei limiti dello schermo" + +msgid "Could not change the Console Font." +msgstr "Non è stato possibile cambiare il carattere del terminale." + +msgid "Could not change the Console Foreground." +msgstr "Non è stato possibile cambiare l'aspetto del terminale." diff --git a/modules/console/locales/ja_JP.po b/modules/console/locales/ja_JP.po new file mode 100755 index 000000000..d464d7ed2 --- /dev/null +++ b/modules/console/locales/ja_JP.po @@ -0,0 +1,817 @@ +# Japanese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-30 13:27+0000\n" +"Last-Translator: Rui Hirokawa <Unknown>\n" +"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"X-Poedit-Country: Japan\n" +"Language: ja\n" +"X-Poedit-Language: Japanese\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: 入力引数 #%d の値が間違っています.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: この機能は実装されていません.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: この機能はこのモードでは実装されていません.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: このモードでは実装されていません.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: メモリ割当エラー.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: 入力引数 #%d を読み込めません.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "%s: 入力引数 #%d の型が間違っています: スカラーを指定してください.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: 入力引数 #%d の大きさが間違っています: スカラーを指定してください.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "%s: 入力引数 #%dの値が間違っています: 整数値を指定してください.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "%s: 入力引数 #%d の値が間違っています : スカラー (>= 0) を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: 入力引数 #%d の型が間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s: 入力引数 #%d の大きさが間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: 出力引数の数が間違っています.\n" + +msgid "Console" +msgstr "コンソール" + +msgid "Display" +msgstr "表示" + +msgid "Automatically adapt the display to the console" +msgstr "表示をコンソールに自動的に合わせる" + +msgid "Lines to display:" +msgstr "表示する行;" + +msgid "Columns to display:" +msgstr "表示する列;" + +msgid "Number of lines in console scroll buffer:" +msgstr "コンソールスクロールバッファの行数;" + +msgid "General" +msgstr "一般" + +msgid "Produces an error" +msgstr "エラーを発生" + +msgid "Produces a warning" +msgstr "警告を出力" + +msgid "Produces Inf or NaN" +msgstr "InfまたはNaNを出力" + +msgid "Variable format" +msgstr "可変フォーマット" + +msgid "Scientific format" +msgstr "科学方式" + +msgid "English" +msgstr "英語" + +msgid "French" +msgstr "フランス語" + +msgid "Portugese (Brazil)" +msgstr "ポルトガル語 (ブラジル)" + +msgid "Catalan" +msgstr "カタルーニャ語" + +msgid "Czech" +msgstr "チェコ語" + +msgid "Spanish" +msgstr "スペイン語" + +msgid "Italian" +msgstr "イタリア語" + +msgid "Polish" +msgstr "ポーランド語" + +msgid "Russian" +msgstr "ロシア語" + +msgid "Chinese (Simplified)" +msgstr "中国語 (簡体字)" + +msgid "Chinese (Traditional)" +msgstr "中国語 (繁体字)" + +msgid "German" +msgstr "ドイツ語" + +msgid "Japanese" +msgstr "日本語" + +msgid "Ukrainian" +msgstr "ウクライナ語" + +msgid "Start-up directory" +msgstr "起動用ディレクトリ" + +msgid "Confirmation dialogs" +msgstr "確認用ダイアログ" + +msgid "Warn before exiting Scilab" +msgstr "Scilabを終了する前に警告" + +msgid "Warn before deleting Command History items" +msgstr "コマンド履歴アイテムを削除する前に警告" + +msgid "Warn before clearing the Console" +msgstr "コンソールをクリアする前に警告" + +msgid "Desktop layout" +msgstr "デスクトップレイアウト" + +msgid "Integrated" +msgstr "合成" + +msgid "Simple" +msgstr "シンプル" + +msgid "Shortcuts" +msgstr "ショートカット" + +msgid "Cut or interrupt" +msgstr "中断または割込" + +msgid "Copy or interrupt" +msgstr "コピーまたは割り込み" + +msgid "Select all" +msgstr "全てを選択" + +msgid "Line beginning" +msgstr "行頭" + +msgid "Line end" +msgstr "行末" + +msgid "Previous char" +msgstr "前の文字" + +msgid "Delete next char" +msgstr "次の文字を削除" + +msgid "Delete previous char" +msgstr "前の文字を削除" + +msgid "Delete end of line" +msgstr "行末を削除" + +msgid "Delete whole line" +msgstr "行全体を削除" + +msgid "Delete last word" +msgstr "最後の単語を削除" + +msgid "Previous console page" +msgstr "前のコンソールページ" + +msgid "Next console page" +msgstr "次のコンソールページ" + +msgid "Validate input" +msgstr "入力を検証" + +msgid "Clear console" +msgstr "コンソールを消去" + +msgid "Console box" +msgstr "コンソールボックス" + +msgid "Completion" +msgstr "完了" + +msgid "Previous history line" +msgstr "前の履歴行" + +msgid "Next history line" +msgstr "次の履歴行" + +msgid "Help Browser" +msgstr "ヘルプブラウザ" + +msgid "Console Search Field" +msgstr "コンソール検索フィールド" + +msgid "Paste" +msgstr "貼り付け" + +msgid "Open a file" +msgstr "ファイルを開く" + +msgid "Load environment" +msgstr "環境を読み込み" + +msgid "Save environment" +msgstr "環境を保存" + +msgid "Quit" +msgstr "終了する" + +msgid "Execute" +msgstr "実行する" + +msgid "Empty clipboard" +msgstr "空のクリップボード" + +msgid "Change current directory" +msgstr "カレントディレクトリを変更" + +msgid "Display current directory" +msgstr "カレントディレクトリを表示" + +msgid "Page setup" +msgstr "ページの設定" + +msgid "Print" +msgstr "印刷" + +msgid "Preferences" +msgstr "設定" + +msgid "Show/Hide toolbar" +msgstr "ツールバーを表示/非表示" + +msgid "Clear history" +msgstr "履歴をクリア" + +msgid "Resume" +msgstr "再開" + +msgid "Abort" +msgstr "中断" + +msgid "Interrupt" +msgstr "割込み" + +msgid "Launch SciNotes" +msgstr "SciNotesを起動" + +msgid "Launch Xcos" +msgstr "Xcosを起動" + +msgid "Matlab to Scilab Translator" +msgstr "MatlabからScilabへのトランスレータ" + +msgid "Module manager" +msgstr "モジュールマネージャ" + +msgid "Variable Browser" +msgstr "変数ブラウザ" + +msgid "Command History" +msgstr "コマンド履歴" + +msgid "File Browser" +msgstr "ファイル ブラウザ" + +msgid "Demonstrations" +msgstr "デモンストレーション" + +msgid "Open Scilab website" +msgstr "Scilab Webサイトを開く" + +msgid "Open Online Help" +msgstr "オンラインヘルプを開く" + +msgid "Open Scilab wiki" +msgstr "Scilab wikiを開く" + +msgid "Open ATOMS website" +msgstr "オープン ATOMS Webサイト" + +msgid "Open File Exchange website" +msgstr "ファイル交換Webサイトを開く" + +msgid "Open Mailing lists" +msgstr "メーリングリストを開く" + +msgid "Open Forge website" +msgstr "Forge Webサイトを開く" + +msgid "Open Bugzilla" +msgstr "Bugzillaを開く" + +msgid "About Scilab" +msgstr "Scilabについて" + +msgid "Auto complete (, [,..." +msgstr "オートコンプリート (,[,..." + +msgid "Auto complete keyword" +msgstr "キーワード自動補完" + +msgid "Generate Help prototype" +msgstr "ヘルプのひな形を生成" + +msgid "Tabify" +msgstr "タブ整列" + +msgid "Untabify" +msgstr "タブ整列を外す" + +msgid "Indent" +msgstr "インデント" + +msgid "Comment" +msgstr "コメント" + +msgid "Uncomment" +msgstr "コメントを外す" + +msgid "Remove trailing whites" +msgstr "末尾の空白文字を削除" + +msgid "Select block" +msgstr "ブロックを選択" + +msgid "Open current tab in a new window" +msgstr "カレントのタブを新規ウインドウに開く" + +msgid "Export current tab in a new window" +msgstr "カレントのタブを新規ウインドウにエキスポートする" + +msgid "Copy" +msgstr "コピー" + +msgid "Cut" +msgstr "切り取る" + +msgid "Paste a column" +msgstr "列を貼付け" + +msgid "Repeat selection on column" +msgstr "列にセレクションを反復" + +msgid "Undo" +msgstr "元に戻す" + +msgid "Redo" +msgstr "再実行" + +msgid "Copy as HTML with line number" +msgstr "行番号付きのHTMLとしてコピー" + +msgid "New" +msgstr "新規" + +msgid "Open" +msgstr "開く" + +msgid "Open URL" +msgstr "URLを開く" + +msgid "Open source" +msgstr "ソースを開く" + +msgid "Save" +msgstr "保存" + +msgid "Save as" +msgstr "別名で保存" + +msgid "Reload" +msgstr "再読込み" + +msgid "Print preview" +msgstr "印刷プレビュー" + +msgid "Close" +msgstr "閉じる" + +msgid "Exit" +msgstr "終了" + +msgid "To lower case" +msgstr "小文字に変換" + +msgid "To upper case" +msgstr "大文字に変換" + +msgid "Capitalize" +msgstr "先頭を大文字に" + +msgid "Help on keyword" +msgstr "キーワードに関するヘルプ" + +msgid "Load in Scilab" +msgstr "Scilabにロード" + +msgid "Execute in Scilab" +msgstr "Scilabで実行" + +msgid "Evaluate selection" +msgstr "選択部を評価" + +msgid "Save and execute" +msgstr "保存して実行" + +msgid "Save and execute all" +msgstr "全て保存して実行" + +msgid "Find" +msgstr "検索" + +msgid "Find next" +msgstr "次を検索" + +msgid "Find previous" +msgstr "前を検索" + +msgid "Incremental search" +msgstr "インクリメンタル検索" + +msgid "Set anchor" +msgstr "アンカーを設定" + +msgid "Remove anchor" +msgstr "アンカーを削除" + +msgid "Go to next anchor" +msgstr "次のアンカーに移動" + +msgid "Go to previous anchor" +msgstr "前のアンカーに移動" + +msgid "Start Code Navigator" +msgstr "コードナビゲーターを開始" + +msgid "Search word in file" +msgstr "ファイル内の単語を検索" + +msgid "Search files" +msgstr "ファイルを検索" + +msgid "Keyword completion" +msgstr "キーワード補完" + +msgid "Help" +msgstr "ヘルプ" + +msgid "About" +msgstr "本プログラムについて" + +msgid "Next tab" +msgstr "次のタブ" + +msgid "Previous tab" +msgstr "前のタブ" + +msgid "Delete" +msgstr "削除" + +msgid "Next paragraph" +msgstr "次のパラグラフ" + +msgid "Previous paragraph" +msgstr "前のパラグラフ" + +msgid "Save all" +msgstr "全て保存" + +msgid "Overwrite" +msgstr "上書き" + +msgid "Close all" +msgstr "全て閉じる" + +msgid "Close all but this" +msgstr "これ以外を閉じる" + +msgid "Convert quote to double quote" +msgstr "引用符を二重引用符に変換" + +msgid "Line numbering" +msgstr "行番号を付ける" + +msgid "Set the SciNotes font" +msgstr "SciNotesフォントを設定" + +msgid "Set the SciNotes colors" +msgstr "SciNotesカラーを設定" + +msgid "New diagram" +msgstr "新規ダイアグラム" + +msgid "Open file in Scilab current directory" +msgstr "Scilabカレントディレクトリのファイルを開く" + +msgid "Export" +msgstr "エクスポート" + +msgid "Quit Xcos" +msgstr "Xcosを終了" + +msgid "Invert selection" +msgstr "選択の反転" + +msgid "Block Parameters" +msgstr "ブロック パラメータ" + +msgid "Region to superblock" +msgstr "選択範囲をスーパーブロックに変換" + +msgid "Zoom In" +msgstr "拡大" + +msgid "Zoom Out" +msgstr "縮小" + +msgid "Fit diagram to view" +msgstr "表示領域にダイアグラムを合わせる" + +msgid "Normal 100%" +msgstr "標準 100%" + +msgid "Palette browser" +msgstr "パレット ブラウザ" + +msgid "Diagram browser" +msgstr "ダイアグラム ブラウザ" + +msgid "Viewport" +msgstr "ビューポート" + +msgid "Details" +msgstr "詳細" + +msgid "Setup" +msgstr "設定" + +msgid "Execution trace and Debug" +msgstr "実行トレースとデバッグ" + +msgid "Set Context" +msgstr "コンテキスト設定" + +msgid "Compile" +msgstr "コンパイル" + +msgid "Start" +msgstr "開始" + +msgid "Stop" +msgstr "停止" + +msgid "Rotate" +msgstr "回転" + +msgid "Flip" +msgstr "フリップ" + +msgid "Mirror" +msgstr "反転" + +msgid "Show/Hide shadow" +msgstr "影の表示/非表示" + +msgid "Left" +msgstr "左" + +msgid "Center" +msgstr "中心" + +msgid "Right" +msgstr "右" + +msgid "Top" +msgstr "トップ" + +msgid "Middle" +msgstr "中央揃え" + +msgid "Bottom" +msgstr "一番下" + +msgid "Border Color" +msgstr "境界色" + +msgid "Fill Color" +msgstr "色を塗る" + +msgid "Horizontal" +msgstr "水平方向" + +msgid "Straight" +msgstr "直線" + +msgid "Vertical" +msgstr "垂直方向" + +msgid "Diagram background" +msgstr "ダイアグラムの背景" + +msgid "Grid" +msgstr "グリッド" + +msgid "Code generation" +msgstr "コード生成" + +msgid "Xcos Help" +msgstr "Xcos ヘルプ" + +msgid "Block Help" +msgstr "ブロックヘルプ" + +msgid "Xcos Demonstrations" +msgstr "Xcos デモ" + +msgid "About Xcos" +msgstr "Xcosについて" + +msgid "Save variable" +msgstr "変数を保存" + +msgid "Save history" +msgstr "履歴を保存" + +msgid "Save file" +msgstr "ファイルを保存" + +msgid "Environment" +msgstr "環境" + +msgid "Floating point exception (ieee): " +msgstr "浮動小数点例外 (IEEE); " + +msgid "Printing format: " +msgstr "印字フォーマット: " + +msgid "Width: " +msgstr "幅: " + +msgid "Language setting" +msgstr "言語設定" + +msgid "Default language: " +msgstr "デフォルト言語: " + +msgid "(This requires a restart of Scilab)" +msgstr "(Scilabの再起動が必要です)" + +msgid "Java Heap Memory" +msgstr "Javaヒープメモリ" + +msgid "Select the memory (in MB) available in Java: " +msgstr "Javaで利用可能なメモリ(単位: MB)を指定 " + +msgid "Use current working directory" +msgstr "現在のワーキングディレクトリを使用" + +msgid "Use previous working directory" +msgstr "以前のワーキングディレクトリを使用" + +msgid "Use default directory" +msgstr "標準のディレクトリを使用" + +msgid "Default startup directory" +msgstr "デフォルトの起動ディレクトリ" + +msgid "Desktop Layout" +msgstr "デスクトップのレイアウト" + +msgid "Select a layout" +msgstr "レイアウトを選択" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "(レイアウトの変更にはScilabの再起動が必要です)" + +msgid "Save layout on exiting" +msgstr "終了時に配置を保存" + +msgid "Reset layout" +msgstr "レイアウトをリセット" + +msgid "Keys binding" +msgstr "キーの割付" + +msgid "Filter on action name: " +msgstr "アクション名のフィルタ: " + +msgid "Component" +msgstr "コンポーネント" + +msgid "Name: " +msgstr "名前: " + +msgid "Description: " +msgstr "説明: " + +msgid "Binding: " +msgstr "割付: " + +msgid "Action name" +msgstr "アクション名" + +msgid "Key binding" +msgstr "キー割付" + +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 58 +msgid "File or Directory" +msgstr "ファイルまたはディレクトリ" + +msgid "Scilab Fields" +msgstr "Scilabフィールド" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 68 +msgid "Scilab Function" +msgstr "Scilab関数" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 65 +msgid "Scilab Command" +msgstr "Scilabコマンド" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 74 +msgid "Scilab Macro" +msgstr "Scilabマクロ" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 77 +msgid "Scilab Variable" +msgstr "Scilab変数" + +msgid "Graphics handle field" +msgstr "グラフィックハンドルのフィールド" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "コマンドが長過ぎます (文字長が %d を超えています); Scilabに送信できません\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "[表示を続けますか? n(no) で中止、任意のキーで続けます]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"標準レベルのプロンプトに戻るには, '%s' または '%s' を入力してください.\n" +"\n" + +msgid "Field" +msgstr "フィールド" + +# +# File: src/java/org/scilab/modules/console/SciCompletionManager.java, line: 108 +msgid "No help" +msgstr "ヘルプ無し" + +msgid "Out of Screen" +msgstr "表示領域外です" + +msgid "Could not change the Console Font." +msgstr "コンソールのフォントを変更できません." + +msgid "Could not change the Console Foreground." +msgstr "コンソールの表示を変更できません." diff --git a/modules/console/locales/pl_PL.po b/modules/console/locales/pl_PL.po new file mode 100755 index 000000000..aa479526f --- /dev/null +++ b/modules/console/locales/pl_PL.po @@ -0,0 +1,814 @@ +# Polish translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-04-28 19:11+0000\n" +"Last-Translator: Grzegorz Szostek <Unknown>\n" +"Language-Team: Polish <pl@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pl\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Nieprawidłowa wartość argumentu wejściowego nr %d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Ta funkcja nie została zrealizowana.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: Ta funkcja nie została zrealizowana w tym trybie.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: Nie zrealizowane w tym trybie.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Błąd alokacji pamięci.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Brak możliwości odczytu argumentu wejściowego nr %d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Nieprawidłowy typ argumentu wejściowego #%d: oczekiwano skalara.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Nieprawidłowy rozmiar dla argumentu wejściowego #%d: Oczekiwany skalar.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Nieprawidłowy rozmiar dla argumentu wejściowego #%d: Oczekiwany skalar " +"(>= 0).\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: Nieprawidłowy typ argumentu wejściowego nr %d: Oczekiwana jest wartość " +"typu string.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: Nieprawidłowy rozmiar dla argumentu wejściowego nr %d: oczekiwano ciągu " +"znaków.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Nieprawidłowa liczba argumentów wyjściowych.\n" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "Plik lub katalog" + +msgid "Scilab Fields" +msgstr "Pola Scilab" + +msgid "Scilab Function" +msgstr "Funkcja Scilab" + +msgid "Scilab Command" +msgstr "Polecenie Scilab" + +msgid "Scilab Macro" +msgstr "Makro Scilab" + +msgid "Scilab Variable" +msgstr "Zmienna Scilab" + +msgid "Graphics handle field" +msgstr "Pole uchwytu graficznego" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Kontynuować wyświetlanie? n (nie) aby zatrzymać, inny klawisz aby " +"kontynuować]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Naciśnij '%s' lub '%s' by powrócić do standardowego poziomu wiersza.\n" +"\n" + +msgid "Field" +msgstr "Pole" + +msgid "No help" +msgstr "Brak pomocy" + +msgid "Out of Screen" +msgstr "Poza ekranem" + +msgid "Could not change the Console Font." +msgstr "Nie mozna zmienić czcionki konsoli." + +msgid "Could not change the Console Foreground." +msgstr "Nie można zmienić koloru pierwszoplanowego konsoli." diff --git a/modules/console/locales/pt_BR.po b/modules/console/locales/pt_BR.po new file mode 100755 index 000000000..12c151603 --- /dev/null +++ b/modules/console/locales/pt_BR.po @@ -0,0 +1,817 @@ +# Brazilian Portuguese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-04-21 23:06+0000\n" +"Last-Translator: Ramiro Pereira de Magalhães <ramiro.p.magalhaes@gmail.com>\n" +"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pt_BR\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Valor incorreto para o argumento de entrada #%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Este recurso não foi implementado.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: Este recurso não foi implementado neste modo.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: Não implementado neste modo.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Erro de alocação de memória.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Não foi possível ler argumento de entrada #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se uma grandeza " +"escalar.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se uma " +"grandeza escalar.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: Valor incorreto para o argumento de entrada #%d: esperava-se um valor " +"inteiro.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Valor incorreto para o argumento de entrada #%d: esperava-se uma " +"grandeza escalar não-negativa.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um texto.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um " +"texto.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Quantidade incorreta de argumentos de saída.\n" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "Arquivo ou diretório" + +msgid "Scilab Fields" +msgstr "Campos do Scilab" + +msgid "Scilab Function" +msgstr "Função do Scilab" + +msgid "Scilab Command" +msgstr "Comando do Scilab" + +msgid "Scilab Macro" +msgstr "Macro do Scilab" + +msgid "Scilab Variable" +msgstr "Variável do Scilab" + +msgid "Graphics handle field" +msgstr "Campo de manipulador gráfico" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Continuar a exibição? n (não) para parar, qualquer outra tecla para " +"continuar]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Digite \"%s\" ou \"%s\" para retornar ao nível padrão de prompt.\n" +"\n" + +msgid "Field" +msgstr "Campo" + +msgid "No help" +msgstr "Sem ajuda" + +msgid "Out of Screen" +msgstr "Fora da tela" + +msgid "Could not change the Console Font." +msgstr "Não foi possível mudar a fonte do console." + +msgid "Could not change the Console Foreground." +msgstr "Não foi possível mudar a cor de primeiro plano do console." diff --git a/modules/console/locales/ru_RU.po b/modules/console/locales/ru_RU.po new file mode 100755 index 000000000..4c56dbc94 --- /dev/null +++ b/modules/console/locales/ru_RU.po @@ -0,0 +1,811 @@ +# Russian translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-23 13:51+0000\n" +"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n" +"Language-Team: Russian <ru@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ru\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: Неверное значение входного параметра №%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: Эта функциональность ещё не реализована.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: Эта функциональность не реализована в этом режиме.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: Не реализовано в этом режиме.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Ошибка выделения памяти.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Не могу прочитать входной аргумент №%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "%s: Неверный тип входного параметра №%d: ожидался скаляр.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Неверный размер входного параметра №%d: ожидался скаляр.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: Неверное значение входного аргумента №%d: ожидалось целочисленное " +"значение.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: Неверное значение для входного аргумента №%d: Ожидается скаляр (>= 0).\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: Неверный тип входного параметра №%d: ожидалась строка.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s: Неверный размер входного параметра №%d: ожидалась строка.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: Неверное количество выходных параметров.\n" + +msgid "Console" +msgstr "Командное окно" + +msgid "Display" +msgstr "Показать" + +msgid "Automatically adapt the display to the console" +msgstr "Автоматически подстраивать вывод на экран к командному окну" + +msgid "Lines to display:" +msgstr "Строки для показа:" + +msgid "Columns to display:" +msgstr "Столбцы для показа:" + +msgid "Number of lines in console scroll buffer:" +msgstr "Количество строк в буфере прокрутки командного окна:" + +msgid "General" +msgstr "Общее" + +msgid "Produces an error" +msgstr "Формирует ошибку" + +msgid "Produces a warning" +msgstr "Формирует предупреждение" + +msgid "Produces Inf or NaN" +msgstr "Формирует Inf или NaN" + +msgid "Variable format" +msgstr "Формат переменной" + +msgid "Scientific format" +msgstr "Научный формат" + +msgid "English" +msgstr "Английский" + +msgid "French" +msgstr "Французский" + +msgid "Portugese (Brazil)" +msgstr "Португальский (Бразилия)" + +msgid "Catalan" +msgstr "Каталанский" + +msgid "Czech" +msgstr "Чешский" + +msgid "Spanish" +msgstr "Испанский" + +msgid "Italian" +msgstr "Итальянский" + +msgid "Polish" +msgstr "Польский" + +msgid "Russian" +msgstr "Русский" + +msgid "Chinese (Simplified)" +msgstr "Китайский (упрощенный)" + +msgid "Chinese (Traditional)" +msgstr "Китайский (традиционный)" + +msgid "German" +msgstr "Немецкий" + +msgid "Japanese" +msgstr "Японский" + +msgid "Ukrainian" +msgstr "Украинский" + +msgid "Start-up directory" +msgstr "Директория при запуске" + +msgid "Confirmation dialogs" +msgstr "Диалоги подтверждения" + +msgid "Warn before exiting Scilab" +msgstr "Предупреждать перед выходом из Scilab'а" + +msgid "Warn before deleting Command History items" +msgstr "Предупреждать перед удалением пунктов истории команд" + +msgid "Warn before clearing the Console" +msgstr "Предупреждать перед очисткой командного окна" + +msgid "Desktop layout" +msgstr "Конфигурация рабочего стола" + +msgid "Integrated" +msgstr "Совместно" + +msgid "Simple" +msgstr "Простой" + +msgid "Shortcuts" +msgstr "Комбинации клавиш" + +msgid "Cut or interrupt" +msgstr "Вырезать или прервать" + +msgid "Copy or interrupt" +msgstr "Копировать или прервать" + +msgid "Select all" +msgstr "Выбрать всё" + +msgid "Line beginning" +msgstr "Начало строки" + +msgid "Line end" +msgstr "Конец строки" + +msgid "Previous char" +msgstr "Предыдущий символ" + +msgid "Delete next char" +msgstr "Удалить следующий символ" + +msgid "Delete previous char" +msgstr "Удалить предыдущий символ" + +msgid "Delete end of line" +msgstr "Удалить конец строки" + +msgid "Delete whole line" +msgstr "Удалить строку целиком" + +msgid "Delete last word" +msgstr "Удалить последнее слово" + +msgid "Previous console page" +msgstr "Предыдущая страница командного окна" + +msgid "Next console page" +msgstr "Следующая страница командного окна" + +msgid "Validate input" +msgstr "Проверить ввод" + +msgid "Clear console" +msgstr "Очистить командное окно" + +msgid "Console box" +msgstr "Командная строка" + +msgid "Completion" +msgstr "Завершение" + +msgid "Previous history line" +msgstr "Предыдущая строка журнала команд" + +msgid "Next history line" +msgstr "Следующая строка журнала команд" + +msgid "Help Browser" +msgstr "Справочная система" + +msgid "Console Search Field" +msgstr "Поле поиска командного окна" + +msgid "Paste" +msgstr "Вставить" + +msgid "Open a file" +msgstr "Открыть файл" + +msgid "Load environment" +msgstr "Загрузить рабочую среду" + +msgid "Save environment" +msgstr "Сохранить рабочую среду" + +msgid "Quit" +msgstr "Выйти" + +msgid "Execute" +msgstr "Выполнить" + +msgid "Empty clipboard" +msgstr "Очистить буфер обмена" + +msgid "Change current directory" +msgstr "Сменить текущую директорию" + +msgid "Display current directory" +msgstr "Показать текущую директорию" + +msgid "Page setup" +msgstr "Настройка страницы" + +msgid "Print" +msgstr "Печать" + +msgid "Preferences" +msgstr "Настройки" + +msgid "Show/Hide toolbar" +msgstr "Показать/скрыть панель инструментов" + +msgid "Clear history" +msgstr "Очистить журнал команд" + +msgid "Resume" +msgstr "Продолжить" + +msgid "Abort" +msgstr "Прекратить работу" + +msgid "Interrupt" +msgstr "Прервать выполнение" + +msgid "Launch SciNotes" +msgstr "Открыть SciNotes" + +msgid "Launch Xcos" +msgstr "Запустить Xcos" + +msgid "Matlab to Scilab Translator" +msgstr "Перевод с языка Matlab на язык Scilab" + +msgid "Module manager" +msgstr "Управление модулями" + +msgid "Variable Browser" +msgstr "Обозреватель переменных" + +msgid "Command History" +msgstr "Журнал команд" + +msgid "File Browser" +msgstr "Обозреватель файлов" + +msgid "Demonstrations" +msgstr "Наглядные примеры" + +msgid "Open Scilab website" +msgstr "Открыть сайт Scilab''а" + +msgid "Open Online Help" +msgstr "Открыть справку в сети" + +msgid "Open Scilab wiki" +msgstr "Открыть вики Scilab''а" + +msgid "Open ATOMS website" +msgstr "Открыть сайт ATOMS" + +msgid "Open File Exchange website" +msgstr "Открыть сайт обмена файлами" + +msgid "Open Mailing lists" +msgstr "Открыть списки почтовой рассылки" + +msgid "Open Forge website" +msgstr "Открыть сайт Forge" + +msgid "Open Bugzilla" +msgstr "Открыть Bugzilla" + +msgid "About Scilab" +msgstr "О Scilab''е" + +msgid "Auto complete (, [,..." +msgstr "Автоматическое закрытие (, [,..." + +msgid "Auto complete keyword" +msgstr "Автозавершение ключевого слова" + +msgid "Generate Help prototype" +msgstr "Генерировать прототип Справки" + +msgid "Tabify" +msgstr "Заменить пробелы на табуляцию" + +msgid "Untabify" +msgstr "Заменить табуляцию на пробелы" + +msgid "Indent" +msgstr "Отступы" + +msgid "Comment" +msgstr "Комментарий" + +msgid "Uncomment" +msgstr "Раскомментировать" + +msgid "Remove trailing whites" +msgstr "Удалить пробелы в конце строки" + +msgid "Select block" +msgstr "Выбрать блок" + +msgid "Open current tab in a new window" +msgstr "Открыть текущую вкладку в новом окне" + +msgid "Export current tab in a new window" +msgstr "Экспортировать текущую вкладку в новое окно" + +msgid "Copy" +msgstr "Копировать" + +msgid "Cut" +msgstr "Вырезать" + +msgid "Paste a column" +msgstr "Вставить столбец" + +msgid "Repeat selection on column" +msgstr "Повтор выбора столбца" + +msgid "Undo" +msgstr "Отменить" + +msgid "Redo" +msgstr "Повторить" + +msgid "Copy as HTML with line number" +msgstr "Копировать как HTML с номерами строк" + +msgid "New" +msgstr "Новый" + +msgid "Open" +msgstr "Открыть" + +msgid "Open URL" +msgstr "Открыть URL" + +msgid "Open source" +msgstr "Открыть исходный код" + +msgid "Save" +msgstr "Сохранить" + +msgid "Save as" +msgstr "Сохранить как" + +msgid "Reload" +msgstr "Перезагрузить" + +msgid "Print preview" +msgstr "Предварительный просмотр печати" + +msgid "Close" +msgstr "Закрыть" + +msgid "Exit" +msgstr "Выйти" + +msgid "To lower case" +msgstr "В нижний регистр" + +msgid "To upper case" +msgstr "В верхний регистр" + +msgid "Capitalize" +msgstr "Перевести в ПРОПИСНЫЕ БУКВЫ" + +msgid "Help on keyword" +msgstr "Справка по ключевому слову" + +msgid "Load in Scilab" +msgstr "Загрузить в Scilab" + +msgid "Execute in Scilab" +msgstr "Выполнить в Scilab" + +msgid "Evaluate selection" +msgstr "Вычислить выбранное" + +msgid "Save and execute" +msgstr "Сохранить и выполнить" + +msgid "Save and execute all" +msgstr "Сохранить и выполнить всё" + +msgid "Find" +msgstr "Найти" + +msgid "Find next" +msgstr "Найти далее" + +msgid "Find previous" +msgstr "Найти предыдущее" + +msgid "Incremental search" +msgstr "Пошаговый поиск" + +msgid "Set anchor" +msgstr "Установить метку" + +msgid "Remove anchor" +msgstr "Удалить метку" + +msgid "Go to next anchor" +msgstr "Перейти к следующей метке" + +msgid "Go to previous anchor" +msgstr "Перейти к предыдущей метке" + +msgid "Start Code Navigator" +msgstr "Запустить навигатор по коду" + +msgid "Search word in file" +msgstr "Искать слово в файле" + +msgid "Search files" +msgstr "Поиск файлов" + +msgid "Keyword completion" +msgstr "Завершение ключевых слов" + +msgid "Help" +msgstr "Справка" + +msgid "About" +msgstr "О программе" + +msgid "Next tab" +msgstr "Следующая вкладка" + +msgid "Previous tab" +msgstr "Предыдущая вкладка" + +msgid "Delete" +msgstr "Удалить" + +msgid "Next paragraph" +msgstr "Следующий абзац" + +msgid "Previous paragraph" +msgstr "Предыдущий абзац" + +msgid "Save all" +msgstr "Сохранить все" + +msgid "Overwrite" +msgstr "Переписать" + +msgid "Close all" +msgstr "Закрыть всё" + +msgid "Close all but this" +msgstr "Закрыть все, кроме этой" + +msgid "Convert quote to double quote" +msgstr "Заменить кавычки на двойные кавычки" + +msgid "Line numbering" +msgstr "Нумерация строк" + +msgid "Set the SciNotes font" +msgstr "Установить шрифт в SciNotes" + +msgid "Set the SciNotes colors" +msgstr "Установить цвета в SciNotes" + +msgid "New diagram" +msgstr "Создать диаграмму" + +msgid "Open file in Scilab current directory" +msgstr "Открыть файл в текущей директории Scilab" + +msgid "Export" +msgstr "Экспортировать" + +msgid "Quit Xcos" +msgstr "Выход из Xcos" + +msgid "Invert selection" +msgstr "Инвертировать выделение" + +msgid "Block Parameters" +msgstr "Параметры блока" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "Увеличить" + +msgid "Zoom Out" +msgstr "Уменьшить" + +msgid "Fit diagram to view" +msgstr "Уместить диаграмму в окне" + +msgid "Normal 100%" +msgstr "Нормальный 100%" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "Подробности" + +msgid "Setup" +msgstr "Установка" + +msgid "Execution trace and Debug" +msgstr "Отслеживание исполнения и Отладка" + +msgid "Set Context" +msgstr "Установить контекст" + +msgid "Compile" +msgstr "Компилировать" + +msgid "Start" +msgstr "Запустить" + +msgid "Stop" +msgstr "Остановить" + +msgid "Rotate" +msgstr "Повернуть" + +msgid "Flip" +msgstr "Отразить" + +msgid "Mirror" +msgstr "Зеркально" + +msgid "Show/Hide shadow" +msgstr "Показать/скрыть тень" + +msgid "Left" +msgstr "Влево" + +msgid "Center" +msgstr "По центру" + +msgid "Right" +msgstr "Вправо" + +msgid "Top" +msgstr "Вверх" + +msgid "Middle" +msgstr "По центру" + +msgid "Bottom" +msgstr "Внизу" + +msgid "Border Color" +msgstr "Цвет границы" + +msgid "Fill Color" +msgstr "Цвет заливки" + +msgid "Horizontal" +msgstr "Горизонтально" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "По вертикали" + +msgid "Diagram background" +msgstr "Фон диаграммы" + +msgid "Grid" +msgstr "Сетка" + +msgid "Code generation" +msgstr "Сформировать код" + +msgid "Xcos Help" +msgstr "Справка по Xcos" + +msgid "Block Help" +msgstr "Справка по блоку" + +msgid "Xcos Demonstrations" +msgstr "Демонстрации Xcos" + +msgid "About Xcos" +msgstr "О Xcos" + +msgid "Save variable" +msgstr "Сохранить переменную" + +msgid "Save history" +msgstr "Сохранить журнал команд" + +msgid "Save file" +msgstr "Сохранить файл" + +msgid "Environment" +msgstr "Рабочая среда" + +msgid "Floating point exception (ieee): " +msgstr "Исключение плавающей запятой (ieee): " + +msgid "Printing format: " +msgstr "Формат печати: " + +msgid "Width: " +msgstr "Ширина: " + +msgid "Language setting" +msgstr "Настройка языка" + +msgid "Default language: " +msgstr "Язык по умолчанию: " + +msgid "(This requires a restart of Scilab)" +msgstr "(Это требует перезапуск Scilab'а)" + +msgid "Java Heap Memory" +msgstr "Динамическая память для Java (heap memory)" + +msgid "Select the memory (in MB) available in Java: " +msgstr "Выберите память (в МБ), доступную в Java: " + +msgid "Use current working directory" +msgstr "Использовать текущую рабочую директорию" + +msgid "Use previous working directory" +msgstr "Использовать предыдущую рабочую директоию" + +msgid "Use default directory" +msgstr "Использовать директорию по умолчанию" + +msgid "Default startup directory" +msgstr "Директория при запуске по умолчанию" + +msgid "Desktop Layout" +msgstr "Конфигурация рабочего стола" + +msgid "Select a layout" +msgstr "Выбрать конфигурацию" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "(Изменение конфигурации требует перезапуска Scilab'а)" + +msgid "Save layout on exiting" +msgstr "Сохранить проект при выходе" + +msgid "Reset layout" +msgstr "Сбросить расположение панелей" + +msgid "Keys binding" +msgstr "Привязка клавиш" + +msgid "Filter on action name: " +msgstr "Фильтр по названию действия: " + +msgid "Component" +msgstr "Компонент" + +msgid "Name: " +msgstr "Название: " + +msgid "Description: " +msgstr "Описание: " + +msgid "Binding: " +msgstr "Сочетание: " + +msgid "Action name" +msgstr "Название действия" + +msgid "Key binding" +msgstr "Привязка клавиш" + +msgid "File or Directory" +msgstr "Файл или Каталог" + +msgid "Scilab Fields" +msgstr "Поля Scilab" + +msgid "Scilab Function" +msgstr "Функция Scilab" + +msgid "Scilab Command" +msgstr "Команда Scilab" + +msgid "Scilab Macro" +msgstr "Макрос Scilab" + +msgid "Scilab Variable" +msgstr "Переменная Scilab" + +msgid "Graphics handle field" +msgstr "Поле графического дескриптора" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" +"Команда слишком длинная (больше %d символов): не удалось её передать в " +"Scilab\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Продолжить отображение? n (no) - остановить, любая другая клавиша - " +"продолжить]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Введите «%s» или «%s» для возврата на стандартный уровень командной строки.\n" +"\n" + +msgid "Field" +msgstr "Поле" + +msgid "No help" +msgstr "Помощи нет" + +msgid "Out of Screen" +msgstr "Вне экрана" + +msgid "Could not change the Console Font." +msgstr "Не удалось изменить шрифт в командном окне" + +msgid "Could not change the Console Foreground." +msgstr "Не удалось изменить цвет фона в командном окне" diff --git a/modules/console/locales/uk_UA.po b/modules/console/locales/uk_UA.po new file mode 100755 index 000000000..a87c0953f --- /dev/null +++ b/modules/console/locales/uk_UA.po @@ -0,0 +1,820 @@ +# Ukrainian translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# +# Yuri Chornoivan <yurchor@ukr.net>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-21 11:16+0000\n" +"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n" +"Language-Team: Ukrainian <translation@linux.org.ua>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: uk\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s: помилкове значення вхідного параметра №%d.\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s: цю можливість ще не реалізовано.\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s: цю можливість ще не реалізовано у цьому режимі.\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s: не реалізовано у цьому режимі.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: помилка під час спроби виділення пам’яті.\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: не вдалося прочитати вхідний параметр №%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра №%d: слід використовувати скалярний " +"тип.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: помилкова розмірність вхідного параметра №%d: слід використовувати " +"дійсне число.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" +"%s: помилкове значення вхідного параметра №%d: слід використовувати ціле " +"значення.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" +"%s: помилкове значення вхідного параметра №%d: Мало бути вказано невід’ємний " +"скаляр.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра №%d: слід використовувати тип " +"«string».\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: помилковий розмір вхідного параметра №%d: слід використовувати рядок.\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s: помилкова кількість вихідних параметрів.\n" + +msgid "Console" +msgstr "Консоль" + +msgid "Display" +msgstr "Показ" + +msgid "Automatically adapt the display to the console" +msgstr "Автоматично узгоджувати показ з консоллю" + +msgid "Lines to display:" +msgstr "Кількість показаних рядків:" + +msgid "Columns to display:" +msgstr "К-ть показаних позицій у рядку:" + +msgid "Number of lines in console scroll buffer:" +msgstr "Кількість рядків у буфері гортання консолі:" + +msgid "General" +msgstr "Загальні" + +msgid "Produces an error" +msgstr "показ повідомлення про помилку" + +msgid "Produces a warning" +msgstr "показ попередження" + +msgid "Produces Inf or NaN" +msgstr "показ Inf або NaN" + +msgid "Variable format" +msgstr "Формат змінних" + +msgid "Scientific format" +msgstr "Інженерний формат" + +msgid "English" +msgstr "англійська" + +msgid "French" +msgstr "французька" + +msgid "Portugese (Brazil)" +msgstr "португальська (Бразилія)" + +msgid "Catalan" +msgstr "каталонська" + +msgid "Czech" +msgstr "чеська" + +msgid "Spanish" +msgstr "іспанська" + +msgid "Italian" +msgstr "італійська" + +msgid "Polish" +msgstr "польська" + +msgid "Russian" +msgstr "російська" + +msgid "Chinese (Simplified)" +msgstr "китайська (спрощений запис)" + +msgid "Chinese (Traditional)" +msgstr "китайська (традиційний запис)" + +msgid "German" +msgstr "німецька" + +msgid "Japanese" +msgstr "японська" + +msgid "Ukrainian" +msgstr "українська" + +msgid "Start-up directory" +msgstr "Каталог запуску" + +msgid "Confirmation dialogs" +msgstr "Діалогові вікна підтвердження" + +msgid "Warn before exiting Scilab" +msgstr "Попереджати перед завершенням роботи Scilab" + +msgid "Warn before deleting Command History items" +msgstr "Попереджати перед вилучення пунктів журналу команд" + +msgid "Warn before clearing the Console" +msgstr "Попереджати перед спорожненням консолі" + +msgid "Desktop layout" +msgstr "Компонування" + +msgid "Integrated" +msgstr "Інтегроване" + +msgid "Simple" +msgstr "Просте" + +msgid "Shortcuts" +msgstr "Клавіатурні скорочення" + +msgid "Cut or interrupt" +msgstr "Вирізати або перервати" + +msgid "Copy or interrupt" +msgstr "Копіювати або перервати" + +msgid "Select all" +msgstr "Позначити все" + +msgid "Line beginning" +msgstr "Початок рядка" + +msgid "Line end" +msgstr "Кінець рядка" + +msgid "Previous char" +msgstr "Попередній символ" + +msgid "Delete next char" +msgstr "Вилучити наступний символ" + +msgid "Delete previous char" +msgstr "Вилучити попередній символ" + +msgid "Delete end of line" +msgstr "Вилучити кінець рядка" + +msgid "Delete whole line" +msgstr "Вилучити цілий рядок" + +msgid "Delete last word" +msgstr "Вилучити останнє слово" + +msgid "Previous console page" +msgstr "Попередня сторінка консолі" + +msgid "Next console page" +msgstr "Наступна сторінка консолі" + +msgid "Validate input" +msgstr "Перевірити введені дані" + +msgid "Clear console" +msgstr "Спорожнити консоль" + +msgid "Console box" +msgstr "Відкрити панель консолі" + +msgid "Completion" +msgstr "Завершення" + +msgid "Previous history line" +msgstr "Попередній рядок у журналі" + +msgid "Next history line" +msgstr "Наступний рядок у журналі" + +msgid "Help Browser" +msgstr "Перегляд довідки" + +msgid "Console Search Field" +msgstr "Поле пошуку у консолі" + +msgid "Paste" +msgstr "Вставити" + +msgid "Open a file" +msgstr "Відкрити файл" + +msgid "Load environment" +msgstr "Завантажити середовище" + +msgid "Save environment" +msgstr "Зберегти середовище" + +msgid "Quit" +msgstr "Вийти" + +msgid "Execute" +msgstr "Виконати" + +msgid "Empty clipboard" +msgstr "Спорожнити буфер обміну даними" + +msgid "Change current directory" +msgstr "Змінити поточний каталог" + +msgid "Display current directory" +msgstr "Показати поточний каталог" + +msgid "Page setup" +msgstr "Параметри сторінки" + +msgid "Print" +msgstr "Надрукувати" + +msgid "Preferences" +msgstr "Налаштування" + +msgid "Show/Hide toolbar" +msgstr "Показати/Сховати панель інструментів" + +msgid "Clear history" +msgstr "Спорожнити журнал" + +msgid "Resume" +msgstr "Продовжити" + +msgid "Abort" +msgstr "Перервати" + +msgid "Interrupt" +msgstr "Призупинити" + +msgid "Launch SciNotes" +msgstr "Запустити SciNotes" + +msgid "Launch Xcos" +msgstr "Запустити Xcos" + +msgid "Matlab to Scilab Translator" +msgstr "Інструмент перетворення з Matlab у Scilab" + +msgid "Module manager" +msgstr "Керування модулями" + +msgid "Variable Browser" +msgstr "Перегляд змінних" + +msgid "Command History" +msgstr "Журнал команд" + +msgid "File Browser" +msgstr "Перегляд файлів" + +msgid "Demonstrations" +msgstr "Демонстрації" + +msgid "Open Scilab website" +msgstr "Відкрити сайт Scilab" + +msgid "Open Online Help" +msgstr "Відкрити інтернет-довідку" + +msgid "Open Scilab wiki" +msgstr "Відкрити вікі Scilab" + +msgid "Open ATOMS website" +msgstr "Відкрити сайт ATOMS" + +msgid "Open File Exchange website" +msgstr "Відкрити сайт обміну файлами" + +msgid "Open Mailing lists" +msgstr "Відкрити сторінку списків листування" + +msgid "Open Forge website" +msgstr "Відкрити сайт Forge" + +msgid "Open Bugzilla" +msgstr "Відкрити сторінку Bugzilla" + +msgid "About Scilab" +msgstr "Про Scilab" + +msgid "Auto complete (, [,..." +msgstr "Автозавершення (, […" + +msgid "Auto complete keyword" +msgstr "Автозавершення ключових слів" + +msgid "Generate Help prototype" +msgstr "Створити прототип довідки" + +msgid "Tabify" +msgstr "Додати табуляцію" + +msgid "Untabify" +msgstr "Скасувати табуляцію" + +msgid "Indent" +msgstr "Додати відступ" + +msgid "Comment" +msgstr "Закоментувати" + +msgid "Uncomment" +msgstr "Розкоментувати" + +msgid "Remove trailing whites" +msgstr "Вилучити кінцеві пробіли" + +msgid "Select block" +msgstr "Позначити блок" + +msgid "Open current tab in a new window" +msgstr "Відкрити поточну вкладку у новому вікні" + +msgid "Export current tab in a new window" +msgstr "Експортувати поточну вкладку до нового вікна" + +msgid "Copy" +msgstr "Копіювати" + +msgid "Cut" +msgstr "Вирізати" + +msgid "Paste a column" +msgstr "Вставити стовпчик" + +msgid "Repeat selection on column" +msgstr "Повторити позначення стовпчика" + +msgid "Undo" +msgstr "Вернути" + +msgid "Redo" +msgstr "Повторити" + +msgid "Copy as HTML with line number" +msgstr "Копіювати як HTML з номерами рядків" + +msgid "New" +msgstr "Створити" + +msgid "Open" +msgstr "Відкрити" + +msgid "Open URL" +msgstr "Відкрити адресу" + +msgid "Open source" +msgstr "Відкрити код" + +msgid "Save" +msgstr "Зберегти" + +msgid "Save as" +msgstr "Зберегти як" + +msgid "Reload" +msgstr "Перезавантажити" + +msgid "Print preview" +msgstr "Попередній перегляд друку" + +msgid "Close" +msgstr "Закрити" + +msgid "Exit" +msgstr "Вийти" + +msgid "To lower case" +msgstr "У нижній регістр" + +msgid "To upper case" +msgstr "У верхній регістр" + +msgid "Capitalize" +msgstr "З великої літери" + +msgid "Help on keyword" +msgstr "Довідка щодо ключового слова" + +msgid "Load in Scilab" +msgstr "Завантажити до Scilab" + +msgid "Execute in Scilab" +msgstr "Виконати у Scilab" + +msgid "Evaluate selection" +msgstr "Обчислити позначене" + +msgid "Save and execute" +msgstr "Зберегти і виконати" + +msgid "Save and execute all" +msgstr "Зберегти і виконати все" + +msgid "Find" +msgstr "Знайти" + +msgid "Find next" +msgstr "Знайти наступне" + +msgid "Find previous" +msgstr "Знайти попереднє" + +msgid "Incremental search" +msgstr "Покроковий пошук" + +msgid "Set anchor" +msgstr "Встановити прив’язку" + +msgid "Remove anchor" +msgstr "Вилучити прив’язку" + +msgid "Go to next anchor" +msgstr "Перейти до наступної прив’язки" + +msgid "Go to previous anchor" +msgstr "Перейти до попередньої прив’язки" + +msgid "Start Code Navigator" +msgstr "Запустити засіб навігації кодом" + +msgid "Search word in file" +msgstr "Шукати слово у файлі" + +msgid "Search files" +msgstr "Шукати файли" + +msgid "Keyword completion" +msgstr "Завершення ключових слів" + +msgid "Help" +msgstr "Довідка" + +msgid "About" +msgstr "Про програму" + +msgid "Next tab" +msgstr "Наступна вкладка" + +msgid "Previous tab" +msgstr "Попередня вкладка" + +msgid "Delete" +msgstr "Вилучити" + +msgid "Next paragraph" +msgstr "Наступний абзац" + +msgid "Previous paragraph" +msgstr "Попередній абзац" + +msgid "Save all" +msgstr "Зберегти всі" + +msgid "Overwrite" +msgstr "Перезаписати" + +msgid "Close all" +msgstr "Закрити всі" + +msgid "Close all but this" +msgstr "Закрити все крім цього" + +msgid "Convert quote to double quote" +msgstr "Перетворити одинарні лапки на подвійні" + +msgid "Line numbering" +msgstr "Нумерування рядків" + +msgid "Set the SciNotes font" +msgstr "Встановити шрифт SciNotes" + +msgid "Set the SciNotes colors" +msgstr "Встановити кольори SciNotes" + +msgid "New diagram" +msgstr "Створити діаграму" + +msgid "Open file in Scilab current directory" +msgstr "Відкрити файл у поточному каталозі Scilab" + +msgid "Export" +msgstr "Експортувати" + +msgid "Quit Xcos" +msgstr "Вийти з Xcos" + +msgid "Invert selection" +msgstr "Інвертувати вибір" + +msgid "Block Parameters" +msgstr "Параметри блоку" + +msgid "Region to superblock" +msgstr "Ділянку у суперблок" + +msgid "Zoom In" +msgstr "Збільшити" + +msgid "Zoom Out" +msgstr "Зменшити" + +msgid "Fit diagram to view" +msgstr "Масштаб діаграми за розмірами області перегляду" + +msgid "Normal 100%" +msgstr "Звичайний 100%" + +msgid "Palette browser" +msgstr "Перегляд палітри" + +msgid "Diagram browser" +msgstr "Перегляд діаграми" + +msgid "Viewport" +msgstr "Демонстраційне вікно" + +msgid "Details" +msgstr "Подробиці" + +msgid "Setup" +msgstr "Налаштування" + +msgid "Execution trace and Debug" +msgstr "Трасування виконання та діагностика" + +msgid "Set Context" +msgstr "Вказати контекст" + +msgid "Compile" +msgstr "Зібрати" + +msgid "Start" +msgstr "Запустити" + +msgid "Stop" +msgstr "Зупинити" + +msgid "Rotate" +msgstr "Обертати" + +msgid "Flip" +msgstr "Перевернути" + +msgid "Mirror" +msgstr "Віддзеркалити" + +msgid "Show/Hide shadow" +msgstr "Показати/Сховати тінь" + +msgid "Left" +msgstr "Ліворуч" + +msgid "Center" +msgstr "За центром" + +msgid "Right" +msgstr "Праворуч" + +msgid "Top" +msgstr "Вгору" + +msgid "Middle" +msgstr "Посередині" + +msgid "Bottom" +msgstr "Вниз" + +msgid "Border Color" +msgstr "Колір рамки" + +msgid "Fill Color" +msgstr "Колір заповнення" + +msgid "Horizontal" +msgstr "Горизонтальне" + +msgid "Straight" +msgstr "Просте" + +msgid "Vertical" +msgstr "Вертикальне" + +msgid "Diagram background" +msgstr "Тло діаграми" + +msgid "Grid" +msgstr "Сітка" + +msgid "Code generation" +msgstr "Створення коду" + +msgid "Xcos Help" +msgstr "Довідка з Xcos" + +msgid "Block Help" +msgstr "Довідка щодо блоку" + +msgid "Xcos Demonstrations" +msgstr "Демонстрації Xcos" + +msgid "About Xcos" +msgstr "Про Xcos" + +msgid "Save variable" +msgstr "Зберегти змінну" + +msgid "Save history" +msgstr "Зберегти журнал" + +msgid "Save file" +msgstr "Зберегти файл" + +msgid "Environment" +msgstr "Середовище" + +msgid "Floating point exception (ieee): " +msgstr "Помилка під час обчислень з рухомою комою (ieee): " + +msgid "Printing format: " +msgstr "Формат показу: " + +msgid "Width: " +msgstr "Ширина: " + +msgid "Language setting" +msgstr "Параметр мови" + +msgid "Default language: " +msgstr "Типова мова: " + +msgid "(This requires a restart of Scilab)" +msgstr "(Потребує перезапуску Scilab)" + +msgid "Java Heap Memory" +msgstr "Пам’ять купи даних Java" + +msgid "Select the memory (in MB) available in Java: " +msgstr "Виберіть об’єм пам’яті (у МБ), доступний у Java: " + +msgid "Use current working directory" +msgstr "Використовувати поточний робочий каталог" + +msgid "Use previous working directory" +msgstr "Використовувати попередній робочий каталог" + +msgid "Use default directory" +msgstr "Використовувати типовий каталог" + +msgid "Default startup directory" +msgstr "Типовий каталог запуску" + +msgid "Desktop Layout" +msgstr "Компонування" + +msgid "Select a layout" +msgstr "Виберіть компонування" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "(Зміна компонування потребуватиме перезапуску Scilab)" + +msgid "Save layout on exiting" +msgstr "Зберігати компонування під час виходу з програми" + +msgid "Reset layout" +msgstr "Відновити початкове компонування" + +msgid "Keys binding" +msgstr "Прив’язка до клавіш" + +msgid "Filter on action name: " +msgstr "Фільтр за назвою дії: " + +msgid "Component" +msgstr "Компонент" + +msgid "Name: " +msgstr "Назва: " + +msgid "Description: " +msgstr "Опис: " + +msgid "Binding: " +msgstr "Прив’язка: " + +msgid "Action name" +msgstr "Назва дії" + +msgid "Key binding" +msgstr "Прив’язка клавіш" + +msgid "File or Directory" +msgstr "Файл або каталог" + +msgid "Scilab Fields" +msgstr "Поля Scilab" + +msgid "Scilab Function" +msgstr "Функція Scilab" + +msgid "Scilab Command" +msgstr "Команда Scilab" + +msgid "Scilab Macro" +msgstr "Макрос Scilab" + +msgid "Scilab Variable" +msgstr "Змінна Scilab" + +msgid "Graphics handle field" +msgstr "Поле елемента керування графіки" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" +"Команда є надто довгою (понад %d символів у довжину): надсилання такої " +"команди до Scilab неможливе.\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" +"[Продовжити показ? Натисніть клавішу «n» (ні), щоб зупинити показ, або будь-" +"яку іншу клавішу, щоб його продовжити]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"Введіть «%s» або «%s», щоб повернутися на стандартний рівень запиту " +"командного рядка.\n" +"\n" + +msgid "Field" +msgstr "Поле" + +msgid "No help" +msgstr "Немає довідки" + +msgid "Out of Screen" +msgstr "Поза межами екрана" + +msgid "Could not change the Console Font." +msgstr "Не вдалося змінити шрифт консолі." + +msgid "Could not change the Console Foreground." +msgstr "Не вдалося змінити параметри тексту у консолі." diff --git a/modules/console/locales/zh_CN.po b/modules/console/locales/zh_CN.po new file mode 100755 index 000000000..596053335 --- /dev/null +++ b/modules/console/locales/zh_CN.po @@ -0,0 +1,804 @@ +# Simplified Chinese translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2013-03-03 08:36+0000\n" +"Last-Translator: Wesh <Unknown>\n" +"Language-Team: Simplified Chinese <zh_CN@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "%s:第%d个输入参数的值错误。\n" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "%s:此功能尚未实现。\n" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "%s:在该模式下此功能尚未实现。\n" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "%s:在该模式下此功能尚未实现。\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s:内存分配错误。\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s:不能读取第%d个输入参数。\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "%s:第%d个输入参数的类型错误:应该为标量。\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s:第%d个输入参数的大小错误:应该为标量。\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "%s:第%d个输入参数的值错误:应该为整数。\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "%s:输入参数#%d的值错误:应该为标量(>= 0)。\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s:第%d个输入参数的类型错误:应该为字符串。\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s:第%d个输入参数的大小错误:应该为字符串。\n" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "%s:输出参数的数目错误。\n" + +msgid "Console" +msgstr "控制台" + +msgid "Display" +msgstr "显示" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "显示行:" + +msgid "Columns to display:" +msgstr "显示列:" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "常规" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "变量格式" + +msgid "Scientific format" +msgstr "科学记数格式" + +msgid "English" +msgstr "英文" + +msgid "French" +msgstr "法语" + +msgid "Portugese (Brazil)" +msgstr "葡萄牙语(巴西)" + +msgid "Catalan" +msgstr "加泰罗尼亚语" + +msgid "Czech" +msgstr "捷克语" + +msgid "Spanish" +msgstr "西班牙语" + +msgid "Italian" +msgstr "意大利语" + +msgid "Polish" +msgstr "波兰语" + +msgid "Russian" +msgstr "俄语" + +msgid "Chinese (Simplified)" +msgstr "简体中文" + +msgid "Chinese (Traditional)" +msgstr "繁体中文" + +msgid "German" +msgstr "德语" + +msgid "Japanese" +msgstr "日语" + +msgid "Ukrainian" +msgstr "乌克兰语" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "退出Scilab时警告" + +msgid "Warn before deleting Command History items" +msgstr "删除命令历史条目时警告" + +msgid "Warn before clearing the Console" +msgstr "清空控制台时警告" + +msgid "Desktop layout" +msgstr "桌面布局" + +msgid "Integrated" +msgstr "集成" + +msgid "Simple" +msgstr "简单" + +msgid "Shortcuts" +msgstr "快捷键" + +msgid "Cut or interrupt" +msgstr "剪切或中断" + +msgid "Copy or interrupt" +msgstr "复制或中断" + +msgid "Select all" +msgstr "全选" + +msgid "Line beginning" +msgstr "行首" + +msgid "Line end" +msgstr "行末" + +msgid "Previous char" +msgstr "前一字符" + +msgid "Delete next char" +msgstr "删除下一字符" + +msgid "Delete previous char" +msgstr "删除前一字符" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "删除整行" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "清空控制台" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "补全" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "帮助浏览器" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "粘贴" + +msgid "Open a file" +msgstr "打开文件" + +msgid "Load environment" +msgstr "加载环境" + +msgid "Save environment" +msgstr "保存环境" + +msgid "Quit" +msgstr "退出" + +msgid "Execute" +msgstr "执行" + +msgid "Empty clipboard" +msgstr "清空剪切板" + +msgid "Change current directory" +msgstr "更改当前目录" + +msgid "Display current directory" +msgstr "显示当前目录" + +msgid "Page setup" +msgstr "页面设置" + +msgid "Print" +msgstr "打印" + +msgid "Preferences" +msgstr "首选项" + +msgid "Show/Hide toolbar" +msgstr "显示/隐藏工具栏" + +msgid "Clear history" +msgstr "清除历史" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "中断" + +msgid "Launch SciNotes" +msgstr "启动SciNotes" + +msgid "Launch Xcos" +msgstr "启动Xcos" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "模块管理器" + +msgid "Variable Browser" +msgstr "变量浏览器" + +msgid "Command History" +msgstr "命令历史" + +msgid "File Browser" +msgstr "文件浏览器" + +msgid "Demonstrations" +msgstr "演示" + +msgid "Open Scilab website" +msgstr "打开Scilab网站" + +msgid "Open Online Help" +msgstr "打开在线帮助" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "打开ATOMS网站" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "打开邮件列表" + +msgid "Open Forge website" +msgstr "打开Forge网站" + +msgid "Open Bugzilla" +msgstr "打开Bugzilla" + +msgid "About Scilab" +msgstr "关于Scilab" + +msgid "Auto complete (, [,..." +msgstr "自动补全 (, [,..." + +msgid "Auto complete keyword" +msgstr "自动补全关键词" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "空格转制表符" + +msgid "Untabify" +msgstr "制表符转空格" + +msgid "Indent" +msgstr "缩进" + +msgid "Comment" +msgstr "注释" + +msgid "Uncomment" +msgstr "取消注释" + +msgid "Remove trailing whites" +msgstr "删除行尾空格" + +msgid "Select block" +msgstr "选择区块" + +msgid "Open current tab in a new window" +msgstr "新窗口中打开当前标签页" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "复制" + +msgid "Cut" +msgstr "剪切" + +msgid "Paste a column" +msgstr "粘贴列" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "撤销" + +msgid "Redo" +msgstr "恢复" + +msgid "Copy as HTML with line number" +msgstr "复制为带行号HTML" + +msgid "New" +msgstr "新建" + +msgid "Open" +msgstr "打开" + +msgid "Open URL" +msgstr "打开URL" + +msgid "Open source" +msgstr "开放源码" + +msgid "Save" +msgstr "保存" + +msgid "Save as" +msgstr "另存为" + +msgid "Reload" +msgstr "重新加载" + +msgid "Print preview" +msgstr "打印预览" + +msgid "Close" +msgstr "关闭" + +msgid "Exit" +msgstr "退出" + +msgid "To lower case" +msgstr "转为小写" + +msgid "To upper case" +msgstr "转为大写" + +msgid "Capitalize" +msgstr "首字母大写" + +msgid "Help on keyword" +msgstr "关键词帮助" + +msgid "Load in Scilab" +msgstr "载入Scilab" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "保存并执行" + +msgid "Save and execute all" +msgstr "全部保存并执行" + +msgid "Find" +msgstr "查找" + +msgid "Find next" +msgstr "查找下一个" + +msgid "Find previous" +msgstr "查找上一个" + +msgid "Incremental search" +msgstr "增量搜索" + +msgid "Set anchor" +msgstr "设置锚点" + +msgid "Remove anchor" +msgstr "移除锚点" + +msgid "Go to next anchor" +msgstr "转到下一个锚点" + +msgid "Go to previous anchor" +msgstr "转到上一个锚点" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "搜索文件" + +msgid "Keyword completion" +msgstr "关键词补全" + +msgid "Help" +msgstr "帮助" + +msgid "About" +msgstr "关于" + +msgid "Next tab" +msgstr "下一个标签" + +msgid "Previous tab" +msgstr "上一个标签" + +msgid "Delete" +msgstr "删除" + +msgid "Next paragraph" +msgstr "下一段落" + +msgid "Previous paragraph" +msgstr "上一段落" + +msgid "Save all" +msgstr "全部保存" + +msgid "Overwrite" +msgstr "覆盖" + +msgid "Close all" +msgstr "全部关闭" + +msgid "Close all but this" +msgstr "关闭其他" + +msgid "Convert quote to double quote" +msgstr "单引号转为双引号" + +msgid "Line numbering" +msgstr "行号" + +msgid "Set the SciNotes font" +msgstr "设置SciNotes字体" + +msgid "Set the SciNotes colors" +msgstr "设置SciNotes颜色" + +msgid "New diagram" +msgstr "新建图表" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "导出" + +msgid "Quit Xcos" +msgstr "退出Xcos" + +msgid "Invert selection" +msgstr "反选" + +msgid "Block Parameters" +msgstr "区块参数" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "放大" + +msgid "Zoom Out" +msgstr "缩小" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "图表浏览器" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "编译" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "停止" + +msgid "Rotate" +msgstr "旋转" + +msgid "Flip" +msgstr "翻转" + +msgid "Mirror" +msgstr "镜像" + +msgid "Show/Hide shadow" +msgstr "显示/隐藏阴影" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "居中" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "边框颜色" + +msgid "Fill Color" +msgstr "填充颜色" + +msgid "Horizontal" +msgstr "水平" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "垂直" + +msgid "Diagram background" +msgstr "图表背景" + +msgid "Grid" +msgstr "网格" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "Xcos帮助" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "关于Xcos" + +msgid "Save variable" +msgstr "保存变量" + +msgid "Save history" +msgstr "保存历史" + +msgid "Save file" +msgstr "保存文件" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "宽度: " + +msgid "Language setting" +msgstr "语言设置" + +msgid "Default language: " +msgstr "默认语言: " + +msgid "(This requires a restart of Scilab)" +msgstr "(需要重启Scilab)" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "桌面布局" + +msgid "Select a layout" +msgstr "选择布局" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "(修改布局需要重启Scilab)" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "组件" + +msgid "Name: " +msgstr "名称: " + +msgid "Description: " +msgstr "描述: " + +msgid "Binding: " +msgstr "绑定: " + +msgid "Action name" +msgstr "操作名" + +msgid "Key binding" +msgstr "键绑定" + +msgid "File or Directory" +msgstr "文件或目录" + +msgid "Scilab Fields" +msgstr "Scilab字段" + +msgid "Scilab Function" +msgstr "Scilab函数" + +msgid "Scilab Command" +msgstr "Scilab命令" + +msgid "Scilab Macro" +msgstr "Scilab宏" + +msgid "Scilab Variable" +msgstr "Scilab变量" + +msgid "Graphics handle field" +msgstr "Scilab句柄域" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "命令过长(超过%d个字符): 无法发送到Scilab\n" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "[继续显示?按n键停止,按任意其他键继续]" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" +"键入‘%s’或‘%s’以返回到标准层提示符。\n" +"\n" + +msgid "Field" +msgstr "字段" + +msgid "No help" +msgstr "无帮助" + +msgid "Out of Screen" +msgstr "超出屏幕" + +msgid "Could not change the Console Font." +msgstr "无法改变控制台字体" + +msgid "Could not change the Console Foreground." +msgstr "无法改变控制台前景" diff --git a/modules/console/locales/zh_TW.po b/modules/console/locales/zh_TW.po new file mode 100755 index 000000000..ecac8f78d --- /dev/null +++ b/modules/console/locales/zh_TW.po @@ -0,0 +1,802 @@ +# Traditional Chinese translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-05-23 02:37+0000\n" +"Last-Translator: MouetteYang <Unknown>\n" +"Language-Team: Traditional Chinese <zh_TW@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "%s: Wrong value for input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented in this mode.\n" +msgstr "" + +#, c-format +msgid "%s: Not implemented in this mode.\n" +msgstr "" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A scalar expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong number of output argument(s).\n" +msgstr "" + +msgid "Console" +msgstr "" + +msgid "Display" +msgstr "" + +msgid "Automatically adapt the display to the console" +msgstr "" + +msgid "Lines to display:" +msgstr "" + +msgid "Columns to display:" +msgstr "" + +msgid "Number of lines in console scroll buffer:" +msgstr "" + +msgid "General" +msgstr "" + +msgid "Produces an error" +msgstr "" + +msgid "Produces a warning" +msgstr "" + +msgid "Produces Inf or NaN" +msgstr "" + +msgid "Variable format" +msgstr "" + +msgid "Scientific format" +msgstr "" + +msgid "English" +msgstr "" + +msgid "French" +msgstr "" + +msgid "Portugese (Brazil)" +msgstr "" + +msgid "Catalan" +msgstr "" + +msgid "Czech" +msgstr "" + +msgid "Spanish" +msgstr "" + +msgid "Italian" +msgstr "" + +msgid "Polish" +msgstr "" + +msgid "Russian" +msgstr "" + +msgid "Chinese (Simplified)" +msgstr "" + +msgid "Chinese (Traditional)" +msgstr "" + +msgid "German" +msgstr "" + +msgid "Japanese" +msgstr "" + +msgid "Ukrainian" +msgstr "" + +msgid "Start-up directory" +msgstr "" + +msgid "Confirmation dialogs" +msgstr "" + +msgid "Warn before exiting Scilab" +msgstr "" + +msgid "Warn before deleting Command History items" +msgstr "" + +msgid "Warn before clearing the Console" +msgstr "" + +msgid "Desktop layout" +msgstr "" + +msgid "Integrated" +msgstr "" + +msgid "Simple" +msgstr "" + +msgid "Shortcuts" +msgstr "" + +msgid "Cut or interrupt" +msgstr "" + +msgid "Copy or interrupt" +msgstr "" + +msgid "Select all" +msgstr "" + +msgid "Line beginning" +msgstr "" + +msgid "Line end" +msgstr "" + +msgid "Previous char" +msgstr "" + +msgid "Delete next char" +msgstr "" + +msgid "Delete previous char" +msgstr "" + +msgid "Delete end of line" +msgstr "" + +msgid "Delete whole line" +msgstr "" + +msgid "Delete last word" +msgstr "" + +msgid "Previous console page" +msgstr "" + +msgid "Next console page" +msgstr "" + +msgid "Validate input" +msgstr "" + +msgid "Clear console" +msgstr "" + +msgid "Console box" +msgstr "" + +msgid "Completion" +msgstr "" + +msgid "Previous history line" +msgstr "" + +msgid "Next history line" +msgstr "" + +msgid "Help Browser" +msgstr "" + +msgid "Console Search Field" +msgstr "" + +msgid "Paste" +msgstr "" + +msgid "Open a file" +msgstr "" + +msgid "Load environment" +msgstr "" + +msgid "Save environment" +msgstr "" + +msgid "Quit" +msgstr "" + +msgid "Execute" +msgstr "" + +msgid "Empty clipboard" +msgstr "" + +msgid "Change current directory" +msgstr "" + +msgid "Display current directory" +msgstr "" + +msgid "Page setup" +msgstr "" + +msgid "Print" +msgstr "" + +msgid "Preferences" +msgstr "" + +msgid "Show/Hide toolbar" +msgstr "" + +msgid "Clear history" +msgstr "" + +msgid "Resume" +msgstr "" + +msgid "Abort" +msgstr "" + +msgid "Interrupt" +msgstr "" + +msgid "Launch SciNotes" +msgstr "" + +msgid "Launch Xcos" +msgstr "" + +msgid "Matlab to Scilab Translator" +msgstr "" + +msgid "Module manager" +msgstr "" + +msgid "Variable Browser" +msgstr "" + +msgid "Command History" +msgstr "" + +msgid "File Browser" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid "Open Scilab website" +msgstr "" + +msgid "Open Online Help" +msgstr "" + +msgid "Open Scilab wiki" +msgstr "" + +msgid "Open ATOMS website" +msgstr "" + +msgid "Open File Exchange website" +msgstr "" + +msgid "Open Mailing lists" +msgstr "" + +msgid "Open Forge website" +msgstr "" + +msgid "Open Bugzilla" +msgstr "" + +msgid "About Scilab" +msgstr "" + +msgid "Auto complete (, [,..." +msgstr "" + +msgid "Auto complete keyword" +msgstr "" + +msgid "Generate Help prototype" +msgstr "" + +msgid "Tabify" +msgstr "" + +msgid "Untabify" +msgstr "" + +msgid "Indent" +msgstr "" + +msgid "Comment" +msgstr "" + +msgid "Uncomment" +msgstr "" + +msgid "Remove trailing whites" +msgstr "" + +msgid "Select block" +msgstr "" + +msgid "Open current tab in a new window" +msgstr "" + +msgid "Export current tab in a new window" +msgstr "" + +msgid "Copy" +msgstr "" + +msgid "Cut" +msgstr "" + +msgid "Paste a column" +msgstr "" + +msgid "Repeat selection on column" +msgstr "" + +msgid "Undo" +msgstr "" + +msgid "Redo" +msgstr "" + +msgid "Copy as HTML with line number" +msgstr "" + +msgid "New" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "Open URL" +msgstr "" + +msgid "Open source" +msgstr "" + +msgid "Save" +msgstr "" + +msgid "Save as" +msgstr "" + +msgid "Reload" +msgstr "" + +msgid "Print preview" +msgstr "" + +msgid "Close" +msgstr "" + +msgid "Exit" +msgstr "" + +msgid "To lower case" +msgstr "" + +msgid "To upper case" +msgstr "" + +msgid "Capitalize" +msgstr "" + +msgid "Help on keyword" +msgstr "" + +msgid "Load in Scilab" +msgstr "" + +msgid "Execute in Scilab" +msgstr "" + +msgid "Evaluate selection" +msgstr "" + +msgid "Save and execute" +msgstr "" + +msgid "Save and execute all" +msgstr "" + +msgid "Find" +msgstr "" + +msgid "Find next" +msgstr "" + +msgid "Find previous" +msgstr "" + +msgid "Incremental search" +msgstr "" + +msgid "Set anchor" +msgstr "" + +msgid "Remove anchor" +msgstr "" + +msgid "Go to next anchor" +msgstr "" + +msgid "Go to previous anchor" +msgstr "" + +msgid "Start Code Navigator" +msgstr "" + +msgid "Search word in file" +msgstr "" + +msgid "Search files" +msgstr "" + +msgid "Keyword completion" +msgstr "" + +msgid "Help" +msgstr "" + +msgid "About" +msgstr "" + +msgid "Next tab" +msgstr "" + +msgid "Previous tab" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Next paragraph" +msgstr "" + +msgid "Previous paragraph" +msgstr "" + +msgid "Save all" +msgstr "" + +msgid "Overwrite" +msgstr "" + +msgid "Close all" +msgstr "" + +msgid "Close all but this" +msgstr "" + +msgid "Convert quote to double quote" +msgstr "" + +msgid "Line numbering" +msgstr "" + +msgid "Set the SciNotes font" +msgstr "" + +msgid "Set the SciNotes colors" +msgstr "" + +msgid "New diagram" +msgstr "" + +msgid "Open file in Scilab current directory" +msgstr "" + +msgid "Export" +msgstr "" + +msgid "Quit Xcos" +msgstr "" + +msgid "Invert selection" +msgstr "" + +msgid "Block Parameters" +msgstr "" + +msgid "Region to superblock" +msgstr "" + +msgid "Zoom In" +msgstr "" + +msgid "Zoom Out" +msgstr "" + +msgid "Fit diagram to view" +msgstr "" + +msgid "Normal 100%" +msgstr "" + +msgid "Palette browser" +msgstr "" + +msgid "Diagram browser" +msgstr "" + +msgid "Viewport" +msgstr "" + +msgid "Details" +msgstr "" + +msgid "Setup" +msgstr "" + +msgid "Execution trace and Debug" +msgstr "" + +msgid "Set Context" +msgstr "" + +msgid "Compile" +msgstr "" + +msgid "Start" +msgstr "" + +msgid "Stop" +msgstr "" + +msgid "Rotate" +msgstr "" + +msgid "Flip" +msgstr "" + +msgid "Mirror" +msgstr "" + +msgid "Show/Hide shadow" +msgstr "" + +msgid "Left" +msgstr "" + +msgid "Center" +msgstr "" + +msgid "Right" +msgstr "" + +msgid "Top" +msgstr "" + +msgid "Middle" +msgstr "" + +msgid "Bottom" +msgstr "" + +msgid "Border Color" +msgstr "" + +msgid "Fill Color" +msgstr "" + +msgid "Horizontal" +msgstr "" + +msgid "Straight" +msgstr "" + +msgid "Vertical" +msgstr "" + +msgid "Diagram background" +msgstr "" + +msgid "Grid" +msgstr "" + +msgid "Code generation" +msgstr "" + +msgid "Xcos Help" +msgstr "" + +msgid "Block Help" +msgstr "" + +msgid "Xcos Demonstrations" +msgstr "" + +msgid "About Xcos" +msgstr "" + +msgid "Save variable" +msgstr "" + +msgid "Save history" +msgstr "" + +msgid "Save file" +msgstr "" + +msgid "Environment" +msgstr "" + +msgid "Floating point exception (ieee): " +msgstr "" + +msgid "Printing format: " +msgstr "" + +msgid "Width: " +msgstr "" + +msgid "Language setting" +msgstr "" + +msgid "Default language: " +msgstr "" + +msgid "(This requires a restart of Scilab)" +msgstr "" + +msgid "Java Heap Memory" +msgstr "" + +msgid "Select the memory (in MB) available in Java: " +msgstr "" + +msgid "Use current working directory" +msgstr "" + +msgid "Use previous working directory" +msgstr "" + +msgid "Use default directory" +msgstr "" + +msgid "Default startup directory" +msgstr "" + +msgid "Desktop Layout" +msgstr "" + +msgid "Select a layout" +msgstr "" + +msgid "(Modify the layout requires to restart Scilab)" +msgstr "" + +msgid "Save layout on exiting" +msgstr "" + +msgid "Reset layout" +msgstr "" + +msgid "Keys binding" +msgstr "" + +msgid "Filter on action name: " +msgstr "" + +msgid "Component" +msgstr "" + +msgid "Name: " +msgstr "" + +msgid "Description: " +msgstr "" + +msgid "Binding: " +msgstr "" + +msgid "Action name" +msgstr "" + +msgid "Key binding" +msgstr "" + +msgid "File or Directory" +msgstr "檔案或目錄" + +msgid "Scilab Fields" +msgstr "" + +msgid "Scilab Function" +msgstr "Scilab 函數" + +msgid "Scilab Command" +msgstr "Scilab 指令" + +msgid "Scilab Macro" +msgstr "Scilab 巨集" + +msgid "Scilab Variable" +msgstr "Scilab 巨集" + +msgid "Graphics handle field" +msgstr "圖形代碼 (handle) 欄" + +#, c-format +msgid "" +"Command is too long (more than %d characters long): could not send it to " +"Scilab\n" +msgstr "" + +msgid "[Continue display? n (no) to stop, any other key to continue]" +msgstr "" + +#, c-format +msgid "" +"Type '%s' or '%s' to return to standard level prompt.\n" +"\n" +msgstr "" + +msgid "Field" +msgstr "欄位" + +msgid "No help" +msgstr "沒有輔助文件" + +msgid "Out of Screen" +msgstr "超出螢幕" + +msgid "Could not change the Console Font." +msgstr "無法改變控制台之字型" + +msgid "Could not change the Console Foreground." +msgstr "無法改變控制台之背景" diff --git a/modules/console/macros/buildmacros.bat b/modules/console/macros/buildmacros.bat new file mode 100755 index 000000000..5ceba4a4f --- /dev/null +++ b/modules/console/macros/buildmacros.bat @@ -0,0 +1,11 @@ +rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) 2007-2008 - INRIA - Allan CORNET +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + + +@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file diff --git a/modules/console/macros/buildmacros.sce b/modules/console/macros/buildmacros.sce new file mode 100755 index 000000000..7a54f5f7c --- /dev/null +++ b/modules/console/macros/buildmacros.sce @@ -0,0 +1,18 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Vincent COUVERT +// Copyright (C) 2007-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 + + +//------------------------------------ +if (isdef("genlib") == %f) then + exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce"); +end +//------------------------------------ +//genlib("consolelib","SCI/modules/console/macros",%f,%t); +//------------------------------------ diff --git a/modules/console/macros/cleanmacros.bat b/modules/console/macros/cleanmacros.bat new file mode 100755 index 000000000..e2bd95012 --- /dev/null +++ b/modules/console/macros/cleanmacros.bat @@ -0,0 +1,13 @@ +rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) 2007-2008 - INRIA - Allan CORNET +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + + +@del *.bin 2>NUL +@del lib 2>NUL +@del names 2>NUL
\ No newline at end of file diff --git a/modules/console/sci_gateway/c/.deps/.dirstamp b/modules/console/sci_gateway/c/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/.dirstamp diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-gw_console.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-gw_console.Plo new file mode 100755 index 000000000..2d274afa8 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-gw_console.Plo @@ -0,0 +1,273 @@ +sci_gateway/c/libsciconsole_la-gw_console.lo: sci_gateway/c/gw_console.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/callFunctionFromGateway.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/callFunctionFromGateway.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_clc.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_clc.Plo new file mode 100755 index 000000000..315f284c4 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_clc.Plo @@ -0,0 +1,292 @@ +sci_gateway/c/libsciconsole_la-sci_clc.lo: sci_gateway/c/sci_clc.c \ + /usr/include/stdc-predef.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/clc.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/clc.h: + +../../modules/core/includes/BOOL.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_iswaitingforinput.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_iswaitingforinput.Plo new file mode 100755 index 000000000..7aeb5a175 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_iswaitingforinput.Plo @@ -0,0 +1,298 @@ +sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/sci_iswaitingforinput.c /usr/include/stdc-predef.h \ + includes/gw_console.h includes/dynlib_console.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/ConsoleIsWaitingForInput.h \ + includes/dynlib_console.h ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/ConsoleIsWaitingForInput.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_lines.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_lines.Plo new file mode 100755 index 000000000..8de936ba4 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_lines.Plo @@ -0,0 +1,303 @@ +sci_gateway/c/libsciconsole_la-sci_lines.lo: sci_gateway/c/sci_lines.c \ + /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h includes/scilines.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + includes/dynlib_console.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h includes/gw_console.h \ + src/c/ScilabLinesUpdate.h includes/dynlib_console.h \ + ../../modules/core/includes/scilabmode.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +includes/scilines.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +includes/gw_console.h: + +src/c/ScilabLinesUpdate.h: + +includes/dynlib_console.h: + +../../modules/core/includes/scilabmode.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_prompt.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_prompt.Plo new file mode 100755 index 000000000..adf0afe7c --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_prompt.Plo @@ -0,0 +1,286 @@ +sci_gateway/c/libsciconsole_la-sci_prompt.lo: sci_gateway/c/sci_prompt.c \ + /usr/include/stdc-predef.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h includes/prompt.h \ + ../../modules/core/includes/machine.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +includes/prompt.h: + +../../modules/core/includes/machine.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_tohome.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_tohome.Plo new file mode 100755 index 000000000..ac3f5ea3b --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_la-sci_tohome.Plo @@ -0,0 +1,288 @@ +sci_gateway/c/libsciconsole_la-sci_tohome.lo: sci_gateway/c/sci_tohome.c \ + /usr/include/stdc-predef.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + src/c/tohome.h ../../modules/core/includes/BOOL.h \ + includes/dynlib_console.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +src/c/tohome.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-gw_console.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-gw_console.Plo new file mode 100755 index 000000000..3961fcf5a --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-gw_console.Plo @@ -0,0 +1,274 @@ +sci_gateway/c/libsciconsole_minimal_la-gw_console.lo: \ + sci_gateway/c/gw_console.c /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/callFunctionFromGateway.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/callFunctionFromGateway.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_clc.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_clc.Plo new file mode 100755 index 000000000..2cb14181b --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_clc.Plo @@ -0,0 +1,292 @@ +sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo: \ + sci_gateway/c/sci_clc.c /usr/include/stdc-predef.h includes/gw_console.h \ + includes/dynlib_console.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/clc.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/clc.h: + +../../modules/core/includes/BOOL.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_iswaitingforinput.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_iswaitingforinput.Plo new file mode 100755 index 000000000..7a90faa69 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_iswaitingforinput.Plo @@ -0,0 +1,298 @@ +sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo: \ + sci_gateway/c/sci_iswaitingforinput.c /usr/include/stdc-predef.h \ + includes/gw_console.h includes/dynlib_console.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/ConsoleIsWaitingForInput.h \ + includes/dynlib_console.h ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/ConsoleIsWaitingForInput.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_lines.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_lines.Plo new file mode 100755 index 000000000..a4a3e1bef --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_lines.Plo @@ -0,0 +1,303 @@ +sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo: \ + sci_gateway/c/sci_lines.c /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h includes/scilines.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + includes/dynlib_console.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h includes/gw_console.h \ + src/c/ScilabLinesUpdate.h includes/dynlib_console.h \ + ../../modules/core/includes/scilabmode.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +includes/scilines.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +includes/gw_console.h: + +src/c/ScilabLinesUpdate.h: + +includes/dynlib_console.h: + +../../modules/core/includes/scilabmode.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_prompt.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_prompt.Plo new file mode 100755 index 000000000..cccda722b --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_prompt.Plo @@ -0,0 +1,287 @@ +sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo: \ + sci_gateway/c/sci_prompt.c /usr/include/stdc-predef.h \ + includes/gw_console.h includes/dynlib_console.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h includes/prompt.h \ + ../../modules/core/includes/machine.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +includes/prompt.h: + +../../modules/core/includes/machine.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: diff --git a/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_tohome.Plo b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_tohome.Plo new file mode 100755 index 000000000..4cecfa3e3 --- /dev/null +++ b/modules/console/sci_gateway/c/.deps/libsciconsole_minimal_la-sci_tohome.Plo @@ -0,0 +1,289 @@ +sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo: \ + sci_gateway/c/sci_tohome.c /usr/include/stdc-predef.h \ + includes/gw_console.h includes/dynlib_console.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + src/c/tohome.h ../../modules/core/includes/BOOL.h \ + includes/dynlib_console.h \ + ../../modules/output_stream/includes/sciprint.h + +/usr/include/stdc-predef.h: + +includes/gw_console.h: + +includes/dynlib_console.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +src/c/tohome.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/sciprint.h: diff --git a/modules/console/sci_gateway/c/.dirstamp b/modules/console/sci_gateway/c/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/sci_gateway/c/.dirstamp diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-gw_console.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-gw_console.o Binary files differnew file mode 100755 index 000000000..d27588b7a --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-gw_console.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_clc.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_clc.o Binary files differnew file mode 100755 index 000000000..fe3c66134 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_clc.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_iswaitingforinput.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_iswaitingforinput.o Binary files differnew file mode 100755 index 000000000..4871c9817 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_iswaitingforinput.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_lines.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_lines.o Binary files differnew file mode 100755 index 000000000..55bca3bdf --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_lines.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_prompt.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_prompt.o Binary files differnew file mode 100755 index 000000000..f9988b611 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_prompt.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_tohome.o b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_tohome.o Binary files differnew file mode 100755 index 000000000..1095f19e9 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_la-sci_tohome.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-gw_console.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-gw_console.o Binary files differnew file mode 100755 index 000000000..d27588b7a --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-gw_console.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_clc.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_clc.o Binary files differnew file mode 100755 index 000000000..fe3c66134 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_clc.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_iswaitingforinput.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_iswaitingforinput.o Binary files differnew file mode 100755 index 000000000..4871c9817 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_iswaitingforinput.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_lines.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_lines.o Binary files differnew file mode 100755 index 000000000..55bca3bdf --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_lines.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_prompt.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_prompt.o Binary files differnew file mode 100755 index 000000000..f9988b611 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_prompt.o diff --git a/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_tohome.o b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_tohome.o Binary files differnew file mode 100755 index 000000000..1095f19e9 --- /dev/null +++ b/modules/console/sci_gateway/c/.libs/libsciconsole_minimal_la-sci_tohome.o diff --git a/modules/console/sci_gateway/c/gw_console.c b/modules/console/sci_gateway/c/gw_console.c new file mode 100755 index 000000000..115c8cbbe --- /dev/null +++ b/modules/console/sci_gateway/c/gw_console.c @@ -0,0 +1,41 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <string.h> +#include "gw_console.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "callFunctionFromGateway.h" +/*--------------------------------------------------------------------------*/ +static gw_generic_table Tab[] = +{ + {sci_clc, "clc"}, + {sci_tohome, "tohome"}, + {sci_lines, "lines"}, + {sci_prompt, "prompt"}, + {sci_iswaitingforinput, "iswaitingforinput"} +}; +/*--------------------------------------------------------------------------*/ +int gw_console(void) +{ + Rhs = Max(0, Rhs); + + if (pvApiCtx == NULL) + { + pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); + } + + pvApiCtx->pstName = (char*)Tab[Fin - 1].name; + callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab)); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/c/libsciconsole_la-gw_console.lo b/modules/console/sci_gateway/c/libsciconsole_la-gw_console.lo new file mode 100755 index 000000000..410613256 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-gw_console.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-gw_console.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-gw_console.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_la-sci_clc.lo b/modules/console/sci_gateway/c/libsciconsole_la-sci_clc.lo new file mode 100755 index 000000000..622ad44ee --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-sci_clc.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-sci_clc.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-sci_clc.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo b/modules/console/sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo new file mode 100755 index 000000000..84f43d3f4 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-sci_iswaitingforinput.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-sci_iswaitingforinput.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_la-sci_lines.lo b/modules/console/sci_gateway/c/libsciconsole_la-sci_lines.lo new file mode 100755 index 000000000..ad5c83e48 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-sci_lines.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-sci_lines.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-sci_lines.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_la-sci_prompt.lo b/modules/console/sci_gateway/c/libsciconsole_la-sci_prompt.lo new file mode 100755 index 000000000..4f6e1e107 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-sci_prompt.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-sci_prompt.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-sci_prompt.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_la-sci_tohome.lo b/modules/console/sci_gateway/c/libsciconsole_la-sci_tohome.lo new file mode 100755 index 000000000..bdc4ee520 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_la-sci_tohome.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_la-sci_tohome.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-sci_tohome.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-gw_console.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-gw_console.lo new file mode 100755 index 000000000..158fb337a --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-gw_console.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-gw_console.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-gw_console.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo new file mode 100755 index 000000000..dd2f5c0e9 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-sci_clc.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-sci_clc.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo new file mode 100755 index 000000000..777efe077 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-sci_iswaitingforinput.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-sci_iswaitingforinput.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo new file mode 100755 index 000000000..2413fc6d6 --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-sci_lines.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-sci_lines.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo new file mode 100755 index 000000000..bf65a55cc --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-sci_prompt.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-sci_prompt.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo new file mode 100755 index 000000000..95312b66b --- /dev/null +++ b/modules/console/sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libsciconsole_minimal_la-sci_tohome.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-sci_tohome.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/sci_gateway/c/sci_clc.c b/modules/console/sci_gateway/c/sci_clc.c new file mode 100755 index 000000000..f4cde77e4 --- /dev/null +++ b/modules/console/sci_gateway/c/sci_clc.c @@ -0,0 +1,67 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +/* desc : interface for clc primitive */ +/*--------------------------------------------------------------------------*/ +#include "gw_console.h" +#include "stack-c.h" +#include "clc.h" +#include "Scierror.h" +#include "localization.h" +#include "sciprint.h" +/*--------------------------------------------------------------------------*/ +int sci_clc(char *fname, unsigned long fname_len) +{ + BOOL res = FALSE; + int nblines = -1; + + Rhs = Max(Rhs, 0); + CheckRhs(0, 1); + CheckLhs(0, 1); + + if (Rhs == 1) + { + if ( GetType(1) == sci_matrix ) + { + int l1, m1 = 1, n1 = 1; + GetRhsVar(1, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1); + nblines = *istk(l1); + + if (nblines < 0) + { + Scierror(999, _("%s: Wrong value for input argument #%d.\n"), fname, 1); + return 0; + } + } + else + { + Scierror(999, _("%s: This feature has not been implemented.\n"), fname); + return 0; + } + } + else + { + /* Clear console full */ + nblines = -1; + } + + res = clc(nblines); + if (!res) + { + sciprint(_("%s: This feature has not been implemented in this mode.\n"), fname); + } + + LhsVar(1) = 0; + PutLhsVar(); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/c/sci_iswaitingforinput.c b/modules/console/sci_gateway/c/sci_iswaitingforinput.c new file mode 100755 index 000000000..b6fd14c68 --- /dev/null +++ b/modules/console/sci_gateway/c/sci_iswaitingforinput.c @@ -0,0 +1,48 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Vincent COUVERT + * + * 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 + * + */ +/*--------------------------------------------------------------------------*/ +/* desc: interface for iswaitingforinput primitive */ +/*--------------------------------------------------------------------------*/ +#include "gw_console.h" +#include "stack-c.h" +#include "ConsoleIsWaitingForInput.h" +#include "scilabmode.h" +#include "Scierror.h" +#include "localization.h" +#include "sciprint.h" +/*--------------------------------------------------------------------------*/ +int sci_iswaitingforinput(char *fname, unsigned long fname_len) +{ + BOOL res = FALSE; + int un = 1, outIndex = 0; + + Rhs = Max(Rhs, 0); + CheckRhs(0, 1); + CheckLhs(0, 1); + + if (getScilabMode() == SCILAB_STD) + { + res = ConsoleIsWaitingForInput(); + } + else + { + sciprint(_("%s: Not implemented in this mode.\n"), fname); + } + + CreateVar(Rhs + 1, MATRIX_OF_BOOLEAN_DATATYPE, &un, &un, &outIndex); + *istk(outIndex) = res; + + LhsVar(1) = Rhs + 1; + PutLhsVar(); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/c/sci_lines.c b/modules/console/sci_gateway/c/sci_lines.c new file mode 100755 index 000000000..317627276 --- /dev/null +++ b/modules/console/sci_gateway/c/sci_lines.c @@ -0,0 +1,339 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2011-2012 - DIGITEO - 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 "api_scilab.h" +#include "scilines.h" +#include "Scierror.h" +#include "localization.h" +#include "MALLOC.h" +#include "gw_console.h" +#include "ScilabLinesUpdate.h" +#include "scilabmode.h" +/*--------------------------------------------------------------------------*/ +static int sci_lines_no_rhs(char *fname); +static int sci_lines_one_rhs(char *fname); +static int sci_lines_two_rhs(char *fname); +/*--------------------------------------------------------------------------*/ +int sci_lines(char *fname, unsigned long fname_len) +{ + CheckRhs(0, 2); + CheckLhs(1, 1); + + switch (Rhs) + { + case 0: + sci_lines_no_rhs(fname); + break; + case 1: + sci_lines_one_rhs(fname); + break; + case 2: + sci_lines_two_rhs(fname); + break; + } + return 0; +} +/*--------------------------------------------------------------------------*/ +static int sci_lines_no_rhs(char *fname) +{ + /* ncl = lines() */ + /* with ncl a 1x2 vector [nc , nl] */ + /* for compatibility BUT order should be [nl, nc] */ + /* input/output not coherents */ + SciErr sciErr; + double returnedDouble[2]; + int n1 = 0, m1 = 0; + + returnedDouble[0] = (double)getColumnsSize(); + returnedDouble[1] = (double)getLinesSize(); + + n1 = 1; + m1 = 2; + sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 1, n1, m1, returnedDouble); + + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Memory allocation error.\n"), fname); + return 0; + } + + LhsVar(1) = Rhs + 1; + PutLhsVar(); + + return 0; +} +/*--------------------------------------------------------------------------*/ +static int sci_lines_one_rhs(char *fname) +{ + /* lines(nb_lines) */ + /* nb_lines == -1 auto */ + /* nb_lines == 0 no stop on display */ + /* nb_lines > 0 set value */ + SciErr sciErr; + int *piAddressVarOne = NULL; + + int isScalarInput = 0; + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddressVarOne); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + + /* compatibility with previous version manages int32 and double */ + if (!(isDoubleType(pvApiCtx, piAddressVarOne) || isIntegerType(pvApiCtx, piAddressVarOne))) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1); + return 0; + } + + isScalarInput = isScalar(pvApiCtx, piAddressVarOne); + + if (!isScalarInput && !checkVarDimension(pvApiCtx, piAddressVarOne, 1, 2)) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A scalar expected.\n"), fname, 1); + return 0; + } + + if (isScalarInput) + { + int iParam1 = 0; + if (isIntegerType(pvApiCtx, piAddressVarOne)) + { + if (getScalarInteger32(pvApiCtx, piAddressVarOne, &iParam1) != 0) + { + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + } + else // double + { + double dParam1 = 0.; + if (getScalarDouble(pvApiCtx, piAddressVarOne, &dParam1) == 0) + { + iParam1 = (int)dParam1; + if (dParam1 != (double)iParam1) + { + Scierror(999, _("%s: Wrong value for input argument #%d: An integer value expected.\n"), fname, 1); + return 0; + } + } + else + { + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + } + + if (iParam1 == -1) + { + scilinesdefault(); + if (getScilabMode() == SCILAB_STD) + { + ScilabLinesUpdate(); + } + } + else + { + if (iParam1 < 0) + { + Scierror(999, _("%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n"), fname, 1); + return 0; + } + else + { + setLinesSize(iParam1); + } + } + } + else + { + int iLinesValues[2]; + + if (isIntegerType(pvApiCtx, piAddressVarOne)) + { + int *iParams1 = NULL; + int m = 0, n = 0; + sciErr = getMatrixOfInteger32(pvApiCtx, piAddressVarOne, &m, &n, &iParams1); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + iLinesValues[0] = iParams1[0]; + iLinesValues[1] = iParams1[1]; + } + else // double + { + double *dParams1 = NULL; + int m = 0, n = 0; + + sciErr = getMatrixOfDouble(pvApiCtx, piAddressVarOne, &m, &n, &dParams1); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + + iLinesValues[0] = (int)dParams1[0]; + iLinesValues[1] = (int)dParams1[1]; + + if ((dParams1[0] != (double)iLinesValues[0]) || + (dParams1[1] != (double)iLinesValues[1])) + { + Scierror(999, _("%s: Wrong value for input argument #%d: An integer value expected.\n"), fname, 1); + return 0; + } + } + + if ((iLinesValues[0] < 0) || (iLinesValues[1] < 0)) + { + Scierror(999, _("%s: Wrong value for input argument #%d.\n"), fname, 1); + return 0; + } + + scilines(iLinesValues[1], iLinesValues[0]); + } + + LhsVar(1) = 0; + PutLhsVar(); + return 0; +} +/*--------------------------------------------------------------------------*/ +static int sci_lines_two_rhs(char *fname) +{ + /* lines (nl, nc) */ + SciErr sciErr; + int *piAddressVarOne = NULL; + int *piAddressVarTwo = NULL; + + int iParam1 = 0; + int iParam2 = 0; + + sciErr = getVarAddressFromPosition(pvApiCtx, 2, &piAddressVarTwo); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 2); + return 0; + } + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddressVarOne); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + + /* compatibility with previous version manages int32 and double */ + if (!(isDoubleType(pvApiCtx, piAddressVarOne) || isIntegerType(pvApiCtx, piAddressVarOne))) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1); + return 0; + } + + if (!(isDoubleType(pvApiCtx, piAddressVarTwo) || isIntegerType(pvApiCtx, piAddressVarTwo))) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 2); + return 0; + } + + if (!isScalar(pvApiCtx, piAddressVarOne)) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A scalar expected.\n"), fname, 1); + return 0; + } + + if (!isScalar(pvApiCtx, piAddressVarTwo)) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A scalar expected.\n"), fname, 2); + return 0; + } + + if (isIntegerType(pvApiCtx, piAddressVarOne)) + { + if (getScalarInteger32(pvApiCtx, piAddressVarOne, &iParam1) != 0) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1); + return 0; + } + } + else // double + { + double dParam1 = 0.; + if (getScalarDouble(pvApiCtx, piAddressVarOne, &dParam1) == 0) + { + iParam1 = (int)dParam1; + } + } + + if (isIntegerType(pvApiCtx, piAddressVarTwo)) + { + if (getScalarInteger32(pvApiCtx, piAddressVarTwo, &iParam2) != 0) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 2); + return 0; + } + } + else // double + { + double dParam2 = 0.; + if (getScalarDouble(pvApiCtx, piAddressVarTwo, &dParam2) == 0) + { + iParam2 = (int)dParam2; + } + } + + + if (iParam1 == -1) + { + scilinesdefault(); + if (getScilabMode() == SCILAB_STD) + { + ScilabLinesUpdate(); + } + } + else + { + if (iParam1 < 0) + { + Scierror(999, _("%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n"), fname, 1); + return 0; + } + else + { + setLinesSize(iParam1); + } + } + + if (iParam2 > 0) + { + setColumnsSize(iParam2); + } + else + { + Scierror(999, _("%s: Wrong value for input argument #%d: A scalar (>= 0) expected.\n"), fname, 2); + return 0; + } + + LhsVar(1) = 0; + PutLhsVar(); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/c/sci_prompt.c b/modules/console/sci_gateway/c/sci_prompt.c new file mode 100755 index 000000000..7f3cfad27 --- /dev/null +++ b/modules/console/sci_gateway/c/sci_prompt.c @@ -0,0 +1,85 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2009 - DIGITEO - 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_console.h" +#include "stack-c.h" +#include "prompt.h" +#include "Scierror.h" +#include "localization.h" +/*--------------------------------------------------------------------------*/ +int sci_prompt(char *fname, unsigned long fname_len) +{ + char currentPrompt[PROMPT_SIZE_MAX]; + static int n1 = 0, m1 = 0, l1 = 0; + int outIndex = 0 ; + + CheckRhs(0, 1); + CheckLhs(0, 2); + + if (Rhs == 0) /* Get current Scilab prompt */ + { + GetCurrentPrompt(currentPrompt); + + m1 = (int)strlen(currentPrompt); + n1 = 1; + CreateVar( Rhs + 1, STRING_DATATYPE, &m1, &n1, &outIndex); + strcpy(cstk(outIndex), currentPrompt); + + if (Lhs == 2) + { + m1 = 1; + n1 = 1; + l1 = 0; + + CreateVar( Rhs + 2, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1 ); + *istk(l1) = (int)C2F(recu).paus ; + } + + LhsVar(1) = Rhs + 1; + if (Lhs == 2) + { + LhsVar(2) = Rhs + 2; + } + PutLhsVar(); + } + else /* Tempory change of Scilab prompt */ + { + if (Lhs <= 1) + { + if (VarType(1) != sci_strings) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A string expected.\n"), fname, 1); + return FALSE; + } + + GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1); + + if (n1 != 1) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A string expected.\n"), fname, 1); + return FALSE; + } + + SetTemporaryPrompt(cstk(l1)); + + LhsVar(1) = 0; + PutLhsVar(); + } + else + { + Scierror(999, _("%s: Wrong number of output argument(s).\n"), fname); + } + } + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/c/sci_tohome.c b/modules/console/sci_gateway/c/sci_tohome.c new file mode 100755 index 000000000..7b40523d1 --- /dev/null +++ b/modules/console/sci_gateway/c/sci_tohome.c @@ -0,0 +1,37 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*------------------------------------------------------------------------*/ +/* desc : interface for tohome primitive */ +/*------------------------------------------------------------------------*/ +#include "gw_console.h" +#include "api_scilab.h" +#include "localization.h" +#include "tohome.h" +#include "sciprint.h" +/*--------------------------------------------------------------------------*/ +int sci_tohome(char *fname, unsigned long fname_len) +{ + + CheckRhs(0, 0); + CheckLhs(0, 1); + + if (!tohome()) + { + sciprint(_("%s: This feature has not been implemented in this mode.\n"), fname); + } + + LhsVar(1) = 0; + PutLhsVar(); + + return 0 ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/sci_gateway/console_gateway.xml b/modules/console/sci_gateway/console_gateway.xml new file mode 100755 index 000000000..4ea142a43 --- /dev/null +++ b/modules/console/sci_gateway/console_gateway.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2011 - DIGITEO - 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 + * + --> +<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd"> +<GATEWAY name="console"> + <!-- =================== --> + <!-- + Scilab + Interface description. In this file, we define the list of the function which + will be available into Scilab and the link to the "native" function. + + gatewayId is the position in the hashtable 'Interfaces' defined in the + file SCI/modules/core/src/c/callinterf.h + + primitiveId is the position in the hashtable '<module>Table Tab[]' defined + in the file modules/<module>/sci_gateway/c/gw_<module>.c + + primitiveName is the name of the Scilab function + + Don't touch if you do not know what you are doing +--> + <!-- =================== --> + <PRIMITIVE gatewayId="53" primitiveId="1" primitiveName="clc"/> + <PRIMITIVE gatewayId="53" primitiveId="2" primitiveName="tohome"/> + <PRIMITIVE gatewayId="53" primitiveId="3" primitiveName="lines"/> + <PRIMITIVE gatewayId="53" primitiveId="4" primitiveName="prompt"/> + <PRIMITIVE gatewayId="53" primitiveId="5" primitiveName="iswaitingforinput"/> +</GATEWAY> diff --git a/modules/console/src/c/.deps/.dirstamp b/modules/console/src/c/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/.deps/.dirstamp diff --git a/modules/console/src/c/.deps/libsciconsole_la-GuiManagement.Plo b/modules/console/src/c/.deps/libsciconsole_la-GuiManagement.Plo new file mode 100755 index 000000000..edbb1bdda --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_la-GuiManagement.Plo @@ -0,0 +1,16 @@ +src/c/libsciconsole_la-GuiManagement.lo: src/c/GuiManagement.c \ + /usr/include/stdc-predef.h src/c/GuiManagement.h includes/scilines.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + includes/dynlib_console.h + +/usr/include/stdc-predef.h: + +src/c/GuiManagement.h: + +includes/scilines.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: diff --git a/modules/console/src/c/.deps/libsciconsole_la-dropFiles.Plo b/modules/console/src/c/.deps/libsciconsole_la-dropFiles.Plo new file mode 100755 index 000000000..b728fc64f --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_la-dropFiles.Plo @@ -0,0 +1,151 @@ +src/c/libsciconsole_la-dropFiles.lo: src/c/dropFiles.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h src/c/dropFiles.h \ + ../../modules/core/includes/BOOL.h ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/storeCommand.h \ + ../../modules/core/includes/machine.h \ + ../../modules/fileio/includes/FindFileExtension.h \ + ../../modules/fileio/includes/dynlib_fileio.h \ + ../../modules/fileio/includes/URIFileToFilename.h \ + src/c/../../../string/includes/stricmp.h \ + src/c/../../../core/src/c/with_module.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +src/c/dropFiles.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/storeCommand.h: + +../../modules/core/includes/machine.h: + +../../modules/fileio/includes/FindFileExtension.h: + +../../modules/fileio/includes/dynlib_fileio.h: + +../../modules/fileio/includes/URIFileToFilename.h: + +src/c/../../../string/includes/stricmp.h: + +src/c/../../../core/src/c/with_module.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-GetCommandLine.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-GetCommandLine.Plo new file mode 100755 index 000000000..a7b85e6c5 --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-GetCommandLine.Plo @@ -0,0 +1,235 @@ +src/c/libsciconsole_minimal_la-GetCommandLine.lo: src/c/GetCommandLine.c \ + /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h \ + ../../modules/core/includes/Thread_Wrapper.h /usr/include/pthread.h \ + /usr/include/sched.h /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + ../../modules/core/includes/BOOL.h src/c/ConsoleRead.h \ + includes/dynlib_console.h src/c/SetConsolePrompt.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h includes/prompt.h \ + ../../modules/core/includes/machine.h includes/dynlib_console.h \ + ../../modules/history_manager/includes/HistoryManager.h \ + ../../modules/history_manager/includes/dynlib_history_manager.h \ + ../../modules/core/includes/storeCommand.h includes/getKey.h \ + includes/initConsoleMode.h includes/GetCommandLine.h \ + src/c/TermReadAndProcess.h \ + ../../modules/ui_data/includes/BrowseVarManager.h \ + ../../modules/ui_data/includes/dynlib_ui_data.h \ + ../../modules/fileio/includes/scicurdir.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/fileio/includes/dynlib_fileio.h \ + ../../modules/ui_data/includes/FileBrowserChDir.h \ + ../../modules/jvm/includes/InitializeJVM.h \ + ../../modules/jvm/includes/dynlib_jvm.h \ + /usr/include/x86_64-linux-gnu/sys/mman.h \ + /usr/include/x86_64-linux-gnu/bits/mman.h \ + /usr/include/x86_64-linux-gnu/bits/mman-linux.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +../../modules/core/includes/Thread_Wrapper.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +../../modules/core/includes/BOOL.h: + +src/c/ConsoleRead.h: + +includes/dynlib_console.h: + +src/c/SetConsolePrompt.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +includes/prompt.h: + +../../modules/core/includes/machine.h: + +includes/dynlib_console.h: + +../../modules/history_manager/includes/HistoryManager.h: + +../../modules/history_manager/includes/dynlib_history_manager.h: + +../../modules/core/includes/storeCommand.h: + +includes/getKey.h: + +includes/initConsoleMode.h: + +includes/GetCommandLine.h: + +src/c/TermReadAndProcess.h: + +../../modules/ui_data/includes/BrowseVarManager.h: + +../../modules/ui_data/includes/dynlib_ui_data.h: + +../../modules/fileio/includes/scicurdir.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/fileio/includes/dynlib_fileio.h: + +../../modules/ui_data/includes/FileBrowserChDir.h: + +../../modules/jvm/includes/InitializeJVM.h: + +../../modules/jvm/includes/dynlib_jvm.h: + +/usr/include/x86_64-linux-gnu/sys/mman.h: + +/usr/include/x86_64-linux-gnu/bits/mman.h: + +/usr/include/x86_64-linux-gnu/bits/mman-linux.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-clc.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-clc.Plo new file mode 100755 index 000000000..8c09a3633 --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-clc.Plo @@ -0,0 +1,130 @@ +src/c/libsciconsole_minimal_la-clc.lo: src/c/clc.c \ + /usr/include/stdc-predef.h /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h src/c/clc.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + src/c/ClearConsole.h includes/dynlib_console.h src/c/ClearConsolePart.h \ + src/c/others/clrscr_nw.h + +/usr/include/stdc-predef.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +src/c/clc.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +src/c/ClearConsole.h: + +includes/dynlib_console.h: + +src/c/ClearConsolePart.h: + +src/c/others/clrscr_nw.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-more.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-more.Plo new file mode 100755 index 000000000..a45d1df9e --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-more.Plo @@ -0,0 +1,91 @@ +src/c/libsciconsole_minimal_la-more.lo: src/c/more.c \ + /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h includes/more.h \ + includes/dynlib_console.h ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h src/c/GetCharWithoutOutput.h \ + includes/dynlib_console.h includes/ConsolePrintf.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +includes/more.h: + +includes/dynlib_console.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +src/c/GetCharWithoutOutput.h: + +includes/dynlib_console.h: + +includes/ConsolePrintf.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-prompt.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-prompt.Plo new file mode 100755 index 000000000..c987de92f --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-prompt.Plo @@ -0,0 +1,158 @@ +src/c/libsciconsole_minimal_la-prompt.lo: src/c/prompt.c \ + /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h includes/prompt.h \ + ../../modules/core/includes/machine.h includes/dynlib_console.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/warningmode.h \ + ../../modules/core/includes/BOOL.h ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/prompt.h: + +../../modules/core/includes/machine.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/warningmode.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-promptecho.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-promptecho.Plo new file mode 100755 index 000000000..a836e6b82 --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-promptecho.Plo @@ -0,0 +1,144 @@ +src/c/libsciconsole_minimal_la-promptecho.lo: src/c/promptecho.c \ + /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h src/c/promptecho.h \ + ../../modules/core/includes/machine.h includes/dynlib_console.h \ + ../../modules/output_stream/includes/basout.h \ + ../../modules/output_stream/includes/dynlib_output_stream.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h includes/prompt.h \ + includes/dynlib_console.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +src/c/promptecho.h: + +../../modules/core/includes/machine.h: + +includes/dynlib_console.h: + +../../modules/output_stream/includes/basout.h: + +../../modules/output_stream/includes/dynlib_output_stream.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +includes/prompt.h: + +includes/dynlib_console.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-scilines.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-scilines.Plo new file mode 100755 index 000000000..362257436 --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-scilines.Plo @@ -0,0 +1,204 @@ +src/c/libsciconsole_minimal_la-scilines.lo: src/c/scilines.c \ + /usr/include/stdc-predef.h ../../modules/core/includes/machine.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/curses.h \ + /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/termcap.h includes/scilines.h \ + ../../modules/core/includes/BOOL.h includes/dynlib_console.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h + +/usr/include/stdc-predef.h: + +../../modules/core/includes/machine.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/termcap.h: + +includes/scilines.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: diff --git a/modules/console/src/c/.deps/libsciconsole_minimal_la-tohome.Plo b/modules/console/src/c/.deps/libsciconsole_minimal_la-tohome.Plo new file mode 100755 index 000000000..18a7b62a0 --- /dev/null +++ b/modules/console/src/c/.deps/libsciconsole_minimal_la-tohome.Plo @@ -0,0 +1,103 @@ +src/c/libsciconsole_minimal_la-tohome.lo: src/c/tohome.c \ + /usr/include/stdc-predef.h /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h src/c/tohome.h \ + ../../modules/core/includes/BOOL.h includes/dynlib_console.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \ + src/c/PromptToHome.h src/c/others/clrscr_nw.h + +/usr/include/stdc-predef.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +src/c/tohome.h: + +../../modules/core/includes/BOOL.h: + +includes/dynlib_console.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: + +src/c/PromptToHome.h: + +src/c/others/clrscr_nw.h: diff --git a/modules/console/src/c/.dirstamp b/modules/console/src/c/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/.dirstamp diff --git a/modules/console/src/c/.libs/libsciconsole_la-GuiManagement.o b/modules/console/src/c/.libs/libsciconsole_la-GuiManagement.o Binary files differnew file mode 100755 index 000000000..8a01358d5 --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_la-GuiManagement.o diff --git a/modules/console/src/c/.libs/libsciconsole_la-dropFiles.o b/modules/console/src/c/.libs/libsciconsole_la-dropFiles.o Binary files differnew file mode 100755 index 000000000..c4a5f3de4 --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_la-dropFiles.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-GetCommandLine.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-GetCommandLine.o Binary files differnew file mode 100755 index 000000000..7237fe41a --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-GetCommandLine.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-clc.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-clc.o Binary files differnew file mode 100755 index 000000000..bbe4f92e0 --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-clc.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-more.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-more.o Binary files differnew file mode 100755 index 000000000..0a0a1c69b --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-more.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-prompt.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-prompt.o Binary files differnew file mode 100755 index 000000000..8890ce99b --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-prompt.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-promptecho.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-promptecho.o Binary files differnew file mode 100755 index 000000000..21d35e76e --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-promptecho.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-scilines.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-scilines.o Binary files differnew file mode 100755 index 000000000..a04bedb5b --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-scilines.o diff --git a/modules/console/src/c/.libs/libsciconsole_minimal_la-tohome.o b/modules/console/src/c/.libs/libsciconsole_minimal_la-tohome.o Binary files differnew file mode 100755 index 000000000..33f523361 --- /dev/null +++ b/modules/console/src/c/.libs/libsciconsole_minimal_la-tohome.o diff --git a/modules/console/src/c/ClearConsole.h b/modules/console/src/c/ClearConsole.h new file mode 100755 index 000000000..b176515fb --- /dev/null +++ b/modules/console/src/c/ClearConsole.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-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 + * + */ + +#ifndef __CLEARCONSOLE_H__ +#define __CLEARCONSOLE_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" +/*--------------------------------------------------------------------------*/ +/** +* Clear Java console +* @return a boolean +*/ +CONSOLE_IMPEXP BOOL ClearConsole(void); +/*--------------------------------------------------------------------------*/ +#endif /*__CLEARCONSOLE_H__ */ + diff --git a/modules/console/src/c/ClearConsolePart.h b/modules/console/src/c/ClearConsolePart.h new file mode 100755 index 000000000..0fead9145 --- /dev/null +++ b/modules/console/src/c/ClearConsolePart.h @@ -0,0 +1,27 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-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 + * + */ + +#ifndef __CLEARCONSOLEPART_H__ +#define __CLEARCONSOLEPART_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" +/*--------------------------------------------------------------------------*/ +/** +* Clear Java console +* @param nblines numbers of lines -1 --> all +* @return a boolean +*/ +CONSOLE_IMPEXP BOOL ClearConsolePart(int nbLines); +/*--------------------------------------------------------------------------*/ +#endif /*__CLEARCONSOLEPART_H__ */ + diff --git a/modules/console/src/c/ConsoleIsWaitingForInput.h b/modules/console/src/c/ConsoleIsWaitingForInput.h new file mode 100755 index 000000000..2e61da58f --- /dev/null +++ b/modules/console/src/c/ConsoleIsWaitingForInput.h @@ -0,0 +1,27 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CONSOLEISWAITINGFORINPUT_H__ +#define __CONSOLEISWAITINGFORINPUT_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" + +/** +* ConsoleIsWaitingForInput function +* @return true if the console is at the prompt +*/ +CONSOLE_IMPEXP BOOL ConsoleIsWaitingForInput(void); + +/*--------------------------------------------------------------------------*/ +#endif /* __CONSOLEISWAITINGFORINPUT_H__ */ + diff --git a/modules/console/src/c/ConsoleRead.h b/modules/console/src/c/ConsoleRead.h new file mode 100755 index 000000000..bffad5553 --- /dev/null +++ b/modules/console/src/c/ConsoleRead.h @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CONSOLEREAD_H__ +#define __CONSOLEREAD_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +/** +* ConsoleRead function +* @return characters read in console +*/ +CONSOLE_IMPEXP char *ConsoleRead(void); + +/*--------------------------------------------------------------------------*/ +#endif /* __CONSOLEREAD_H__ */ + diff --git a/modules/console/src/c/DllmainConsole.c b/modules/console/src/c/DllmainConsole.c new file mode 100755 index 000000000..360cfff00 --- /dev/null +++ b/modules/console/src/c/DllmainConsole.c @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-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 <windows.h> +/*--------------------------------------------------------------------------*/ +#pragma comment(lib,"../../../../bin/libintl.lib") +/*--------------------------------------------------------------------------*/ +int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved) +{ + switch (reason) + { + case DLL_PROCESS_ATTACH: + break; + case DLL_PROCESS_DETACH: + break; + case DLL_THREAD_ATTACH: + break; + case DLL_THREAD_DETACH: + break; + } + return 1; +} +/*--------------------------------------------------------------------------*/ + diff --git a/modules/console/src/c/GetCharWithoutOutput.h b/modules/console/src/c/GetCharWithoutOutput.h new file mode 100755 index 000000000..29ea7f9a0 --- /dev/null +++ b/modules/console/src/c/GetCharWithoutOutput.h @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __GETCHARWITHOUTOUTPUT_H__ +#define __GETCHARWITHOUTOUTPUT_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +/*--------------------------------------------------------------------------*/ +/** +* Make the console wait for a user input character (used for [more (y or n) ?]) +* @return code for the character entered +*/ +CONSOLE_IMPEXP int GetCharWithoutOutput(void); +/*--------------------------------------------------------------------------*/ +#endif /* __GETCHARWITHOUTOUTPUT_H__ */ + diff --git a/modules/console/src/c/GetCommandLine.c b/modules/console/src/c/GetCommandLine.c new file mode 100755 index 000000000..0aa4c5571 --- /dev/null +++ b/modules/console/src/c/GetCommandLine.c @@ -0,0 +1,325 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 <stdio.h> +#include <string.h> +#include <stdlib.h> +#ifdef _MSC_VER +#include <io.h> +#define isatty _isatty +#define fileno _fileno +#else +#include <unistd.h> /* isatty */ +#endif +#include "Thread_Wrapper.h" /* Thread should be first for Windows */ +#include "BOOL.h" +#include "ConsoleRead.h" +#include "SetConsolePrompt.h" +#include "scilabmode.h" +#include "MALLOC.h" +#include "prompt.h" +#include "HistoryManager.h" +#include "storeCommand.h" /* for ismenu() */ +#include "getKey.h" +#include "initConsoleMode.h" +#include "GetCommandLine.h" +#include "TermReadAndProcess.h" +#include "BrowseVarManager.h" +#include "scicurdir.h" +#include "FileBrowserChDir.h" +#include "InitializeJVM.h" +#ifdef _MSC_VER +#include "mmapWindows.h" +#include "strdup_windows.h" +#else +#include <sys/mman.h> +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif +#endif + +#ifdef _MSC_VER +#define IMPORT_SIGNAL __declspec(dllimport) +#else +#define IMPORT_SIGNAL extern +#endif + +/*--------------------------------------------------------------------------*/ +static char Sci_Prompt[PROMPT_SIZE_MAX]; + +static char *tmpPrompt = NULL; + +static char *__CommandLine = NULL; + +/*--------------------------------------------------------------------------*/ + +IMPORT_SIGNAL __threadSignal LaunchScilab; + +IMPORT_SIGNAL __threadSignalLock *pLaunchScilabLock; + +static __threadSignal TimeToWork; + +static __threadSignalLock *pReadyForLaunch = NULL; + +/* exit(0) must unlock */ +static void release(void) +{ + if (pReadyForLaunch) + { + __UnLockSignal(pReadyForLaunch); + } +} + +static BOOL WatchStoreCmdThreadAlive = FALSE; + +static __threadId WatchStoreCmdThread; + +static BOOL WatchGetCmdLineThreadAlive = FALSE; + +static __threadId WatchGetCmdLineThread; + +static BOOL initialized = FALSE; + +static BOOL initialJavaHooks = FALSE; + +/*********************************************************************** + * line editor + **********************************************************************/ +static void getCommandLine(void) +{ + tmpPrompt = GetTemporaryPrompt(); + GetCurrentPrompt(Sci_Prompt); + + if (__CommandLine) + { + FREE(__CommandLine); + __CommandLine = NULL; + } + + if (getScilabMode() == SCILAB_STD) + { + /* Send new prompt to Java Console, do not display it */ + if (tmpPrompt != NULL) + { + SetConsolePrompt(tmpPrompt); + } + else + { + SetConsolePrompt(Sci_Prompt); + } + setSearchedTokenInScilabHistory(NULL); + /* Call Java Console to get a string */ + __CommandLine = strdup(ConsoleRead()); + } + else + { +#ifndef _MSC_VER + if (!isatty(fileno(stdin))) +#else + if (!isatty(fileno(stdin)) && (fileno(stdin) != -2)) +#endif + { + __CommandLine = strdup(""); + } + else + { + /* Call Term Management for NW and NWNI to get a string */ + __CommandLine = getCmdLine(); + } + } +} + +/***********************************************************************/ +/* +** used by mscanf to get a line from the Scilab console +*/ +char *getConsoleInputLine(void) +{ + getCommandLine(); + return strdup(__CommandLine); +} + +/***********************************************************************/ +/* +** This function is threaded and watch for a signal. +** sent when StoreCommand is performed. +*/ +static void initAll(void) +{ + /* Set console mode to raw */ +#ifndef _MSC_VER + if (getScilabMode() == SCILAB_NWNI || getScilabMode() == SCILAB_NW) + { + initConsoleMode(RAW); + } +#endif + initialized = TRUE; + pReadyForLaunch = mmap(0, sizeof(__threadSignalLock), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); + atexit(release); + __InitSignal(&TimeToWork); + __InitSignalLock(pReadyForLaunch); +} + +/***********************************************************************/ +/* +** This function is threaded and watch for a signal. +** sent when StoreCommand is performed. +*/ +static void *watchStoreCommand(void *in) +{ + __LockSignal(pLaunchScilabLock); + __Wait(&LaunchScilab, pLaunchScilabLock); + __UnLockSignal(pLaunchScilabLock); + + __LockSignal(pReadyForLaunch); + WatchStoreCmdThreadAlive = FALSE; + __Signal(&TimeToWork); + __UnLockSignal(pReadyForLaunch); + + return NULL; +} + +/***********************************************************************/ +/* +** This function is threaded and wait until +** some command has been input by user using +** the shell. +*/ +static void *watchGetCommandLine(void *in) +{ + getCommandLine(); + + __LockSignal(pReadyForLaunch); + WatchGetCmdLineThreadAlive = FALSE; + __Signal(&TimeToWork); + __UnLockSignal(pReadyForLaunch); + + return NULL; + +} + +/***********************************************************************/ +/* + * Previously called zzledt... Called by Fortran... + * Now renamed to EventLoopPrompt + * @TODO remove unused arg buf_size, menusflag, modex & dummy1 + */ +void C2F(eventloopprompt) (char *buffer, int *buf_size, int *len_line, int *eof) +{ + + if (getScilabMode() == SCILAB_API) + { + return; + } + + if (!initialJavaHooks && getScilabMode() != SCILAB_NWNI) + { + initialJavaHooks = TRUE; + // Execute the initial hooks registered in Scilab.java + ExecuteInitialHooks(); + } + + /* if not an interactive terminal */ +#ifdef _MSC_VER + /* if file descriptor returned is -2 stdin is not associated with an input stream */ + /* example : echo plot3d | scilex -nw -e */ + if (!isatty(fileno(stdin)) && (fileno(stdin) != -2) && getScilabMode() != SCILAB_STD) +#else + if (!isatty(fileno(stdin)) && getScilabMode() != SCILAB_STD) +#endif + { + /* remove newline character if there */ + if (__CommandLine != NULL) + { + /* read a line into the buffer, but not too + * big */ + *eof = (fgets(buffer, *buf_size, stdin) == NULL); + *len_line = (int)strlen(buffer); + /* remove newline character if there */ + if (buffer[*len_line - 1] == '\n') + { + (*len_line)--; + } + return; + } + } + + if (!initialized) + { + initAll(); + } + + __LockSignal(pReadyForLaunch); + + if (__CommandLine) + { + FREE(__CommandLine); + __CommandLine = NULL; + } + __CommandLine = strdup(""); + + if (ismenu() == 0) + { + if (!WatchGetCmdLineThreadAlive) + { + if (WatchGetCmdLineThread) + { + __WaitThreadDie(WatchGetCmdLineThread); + } + if (getScilabMode() != SCILAB_NWNI) + { + + char *cwd = NULL; + + int err = 0; + + UpdateBrowseVar(); + cwd = scigetcwd(&err); + if (cwd) + { + FileBrowserChDir(cwd); + FREE(cwd); + } + } + __CreateThread(&WatchGetCmdLineThread, &watchGetCommandLine); + WatchGetCmdLineThreadAlive = TRUE; + } + if (!WatchStoreCmdThreadAlive) + { + if (WatchStoreCmdThread) + { + __WaitThreadDie(WatchStoreCmdThread); + } + __CreateThread(&WatchStoreCmdThread, &watchStoreCommand); + WatchStoreCmdThreadAlive = TRUE; + } + + __Wait(&TimeToWork, pReadyForLaunch); + } + __UnLockSignal(pReadyForLaunch); + + /* + ** WARNING : Old crappy f.... code + ** do not change reference to buffer + ** or fortran will be lost !!!! + */ + if (__CommandLine) + { + strcpy(buffer, __CommandLine); + } + else + { + strcpy(buffer, ""); + } + *len_line = (int)strlen(buffer); + + *eof = FALSE; +} diff --git a/modules/console/src/c/GuiManagement.c b/modules/console/src/c/GuiManagement.c new file mode 100755 index 000000000..441054910 --- /dev/null +++ b/modules/console/src/c/GuiManagement.c @@ -0,0 +1,37 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "GuiManagement.h" +#include "scilines.h" +/*--------------------------------------------------------------------------*/ +void setScilabLines(int nbRows, int nbCols) +{ + if (getLinesSize() == 0) + { + /* The user does not want to be asked for more display */ + /* Modify only the number of columns used to format displayed data */ + scilines(getLinesSize(), nbCols); + } + else + { + /* Modify number of lines and columns used to format displayed data */ + scilines(nbRows, nbCols); + } +} +/*--------------------------------------------------------------------------*/ +void forceScilabLines(int nbRows, int nbCols) +{ + /* Modify number of lines and columns used to format displayed data */ + scilines(nbRows, nbCols); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/GuiManagement.h b/modules/console/src/c/GuiManagement.h new file mode 100755 index 000000000..5ae6d78b0 --- /dev/null +++ b/modules/console/src/c/GuiManagement.h @@ -0,0 +1,33 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +/*--------------------------------------------------------------------------*/ +#ifndef __GUIMANAGEMENT_H__ +#define __GUIMANAGEMENT_H__ + +/** + * Sets Scilab parameters used to display data according the size of the console + * @param nbRows number of rows that can be used to display data + * @param nbCols number of columns that can be used to display data + */ +void setScilabLines(int nbRows, int nbCols); + +/** + * Sets Scilab parameters used to display data + * @param nbRows number of rows that can be used to display data + * @param nbCols number of columns that can be used to display data + */ +void forceScilabLines(int nbRows, int nbCols); + +#endif /* __GUIMANAGEMENT_H__ */ +/*--------------------------------------------------------------------------*/ + diff --git a/modules/console/src/c/InitializeConsole.c b/modules/console/src/c/InitializeConsole.c new file mode 100755 index 000000000..7ccf2dca6 --- /dev/null +++ b/modules/console/src/c/InitializeConsole.c @@ -0,0 +1,32 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * Copyright (C) 2011 - DIGITEO - 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 <stdio.h> +#include "InitializeConsole.h" +#include "scilabmode.h" +#include "ScilabLinesUpdate.h" +#include "scilines.h" +/*--------------------------------------------------------------------------*/ +BOOL InitializeConsole(void) +{ + BOOL bRes = TRUE; + scilinesdefault(); + if (getScilabMode() == SCILAB_STD) + { + bRes = ScilabLinesUpdate(); + } + return bRes; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/Localization_Import.def b/modules/console/src/c/Localization_Import.def new file mode 100755 index 000000000..acb12dd55 --- /dev/null +++ b/modules/console/src/c/Localization_Import.def @@ -0,0 +1,5 @@ + LIBRARY scilocalization.dll + + +EXPORTS + diff --git a/modules/console/src/c/PromptToHome.h b/modules/console/src/c/PromptToHome.h new file mode 100755 index 000000000..8e8951bc9 --- /dev/null +++ b/modules/console/src/c/PromptToHome.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-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 + * + */ + +#ifndef __PROMPTTOHOME_H__ +#define __PROMPTTOHOME_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" +/*--------------------------------------------------------------------------*/ +/** +* Clear Java console +* @return a boolean +*/ +CONSOLE_IMPEXP BOOL PromptToHome(void); +/*--------------------------------------------------------------------------*/ +#endif /*__PROMPTTOHOME_H__ */ + diff --git a/modules/console/src/c/PutChar.h b/modules/console/src/c/PutChar.h new file mode 100755 index 000000000..86002d8e3 --- /dev/null +++ b/modules/console/src/c/PutChar.h @@ -0,0 +1,20 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Sylvestre LEDRU + * + * 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 "dynlib_console.h" +/** + * @TODO : add comment + * + * @param c + */ +CONSOLE_IMPEXP void PutChar(int c); diff --git a/modules/console/src/c/ScilabLinesUpdate.h b/modules/console/src/c/ScilabLinesUpdate.h new file mode 100755 index 000000000..dde635ef6 --- /dev/null +++ b/modules/console/src/c/ScilabLinesUpdate.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __SCILABLINESUPDATE_H__ +#define __SCILABLINESUPDATE_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" +/*--------------------------------------------------------------------------*/ +/** +* Update scilines variable with the size of Java console +* @return a boolean flag +*/ +CONSOLE_IMPEXP BOOL ScilabLinesUpdate(void); +/*--------------------------------------------------------------------------*/ +#endif /*__SCILABLINESUPDATE_H__ */ + diff --git a/modules/console/src/c/Scilab_windows_Import.def b/modules/console/src/c/Scilab_windows_Import.def new file mode 100755 index 000000000..f61772818 --- /dev/null +++ b/modules/console/src/c/Scilab_windows_Import.def @@ -0,0 +1,8 @@ + LIBRARY scilab_windows.dll + +EXPORTS +getYConsoleScreenSize +getXConsoleScreenSize +strdup_windows +setFocusOnConsole +mmap diff --git a/modules/console/src/c/SetConsolePrompt.h b/modules/console/src/c/SetConsolePrompt.h new file mode 100755 index 000000000..7e7264055 --- /dev/null +++ b/modules/console/src/c/SetConsolePrompt.h @@ -0,0 +1,27 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __SETCONSOLEPROMPT_H__ +#define __SETCONSOLEPROMPT_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_console.h" +#include "BOOL.h" +/** +* SetConsolePrompt function +* @param Sci_prompt new prompt to use for Scilab +* @return true ifthe prompt has been correcty set +*/ +CONSOLE_IMPEXP BOOL SetConsolePrompt(char *Sci_prompt); + +/*--------------------------------------------------------------------------*/ +#endif /* __SETCONSOLEPROMPT_H__ */ + diff --git a/modules/console/src/c/TermReadAndProcess.h b/modules/console/src/c/TermReadAndProcess.h new file mode 100755 index 000000000..fdbac0c0e --- /dev/null +++ b/modules/console/src/c/TermReadAndProcess.h @@ -0,0 +1,22 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2007 - 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 +* +*/ + +#ifndef __TERMREADANDPROCESS_H__ +#define __TERMREADANDPROCESS_H__ + +/** +* read line from commandline +*/ + +char *getCmdLine(void); + +#endif /* __TERMREADANDPROCESS_H__ */ diff --git a/modules/console/src/c/clc.c b/modules/console/src/c/clc.c new file mode 100755 index 000000000..351fe802b --- /dev/null +++ b/modules/console/src/c/clc.c @@ -0,0 +1,68 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2014 - Scilab Enterprises - Anais AUBERT + * + * 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 <stdlib.h> +#include <stdio.h> +#include "clc.h" +#include "scilabmode.h" +#include "ClearConsole.h" +#include "ClearConsolePart.h" +#ifdef _MSC_VER +#include "windows/clrscr_nw.h" +#include "windows/clrscrPart_nw.h" +#else +#include "others/clrscr_nw.h" +#endif +/*--------------------------------------------------------------------------*/ +BOOL clc(int nblines) +{ + BOOL bOK = FALSE; + if ( getScilabMode() != SCILAB_STD ) + { + /* console C */ + if (nblines != -1) + { +#ifdef _MSC_VER + clrscrPart_nw(nblines); + bOK = TRUE; +#else + printf("\033[%dA\033[J", nblines + 2); + bOK = TRUE; +#endif + } + else + { + clrscr_nw(); + bOK = TRUE; + } + } + else + { + /* Java Console*/ + if ( nblines == -1) /* Clear the whole console window */ + { + bOK = ClearConsole(); + } + else if (nblines >= 0) /* Clear a part of the console window */ + { + bOK = ClearConsolePart(nblines); + } + else + { + /* error */ + bOK = FALSE; + } + } + return bOK; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/clc.h b/modules/console/src/c/clc.h new file mode 100755 index 000000000..0cbedf9a9 --- /dev/null +++ b/modules/console/src/c/clc.h @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +#ifndef __CLC_H__ +#define __CLC_H__ +/*--------------------------------------------------------------------------*/ +#include "BOOL.h" +/*--------------------------------------------------------------------------*/ +/** +* clc function +* @param nblines numbers of lines -1 --> all +* @return a boolean +*/ +BOOL clc(int nblines); +/*--------------------------------------------------------------------------*/ +#endif /* __CLC_H__ */ + diff --git a/modules/console/src/c/cmdLine/.deps/.dirstamp b/modules/console/src/c/cmdLine/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/.dirstamp diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-autoCompletionCli.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-autoCompletionCli.Plo new file mode 100755 index 000000000..0e8ea912c --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-autoCompletionCli.Plo @@ -0,0 +1,231 @@ +src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo: \ + src/c/cmdLine/autoCompletionCli.c /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + ../../modules/localization/includes/charEncoding.h \ + /usr/include/x86_64-linux-gnu/sys/stat.h \ + /usr/include/x86_64-linux-gnu/bits/stat.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/completion/includes/completion.h \ + ../../modules/completion/includes/dynlib_completion.h \ + includes/autoCompletionCli.h \ + ../../modules/completion/includes/completeLine.h \ + includes/cliDisplayManagement.h \ + ../../modules/core/includes/freeArrayOfString.h \ + ../../modules/core/includes/BOOL.h includes/cliPrompt.h \ + ../../modules/completion/includes/getPartLine.h \ + ../../modules/completion/includes/getCommonPart.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/history_manager/includes/HistoryManager.h \ + ../../modules/history_manager/includes/dynlib_history_manager.h \ + src/c/ConsoleRead.h includes/dynlib_console.h src/c/SetConsolePrompt.h \ + src/c/TermReadAndProcess.h ../../modules/core/includes/sciquit.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +../../modules/localization/includes/charEncoding.h: + +/usr/include/x86_64-linux-gnu/sys/stat.h: + +/usr/include/x86_64-linux-gnu/bits/stat.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/BOOL.h: + +../../modules/completion/includes/completion.h: + +../../modules/completion/includes/dynlib_completion.h: + +includes/autoCompletionCli.h: + +../../modules/completion/includes/completeLine.h: + +includes/cliDisplayManagement.h: + +../../modules/core/includes/freeArrayOfString.h: + +../../modules/core/includes/BOOL.h: + +includes/cliPrompt.h: + +../../modules/completion/includes/getPartLine.h: + +../../modules/completion/includes/getCommonPart.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/history_manager/includes/HistoryManager.h: + +../../modules/history_manager/includes/dynlib_history_manager.h: + +src/c/ConsoleRead.h: + +includes/dynlib_console.h: + +src/c/SetConsolePrompt.h: + +src/c/TermReadAndProcess.h: + +../../modules/core/includes/sciquit.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-charactersManagement.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-charactersManagement.Plo new file mode 100755 index 000000000..4afd5587b --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-charactersManagement.Plo @@ -0,0 +1,171 @@ +src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo: \ + src/c/cmdLine/charactersManagement.c /usr/include/stdc-predef.h \ + /usr/include/curses.h /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/term.h \ + /usr/include/termios.h /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/wctype.h \ + includes/termcapManagement.h includes/gotoFunctions.h \ + includes/cliPrompt.h includes/charactersManagement.h \ + includes/getNbrLine.h + +/usr/include/stdc-predef.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/term.h: + +/usr/include/termios.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/wctype.h: + +includes/termcapManagement.h: + +includes/gotoFunctions.h: + +includes/cliPrompt.h: + +includes/charactersManagement.h: + +includes/getNbrLine.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliDisplayManagement.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliDisplayManagement.Plo new file mode 100755 index 000000000..71d74cb88 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliDisplayManagement.Plo @@ -0,0 +1,113 @@ +src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo: \ + src/c/cmdLine/cliDisplayManagement.c /usr/include/stdc-predef.h \ + /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + includes/cliDisplayManagement.h ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +includes/cliDisplayManagement.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliHistory.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliHistory.Plo new file mode 100755 index 000000000..8d50cc37a --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliHistory.Plo @@ -0,0 +1,178 @@ +src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo: \ + src/c/cmdLine/cliHistory.c /usr/include/stdc-predef.h \ + /usr/include/stdio.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/term.h \ + /usr/include/ncurses_dll.h /usr/include/termios.h \ + /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h includes/termcapManagement.h \ + includes/gotoFunctions.h includes/cliPrompt.h includes/cliHistory.h \ + ../../modules/history_manager/includes/HistoryManager.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/history_manager/includes/dynlib_history_manager.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/localization/includes/charEncoding.h \ + /usr/include/x86_64-linux-gnu/sys/stat.h \ + /usr/include/x86_64-linux-gnu/bits/stat.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/term.h: + +/usr/include/ncurses_dll.h: + +/usr/include/termios.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +includes/termcapManagement.h: + +includes/gotoFunctions.h: + +includes/cliPrompt.h: + +includes/cliHistory.h: + +../../modules/history_manager/includes/HistoryManager.h: + +../../modules/core/includes/BOOL.h: + +../../modules/history_manager/includes/dynlib_history_manager.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/localization/includes/charEncoding.h: + +/usr/include/x86_64-linux-gnu/sys/stat.h: + +/usr/include/x86_64-linux-gnu/bits/stat.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliPrompt.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliPrompt.Plo new file mode 100755 index 000000000..203b11591 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-cliPrompt.Plo @@ -0,0 +1,176 @@ +src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo: \ + src/c/cmdLine/cliPrompt.c /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/wctype.h \ + /usr/include/wchar.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/curses.h \ + /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + includes/cliPrompt.h includes/prompt.h \ + ../../modules/core/includes/machine.h includes/dynlib_console.h \ + includes/cliDisplayManagement.h ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/wctype.h: + +/usr/include/wchar.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +includes/cliPrompt.h: + +includes/prompt.h: + +../../modules/core/includes/machine.h: + +includes/dynlib_console.h: + +includes/cliDisplayManagement.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getKey.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getKey.Plo new file mode 100755 index 000000000..cc3898a59 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getKey.Plo @@ -0,0 +1,232 @@ +src/c/cmdLine/libsciconsole_minimal_la-getKey.lo: src/c/cmdLine/getKey.c \ + /usr/include/stdc-predef.h /usr/include/wchar.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/curses.h \ + /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/termios.h /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/term.h \ + /usr/include/string.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h includes/cliHistory.h \ + includes/termcapManagement.h includes/gotoFunctions.h \ + includes/charactersManagement.h includes/initConsoleMode.h \ + includes/cliPrompt.h includes/getKey.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/history_manager/includes/HistoryManager.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/history_manager/includes/dynlib_history_manager.h \ + ../../modules/localization/includes/charEncoding.h \ + /usr/include/x86_64-linux-gnu/sys/stat.h \ + /usr/include/x86_64-linux-gnu/bits/stat.h \ + includes/cliDisplayManagement.h includes/autoCompletionCli.h \ + src/c/tohome.h includes/dynlib_console.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h + +/usr/include/stdc-predef.h: + +/usr/include/wchar.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/termios.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/term.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/cliHistory.h: + +includes/termcapManagement.h: + +includes/gotoFunctions.h: + +includes/charactersManagement.h: + +includes/initConsoleMode.h: + +includes/cliPrompt.h: + +includes/getKey.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/history_manager/includes/HistoryManager.h: + +../../modules/core/includes/BOOL.h: + +../../modules/history_manager/includes/dynlib_history_manager.h: + +../../modules/localization/includes/charEncoding.h: + +/usr/include/x86_64-linux-gnu/sys/stat.h: + +/usr/include/x86_64-linux-gnu/bits/stat.h: + +includes/cliDisplayManagement.h: + +includes/autoCompletionCli.h: + +src/c/tohome.h: + +includes/dynlib_console.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getNbrLine.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getNbrLine.Plo new file mode 100755 index 000000000..7c45dda50 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-getNbrLine.Plo @@ -0,0 +1,103 @@ +src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo: \ + src/c/cmdLine/getNbrLine.c /usr/include/stdc-predef.h \ + /usr/include/wchar.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/term.h \ + /usr/include/ncurses_dll.h /usr/include/termios.h \ + /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/curses.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + includes/cliPrompt.h includes/getNbrLine.h + +/usr/include/stdc-predef.h: + +/usr/include/wchar.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/term.h: + +/usr/include/ncurses_dll.h: + +/usr/include/termios.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/curses.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +includes/cliPrompt.h: + +includes/getNbrLine.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-gotoFunctions.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-gotoFunctions.Plo new file mode 100755 index 000000000..e08e2e753 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-gotoFunctions.Plo @@ -0,0 +1,111 @@ +src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo: \ + src/c/cmdLine/gotoFunctions.c /usr/include/stdc-predef.h \ + /usr/include/wchar.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/termios.h \ + /usr/include/x86_64-linux-gnu/bits/termios.h /usr/include/curses.h \ + /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/term.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/BOOL.h includes/termcapManagement.h \ + includes/cliPrompt.h includes/gotoFunctions.h + +/usr/include/stdc-predef.h: + +/usr/include/wchar.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/termios.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/term.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/BOOL.h: + +includes/termcapManagement.h: + +includes/cliPrompt.h: + +includes/gotoFunctions.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-initConsoleMode.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-initConsoleMode.Plo new file mode 100755 index 000000000..f21522c87 --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-initConsoleMode.Plo @@ -0,0 +1,189 @@ +src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo: \ + src/c/cmdLine/initConsoleMode.c /usr/include/stdc-predef.h \ + /usr/include/termios.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/curses.h \ + /usr/include/ncurses_dll.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/term.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/errno.h \ + /usr/include/x86_64-linux-gnu/bits/errno.h /usr/include/linux/errno.h \ + /usr/include/x86_64-linux-gnu/asm/errno.h \ + /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h includes/initConsoleMode.h + +/usr/include/stdc-predef.h: + +/usr/include/termios.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/curses.h: + +/usr/include/ncurses_dll.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/term.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/errno.h: + +/usr/include/x86_64-linux-gnu/bits/errno.h: + +/usr/include/linux/errno.h: + +/usr/include/x86_64-linux-gnu/asm/errno.h: + +/usr/include/asm-generic/errno.h: + +/usr/include/asm-generic/errno-base.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +includes/initConsoleMode.h: diff --git a/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-termcapManagement.Plo b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-termcapManagement.Plo new file mode 100755 index 000000000..9477fe43f --- /dev/null +++ b/modules/console/src/c/cmdLine/.deps/libsciconsole_minimal_la-termcapManagement.Plo @@ -0,0 +1,153 @@ +src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo: \ + src/c/cmdLine/termcapManagement.c /usr/include/stdc-predef.h \ + /usr/include/term.h /usr/include/ncurses_dll.h /usr/include/termios.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/termios.h \ + /usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/curses.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h /usr/include/stdint.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h /usr/include/unctrl.h \ + /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/unistd.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ + /usr/include/x86_64-linux-gnu/bits/unistd.h includes/termcapManagement.h + +/usr/include/stdc-predef.h: + +/usr/include/term.h: + +/usr/include/ncurses_dll.h: + +/usr/include/termios.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/termios.h: + +/usr/include/x86_64-linux-gnu/sys/ttydefaults.h: + +/usr/include/curses.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h: + +/usr/include/unctrl.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/x86_64-linux-gnu/bits/unistd.h: + +includes/termcapManagement.h: diff --git a/modules/console/src/c/cmdLine/.dirstamp b/modules/console/src/c/cmdLine/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/cmdLine/.dirstamp diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-autoCompletionCli.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-autoCompletionCli.o Binary files differnew file mode 100755 index 000000000..71056a5ac --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-autoCompletionCli.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-charactersManagement.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-charactersManagement.o Binary files differnew file mode 100755 index 000000000..944e19a85 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-charactersManagement.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliDisplayManagement.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliDisplayManagement.o Binary files differnew file mode 100755 index 000000000..029b194f1 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliDisplayManagement.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliHistory.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliHistory.o Binary files differnew file mode 100755 index 000000000..b1a5c579c --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliHistory.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliPrompt.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliPrompt.o Binary files differnew file mode 100755 index 000000000..a090e426d --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-cliPrompt.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getKey.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getKey.o Binary files differnew file mode 100755 index 000000000..e1042b608 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getKey.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getNbrLine.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getNbrLine.o Binary files differnew file mode 100755 index 000000000..f3e30add5 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-getNbrLine.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-gotoFunctions.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-gotoFunctions.o Binary files differnew file mode 100755 index 000000000..f836ccd35 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-gotoFunctions.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-initConsoleMode.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-initConsoleMode.o Binary files differnew file mode 100755 index 000000000..be7b59d37 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-initConsoleMode.o diff --git a/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-termcapManagement.o b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-termcapManagement.o Binary files differnew file mode 100755 index 000000000..9f4508404 --- /dev/null +++ b/modules/console/src/c/cmdLine/.libs/libsciconsole_minimal_la-termcapManagement.o diff --git a/modules/console/src/c/cmdLine/autoCompletionCli.c b/modules/console/src/c/cmdLine/autoCompletionCli.c new file mode 100755 index 000000000..f6de60629 --- /dev/null +++ b/modules/console/src/c/cmdLine/autoCompletionCli.c @@ -0,0 +1,612 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - DIGITEO - Karim Mamode + * + * 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 <string.h> +#include <wchar.h> +#include <wctype.h> +#include <stdlib.h> +#include <unistd.h> +#include <stdio.h> +#include "charEncoding.h" +#include "completion.h" +#include "autoCompletionCli.h" +#include "completeLine.h" +#include "cliDisplayManagement.h" +#include "freeArrayOfString.h" +#include "cliPrompt.h" +#include "MALLOC.h" +#include "completion.h" +#include "getPartLine.h" +#include "getCommonPart.h" +#include "localization.h" +#include "scilabmode.h" +#include "sciprint.h" +#include "HistoryManager.h" +#include "ConsoleRead.h" +#include "SetConsolePrompt.h" +#include "TermReadAndProcess.h" +#include "sciquit.h" +#include "getCommonPart.h" + +static void doCompletion(char **wk_buf, unsigned int *cursor, unsigned int *cursor_max); + +static char *getLineBeforeCaret(char *wk_buf, unsigned int *cursor); + +static char *getLineAfterCaret(char *wk_buf, unsigned int *cursor, unsigned int *cursor_max); + +static void backspace(int n); + +static void erase_nchar(int n); + +static void TermCompletionOnFiles(char **dictionaryFiles, int sizedictionaryFiles, + char *lineBeforeCaret, char *lineAfterCaret, char *filePattern, char *defaultPattern, + char **wk_buf, unsigned int *cursor, unsigned int *cursor_max); +static int CopyLineAtPrompt(char **wk_buf, char *line, unsigned int *cursor, unsigned int *cursor_max); + +static void TermCompletionOnAll(char *lineBeforeCaret, char *lineAfterCaret, char *defaultPattern, char **wk_buf, unsigned int *cursor, + unsigned int *cursor_max); + +static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary); + +static char **concatenateStrings(int *sizearrayofstring, char *string1, char *string2, char *string3, char *string4, char *string5); + +/* Autocompletion in NW/NWNI */ +void autoCompletionInConsoleMode(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + char *multiByteString = NULL; + wchar_t *wideString = NULL; + + int sizeToAlloc = 0; + + unsigned int nbrCharInString; + + multiByteString = wide_string_to_UTF8(*commandLine); + nbrCharInString = wcslen(*commandLine); + doCompletion(&multiByteString, cursorLocation, &nbrCharInString); + + wideString = to_wide_string(multiByteString); + /* Copy the new string in a buffer wich size is a multiple of 1024 */ + sizeToAlloc = 1024 * (wcslen(wideString) / 1024 + 1); + FREE(*commandLine); + *commandLine = MALLOC(sizeof(**commandLine) * sizeToAlloc); + wcscpy(*commandLine, wideString); + FREE(wideString); + FREE(multiByteString); +} + +static void doCompletion(char **wk_buf, unsigned int *cursor, unsigned int *cursor_max) +{ + char *LineBeforeCaret = getLineBeforeCaret(*wk_buf, cursor); + char *LineAfterCaret = getLineAfterCaret(*wk_buf, cursor, cursor_max); + char *fileSearchedPattern = getFilePartLevel(LineBeforeCaret); + char *SearchedPattern = getPartLevel(LineBeforeCaret); + char **completionDictionaryFiles = NULL; + int sizecompletionDictionaryFiles = 0; + + completionDictionaryFiles = completionOnFiles(fileSearchedPattern, &sizecompletionDictionaryFiles); + if (completionDictionaryFiles) + { + TermCompletionOnFiles(completionDictionaryFiles, sizecompletionDictionaryFiles, + LineBeforeCaret, LineAfterCaret, fileSearchedPattern, SearchedPattern, wk_buf, cursor, cursor_max); + + freeArrayOfString(completionDictionaryFiles, sizecompletionDictionaryFiles); + } + else + { + TermCompletionOnAll(LineBeforeCaret, LineAfterCaret, SearchedPattern, wk_buf, cursor, cursor_max); + } + + if (LineBeforeCaret) + { + FREE(LineBeforeCaret); + LineBeforeCaret = NULL; + } + if (LineAfterCaret) + { + FREE(LineAfterCaret); + LineAfterCaret = NULL; + } + if (fileSearchedPattern) + { + FREE(fileSearchedPattern); + fileSearchedPattern = NULL; + } + if (SearchedPattern) + { + FREE(SearchedPattern); + SearchedPattern = NULL; + } +} + +static char *getLineBeforeCaret(char *wk_buf, unsigned int *cursor) +{ + char *line = NULL; + wchar_t * wtmp = to_wide_string(wk_buf); + + wtmp[*cursor] = 0; + line = wide_string_to_UTF8(wtmp); + FREE(wtmp); + + return line; +} + +static char *getLineAfterCaret(char *wk_buf, unsigned int *cursor, unsigned int *cursor_max) +{ + if (wk_buf) + { + if (*cursor != *cursor_max) + { + int len = *cursor_max - *cursor; + wchar_t * wtmp = to_wide_string(wk_buf); + wchar_t aftercaret[WK_BUF_SIZE]; + + wcscpy(aftercaret, &wtmp[*cursor]); + aftercaret[len + 1] = '\0'; + FREE(wtmp); + + return wide_string_to_UTF8(aftercaret); + } + } + return strdup(""); +} + +static void backspace(int n) +{ + if (n < 1) + { + return; + } + while (n--) +#ifdef TERMCAP + if (BC) + { + /* if control-H won-t work */ + fputs(BC, stdout); + } + else + { + /* otherwise just use a normal control-H */ + putchar('\010'); + } +#else + putchar('\010'); +#endif + +} + +static void erase_nchar(int n) +{ + int i; /* fill field with blanks */ + + for (i = 0; i < n; i++) + { + putchar(' '); + } + backspace(n); /* and back up over blanks just written */ +} + +static void TermCompletionOnFiles(char **dictionaryFiles, int sizedictionaryFiles, + char *lineBeforeCaret, char *lineAfterCaret, char *filePattern, char *defaultPattern, + char **wk_buf, unsigned int *cursor, unsigned int *cursor_max) +{ + if (dictionaryFiles) + { + if (sizedictionaryFiles == 1) + { + char *new_line = completeLine(lineBeforeCaret, dictionaryFiles[0], filePattern, defaultPattern, TRUE, lineAfterCaret); + + if (new_line) + { + char buflinetmp[WK_BUF_SIZE + 1]; + + strcpy(buflinetmp, new_line); + FREE(new_line); + + backspace(*cursor); + erase_nchar(*cursor_max); + *cursor = *cursor_max = 0; + + CopyLineAtPrompt(wk_buf, buflinetmp, cursor, cursor_max); + return; + } + } + else + { + char *common = getCommonPart(dictionaryFiles, sizedictionaryFiles); + + displayCompletionDictionary(dictionaryFiles, sizedictionaryFiles, gettext("File or Directory")); + + printf("\n"); + + backspace(*cursor); + erase_nchar(*cursor_max); + *cursor = *cursor_max = 0; + + printPrompt(WRITE_PROMPT); + + if (defaultPattern[0] == 0) + { + int lennewline = (int)strlen(lineBeforeCaret) + (int)strlen(lineAfterCaret); + + char *new_line = (char *)MALLOC(sizeof(char) * (lennewline + 1)); + + if (new_line) + { + strcpy(new_line, lineBeforeCaret); + strcat(new_line, lineAfterCaret); + + CopyLineAtPrompt(wk_buf, new_line, cursor, cursor_max); + FREE(new_line); + new_line = NULL; + } + } + else if (common) + { + char *new_line = completeLine(lineBeforeCaret, common, filePattern, defaultPattern, TRUE, lineAfterCaret); + + if (new_line) + { + char buflinetmp[WK_BUF_SIZE + 1]; + + strcpy(buflinetmp, new_line); + FREE(new_line); + + CopyLineAtPrompt(wk_buf, buflinetmp, cursor, cursor_max); + } + else + { + int lennewline = (int)strlen(lineBeforeCaret) + (int)strlen(lineAfterCaret); + + new_line = (char *)MALLOC(sizeof(char) * (lennewline + 1)); + + if (new_line) + { + strcpy(new_line, lineBeforeCaret); + strcat(new_line, lineAfterCaret); + + CopyLineAtPrompt(wk_buf, new_line, cursor, cursor_max); + FREE(new_line); + new_line = NULL; + } + } + } + if (common) + { + FREE(common); + common = NULL; + } + } + } +} + +static int CopyLineAtPrompt(char **wk_buf, char *line, unsigned int *cursor, unsigned int *cursor_max) +{ + FREE(*wk_buf); + if (line) + { + wchar_t *wtmp = NULL; + //** Copy line to current command buffer, usefull in completion case. + *wk_buf = MALLOC(sizeof(char) * strlen(line) + 1); + strcpy(*wk_buf, line); + backspace(*cursor); /* backspace to beginning of line */ + printf("%s", *wk_buf); /* copy to screen */ + + wtmp = to_wide_string(*wk_buf); + *cursor = wcslen(wtmp); /* cursor set at end of line */ + FREE(wtmp); + + /* erase extra characters left over if any */ + erase_nchar(GET_MAX(0, (*cursor_max - *cursor))); + *cursor_max = *cursor; + return 1; + } + else + { + *wk_buf = (char*) MALLOC(sizeof(char)); + (*wk_buf)[0] = '\0'; + } + return 0; +} + +static char **concatenateStrings(int *sizearrayofstring, char *string1, char *string2, char *string3, char *string4, char *string5) +{ + int newsize = 0; + + char **arrayOfString = NULL; + + *sizearrayofstring = 0; + + if (string1) + { + newsize++; + } + if (string2) + { + newsize++; + } + if (string3) + { + newsize++; + } + if (string4) + { + newsize++; + } + if (string5) + { + newsize++; + } + + if (newsize > 0) + { + arrayOfString = (char **)MALLOC(sizeof(char *) * (newsize)); + if (arrayOfString) + { + int i = 0; + + if (string1) + { + arrayOfString[i] = string1; + i++; + } + if (string2) + { + arrayOfString[i] = string2; + i++; + } + if (string3) + { + arrayOfString[i] = string3; + i++; + } + if (string4) + { + arrayOfString[i] = string4; + i++; + } + if (string5) + { + arrayOfString[i] = string5; + i++; + } + *sizearrayofstring = i; + } + else + { + *sizearrayofstring = 0; + } + } + return arrayOfString; +} + +static void TermCompletionOnAll(char *lineBeforeCaret, char *lineAfterCaret, char *defaultPattern, char **wk_buf, unsigned int *cursor, + unsigned int *cursor_max) +{ + if (defaultPattern) + { + int numberWordFound = 0; + + char **completionDictionaryFunctions = NULL; + + int sizecompletionDictionaryFunctions = 0; + + char **completionDictionaryCommandWords = NULL; + + int sizecompletionDictionaryCommandWords = 0; + + char **completionDictionaryMacros = NULL; + + int sizecompletionDictionaryMacros = 0; + + char **completionDictionaryVariables = NULL; + + int sizecompletionDictionaryVariables = 0; + + char **completionDictionaryHandleGraphicsProperties = NULL; + + int sizecompletionDictionaryHandleGraphicsProperties = 0; + + char **completionDictionaryFields = NULL; + + int sizecompletionDictionaryFields = 0; + + completionDictionaryFields = completionOnFields(lineBeforeCaret, defaultPattern, &sizecompletionDictionaryFields); + + if (!completionDictionaryFields && strcmp(defaultPattern, "")) + { + completionDictionaryFunctions = completionOnFunctions(defaultPattern, &sizecompletionDictionaryFunctions); + completionDictionaryCommandWords = completionOnCommandWords(defaultPattern, &sizecompletionDictionaryCommandWords); + completionDictionaryMacros = completionOnMacros(defaultPattern, &sizecompletionDictionaryMacros); + completionDictionaryVariables = completionOnVariablesWithoutMacros(defaultPattern, &sizecompletionDictionaryVariables); + completionDictionaryHandleGraphicsProperties = + completionOnHandleGraphicsProperties(defaultPattern, &sizecompletionDictionaryHandleGraphicsProperties); + } + + numberWordFound = sizecompletionDictionaryFunctions + sizecompletionDictionaryCommandWords + + sizecompletionDictionaryMacros + sizecompletionDictionaryVariables + + sizecompletionDictionaryHandleGraphicsProperties + sizecompletionDictionaryFields; + + if (numberWordFound > 0) + { + if (numberWordFound == 1) + { + char **completionDictionary = NULL; + + char *new_line = NULL; + + if (completionDictionaryFields) + { + completionDictionary = completionDictionaryFields; + } + if (completionDictionaryFunctions) + { + completionDictionary = completionDictionaryFunctions; + } + if (completionDictionaryCommandWords) + { + completionDictionary = completionDictionaryCommandWords; + } + if (completionDictionaryMacros) + { + completionDictionary = completionDictionaryMacros; + } + if (completionDictionaryVariables) + { + completionDictionary = completionDictionaryVariables; + } + if (completionDictionaryHandleGraphicsProperties) + { + completionDictionary = completionDictionaryHandleGraphicsProperties; + } + + new_line = completeLine(lineBeforeCaret, completionDictionary[0], NULL, defaultPattern, FALSE, lineAfterCaret); + if (new_line) + { + char buflinetmp[WK_BUF_SIZE + 1]; + + strcpy(buflinetmp, new_line); + FREE(new_line); + + backspace(*cursor); + erase_nchar(*cursor_max); + *cursor = *cursor_max = 0; + + CopyLineAtPrompt(wk_buf, buflinetmp, cursor, cursor_max); + } + + freeArrayOfString(completionDictionary, 1); + } + else + { + char *commonAll = NULL; + + if (completionDictionaryFields) + { + commonAll = getCommonPart(completionDictionaryFields, sizecompletionDictionaryFields); + displayCompletionDictionary(completionDictionaryFields, sizecompletionDictionaryFields, (char *)_("Scilab Fields")); + freeArrayOfString(completionDictionaryFields, sizecompletionDictionaryFields); + } + else + { + char *commonFunctions = getCommonPart(completionDictionaryFunctions, sizecompletionDictionaryFunctions); + + char *commonCommandWords = getCommonPart(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords); + + char *commonMacros = getCommonPart(completionDictionaryMacros, sizecompletionDictionaryMacros); + + char *commonVariables = getCommonPart(completionDictionaryVariables, sizecompletionDictionaryVariables); + + char *commonHandleGraphicsProperties = + getCommonPart(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties); + + int sizecommonsDictionary = 0; + + char **commonsDictionary = concatenateStrings(&sizecommonsDictionary, commonFunctions, + commonMacros, commonCommandWords, commonVariables, commonHandleGraphicsProperties); + + if (sizecommonsDictionary > 0) + { + if (sizecommonsDictionary == 1) + { + commonAll = strdup(commonsDictionary[0]); + } + else + { + commonAll = getCommonPart(commonsDictionary, sizecommonsDictionary); + } + freeArrayOfString(commonsDictionary, sizecommonsDictionary); + } + + displayCompletionDictionary(completionDictionaryFunctions, sizecompletionDictionaryFunctions, (char *)_("Scilab Function")); + displayCompletionDictionary(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords, (char *)_("Scilab Command")); + displayCompletionDictionary(completionDictionaryMacros, sizecompletionDictionaryMacros, (char *)_("Scilab Macro")); + displayCompletionDictionary(completionDictionaryVariables, sizecompletionDictionaryVariables, (char *)_("Scilab Variable")); + displayCompletionDictionary(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties, + (char *)_("Graphics handle field")); + freeArrayOfString(completionDictionaryFunctions, sizecompletionDictionaryFunctions); + freeArrayOfString(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords); + freeArrayOfString(completionDictionaryMacros, sizecompletionDictionaryMacros); + freeArrayOfString(completionDictionaryVariables, sizecompletionDictionaryVariables); + freeArrayOfString(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties); + } + + printf("\n"); + + backspace(*cursor); + erase_nchar(*cursor_max); + *cursor = *cursor_max = 0; + + printPrompt(WRITE_PROMPT); + + if (commonAll) + { + char *new_line = NULL; + + new_line = completeLine(lineBeforeCaret, commonAll, NULL, defaultPattern, FALSE, lineAfterCaret); + if (new_line) + { + char buflinetmp[WK_BUF_SIZE + 1]; + + strcpy(buflinetmp, new_line); + FREE(new_line); + + CopyLineAtPrompt(wk_buf, buflinetmp, cursor, cursor_max); + } + + FREE(commonAll); + commonAll = NULL; + } + } + } + } +} + +static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary) +{ +#define MAX_LINE_SIZE 79 /* 80 - 1 the leading space */ + if (dictionary) + { + int i = 0; + + int lenCurrentLine = 0; + + /* Set the category */ + setCharDisplay(DISP_ITALIC); + printf("\n"); + printf("%s", namedictionary); + printf("%s", ":"); + printf("\n"); + /* Reset to set back the default display. */ + setCharDisplay(DISP_LAST_SET); + + /* Set the list of completion */ + setCharDisplay(DISP_RESET); + for (i = 0; i < sizedictionary; i++) + { + int newlenLine = lenCurrentLine + (int)strlen(dictionary[i]) + (int)strlen(" "); + + if ((lenCurrentLine + newlenLine) > MAX_LINE_SIZE) + { + printf("\n"); + lenCurrentLine = 0; + } + else + { + lenCurrentLine = newlenLine; + } + printf("%s", dictionary[i]); + printf("%s", " "); + } + printf("\n"); + /* Reset to set back the default display. */ + setCharDisplay(DISP_LAST_SET); + } +} diff --git a/modules/console/src/c/cmdLine/charactersManagement.c b/modules/console/src/c/cmdLine/charactersManagement.c new file mode 100755 index 000000000..e2d170aac --- /dev/null +++ b/modules/console/src/c/cmdLine/charactersManagement.c @@ -0,0 +1,154 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 <curses.h> +#include <stdlib.h> +#include <term.h> +#include <termios.h> +#include <unistd.h> +#include <wchar.h> +#include <wctype.h> +#include "termcapManagement.h" +#include "gotoFunctions.h" +#include "cliPrompt.h" +#include "charactersManagement.h" +#include "getNbrLine.h" + +/* Add a character to a command line */ +int addChar(wchar_t ** CommandLine, int key, unsigned int *cursorLocation) +{ + unsigned int indexToMoveChar = 0; + + unsigned int sizeOfCmd = 0; + + sizeOfCmd = wcslen(*CommandLine); + if (L' ' <= key || key == L'\n') + { + if (key == L'\n') + { + *cursorLocation = sizeOfCmd; + } + setStringCapacities("im"); + /* + * If the size of the string size is a multiple of 1024, + * it means the string has reached its max. + */ + if (sizeOfCmd && !((sizeOfCmd + 1) % 1024)) + { + *CommandLine = realloc(*CommandLine, sizeof(wchar_t) * (sizeOfCmd + 1 + 1024)); + } + indexToMoveChar = sizeOfCmd; + /* move each character to the next place */ + while (indexToMoveChar > *cursorLocation) + { + (*CommandLine)[indexToMoveChar] = (*CommandLine)[indexToMoveChar - 1]; + indexToMoveChar--; + } + /* Add the new character to the command line. */ + (*CommandLine)[*cursorLocation] = (wchar_t) key; + if (isatty(fileno(stdin))) + { + /* We are not in a pipe */ + printf("%lc", (*CommandLine)[*cursorLocation]); + } + sizeOfCmd++; + (*CommandLine)[sizeOfCmd] = L'\0'; + (*cursorLocation)++; + setStringCapacities("ei"); + /* To prevent a lost cursor (if cursor reach the last column of the term) */ + if ((*CommandLine)[*cursorLocation] && (*CommandLine)[*cursorLocation] != L'\n') + { + /* Write the next character in the string then move the cursor left */ + printf("%lc\b", (*CommandLine)[*cursorLocation]); + } + else + { + /* If there is none, write a space then move the cursor left */ + printf(" \b"); + } + } + return 0; +} + +/* Delete a character in the command line */ +int rmChar(wchar_t * CommandLine, int key, unsigned int *cursorLocation) +{ + unsigned int indexToMoveChar; + + unsigned int sizeOfCmd = 0; + + sizeOfCmd = wcslen(CommandLine); + /* + * Case Backspace is pressed -> cursor must not be at the beginning of the command line + * Case Delete is pressed -> cursor must not be at the end of line + */ + if ((*cursorLocation && key == SCI_BACKSPACE) || ((sizeOfCmd != *cursorLocation) && key == SCI_DELETE)) + { + if (key == SCI_BACKSPACE) + { + gotoLeft(CommandLine, cursorLocation); + } + indexToMoveChar = *cursorLocation; + /* Save cursor position where it must be placed */ + setStringCapacities("sc"); + while (indexToMoveChar < sizeOfCmd) + { + /* move each character to the previous place and print it */ + CommandLine[indexToMoveChar] = CommandLine[indexToMoveChar + 1]; + indexToMoveChar++; + } + CommandLine[indexToMoveChar] = L'\0'; + /* Delete sreen from cursor to the end */ + setStringCapacities("cd"); + /* write the new string */ + printf("%ls", &CommandLine[*cursorLocation]); + /* Put cursor to the previously saved position */ + setStringCapacities("rc"); + } + return 0; +} + +/* Delete all characters from cursor to the end. */ +int deleteFromCursToEndLine(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + /* set the end of the command line at the current cursor location */ + CommandLine[*cursorLocation] = '\0'; + /* + * Clear screen from cursor to the end of the screen + * Don't use "ce" because of multiline. + */ + setStringCapacities("cd"); + return 0; +} + +int deleteFromCursToBeginningLine(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + while (*cursorLocation) + { + rmChar(CommandLine, SCI_BACKSPACE, cursorLocation); + } + return 0; +} + +int deletePreviousWordFromCurs(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + /* Delete void character before cursor */ + while (*cursorLocation && (CommandLine[*cursorLocation - 1] == ' ' || CommandLine[*cursorLocation - 1] == '\t')) + { + rmChar(CommandLine, SCI_BACKSPACE, cursorLocation); + } + /* Then delete word before cursor */ + while (*cursorLocation && CommandLine[*cursorLocation - 1] != ' ' && CommandLine[*cursorLocation - 1] != '\t') + { + rmChar(CommandLine, SCI_BACKSPACE, cursorLocation); + } + return 0; +} diff --git a/modules/console/src/c/cmdLine/cliDisplayManagement.c b/modules/console/src/c/cmdLine/cliDisplayManagement.c new file mode 100755 index 000000000..a215de861 --- /dev/null +++ b/modules/console/src/c/cmdLine/cliDisplayManagement.c @@ -0,0 +1,80 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 <stdio.h> +#include <stdlib.h> +#include "cliDisplayManagement.h" + +static BOOL cliColor = TRUE; + +/* Set color and other settings about character display */ +void setCharDisplay(char *setting) +{ + static char *currentSetting = NULL; + + static char *lastSetting = NULL; + + if (!getCLIColor()) + { + return; + } + + /* If NULL is passed, Previous settings are set. */ + if (setting == NULL) + { + if (lastSetting != NULL) + { + setting = lastSetting; + } + else /* currentSetting should never be NULL */ + { + setting = currentSetting; + } + } + /* Print the setting to apply */ + printf("\033[%sm", setting); + /* The save preious and current settings */ + lastSetting = currentSetting; + currentSetting = setting; + fflush(stdout); +} + +/* Change Characters color */ +void setForegroundColor(int color) +{ + char charColor[3]; + + charColor[0] = SET_CONSOLE_FOREGROUND; + charColor[1] = color + '0'; + charColor[2] = '\0'; + setCharDisplay(charColor); +} + +/* Change background color */ +void setBackgroundColor(int color) +{ + char charColor[3]; + + charColor[0] = SET_CONSOLE_BACKGROUND; + charColor[1] = color + '0'; + charColor[2] = '\0'; + setCharDisplay(charColor); +} + +BOOL getCLIColor() +{ + return cliColor; +} + +void setCLIColor(BOOL CLIColor) +{ + cliColor = CLIColor; +} diff --git a/modules/console/src/c/cmdLine/cliHistory.c b/modules/console/src/c/cmdLine/cliHistory.c new file mode 100755 index 000000000..d1c834980 --- /dev/null +++ b/modules/console/src/c/cmdLine/cliHistory.c @@ -0,0 +1,131 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - DIGITEO - Karim Mamode + * + * 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 <stdio.h> +#include <unistd.h> +#include <term.h> +#include <termios.h> +#include <wchar.h> +#include "termcapManagement.h" +#include "gotoFunctions.h" +#include "cliPrompt.h" +#include "cliHistory.h" +#include "HistoryManager.h" +#include "MALLOC.h" +#include "charEncoding.h" + +/* Get the prev command line */ +int previousCmd(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + int promptSize; + + int newSizeToAlloc = 0; + + char *multiByteHistory = NULL; + + wchar_t *wideHistory = NULL; + + /* Go the beginning of the current edited line then clearn the screen from */ + while (*cursorLocation) + { + gotoLeft(*commandLine, cursorLocation); + } + setStringCapacities("up"); + setStringCapacities("do"); + setStringCapacities("cd"); + /* Get the new command line then display it */ + promptSize = printPrompt(WRITE_PROMPT); + multiByteHistory = getPreviousLineInScilabHistory(); + if (multiByteHistory != NULL) + { + wideHistory = to_wide_string(multiByteHistory); + if (wideHistory != NULL) + { + /* Allocation by a multiple of 1024 */ + newSizeToAlloc = wcslen(wideHistory) / 1024 + 1; + FREE(*commandLine); + *commandLine = MALLOC(sizeof(**commandLine) * (newSizeToAlloc * 1024)); + if (*commandLine != NULL) + { + wcscpy(*commandLine, wideHistory); + } + } + FREE(multiByteHistory); + FREE(wideHistory); + } + *cursorLocation = wcslen(*commandLine); + printf("%ls", *commandLine); + /* + * if the last character is on the last column of the window, + * put the cursor on the first column of the next line. + * + * Must be done, else the cursor disappear and bug. + */ + if (!((*cursorLocation + promptSize) % tgetnum("co"))) + { + setStringCapacities("do"); + } + return 0; +} + +/* Get the next command line */ +int nextCmd(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + int promptSize; + + int newSizeToAlloc = 0; + + char *multiByteHistory = NULL; + + wchar_t *wideHistory = NULL; + + /* Go the beginning of the current edited line then clearn the screen from */ + while (*cursorLocation) + { + gotoLeft(*commandLine, cursorLocation); + } + setStringCapacities("up"); + setStringCapacities("do"); + setStringCapacities("cd"); + /* Get the new command line then display it */ + promptSize = printPrompt(WRITE_PROMPT); + multiByteHistory = getNextLineInScilabHistory(); + if (multiByteHistory != NULL) + { + wideHistory = to_wide_string(multiByteHistory); + if (wideHistory != NULL) + { + /* Allocation by a multiple of 1024 */ + newSizeToAlloc = wcslen(wideHistory) / 1024 + 1; + FREE(*commandLine); + *commandLine = MALLOC(sizeof(**commandLine) * (newSizeToAlloc * 1024)); + if (*commandLine != NULL) + { + wcscpy(*commandLine, wideHistory); + } + } + FREE(multiByteHistory); + FREE(wideHistory); + } + *cursorLocation = wcslen(*commandLine); + printf("%ls", *commandLine); + /* + * if the last character is on the last column of the window, + * put the cursor on the first column of the next line. + * + * Must be done, else the cursor disappear and bug. + */ + if (!((*cursorLocation + promptSize) % tgetnum("co"))) + { + setStringCapacities("do"); + } + return 0; +} diff --git a/modules/console/src/c/cmdLine/cliPrompt.c b/modules/console/src/c/cmdLine/cliPrompt.c new file mode 100755 index 000000000..2f304ed7f --- /dev/null +++ b/modules/console/src/c/cmdLine/cliPrompt.c @@ -0,0 +1,57 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - DIGITEO - Karim Mamode + * + * 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 <string.h> +#include <wctype.h> +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <wchar.h> +#include <wctype.h> +#include <curses.h> +#include "cliPrompt.h" +#include "prompt.h" +#include "cliDisplayManagement.h" + +/* + * The function shows the current prompt + * If none are set, function set it to the basic prompt SCIPROMPT ("-->") using wchar. + * If Argument pass is WRITE_PROMPT (1), it write prompt (NOWRITE_PROMPT (-1) not to write prompt) + * Function return size of the prompt. + */ +int printPrompt(int token) +{ + char * prompt = (char*)malloc(sizeof(char) * (PROMPT_SIZE_MAX + 1)); + char * tmpPrompt = GetTemporaryPrompt(); + int promptLen; + + /* Retrieve the prompt. It can be different if the pause mode is enabled */ + GetCurrentPrompt(prompt); + + if (token == WRITE_PROMPT) + { + setCharDisplay(DISP_DEFAULT); + if (tmpPrompt) + { + printf("%s", tmpPrompt); + } + else + { + printf("%s", prompt); + } + setCharDisplay(DISP_LAST_SET); + fflush(stdout); + } + promptLen = strlen(prompt); + free(prompt); + return promptLen; +} + diff --git a/modules/console/src/c/cmdLine/getKey.c b/modules/console/src/c/cmdLine/getKey.c new file mode 100755 index 000000000..a04c2240f --- /dev/null +++ b/modules/console/src/c/cmdLine/getKey.c @@ -0,0 +1,394 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - DIGITEO - Karim Mamode + * + * 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 <wchar.h> +#include <wctype.h> +#include <stdlib.h> +#include <stdio.h> +#include <unistd.h> +#include <curses.h> +#include <termios.h> +#include <term.h> +#include <string.h> +#include "cliHistory.h" +#include "termcapManagement.h" +#include "gotoFunctions.h" +#include "charactersManagement.h" +#include "initConsoleMode.h" +#include "cliPrompt.h" +#include "getKey.h" +#include "MALLOC.h" +#include "HistoryManager.h" +#include "charEncoding.h" +#include "cliDisplayManagement.h" +#include "autoCompletionCli.h" +#include "tohome.h" +#include "localization.h" + +/* Set new token in order to get string changement in history */ +static void updateTokenInScilabHistory(wchar_t ** commandLine) +{ + char *multiByteString = NULL; + + multiByteString = wide_string_to_UTF8(*commandLine); + setSearchedTokenInScilabHistory(multiByteString); + FREE(multiByteString); +} + +/* + * If last key was '1' + * it means this could be arrow key plus control key + */ +static void caseCtrlAndArrowKey(wchar_t * commandLine, unsigned int *cursorLocation) +{ + if (getwchar() == L';' && getwchar() == L'5') + { + switch (getwchar()) + { + case L'C': + nextWord(commandLine, cursorLocation); + break; + case L'D': + previousWord(commandLine, cursorLocation); + break; + } + } + else + { + /* + * In case the condition returned false, it may be SHIFT or Alt and an arrow key + * So, the last character is taken to avoid an unintentional print of any other characters. + */ + getwchar(); + } +} + +static void caseHomeOrEndKey(wchar_t * commandLine, unsigned int *cursorLocation) +{ + switch (getwchar()) + { + case L'H': + begLine(commandLine, cursorLocation); + break; + case L'F': + endLine(commandLine, cursorLocation); + break; + } +} + +/* + * If second key was L'[' + * It means this could be an arrow key, a delete key or home/end key. + */ +static void caseDelOrArrowKey(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + int * cmd = *commandLine; + switch (getwchar()) + { + case L'A': + previousCmd(commandLine, cursorLocation); + break; + case L'B': + nextCmd(commandLine, cursorLocation); + break; + case L'C': + gotoRight(*commandLine, cursorLocation); + break; + case L'D': + gotoLeft(*commandLine, cursorLocation); + break; + case L'1': + caseCtrlAndArrowKey(*commandLine, cursorLocation); + break; + case L'3': + if (getwchar() == L'~') + { + rmChar(*commandLine, SCI_DELETE, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + } + //home or end key in some consoles + case L'H': + begLine(cmd, cursorLocation); + break; + case L'F': + endLine(cmd, cursorLocation); + break; + } +} + +/* + * If last key was Meta... + */ +static void caseMetaKey(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + switch (getwchar()) + { + case L'f': + case L'F': + nextWord(*commandLine, cursorLocation); + break; + case L'b': + case L'B': + previousWord(*commandLine, cursorLocation); + break; + case L'[': + caseDelOrArrowKey(commandLine, cursorLocation); + break; + case L'O': + caseHomeOrEndKey(*commandLine, cursorLocation); + break; + + } +} + +static void setCBreak(bool cbk) +{ + struct termios t; + + tcgetattr(0, &t); + if (cbk) + { + t.c_cc[VMIN] = 1; /* Wait 1 character before leaving getwchar */ + t.c_cc[VTIME] = 0; /* Do not wait any second before leaving getwchar */ + } + else + { + t.c_cc[VMIN] = 0; + t.c_cc[VTIME] = 0; /* Do not wait any second before leaving getwchar */ + } + tcsetattr(0, 0, &t); +} + +static void endCopyPast(wchar_t * commandLine) +{ + int sizeOfCmd = 0; + + sizeOfCmd = wcslen(commandLine); + + if (sizeOfCmd == 0) + { + setTokenInteruptExecution(SEND_COMMAND); + } + else + { + if (commandLine[sizeOfCmd - 1] == L'\n') + { + setTokenInteruptExecution(SEND_COMMAND); + } + else + { + setTokenInteruptExecution(CONTINUE_COMMAND); + } + } +} + +/* Reset command line if CTRL-C is pressed */ +static void resetCommandLine(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + char *multiByteString = NULL; + + /* Send the preivous edited line in the history */ + multiByteString = wide_string_to_UTF8(*commandLine); + appendLineToScilabHistory(multiByteString); + FREE(multiByteString); + setSearchedTokenInScilabHistory(NULL); + FREE(*commandLine); + /* Reset command line and cursor position */ + *cursorLocation = 0; + *commandLine = MALLOC(1024 * sizeof(**commandLine)); + **commandLine = L'\0'; + setTokenInteruptExecution(RESET_TOKEN); +} + +/* + * Read keyboard a first time. + */ +static void getKey(wchar_t ** commandLine, unsigned int *cursorLocation) +{ + int key; + + key = getwchar(); + + // Need to clear the stdin + if (key == WEOF && feof(stdin)) + { + clearerr(stdin); + } + + if (getTokenInteruptExecution() == DO_NOT_SEND_COMMAND) + { + resetCommandLine(commandLine, cursorLocation); + } + + switch (key) + { + case CTRL_A: + begLine(*commandLine, cursorLocation); + break; + case CTRL_B: + gotoLeft(*commandLine, cursorLocation); + break; + case CTRL_D: + rmChar(*commandLine, SCI_DELETE, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case CTRL_E: + endLine(*commandLine, cursorLocation); + break; + case CTRL_F: + gotoRight(*commandLine, cursorLocation); + break; + case CTRL_H: + rmChar(*commandLine, SCI_BACKSPACE, cursorLocation); + break; + case CTRL_K: + deleteFromCursToEndLine(*commandLine, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case CTRL_L: + tohome(); + printPrompt(WRITE_PROMPT); + printf("%ls", *commandLine); + break; + case CTRL_N: + nextCmd(commandLine, cursorLocation); + break; + case CTRL_P: + previousCmd(commandLine, cursorLocation); + break; + case CTRL_U: + deleteFromCursToBeginningLine(*commandLine, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case CTRL_W: + deletePreviousWordFromCurs(*commandLine, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case '\t': + autoCompletionInConsoleMode(commandLine, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case ESCAPE: + caseMetaKey(commandLine, cursorLocation); + break; + case SCI_BACKSPACE: + rmChar(*commandLine, SCI_BACKSPACE, cursorLocation); + updateTokenInScilabHistory(commandLine); + break; + case WEOF: + setCBreak(1); + endCopyPast(*commandLine); + break; + default: + /* Different keys are not in different case when it add characters to the command line */ + if (key == L'\n') + { + setCBreak(0); + setCharDisplay(DISP_FAINT); + } + addChar(commandLine, key, cursorLocation); + + updateTokenInScilabHistory(commandLine); + break; + } +} + +/* main command line function */ +char *getCmdLine(void) +{ + char *multiByteString = NULL; + + unsigned int cursorLocation = 0; + + static wchar_t *commandLine = NULL; + + static int nextLineLocationInWideString = 0; + + if (isatty(fileno(stdin))) + { + /* We are not in a pipe */ + printPrompt(WRITE_PROMPT); + setCharDisplay(DISP_BRIGHT); + } + setTokenInteruptExecution(RESET_TOKEN); + + if (commandLine == NULL || commandLine[nextLineLocationInWideString] == L'\0') + { + if (commandLine != NULL) + { + FREE(commandLine); + } + commandLine = MALLOC(1024 * sizeof(*commandLine)); + *commandLine = L'\0'; + nextLineLocationInWideString = 0; + } + else + { + setTokenInteruptExecution(SEND_MULTI_COMMAND); + } + setSearchedTokenInScilabHistory(NULL); + + while (getTokenInteruptExecution() == CONTINUE_COMMAND) + { + getKey(&commandLine, &cursorLocation); + } + + cursorLocation = nextLineLocationInWideString; + while (commandLine[cursorLocation] != L'\n' && commandLine[cursorLocation] != L'\0') + { + cursorLocation++; + } + + commandLine[cursorLocation] = L'\0'; + + if (getTokenInteruptExecution() == SEND_MULTI_COMMAND) + { + printf("%ls\n", &commandLine[nextLineLocationInWideString]); + } + + multiByteString = wide_string_to_UTF8(&commandLine[nextLineLocationInWideString]); + + nextLineLocationInWideString = cursorLocation + 1; + + appendLineToScilabHistory(multiByteString); + + setSearchedTokenInScilabHistory(NULL); + + setCharDisplay(DISP_RESET); + + if (multiByteString && strlen(multiByteString) > 4096) + { + printf(_("Command is too long (more than %d characters long): could not send it to Scilab\n"), 4096); + FREE(multiByteString); + return NULL; + } + + return multiByteString; +} + +/* set the token for the command line */ +int setTokenInteruptExecution(int token) +{ + static int savedToken = RESET_TOKEN; + + if (token != CHECK_TOKEN) + { + savedToken = token; + } + return savedToken; +} + +/* get the token for the command line */ +int getTokenInteruptExecution(void) +{ + return setTokenInteruptExecution(CHECK_TOKEN); +} diff --git a/modules/console/src/c/cmdLine/getNbrLine.c b/modules/console/src/c/cmdLine/getNbrLine.c new file mode 100755 index 000000000..0eaa86ffc --- /dev/null +++ b/modules/console/src/c/cmdLine/getNbrLine.c @@ -0,0 +1,38 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 <wchar.h> +#include <wctype.h> +#include <term.h> +#include <curses.h> +#include "cliPrompt.h" +#include "getNbrLine.h" + +/* Get the number of line the string passed take in the window */ +int getNbrLine(wchar_t * string) +{ + int promptSize = 0; + + int sizeString = 0; + + int nbrLine = 0; + + promptSize = printPrompt(NOWRITE_PROMPT); + sizeString = wcslen(string); + /* + * Number of line is equal to : + * the size of the command line plus the size of the prompt + * divided by the number of column in the window + * Plus one. + */ + nbrLine = 1 + (sizeString + promptSize + 1) / tgetnum("co"); + return nbrLine; +} diff --git a/modules/console/src/c/cmdLine/gotoFunctions.c b/modules/console/src/c/cmdLine/gotoFunctions.c new file mode 100755 index 000000000..2e34e8a81 --- /dev/null +++ b/modules/console/src/c/cmdLine/gotoFunctions.c @@ -0,0 +1,280 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 +*/ + +/* for wcwidth and wcswidth */ +#define _XOPEN_SOURCE +#include <wchar.h> + +#include <termios.h> +#include <curses.h> +#include <term.h> +#include <string.h> + +#include <wctype.h> +#include "BOOL.h" +#include "termcapManagement.h" +#include "cliPrompt.h" +#include "gotoFunctions.h" + +/* + * Return the cursor position of the cursor in the line. + * Note 1: This function doesn't return the cursor position in the whole command line. + * A line is every wide characters separated by L'\n' or L'\0'. + * Note 2 : This function return the number of column used. + * It may not correspond to the number of characters. + */ +static int sizeOfOneLineInTerm(wchar_t * CommandLine, unsigned int cursorLocation) +{ + unsigned int beginningOfLine = cursorLocation; + + int sizeOfLineInTerm = 0; + + wchar_t saveLastWChar = 0; + + /* Character under cursor saved */ + saveLastWChar = CommandLine[cursorLocation]; + /* Set the end of the line to the cursor position */ + CommandLine[cursorLocation] = L'\0'; + /* Looking for the beginning of the line (L'\n' or beginning of the command line) */ + while (CommandLine[beginningOfLine] != L'\n' && beginningOfLine) + { + beginningOfLine--; + } + /* If the line is the first of the command, prompt size must be added */ + if (!beginningOfLine) + { + sizeOfLineInTerm += printPrompt(NOWRITE_PROMPT); + } + /* If L'\n' is found, the line start to the next character */ + if (CommandLine[beginningOfLine] == L'\n') + { + beginningOfLine++; + } + /* Set the beginning of the line */ + CommandLine += beginningOfLine; + /* Get the number of column used by the line */ + sizeOfLineInTerm += wcswidth(CommandLine, wcslen(CommandLine)); + /* Previously saved character put back in the command line */ + CommandLine[cursorLocation - beginningOfLine] = saveLastWChar; + return sizeOfLineInTerm; +} + +/* Move cursor to the right */ +int gotoRight(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + int nbrCol; + + int sizeOfWChar = 0; + + int widthOfStringInTerm = 0; + + nbrCol = tgetnum("co"); + /* if the cursor is not at the end of the command line */ + if (*cursorLocation != wcslen(CommandLine)) + { + /* In case the wide char occupy more than one column */ + if (CommandLine[*cursorLocation] == L'\n') + { + sizeOfWChar = 1; + } + else + { + sizeOfWChar = wcwidth(CommandLine[*cursorLocation]); + } + widthOfStringInTerm = sizeOfOneLineInTerm(CommandLine, *cursorLocation + 1); + /* While we are not at the beginning of the character... */ + while (sizeOfWChar) + { + if ((widthOfStringInTerm && !(widthOfStringInTerm % nbrCol) && sizeOfWChar <= 1) // if last column of the terminal is reached... + || CommandLine[*cursorLocation] == L'\n') // ... or if the cursor will go to the next line. + { + /* move the cursor down. */ + setStringCapacities("do"); + } + else + { + /* else, move it to the right */ + setStringCapacities("nd"); + } + sizeOfWChar--; + } + (*cursorLocation)++; + } + /* else, if the cursor is next to the last column of the window, move it down a line */ + else if (widthOfStringInTerm && !(widthOfStringInTerm % nbrCol)) + { + setStringCapacities("do"); + } + return *cursorLocation; +} + +/* Move cursor to the left */ +int gotoLeft(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + int nbrCol; + + int sizeOfWChar = 0; + + int widthOfStringInTerm = 0; + + int i = 0; + + if (CommandLine != NULL) + { + i = *cursorLocation; + } + if (i) + { + /* In case the wide char occupy more than one column */ + if (CommandLine[*cursorLocation - 1] == L'\n') + { + /* Because L'\n' return -1 */ + sizeOfWChar = 1; + } + else + { + sizeOfWChar = wcwidth(CommandLine[*cursorLocation - 1]); + } + /* Get the number of move too reach the end of the line (not the end of the command) */ + if (CommandLine[*cursorLocation - 1] == L'\n') + { + /* Manage two consecutive L'\n' */ + if ((*cursorLocation >= 2 && CommandLine[*cursorLocation - 2] == L'\n')) + { + setStringCapacities("up"); + i--; + if (CommandLine != NULL) + { + *cursorLocation = i; + } + return i; + } + /* If the cursor will move to a previous line separated by L'\n' */ + if (*cursorLocation > 1) + { + nbrCol = (sizeOfOneLineInTerm(CommandLine, *cursorLocation - 2) + 1) % tgetnum("co"); + } + else + { + nbrCol = printPrompt(NOWRITE_PROMPT); + } + } + else + { + /* If the cursor move up because of the terminal size */ + nbrCol = tgetnum("co"); + } + widthOfStringInTerm = sizeOfOneLineInTerm(CommandLine, i); + while (sizeOfWChar) /* While we are not at the beginning of the character... */ + { + if ((nbrCol && !(widthOfStringInTerm % nbrCol) && sizeOfWChar <= 1) // if last column of the terminal is reached... + || CommandLine[*cursorLocation - 1] == L'\n') // ... or if the cursor will go to the previous line. + { + setStringCapacities("up"); + while (nbrCol) + { + setStringCapacities("nd"); + --nbrCol; + } + } + else + { + putchar('\b'); + } + sizeOfWChar--; + } + i--; + } + if (CommandLine != NULL) + { + *cursorLocation = i; + } + return i; +} + +/* Move cursor to the beginning of a line */ +int begLine(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + /* While the index is not zero (meaning it's the beginning of th line) */ + while (*cursorLocation) + { + gotoLeft(CommandLine, cursorLocation); + } + return *cursorLocation; +} + +/* Move cursor to the end of a line */ +int endLine(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + int sizeOfCmd = 0; + + sizeOfCmd = wcslen(CommandLine); + /* While the index is different of the size of the line */ + while (sizeOfCmd - (*cursorLocation)) + { + gotoRight(CommandLine, cursorLocation); + } + return *cursorLocation; +} + +static BOOL isAWideCharToJump(wchar_t wideCharToTest) +{ + /* List of characters for cursor moving word by word. */ + switch (wideCharToTest) + { + case L' ': + case L'\t': + case L'\n': + case L'[': + case L']': + case L'{': + case L'}': + case L'(': + case L')': + case L'.': + case L',': + case L';': + return TRUE; + default: + return FALSE; + } +} + +int nextWord(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + /* Passing current word... */ + while (CommandLine[*cursorLocation] && !isAWideCharToJump(CommandLine[*cursorLocation])) + { + gotoRight(CommandLine, cursorLocation); + } + /* ... then passing through characters to jump */ + while (CommandLine[*cursorLocation] && isAWideCharToJump(CommandLine[*cursorLocation])) + { + gotoRight(CommandLine, cursorLocation); + } + /* what is the point of the two declaration ? */ + return *cursorLocation; +} + +int previousWord(wchar_t * CommandLine, unsigned int *cursorLocation) +{ + /* Passing through characters to jump... */ + while (*cursorLocation && isAWideCharToJump(CommandLine[*cursorLocation - 1])) + { + gotoLeft(CommandLine, cursorLocation); + } + /* ... then going to the beginning of the word */ + while (*cursorLocation && !isAWideCharToJump(CommandLine[*cursorLocation - 1])) + { + gotoLeft(CommandLine, cursorLocation); + } + return *cursorLocation; +} diff --git a/modules/console/src/c/cmdLine/initConsoleMode.c b/modules/console/src/c/cmdLine/initConsoleMode.c new file mode 100755 index 000000000..ce5d225b4 --- /dev/null +++ b/modules/console/src/c/cmdLine/initConsoleMode.c @@ -0,0 +1,117 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 <termios.h> +#include <curses.h> +#include <term.h> +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include "MALLOC.h" +#include "initConsoleMode.h" + +static void canonicMode(struct termios *t) +{ + t->c_lflag |= ICANON; /* Set CANON flag */ + t->c_lflag |= ECHO; /* Print character when a key is pressed */ +} + +static void rawMode(struct termios *t) +{ + t->c_lflag &= ~ICANON; /* take off CANON flag */ + t->c_lflag &= ~ECHO; /* Do not print character when a key is pressed */ + t->c_cc[VMIN] = 1; /* Wait 1 charater before leaving getwchar */ + t->c_cc[VTIME] = 0; /* Wait 0 second before leaving getwchar */ +} + +/* Save Shell Attribute To reset it when exit */ +static void saveAndResetShellAttr(struct termios *shellAttr) +{ + static struct termios *savedAttr = NULL; + + if (savedAttr == NULL && shellAttr != NULL) + { + savedAttr = MALLOC(sizeof(*savedAttr)); + *savedAttr = *shellAttr; + } + else if (shellAttr == NULL && savedAttr != NULL) + { + if (tcsetattr(0, TCSAFLUSH, savedAttr) == -1) + { + fprintf(stderr, "Cannot reset the shell attributes: %s\n", strerror(errno)); + } + FREE(savedAttr); + savedAttr = NULL; + } +} + +static void saveShellAttr(struct termios *shellAttr) +{ + saveAndResetShellAttr(shellAttr); +} + +static void resetShellAttr(void) +{ + saveAndResetShellAttr(NULL); +} + +/* Set Raw mode or Canonic Mode */ +int setAttr(int bin) +{ + struct termios shellAttr; + + if (bin == ATTR_RESET) + { + resetShellAttr(); + return 0; + } + if (tcgetattr(0, &shellAttr) == -1) + { + fprintf(stderr, "Cannot access to the term attributes: %s\n", strerror(errno)); + return -1; + } + saveShellAttr(&shellAttr); + if (bin == CANON) + { + canonicMode(&shellAttr); + } + else if (bin == RAW) + { + rawMode(&shellAttr); + } + if (tcsetattr(0, TCSAFLUSH, &shellAttr) == -1) + { + fprintf(stderr, "Cannot change the term attributes: %s\n", strerror(errno)); + return -1; + } + return 0; +} + +/* Initialise console mode */ +int initConsoleMode(int bin) +{ + /* TODO: Check more term */ + if (tgetent(NULL, getenv("TERM")) == ERR && tgetent(NULL, "xterm") == ERR) + { + fprintf(stderr, "Cannot initialise termcaps.\nPlease check your variable TERM in your environment.\n"); + return -1; + } + + if (!isatty(fileno(stdin))) + { + /* We are in a pipe, no need to init the console */ + return 0; + } + + return setAttr(bin); +} diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo new file mode 100755 index 000000000..b888eca0d --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-autoCompletionCli.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-autoCompletionCli.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo new file mode 100755 index 000000000..cdf064e5b --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-charactersManagement.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-charactersManagement.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo new file mode 100755 index 000000000..01dbaf8e8 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-cliDisplayManagement.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-cliDisplayManagement.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo new file mode 100755 index 000000000..b25d4df80 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-cliHistory.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-cliHistory.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo new file mode 100755 index 000000000..312179200 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-cliPrompt.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-cliPrompt.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getKey.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getKey.lo new file mode 100755 index 000000000..43279644e --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getKey.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-getKey.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-getKey.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo new file mode 100755 index 000000000..4b7f08ac7 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-getNbrLine.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-getNbrLine.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo new file mode 100755 index 000000000..ff5223160 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-gotoFunctions.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-gotoFunctions.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo new file mode 100755 index 000000000..7bc69c178 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-initConsoleMode.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-initConsoleMode.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo new file mode 100755 index 000000000..c8dade9c3 --- /dev/null +++ b/modules/console/src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo @@ -0,0 +1,12 @@ +# src/c/cmdLine/libsciconsole_minimal_la-termcapManagement.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-termcapManagement.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/cmdLine/termcapManagement.c b/modules/console/src/c/cmdLine/termcapManagement.c new file mode 100755 index 000000000..16e2f5f5f --- /dev/null +++ b/modules/console/src/c/cmdLine/termcapManagement.c @@ -0,0 +1,46 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2011 - DIGITEO - Karim Mamode +* +* 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 <term.h> +#include <curses.h> +#include <termios.h> +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <stdio.h> +#include "termcapManagement.h" +/* Simplify termcap activation */ +void setStringCapacities(const char *capacity) +{ + char *stringCap; + + stringCap = tgetstr(capacity, NULL); + if (stringCap != NULL) + { + tputs(stringCap, 1, putchar); + } +} + +/* Move cursor to the column _col and the line _li */ +void capGoto(int col, int li) +{ + char *stringCap; + + stringCap = tgetstr("cm", NULL); + if (stringCap != NULL) + { + stringCap = tgoto(stringCap, col, li); + } + if (stringCap != NULL) + { + tputs(stringCap, 1, putchar); + } +} diff --git a/modules/console/src/c/console.rc b/modules/console/src/c/console.rc new file mode 100755 index 000000000..dfa2a285a --- /dev/null +++ b/modules/console/src/c/console.rc @@ -0,0 +1,96 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "console module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "console module" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "sciconsole.dll" + VALUE "ProductName", " console module" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/console/src/c/console.vcxproj b/modules/console/src/c/console.vcxproj new file mode 100755 index 000000000..8d4dc069d --- /dev/null +++ b/modules/console/src/c/console.vcxproj @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{445D3B85-C9B1-498B-9C88-0A3C2390B1CC}</ProjectGuid> + <RootNamespace>console</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">sci$(ProjectName)</TargetName> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>.;../../includes;../jni;../../../core/includes;../../../jvm/includes;../../../fileio/includes;../../../localization/includes;../../../windows_tools/includes;../../../commons/src/jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../../libs/intl;../../../output_stream/includes;../../../completion/includes;../../../history_manager/includes;../../../ui_data/includes;../../../windows_tools/src/c/scilab_windows;../../../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + <PostBuildEvent> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>.;../../includes;../jni;../../../core/includes;../../../jvm/includes;../../../fileio/includes;../../../localization/includes;../../../windows_tools/includes;../../../commons/src/jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../../libs/intl;../../../output_stream/includes;../../../completion/includes;../../../history_manager/includes;../../../ui_data/includes;../../../windows_tools/src/c/scilab_windows;../../../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + <PostBuildEvent> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>.;../../includes;../jni;../../../core/includes;../../../jvm/includes;../../../fileio/includes;../../../localization/includes;../../../windows_tools/includes;../../../commons/src/jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../../libs/intl;../../../output_stream/includes;../../../completion/includes;../../../history_manager/includes;../../../ui_data/includes;../../../windows_tools/src/c/scilab_windows;../../../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + <PostBuildEvent> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>.;../../includes;../jni;../../../core/includes;../../../jvm/includes;../../../fileio/includes;../../../localization/includes;../../../windows_tools/includes;../../../commons/src/jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../../libs/intl;../../../output_stream/includes;../../../completion/includes;../../../history_manager/includes;../../../ui_data/includes;../../../windows_tools/src/c/scilab_windows;../../../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + <PostBuildEvent> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\..\sci_gateway\c\gw_console.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_clc.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_iswaitingforinput.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_lines.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_prompt.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_tohome.c" /> + <ClCompile Include="..\jni\CallScilabBridge.cpp" /> + <ClCompile Include="..\cpp\ClearConsole.cpp" /> + <ClCompile Include="..\cpp\ClearConsolePart.cpp" /> + <ClCompile Include="..\cpp\ConsoleIsWaitingForInput.cpp" /> + <ClCompile Include="..\cpp\ConsolePrintf.cpp" /> + <ClCompile Include="..\cpp\ConsoleRead.cpp" /> + <ClCompile Include="clc.c" /> + <ClCompile Include="DllmainConsole.c" /> + <ClCompile Include="dropFiles.c" /> + <ClCompile Include="..\jni\DropFiles_wrap.c" /> + <ClCompile Include="..\cpp\GetCharWithoutOutput.cpp" /> + <ClCompile Include="GetCommandLine.c" /> + <ClCompile Include="GuiManagement.c" /> + <ClCompile Include="..\jni\GuiManagement_wrap.c" /> + <ClCompile Include="InitializeConsole.c" /> + <ClCompile Include="..\cpp\PromptToHome.cpp" /> + <ClCompile Include="..\cpp\ScilabLinesUpdate.cpp" /> + <ClCompile Include="..\cpp\SetConsolePrompt.cpp" /> + <ClCompile Include="more.c" /> + <ClCompile Include="prompt.c" /> + <ClCompile Include="promptecho.c" /> + <ClCompile Include="scilines.c" /> + <ClCompile Include="tohome.c" /> + <ClCompile Include="windows\clrscrPart_nw.c" /> + <ClCompile Include="windows\clrscr_nw.c" /> + <ClCompile Include="windows\TermCommand.c" /> + <ClCompile Include="windows\TermCompletion.c" /> + <ClCompile Include="windows\TermConsole.c" /> + <ClCompile Include="windows\TermLine.c" /> + <ClCompile Include="windows\TermPosition.c" /> + <ClCompile Include="windows\TermPrintf.c" /> + <ClCompile Include="windows\TermReadAndProcess.c" /> + </ItemGroup> + <ItemGroup> + <None Include="..\..\locales\console.pot" /> + <None Include="..\jni\DropFiles.i" /> + <None Include="..\jni\GuiManagement.i" /> + <None Include="core_f_Import.def" /> + <None Include="core_import.def" /> + <None Include="..\..\console.iss" /> + <None Include="..\..\Makefile.am" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="console.rc" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\..\..\tools\Dumpexts\Dumpexts.vcxproj"> + <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\api_scilab\api_scilab.vcxproj"> + <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\commons\src\c\commons.vcxproj"> + <Project>{eca09a1e-6d12-4a47-92e1-a671c181df77}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\completion\src\c\completion.vcxproj"> + <Project>{ccce1ead-8e62-4dc0-ab17-972c06ef0c89}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\fileio\fileio.vcxproj"> + <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\gui\src\c\gui.vcxproj"> + <Project>{45ca5b12-7601-4968-ae16-16069fd1a152}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\history_manager\src\c\history_manager.vcxproj"> + <Project>{1b98dc87-44f5-48ae-b5d0-29dd8ad86f5e}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\jvm\libjvm.vcxproj"> + <Project>{8ba2dda8-bd04-4d4d-8ee6-6caa955f7470}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\localization\src\localization.vcxproj"> + <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj"> + <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\ui_data\src\c\ui_data.vcxproj"> + <Project>{142d643b-a9ec-49db-9d48-a925a20f63b1}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\windows_tools\src\c\scilab_windows\scilab_windows.vcxproj"> + <Project>{8028f371-6a94-4a26-8804-6e7f05f1d1aa}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\cpp\ClearConsole.hxx" /> + <ClInclude Include="..\cpp\ClearConsolePart.hxx" /> + <ClInclude Include="..\cpp\ConsoleIsWaitingForInput.hxx" /> + <ClInclude Include="..\cpp\ConsolePrintf.hxx" /> + <ClInclude Include="..\cpp\ConsoleRead.hxx" /> + <ClInclude Include="..\cpp\GetCharWithoutOutput.hxx" /> + <ClInclude Include="..\cpp\PromptToHome.hxx" /> + <ClInclude Include="..\cpp\ScilabLinesUpdate.hxx" /> + <ClInclude Include="..\cpp\SetConsolePrompt.hxx" /> + <ClInclude Include="clc.h" /> + <ClInclude Include="ClearConsole.h" /> + <ClInclude Include="ClearConsolePart.h" /> + <ClInclude Include="ConsoleIsWaitingForInput.h" /> + <ClInclude Include="ConsoleRead.h" /> + <ClInclude Include="dropFiles.h" /> + <ClInclude Include="GetCharWithoutOutput.h" /> + <ClInclude Include="GuiManagement.h" /> + <ClInclude Include="promptecho.h" /> + <ClInclude Include="PromptToHome.h" /> + <ClInclude Include="PutChar.h" /> + <ClInclude Include="ScilabLinesUpdate.h" /> + <ClInclude Include="SetConsolePrompt.h" /> + <ClInclude Include="TermReadAndProcess.h" /> + <ClInclude Include="tohome.h" /> + <ClInclude Include="windows\clrscrPart_nw.h" /> + <ClInclude Include="windows\clrscr_nw.h" /> + <ClInclude Include="windows\TermCommand.h" /> + <ClInclude Include="windows\TermCompletion.h" /> + <ClInclude Include="windows\TermConsole.h" /> + <ClInclude Include="windows\TermLine.h" /> + <ClInclude Include="windows\TermPosition.h" /> + <ClInclude Include="windows\TermPrintf.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/modules/console/src/c/console.vcxproj.filters b/modules/console/src/c/console.vcxproj.filters new file mode 100755 index 000000000..0b55c4e43 --- /dev/null +++ b/modules/console/src/c/console.vcxproj.filters @@ -0,0 +1,266 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{1a223a39-760f-4323-bb53-17e62dcd93a0}</UniqueIdentifier> + <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{44b9bf1c-597e-412e-babe-9cdbed2fdd28}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl</Extensions> + </Filter> + <Filter Include="localization"> + <UniqueIdentifier>{44071cb2-2fa6-49a5-961a-8e36decf76f7}</UniqueIdentifier> + </Filter> + <Filter Include="Swig Files"> + <UniqueIdentifier>{9c905273-835b-42e2-8015-d53efd1d6ea8}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies"> + <UniqueIdentifier>{d4a02b78-5c10-46c7-9134-7baf97580d8e}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies\Imports"> + <UniqueIdentifier>{7fb5a234-015b-4c70-94bd-5df1f01d0059}</UniqueIdentifier> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{097f223c-2859-4ab8-816c-43e87a00ce20}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\jni\CallScilabBridge.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ClearConsole.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ClearConsolePart.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ConsoleIsWaitingForInput.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ConsolePrintf.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ConsoleRead.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="DllmainConsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="dropFiles.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\jni\DropFiles_wrap.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\GetCharWithoutOutput.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="GuiManagement.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\jni\GuiManagement_wrap.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="InitializeConsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\PromptToHome.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\ScilabLinesUpdate.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\cpp\SetConsolePrompt.cpp"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="clc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="GetCommandLine.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="more.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="prompt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="promptecho.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="scilines.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="tohome.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\clrscr_nw.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\clrscrPart_nw.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermCommand.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermCompletion.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermConsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermLine.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermPosition.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermPrintf.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="windows\TermReadAndProcess.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\gw_console.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_clc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_iswaitingforinput.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_lines.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_prompt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_tohome.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <None Include="..\jni\DropFiles.i"> + <Filter>Swig Files</Filter> + </None> + <None Include="..\jni\GuiManagement.i"> + <Filter>Swig Files</Filter> + </None> + <None Include="core_import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + <None Include="..\..\console.iss" /> + <None Include="..\..\Makefile.am" /> + <None Include="..\..\locales\console.pot"> + <Filter>localization</Filter> + </None> + <None Include="core_f_Import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="console.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="clc.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="ClearConsole.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="ClearConsolePart.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="ConsoleIsWaitingForInput.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="ConsoleRead.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="dropFiles.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="GetCharWithoutOutput.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="GuiManagement.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="promptecho.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="PromptToHome.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="PutChar.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="ScilabLinesUpdate.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="SetConsolePrompt.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="TermReadAndProcess.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="tohome.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\clrscr_nw.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\clrscrPart_nw.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermCommand.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermCompletion.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermConsole.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermLine.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermPosition.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="windows\TermPrintf.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ClearConsole.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ClearConsolePart.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ConsoleIsWaitingForInput.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ConsolePrintf.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ConsoleRead.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\GetCharWithoutOutput.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\PromptToHome.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\ScilabLinesUpdate.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\cpp\SetConsolePrompt.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/modules/console/src/c/core_Import.def b/modules/console/src/c/core_Import.def new file mode 100755 index 000000000..9656ef0bd --- /dev/null +++ b/modules/console/src/c/core_Import.def @@ -0,0 +1,25 @@ +LIBRARY core.dll + + +EXPORTS +LaunchScilab +pLaunchScilabLock +callFunctionFromGateway +com_ +stack_ +getrhsvar_ +gettype_ +vstk_ +createvar_ +getScilabMode +vartype_ +recu_ +with_module +StoreCommand +ismenu +getWarningMode +iop_ +freeArrayOfString +MyHeapAlloc +MyHeapFree +MyHeapRealloc diff --git a/modules/console/src/c/core_f_Import.def b/modules/console/src/c/core_f_Import.def new file mode 100755 index 000000000..001986936 --- /dev/null +++ b/modules/console/src/c/core_f_Import.def @@ -0,0 +1,4 @@ + LIBRARY core_f.dll + +EXPORTS +sigbas_ diff --git a/modules/console/src/c/dropFiles.c b/modules/console/src/c/dropFiles.c new file mode 100755 index 000000000..f5a55a5d8 --- /dev/null +++ b/modules/console/src/c/dropFiles.c @@ -0,0 +1,169 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2005-2008 - INRIA - Allan CORNET + * Copyright (C) 2012 - DIGITEO - 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 <string.h> +#include <stdio.h> +#include <stdlib.h> +#include "dropFiles.h" +#include "MALLOC.h" +#include "storeCommand.h" /* storecommand */ +#include "FindFileExtension.h" +#include "URIFileToFilename.h" +#include "../../../string/includes/stricmp.h" +#include "../../../core/src/c/with_module.h" +#if _MSC_VER +#include "strdup_windows.h" +#endif +/*--------------------------------------------------------------------------*/ +#define BIN_EXTENSION_FILE ".bin" +#define SAV_EXTENSION_FILE ".sav" +#define COS_EXTENSION_FILE ".cos" +#define XCOS_EXTENSION_FILE ".xcos" +#define COSF_EXTENSION_FILE ".cosf" +#define SCI_EXTENSION_FILE ".sci" +#define SCE_EXTENSION_FILE ".sce" +#define TST_EXTENSION_FILE ".tst" +#define DEM_EXTENSION_FILE ".dem" +#define SCG_EXTENSION_FILE ".scg" +#define ZCOS_EXTENSION_FILE ".zcos" +#define SOD_EXTENSION_FILE ".sod" +/*--------------------------------------------------------------------------*/ +#define FORMAT_BIN_SCE_EXTENSION_FILES "load('%s');" +#define FORMAT_COS_COSF_XCOS_EXTENSION_FILES "xcos('%s');" +#define FORMAT_SCI_EXTENSION_FILES "exec('%s');" +#define FORMAT_SCE_TST_EXTENSION_FILES "exec('%s');" +#define FORMAT_SCG_EXTENSION_FILES "load('%s');" +#define FORMAT_UNKNOW_EXTENSION_FILES "disp(gettext('Unknown file type : %s'));" +#define XCOS_NOT_INSTALLED "disp(gettext('Please install xcos module.'))" +/*--------------------------------------------------------------------------*/ +static char *getCommandByFileExtension(char *File, char *FileExtension); +static char *buildCommand(char *format, char *filename); +static BOOL LaunchFilebyExtension(char *File); +/*--------------------------------------------------------------------------*/ +BOOL dropFiles(char **files) +{ + int len = 0; + + while (files[len]) + { + char *convertfile = URIFileToFilename(files[len]); + + if (convertfile) + { + BOOL bCheck = LaunchFilebyExtension(convertfile); + if (convertfile) + { + FREE(convertfile); + convertfile = NULL; + } + if (!bCheck) + { + return bCheck; + } + } + len++; + } + return TRUE; +} +/*--------------------------------------------------------------------------*/ +BOOL LaunchFilebyExtension(char *File) +{ + BOOL bOK = FALSE; + + char *CommandLine = NULL; + char *FileExtension = NULL; + + FileExtension = FindFileExtension(File); + CommandLine = getCommandByFileExtension(File, FileExtension); + + if (CommandLine) + { + StoreCommand(CommandLine); + bOK = TRUE; + + FREE(CommandLine); + CommandLine = NULL; + } + + if (FileExtension) + { + FREE(CommandLine); + CommandLine = NULL; + } + + return bOK; +} +/*--------------------------------------------------------------------------*/ +static char *getCommandByFileExtension(char *File, char *FileExtension) +{ + char *command = NULL; + + if (FileExtension) + { + if ( (stricmp(FileExtension, BIN_EXTENSION_FILE) == 0) || + (stricmp(FileExtension, SAV_EXTENSION_FILE) == 0) || + (stricmp(FileExtension, SOD_EXTENSION_FILE) == 0)) + { + command = buildCommand(FORMAT_BIN_SCE_EXTENSION_FILES, File); + } + else if ( (stricmp(FileExtension, COS_EXTENSION_FILE) == 0) || + (stricmp(FileExtension, COSF_EXTENSION_FILE) == 0) || + (stricmp(FileExtension, ZCOS_EXTENSION_FILE) == 0) || + (stricmp(FileExtension, XCOS_EXTENSION_FILE) == 0)) + { + if (with_module("xcos")) + { + command = buildCommand(FORMAT_COS_COSF_XCOS_EXTENSION_FILES, File); + } + else + { + command = strdup(XCOS_NOT_INSTALLED); + } + } + else if (stricmp(FileExtension, SCI_EXTENSION_FILE) == 0) + { + command = buildCommand(FORMAT_SCI_EXTENSION_FILES, File); + } + else if ( (stricmp(FileExtension, SCE_EXTENSION_FILE) == 0) || (stricmp(FileExtension, TST_EXTENSION_FILE) == 0) || (stricmp(FileExtension, DEM_EXTENSION_FILE) == 0) ) + { + command = buildCommand(FORMAT_SCE_TST_EXTENSION_FILES, File); + } + else if (stricmp(FileExtension, SCG_EXTENSION_FILE) == 0) + { + command = buildCommand(FORMAT_SCG_EXTENSION_FILES, File); + } + else + { + command = buildCommand(FORMAT_UNKNOW_EXTENSION_FILES, File); + } + } + return command; +} +/*--------------------------------------------------------------------------*/ +static char *buildCommand(char *format, char *filename) +{ + char *command = NULL; + + if (format && filename) + { + command = (char*)MALLOC( (strlen(filename) + strlen(format) + 1) * sizeof(char) ); + if (command) + { + sprintf(command, format, filename); + } + } + + return command; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/dropFiles.h b/modules/console/src/c/dropFiles.h new file mode 100755 index 000000000..8747768ac --- /dev/null +++ b/modules/console/src/c/dropFiles.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-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 + * + */ + +/*--------------------------------------------------------------------------*/ +#ifndef __DROPFILES_H__ +#define __DROPFILES_H__ + +#include "BOOL.h" /* BOOL */ +/** +* drap & drop files +* @param[in] list of files +* @return TRUE or FALSE +*/ +BOOL dropFiles(char **files); + +#endif /* __DROPFILES_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/fileio_Import.def b/modules/console/src/c/fileio_Import.def new file mode 100755 index 000000000..270b17aab --- /dev/null +++ b/modules/console/src/c/fileio_Import.def @@ -0,0 +1,4 @@ + LIBRARY fileio.dll + +EXPORTS +scigetcwd
\ No newline at end of file diff --git a/modules/console/src/c/libjvm_Import.def b/modules/console/src/c/libjvm_Import.def new file mode 100755 index 000000000..41d0878da --- /dev/null +++ b/modules/console/src/c/libjvm_Import.def @@ -0,0 +1,4 @@ +LIBRARY libjvm.dll + + +EXPORTS diff --git a/modules/console/src/c/libsciconsole_la-GuiManagement.lo b/modules/console/src/c/libsciconsole_la-GuiManagement.lo new file mode 100755 index 000000000..be19a3791 --- /dev/null +++ b/modules/console/src/c/libsciconsole_la-GuiManagement.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_la-GuiManagement.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-GuiManagement.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_la-dropFiles.lo b/modules/console/src/c/libsciconsole_la-dropFiles.lo new file mode 100755 index 000000000..12722f4be --- /dev/null +++ b/modules/console/src/c/libsciconsole_la-dropFiles.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_la-dropFiles.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-dropFiles.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-GetCommandLine.lo b/modules/console/src/c/libsciconsole_minimal_la-GetCommandLine.lo new file mode 100755 index 000000000..c02b6e724 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-GetCommandLine.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-GetCommandLine.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-GetCommandLine.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-clc.lo b/modules/console/src/c/libsciconsole_minimal_la-clc.lo new file mode 100755 index 000000000..11fae2c6f --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-clc.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-clc.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-clc.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-more.lo b/modules/console/src/c/libsciconsole_minimal_la-more.lo new file mode 100755 index 000000000..a7801ed76 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-more.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-more.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-more.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-prompt.lo b/modules/console/src/c/libsciconsole_minimal_la-prompt.lo new file mode 100755 index 000000000..d8fb2f7c6 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-prompt.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-prompt.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-prompt.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-promptecho.lo b/modules/console/src/c/libsciconsole_minimal_la-promptecho.lo new file mode 100755 index 000000000..0118248c5 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-promptecho.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-promptecho.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-promptecho.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-scilines.lo b/modules/console/src/c/libsciconsole_minimal_la-scilines.lo new file mode 100755 index 000000000..b06bfd773 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-scilines.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-scilines.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-scilines.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/libsciconsole_minimal_la-tohome.lo b/modules/console/src/c/libsciconsole_minimal_la-tohome.lo new file mode 100755 index 000000000..dd37d9220 --- /dev/null +++ b/modules/console/src/c/libsciconsole_minimal_la-tohome.lo @@ -0,0 +1,12 @@ +# src/c/libsciconsole_minimal_la-tohome.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-tohome.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/more.c b/modules/console/src/c/more.c new file mode 100755 index 000000000..f7abbccf8 --- /dev/null +++ b/modules/console/src/c/more.c @@ -0,0 +1,65 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifdef _MSC_VER +#include <conio.h> +#endif +#include <stdio.h> +#include "more.h" +#include "scilabmode.h" +#include "localization.h" +#include "sciprint.h" +#include "GetCharWithoutOutput.h" +#include "ConsolePrintf.h" +/*--------------------------------------------------------------------------*/ +#define MSG_MORE _("[Continue display? n (no) to stop, any other key to continue]") +/*--------------------------------------------------------------------------*/ +int linesmore(void) +{ + int retval = 0; + if (getScilabMode() != SCILAB_STD) + { + int ch = 0; + /* Scilab has not his own window */ + sciprint(MSG_MORE); + +#if _MSC_VER + ch = _getch(); + if ( (ch != ' ') && (ch != 13) && (ch != 'y') ) + { + retval = 1; + } +#else + ch = getchar(); + if ( (ch != ' ') && (ch != '\n') && (ch != 'y') ) + { + retval = 1; + } +#endif + + sciprint("\n"); + } + else + { + /* scilab has his own window */ + int ch = 0; + ConsolePrintf(MSG_MORE); + ch = GetCharWithoutOutput(); + if ( ch == 110 ) + { + retval = 1; + } + } + return retval; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/others/.deps/.dirstamp b/modules/console/src/c/others/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/others/.deps/.dirstamp diff --git a/modules/console/src/c/others/.deps/libsciconsole_la-initMacOSXEnv.Plo b/modules/console/src/c/others/.deps/libsciconsole_la-initMacOSXEnv.Plo new file mode 100755 index 000000000..9ce06a81e --- /dev/null +++ b/modules/console/src/c/others/.deps/libsciconsole_la-initMacOSXEnv.Plo @@ -0,0 +1 @@ +# dummy diff --git a/modules/console/src/c/others/.deps/libsciconsole_minimal_la-clrscr_nw.Plo b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-clrscr_nw.Plo new file mode 100755 index 000000000..451635a85 --- /dev/null +++ b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-clrscr_nw.Plo @@ -0,0 +1,56 @@ +src/c/others/libsciconsole_minimal_la-clrscr_nw.lo: \ + src/c/others/clrscr_nw.c /usr/include/stdc-predef.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h src/c/others/clrscr_nw.h \ + src/c/others/gotoxy_nw.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +src/c/others/clrscr_nw.h: + +src/c/others/gotoxy_nw.h: diff --git a/modules/console/src/c/others/.deps/libsciconsole_minimal_la-gotoxy_nw.Plo b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-gotoxy_nw.Plo new file mode 100755 index 000000000..0fe7add11 --- /dev/null +++ b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-gotoxy_nw.Plo @@ -0,0 +1,53 @@ +src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo: \ + src/c/others/gotoxy_nw.c /usr/include/stdc-predef.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h src/c/others/gotoxy_nw.h + +/usr/include/stdc-predef.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +src/c/others/gotoxy_nw.h: diff --git a/modules/console/src/c/others/.deps/libsciconsole_minimal_la-initMacOSXEnv.Plo b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-initMacOSXEnv.Plo new file mode 100755 index 000000000..9ce06a81e --- /dev/null +++ b/modules/console/src/c/others/.deps/libsciconsole_minimal_la-initMacOSXEnv.Plo @@ -0,0 +1 @@ +# dummy diff --git a/modules/console/src/c/others/.dirstamp b/modules/console/src/c/others/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/c/others/.dirstamp diff --git a/modules/console/src/c/others/.libs/libsciconsole_minimal_la-clrscr_nw.o b/modules/console/src/c/others/.libs/libsciconsole_minimal_la-clrscr_nw.o Binary files differnew file mode 100755 index 000000000..d52f77cb9 --- /dev/null +++ b/modules/console/src/c/others/.libs/libsciconsole_minimal_la-clrscr_nw.o diff --git a/modules/console/src/c/others/.libs/libsciconsole_minimal_la-gotoxy_nw.o b/modules/console/src/c/others/.libs/libsciconsole_minimal_la-gotoxy_nw.o Binary files differnew file mode 100755 index 000000000..f22fcfffc --- /dev/null +++ b/modules/console/src/c/others/.libs/libsciconsole_minimal_la-gotoxy_nw.o diff --git a/modules/console/src/c/others/clrscr_nw.c b/modules/console/src/c/others/clrscr_nw.c new file mode 100755 index 000000000..6eb2e39ae --- /dev/null +++ b/modules/console/src/c/others/clrscr_nw.c @@ -0,0 +1,24 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <stdio.h> +#include "clrscr_nw.h" +#include "gotoxy_nw.h" +/*--------------------------------------------------------------------------*/ +#define CLRSCR_NW_FORMAT "\033[2J" +/*--------------------------------------------------------------------------*/ +void clrscr_nw(void) +{ + printf(CLRSCR_NW_FORMAT); + gotoxy_nw(0, 0); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/others/clrscr_nw.h b/modules/console/src/c/others/clrscr_nw.h new file mode 100755 index 000000000..f8932fc41 --- /dev/null +++ b/modules/console/src/c/others/clrscr_nw.h @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __CLRSCR_NW_H__ +#define __CLRSCR_NW_H__ + +/** +* Clear screen nw mode +*/ +void clrscr_nw(void); + +#endif /* __CLRSCR_NW_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/others/gotoxy_nw.c b/modules/console/src/c/others/gotoxy_nw.c new file mode 100755 index 000000000..2e8b827cd --- /dev/null +++ b/modules/console/src/c/others/gotoxy_nw.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <stdio.h> +#include "gotoxy_nw.h" +/*--------------------------------------------------------------------------*/ +#define GOTOXY_FORMAT "\033[%d;%dH" +/*--------------------------------------------------------------------------*/ +void gotoxy_nw(int x, int y) +{ + printf(GOTOXY_FORMAT, y, x); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/others/gotoxy_nw.h b/modules/console/src/c/others/gotoxy_nw.h new file mode 100755 index 000000000..1ff80da50 --- /dev/null +++ b/modules/console/src/c/others/gotoxy_nw.h @@ -0,0 +1,24 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __GOTOXY_NW_H__ +#define __GOTOXY_NW_H__ + +/** +* move cursor in -nw mode +* @param[in] x +* @param[in] y +*/ +void gotoxy_nw(int x, int y); + +#endif /* __GOTOXY_NW_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/others/initMacOSXEnv.c b/modules/console/src/c/others/initMacOSXEnv.c new file mode 100755 index 000000000..c85fb5e2d --- /dev/null +++ b/modules/console/src/c/others/initMacOSXEnv.c @@ -0,0 +1,276 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - DIGITEO - Sylvestre LEDRU + * + * 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 <stdlib.h> +#include "scilabmode.h" +#include "realmain.h" +#include "initMacOSXEnv.h" + +#if defined(__APPLE__) && !defined(WITHOUT_GUI) +#include <pthread.h> +#include <CoreFoundation/CoreFoundation.h> +#include <sys/stat.h> +#include <ApplicationServices/ApplicationServices.h> +#endif + + +#if defined(__APPLE__) && !defined(WITHOUT_GUI) + +typedef struct +{ + int no_startup_flag_l; + char *initial_script; + InitScriptType initial_script_type; + int memory; +} thread_parm_t; + +/* +Some parts of the next three functions have been taken from simpleJavaLauncher. + + + Copyright: © Copyright 2003 Apple Computer, Inc. All rights reserved. + + Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. + ("Apple") in consideration of your agreement to the following terms, and your + use, installation, modification or redistribution of this Apple software + constitutes acceptance of these terms. If you do not agree with these terms, + please do not use, install, modify or redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and subject + to these terms, Apple grants you a personal, non-exclusive license, under Apple's + copyrights in this original Apple software (the "Apple Software"), to use, + reproduce, modify and redistribute the Apple Software, with or without + modifications, in source and/or binary forms; provided that if you redistribute + the Apple Software in its entirety and without modifications, you must retain + this notice and the following text and disclaimers in all such redistributions of + the Apple Software. Neither the name, trademarks, service marks or logos of + Apple Computer, Inc. may be used to endorse or promote products derived from the + Apple Software without specific prior written permission from Apple. Except as + expressly stated in this notice, no other rights or licenses, express or implied, + are granted by Apple herein, including but not limited to any patent rights that + may be infringed by your derivative works or by other works in which the Apple + Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO + WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED + WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN + COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION + OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT + (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/** + * Set the name of the application (the mac os x way) + * @param name the name of the application + */ +static void setAppName(const char * name) +{ + char a[32]; + pid_t id = getpid(); + sprintf(a, "APP_NAME_%ld", (long)id); + setenv(a, name, 1); +} + +/** + * Actually launch Scilab under Mac OS X. Need to be in a specific thread. + * See http://wiki.scilab.org/Compiling_Scilab_5.x_under_MacOSX + * @param param The structure containing the missing argument mandatory for realmain + * @return the result of the operation (0 if OK ...) + */ +static int launchMacOSXEnv(thread_parm_t *param) +{ + thread_parm_t *p = (thread_parm_t *)param; + int ret = -1; + { + CFStringRef targetJVM = CFSTR("1.5"); + CFBundleRef JavaVMBundle; + CFURLRef JavaVMBundleURL; + CFURLRef JavaVMBundlerVersionsDirURL; + CFURLRef TargetJavaVM; + UInt8 pathToTargetJVM [PATH_MAX] = "\0"; + struct stat sbuf; + + /* + * This piece of code is mandatory because Mac OS X implementation of Java has a bug here. + * Cocoa does not know how to handle the new window created this way. + * See: http://lists.apple.com/archives/Java-dev/2009/Jan/msg00062.html + * Or Mac Os X bug #6484319 + * Thanks to Mike Swingler + */ + ProcessSerialNumber psn; + GetCurrentProcess(&psn); + TransformProcessType(&psn, kProcessTransformToForegroundApplication); + /* End of the workaround */ + + // Look for the JavaVM bundle using its identifier + JavaVMBundle = CFBundleGetBundleWithIdentifier(CFSTR("com.apple.JavaVM") ); + + if (JavaVMBundle != NULL) + { + // Get a path for the JavaVM bundle + JavaVMBundleURL = CFBundleCopyBundleURL(JavaVMBundle); + CFRelease(JavaVMBundle); + + if (JavaVMBundleURL != NULL) + { + // Append to the path the Versions Component + JavaVMBundlerVersionsDirURL = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault, JavaVMBundleURL, CFSTR("Versions"), true); + CFRelease(JavaVMBundleURL); + + if (JavaVMBundlerVersionsDirURL != NULL) + { + // Append to the path the target JVM's Version + TargetJavaVM = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault, JavaVMBundlerVersionsDirURL, targetJVM, true); + CFRelease(JavaVMBundlerVersionsDirURL); + if (TargetJavaVM != NULL) + { + if (CFURLGetFileSystemRepresentation (TargetJavaVM, true, pathToTargetJVM, PATH_MAX )) + { + // Check to see if the directory, or a sym link for the target JVM directory exists, and if so set the + // environment variable JAVA_JVM_VERSION to the target JVM. + if (stat((char*)pathToTargetJVM, &sbuf) == 0) + { + // Ok, the directory exists, so now we need to set the environment var JAVA_JVM_VERSION to the CFSTR targetJVM + // We can reuse the pathToTargetJVM buffer to set the environement var. + if (CFStringGetCString(targetJVM, (char*)pathToTargetJVM, PATH_MAX, kCFStringEncodingUTF8)) + { + setenv("JAVA_JVM_VERSION", (char*)pathToTargetJVM, 1); + ret = 0; + } + else + { + fprintf(stderr, "Could not get the path to the target JVM.\n"); + } + } + else + { + fprintf(stderr, "Error checking symlink for the target jvm.\n"); + } + } + else + { + fprintf(stderr, "Error getting file system representation for bundle url.\n"); + CFRelease(TargetJavaVM); + } + } + else + { + fprintf(stderr, "Error appending version component to bundle url.\n"); + } + } + else + { + fprintf(stderr, "Error appending path component to bundle url.\n"); + } + } + else + { + fprintf(stderr, "Error copying bundle url.\n"); + } + } + else + { + fprintf(stderr, "Error: cant find bundle: com.apple.JavaVM.\n"); + } + } + + if (ret == 0) + { + /* Call the actual startup script of Scilab */ + ret = realmain(p->no_startup_flag_l, p->initial_script, p->initial_script_type, p->memory); + free(p); + exit(ret); + } + free(p); + return ret; + +} + +/* call back for dummy source used to make sure the CFRunLoop doesn't exit right away */ +/* This callback is called when the source has fired. */ +static void sourceCallBack ( void *info ) {} + +/* Specific wrapper for mac os X which is going to call realmin in a specific thread. + * Takes the same args as realmain + */ +int initMacOSXEnv(int no_startup_flag_l, char *initial_script, InitScriptType initial_script_type, int memory) +{ + + CFRunLoopSourceContext sourceContext; + /* Start the thread that runs the VM. */ + pthread_t vmthread; + setAppName("Scilab"); + + /* Create the structure which is going to be giving to the function inside the thread */ + thread_parm_t *param = NULL; + param = malloc(sizeof(thread_parm_t)); + param->no_startup_flag_l = no_startup_flag_l; + param->initial_script = initial_script; + param->initial_script_type = initial_script_type; + param->memory = memory; + + /* create a new pthread copying the stack size of the primordial pthread */ + struct rlimit limit; + size_t stack_size = 0; + int rc = getrlimit(RLIMIT_STACK, &limit); + if (rc == 0) + { + if (limit.rlim_cur != 0LL) + { + stack_size = (size_t)limit.rlim_cur; + } + } + pthread_attr_t thread_attr; + pthread_attr_init(&thread_attr); + pthread_attr_setscope(&thread_attr, PTHREAD_SCOPE_SYSTEM); + pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED); + if (stack_size > 0) + { + pthread_attr_setstacksize(&thread_attr, stack_size); + } + + /* Start the thread that we will start the JVM on. */ + pthread_create(&vmthread, &thread_attr, launchMacOSXEnv, (void*)param); + pthread_attr_destroy(&thread_attr); + + /* Create a sourceContext to be used by our source that makes */ + /* sure the CFRunLoop doesn't exit right away */ + sourceContext.version = 0; + sourceContext.info = NULL; + sourceContext.retain = NULL; + sourceContext.release = NULL; + sourceContext.copyDescription = NULL; + sourceContext.equal = NULL; + sourceContext.hash = NULL; + sourceContext.schedule = NULL; + sourceContext.cancel = NULL; + sourceContext.perform = &sourceCallBack; + + /* Create the Source from the sourceContext */ + CFRunLoopSourceRef sourceRef = CFRunLoopSourceCreate (NULL, 0, &sourceContext); + + /* Use the constant kCFRunLoopCommonModes to add the source to the set of objects */ + /* monitored by all the common modes */ + CFRunLoopAddSource (CFRunLoopGetCurrent(), sourceRef, kCFRunLoopCommonModes); + + /* Park this thread in the runloop */ + CFRunLoopRun(); + + return 0; +} +#endif diff --git a/modules/console/src/c/others/libsciconsole_minimal_la-clrscr_nw.lo b/modules/console/src/c/others/libsciconsole_minimal_la-clrscr_nw.lo new file mode 100755 index 000000000..35244208e --- /dev/null +++ b/modules/console/src/c/others/libsciconsole_minimal_la-clrscr_nw.lo @@ -0,0 +1,12 @@ +# src/c/others/libsciconsole_minimal_la-clrscr_nw.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-clrscr_nw.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo b/modules/console/src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo new file mode 100755 index 000000000..b1887bf3d --- /dev/null +++ b/modules/console/src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo @@ -0,0 +1,12 @@ +# src/c/others/libsciconsole_minimal_la-gotoxy_nw.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-gotoxy_nw.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/c/prompt.c b/modules/console/src/c/prompt.c new file mode 100755 index 000000000..176ab3f3a --- /dev/null +++ b/modules/console/src/c/prompt.c @@ -0,0 +1,92 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) INRIA +* Copyright (C) DIGITEO - 2010 +* +* 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 <stdio.h> +#include <string.h> +#include "prompt.h" +#include "sciprint.h" +#include "warningmode.h" +#include "localization.h" +#include "MALLOC.h" +#ifdef _MSC_VER +#include "strdup_Windows.h" +#endif +#include "BOOL.h" +/*------------------------------------------------------------------------*/ +static char Sci_Prompt[PROMPT_SIZE_MAX]; +static BOOL dispWarningLevelPrompt = TRUE; +static char *temporaryPrompt = NULL; +/*------------------------------------------------------------------------*/ +/* setprlev : set the current prompt string */ +/*------------------------------------------------------------------------*/ +void C2F(setprlev)( int *pause) +{ + if ( *pause == 0 ) + { + sprintf(Sci_Prompt, SCIPROMPT); + } + else if ( *pause > 0 ) + { + if (dispWarningLevelPrompt) + { + if (getWarningMode()) + { + sciprint(_("Type '%s' or '%s' to return to standard level prompt.\n\n"), "resume", "abort"); + dispWarningLevelPrompt = FALSE; + } + } + sprintf(Sci_Prompt, SCIPROMPT_INTERRUPT, *pause); + // bug 5513 + // when we change prompt to a pause level, we change also temp. prompt + SetTemporaryPrompt(Sci_Prompt); + } + else + { + sprintf(Sci_Prompt, SCIPROMPT_PAUSE); + // bug 5513 + // when we change prompt to halt level, we change also temp. prompt + SetTemporaryPrompt(Sci_Prompt); + } +} +/*------------------------------------------------------------------------*/ +void GetCurrentPrompt(char *CurrentPrompt) +{ + if (CurrentPrompt) + { + strcpy(CurrentPrompt, Sci_Prompt); + } +} +/*------------------------------------------------------------------------*/ +void SetTemporaryPrompt(char *tempPrompt) +{ + if (temporaryPrompt) + { + FREE(temporaryPrompt); + temporaryPrompt = NULL; + } + temporaryPrompt = strdup(tempPrompt); +} +/*------------------------------------------------------------------------*/ +char *GetTemporaryPrompt(void) +{ + return temporaryPrompt; +} +/*------------------------------------------------------------------------*/ +void ClearTemporaryPrompt(void) +{ + if (temporaryPrompt) + { + FREE(temporaryPrompt); + temporaryPrompt = NULL; + } +} +/*------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/promptecho.c b/modules/console/src/c/promptecho.c new file mode 100755 index 000000000..e60301cfc --- /dev/null +++ b/modules/console/src/c/promptecho.c @@ -0,0 +1,63 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2009 - 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 <stdio.h> +#include <string.h> +#include "promptecho.h" +#include "basout.h" +#include "MALLOC.h" +#include "prompt.h" +#ifdef _MSC_VER +#include "strdup_Windows.h" +#endif +/*--------------------------------------------------------------------------*/ +int C2F(promptecho)(int *lunit, char *string, int *strl, int string_len) +{ + char *promptstr = NULL; + char *buffstr = NULL; + int lenbuffstr = 0; + + if (GetTemporaryPrompt()) + { + promptstr = strdup(GetTemporaryPrompt()); + } + else + { + promptstr = (char*)MALLOC(sizeof(char) * (PROMPT_SIZE_MAX + 1)); + GetCurrentPrompt(promptstr); + } + + /* concates prompt with input command line */ + if (promptstr) + { + lenbuffstr = (int) ( strlen(string) + strlen(promptstr) ); + buffstr = (char*) MALLOC(sizeof(char) * (lenbuffstr + 1)); + if (buffstr) + { + strcpy(buffstr, promptstr); + strcat(buffstr, string); + } + FREE(promptstr); + promptstr = NULL; + } + + /* displays command line with prompt */ + if (buffstr) + { + int io = 0; + C2F(basout)(&io, lunit, buffstr, lenbuffstr); + FREE(buffstr); + buffstr = NULL; + } + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/promptecho.h b/modules/console/src/c/promptecho.h new file mode 100755 index 000000000..0f9f2a441 --- /dev/null +++ b/modules/console/src/c/promptecho.h @@ -0,0 +1,23 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2009 - 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 +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __PROMPTECHO_H__ +#define __PROMPTECHO_H__ + +#include "machine.h" +#include "dynlib_console.h" + +CONSOLE_IMPEXP int C2F(promptecho)(int *lunit, char *string, int *strl, int string_len); + +#endif /* __PROMPTECHO_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/scicompletion_Import.def b/modules/console/src/c/scicompletion_Import.def new file mode 100755 index 000000000..038021a55 --- /dev/null +++ b/modules/console/src/c/scicompletion_Import.def @@ -0,0 +1,15 @@ +LIBRARY scicompletion.dll + + +EXPORTS +completionOnFiles +getPartLevel +getFilePartLevel +getCommonPart +completeLine +completionOnHandleGraphicsProperties +completionOnVariablesWithoutMacros +completionOnMacros +completionOnCommandWords +completionOnFunctions +completionOnFields
\ No newline at end of file diff --git a/modules/console/src/c/scilines.c b/modules/console/src/c/scilines.c new file mode 100755 index 000000000..8dcea8cae --- /dev/null +++ b/modules/console/src/c/scilines.c @@ -0,0 +1,139 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2008 - INRIA - Sylvestre LEDRU (Detection of the term size) + * + * 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 "machine.h" + +/* for getenv() */ +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + +#ifndef _MSC_VER + +# if defined(HAVE_CURSES_H) +# include <curses.h> +# elif defined(HAVE_NCURSES_H) +# include <ncurses.h> +# endif + + +#ifdef HAVE_TERMCAP_H +#include <termcap.h> +#endif + +#ifndef HAVE_TERMCAP_H +#ifdef HAVE_TERM_H +#include <term.h> +#endif +#endif + +#endif /* !defined(_MSC_VER) */ + +#include "scilines.h" +#include "core_math.h" +#include "stack-def.h" +#ifdef _MSC_VER +#include "../../../windows_tools/src/c/scilab_windows/console.h" +#include "scilabmode.h" +#endif +/*--------------------------------------------------------------------------*/ +#define DEFAULT_NUMBERS_LINES 28 +#define DEFAULT_NUMBERS_COLUMNS 80 +#define MIN_NUMBERS_LINES 0 +#define MIN_NUMBERS_COLUMNS 10 +/*--------------------------------------------------------------------------*/ +int scilines(int nblines, int nbcolumns) +{ + setLinesSize(nblines); + setColumnsSize(nbcolumns); + return 0; +} +/*--------------------------------------------------------------------------*/ +int scilinesdefault(void) +{ +#ifndef _MSC_VER + + char tc_buf[1024]; /* holds termcap buffer */ + if (tgetent(tc_buf, getenv("TERM")) == 1) + { + setLinesSize(tgetnum("li")); /* retrieve from the term info the number + of lines */ + setColumnsSize(tgetnum("co")); /* And the number of columns */ + } + else + { + /* Haven't been able to detect the terminal */ + setLinesSize(DEFAULT_NUMBERS_LINES); + setColumnsSize(DEFAULT_NUMBERS_COLUMNS); + } + +#else + if ( (getScilabMode() != SCILAB_STD) && (getScilabMode() != SCILAB_API) ) + { + /* -NW or -NWNI mode */ + int X = getXConsoleScreenSize(); + int Y = getYConsoleScreenSize(); + + if (X < DEFAULT_NUMBERS_COLUMNS) + { + X = DEFAULT_NUMBERS_COLUMNS; + } + if (Y < DEFAULT_NUMBERS_LINES) + { + Y = DEFAULT_NUMBERS_LINES; + } + setColumnsSize(X); + setLinesSize(Y); + } + else + { + setLinesSize(DEFAULT_NUMBERS_LINES); + setColumnsSize(DEFAULT_NUMBERS_COLUMNS); + } +#endif + return 0; +} +/*--------------------------------------------------------------------------*/ +int C2F(scilines)(int *nblines, int *nbcolumns) +{ + return scilines(*nblines, *nbcolumns); +} +/*--------------------------------------------------------------------------*/ +int C2F(scilinesdefault)(void) +{ + return scilinesdefault(); +} +/*--------------------------------------------------------------------------*/ +BOOL setColumnsSize(int colums) +{ + C2F(iop).lct[4] = Max(MIN_NUMBERS_COLUMNS, colums); + return TRUE; +} +/*--------------------------------------------------------------------------*/ +BOOL setLinesSize(int lines_) +{ + C2F(iop).lct[1] = Max(MIN_NUMBERS_LINES, lines_); + return TRUE; +} +/*--------------------------------------------------------------------------*/ +int getColumnsSize(void) +{ + return C2F(iop).lct[4]; +} +/*--------------------------------------------------------------------------*/ +int getLinesSize(void) +{ + return C2F(iop).lct[1]; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/tohome.c b/modules/console/src/c/tohome.c new file mode 100755 index 000000000..70f5e0f0e --- /dev/null +++ b/modules/console/src/c/tohome.c @@ -0,0 +1,43 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <stdlib.h> +#include "tohome.h" +#include "scilabmode.h" +#include "PromptToHome.h" +#ifndef _MSC_VER +#include "others/clrscr_nw.h" +#endif +/*--------------------------------------------------------------------------*/ +BOOL tohome(void) +{ + BOOL bOK = FALSE; + + if ( getScilabMode() != SCILAB_STD ) + { +#ifdef _MSC_VER + /* not on Windows */ + bOK = FALSE; +#else + clrscr_nw(); + bOK = TRUE; +#endif + } + else + { + /* Java Console */ + bOK = PromptToHome(); + } + + return bOK; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/tohome.h b/modules/console/src/c/tohome.h new file mode 100755 index 000000000..55d87ff95 --- /dev/null +++ b/modules/console/src/c/tohome.h @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +#ifndef __TOHOME_H__ +#define __TOHOME_H__ +/*--------------------------------------------------------------------------*/ +#include "BOOL.h" +#include "dynlib_console.h" +/*--------------------------------------------------------------------------*/ +/** +* tohome function +* @return a boolean +*/ +CONSOLE_IMPEXP BOOL tohome(void); +/*--------------------------------------------------------------------------*/ +#endif /* __TOHOME_H__ */ + diff --git a/modules/console/src/c/ui_data_Import.def b/modules/console/src/c/ui_data_Import.def new file mode 100755 index 000000000..d804ae930 --- /dev/null +++ b/modules/console/src/c/ui_data_Import.def @@ -0,0 +1,6 @@ +LIBRARY sciui_data.dll + + +EXPORTS +UpdateBrowseVar +FileBrowserChDir
\ No newline at end of file diff --git a/modules/console/src/c/windows/TermCommand.c b/modules/console/src/c/windows/TermCommand.c new file mode 100755 index 000000000..accdd64a1 --- /dev/null +++ b/modules/console/src/c/windows/TermCommand.c @@ -0,0 +1,48 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 "TermCommand.h" +#include "machine.h" /* C2F */ +#include "sigbas.h" /* C2F (sigbas) */ +#include "storeCommand.h" /* StoreCommand */ +#include "clrscr_nw.h" +#include "TermLine.h" +#include "MALLOC.h" +/*--------------------------------------------------------------------------*/ +void ControlC_Command(void) +{ + int j = 2; + C2F (sigbas) (&j); +} +/*--------------------------------------------------------------------------*/ +void ControlX_Command(void) +{ + ControlC_Command(); +} +/*--------------------------------------------------------------------------*/ +void F1_Command(void) +{ + StoreCommand("help"); +} +/*--------------------------------------------------------------------------*/ +void F2_Command(void) +{ + clrscr_nw(); + displayPrompt(); +} +/*--------------------------------------------------------------------------*/ +void ALTF4_Command(void) +{ + StoreCommand("quit"); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermCommand.h b/modules/console/src/c/windows/TermCommand.h new file mode 100755 index 000000000..d8e1719e7 --- /dev/null +++ b/modules/console/src/c/windows/TermCommand.h @@ -0,0 +1,44 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +*/ + +#ifndef __TERMCOMMAND_H__ +#define __TERMCOMMAND_H__ + +/** +* Do action Control C in scilab +*/ +void ControlC_Command(void); + +/** +* Do action Control X in scilab +*/ +void ControlX_Command(void); + +/** +* Do action F1 in scilab +* launch help +*/ +void F1_Command(void); + +/** +* Do action F2 in scilab +* launch help +*/ +void F2_Command(void); + +/** +* Do action ALT-F4 in scilab +* Close Scilab (standard Windows) +*/ +void ALTF4_Command(void); + +#endif /* __TERMCOMMAND_H__ */
\ No newline at end of file diff --git a/modules/console/src/c/windows/TermCompletion.c b/modules/console/src/c/windows/TermCompletion.c new file mode 100755 index 000000000..376dcc34e --- /dev/null +++ b/modules/console/src/c/windows/TermCompletion.c @@ -0,0 +1,405 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008-2010 - DIGITEO - 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 <string.h> +#include <stdlib.h> +#include "TermCompletion.h" +#include "MALLOC.h" +#include "freeArrayOfString.h" +#include "localization.h" +#include "TermLine.h" +#include "TermConsole.h" +#include "getPartLine.h" +#include "getCommonPart.h" +#include "completion.h" +#include "scilines.h" +#ifdef _MSC_VER +#include "strdup_windows.h" +#endif +#include "completeLine.h" +/*--------------------------------------------------------------------------*/ +static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary); +static char **concatenateStrings(int *sizearrayofstring, char *string1, + char *string2, char *string3, + char *string4, char *string5); +static void TermCompletionOnFiles(char **dictionaryFiles, int sizedictionaryFiles, + char *lineBeforeCaret, char *lineAfterCaret, char *filePattern, char *defaultPattern); +static void TermCompletionOnAll(char *lineBeforeCaret, char *lineAfterCaret, char *defaultPattern); +/*--------------------------------------------------------------------------*/ +static void TermCompletionOnFiles(char **dictionaryFiles, int sizedictionaryFiles, + char *lineBeforeCaret, char *lineAfterCaret, char *filePattern, char *defaultPattern) +{ + if (dictionaryFiles) + { + if (sizedictionaryFiles == 1) + { + char *newline = completeLine(lineBeforeCaret, dictionaryFiles[0], filePattern, defaultPattern, TRUE, lineAfterCaret); + if (newline) + { + clearCurrentLine(); + copyLine(newline); + FREE(newline); + return; + } + } + else + { + char *common = getCommonPart(dictionaryFiles, sizedictionaryFiles); + + displayCompletionDictionary(dictionaryFiles, + sizedictionaryFiles, gettext("File or Directory")); + + displayPrompt(); + newLine(); + + if (defaultPattern[0] == 0) + { + int lennewline = (int)strlen(lineBeforeCaret) + (int)strlen(lineAfterCaret); + char *newline = (char*)MALLOC(sizeof(char) * (lennewline + 1)); + + clearCurrentLine(); + if (newline) + { + strcpy(newline, lineBeforeCaret); + strcat(newline, lineAfterCaret); + copyLine(newline); + FREE(newline); + newline = NULL; + } + } + else if (common) + { + char *newline = completeLine(lineBeforeCaret, common, filePattern, defaultPattern, TRUE, lineAfterCaret); + if (newline) + { + clearCurrentLine(); + copyLine(newline); + FREE(newline); + return; + } + else + { + int lennewline = (int)strlen(lineBeforeCaret) + (int)strlen(lineAfterCaret); + newline = (char*)MALLOC(sizeof(char) * (lennewline + 1)); + + clearCurrentLine(); + if (newline) + { + strcpy(newline, lineBeforeCaret); + strcat(newline, lineAfterCaret); + copyLine(newline); + FREE(newline); + newline = NULL; + } + } + FREE(common); + common = NULL; + } + } + } +} +/*--------------------------------------------------------------------------*/ +static void TermCompletionOnAll(char *lineBeforeCaret, char *lineAfterCaret, char *defaultPattern) +{ + if (defaultPattern) + { + int numberWordFound = 0; + char **completionDictionaryFunctions = NULL; + int sizecompletionDictionaryFunctions = 0; + + char **completionDictionaryCommandWords = NULL; + int sizecompletionDictionaryCommandWords = 0; + + char **completionDictionaryMacros = NULL; + int sizecompletionDictionaryMacros = 0; + + char **completionDictionaryVariables = NULL; + int sizecompletionDictionaryVariables = 0; + + char **completionDictionaryHandleGraphicsProperties = NULL; + int sizecompletionDictionaryHandleGraphicsProperties = 0; + + char **completionDictionaryFields = NULL; + int sizecompletionDictionaryFields = 0; + + completionDictionaryFields = completionOnFields(lineBeforeCaret, defaultPattern, &sizecompletionDictionaryFields); + + if ((completionDictionaryFields == NULL) && strcmp(defaultPattern, "")) + { + completionDictionaryFunctions = completionOnFunctions(defaultPattern, &sizecompletionDictionaryFunctions); + completionDictionaryCommandWords = completionOnCommandWords(defaultPattern, &sizecompletionDictionaryCommandWords); + completionDictionaryMacros = completionOnMacros(defaultPattern, &sizecompletionDictionaryMacros); + completionDictionaryVariables = completionOnVariablesWithoutMacros(defaultPattern, &sizecompletionDictionaryVariables); + completionDictionaryHandleGraphicsProperties = completionOnHandleGraphicsProperties(defaultPattern, &sizecompletionDictionaryHandleGraphicsProperties); + } + numberWordFound = sizecompletionDictionaryFunctions + sizecompletionDictionaryCommandWords + + sizecompletionDictionaryMacros + sizecompletionDictionaryVariables + + sizecompletionDictionaryHandleGraphicsProperties + sizecompletionDictionaryFields; + + if (numberWordFound > 0) + { + if (numberWordFound == 1) + { + char **completionDictionary = NULL; + char *new_line = NULL; + + if (completionDictionaryFields) + { + completionDictionary = completionDictionaryFields; + } + if (completionDictionaryFunctions) + { + completionDictionary = completionDictionaryFunctions; + } + if (completionDictionaryCommandWords) + { + completionDictionary = completionDictionaryCommandWords; + } + if (completionDictionaryMacros) + { + completionDictionary = completionDictionaryMacros; + } + if (completionDictionaryVariables) + { + completionDictionary = completionDictionaryVariables; + } + if (completionDictionaryHandleGraphicsProperties) + { + completionDictionary = completionDictionaryHandleGraphicsProperties; + } + + new_line = completeLine(lineBeforeCaret, completionDictionary[0], NULL, defaultPattern, FALSE, lineAfterCaret); + if (new_line) + { + clearCurrentLine(); + copyLine(new_line); + FREE(new_line); + } + } + else + { + char *commonAll = NULL; + if (completionDictionaryFields) + { + commonAll = getCommonPart(completionDictionaryFields, sizecompletionDictionaryFields); + displayCompletionDictionary(completionDictionaryFields, sizecompletionDictionaryFields, (char *)_("Scilab Fields")); + freeArrayOfString(completionDictionaryFields, sizecompletionDictionaryFields); + } + else + { + char *commonFunctions = getCommonPart(completionDictionaryFunctions, sizecompletionDictionaryFunctions); + char *commonCommandWords = getCommonPart(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords); + char *commonMacros = getCommonPart(completionDictionaryMacros, sizecompletionDictionaryMacros); + char *commonVariables = getCommonPart(completionDictionaryVariables, sizecompletionDictionaryVariables); + char *commonHandleGraphicsProperties = getCommonPart(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties); + + int sizecommonsDictionary = 0; + char **commonsDictionary = concatenateStrings(&sizecommonsDictionary, commonFunctions, + commonMacros, commonCommandWords, commonVariables, commonHandleGraphicsProperties); + + if (sizecommonsDictionary > 0) + { + if (sizecommonsDictionary == 1) + { + commonAll = strdup(commonsDictionary[0]); + } + else + { + commonAll = getCommonPart(commonsDictionary, sizecommonsDictionary); + } + freeArrayOfString(commonsDictionary, sizecommonsDictionary); + } + + displayCompletionDictionary(completionDictionaryFunctions, sizecompletionDictionaryFunctions, (char *)_("Scilab Function")); + displayCompletionDictionary(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords, (char *)_("Scilab Command")); + displayCompletionDictionary(completionDictionaryMacros, sizecompletionDictionaryMacros, (char *)_("Scilab Macro")); + displayCompletionDictionary(completionDictionaryVariables, sizecompletionDictionaryVariables, (char *)_("Scilab Variable")); + displayCompletionDictionary(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties, (char *)_("Graphics handle field")); + freeArrayOfString(completionDictionaryFunctions, sizecompletionDictionaryFunctions); + freeArrayOfString(completionDictionaryCommandWords, sizecompletionDictionaryCommandWords); + freeArrayOfString(completionDictionaryMacros, sizecompletionDictionaryMacros); + freeArrayOfString(completionDictionaryVariables, sizecompletionDictionaryVariables); + freeArrayOfString(completionDictionaryHandleGraphicsProperties, sizecompletionDictionaryHandleGraphicsProperties); + } + + displayPrompt(); + newLine(); + + if (commonAll) + { + char *newline = NULL; + + newline = completeLine(lineBeforeCaret, commonAll, NULL, defaultPattern, FALSE, lineAfterCaret); + + if (newline) + { + clearCurrentLine(); + copyLine(newline); + FREE(newline); + } + FREE(commonAll); + commonAll = NULL; + } + } + } + } +} +/*--------------------------------------------------------------------------*/ +void TermCompletion(void) +{ + char *LineBeforeCaret = getLineBeforeCaret(); + char *LineAfterCaret = getLineAfterCaret(); + char *fileSearchedPattern = getFilePartLevel(LineBeforeCaret); + char *SearchedPattern = getPartLevel(LineBeforeCaret); + + + char **completionDictionaryFiles = NULL; + int sizecompletionDictionaryFiles = 0; + + completionDictionaryFiles = completionOnFiles(fileSearchedPattern, &sizecompletionDictionaryFiles); + if (completionDictionaryFiles) + { + TermCompletionOnFiles(completionDictionaryFiles, sizecompletionDictionaryFiles, + LineBeforeCaret, LineAfterCaret, fileSearchedPattern, SearchedPattern); + + freeArrayOfString(completionDictionaryFiles, sizecompletionDictionaryFiles); + } + else + { + TermCompletionOnAll(LineBeforeCaret, LineAfterCaret, SearchedPattern); + } + + if (LineBeforeCaret) + { + FREE(LineBeforeCaret); + LineBeforeCaret = NULL; + } + if (LineAfterCaret) + { + FREE(LineAfterCaret); + LineAfterCaret = NULL; + } + if (fileSearchedPattern) + { + FREE(fileSearchedPattern); + fileSearchedPattern = NULL; + } + if (SearchedPattern) + { + FREE(SearchedPattern); + SearchedPattern = NULL; + } +} +/*--------------------------------------------------------------------------*/ +static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary) +{ + if (dictionary) + { + int i = 0; + int lenCurrentLine = 0; + + TerminalPrintf("\n"); + TerminalPrintf(namedictionary); + TerminalPrintf(":"); + TerminalPrintf("\n"); + + for (i = 0; i < sizedictionary; i++) + { + int newlenLine = lenCurrentLine + (int)strlen(dictionary[i]) + (int)strlen(" "); + if ( newlenLine >= (getColumnsSize() - 10) ) + { + TerminalPrintf("\n"); + lenCurrentLine = 0; + } + else + { + lenCurrentLine = newlenLine; + } + + TerminalPrintf(dictionary[i]); + TerminalPrintf(" "); + } + TerminalPrintf("\n"); + } +} +/*--------------------------------------------------------------------------*/ +static char **concatenateStrings(int *sizearrayofstring, char *string1, + char *string2, char *string3, + char *string4, char *string5) +{ + int newsize = 0; + char **arrayOfString = NULL; + *sizearrayofstring = 0; + + if (string1) + { + newsize++; + } + if (string2) + { + newsize++; + } + if (string3) + { + newsize++; + } + if (string4) + { + newsize++; + } + if (string5) + { + newsize++; + } + + if (newsize > 0) + { + arrayOfString = (char**)MALLOC(sizeof(char*) * (newsize)); + if (arrayOfString) + { + int i = 0; + if (string1) + { + arrayOfString[i] = string1; + i++; + } + if (string2) + { + arrayOfString[i] = string2; + i++; + } + if (string3) + { + arrayOfString[i] = string3; + i++; + } + if (string4) + { + arrayOfString[i] = string4; + i++; + } + if (string5) + { + arrayOfString[i] = string5; + i++; + } + *sizearrayofstring = i; + } + else + { + *sizearrayofstring = 0; + } + } + return arrayOfString; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermCompletion.h b/modules/console/src/c/windows/TermCompletion.h new file mode 100755 index 000000000..eac5999b9 --- /dev/null +++ b/modules/console/src/c/windows/TermCompletion.h @@ -0,0 +1,21 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +*/ + +#ifndef __TERMCOMPLETION_H__ +#define __TERMCOMPLETION_H__ + +/** +* Do completion in terminal +*/ +void TermCompletion(void); + +#endif /* __TERMCOMPLETION_H__ */ diff --git a/modules/console/src/c/windows/TermConsole.c b/modules/console/src/c/windows/TermConsole.c new file mode 100755 index 000000000..92c7f7171 --- /dev/null +++ b/modules/console/src/c/windows/TermConsole.c @@ -0,0 +1,476 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 <Windows.h> +#include <stdio.h> +#include <ctype.h> +#include "TermConsole.h" +#include "MALLOC.h" +#include "TermCommand.h" +#include "FocusOnConsole.h" +#include "strdup_Windows.h" +#include "TermCompletion.h" +#include "TermLine.h" +#include "scilines.h" +#include "HistoryManager.h" +#include "storeCommand.h" /* ismenu */ +#include "localization.h" +/*--------------------------------------------------------------------------*/ +#ifdef CR_1 +#undef CR_1 +#endif +#define CR_1 '\n' + +#ifdef CR_2 +#undef CR_2 +#endif +#define CR_2 '\r' +/*--------------------------------------------------------------------------*/ +static HANDLE Win32OutputStream = NULL, Win32InputStream = NULL; +static DWORD OldWin32Mode; +/*--------------------------------------------------------------------------*/ +static BOOL InitTerm = TRUE; +/*--------------------------------------------------------------------------*/ +static unsigned char TerminalGetchar(void); +static BOOL isCTRLPressed(DWORD StateKey); +static BOOL isCTRL_VKEY(int VKEY); +static BOOL isALTPressed(DWORD StateKey); +static BOOL isALT_VKEY(int VKEY); +static BOOL isExtendedPressed(DWORD StateKey); +static void simulateCarriageReturn(void); +static char actionControlKey(void); +/*--------------------------------------------------------------------------*/ +static BOOL CtrlHandler( DWORD fdwCtrlType ) +{ + switch ( fdwCtrlType ) + { + case CTRL_C_EVENT: + { + ControlC_Command(); + newLine(); + simulateCarriageReturn(); + } + return TRUE; + } + return FALSE; +} +/*--------------------------------------------------------------------------*/ +static void simulateCarriageReturn(void) +{ + INPUT_RECORD rec; + DWORD written; + + memset (&rec, 0, sizeof(rec)); + rec.EventType = KEY_EVENT; + rec.Event.KeyEvent.bKeyDown = TRUE; + rec.Event.KeyEvent.wRepeatCount = 13; + rec.Event.KeyEvent.uChar.AsciiChar = 13; + + if (!Win32InputStream) + { + Win32InputStream = GetStdHandle(STD_INPUT_HANDLE); + } + WriteConsoleInput(Win32InputStream, &rec, 1, &written); +} +/*--------------------------------------------------------------------------*/ +void InitializeTerminal(void) +{ + if (!Win32InputStream) + { + Win32InputStream = GetStdHandle(STD_INPUT_HANDLE); + GetConsoleMode(Win32InputStream, &OldWin32Mode); + SetConsoleMode(Win32InputStream, ENABLE_PROCESSED_INPUT); + } + + if (!Win32OutputStream) + { + Win32OutputStream = GetStdHandle(STD_OUTPUT_HANDLE); + } + + setFocusOnConsole(); + + SetConsoleCtrlHandler( (PHANDLER_ROUTINE) CtrlHandler, TRUE ); + +} +/*--------------------------------------------------------------------------*/ +void TerminalBeep(void) +{ + MessageBeep(MB_OK); +} +/*--------------------------------------------------------------------------*/ +int TerminalPrintf(char *buffer) +{ + if (buffer) + { + if (buffer[0] != 0) + { + int len = (int)strlen (buffer); + /* flush all stream */ + /* problem with fortran output */ + fflush(NULL); + + len = fputs (buffer, stdout); + + /* flush all stream */ + /* problem with fortran output */ + fflush(NULL); + + return len; + } + return 0; + } + return -1; +} +/*--------------------------------------------------------------------------*/ +int TerminalPutc(char ch) +{ + return putc(ch, stdout); +} +/*--------------------------------------------------------------------------*/ +static unsigned char TerminalGetchar(void) +{ + INPUT_RECORD irBuffer; + DWORD n = 0; + unsigned char ch = 0; + do + { + /* http://bugzilla.scilab.org/show_bug.cgi?id=1052 */ + if ( ismenu() == 1 ) + { + return 0; + } + + WaitForSingleObject(Win32InputStream, INFINITE); + PeekConsoleInput (Win32InputStream, &irBuffer, 1, &n); + + switch (irBuffer.EventType) + { + case KEY_EVENT: + { + if (irBuffer.Event.KeyEvent.bKeyDown) + { + if (irBuffer.Event.KeyEvent.dwControlKeyState) + { + if (isCTRLPressed(irBuffer.Event.KeyEvent.dwControlKeyState)) + { + char c = actionControlKey(); + if (c) + { + ReadConsoleInputW (Win32InputStream, &irBuffer, 1, &n); + return c; + } + else + { + if (irBuffer.Event.KeyEvent.uChar.AsciiChar != '\0') + { + ReadConsoleInputW (Win32InputStream, &irBuffer, 1, &n); + c = irBuffer.Event.KeyEvent.uChar.AsciiChar; + if ( (c > 0) && !iscntrl(c) ) + { + return c; + } + } + else + { + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + } + break; + } + + if (isALTPressed(irBuffer.Event.KeyEvent.dwControlKeyState)) + { + if (irBuffer.Event.KeyEvent.uChar.AsciiChar != '\0') + { + ReadConsole (Win32InputStream, &ch, 1, &n, NULL); + return ch; + } + else + { + DWORD stateKey = 0; + WORD vk = 0; + + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + + stateKey = irBuffer.Event.KeyEvent.dwControlKeyState; + vk = irBuffer.Event.KeyEvent.wVirtualKeyCode; + + switch (vk) + { + case VK_F4: + ALTF4_Command(); + break; + + default: + break; + } + } + break; + } + } + + if (irBuffer.Event.KeyEvent.uChar.AsciiChar != '\0') + { + ReadConsole (Win32InputStream, &ch, 1, &n, NULL); + + switch (ch) + { + case VK_TAB: + TermCompletion(); + break; + case VK_BACK: + deletePreviousChar(); + break; + default: + { + if ( !iscntrl(ch) || (ch == CR_1) || (ch == CR_2) ) + { + return ch; + } + } + break; + } + } + else + { + WORD vk = 0; + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + vk = irBuffer.Event.KeyEvent.wVirtualKeyCode; + + switch (vk) + { + case VK_F1: + case VK_HELP: + F1_Command(); + break; + case VK_F2: + F2_Command(); + break; + case VK_LEFT: + moveBackSingleChar(); + break; + case VK_RIGHT: + moveForwardSingleChar(); + break; + case VK_UP: + moveBackHistory(); + break; + case VK_DOWN: + moveForwardHistory(); + break; + case VK_DELETE: + deleteCurrentChar(); + break; + case VK_HOME: + moveBeginningLine(); + break; + case VK_END: + moveEndLine(); + break; + default: + break; + } + } + } + else + { + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + } + break; + case MOUSE_EVENT: + { + /* Read mouse Input but not used */ + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + break; + case WINDOW_BUFFER_SIZE_EVENT: + { + /* Read resize event Input */ + setColumnsSize(irBuffer.Event.WindowBufferSizeEvent.dwSize.X); + setLinesSize(irBuffer.Event.WindowBufferSizeEvent.dwSize.Y); + + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + break; + case MENU_EVENT: + { + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + break; + case FOCUS_EVENT: + { + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + break; + default: + { + /* Read Input but not used */ + ReadConsoleInput (Win32InputStream, &irBuffer, 1, &n); + } + break; + } + } + while (TRUE); +} +/*--------------------------------------------------------------------------*/ +static char actionControlKey(void) +{ + if ( isCTRL_VKEY('X') || isCTRL_VKEY('C') ) + { + ControlC_Command(); + return '\n'; + } + else if (isCTRL_VKEY('A')) /* moves to the beginning of the line */ + { + moveBeginningLine(); + } + else if (isCTRL_VKEY('B')) /* moves back a single character */ + { + moveBackSingleChar(); + } + else if (isCTRL_VKEY('D')) /* deletes the current character */ + { + deleteCurrentChar(); + } + else if (isCTRL_VKEY('E')) /* moves to the end of the line */ + { + moveEndLine(); + } + else if (isCTRL_VKEY('F')) /* moves forward a single character */ + { + moveForwardSingleChar(); + } + else if (isCTRL_VKEY('H')) /* delete the previous character */ + { + deletePreviousChar(); + } + else if (isCTRL_VKEY('K')) /* kills from current position to the end of line */ + { + killCurrentPositionToEndLine(); + } + else if (isCTRL_VKEY('N')) /* moves forward through history */ + { + moveForwardHistory(); + } + else if (isCTRL_VKEY('P')) /* moves back through history */ + { + moveBackHistory(); + } + else if ( isCTRL_VKEY('R') || isCTRL_VKEY('L') ) /* redraw line in case it gets trashed */ + { + redrawLine(); + } + else if (isCTRL_VKEY('U')) /* kills the entire line */ + { + clearCurrentLine(); + } + else if (isCTRL_VKEY('V')) + { + pasteClipBoard(); + } + else if (isCTRL_VKEY('W')) /* kills last word */ + { + killLastWord(); + } + else if (isCTRL_VKEY(VK_TAB) || isCTRL_VKEY(VK_SPACE)) /* Completion */ + { + TermCompletion(); + } + else if (isCTRL_VKEY(VK_LEFT)) /* */ + { + moveBackSingleWord(); + } + else if (isCTRL_VKEY(VK_RIGHT)) /* */ + { + moveForwardSingleWord(); + } + return 0; +} +/*--------------------------------------------------------------------------*/ +char *TerminalGetString(char *prompt) +{ + if (InitTerm) + { + InitializeTerminal(); + InitTerm = FALSE; + } + + newLine(); + + setCurrentPrompt(prompt); + + /* print the prompt */ + displayPrompt(); + + /* initialize history search */ + setSearchedTokenInScilabHistory(NULL); + + for (;;) + { + unsigned char cur_char = TerminalGetchar(); + + if (cur_char <= 0) + { + return NULL; + } + + /* http://bugzilla.scilab.org/show_bug.cgi?id=1052 */ + if (ismenu () == 1) + { + /* Abort current line */ + return NULL; + } + + if ( (cur_char == CR_1) || (cur_char == CR_2) ) + { + if ( isHistorySearch() ) + { + putLineSearchedHistory(); + } + else + { + char *line = getCurrentLine(); + TerminalPutc('\n'); + appendLineToScilabHistory(line); + return line; + } + } + else + { + TerminalPutc(cur_char); + addCharacterCurrentLine(cur_char); + } + } + return NULL; +} +/*--------------------------------------------------------------------------*/ +static BOOL isCTRLPressed(DWORD StateKey) +{ + return ((StateKey & (RIGHT_CTRL_PRESSED | LEFT_CTRL_PRESSED)) != 0); +} +/*--------------------------------------------------------------------------*/ +static BOOL isALTPressed(DWORD StateKey) +{ + return ((StateKey & (RIGHT_ALT_PRESSED | LEFT_ALT_PRESSED)) != 0); +} +/*--------------------------------------------------------------------------*/ +static BOOL isExtendedPressed(DWORD StateKey) +{ + return ((StateKey & (ENHANCED_KEY)) != 0); +} +/*--------------------------------------------------------------------------*/ +static BOOL isCTRL_VKEY(int VKEY) +{ + return ( GetKeyState(VKEY) & 0x80 ); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermConsole.h b/modules/console/src/c/windows/TermConsole.h new file mode 100755 index 000000000..86cd9ec34 --- /dev/null +++ b/modules/console/src/c/windows/TermConsole.h @@ -0,0 +1,46 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +*/ + +#ifndef __TERMCONSOLE_H__ +#define __TERMCONSOLE_H__ + +/** +* initialize Terminal +*/ +void InitializeTerminal(void); + +/** +* printf in terminal +* @param[in] buffer +* @return number of characters +*/ +int TerminalPrintf(char *buffer); + +/** +* put a character +* @param[in] character +*/ +int TerminalPutc(char ch); + +/** +* returns line from terminal +* @param[in] prompt +* @return line from terminal +*/ +char *TerminalGetString(char *prompt); + +/** +* do a beep +*/ +void TerminalBeep(void); + +#endif /* __TERMCONSOLE_H__ */ diff --git a/modules/console/src/c/windows/TermLine.c b/modules/console/src/c/windows/TermLine.c new file mode 100755 index 000000000..abd3a36ff --- /dev/null +++ b/modules/console/src/c/windows/TermLine.c @@ -0,0 +1,546 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 <windows.h> +#include <wincon.h> +#include <stdio.h> +#include <string.h> +#include "stack-def.h" +#include "TermLine.h" +#include "HistoryManager.h" +#include "TermConsole.h" +#include "localization.h" +#include "MALLOC.h" +#include "strdup_windows.h" +#include "TermPosition.h" +#include "../../../windows_tools/src/c/scilab_windows/console.h" +#include "strdup_windows.h" +/*--------------------------------------------------------------------------*/ +static int CURRENT_MAX_LINE_SIZE = bsiz; +static char *cur_line = NULL; /* current contents of the line */ +static char *currentPrompt = NULL; +static int cur_pos = 0; /* current position of the cursor */ +static int max_pos = 0; +/*--------------------------------------------------------------------------*/ +/* do backspace on line */ +static void backSpace(void); +static void initializeLineBuffer(void); +static void reallocLineBuffer(void); +/*--------------------------------------------------------------------------*/ +static void initializeLineBuffer(void) +{ + int i = 0; + if (cur_line) + { + FREE(cur_line); + cur_line = NULL; + } + cur_line = (char*) MALLOC(sizeof(char) * CURRENT_MAX_LINE_SIZE); + if (cur_line) + { + for (i = 0; i < CURRENT_MAX_LINE_SIZE; i++) + { + cur_line[i] = '\0'; + } + } + else + { + fprintf(stderr, "Error: Buffer line allocation.\n"); + exit(1); + } +} +/*--------------------------------------------------------------------------*/ +static void reallocLineBuffer(void) +{ + if (cur_line) + { + if ( max_pos > (CURRENT_MAX_LINE_SIZE - 1) ) + { + char *ptrBackup = cur_line; + int newCURRENT_MAX_LINE_SIZE = CURRENT_MAX_LINE_SIZE * 2; + cur_line = (char*)REALLOC(cur_line, sizeof(char) * (newCURRENT_MAX_LINE_SIZE)); + if (cur_line == NULL) + { + cur_line = ptrBackup; + } + else + { + CURRENT_MAX_LINE_SIZE = newCURRENT_MAX_LINE_SIZE; + } + } + } + else + { + initializeLineBuffer(); + } +} +/*--------------------------------------------------------------------------*/ +void moveBeginningLine(void) +{ + reallocLineBuffer(); + while (cur_pos > 0) + { + cur_pos -= 1; + backSpace(); + } +} +/*--------------------------------------------------------------------------*/ +void moveEndLine(void) +{ + reallocLineBuffer(); + while (cur_pos < max_pos) + { + TerminalPutc (cur_line[cur_pos]); + cur_pos += 1; + } +} +/*--------------------------------------------------------------------------*/ +void moveBackSingleChar(void) +{ + reallocLineBuffer(); + if (cur_pos > 0) + { + cur_pos -= 1; + backSpace(); + } +} +/*--------------------------------------------------------------------------*/ +void moveForwardSingleChar(void) +{ + reallocLineBuffer(); + if (cur_pos < max_pos) + { + TerminalPutc(cur_line[cur_pos]); + cur_pos += 1; + } +} +/*--------------------------------------------------------------------------*/ +void moveBackSingleWord(void) +{ + reallocLineBuffer(); + while ((cur_pos > 0) && (isspace(cur_line[cur_pos - 1]) )) + { + cur_pos -= 1; + backSpace (); + } + while ((cur_pos > 0) && ( !isspace(cur_line[cur_pos - 1]) )) + { + cur_pos -= 1; + backSpace (); + } + refreshLine(); +} +/*--------------------------------------------------------------------------*/ +void moveForwardSingleWord(void) +{ + reallocLineBuffer(); + while ( !isspace(cur_line[cur_pos]) && (cur_pos < max_pos) ) + { + TerminalPutc(cur_line[cur_pos]); + cur_pos++; + } + while ( isspace(cur_line[cur_pos]) && (cur_pos < max_pos) ) + { + TerminalPutc(cur_line[cur_pos]); + cur_pos++; + } + refreshLine(); +} +/*--------------------------------------------------------------------------*/ +void killCurrentPositionToEndLine(void) +{ + int i = 0; + reallocLineBuffer(); + for (i = cur_pos; i < max_pos; i++) + { + cur_line[i] = '\0'; + } + for (i = cur_pos; i < max_pos; i++) + { + TerminalPutc(VK_SPACE); + } + for (i = cur_pos; i < max_pos; i++) + { + backSpace (); + } + max_pos = cur_pos; +} +/*--------------------------------------------------------------------------*/ +void deletePreviousChar(void) +{ + reallocLineBuffer(); + if (cur_pos > 0) + { + int i = 0; + cur_pos -= 1; + backSpace (); + for (i = cur_pos; i < max_pos; i++) + { + cur_line[i] = cur_line[i + 1]; + } + max_pos -= 1; + refreshLine(); + } + else + { + TerminalBeep(); + } +} +/*--------------------------------------------------------------------------*/ +void deleteCurrentChar(void) +{ + reallocLineBuffer(); + if (max_pos == 0) + { + TerminalBeep(); + } + else + { + if (cur_pos < max_pos) + { + int i = 0; + for (i = cur_pos; i < max_pos; i++) + { + cur_line[i] = cur_line[i + 1]; + } + max_pos -= 1; + refreshLine(); + } + } +} +/*--------------------------------------------------------------------------*/ +void moveBackHistory(void) +{ + char *newline = NULL; + + reallocLineBuffer(); + + cur_line[max_pos + 1] = '\0'; + if (cur_line[0] == '\0') + { + resetSearchedTokenInScilabHistory(); + setSearchedTokenInScilabHistory(NULL); + } + + newline = getPreviousLineInScilabHistory(); + + if (newline) + { + clearCurrentLine(); + copyLine(newline); + FREE(newline); + newline = NULL; + } +} +/*--------------------------------------------------------------------------*/ +void moveForwardHistory(void) +{ + char *newline = NULL; + + reallocLineBuffer(); + + cur_line[max_pos + 1] = '\0'; + if (cur_line[0] == '\0') + { + resetSearchedTokenInScilabHistory(); + setSearchedTokenInScilabHistory(NULL); + } + + newline = getNextLineInScilabHistory(); + + if (newline) + { + clearCurrentLine(); + copyLine(newline); + FREE(newline); + newline = NULL; + } +} +/*--------------------------------------------------------------------------*/ +void redrawLine(void) +{ + int i = 0; + char *line = getCurrentLine(); + + displayPrompt(); + for (i = max_pos; i > cur_pos; i--) + { + backSpace (); + } + if (line) + { + copyLine(line); + FREE(line); + line = NULL; + } +} +/*--------------------------------------------------------------------------*/ +void copyLine(char *line) +{ + reallocLineBuffer(); + + if (line) + { + TerminalPrintf(line); + CharToOem(line, cur_line); + cur_pos = max_pos = (int)strlen (cur_line); + } +} +/*--------------------------------------------------------------------------*/ +void killLastWord(void) +{ + reallocLineBuffer(); + + while ((cur_pos > 0) && (cur_line[cur_pos - 1] == VK_SPACE)) + { + cur_pos -= 1; + backSpace (); + } + while ((cur_pos > 0) && (cur_line[cur_pos - 1] != VK_SPACE)) + { + cur_pos -= 1; + backSpace (); + } + + killCurrentPositionToEndLine(); +} +/*--------------------------------------------------------------------------*/ +void newLine(void) +{ + reallocLineBuffer(); + + cur_line[0] = '\0'; + cur_pos = 0; + max_pos = 0; +} +/*--------------------------------------------------------------------------*/ +void refreshLine(void) +{ + int i = 0; + + reallocLineBuffer(); + + /* write tail of string */ + for (i = cur_pos; i < max_pos; i++) + { + TerminalPutc(cur_line[i]); + } + + /* write a space at the end of the line in case we deleted one */ + TerminalPutc(VK_SPACE); + + /* backup to original position */ + for (i = max_pos + 1; i > cur_pos; i--) + { + backSpace (); + } + +} +/*--------------------------------------------------------------------------*/ +void clearCurrentLine(void) +{ + int i = 0; + + reallocLineBuffer(); + + for (i = 0; i < max_pos; i++) + { + cur_line[i] = '\0'; + } + + moveBeginningLine(); + + for (i = 0; i < max_pos; i++) + { + TerminalPutc(VK_SPACE); + } + + TerminalPutc('\r'); + displayPrompt(); + + newLine(); +} +/*--------------------------------------------------------------------------*/ +static void backSpace(void) +{ + int X = 0, Y = 0; + reallocLineBuffer(); + + TermGetPosition(&X, &Y); + if ( (X - 1) < 0 ) + { + X = getXConsoleScreenSize(); + Y = Y - 1; + TermSetPosition(X, Y); + } + else + { + TerminalPutc(VK_BACK); + } +} +/*--------------------------------------------------------------------------*/ +static char *getCurrentPrompt(void) +{ + return currentPrompt; +} +/*--------------------------------------------------------------------------*/ +void setCurrentPrompt(char *prompt) +{ + currentPrompt = prompt; +} +/*--------------------------------------------------------------------------*/ +void displayPrompt(void) +{ + int X = 0, Y = 0; + + /* check position */ + TermGetPosition(&X, &Y); + if (X) + { + TerminalPrintf("\n"); + } + + TerminalPrintf(getCurrentPrompt()); +} +/*--------------------------------------------------------------------------*/ +char *getCurrentLine(void) +{ + char *line = NULL; + + reallocLineBuffer(); + + cur_line[max_pos + 1] = '\0'; + line = strdup_windows(cur_line); + if (line) + { + OemToChar(cur_line, line); + } + return line; +} +/*--------------------------------------------------------------------------*/ +char *getLineBeforeCaret(void) +{ + char *line = NULL; + + reallocLineBuffer(); + line = strdup_windows(cur_line); + line[cur_pos] = '\0'; + return line; +} +/*--------------------------------------------------------------------------*/ +char *getLineAfterCaret(void) +{ + char *line = NULL; + + reallocLineBuffer(); + if (cur_pos != max_pos) + { + line = strdup_windows(&cur_line[cur_pos]); + line[(max_pos - cur_pos) + 1] = '\0'; + } + else + { + line = strdup_windows(""); + } + return line; +} +/*--------------------------------------------------------------------------*/ +void addCharacterCurrentLine(unsigned char ch) +{ + int i = 0; + + reallocLineBuffer(); + + for (i = max_pos; i > cur_pos; i--) + { + cur_line[i] = cur_line[i - 1]; + } + + cur_line[cur_pos] = ch; + cur_pos += 1; + max_pos += 1; + cur_line[max_pos] = '\0'; + + setSearchedTokenInScilabHistory(cur_line); + + if (cur_pos < max_pos) + { + refreshLine(); + } +} +/*--------------------------------------------------------------------------*/ +BOOL isHistorySearch(void) +{ + return (cur_line[0] == '!'); +} +/*--------------------------------------------------------------------------*/ +void putLineSearchedHistory(void) +{ + char *line = NULL; + char *token = getCurrentLine(); + + if (token) + { + if ( (int)strlen(token) > 1 ) + { + setSearchedTokenInScilabHistory(&token[1]); + line = getNextLineInScilabHistory(); + } + FREE(token); + token = NULL; + } + + clearCurrentLine(); + + if (line) + { + copyLine(line); + FREE(line); + line = NULL; + } +} +/*--------------------------------------------------------------------------*/ +void pasteClipBoard(void) +{ + HGLOBAL hGMem = NULL; + LPSTR lpMem; /* Ptr on clipboard */ + + int typeClipboard = CF_TEXT; + + OpenClipboard(NULL); + + hGMem = GetClipboardData (typeClipboard); + if (hGMem) + { + + char *CurrentLine = getCurrentLine(); + + lpMem = (LPSTR)GlobalLock( hGMem ); + if (lpMem) + { + char *newline = (char*)MALLOC(sizeof(char) * (strlen(CurrentLine) + strlen(lpMem) + 1)); + memset(newline, 0x00, strlen(CurrentLine) + strlen(lpMem) + 1); + strncpy(newline, CurrentLine, cur_pos); + strcat(newline, lpMem); + + clearCurrentLine(); + copyLine(newline); + FREE(newline); + } + GlobalUnlock (hGMem); + FREE(CurrentLine); + } + + CloseClipboard (); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermLine.h b/modules/console/src/c/windows/TermLine.h new file mode 100755 index 000000000..4811f0993 --- /dev/null +++ b/modules/console/src/c/windows/TermLine.h @@ -0,0 +1,153 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +*/ + +#ifndef __TERMLINE_H__ +#define __TERMLINE_H__ + +#include "BOOL.h" + +/** +* returns current line +* @return current line +*/ +char *getCurrentLine(void); + +/** +* returns line before caret +* return line +*/ +char *getLineBeforeCaret(void); + +/** +* returns line after caret +* return line +*/ +char *getLineAfterCaret(void); + +/** +* moves to the beginning of the line +*/ +void moveBeginningLine(void); + +/** +* moves to the end of the line +*/ +void moveEndLine(void); + +/** +* moves back a single character +*/ +void moveBackSingleChar(void); + +/** +* moves forward a single character +*/ +void moveForwardSingleChar(void); + +/** +* moves back a single word +*/ +void moveBackSingleWord(void); + +/** +* moves forward a single word +*/ +void moveForwardSingleWord(void); + +/** +* kills from current position to the end of line +*/ +void killCurrentPositionToEndLine(void); + +/** +* delete the previous character +*/ +void deletePreviousChar(void); + +/** +* deletes the current character +*/ +void deleteCurrentChar(void); + +/** +* moves back through history +*/ +void moveBackHistory(void); + +/** +* moves forward through history +*/ +void moveForwardHistory(void); + +/** +* redraw line +*/ +void redrawLine(void); + +/** +* kills last word +*/ +void killLastWord(void); + +/** +* initialize new line +*/ +void newLine(void); + +/** +* clear current line +*/ +void clearCurrentLine(void); + +/** +* set prompt used by terminal +*/ +void setCurrentPrompt(char *prompt); + +/** +* display prompt +*/ +void displayPrompt(void); + +/** +* refresh line +*/ +void refreshLine(void); + +/** +* copy line on terminal +*/ +void copyLine(char *line); + +/** +* line is a history search +* @return TRUE or FALSE; +*/ +BOOL isHistorySearch(void); + +/** +* add character to current line +* @param[in] character to add +*/ +void addCharacterCurrentLine(unsigned char ch); + +/** +* put line searched in history +*/ +void putLineSearchedHistory(void); + +/** +* Paste current clipboard on line +*/ +void pasteClipBoard(void); + +#endif /* __TERMLINE_H__ */
\ No newline at end of file diff --git a/modules/console/src/c/windows/TermPosition.c b/modules/console/src/c/windows/TermPosition.c new file mode 100755 index 000000000..d72d2c31b --- /dev/null +++ b/modules/console/src/c/windows/TermPosition.c @@ -0,0 +1,34 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 <Windows.h> +#include "TermPosition.h" +/*--------------------------------------------------------------------------*/ +void TermSetPosition(int x, int y) +{ + COORD pt; + + pt.X = (SHORT)x; + pt.Y = (SHORT)y; + SetConsoleCursorPosition (GetStdHandle(STD_OUTPUT_HANDLE), pt); +} +/*--------------------------------------------------------------------------*/ +void TermGetPosition(int *x, int *y) +{ + CONSOLE_SCREEN_BUFFER_INFO csbi; + + GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi); + *x = csbi.dwCursorPosition.X; + *y = csbi.dwCursorPosition.Y; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermPosition.h b/modules/console/src/c/windows/TermPosition.h new file mode 100755 index 000000000..8d49dd20d --- /dev/null +++ b/modules/console/src/c/windows/TermPosition.h @@ -0,0 +1,32 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2008 - DIGITEO - 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 +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __TERMPOSITION_H__ +#define __TERMPOSITION_H__ + +/** +* Set Cursor position +* @param[in] x +* @param[in] y +*/ +void TermSetPosition(int x, int y); + +/** +* Get Cursor position +* @param[out] x +* @param[out] y +*/ +void TermGetPosition(int *x, int *y); + +#endif /* __TERMPOSITION_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermPrintf.c b/modules/console/src/c/windows/TermPrintf.c new file mode 100755 index 000000000..5b9e36981 --- /dev/null +++ b/modules/console/src/c/windows/TermPrintf.c @@ -0,0 +1,21 @@ +/* +* 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 "dynlib_console.h" +#include "TermConsole.h" +/*--------------------------------------------------------------------------*/ +CONSOLE_IMPEXP void TermPrintf_Windows(char *buffer) +{ + TerminalPrintf(buffer); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermPrintf.h b/modules/console/src/c/windows/TermPrintf.h new file mode 100755 index 000000000..0d45c4b6c --- /dev/null +++ b/modules/console/src/c/windows/TermPrintf.h @@ -0,0 +1,27 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 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 +* +*/ + +/*--------------------------------------------------------------------------*/ + +#ifndef __TERMPRINTF_WINDOWS_H__ +#define __TERMPRINTF_WINDOWS_H__ + + +/** +* Print a buffer in windows terminal (dos box) +* @param[in] a string to disp +*/ + +void TermPrintf_Windows(char *buffer); + +#endif /* __TERMPRINTF_WINDOWS_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/TermReadAndProcess.c b/modules/console/src/c/windows/TermReadAndProcess.c new file mode 100755 index 000000000..1588e3a83 --- /dev/null +++ b/modules/console/src/c/windows/TermReadAndProcess.c @@ -0,0 +1,37 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) 2007 - 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 <string.h> +#include "TermReadAndProcess.h" +#include "MALLOC.h" +#include "prompt.h" +#include "TermConsole.h" +/*--------------------------------------------------------------------------*/ +char * getCmdLine(void) +{ + char *line = NULL; + static char save_prompt[PROMPT_SIZE_MAX]; + + if (GetTemporaryPrompt() != NULL) /* Input function is used */ + { + line = TerminalGetString(GetTemporaryPrompt()); + } + else + { + GetCurrentPrompt(save_prompt); + line = TerminalGetString(save_prompt); + } + strcpy(save_prompt, ""); + return line; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/clrscrPart_nw.c b/modules/console/src/c/windows/clrscrPart_nw.c new file mode 100755 index 000000000..bf4ba33aa --- /dev/null +++ b/modules/console/src/c/windows/clrscrPart_nw.c @@ -0,0 +1,35 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <Windows.h> +#include "clrscrPart_nw.h" +#include "TermPosition.h" +/*--------------------------------------------------------------------------*/ +void clrscrPart_nw(int nblines) +{ + COORD coord; + DWORD written; + CONSOLE_SCREEN_BUFFER_INFO info; + + GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &info); + + coord.X = 0; + coord.Y = (SHORT)(info.dwCursorPosition.Y - nblines - 1) ; + + TermSetPosition(0, coord.Y - 1); + + FillConsoleOutputCharacter (GetStdHandle(STD_OUTPUT_HANDLE), ' ', + info.dwSize.X * (info.dwSize.Y - coord.Y - 1), coord, &written); + + TermSetPosition(0, coord.Y - 1); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/clrscrPart_nw.h b/modules/console/src/c/windows/clrscrPart_nw.h new file mode 100755 index 000000000..8381bad01 --- /dev/null +++ b/modules/console/src/c/windows/clrscrPart_nw.h @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __CLRSCRPART_NW_H__ +#define __CLRSCRPART_NW_H__ + +/** +* Clear a part of screen nw mode +* @param[in] nblines to remove +*/ +void clrscrPart_nw(int nblines); + +#endif /* __CLRSCRPART_NW_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/clrscr_nw.c b/modules/console/src/c/windows/clrscr_nw.c new file mode 100755 index 000000000..8fd2a8fcc --- /dev/null +++ b/modules/console/src/c/windows/clrscr_nw.c @@ -0,0 +1,30 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 <Windows.h> +#include "clrscr_nw.h" +#include "TermPosition.h" +/*--------------------------------------------------------------------------*/ +void clrscr_nw(void) +{ + COORD coord; + DWORD written; + CONSOLE_SCREEN_BUFFER_INFO info; + coord.X = 0; + coord.Y = 0; + GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &info); + FillConsoleOutputCharacter (GetStdHandle(STD_OUTPUT_HANDLE), ' ', + info.dwSize.X * info.dwSize.Y, coord, &written); + + TermSetPosition(0, 0); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/c/windows/clrscr_nw.h b/modules/console/src/c/windows/clrscr_nw.h new file mode 100755 index 000000000..f8932fc41 --- /dev/null +++ b/modules/console/src/c/windows/clrscr_nw.h @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - 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 + * + */ +/*--------------------------------------------------------------------------*/ +#ifndef __CLRSCR_NW_H__ +#define __CLRSCR_NW_H__ + +/** +* Clear screen nw mode +*/ +void clrscr_nw(void); + +#endif /* __CLRSCR_NW_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/.deps/.dirstamp b/modules/console/src/cpp/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/cpp/.deps/.dirstamp diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsole.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsole.Plo new file mode 100755 index 000000000..e94f99ae6 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsole.Plo @@ -0,0 +1,356 @@ +src/cpp/libsciconsole_la-ClearConsole.lo: src/cpp/ClearConsole.cpp \ + /usr/include/stdc-predef.h src/cpp/ClearConsole.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + src/c/ClearConsole.h includes/dynlib_console.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/ClearConsole.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +src/c/ClearConsole.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsolePart.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsolePart.Plo new file mode 100755 index 000000000..f3cdbcb43 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ClearConsolePart.Plo @@ -0,0 +1,357 @@ +src/cpp/libsciconsole_la-ClearConsolePart.lo: \ + src/cpp/ClearConsolePart.cpp /usr/include/stdc-predef.h \ + src/cpp/ClearConsolePart.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + src/c/ClearConsolePart.h includes/dynlib_console.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/ClearConsolePart.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +src/c/ClearConsolePart.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleIsWaitingForInput.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleIsWaitingForInput.Plo new file mode 100755 index 000000000..5fc62ef11 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleIsWaitingForInput.Plo @@ -0,0 +1,357 @@ +src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo: \ + src/cpp/ConsoleIsWaitingForInput.cpp /usr/include/stdc-predef.h \ + src/cpp/ConsoleIsWaitingForInput.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + src/c/ConsoleIsWaitingForInput.h includes/dynlib_console.h \ + ../../modules/core/includes/BOOL.h src/jni/CallScilabBridge.hxx \ + /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/ConsoleIsWaitingForInput.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/ConsoleIsWaitingForInput.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ConsolePrintf.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ConsolePrintf.Plo new file mode 100755 index 000000000..5280085ce --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ConsolePrintf.Plo @@ -0,0 +1,359 @@ +src/cpp/libsciconsole_la-ConsolePrintf.lo: src/cpp/ConsolePrintf.cpp \ + /usr/include/stdc-predef.h src/cpp/ConsolePrintf.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h includes/ConsolePrintf.h \ + includes/dynlib_console.h src/jni/CallScilabBridge.hxx \ + /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h + +/usr/include/stdc-predef.h: + +src/cpp/ConsolePrintf.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +includes/ConsolePrintf.h: + +includes/dynlib_console.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleRead.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleRead.Plo new file mode 100755 index 000000000..458c8c419 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ConsoleRead.Plo @@ -0,0 +1,353 @@ +src/cpp/libsciconsole_la-ConsoleRead.lo: src/cpp/ConsoleRead.cpp \ + /usr/include/stdc-predef.h src/cpp/ConsoleRead.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h src/c/ConsoleRead.h \ + includes/dynlib_console.h src/jni/CallScilabBridge.hxx \ + /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/ConsoleRead.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/ConsoleRead.h: + +includes/dynlib_console.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-GetCharWithoutOutput.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-GetCharWithoutOutput.Plo new file mode 100755 index 000000000..b3a0c02fe --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-GetCharWithoutOutput.Plo @@ -0,0 +1,366 @@ +src/cpp/libsciconsole_la-GetCharWithoutOutput.lo: \ + src/cpp/GetCharWithoutOutput.cpp /usr/include/stdc-predef.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/core/includes/./../../jvm/includes/getScilabObject.h \ + src/cpp/../../../jvm/includes/getScilabJNIEnv.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + src/cpp/GetCharWithoutOutput.hxx \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + src/c/GetCharWithoutOutput.h includes/dynlib_console.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/c++/5/bits/ios_base.h \ + /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/core/includes/./../../jvm/includes/getScilabObject.h: + +src/cpp/../../../jvm/includes/getScilabJNIEnv.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +src/cpp/GetCharWithoutOutput.hxx: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/GetCharWithoutOutput.h: + +includes/dynlib_console.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-PromptToHome.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-PromptToHome.Plo new file mode 100755 index 000000000..e0cf69ee5 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-PromptToHome.Plo @@ -0,0 +1,355 @@ +src/cpp/libsciconsole_la-PromptToHome.lo: src/cpp/PromptToHome.cpp \ + /usr/include/stdc-predef.h src/cpp/PromptToHome.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h src/c/PromptToHome.h \ + includes/dynlib_console.h ../../modules/core/includes/BOOL.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/PromptToHome.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/PromptToHome.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-ScilabLinesUpdate.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-ScilabLinesUpdate.Plo new file mode 100755 index 000000000..54f5b6dc6 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-ScilabLinesUpdate.Plo @@ -0,0 +1,356 @@ +src/cpp/libsciconsole_la-ScilabLinesUpdate.lo: \ + src/cpp/ScilabLinesUpdate.cpp /usr/include/stdc-predef.h \ + src/cpp/ScilabLinesUpdate.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h src/c/ScilabLinesUpdate.h \ + includes/dynlib_console.h ../../modules/core/includes/BOOL.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/ScilabLinesUpdate.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/ScilabLinesUpdate.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.deps/libsciconsole_la-SetConsolePrompt.Plo b/modules/console/src/cpp/.deps/libsciconsole_la-SetConsolePrompt.Plo new file mode 100755 index 000000000..d09bc9991 --- /dev/null +++ b/modules/console/src/cpp/.deps/libsciconsole_la-SetConsolePrompt.Plo @@ -0,0 +1,356 @@ +src/cpp/libsciconsole_la-SetConsolePrompt.lo: \ + src/cpp/SetConsolePrompt.cpp /usr/include/stdc-predef.h \ + src/cpp/SetConsolePrompt.hxx \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/jvm/includes/getScilabJavaVM.h src/c/SetConsolePrompt.h \ + includes/dynlib_console.h ../../modules/core/includes/BOOL.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/cpp/SetConsolePrompt.hxx: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/jvm/includes/getScilabJavaVM.h: + +src/c/SetConsolePrompt.h: + +includes/dynlib_console.h: + +../../modules/core/includes/BOOL.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/cpp/.dirstamp b/modules/console/src/cpp/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/cpp/.dirstamp diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsole.o b/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsole.o Binary files differnew file mode 100755 index 000000000..655ec2006 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsole.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsolePart.o b/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsolePart.o Binary files differnew file mode 100755 index 000000000..8e7250a00 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ClearConsolePart.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleIsWaitingForInput.o b/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleIsWaitingForInput.o Binary files differnew file mode 100755 index 000000000..2faf6c6f2 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleIsWaitingForInput.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ConsolePrintf.o b/modules/console/src/cpp/.libs/libsciconsole_la-ConsolePrintf.o Binary files differnew file mode 100755 index 000000000..180858092 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ConsolePrintf.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleRead.o b/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleRead.o Binary files differnew file mode 100755 index 000000000..6a6ad0447 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ConsoleRead.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-GetCharWithoutOutput.o b/modules/console/src/cpp/.libs/libsciconsole_la-GetCharWithoutOutput.o Binary files differnew file mode 100755 index 000000000..66991efa9 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-GetCharWithoutOutput.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-PromptToHome.o b/modules/console/src/cpp/.libs/libsciconsole_la-PromptToHome.o Binary files differnew file mode 100755 index 000000000..3a2ba15e9 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-PromptToHome.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-ScilabLinesUpdate.o b/modules/console/src/cpp/.libs/libsciconsole_la-ScilabLinesUpdate.o Binary files differnew file mode 100755 index 000000000..84356bcd4 --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-ScilabLinesUpdate.o diff --git a/modules/console/src/cpp/.libs/libsciconsole_la-SetConsolePrompt.o b/modules/console/src/cpp/.libs/libsciconsole_la-SetConsolePrompt.o Binary files differnew file mode 100755 index 000000000..7aa71622a --- /dev/null +++ b/modules/console/src/cpp/.libs/libsciconsole_la-SetConsolePrompt.o diff --git a/modules/console/src/cpp/ClearConsole.cpp b/modules/console/src/cpp/ClearConsole.cpp new file mode 100755 index 000000000..f4a7e60d6 --- /dev/null +++ b/modules/console/src/cpp/ClearConsole.cpp @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "ClearConsole.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +BOOL ClearConsole(void) +{ + CallScilabBridge::clear(getScilabJavaVM()); + return TRUE; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/ClearConsole.hxx b/modules/console/src/cpp/ClearConsole.hxx new file mode 100755 index 000000000..1efcb9c5c --- /dev/null +++ b/modules/console/src/cpp/ClearConsole.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CLEARCONSOLE_HXX__ +#define __CLEARCONSOLE_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "ClearConsole.h" +#include "getScilabJavaVM.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /*__CLEARCONSOLE_HXX__ */ diff --git a/modules/console/src/cpp/ClearConsolePart.cpp b/modules/console/src/cpp/ClearConsolePart.cpp new file mode 100755 index 000000000..75f103a68 --- /dev/null +++ b/modules/console/src/cpp/ClearConsolePart.cpp @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "ClearConsolePart.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +BOOL ClearConsolePart(int nbLines) +{ + CallScilabBridge::clear(getScilabJavaVM(), nbLines); + return TRUE; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/ClearConsolePart.hxx b/modules/console/src/cpp/ClearConsolePart.hxx new file mode 100755 index 000000000..87dec096c --- /dev/null +++ b/modules/console/src/cpp/ClearConsolePart.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CLEARCONSOLEPART_HXX__ +#define __CLEARCONSOLEPART_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "ClearConsolePart.h" +#include "getScilabJavaVM.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /*__CLEARCONSOLEPART_HXX__ */ diff --git a/modules/console/src/cpp/ConsoleIsWaitingForInput.cpp b/modules/console/src/cpp/ConsoleIsWaitingForInput.cpp new file mode 100755 index 000000000..49650d384 --- /dev/null +++ b/modules/console/src/cpp/ConsoleIsWaitingForInput.cpp @@ -0,0 +1,27 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "ConsoleIsWaitingForInput.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +BOOL ConsoleIsWaitingForInput(void) +{ + if (getScilabJavaVM()) + { + return booltoBOOL(CallScilabBridge::isWaitingForInput(getScilabJavaVM())); + } + return FALSE; +} + +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/ConsoleIsWaitingForInput.hxx b/modules/console/src/cpp/ConsoleIsWaitingForInput.hxx new file mode 100755 index 000000000..2aedc1f39 --- /dev/null +++ b/modules/console/src/cpp/ConsoleIsWaitingForInput.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CONSOLEISWAITINGFORINPUT_HXX__ +#define __CONSOLEISWAITINGFORINPUT_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "ConsoleIsWaitingForInput.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /*__CONSOLEISWAITINGFORINPUT_HXX__ */ diff --git a/modules/console/src/cpp/ConsolePrintf.cpp b/modules/console/src/cpp/ConsolePrintf.cpp new file mode 100755 index 000000000..9796e9237 --- /dev/null +++ b/modules/console/src/cpp/ConsolePrintf.cpp @@ -0,0 +1,41 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2007-2008 - INRIA - Allan CORNET + * Copyright (C) 2008 - Yung-Jang Lee + * + * 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 "ConsolePrintf.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +#include "stack-def.h" +extern "C" { +#include "getScilabJavaVM.h" +#include "stack-def.h" +} + +using namespace org_scilab_modules_gui_bridge; + +int ConsolePrintf(char *line) +{ + JavaVM *vm = getScilabJavaVM(); + if (vm == NULL) + { + /* Java not yet or badly initialized */ + printf("%s", line); + } + else + { + CallScilabBridge::display(vm, line); + } + + return 0; +} diff --git a/modules/console/src/cpp/ConsolePrintf.hxx b/modules/console/src/cpp/ConsolePrintf.hxx new file mode 100755 index 000000000..f6d2e8e90 --- /dev/null +++ b/modules/console/src/cpp/ConsolePrintf.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CONSOLEPRINTF_HXX__ +#define __CONSOLEPRINTF_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "ConsolePrintf.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /* __CONSOLEPRINTF_HXX__ */ diff --git a/modules/console/src/cpp/ConsoleRead.cpp b/modules/console/src/cpp/ConsoleRead.cpp new file mode 100755 index 000000000..5a0d8807b --- /dev/null +++ b/modules/console/src/cpp/ConsoleRead.cpp @@ -0,0 +1,31 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "ConsoleRead.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +/*--------------------------------------------------------------------------*/ +static char *line = NULL; +/*--------------------------------------------------------------------------*/ +char *ConsoleRead(void) +{ + if (line) + { + delete line; + line = NULL; + } + line = CallScilabBridge::readLine(getScilabJavaVM()); + return line; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/ConsoleRead.hxx b/modules/console/src/cpp/ConsoleRead.hxx new file mode 100755 index 000000000..5cc164089 --- /dev/null +++ b/modules/console/src/cpp/ConsoleRead.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __CONSOLEREAD_HXX__ +#define __CONSOLEREAD_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "ConsoleRead.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /*__CONSOLEREAD_HXX__ */ diff --git a/modules/console/src/cpp/GetCharWithoutOutput.cpp b/modules/console/src/cpp/GetCharWithoutOutput.cpp new file mode 100755 index 000000000..2bbf165d0 --- /dev/null +++ b/modules/console/src/cpp/GetCharWithoutOutput.cpp @@ -0,0 +1,28 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 <stdlib.h> +#include <jni.h> +extern "C" { +#include "./../../jvm/includes/getScilabObject.h" +#include "../../../jvm/includes/getScilabJNIEnv.h" +} +#include "MALLOC.h" +#include "GetCharWithoutOutput.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +int GetCharWithoutOutput(void) +{ + return CallScilabBridge::getCharWithoutOutput(getScilabJavaVM()); +} diff --git a/modules/console/src/cpp/GetCharWithoutOutput.hxx b/modules/console/src/cpp/GetCharWithoutOutput.hxx new file mode 100755 index 000000000..63cdb6f52 --- /dev/null +++ b/modules/console/src/cpp/GetCharWithoutOutput.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __GETCHARWITHOUTOUTPUT_HXX__ +#define __GETCHARWITHOUTOUTPUT_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "GetCharWithoutOutput.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /*__GETCHARWITHOUTOUTPUT_HXX__ */ diff --git a/modules/console/src/cpp/PromptToHome.cpp b/modules/console/src/cpp/PromptToHome.cpp new file mode 100755 index 000000000..ff638ce57 --- /dev/null +++ b/modules/console/src/cpp/PromptToHome.cpp @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "PromptToHome.hxx" +#include "CallScilabBridge.hxx" +/*--------------------------------------------------------------------------*/ +using namespace org_scilab_modules_gui_bridge; +BOOL PromptToHome(void) +{ + CallScilabBridge::toHome(getScilabJavaVM()); + return TRUE; +} diff --git a/modules/console/src/cpp/PromptToHome.hxx b/modules/console/src/cpp/PromptToHome.hxx new file mode 100755 index 000000000..9a57355c2 --- /dev/null +++ b/modules/console/src/cpp/PromptToHome.hxx @@ -0,0 +1,25 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __PROMPTTOHOME_HXX__ +#define __PROMPTTOHOME_HXX__ +/*--------------------------------------------------------------------------*/ +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "PromptToHome.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /* __PROMPTTOHOME_HXX__ */ diff --git a/modules/console/src/cpp/ScilabLinesUpdate.cpp b/modules/console/src/cpp/ScilabLinesUpdate.cpp new file mode 100755 index 000000000..f65c2234b --- /dev/null +++ b/modules/console/src/cpp/ScilabLinesUpdate.cpp @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "ScilabLinesUpdate.hxx" +/*--------------------------------------------------------------------------*/ +#include "CallScilabBridge.hxx" +using namespace org_scilab_modules_gui_bridge; +BOOL ScilabLinesUpdate(void) +{ + CallScilabBridge::scilabLinesUpdate(getScilabJavaVM()); + return TRUE; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/cpp/ScilabLinesUpdate.hxx b/modules/console/src/cpp/ScilabLinesUpdate.hxx new file mode 100755 index 000000000..bc397e1dc --- /dev/null +++ b/modules/console/src/cpp/ScilabLinesUpdate.hxx @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __SCILABLINESUPDATE_HXX__ +#define __SCILABLINESUPDATE_HXX__ +/*--------------------------------------------------------------------------*/ + +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "ScilabLinesUpdate.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /* __SCILABLINESUPDATE_HXX__ */ diff --git a/modules/console/src/cpp/SetConsolePrompt.cpp b/modules/console/src/cpp/SetConsolePrompt.cpp new file mode 100755 index 000000000..0f0d3e43a --- /dev/null +++ b/modules/console/src/cpp/SetConsolePrompt.cpp @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 "SetConsolePrompt.hxx" +#include "CallScilabBridge.hxx" +/*--------------------------------------------------------------------------*/ +using namespace org_scilab_modules_gui_bridge; +BOOL SetConsolePrompt(char *Sci_prompt) +{ + CallScilabBridge::setPrompt(getScilabJavaVM(), Sci_prompt); + return TRUE; +} diff --git a/modules/console/src/cpp/SetConsolePrompt.hxx b/modules/console/src/cpp/SetConsolePrompt.hxx new file mode 100755 index 000000000..f8b59afa9 --- /dev/null +++ b/modules/console/src/cpp/SetConsolePrompt.hxx @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +#ifndef __SETCONSOLEPROMPT_HXX__ +#define __SETCONSOLEPROMPT_HXX__ +/*--------------------------------------------------------------------------*/ + +#include <jni.h> + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "SetConsolePrompt.h" +} /* extern "C" */ + +/*--------------------------------------------------------------------------*/ +#endif /* __SETCONSOLEPROMPT_HXX__*/ diff --git a/modules/console/src/cpp/libsciconsole_la-ClearConsole.lo b/modules/console/src/cpp/libsciconsole_la-ClearConsole.lo new file mode 100755 index 000000000..d70dfa057 --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ClearConsole.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ClearConsole.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ClearConsole.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-ClearConsolePart.lo b/modules/console/src/cpp/libsciconsole_la-ClearConsolePart.lo new file mode 100755 index 000000000..a69ac2ef0 --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ClearConsolePart.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ClearConsolePart.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ClearConsolePart.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo b/modules/console/src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo new file mode 100755 index 000000000..98f17f9d3 --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ConsoleIsWaitingForInput.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ConsoleIsWaitingForInput.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-ConsolePrintf.lo b/modules/console/src/cpp/libsciconsole_la-ConsolePrintf.lo new file mode 100755 index 000000000..66be7e0aa --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ConsolePrintf.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ConsolePrintf.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ConsolePrintf.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-ConsoleRead.lo b/modules/console/src/cpp/libsciconsole_la-ConsoleRead.lo new file mode 100755 index 000000000..877a916de --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ConsoleRead.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ConsoleRead.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ConsoleRead.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-GetCharWithoutOutput.lo b/modules/console/src/cpp/libsciconsole_la-GetCharWithoutOutput.lo new file mode 100755 index 000000000..134b326a8 --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-GetCharWithoutOutput.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-GetCharWithoutOutput.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-GetCharWithoutOutput.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-PromptToHome.lo b/modules/console/src/cpp/libsciconsole_la-PromptToHome.lo new file mode 100755 index 000000000..b46337ecf --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-PromptToHome.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-PromptToHome.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-PromptToHome.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-ScilabLinesUpdate.lo b/modules/console/src/cpp/libsciconsole_la-ScilabLinesUpdate.lo new file mode 100755 index 000000000..159eed38d --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-ScilabLinesUpdate.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-ScilabLinesUpdate.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-ScilabLinesUpdate.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/cpp/libsciconsole_la-SetConsolePrompt.lo b/modules/console/src/cpp/libsciconsole_la-SetConsolePrompt.lo new file mode 100755 index 000000000..4d35c670e --- /dev/null +++ b/modules/console/src/cpp/libsciconsole_la-SetConsolePrompt.lo @@ -0,0 +1,12 @@ +# src/cpp/libsciconsole_la-SetConsolePrompt.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-SetConsolePrompt.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/java/org/scilab/modules/console/ClearConsoleAction.java b/modules/console/src/java/org/scilab/modules/console/ClearConsoleAction.java new file mode 100755 index 000000000..392b1921d --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/ClearConsoleAction.java @@ -0,0 +1,42 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import org.scilab.modules.action_binding.InterpreterManagement; + +/** + * Class used to clear console + * @author Allan CORNET + */ +public class ClearConsoleAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public ClearConsoleAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + InterpreterManagement.putCommandInScilabQueue("clc();"); + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/CompletionAction.java b/modules/console/src/java/org/scilab/modules/console/CompletionAction.java new file mode 100755 index 000000000..6f2b6d3e8 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/CompletionAction.java @@ -0,0 +1,95 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Point; +import java.awt.event.ActionEvent; +import java.util.Iterator; +import java.util.List; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import com.artenum.rosetta.interfaces.core.CompletionItem; + +import org.scilab.modules.completion.AbstractSciCompletionWindow; +import org.scilab.modules.completion.Completion; + +/** + * Class used when Scilab user asks for completion on the current edited line + * @author Vincent COUVERT + * @author Allan CORNET + */ +public class CompletionAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public CompletionAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int caretPosition = configuration.getInputParsingManager().getCaretPosition(); + if (caretPosition == 0) { + return; + } + + List<CompletionItem> completionItems = configuration.getCompletionManager().getCompletionItems(); + + if ((completionItems != null) && (completionItems.size() > 0)) { + AbstractSciCompletionWindow win = (AbstractSciCompletionWindow) configuration.getCompletionWindow(); + + if (completionItems.size() == 1) { + Point location = configuration.getInputParsingManager().getWindowCompletionLocation(); + /* Only one item returned, autoselected and appended to command line */ + configuration.getCompletionWindow().show(completionItems, location); + win.addCompletedWord(caretPosition); + + ((AbstractSciCompletionWindow) configuration.getCompletionWindow()).setVisible(false); + } else { + String [] completionArray = new String [completionItems.size()]; + + int i = 0; + Iterator < CompletionItem > it = completionItems.iterator(); + while (it.hasNext()) { + CompletionItem currentItem = it.next(); + completionArray[i] = currentItem.getReturnValue(); + i++; + } + + // First autocmplete by the common prefix of suggested words, if exist + java.util.Arrays.sort(completionArray); + String commonPartOfWord = Completion.getCommonPart(completionArray, completionItems.size()); + + caretPosition = configuration.getInputParsingManager().getCaretPosition(); + String currentLine = configuration.getInputParsingManager().getCommandLine(); + + if ((commonPartOfWord.length() != 0) && (caretPosition == currentLine.length())) { + if (configuration.getInputParsingManager().getPartLevel(0).length() != 0) { + win.addCompletedWord(commonPartOfWord, caretPosition); + } + } + + // Display suggested word window at caret position + Point location = configuration.getInputParsingManager().getWindowCompletionLocation(); + configuration.getCompletionWindow().show(completionItems, location); + } + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/ConsoleConfiguration.java b/modules/console/src/java/org/scilab/modules/console/ConsoleConfiguration.java new file mode 100755 index 000000000..702c55aab --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/ConsoleConfiguration.java @@ -0,0 +1,71 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.util.Set; + +import org.scilab.modules.commons.xml.XConfigurationEvent; +import org.scilab.modules.commons.xml.XConfigurationListener; +import org.scilab.modules.console.utils.ScilabLaTeXViewer; + +public class ConsoleConfiguration implements XConfigurationListener { + + private SciConsole sciConsole; + + public ConsoleConfiguration(SciConsole sciConsole) { + this.sciConsole = sciConsole; + } + + /** + * Prevent the listener that configuration has changed + * + * @param e the event + */ + public void configurationChanged(XConfigurationEvent e) { + Conf conf = new Conf(e.getModifiedPaths()); + if (conf.changed()) { + ConsoleOptions.invalidate(conf); + sciConsole.configurationChanged(conf); + ScilabLaTeXViewer.configurationChanged(conf); + } + } + + public static class Conf { + + public boolean latex; + public boolean font; + public boolean color; + public boolean display; + public boolean keymap; + + public Conf(Set<String> path) { + if (path.contains("ALL")) { + font = true; + color = true; + display = true; + keymap = true; + latex = true; + } else { + latex = path.contains(ConsoleOptions.LATEXPATH); + font = path.contains(ConsoleOptions.CONSOLEFONTPATH) || path.contains(ConsoleOptions.FONTPATH); + color = path.contains(ConsoleOptions.COLORSPATH); + display = path.contains(ConsoleOptions.DISPLAYPATH); + keymap = path.contains(ConsoleOptions.KEYMAPPATH); + } + } + + public boolean changed() { + return font || color || display || keymap || latex; + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/ConsoleOptions.java b/modules/console/src/java/org/scilab/modules/console/ConsoleOptions.java new file mode 100755 index 000000000..5e1d89471 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/ConsoleOptions.java @@ -0,0 +1,189 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises -Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Color; +import java.awt.Font; + +import org.w3c.dom.Document; + +import org.scilab.modules.commons.ScilabGeneralPrefs; +import static org.scilab.modules.commons.xml.XConfiguration.XConfAttribute; +import org.scilab.modules.commons.xml.XConfiguration; + +/** + * Console options + * @author Calixte DENIZET + */ +public class ConsoleOptions { + + public static final String COLORSPATH = "//colors/body/desktop-colors"; + public static final String CONSOLEFONTPATH = "//fonts/body/fonts/item[@xconf-uid=\"console-font\"]"; + public static final String FONTPATH = "//fonts/body/fonts"; + public static final String LATEXPATH = "//fonts/body/fonts"; + public static final String DISPLAYPATH = "//console/body/display"; + public static final String KEYMAPPATH = "//general/shortcuts/body/actions/action-folder[@xconf-uid=\"console\"]/action"; + + private static ConsoleOptions.ConsoleColor color; + private static ConsoleOptions.ConsoleFont font; + private static ConsoleOptions.LaTeXFont latex; + private static ConsoleOptions.ConsoleDisplay display; + + private static Document doc; + + @XConfAttribute + public static class ConsoleDisplay { + + public int maxOutputLines; + public int nbLines; + public int nbColumns; + public boolean adaptToDisplay; + public boolean wrapLines; + + private ConsoleDisplay() { } + + @XConfAttribute(tag = "display", attributes = {"scroll-size", "lines-to-display", "columns-to-display", "adapt-to-display", "wrap-lines"}) + private void set(int maxOutputLines, int nbLines, int nbColumns, boolean adaptToDisplay, boolean wrapLines) { + this.maxOutputLines = maxOutputLines; + this.nbLines = nbLines; + this.nbColumns = nbColumns; + this.adaptToDisplay = adaptToDisplay; + this.wrapLines = wrapLines; + } + } + + @XConfAttribute + public static class ConsoleColor { + + public Color background; + public Color cursor; + public Color foreground; + + private ConsoleColor() { } + + @XConfAttribute(tag = "desktop-colors", attributes = {"background", "cursor", "text", "use-system-color"}) + private void set(Color background, Color cursor, Color foreground, boolean useSystemColor) { + if (useSystemColor) { + this.background = Color.WHITE; + this.cursor = Color.BLACK; + this.foreground = Color.BLACK; + } else { + this.background = background; + this.cursor = cursor; + this.foreground = foreground; + } + } + } + + @XConfAttribute + public static class ConsoleFont { + + public Font font; + + private ConsoleFont() { } + + @XConfAttribute(tag = "item", attributes = {"font-face", "font-name", "font-size", "desktop"}) + private void set(String fontFace, String fontName, int fontSize, boolean desktopFont) { + if (desktopFont) { + this.font = ScilabGeneralPrefs.getDesktopFont(); + } else { + this.font = new Font(fontName, Font.PLAIN, fontSize); + int style = Font.PLAIN; + if (fontFace.contains("bold")) { + style = style | Font.BOLD; + } else if (fontFace.contains("italic")) { + style = style | Font.ITALIC; + } + if (style != Font.PLAIN) { + this.font = this.font.deriveFont(style); + } + } + } + } + + @XConfAttribute + public static class LaTeXFont { + + public int size; + + private LaTeXFont() { } + + @XConfAttribute(tag = "fonts", attributes = {"latex"}) + private void set(double size) { + this.size = (int) size; + } + } + + public static void invalidate(ConsoleConfiguration.Conf conf) { + if (conf.font) { + font = null; + doc = null; + } + if (conf.color) { + color = null; + doc = null; + } + if (conf.display) { + display = null; + doc = null; + } + if (conf.latex) { + latex = null; + doc = null; + } + } + + public static final ConsoleOptions.ConsoleDisplay getConsoleDisplay() { + if (display == null) { + if (doc == null) { + doc = XConfiguration.getXConfigurationDocument(); + } + display = XConfiguration.get(ConsoleOptions.ConsoleDisplay.class, doc, DISPLAYPATH)[0]; + } + + return display; + } + + public static final ConsoleOptions.ConsoleFont getConsoleFont() { + if (font == null) { + if (doc == null) { + doc = XConfiguration.getXConfigurationDocument(); + } + font = XConfiguration.get(ConsoleOptions.ConsoleFont.class, doc, CONSOLEFONTPATH)[0]; + } + + return font; + } + + public static final ConsoleOptions.LaTeXFont getLaTeXFont() { + if (latex == null) { + if (doc == null) { + doc = XConfiguration.getXConfigurationDocument(); + } + latex = XConfiguration.get(ConsoleOptions.LaTeXFont.class, doc, LATEXPATH)[0]; + } + + return latex; + } + + public static final ConsoleOptions.ConsoleColor getConsoleColor() { + if (color == null) { + if (doc == null) { + doc = XConfiguration.getXConfigurationDocument(); + } + color = XConfiguration.get(ConsoleOptions.ConsoleColor.class, doc, COLORSPATH)[0]; + } + + return color; + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/ConsoleboxAction.java b/modules/console/src/java/org/scilab/modules/console/ConsoleboxAction.java new file mode 100755 index 000000000..3a561c456 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/ConsoleboxAction.java @@ -0,0 +1,53 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import org.scilab.modules.action_binding.InterpreterManagement; + +/** + * Class used to open console box on windows + * @author Allan CORNET + */ +public class ConsoleboxAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + private static final String OSNAME = System.getProperty("os.name").toLowerCase(); + + /** + * Constructor + */ + public ConsoleboxAction() { + super(); + } + + /** + * check if Windows + * @return true if windows + */ + private static boolean isWindows() { + return OSNAME.indexOf("windows") != -1; + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + if (isWindows()) { + InterpreterManagement.putCommandInScilabQueue("consolebox('toggle');"); + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/DelEndOfLineAction.java b/modules/console/src/java/org/scilab/modules/console/DelEndOfLineAction.java new file mode 100755 index 000000000..bed88c194 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DelEndOfLineAction.java @@ -0,0 +1,53 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import javax.swing.text.BadLocationException; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete the line from the caret postion to the end of the line when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class DelEndOfLineAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public DelEndOfLineAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int currentPosition = configuration.getInputCommandView().getCaretPosition(); + int textLength = configuration.getInputCommandViewStyledDocument().getLength(); + + try { + configuration.getInputCommandViewStyledDocument().remove(currentPosition, textLength - currentPosition); + } catch (BadLocationException e1) { + e1.printStackTrace(); + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/DelLastWordAction.java b/modules/console/src/java/org/scilab/modules/console/DelLastWordAction.java new file mode 100755 index 000000000..b2907f64d --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DelLastWordAction.java @@ -0,0 +1,62 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete last word and trailing spaces of the line when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class DelLastWordAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public DelLastWordAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int currentPosition = configuration.getInputCommandView().getCaretPosition(); + String currentText = configuration.getInputCommandView().getText(); + + /* Delete traillings spaces */ + while (currentText.length() > 0 && currentText.charAt(currentText.length() - 1) == ' ') { + currentText = currentText.substring(0, currentText.length() - 2); + } + + /* Delete last word */ + currentText = currentText.substring(0, currentText.lastIndexOf(' ') + 1); + + configuration.getInputCommandView().setText(currentText); + + /* Sets new caret position */ + if (currentPosition <= currentText.length()) { + configuration.getInputCommandView().setCaretPosition(currentPosition); + } else { + configuration.getInputCommandView().setCaretPosition(currentText.length()); + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/DelNextCharAction.java b/modules/console/src/java/org/scilab/modules/console/DelNextCharAction.java new file mode 100755 index 000000000..49f98860e --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DelNextCharAction.java @@ -0,0 +1,54 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent Couvert + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import javax.swing.text.BadLocationException; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete character following the caret when an event occurs (equivalent of a SUPPR key press) + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class DelNextCharAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public DelNextCharAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int currentPosition = configuration.getInputCommandView().getCaretPosition(); + + /* Do not try to remove an non-existing item */ + if (currentPosition < configuration.getInputCommandViewStyledDocument().getLength()) { + try { + configuration.getInputCommandViewStyledDocument().remove(currentPosition, 1); + } catch (BadLocationException e1) { + e1.printStackTrace(); + } + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/DelPreviousCharAction.java b/modules/console/src/java/org/scilab/modules/console/DelPreviousCharAction.java new file mode 100755 index 000000000..9a7919992 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DelPreviousCharAction.java @@ -0,0 +1,45 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete character preceeding the caret when an event occurs (equivalent of a BACKSPACE key press) + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class DelPreviousCharAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public DelPreviousCharAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + + configuration.getInputCommandView().backspace(); + + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/DelWholeLineAction.java b/modules/console/src/java/org/scilab/modules/console/DelWholeLineAction.java new file mode 100755 index 000000000..e23d7c93b --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DelWholeLineAction.java @@ -0,0 +1,44 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete the entire line when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class DelWholeLineAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public DelWholeLineAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + configuration.getInputCommandView().reset(); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/DropFiles.java b/modules/console/src/java/org/scilab/modules/console/DropFiles.java new file mode 100755 index 000000000..7480ae456 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DropFiles.java @@ -0,0 +1,34 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.scilab.modules.console; + + +/** + * @author Allan CORNET + * @copyright INRIA 2007 + */ +public class DropFiles { + + /** + * Constructor + */ + protected DropFiles() { + throw new UnsupportedOperationException(); + } + + /** + * drop function on all types for scilab + * @param files list of files + * @return true or false + */ + public static boolean dropFiles(String[] files) { + return DropFilesJNI.dropFiles(files); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/DropFilesJNI.java b/modules/console/src/java/org/scilab/modules/console/DropFilesJNI.java new file mode 100755 index 000000000..067c2b8c0 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/DropFilesJNI.java @@ -0,0 +1,47 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.scilab.modules.console; + + +/* It is generated code. Disable checkstyle */ +//CHECKSTYLE:OFF +/** + * @author Allan CORNET + * @copyright INRIA 2007 + */ +public class DropFilesJNI { + + /** + * Constructor + */ + protected DropFilesJNI() { + throw new UnsupportedOperationException(); + } + + static { + try { + System.loadLibrary("sciconsole"); + } catch (SecurityException e) { + System.err.println("A security manager exists and does not allow the loading of the specified dynamic library."); + System.err.println(e.getLocalizedMessage()); + System.exit(-1); + } catch (UnsatisfiedLinkError e) { + System.err.println("The native library sciconsole does not exist or cannot be found."); + if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) { + System.err.println(e.getLocalizedMessage()); + System.err.println("Current java.library.path is : " + System.getProperty("java.library.path")); + System.exit(-1); + } else { + System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR"); + } + } + } + + public final static native boolean dropFiles(String[] jarg1); +} diff --git a/modules/console/src/java/org/scilab/modules/console/FocusMouseListener.java b/modules/console/src/java/org/scilab/modules/console/FocusMouseListener.java new file mode 100755 index 000000000..7ebe547c2 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/FocusMouseListener.java @@ -0,0 +1,104 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.MouseEvent; +import java.awt.event.MouseListener; + +import javax.swing.JPanel; +import javax.swing.JTextPane; + +/** + * NO MORE USED BECAUSE NOW THE CARET OF THE OUTPUT VIEW IS USED TO DO THIS WORK + * Mouse listener for the output view + * Automatically forward the focus to input view + * @author Vincent COUVERT + */ +public class FocusMouseListener implements MouseListener { + + private SciConsole c; + + /** + * @param console the console object associated + */ + public FocusMouseListener(SciConsole console) { + super(); + c = console; + } + + /** + * User click + * @param e the event to threat + * @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent) + */ + public void mouseClicked(MouseEvent e) { + // If the user clicks in the Outputview then the focus is given to the input command view + if (((JPanel) c.getConfiguration().getPromptView()).isVisible()) { + ((JTextPane) c.getConfiguration().getInputCommandView()).grabFocus(); + } else { + // In case of "more ?" + c.grabFocus(); + } + } + + /** + * Mouse enters in the object + * @param e the event to threat + * @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent) + */ + public void mouseEntered(MouseEvent e) { + + } + + /** + * Mouse exists from the object + * @param e the event to threat + * @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent) + */ + public void mouseExited(MouseEvent e) { + + } + + /** + * Mouse button pressed + * @param e the event to threat + * @see java.awt.event.MouseListener#mousePressed(java.awt.event.MouseEvent) + */ + public void mousePressed(MouseEvent e) { + + } + + /** + * Mouse button released + * @param e the event to threat + * @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent) + */ + public void mouseReleased(MouseEvent e) { + + } + + /** + * Mouse stay over the object + * @param e the event to threat + * @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent) + */ + public void mouseOver(MouseEvent e) { + // If the user clicks in the Outputview then the focus is given to the input command view + if (((JPanel) c.getConfiguration().getPromptView()).isVisible()) { + ((JTextPane) c.getConfiguration().getInputCommandView()).grabFocus(); + } else { + // In case of "more ?" + c.grabFocus(); + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/GetNextAction.java b/modules/console/src/java/org/scilab/modules/console/GetNextAction.java new file mode 100755 index 000000000..2d31fad05 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/GetNextAction.java @@ -0,0 +1,50 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +public class GetNextAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + public void actionPerformed(ActionEvent e) { + String historyLine = null; + + /* Search matching line in history if exists !! */ + if (configuration.getHistoryManager().isInHistory() == false) { + /* Sets browsing state */ + configuration.getHistoryManager().setInHistory(true); + /* Save currently edited command line */ + configuration.getHistoryManager().setTmpEntry(configuration.getInputCommandView().getText()); + } + + /* Search matching line in history if exists !! */ + historyLine = configuration.getHistoryManager().getNextEntry(configuration.getHistoryManager().getTmpEntry()); + + /* If nothing found in history, go back to edited line */ + if (historyLine == null) { + historyLine = configuration.getHistoryManager().getTmpEntry(); + /* Reset edited line */ + configuration.getHistoryManager().setTmpEntry(null); + configuration.getHistoryManager().setInHistory(false); + } + + /* If a matching entry has been found */ + if (historyLine != null) { + /* Update command line */ + configuration.getInputCommandView().reset(); + configuration.getInputCommandView().append(historyLine); + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/GetPreviousAction.java b/modules/console/src/java/org/scilab/modules/console/GetPreviousAction.java new file mode 100755 index 000000000..1951ce687 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/GetPreviousAction.java @@ -0,0 +1,54 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * @author Vincent COUVERT + * + */ +public class GetPreviousAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + public void actionPerformed(ActionEvent e) { + String historyLine = null; + + /* Do we start browsing */ + if (configuration.getHistoryManager().isInHistory() == false) { + /* Sets browsing state */ + configuration.getHistoryManager().setInHistory(true); + /* Save currently edited command line */ + configuration.getHistoryManager().setTmpEntry(configuration.getInputCommandView().getText()); + } + + /* Search matching line in history if exists !! */ + historyLine = configuration.getHistoryManager().getPreviousEntry(configuration.getHistoryManager().getTmpEntry()); + + /* If nothing found in history, go back to edited line */ + if (historyLine == null) { + historyLine = configuration.getHistoryManager().getTmpEntry(); + /* Reset edited line */ + configuration.getHistoryManager().setTmpEntry(null); + configuration.getHistoryManager().setInHistory(false); + } + + /* If a matching entry has been found */ + if (historyLine != null) { + /* Update command line */ + configuration.getInputCommandView().reset(); + configuration.getInputCommandView().append(historyLine); + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/GuiManagement.java b/modules/console/src/java/org/scilab/modules/console/GuiManagement.java new file mode 100755 index 000000000..2c279c717 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/GuiManagement.java @@ -0,0 +1,39 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.scilab.modules.console; + + +/** + * All Scilab gui management used in Java console + * @author Vincent COUVERT + * @copyright INRIA 2007 + */ +public class GuiManagement { + + /** + * Constructor + */ + protected GuiManagement() { + throw new UnsupportedOperationException(); + } + + /** + * Set Scilab parameters used to display data according the size of the console + * @param nbRows number of rows that can be used to display data + * @param nbCols number of columns that can be used to display data + */ + static void setScilabLines(int nbRows, int nbCols) { + GuiManagementJNI.setScilabLines(nbRows, nbCols); + } + + public static void forceScilabLines(int nbRows, int nbCols) { + GuiManagementJNI.forceScilabLines(nbRows, nbCols); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/GuiManagementJNI.java b/modules/console/src/java/org/scilab/modules/console/GuiManagementJNI.java new file mode 100755 index 000000000..2fecb9b15 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/GuiManagementJNI.java @@ -0,0 +1,49 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.scilab.modules.console; + + +/* It is generated code. Disable checkstyle */ +//CHECKSTYLE:OFF +/** + * All Scilab gui management used in Java console + * @author Vincent COUVERT + * @copyright INRIA 2007 + */ +public class GuiManagementJNI { + + /** + * Constructor + */ + protected GuiManagementJNI() { + throw new UnsupportedOperationException(); + } + + static { + try { + System.loadLibrary("sciconsole"); + } catch (SecurityException e) { + System.err.println("A security manager exists and does not allow the loading of the specified dynamic library."); + System.err.println(e.getLocalizedMessage()); + System.exit(-1); + } catch (UnsatisfiedLinkError e) { + System.err.println("The native library sciconsole does not exist or cannot be found."); + if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) { + System.err.println(e.getLocalizedMessage()); + System.err.println("Current java.library.path is : " + System.getProperty("java.library.path")); + System.exit(-1); + } else { + System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR"); + } + } + } + + public final static native void setScilabLines(int jarg1, int jarg2); + public final static native void forceScilabLines(int jarg1, int jarg2); +} diff --git a/modules/console/src/java/org/scilab/modules/console/HelpAction.java b/modules/console/src/java/org/scilab/modules/console/HelpAction.java new file mode 100755 index 000000000..7583a1921 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/HelpAction.java @@ -0,0 +1,42 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import org.scilab.modules.action_binding.InterpreterManagement; + +/** + * Class used to launch help browser + * @author Allan CORNET + */ +public class HelpAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public HelpAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + InterpreterManagement.putCommandInScilabQueue("help();"); + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCopy.java b/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCopy.java new file mode 100755 index 000000000..902d6c219 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCopy.java @@ -0,0 +1,76 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.datatransfer.StringSelection; +import java.awt.event.ActionEvent; +import java.awt.Toolkit; +import javax.swing.JPanel; +import javax.swing.JEditorPane; +import javax.swing.JTextPane; + +import org.scilab.modules.action_binding.InterpreterManagement; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import com.artenum.rosetta.util.StringConstants; + +/** + * Stops Scilab current work to enter pause mode + * Or copy selected text (if there is) + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class InterruptScilabWorkOrCopy extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public InterruptScilabWorkOrCopy() { + super(); + + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + + if (((JTextPane) configuration.getInputCommandView()).getSelectedText() != null) { + /* Text selected in the input --> Copy */ + StringSelection strSelected = new StringSelection(((JTextPane) configuration.getInputCommandView()).getSelectedText()); + Toolkit.getDefaultToolkit().getSystemClipboard().setContents(strSelected, null); + } else if (((JEditorPane) configuration.getOutputView()).getSelectedText() != null) { + /* Text selected in the output --> Copy */ + StringSelection strSelected = new StringSelection(((JEditorPane) configuration.getOutputView()).getSelectedText()); + Toolkit.getDefaultToolkit().getSystemClipboard().setContents(strSelected, null); + } else { + /* Interrupt Scilab */ + InterpreterManagement.interruptScilab(); + + // If Scilab is on prompt, then emulate a user entry + if (((JPanel) configuration.getPromptView()).isVisible()) { + configuration.getOutputView().append(StringConstants.NEW_LINE); + configuration.getOutputView().append(configuration.getPromptView().getDefaultPrompt()); + configuration.getOutputView().append(configuration.getInputParsingManager().getCommandLine()); + configuration.getOutputView().append(StringConstants.NEW_LINE); + ((SciOutputView) configuration.getOutputView()).getConsole().sendCommandsToScilab("", false, false); + configuration.getInputParsingManager().reset(); + } + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCut.java b/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCut.java new file mode 100755 index 000000000..d119fd05f --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/InterruptScilabWorkOrCut.java @@ -0,0 +1,80 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.datatransfer.StringSelection; +import java.awt.event.ActionEvent; +import java.awt.Toolkit; +import javax.swing.JPanel; +import javax.swing.JTextPane; +import javax.swing.text.BadLocationException; +import javax.swing.text.StyledDocument; + +import org.scilab.modules.action_binding.InterpreterManagement; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import com.artenum.rosetta.util.StringConstants; + +/** + * Stops Scilab current work to enter pause mode + * Or cut selected text (if there is) + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class InterruptScilabWorkOrCut extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public InterruptScilabWorkOrCut() { + super(); + + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + + if (((JTextPane) configuration.getInputCommandView()).getSelectedText() != null) { + /* Text selected in the input --> Copy */ + StringSelection strSelected = new StringSelection(((JTextPane) configuration.getInputCommandView()).getSelectedText()); + Toolkit.getDefaultToolkit().getSystemClipboard().setContents(strSelected, null); + JTextPane input = (JTextPane) configuration.getInputCommandView(); + StyledDocument doc = input.getStyledDocument(); + try { + doc.remove(input.getSelectionStart(), input.getSelectionEnd() - input.getSelectionStart()); + } catch (BadLocationException e1) { + e1.printStackTrace(); + } + } else { + /* Interrupt Scilab */ + InterpreterManagement.interruptScilab(); + + // If Scilab is on prompt, then emulate a user entry + if (((JPanel) configuration.getPromptView()).isVisible()) { + configuration.getOutputView().append(StringConstants.NEW_LINE); + configuration.getOutputView().append(configuration.getPromptView().getDefaultPrompt()); + configuration.getOutputView().append(configuration.getInputParsingManager().getCommandLine()); + configuration.getOutputView().append(StringConstants.NEW_LINE); + ((SciOutputView) configuration.getOutputView()).getConsole().sendCommandsToScilab("", false, false); + configuration.getInputParsingManager().reset(); + } + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/LineBeginningAction.java b/modules/console/src/java/org/scilab/modules/console/LineBeginningAction.java new file mode 100755 index 000000000..298693d89 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/LineBeginningAction.java @@ -0,0 +1,44 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Delete the beginning of the line up to caret position when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class LineBeginningAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public LineBeginningAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + configuration.getInputCommandView().setCaretPositionToBeginning(); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/LineEndAction.java b/modules/console/src/java/org/scilab/modules/console/LineEndAction.java new file mode 100755 index 000000000..65627108e --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/LineEndAction.java @@ -0,0 +1,44 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Go to the end of the line when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class LineEndAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public LineEndAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + configuration.getInputCommandView().setCaretPositionToEnd(); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/NextCharAction.java b/modules/console/src/java/org/scilab/modules/console/NextCharAction.java new file mode 100755 index 000000000..170f64cc9 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/NextCharAction.java @@ -0,0 +1,49 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Moves the caret of character to the left when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class NextCharAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public NextCharAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int currentPosition = configuration.getInputCommandView().getCaretPosition(); + + /* Current position is not changed if already at the end of the line */ + if (currentPosition < configuration.getInputCommandViewStyledDocument().getLength()) { + configuration.getInputCommandView().setCaretPosition(currentPosition + 1); + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/OneCharKeyEventListener.java b/modules/console/src/java/org/scilab/modules/console/OneCharKeyEventListener.java new file mode 100755 index 000000000..c6f55f32b --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/OneCharKeyEventListener.java @@ -0,0 +1,68 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; + +/** + * This key listener is used to wait for one input char when displayed data are bigger than console + * @author Vincent COUVERT + */ +public class OneCharKeyEventListener implements KeyListener { + + private SciConsole sciConsole; + + /** + * Constructor + * @param console the console associated to this key listener + */ + public OneCharKeyEventListener(SciConsole console) { + super(); + sciConsole = console; + } + + /** + * What do we have to do when a key is pressed ? + * - did the user press n ? + * @param e the event to threat + * @see java.awt.event.KeyListener#keyPressed(java.awt.event.KeyEvent) + */ + public void keyPressed(KeyEvent e) { + /* Answer to more y or n ? */ + if (Character.toLowerCase(e.getKeyChar()) == 'n') { + sciConsole.setUserInputValue(Integer.parseInt(Integer.toString(Character.toLowerCase(e.getKeyChar())))); + } else { + sciConsole.setUserInputValue(1); + } + e.consume(); + } + + /** + * What do we have to do when a key is released ? + * @param e the event to threat + * @see java.awt.event.KeyListener#keyPressed(java.awt.event.KeyEvent) + */ + public void keyReleased(KeyEvent e) { + // TODO Auto-generated method stub + } + + /** + * What do we have to do when a key is typed ? + * @param e the event to threat + * @see java.awt.event.KeyListener#keyPressed(java.awt.event.KeyEvent) + */ + public void keyTyped(KeyEvent e) { + // TODO Auto-generated method stub + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/PageDownAction.java b/modules/console/src/java/org/scilab/modules/console/PageDownAction.java new file mode 100755 index 000000000..d84b57e8c --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/PageDownAction.java @@ -0,0 +1,48 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import javax.swing.BoundedRangeModel; +import javax.swing.JScrollPane; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Scroll down the console + * This event is configured in configuration.xml file + * @author Calixte DENIZET + */ +public class PageDownAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public PageDownAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + JScrollPane jSP = ((SciOutputView) configuration.getOutputView()).getConsole().getJScrollPane(); + BoundedRangeModel brm = jSP.getVerticalScrollBar().getModel(); + brm.setValue(brm.getValue() + jSP.getVerticalScrollBar().getBlockIncrement(1)); + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/PageUpAction.java b/modules/console/src/java/org/scilab/modules/console/PageUpAction.java new file mode 100755 index 000000000..09558c609 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/PageUpAction.java @@ -0,0 +1,48 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2011 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import javax.swing.BoundedRangeModel; +import javax.swing.JScrollPane; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Scroll up the console + * This event is configured in configuration.xml file + * @author Calixte DENIZET + */ +public class PageUpAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public PageUpAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + JScrollPane jSP = ((SciOutputView) configuration.getOutputView()).getConsole().getJScrollPane(); + BoundedRangeModel brm = jSP.getVerticalScrollBar().getModel(); + brm.setValue(brm.getValue() - jSP.getVerticalScrollBar().getBlockIncrement(-1)); + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/PasteClipboard.java b/modules/console/src/java/org/scilab/modules/console/PasteClipboard.java new file mode 100755 index 000000000..31f776a49 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/PasteClipboard.java @@ -0,0 +1,79 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Toolkit; +import java.awt.datatransfer.Clipboard; +import java.awt.datatransfer.DataFlavor; +import java.awt.datatransfer.UnsupportedFlavorException; +import java.awt.event.ActionEvent; +import java.io.IOException; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Paste the contents of the clipboard in Scilab Console + * Each line is executed by Scilab before a new one can be pasted + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class PasteClipboard extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public PasteClipboard() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + // Gets the contents of the clipboard + Toolkit toolkit = Toolkit.getDefaultToolkit(); + Clipboard systemClipboard = toolkit.getSystemClipboard(); + + // Verify that clibpboard data is of text type + boolean dataAvailable; + try { + dataAvailable = systemClipboard.isDataFlavorAvailable(DataFlavor.stringFlavor); + } catch (IllegalStateException exception) { + return; + } + + // Exit if text data not available + if (!dataAvailable) { + return; + } + + // Read data + String clipboardContents = null; + try { + clipboardContents = (String) systemClipboard.getData(DataFlavor.stringFlavor); + } catch (UnsupportedFlavorException e1) { + // Should never be here + e1.printStackTrace(); + } catch (IOException e1) { + // Should never be here + e1.printStackTrace(); + } + + // Send data to Scilab Console + ((SciOutputView) configuration.getOutputView()).getConsole().sendCommandsToScilab(clipboardContents, true, true); + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/PreviousCharAction.java b/modules/console/src/java/org/scilab/modules/console/PreviousCharAction.java new file mode 100755 index 000000000..f07c57900 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/PreviousCharAction.java @@ -0,0 +1,48 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Moves the caret of character to the right when an event occurs + * This event is configured in configuration.xml file + * @author Vincent COUVERT + */ +public class PreviousCharAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public PreviousCharAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + int currentPosition = configuration.getInputCommandView().getCaretPosition(); + /* Current position is not changed if already at the beginning of the line */ + if (currentPosition > 0) { + configuration.getInputCommandView().setCaretPosition(currentPosition - 1); + } + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciCommandLineView.java b/modules/console/src/java/org/scilab/modules/console/SciCommandLineView.java new file mode 100755 index 000000000..18ad227d7 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciCommandLineView.java @@ -0,0 +1,87 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.BorderLayout; + +import javax.swing.JComponent; +import javax.swing.JPanel; + +import com.artenum.rosetta.interfaces.ui.CommandLineView; +import com.artenum.rosetta.interfaces.ui.OutputView; + +/** + * Scilab Console UI where the user enters a new command to execute including the prompt + * @author Vincent COUVERT + */ +public class SciCommandLineView extends JPanel implements CommandLineView { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public SciCommandLineView() { + setMinimumSize(OutputView.SMALL); + } + + /** + * Sets the component where the user will enter the command + * @param command java commponent + * @see com.artenum.rosetta.interfaces.ui.CommandLineView#setInputCommandView(javax.swing.JComponent) + */ + public void setInputCommandView(JComponent command) { + add(command, BorderLayout.CENTER); + } + + /** + * Sets the component where th eprompt will be displayed + * @param prompt java component + * @see com.artenum.rosetta.interfaces.ui.CommandLineView#setPromptView(javax.swing.JComponent) + */ + public void setPromptView(JComponent prompt) { + add(prompt, BorderLayout.WEST); + } + + /** + * Sets the visibility of the Command Line UI + * @param visible the new state (true to set it visible, false else) + * @see javax.swing.JComponent#setVisible(boolean) + */ + public void setVisible(boolean visible) { + if (visible) { + expand(); + } else { + shrink(); + } + } + + /** + * Sets the Command View invisible + */ + private void shrink() { + setMaximumSize(OutputView.SMALL); + invalidate(); + doLayout(); + } + + /** + * Sets the Command View visible + */ + private void expand() { + setMaximumSize(OutputView.BIG); + invalidate(); + doLayout(); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciCompletionManager.java b/modules/console/src/java/org/scilab/modules/console/SciCompletionManager.java new file mode 100755 index 000000000..6092fdc19 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciCompletionManager.java @@ -0,0 +1,121 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.util.ArrayList; +import java.util.List; + +import org.scilab.modules.completion.Completion; +import org.scilab.modules.localization.Messages; + +import com.artenum.rosetta.core.CompletionItemImpl; +import com.artenum.rosetta.interfaces.core.CompletionItem; +import com.artenum.rosetta.interfaces.core.CompletionManager; +import com.artenum.rosetta.interfaces.core.GenericInterpreter; +import com.artenum.rosetta.interfaces.core.InputParsingManager; + + +/** + * Class used completion management in Scilab Java Console + * @author Vincent COUVERT + */ + +public class SciCompletionManager implements CompletionManager { + + protected List<CompletionItem> dictionnary; + private InputParsingManager inputParsingManager; + + /** + * Create a fake database of completion information + */ + public SciCompletionManager() { + } + + /** + * Get all completion items matching currently edited line + * @return array list of matching items + * @see com.artenum.rosetta.interfaces.core.CompletionManager#getCompletionItems() + */ + public List<CompletionItem> getCompletionItems() { + int compLevel = inputParsingManager.getCompletionLevel(); + + // Build dictionnary + dictionnary = new ArrayList<CompletionItem>(); + + // Get the completion part used to filter the paths/files dictionary + + String fileSearchedPattern = ((SciInputParsingManager) inputParsingManager).getFilePartLevel(compLevel); + + String[] scilabFilesDictionnary = Completion.searchFilesDictionary(fileSearchedPattern); + addItemsToDictionnary(Messages.gettext("File or Directory"), scilabFilesDictionnary); + + if (scilabFilesDictionnary == null) { + // Get the completion part used to filter the dictionary + String searchedPattern = inputParsingManager.getPartLevel(compLevel); + String commandLine = inputParsingManager.getCommandLine(); + String[] scilabFieldsDictionnary = Completion.searchFieldsDictionary(commandLine, searchedPattern); + if (scilabFieldsDictionnary != null) { + addItemsToDictionnary(Messages.gettext("Field"), scilabFieldsDictionnary); + } else { + String[] scilabCommandsDictionnary = Completion.searchCommandsDictionary(searchedPattern); + addItemsToDictionnary(Messages.gettext("Scilab Command"), scilabCommandsDictionnary); + + String[] scilabFunctionsDictionnary = Completion.searchFunctionsDictionary(searchedPattern); + addItemsToDictionnary(Messages.gettext("Scilab Function"), scilabFunctionsDictionnary); + + String[] scilabHandlesDictionnary = Completion.searchHandleGraphicsPropertiesDictionary(searchedPattern); + addItemsToDictionnary(Messages.gettext("Graphics handle field"), scilabHandlesDictionnary); + + String[] scilabMacrosDictionnary = Completion.searchMacrosDictionary(searchedPattern); + addItemsToDictionnary(Messages.gettext("Scilab Macro"), scilabMacrosDictionnary); + + String[] scilabVariablesDictionnary = Completion.searchVariablesDictionary(searchedPattern); + addItemsToDictionnary(Messages.gettext("Scilab Variable"), scilabVariablesDictionnary); + } + } + return dictionnary; + } + + /** + * Associate a parsing tool to this completion manager + * @param inputParsingManager a parsing tool + * @see com.artenum.rosetta.interfaces.core.CompletionManager#setInputParsingManager(com.artenum.rosetta.interfaces.core.InputParsingManager) + */ + public void setInputParsingManager(InputParsingManager inputParsingManager) { + this.inputParsingManager = inputParsingManager; + } + + /** + * Associate an interpreting tool to this completion manager + * @param interpretor an interpreting tool + * @see com.artenum.rosetta.interfaces.core.CompletionManager#setInputParsingManager(com.artenum.rosetta.interfaces.core.InputParsingManager) + */ + public void setInterpretor(GenericInterpreter interpretor) { + // No need for Scilab implementation + } + + /** + * Add items to current completion dictionnary + * @param type type of the items to add + * @param items all items to add + */ + public void addItemsToDictionnary(String type, String[] items) { + if (items != null) { + for (int i = 0; i < items.length; i++) { + dictionnary.add(new CompletionItemImpl(type, items[i] + " (" + type + ")", items[i], Messages.gettext("No help"))); + } + } + + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciCompletionWindow.java b/modules/console/src/java/org/scilab/modules/console/SciCompletionWindow.java new file mode 100755 index 000000000..b1decf73b --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciCompletionWindow.java @@ -0,0 +1,142 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010-2011 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Component; +import java.awt.Point; +import java.util.List; + +import javax.swing.JScrollPane; +import javax.swing.text.JTextComponent; + +import com.artenum.rosetta.interfaces.core.CompletionItem; + +import org.scilab.modules.completion.AbstractSciCompletionWindow; + +/** + * Scilab completion window main class + * @author Vincent COUVERT + * @author Calixte DENIZET + */ +public class SciCompletionWindow extends AbstractSciCompletionWindow { + + private SciConsole sciConsole; + + /** + * Default constructor + */ + public SciCompletionWindow() { + } + + /** + * @return the JTextComponent where the CompletionWindow will be drawn + */ + public JTextComponent getTextComponent() { + return (JTextComponent) sciConsole.getConfiguration().getInputCommandView(); + } + + /** + * @return the list of the possibilities to complete + */ + public List<CompletionItem> getCompletionItems() { + return sciConsole.getConfiguration().getCompletionManager().getCompletionItems(); + } + + /** + * Set the console associated to this completion window + * @param console the console object to set + */ + public void setConsole(SciConsole console) { + this.sciConsole = console; + } + + /** + * Set the parent component for the completion window + * @param component the parent component + * Caution, the component shouldn't be null otherwise the completion window + * will never get the focus + */ + public void setGraphicalContext(Component component) { + + /* When called from console builder */ + if (this.sciConsole == null) { + return; + } + + super.setGraphicalContext(component); + } + + /** + * Make the completion window visible and update its content + * @param list list of items matching completion + * @param location position of the top left corner of the window + * @see com.artenum.rosetta.interfaces.ui.CompletionWindow#show(java.util.List, java.awt.Point) + */ + public void show(List<CompletionItem> list, Point location) { + currentCaretPosition = inputParsingManager.getCaretPosition(); + /* Display only in completion items list is not empty */ + if (list != null) { + + /* If completion window size bigger than input command view size */ + /* Change the size of the input command view */ + JScrollPane jSP = sciConsole.getJScrollPane(); + if (window.getHeight() > getTextComponent().getHeight()) { + + int newWidth = jSP.getWidth() - jSP.getVerticalScrollBar().getPreferredSize().width; + + int yCarPos = ((SciInputCommandView) sciConsole.getConfiguration().getInputCommandView()).getCaretLocation().y; + int newHeight = yCarPos + window.getHeight(); + + SciInputCommandView sicv = (SciInputCommandView) getTextComponent(); + sicv.setPreferredWidth(newWidth); + sicv.setPreferredHeight(newHeight); + + getTextComponent().validate(); + } + + model.updateData(list); + + /* Display completion window */ + window.setLocation(location); + setVisible(true); + + scrollPane.getViewport().setViewPosition(new Point(0, 0)); + + if (model.getSize() > 0) { + listUI.setSelectedIndex(0); + } + listUI.grabFocus(); + + /* Scrollbar update after displaying completion window */ + if (window.getHeight() > getTextComponent().getHeight()) { + sciConsole.updateScrollPosition(); + } + + } + } + + /** + * {@inheritDoc} + */ + public void setVisible(boolean visible) { + if (!visible) { + SciInputCommandView sicv = (SciInputCommandView) getTextComponent(); + sicv.setPreferredWidth(-1); + sicv.setPreferredHeight(-1); + sicv.validate(); + } + super.setVisible(visible); + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciConsole.java b/modules/console/src/java/org/scilab/modules/console/SciConsole.java new file mode 100755 index 000000000..685c2cb89 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciConsole.java @@ -0,0 +1,740 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Cursor; +import java.awt.Dimension; +import java.awt.Font; +import java.awt.event.ComponentAdapter; +import java.awt.event.ComponentEvent; +import java.io.IOException; +import java.lang.reflect.Constructor; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.Map; +import java.util.concurrent.Semaphore; + +import javax.swing.BoundedRangeModel; +import javax.swing.DefaultBoundedRangeModel; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import javax.swing.JEditorPane; +import javax.swing.JTextPane; +import javax.swing.SwingUtilities; +import javax.swing.text.BadLocationException; +import javax.swing.text.Document; +import javax.swing.text.JTextComponent; +import javax.swing.KeyStroke; +import javax.xml.parsers.ParserConfigurationException; +import org.scilab.modules.localization.Messages; + +import org.xml.sax.SAXException; + +import com.artenum.rosetta.interfaces.core.ConsoleAction; +import com.artenum.rosetta.interfaces.core.ConsoleConfiguration; +import com.artenum.rosetta.interfaces.core.InputParsingManager; +import com.artenum.rosetta.interfaces.ui.InputCommandView; +import com.artenum.rosetta.interfaces.ui.OutputView; +import com.artenum.rosetta.interfaces.ui.PromptView; +import com.artenum.rosetta.ui.Console; +import com.artenum.rosetta.util.ConfigurationBuilder; +import com.artenum.rosetta.util.ConsoleBuilder; +import com.artenum.rosetta.util.StringConstants; + +import org.scilab.modules.commons.xml.ScilabXMLUtilities; +import org.scilab.modules.commons.xml.XConfiguration; + +/** + * Main class for Scilab Console based on Generic Console from Artenum + * @author Vincent COUVERT + */ +public abstract class SciConsole extends JPanel { + + private static final long serialVersionUID = 1L; + + private static final int LINE_NUMBER_IN_PROMPT = 2; + + private static final String BACKSLASH_R = "\r"; + + private static final String XPATH_CONSOLE_KEY = "//general/shortcuts/body/actions/action-folder[@name='Console']/action"; + private static final String XPATH_CONSOLE_ACTION = "/map/console/entry"; + + /** + * Maximum length of a command send to Scilab + */ + private static final int MAX_CMD_LENGTH = 4096; + + private static Map<KeyStroke, String> actionKeys; + private static final Map<String, String> actionToName; + + static { + org.w3c.dom.Document doc = ScilabXMLUtilities.readDocument(System.getenv("SCI") + "/modules/console/etc/Actions-Configuration.xml"); + actionToName = XConfiguration.get(doc, "name", String.class, "action", String.class, XPATH_CONSOLE_ACTION); + } + + /** + * Configuration associated to the console oject + */ + private ConsoleConfiguration config; + + /** + * Scroll Pane used in Scilab Console + */ + private JScrollPane jSP; + + /** + * Generic console object + */ + private Console sciConsole; + + /** + * Value used to get one char from user input (when using [more y or n ?]) + */ + private int userInputValue; + + /** + * Protection for userInputValue variable R/W + */ + private Semaphore canReadUserInputValue = new Semaphore(1); + + /** + * Boolean flag used to store the state of Scilab (true is all works done) + */ + private boolean workDone; + + private boolean atBottom; + + private boolean isToHome; + + private Object searchField; + + /** + * Constructor + * @param configFilePath the configuration file to use + */ + public SciConsole(String configFilePath) { + super(new BorderLayout()); + + try { + config = ConfigurationBuilder.buildConfiguration(configFilePath); + config.setActiveProfile("scilab"); + } catch (IllegalArgumentException e) { + e.printStackTrace(); + } catch (SAXException e) { + e.printStackTrace(); + } catch (IOException e) { + e.printStackTrace(); + } catch (ParserConfigurationException e) { + e.printStackTrace(); + } + + sciConsole = ConsoleBuilder.buildConsole(config, this); + + try { + Class hsf = Class.forName("org.scilab.modules.gui.utils.HelpSearchField"); + Constructor constructor = hsf.getConstructor(JPanel.class, JTextComponent.class); + searchField = constructor.newInstance(this, (SciOutputView) config.getOutputView()); + } catch (Exception e) { } + + XConfiguration.addXConfigurationListener(new org.scilab.modules.console.ConsoleConfiguration(this)); + sciConsole.setForeground(ConsoleOptions.getConsoleColor().foreground); + sciConsole.setBackground(ConsoleOptions.getConsoleColor().background); + setCaretColor(ConsoleOptions.getConsoleColor().cursor); + sciConsole.setFont(ConsoleOptions.getConsoleFont().font); + setKeyStrokeAction(); + + jSP = new JScrollPane(sciConsole); + + BoundedRangeModel model = jSP.getVerticalScrollBar().getModel(); + jSP.getVerticalScrollBar().setModel(new DefaultBoundedRangeModel(model.getValue(), model.getExtent(), model.getMinimum(), model.getMaximum()) { + public void setRangeProperties(int newValue, int newExtent, int newMin, int newMax, boolean adjusting) { + // This method is overriden to keep the knob at the bottom during viewport resize + // and to keep the knob at an other place if the user decided it. + if (newMax != getMaximum()) { + if (!adjusting) { + if (atBottom) { + super.setRangeProperties(newMax - newExtent, newExtent, newMin, newMax, false); + } else { + super.setRangeProperties(newValue, newExtent, newMin, newMax, false); + } + } else { + double percent = (double) Math.abs(newMax - newValue - newExtent) / (double) newMax; + if (atBottom && percent <= 0.03) { + super.setRangeProperties(newMax - newExtent, newExtent, newMin, newMax, true); + } else { + super.setRangeProperties(newValue, newExtent, newMin, newMax, true); + atBottom = percent <= 0.01; + } + } + } else { + super.setRangeProperties(newValue, newExtent, newMin, newMax, adjusting); + } + } + }); + + this.add(jSP, BorderLayout.CENTER); + + // The console is given to the outputView so that updateScrollPosition is is accessible + ((SciOutputView) config.getOutputView()).setConsole(this); + + // The console is given to the outputView so that Drag&Drop can work + ((SciInputCommandView) config.getInputCommandView()).setConsole(this); + + // The console is given to the CompletionWindow + ((SciCompletionWindow) config.getCompletionWindow()).setConsole(this); + ((SciCompletionWindow) config.getCompletionWindow()).setGraphicalContext(this); + + // The promptview is given to the Parsing Manager + // Used to get the position of the CompletionWindow + ((SciInputParsingManager) config.getInputParsingManager()).setPromptView(this.getConfiguration().getPromptView()); + + // Reset history settings - bug 3612 + ((SciHistoryManager)config.getHistoryManager()).setInHistory(false); + + // Bug 8055 : update the lines/columns only when the console is resized + addComponentListener(new ComponentAdapter() { + public void componentResized(ComponentEvent evt) { + SwingUtilities.invokeLater(new Runnable() { + public void run() { + scilabLinesUpdate(); + jSP.getVerticalScrollBar().setBlockIncrement(jSP.getViewport().getExtentSize().height); + jSP.getHorizontalScrollBar().setBlockIncrement(jSP.getViewport().getExtentSize().width); + } + }); + } + }); + + sciConsole.invalidate(); + sciConsole.doLayout(); + } + + public void configurationChanged(org.scilab.modules.console.ConsoleConfiguration.Conf conf) { + if (conf.color) { + sciConsole.setForeground(ConsoleOptions.getConsoleColor().foreground); + sciConsole.setBackground(ConsoleOptions.getConsoleColor().background); + setCaretColor(ConsoleOptions.getConsoleColor().cursor); + } + if (conf.font) { + sciConsole.setFont(ConsoleOptions.getConsoleFont().font); + } + if (conf.display) { + ((SciOutputView) config.getOutputView()).setMaxSize(ConsoleOptions.getConsoleDisplay().maxOutputLines); + scilabLinesUpdate(); + } + if (conf.keymap) { + actionKeys = null; + setKeyStrokeAction(); + } + } + + public static Map<KeyStroke, String> getActionKeys() { + if (actionKeys == null) { + org.w3c.dom.Document doc = XConfiguration.getXConfigurationDocument(); + actionKeys = XConfiguration.get(doc, "key", KeyStroke.class, "name", String.class, XPATH_CONSOLE_KEY); + } + + return actionKeys; + } + + public static Map<String, String> getActionName() { + return actionToName; + } + + /** + * Set the shortcuts in the pane relatively to the file + * keysConfiguration.xml + * + * @param sep + * the textpane + * @param ed + * the SciNotes editor + */ + private void setKeyStrokeAction() { + Map<KeyStroke, String> map = getActionKeys(); + ClassLoader loader = ClassLoader.getSystemClassLoader(); + + for (Map.Entry<KeyStroke, String> entry : map.entrySet()) { + KeyStroke key = entry.getKey(); + String actionName = entry.getValue(); + if (actionName.equals("console-search-field") && searchField != null) { + try { + Method sks = searchField.getClass().getMethod("setKeyStroke", KeyStroke.class); + sks.invoke(searchField, key); + } catch (Exception e) { } + } + String action = actionToName.get(actionName); + if (action != null) { + try { + Class clazz = loader.loadClass(action); + Constructor constructor = clazz.getConstructor(new Class[0]); + Object act = constructor.newInstance(new Object[0]); + ((ConsoleAction) act).setConfiguration(config); + ((SciInputCommandView) config.getInputCommandView()).getInputMap().put(key, act); + } catch (ClassNotFoundException e) { + System.err.println("No action: " + action); + } catch (InstantiationException e) { + System.err.println("Problem to instantiate in action: " + action); + } catch (NoSuchMethodException e) { + System.err.println("No valid constructor in action: " + action); + } catch (IllegalAccessException e) { + System.err.println("The constructor must be public: " + action); + } catch (InvocationTargetException e) { + System.err.println("The constructor in " + action + " threw an exception :"); + e.printStackTrace(); + } + } + } + } + + /** + * Gets the configuration associated to the console + * @return the configuration + */ + public ConsoleConfiguration getConfiguration() { + return config; + } + + /** + * Sets the configuration associated to the console + * @param newConfig the new config to set + */ + public void setConfiguration(ConsoleConfiguration newConfig) { + config = newConfig; + } + + /** + * Updates Scilab internal variables containing the size of the console + * These variables are used to format data before displaying it + */ + public void scilabLinesUpdate() { + if (ConsoleOptions.getConsoleDisplay().adaptToDisplay) { + // Size of the console + int outputViewWidth = jSP.getViewport().getExtentSize().width; + + // Size of a char + OutputView outputView = this.getConfiguration().getOutputView(); + int[] charsWidth = ((JEditorPane) outputView).getFontMetrics(((JEditorPane) outputView).getFont()).getWidths(); + + // This loop is not needed for monospaced fonts ! + int maxCharWidth = charsWidth[33]; + // The range 33--126 corresponds to the usual characters in ASCII + for (int i = 34; i < 126; i++) { + if (charsWidth[i] > maxCharWidth) { + maxCharWidth = charsWidth[i]; + } + } + + int numberOfLines = getNumberOfLines(); + int promptWidth = ((JPanel) this.getConfiguration().getPromptView()).getPreferredSize().width; + + int numberOfColumns = (outputViewWidth - promptWidth) / maxCharWidth - 1; + /* -1 because of the margin between text prompt and command line text */ + + if (numberOfLines > 0 && numberOfColumns > 0) { + GuiManagement.setScilabLines(Math.max(1, numberOfLines), numberOfColumns); + } + } else { + GuiManagement.forceScilabLines(ConsoleOptions.getConsoleDisplay().nbLines, ConsoleOptions.getConsoleDisplay().nbColumns); + } + } + + /** + * Get the number of lines that can be displayed in the visible part of the console + * @return the number of lines + */ + public int getNumberOfLines() { + // Size of the console + int outputViewHeight = jSP.getViewport().getExtentSize().height; + + // Size of a char + OutputView outputView = this.getConfiguration().getOutputView(); + int charHeight = ((JEditorPane) outputView).getFontMetrics(((JEditorPane) outputView).getFont()).getHeight(); + int[] charsWidth = ((JEditorPane) outputView).getFontMetrics(((JEditorPane) outputView).getFont()).getWidths(); + + // This loop is not needed for monospaced fonts ! + int maxCharWidth = charsWidth[0]; + for (int i = 1; i < charsWidth.length; i++) { + if (charsWidth[i] > maxCharWidth) { + maxCharWidth = charsWidth[i]; + } + } + + return outputViewHeight / charHeight - 1; /* -1 because of the size of the InputCommandLine */ + } + + /** + * Updates the scroll bars according to the contents + */ + public void updateScrollPosition() { + // Update the scrollbar properties + jSP.getVerticalScrollBar().setBlockIncrement(jSP.getViewport().getExtentSize().height); + jSP.getHorizontalScrollBar().setBlockIncrement(jSP.getViewport().getExtentSize().width); + SwingUtilities.invokeLater(new Runnable() { + public void run() { + jSP.getVerticalScrollBar().getModel().setValue(jSP.getVerticalScrollBar().getModel().getMaximum() - jSP.getVerticalScrollBar().getModel().getExtent()); + } + }); + } + + /** + * Clears the console and the output view + */ + public void clear() { + if (sciConsole.isPreferredSizeSet()) { + sciConsole.setPreferredSize(null); + sciConsole.invalidate(); + sciConsole.doLayout(); + } + + try { + config.getInputCommandViewStyledDocument().remove(0, config.getInputCommandViewStyledDocument().getLength()); + } catch (BadLocationException e) { + e.printStackTrace(); + } + config.getOutputView().reset(); + /* Bug 4014 */ + /* We add a space to add a line */ + /* clc , F2 and menus have same position */ + config.getOutputView().append(" "); + } + + /** + * Clears lines from the end of the output view + * If nbLines == -1 ==> Called from SwingScilabConsole.getCharWithoutOutput() ([more y or n ?]) + * If nbLines == 0 ==> Clear the InputCommandLine + * @param nbLines the number of lines to be deleted + */ + public void clear(int nbLines) { + if (sciConsole.isPreferredSizeSet()) { + sciConsole.setPreferredSize(null); + sciConsole.invalidate(); + sciConsole.doLayout(); + } + + if (nbLines == 0) { + // Clear the prompt + config.getInputCommandView().reset(); + } else { + // Clear lines in output command view + try { + // We have to remove the command entered by the user + int totalNumberOfLines = nbLines + LINE_NUMBER_IN_PROMPT; + + Document outputDoc = ((JEditorPane) config.getOutputView()).getDocument(); + String outputTxt = outputDoc.getText(0, outputDoc.getLength()); + + // Are there enough lines in the output view ? + String[] allLines = outputTxt.split(StringConstants.NEW_LINE); + if (allLines.length < totalNumberOfLines) { + // Delete lines + config.getOutputView().reset(); + config.getOutputView().append(Messages.gettext("Out of Screen")); + } else { + // Delete lines + int lastEOL; + for (int i = 0; i < totalNumberOfLines; i++) { + outputTxt = outputDoc.getText(0, outputDoc.getLength()); + lastEOL = outputTxt.lastIndexOf(StringConstants.NEW_LINE); + if (lastEOL != -1) { + outputDoc.remove(lastEOL, outputDoc.getLength() - lastEOL); + } + } + } + } catch (BadLocationException e) { + e.printStackTrace(); + } + } + } + + /** + * Puts the prompt in the top left corner of the console + */ + public void toHome() { + isToHome = true; + } + + public void setToHome() { + if (isToHome) { + Dimension jSPExtSize = jSP.getViewport().getExtentSize(); + int caretH = ((SciInputCommandView) config.getInputCommandView()).getCaretHeight(); + int height = jSPExtSize.height + ((SciPromptView) config.getPromptView()).getParent().getBounds().y - caretH; + Dimension newDim = new Dimension(sciConsole.getSize().width, height); + sciConsole.setPreferredSize(newDim); + sciConsole.invalidate(); + sciConsole.doLayout(); + ((SciOutputView) config.getOutputView()).addComponentListener(new ComponentAdapter() { + public void componentResized(ComponentEvent evt) { + if (evt.getComponent().getSize().height >= sciConsole.getSize().height) { + evt.getComponent().removeComponentListener(this); + sciConsole.setPreferredSize(null); + sciConsole.invalidate(); + sciConsole.doLayout(); + } + } + }); + + isToHome = false; + jSP.getVerticalScrollBar().getModel().setValue(jSP.getVerticalScrollBar().getModel().getMaximum() - jSP.getVerticalScrollBar().getModel().getExtent()); + } + } + + /** + * Gets the user input value + * @return the value entered by the used + */ + public int getUserInputValue() { + try { + canReadUserInputValue.acquire(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + return userInputValue; + } + + /** + * Sets the value entered by the user + * @param userInputValue new value + */ + public void setUserInputValue(int userInputValue) { + this.userInputValue = userInputValue; + canReadUserInputValue.release(); + } + + /** + * Gets the semaphore protection so that it can be acquired + * @return the semaphore + */ + public Semaphore getCanReadUserInputValue() { + return canReadUserInputValue; + } + + /** + * Send commands to be executed by Scilab (after a copy/paste or drag&drop...) + * @param textToExec all text lines to executed + * @param displayCmdInOutput flag indicating if the input command has to be displayed in the output view + * @param storeInHistory flag indicating if the input command has to be stored in the history + */ + public void sendCommandsToScilab(String textToExec, boolean displayCmdInOutput, boolean storeInHistory) { + String[] linesToExec = textToExec.split(StringConstants.NEW_LINE); + int nbStatements = 0; + + atBottom = true; + this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); + + while (nbStatements < linesToExec.length) { + // This loop contains code very similar to the code of ValidationAction.java + InputParsingManager inputParsingManager = config.getInputParsingManager(); + PromptView promptView = config.getPromptView(); + + // Reset command line + inputParsingManager.reset(); + + // Reset history settings + config.getHistoryManager().setInHistory(false); + + // Hide the prompt and command line + config.getInputCommandView().setEditable(false); + ((SciInputCommandView) config.getInputCommandView()).getCaret().setVisible(false); + + config.getPromptView().setVisible(false); + + // Remove the prompt if present at the beginning of the text to execute + // Bug 3002 fix: this "functionality" has been removed because: + // - Remove the --> even if not from paste action + // - Does not remove pause prompts + + // Store the command in the buffer so that Scilab can read it + if (linesToExec[nbStatements].length() > MAX_CMD_LENGTH) { + config.getOutputView().append(String.format(Messages.gettext("Command is too long (more than %d characters long): could not send it to Scilab\n"), MAX_CMD_LENGTH)); + ((SciInputCommandView) config.getInputCommandView()).setCmdBuffer("", false); + return; + } + + ((SciInputCommandView) config.getInputCommandView()) + .setCmdBuffer(linesToExec[nbStatements].replace(BACKSLASH_R, ""), displayCmdInOutput); + if (storeInHistory) { + ((SciHistoryManager) config.getHistoryManager()).addEntry(linesToExec[nbStatements].replace(BACKSLASH_R, "")); + } + nbStatements++; + } + + } + + /** + * Get the JScrollPane associated to the console + * @return the JScrollPane associated to the console + */ + public JScrollPane getJScrollPane() { + return jSP; + } + + /** + * Get the Console object associated to the console + * @return the Console object associated to the console + */ + public Console getSciConsole() { + return sciConsole; + } + + /** + * Get the current status of the console + * If the prompt view is visible, Scilab is waiting for commands + * @return true is Scilab is waiting for commands + */ + public boolean isWaitingForInput() { + return ((JTextPane) config.getInputCommandView()).isEditable(); + } + + /** + * This methods is used by Scilab to get a new command to execute + * @return the command to execute + */ + public String readLine() { + + InputCommandView inputCmdView = this.getConfiguration().getInputCommandView(); + + getConfiguration().getOutputView().setCaretPositionToEnd(); + + displayPrompt(); + + // Display Cursor to show Scilab is available. + this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); + + // Reads the buffer + return ((SciInputCommandView) inputCmdView).getCmdBuffer(); + } + + /** + * This method is used to display the prompt + */ + public abstract void displayPrompt(); + + /** + * Does Scilab have finished its work ? + * @return true if Scilab is waiting for new commands + */ + public boolean isWorkDone() { + return workDone; + } + + /** + * Set the font of the Console + * @param font the font to set + */ + public void setFont(Font font) { + if (sciConsole != null && !font.equals(getFont())) { + sciConsole.setFont(font); + + /* Have to update the output view contents with new font */ + String txt; + try { + Document outputDoc = ((JEditorPane) config.getOutputView()).getDocument(); + txt = outputDoc.getText(0, outputDoc.getLength()); + outputDoc.remove(0, outputDoc.getLength()); + config.getOutputView().append(txt); + } catch (BadLocationException e) { + System.err.println(Messages.gettext("Could not change the Console Font.")); + return; + } + + /* Update the prompt */ + ((SciPromptView) config.getPromptView()).getPromptUI().setFont(font); + config.getPromptView().updatePrompt(); + scilabLinesUpdate(); + } + } + + /** + * Get the font of the Console + * @return the font + */ + public Font getFont() { + if (sciConsole != null) { + return ((SciPromptView) config.getPromptView()).getPromptUI().getFont(); + } else { + return null; + } + } + + /** + * Get the Foreground Color of the Console + * @return the Foreground Color + */ + public Color getForeground() { + if (sciConsole != null) { + return sciConsole.getForeground(); + } else { + return null; + } + } + + /** + * Get the Background Color of the Console + * @return the Background Color + */ + public Color getBackground() { + if (sciConsole != null) { + return sciConsole.getBackground(); + } else { + return null; + } + } + + /** + * Set the Foreground Color of the Console + * @param color the Foreground Color + */ + public void setForeground(Color color) { + if (sciConsole != null) { + sciConsole.setForeground(color); + + /* Have to update the output view contents with new Foreground */ + String txt; + try { + Document outputDoc = ((JEditorPane) config.getOutputView()).getDocument(); + txt = outputDoc.getText(0, outputDoc.getLength()); + outputDoc.remove(0, outputDoc.getLength()); + config.getOutputView().append(txt); + } catch (BadLocationException e) { + System.out.println(Messages.gettext("Could not change the Console Foreground.")); + return; + } + + /* Update the prompt */ + ((SciPromptView) config.getPromptView()).getPromptUI().setForeground(color); + config.getPromptView().updatePrompt(); + } + } + + /** + * Set the Background Color of the Console + * @param color the Background Color + */ + public void setBackground(Color color) { + if (sciConsole != null) { + sciConsole.setBackground(color); + } + } + + /** + * Set the Background Color of the Console + * @param color the Background Color + */ + public void setCaretColor(Color color) { + if (sciConsole != null) { + ((SciInputCommandView) config.getInputCommandView()).setCaretColor(color); + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciDropTargetListener.java b/modules/console/src/java/org/scilab/modules/console/SciDropTargetListener.java new file mode 100755 index 000000000..ba84d809e --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciDropTargetListener.java @@ -0,0 +1,169 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.datatransfer.DataFlavor; +import java.awt.datatransfer.Transferable; +import java.awt.datatransfer.UnsupportedFlavorException; +import java.awt.dnd.DnDConstants; +import java.awt.dnd.DropTargetDragEvent; +import java.awt.dnd.DropTargetDropEvent; +import java.awt.dnd.DropTargetEvent; +import java.awt.dnd.DropTargetListener; +import java.io.File; +import java.io.IOException; +import java.util.List; +import java.util.ArrayList; +import java.util.StringTokenizer; + +/** + * DropTragetListener specific for Scilab console + * @author Vincent COUVERT + */ +public class SciDropTargetListener implements DropTargetListener { + + private SciConsole associatedConsole; + + /** + * Constructor + * @param sciConsole console object associated to this listener + */ + public SciDropTargetListener(SciConsole sciConsole) { + super(); + associatedConsole = sciConsole; + } + + /** + * Drop handling + * @param dtde the drop event + * @see java.awt.dnd.DropTargetListener#drop(java.awt.dnd.DropTargetDropEvent) + */ + public void drop(DropTargetDropEvent dtde) { + + dtde.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); + + Transferable transferable = dtde.getTransferable(); + + // New dataflavor created for tests about the type of the object dropped + DataFlavor uriListFlavor = null; + try { + uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String"); + } catch (ClassNotFoundException e1) { + e1.printStackTrace(); + dtde.rejectDrop(); + dtde.dropComplete(false); + } + + try { + + if (transferable.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { + List<File> data = (List<File>) transferable.getTransferData(DataFlavor.javaFileListFlavor); + // Send file names to Scilab + + String[] fileNames = new String[data.size()]; + for (int i = 0; i < data.size(); i++) { + File tmpfile = data.get(i); + fileNames[i] = tmpfile.toString(); + } + DropFiles.dropFiles(fileNames); + + // Crappy method to make Scilab parser execute the commands stored by dropFiles + ((SciOutputView) associatedConsole.getConfiguration().getOutputView()) + .getConsole().sendCommandsToScilab("", false, false); + } else if (transferable.isDataFlavorSupported(uriListFlavor)) { + + // --- FILE(S) DROP --- + + String data = (String) transferable.getTransferData(uriListFlavor); + + // Get file names as a list + List<String> listOfFiles = new ArrayList<String>(1); + for (StringTokenizer st = new StringTokenizer(data, "\r\n"); st.hasMoreTokens();) { + String s = st.nextToken(); + // Have to test length because of last token which length is 1 and has to be ignored + if (s.length() > 1) { + listOfFiles.add(s); + } + } + + // Send file names to Scilab + String[] fileNames = new String[listOfFiles.size()]; + for (int i = 0; i < listOfFiles.size(); i++) { + fileNames[i] = listOfFiles.get(i); + } + DropFiles.dropFiles(fileNames); + + // Crappy method to make Scilab parser execute the commands stored by dropFiles + ((SciInputCommandView) associatedConsole.getConfiguration().getInputCommandView()).setCmdBuffer("", false); + + } else if (transferable.isDataFlavorSupported(DataFlavor.stringFlavor)) { + + // --- TEXT DROP --- + + String dropContents = (String) transferable.getTransferData(DataFlavor.stringFlavor); + + // Send text to the console and remove prompts in text if there are + //associatedConsole.sendCommandsToScilab(dropContents, true); + ((SciInputCommandView) associatedConsole.getConfiguration().getInputCommandView()).append(dropContents); + } + + // If we made it this far, everything worked. + dtde.dropComplete(true); + + } catch (UnsupportedFlavorException e) { + e.printStackTrace(); + dtde.rejectDrop(); + dtde.dropComplete(false); + } catch (IOException e) { + e.printStackTrace(); + dtde.rejectDrop(); + dtde.dropComplete(false); + } + } + + /** + * Drag beginning handling + * @param dtde the drop event + * @see java.awt.dnd.DropTargetListener#dragEnter(java.awt.dnd.DropTargetDragEvent) + */ + public void dragEnter(DropTargetDragEvent dtde) { + // Nothing to do in Scilab Console + } + + /** + * Drag end handling + * @param dtde the drop event + * @see java.awt.dnd.DropTargetListener#dragExit(java.awt.dnd.DropTargetEvent) + */ + public void dragExit(DropTargetEvent dtde) { + // Nothing to do in Scilab Console + } + + /** + * Drag over this object handling + * @param dtde the drop event + * @see java.awt.dnd.DropTargetListener#dragOver(java.awt.dnd.DropTargetDragEvent) + */ + public void dragOver(DropTargetDragEvent dtde) { + // Nothing to do in Scilab Console + } + + /** + * Drag action change handling + * @param dtde the drop event + * @see java.awt.dnd.DropTargetListener#dropActionChanged(java.awt.dnd.DropTargetDragEvent) + */ + public void dropActionChanged(DropTargetDragEvent dtde) { + // Nothing to do in Scilab Console + } +}; diff --git a/modules/console/src/java/org/scilab/modules/console/SciHistoryManager.java b/modules/console/src/java/org/scilab/modules/console/SciHistoryManager.java new file mode 100755 index 000000000..12eb0a85d --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciHistoryManager.java @@ -0,0 +1,171 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + + +/* Copyright INRIA 2007 */ + +package org.scilab.modules.console; + + +import org.scilab.modules.history_manager.HistoryManagement; +import com.artenum.rosetta.interfaces.core.HistoryManager; + +/** + * Manage all history actions if not implemented in Scilab core + * @author Vincent COUVERT + */ +public class SciHistoryManager implements HistoryManager { + + private boolean isInHistory = false; + + /** + * Constructor + */ + public SciHistoryManager() { + HistoryManagement.setSearchedTokenInScilabHistory(""); + } + + /** + * Add a new line/block in history + * @param newEntry data to add to history + * @see com.artenum.rosetta.interfaces.core.HistoryManager#addEntry(java.lang.String) + */ + public void addEntry(String newEntry) { + HistoryManagement.appendLineToScilabHistory(newEntry); + } + + /** + * Display Scilab whole history in Scilab console + * @see com.artenum.rosetta.interfaces.core.HistoryManager#display() + */ + public void display() { + HistoryManagement.displayScilabHistory(); + } + + /** + * Gets a line/block in Scilab history by given its index + * @param entryIndex the index of the entry + * @return the entry + * @see com.artenum.rosetta.interfaces.core.HistoryManager#getEntry(int) + */ + public String getEntry(int entryIndex) { + return HistoryManagement.getNthLineInScilabHistory(entryIndex); + } + + /** + * Gets next line/block in Scilab history beginning with a given character set + * @param beg character set + * @return the entry + * @see com.artenum.rosetta.interfaces.core.HistoryManager#getNextEntry(int) + */ + public String getNextEntry(String beg) { + /* Ask Scilab history manager for a matching entry */ + if (HistoryManagement.getSearchedTokenInScilabHistory() != beg) { + //HistoryManagement.resetSearchedTokenInScilabHistory(); + HistoryManagement.setSearchedTokenInScilabHistory(beg); + } + return HistoryManagement.getNextLineInScilabHistory(); + } + + /** + * Gets previous line/block in Scilab history beginning with a given character set + * @param beg character set + * @return the entry + * @see com.artenum.rosetta.interfaces.core.HistoryManager#getPreviousEntry(int) + */ + public String getPreviousEntry(String beg) { + /* Ask Scilab history manager for a matching entry */ + if (HistoryManagement.getSearchedTokenInScilabHistory() != beg) { + //HistoryManagement.resetSearchedTokenInScilabHistory(); + HistoryManagement.setSearchedTokenInScilabHistory(beg); + } + return HistoryManagement.getPreviousLineInScilabHistory(); + } + + /** + * Loads history file form disk + * @see com.artenum.rosetta.interfaces.core.HistoryManager#load() + */ + public void load() { + /* Nothing to do in because Scilab core does the work */ + } + + /** + * Reset current history + * @see com.artenum.rosetta.interfaces.core.HistoryManager#reset() + */ + public void reset() { + HistoryManagement.resetScilabHistory(); + } + + /** + * Saves history to disk + * @see com.artenum.rosetta.interfaces.core.HistoryManager#save() + */ + public void save() { + /* Nothing to do in because Scilab core does the work */ + } + + /** + * Sets the maximum number of entries the history has to save before erasing th oldest + * @param numberOfEntries the maximum number of entries + * @see com.artenum.rosetta.interfaces.core.HistoryManager#setMaxEntryNumber(int) + */ + public void setMaxEntryNumber(int numberOfEntries) { + // TODO Auto-generated method stub + + } + + /** + * Saves the line edited by the user before erasing it with history entries while browsing history + * @param currentCommandLine the line edited + * @see com.artenum.rosetta.interfaces.core.HistoryManager#setTmpEntry(java.lang.String) + */ + public void setTmpEntry(String currentCommandLine) { + if (currentCommandLine != null && currentCommandLine.trim().equals("")) { + HistoryManagement.resetSearchedTokenInScilabHistory(); + HistoryManagement.setSearchedTokenInScilabHistory(""); + } else { + HistoryManagement.resetSearchedTokenInScilabHistory(); + HistoryManagement.setSearchedTokenInScilabHistory(currentCommandLine); + } + } + + /** + * Reads the line edited by the user before erasing it with history entries while browsing history + * @return the line + * @see com.artenum.rosetta.interfaces.core.HistoryManager#getTmpEntry() + */ + public String getTmpEntry() { + return HistoryManagement.getSearchedTokenInScilabHistory(); + } + + /** + * Gets the flag saying that we are browsing history or not + * @return true is we are browsing history and false else + * @see com.artenum.rosetta.interfaces.core.HistoryManager#isInHistory() + */ + public boolean isInHistory() { + /* Nothing to do in because Scilab core does the work */ + return isInHistory; + } + + /** + * Sets the flag saying that we are browsing history or not + * @param status true is we begin history browsing and false else + * @see com.artenum.rosetta.interfaces.core.HistoryManager#setInHistory(boolean) + */ + public void setInHistory(boolean status) { + /* Nothing to do in because Scilab core does the work */ + isInHistory = status; + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciInputCommandView.java b/modules/console/src/java/org/scilab/modules/console/SciInputCommandView.java new file mode 100755 index 000000000..b8b91bfb2 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciInputCommandView.java @@ -0,0 +1,393 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010-2011 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Color; +import java.awt.Component; +import java.awt.Container; +import java.awt.Dimension; +import java.awt.EventQueue; +import java.awt.FontMetrics; +import java.awt.Point; +import java.awt.Rectangle; +import java.awt.dnd.DnDConstants; +import java.awt.dnd.DropTarget; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; +import java.awt.event.MouseEvent; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import javax.swing.ActionMap; +import javax.swing.BorderFactory; +import javax.swing.InputMap; +import javax.swing.JPanel; +import javax.swing.KeyStroke; +import javax.swing.event.CaretEvent; +import javax.swing.event.CaretListener; +import javax.swing.event.DocumentEvent; +import javax.swing.event.DocumentListener; +import javax.swing.text.BadLocationException; +import javax.swing.text.Element; +import javax.swing.text.PlainView; +import javax.swing.text.StyledEditorKit; +import javax.swing.text.View; +import javax.swing.text.ViewFactory; + +import org.scilab.modules.commons.gui.ScilabCaret; +import org.scilab.modules.console.utils.ScilabLaTeXViewer; + +import com.artenum.rosetta.interfaces.ui.InputCommandView; +import com.artenum.rosetta.interfaces.ui.OutputView; +import com.artenum.rosetta.interfaces.ui.PromptView; +import com.artenum.rosetta.ui.ConsoleTextPane; +import com.artenum.rosetta.util.StringConstants; + +/** + * Scilab UI that contains the line edited by the user + * @author Vincent COUVERT + * @author Calixte DENIZET + */ +@SuppressWarnings(value = { "serial" }) +public class SciInputCommandView extends ConsoleTextPane implements InputCommandView, CaretListener, ViewFactory { + + private static final long serialVersionUID = 1L; + private static final String END_LINE = "\n"; + private static final Point ERROR_POINT = new Point(0, 0); + private static final int TOP_BORDER = 1; + private static final int BOTTOM_BORDER = 2; + + // A clearest pattern: ['"] \$ [^\\\$'"]* (( [\\].? | ['"]{2} ) [^\\\$'"]* )+ + private static final Pattern latexPattern = Pattern.compile("[\'\"]\\$[^\\\\\\$\'\"]*(?:(?:[\\\\].?|[\'\"]{2})[^\\\\\\$\'\"]*)*"); + + private static BlockingQueue<String> queue = new LinkedBlockingQueue<String>(); + private static BlockingQueue<Boolean> displayQueue = new LinkedBlockingQueue<Boolean>(); + + private Thread concurrentThread = null; + + private SciConsole console; + private int height = -1; + private int width = -1; + private boolean isLatex; + + private List<KeyStroke> keysForHistory; + + /** + * Constructor + */ + public SciInputCommandView() { + super(); + + setEditorKit(new StyledEditorKit() { + public ViewFactory getViewFactory() { + return SciInputCommandView.this; + } + }); + + setBorder(BorderFactory.createEmptyBorder(TOP_BORDER, 0, BOTTOM_BORDER, 0)); + + // Input command line is not editable when created + this.setEditable(false); + ScilabCaret caret = new ScilabCaret(this) { + public void mousePressed(MouseEvent e) { + ((SciOutputView) console.getConfiguration().getOutputView()).removeSelection(); + super.mousePressed(e); + } + }; + caret.setBlinkRate(getCaret().getBlinkRate()); + setCaret(caret); + addCaretListener(this); + setFocusTraversalPolicy(new java.awt.DefaultFocusTraversalPolicy() { + public java.awt.Component getComponentAfter(java.awt.Container aContainer, java.awt.Component aComponent) { + return SciInputCommandView.this; + } + }); + setFocusCycleRoot(true); + } + + /** + * Gets the location of the caret in the UI + * @return the location as a Point object + * @see com.artenum.rosetta.interfaces.ui.InputCommandView#getCaretLocation() + */ + public Point getCaretLocation() { + FontMetrics fontMetric = getFontMetrics(getFont()); + String[] lines = null; + try { + lines = getStyledDocument().getText(0, getCaretPosition()).split(END_LINE); + } catch (BadLocationException e1) { + e1.printStackTrace(); + return ERROR_POINT; + } + + Point result = new Point(fontMetric.stringWidth(lines[lines.length - 1]), (lines.length * fontMetric.getHeight())); + + // Translate for absolute coordinates + Component currentComponent = this; + while (currentComponent != null) { + result.translate(currentComponent.getLocation().x, currentComponent.getLocation().y); + currentComponent = currentComponent.getParent(); + if (currentComponent instanceof JPanel) { + return result; + } + } + return result; + } + + /** + * Unselect text if selected one exists + */ + public void removeSelection() { + if (getSelectionStart() != getSelectionEnd()) { + setSelectionStart(getSelectionEnd()); + } + } + + /** + * Gets the command buffer + * @return the command buffer + */ + public String getCmdBuffer() { + String command = null; + try { + if (concurrentThread == null) { + concurrentThread = Thread.currentThread(); + } else { + concurrentThread.interrupt(); + } + command = queue.take(); + if (displayQueue.take()) { + OutputView outputView = console.getConfiguration().getOutputView(); + PromptView promptView = console.getConfiguration().getPromptView(); + outputView.append(StringConstants.NEW_LINE + promptView.getDefaultPrompt() + command + StringConstants.NEW_LINE); + } + } catch (InterruptedException e) { + /* + * If we have concurrent access let's interrupt the first one, then allow + * the second to return the command. + */ + return ""; + } + concurrentThread = null; + return command; + } + + /** + * Interrupt the 'await input commant' queue. This will throw an {@link InterruptedException} back to the Scilab engine. + */ + final public void interrupt() { + if (concurrentThread != null) { + concurrentThread.interrupt(); + } + } + + /** + * Sets the command buffer after a user input in input command view + * @param command the string to set to the buffer + * @param displayFlag boolean indicating if the command has to be displayed + */ + public void setCmdBuffer(String command, boolean displayFlag) { + try { + queue.put(command); + displayQueue.put(displayFlag); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + /** + * Sets the console object containing this input view + * @param c the console associated + */ + public void setConsole(SciConsole c) { + console = c; + + // Drag n' Drop handling + this.setDropTarget(new DropTarget(this, DnDConstants.ACTION_COPY_OR_MOVE, new SciDropTargetListener(console))); + + // BUG 2510 fix: automatic validation of pasted lines + this.getDocument().addDocumentListener(new DocumentListener() { + public void changedUpdate(DocumentEvent e) { + // Nothing to do in Scilab + } + + public void insertUpdate(DocumentEvent e) { + // Validates commands if followed by a carriage return + final String wholeTxt = console.getConfiguration().getInputParsingManager().getCommandLine(); + if ((e.getLength()) > 1 && (wholeTxt.lastIndexOf(StringConstants.NEW_LINE) == (wholeTxt.length() - 1))) { + EventQueue.invokeLater(new Runnable() { + public void run() { + console.sendCommandsToScilab(wholeTxt, true, true); + }; + }); + } + } + + public void removeUpdate(DocumentEvent e) { + // Nothing to do in Scilab + } + }); + + this.addKeyListener(new KeyListener() { + public void keyPressed (KeyEvent e) { + if (keysForHistory == null) { + getKeysForHistory(); + } + + // key char is equal to 65535 when the hit key is only shift, meta, alt,... + if (e.getKeyChar() != 65535 && e.getKeyCode() != KeyEvent.VK_LEFT && e.getKeyCode() != KeyEvent.VK_RIGHT && !keysForHistory.contains(KeyStroke.getKeyStrokeForEvent(e))) { + if (console.getConfiguration().getHistoryManager().isInHistory()) { + console.getConfiguration().getHistoryManager().setInHistory(false); + } + } + + if (e.getKeyLocation() == KeyEvent.KEY_LOCATION_NUMPAD + && e.getKeyCode() == KeyEvent.VK_DELETE + && e.getKeyChar() != KeyEvent.VK_DELETE) { + // Fix for bug 7238 + e.setKeyCode(KeyEvent.VK_DECIMAL); + } + } + + public void keyReleased (KeyEvent e) { + // Nothing to do in Scilab + } + + public void keyTyped (KeyEvent e) { + // Nothing to do in Scilab + } + }); + } + + /** + * This class listens to the caret event + * @param e event + */ + public void caretUpdate(CaretEvent e) { + ((SciOutputView) console.getConfiguration().getOutputView()).removeSelection(); + + String str = getText().substring(0, e.getDot()); + int lastPos = str.lastIndexOf("\"$"); + if (lastPos != -1) { + str = str.substring(lastPos); + } + + Matcher matcher = latexPattern.matcher(str); + if (matcher.find() && matcher.end() == str.length()) { + String latex = matcher.group().replace("\'\'", "\'").replace("\"\"", "\""); + latex = latex.substring(2, latex.length()); + int hl = ScilabLaTeXViewer.displayExpression(this, Integer.MAX_VALUE, latex, lastPos, e.getDot()) + 2; + int y = 0; + try { + Rectangle rect = modelToView(getCaretPosition()); + y = rect.height + rect.y + 1; + } catch (BadLocationException ex) { } + + int sheight = height; + height = y + hl; + if (height != sheight) { + validate(); + console.updateScrollPosition(); + } + isLatex = true; + } else { + if (isLatex) { + ScilabLaTeXViewer.removeLaTeXViewer(this); + if (height != -1) { + height = -1; + validate(); + } + isLatex = false; + } + } + } + + public int getCaretHeight() { + return ((ScilabCaret) getCaret()).height; + } + + /** + * Set the height of this text component. + * @param height the height, -1 to have the natural preferred height + */ + public void setPreferredHeight(int height) { + this.height = height; + } + + /** + * Set the width of this text component. + * @param width the width, -1 to have the natural preferred width + */ + public void setPreferredWidth(int width) { + this.width = width; + } + + /** + * {@inheritDoc} + */ + public Dimension getPreferredSize() { + Dimension dim; + try { + dim = super.getPreferredSize(); + } catch (Exception e) { + // workaround bug 9442 + // Should be removed with JDK 7 + dim = new Dimension(0, 0); + } + + if (height != -1) { + dim.height = Math.max(height, dim.height); + } + if (width != -1) { + dim.width = Math.max(width, dim.width); + } + return dim; + } + + public void setForeground(Color fg) { + super.setForeground(fg); + setCaretColor(fg); + repaint(); + } + + public View create(Element e) { + return new PlainView(e) { + public Container getContainer() { + return SciInputCommandView.this; + } + }; + } + + /** + * Find the key used to navigate in the history + */ + private void getKeysForHistory() { + ActionMap am = getActionMap(); + InputMap im = getInputMap(); + KeyStroke[] keys = im.keys(); + + keysForHistory = new ArrayList<KeyStroke>(); + + for (KeyStroke key : keys) { + Object a = im.get(key); + if (a.equals("PREVIOUS_HISTORY_LINE") || a.equals("NEXT_HISTORY_LINE")) { + keysForHistory.add(key); + } + } + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciInputParsingManager.java b/modules/console/src/java/org/scilab/modules/console/SciInputParsingManager.java new file mode 100755 index 000000000..a85c8f06f --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciInputParsingManager.java @@ -0,0 +1,201 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Point; + +import javax.swing.JPanel; + +import com.artenum.rosetta.interfaces.core.InputParsingManager; +import com.artenum.rosetta.interfaces.ui.InputCommandView; +import com.artenum.rosetta.interfaces.ui.PromptView; +import com.artenum.rosetta.util.StringConstants; + +import org.scilab.modules.completion.Completion; + +/** + * @author Vincent COUVERT + * + */ +public class SciInputParsingManager implements InputParsingManager { + + private InputCommandView inputCommandView; + private PromptView promptView; + private Point windowCompletionPosition; + + /** + * Default constructor + */ + public SciInputParsingManager() { + windowCompletionPosition = new Point(0, 0); + } + + /** + * Append a string to the console input + * @param content the string to append + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#append(java.lang.String) + */ + public void append(String content) { + inputCommandView.append(content); + } + + /** + * Get the position of the caret in the console input + * @return the position as an int value + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getCaretPosition() + */ + public int getCaretPosition() { + return inputCommandView.getCaretPosition(); + } + + /** + * Read the text entered (by the user) in the console + * @return the text entered + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getCommandLine() + */ + public String getCommandLine() { + return inputCommandView.getText(); + } + + /** + * Get the level to use for completion (which keywork we sould use for completion ?) + * @return the level + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getCompletionLevel() + */ + public int getCompletionLevel() { + // Always zero for first implementation in Scilab + return 0; + } + + /** + * Get the number of lines in the console input + * @return the number of lines + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getNumberOfLines() + */ + public int getNumberOfLines() { + int result = inputCommandView.getText().split(StringConstants.NEW_LINE).length; + if (inputCommandView.getText().lastIndexOf(StringConstants.NEW_LINE) != -1) { + result++; + } + return result; + } + + /** + * Get the string to use for completion (see completion level) + * @param level the level used for completion + * @return the string to use as a keyword for completion + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getPartLevel(int) + */ + public String getPartLevel(int level) { + String returnLine = ""; + String wholeLine = getCommandLine(); + int caretPos = getCaretPosition(); + + String lineToParse = wholeLine.substring(0, caretPos); + if (lineToParse.length() > 0) { + returnLine = Completion.getPartLevel(lineToParse); + } + return returnLine; + } + + /** + * Get the string to use for completion (see completion level) + * @param level the level used for completion + * @return the string to use as a keyword for completion + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getPartLevel(int) + */ + public String getFilePartLevel(int level) { + String returnLine = null; + String wholeLine = getCommandLine(); + int caretPos = getCaretPosition(); + + String lineToParse = wholeLine.substring(0, caretPos); + if (lineToParse.length() > 0) { + returnLine = Completion.getFilePartLevel(lineToParse); + } + return returnLine; + } + + /** + * Get the position where the completion window has to be displayed + * @return the position + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#getWindowCompletionLocation() + */ + public Point getWindowCompletionLocation() { + windowCompletionPosition.setLocation(inputCommandView.getCaretLocation()); + windowCompletionPosition.translate(-((JPanel) promptView).getWidth(), 0); + return windowCompletionPosition; + } + + /** + * Is a block currently edited in the console input ? + * @return true if a block is currently edited (false else) + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#isBlockEditing() + */ + public boolean isBlockEditing() { + // FIXME : No block editing by default + return false; + } + + /** + * Reset the input of the console (delete all entries) + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#reset() + */ + public void reset() { + inputCommandView.reset(); + } + + /** + * Set the input command view associated to this parsing manager + * @param inputCommandView the command view object to associate + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#setInputCommandView(com.artenum.rosetta.interfaces.ui.InputCommandView) + */ + public void setInputCommandView(InputCommandView inputCommandView) { + this.inputCommandView = inputCommandView; + } + + /** + * Append the text selected in the completioon window to the console input + * @param completionResult the string to append + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#writeCompletionPart(java.lang.String) + */ + public void writeCompletionPart(String completionResult) { + // Add to the input view the end of the selected item + inputCommandView.append(completionResult.substring(getPartLevel(getCompletionLevel()).length())); + } + + /** + * Delete the character just before the caret position + * @see com.artenum.rosetta.interfaces.core.InputParsingManager#backspace() + */ + public void backspace() { + inputCommandView.backspace(); + } + + /** + * Get the prompt view associated to the parsing manager + * @return the promptView to associate + */ + public PromptView getPromptView() { + return promptView; + } + + /** + * Set the prompt view associated to the parsing manager + * @param promptView the promptView to set + */ + public void setPromptView(PromptView promptView) { + this.promptView = promptView; + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciInterpreter.java b/modules/console/src/java/org/scilab/modules/console/SciInterpreter.java new file mode 100755 index 000000000..9cc71551d --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciInterpreter.java @@ -0,0 +1,139 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.io.Reader; +import java.io.Writer; + +import com.artenum.rosetta.exception.ScriptException; + +import org.scilab.modules.action_binding.InterpreterManagement; + +import com.artenum.rosetta.interfaces.core.GenericInterpreter; + +/** + * Scilab interpreter associated to the Scilab console + * @author Vincent COUVERT + */ +public class SciInterpreter implements GenericInterpreter { + + /** + * Constructor + */ + public SciInterpreter() { + } + + /** + * Calls Scilab interpreter to evaluate a command + * @param script the command to eval + * @return the result of evaluation + * @throws ScriptException if an error occurs while evaluating th ecommand + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#eval(java.lang.String) + */ + public Object eval(String script) throws ScriptException { + return InterpreterManagement.putCommandInScilabQueue(script + "\n"); + } + + /** + * Calls Scilab interpreter to evaluate a command + * @param reader the command to eval + * @return the result of evaluation + * @throws ScriptException if an error occurs while evaluating th ecommand + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#eval(java.io.Reader) + */ + public Object eval(Reader reader) throws ScriptException { + // TODO Auto-generated method stub + return null; + } + + /** + * Gets the value of a key + * @param key the key to get + * @return the value of the key + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#get(java.lang.String) + */ + public Object get(String key) { + // TODO Auto-generated method stub + return null; + } + + /** + * Gets the console error writer + * @return the error writer + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#getErrorWriter() + */ + public Writer getErrorWriter() { + // TODO Auto-generated method stub + return null; + } + + /** + * Gets the console reader + * @return the reader + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#getReader() + */ + public Reader getReader() { + // TODO Auto-generated method stub + return null; + } + + /** + * Gets the console writer + * @return the writer + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#getWriter() + */ + public Writer getWriter() { + // TODO Auto-generated method stub + return null; + } + + /** + * Sets a new key + * @param key the name of the key to be set + * @param value the value to set for the key + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#put(java.lang.String, java.lang.Object) + */ + public void put(String key, Object value) { + // TODO Auto-generated method stub + } + + /** + * Sets the console error writer + * @param writer the error writer to set + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#setErrorWriter(java.io.Writer) + */ + public void setErrorWriter(Writer writer) { + // TODO Auto-generated method stub + } + + /** + * Sets the console reader + * @param reader the reader to set + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#setReader(java.io.Reader) + */ + public void setReader(Reader reader) { + // TODO Auto-generated method stub + + } + + /** + * Sets the console writer + * @param writer the writer to set + * @see com.artenum.rosetta.interfaces.core.GenericInterpreter#setWriter(java.io.Writer) + */ + public void setWriter(Writer writer) { + // TODO Auto-generated method stub + + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciOutputView.java b/modules/console/src/java/org/scilab/modules/console/SciOutputView.java new file mode 100755 index 000000000..c79afede1 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciOutputView.java @@ -0,0 +1,433 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Container; +import java.awt.Toolkit; +import java.awt.datatransfer.Clipboard; +import java.awt.datatransfer.DataFlavor; +import java.awt.datatransfer.Transferable; +import java.awt.datatransfer.UnsupportedFlavorException; +import java.awt.dnd.DnDConstants; +import java.awt.dnd.DropTarget; +import java.awt.event.FocusAdapter; +import java.awt.event.FocusEvent; +import java.awt.event.MouseEvent; +import java.io.IOException; +import java.io.Writer; +import java.util.LinkedList; +import java.util.concurrent.ArrayBlockingQueue; +import java.util.concurrent.BlockingQueue; + +import javax.swing.BorderFactory; +import javax.swing.JEditorPane; +import javax.swing.JTextPane; +import javax.swing.SwingUtilities; +import javax.swing.text.BadLocationException; +import javax.swing.text.DefaultEditorKit; +import javax.swing.text.Element; +import javax.swing.text.JTextComponent; +import javax.swing.text.PlainDocument; +import javax.swing.text.StyleContext; +import javax.swing.text.StyledDocument; +import javax.swing.text.PlainView; +import javax.swing.text.View; +import javax.swing.text.ViewFactory; + +import org.scilab.modules.commons.gui.ScilabCaret; + +import com.artenum.rosetta.interfaces.ui.OutputView; +import com.artenum.rosetta.util.BufferedWriter; +import com.artenum.rosetta.util.StringConstants; + +/** + * Scilab Console UI which contains the previous commands and their outputs + * + * @author Vincent COUVERT + */ +@SuppressWarnings(value = { "serial" }) +public class SciOutputView extends JEditorPane implements OutputView, ViewFactory { + private static final long serialVersionUID = 1L; + + private static final int TOP_BORDER = 0; + + private static final int BOTTOM_BORDER = 0; + + private static final int LEFT_BORDER = 0; + + private static final int RIGHT_BORDER = 0; + + private static final int BUFFER_SIZE = 10; + + private String activeStyle; + + private String lastAppendedStyle; + + private BlockingQueue<StringBuffer> bufferQueue; + + private LinkedList<String> styleQueue; + + private StringBuffer currentWorkingBuffer; + + private SciConsole console; + + private Thread thread; + + private int insertPosition; + + private int maxNumberOfLines; + + private boolean lastEOL; + + /** + * Constructor + */ + public SciOutputView() { + super(); + + setEditorKit(new DefaultEditorKit() { + public ViewFactory getViewFactory() { + return SciOutputView.this; + } + }); + + /* A PlainDocument contains only "box" for lines not for all characters (as in a StyledDocument) + so there are less boxes to explore in a PlainDocument... */ + setDocument(new PlainDocument()); + setMaxSize(10000); + setBorder(BorderFactory.createEmptyBorder(TOP_BORDER, LEFT_BORDER, BOTTOM_BORDER, RIGHT_BORDER)); + + // Enabled Drag&Drop with this component + this.setDragEnabled(true); + this.setDoubleBuffered(true); + + activeStyle = StyleContext.DEFAULT_STYLE; + bufferQueue = new ArrayBlockingQueue<StringBuffer>(BUFFER_SIZE); + styleQueue = new LinkedList<String>(); + + /** + * Default caret for output view (to handle paste actions using middle button) + * @author Vincent COUVERT + */ + final class FixedCaret extends ScilabCaret { + + private static final long serialVersionUID = 8230195712653828841L; + + /** + * Constructor + */ + private FixedCaret() { + super(SciOutputView.this); + } + + /** + * Manages mouse clicks + * @param e the event + * @see javax.swing.text.DefaultCaret#mouseClicked(java.awt.event.MouseEvent) + */ + public void mouseClicked(MouseEvent e) { + if (SwingUtilities.isMiddleMouseButton(e) && e.getClickCount() == 1) { + /*** PASTE USING MIDDLE BUTTON ***/ + JTextComponent c = (JTextComponent) e.getSource(); + if (c != null) { + Toolkit tk = c.getToolkit(); + Clipboard buffer = tk.getSystemSelection(); + if (buffer != null) { + Transferable trans = buffer.getContents(null); + if (trans.isDataFlavorSupported(DataFlavor.stringFlavor)) { + try { + String pastedText = (String) trans.getTransferData(DataFlavor.stringFlavor); + ((JTextPane) getConsole().getConfiguration().getInputCommandView()).replaceSelection(pastedText); + } catch (UnsupportedFlavorException e1) { + e1.printStackTrace(); + } catch (IOException e1) { + e1.printStackTrace(); + } + } + } + } + } else if (SwingUtilities.isLeftMouseButton(e) && e.getClickCount() == 1) { + /*** SEND THE FOCUS TO THE INPUT COMMAND VIEW ***/ + ((JTextPane) getConsole().getConfiguration().getInputCommandView()).requestFocus(); + ((JTextPane) getConsole().getConfiguration().getInputCommandView()).getCaret().setVisible(true); + } else { + /*** DELEGATE TO THE SYSTEM ***/ + super.mouseClicked(e); + } + } + + public void mousePressed(MouseEvent e) { + ((SciInputCommandView) console.getConfiguration().getInputCommandView()).removeSelection(); + super.mousePressed(e); + } + } + // Set the caret + setCaret(new FixedCaret()); + // Selection is forced to be visible because the component is not editable + getCaret().setSelectionVisible(true); + + addFocusListener(new FocusAdapter() { + public void focusGained(FocusEvent e) { + ((JTextPane) getConsole().getConfiguration().getInputCommandView()).requestFocus(); + } + }); + } + + /** + * Unselect text if selected one exists + */ + public void removeSelection() { + if (getSelectionStart() != getSelectionEnd()) { + setSelectionEnd(getSelectionStart()); + } + } + + /** + * @param styledDocument + */ + public void setStyledDocument(StyledDocument styledDocument) { } + + public void resetLastEOL() { + lastEOL = false; + } + + /** + * Display a buffer entry in the console + * @param buff the string to write + * @param style the style to use to format the string + */ + private void displayLineBuffer(String buff, String style) { + int sDocLength = getDocument().getLength(); + + if (buff.equals("\r")) { + /* If \r sent by mprintf then display nothing but prepare next display */ + /* Insertion will be done just after last NEW_LINE */ + try { + String outputTxt = getDocument().getText(0, sDocLength); + insertPosition = outputTxt.lastIndexOf(StringConstants.NEW_LINE) + 1; + } catch (BadLocationException e) { + e.printStackTrace(); + } + return; + } else { + /* Change position for insertion if a previous \r still influence display */ + if ((insertPosition != 0) && (insertPosition < sDocLength)) { + sDocLength = insertPosition; + try { + /* Remove chars to be replaced */ + if (insertPosition + buff.length() <= getDocument().getLength()) { + getDocument().remove(insertPosition, buff.length()); + } else { + /* Remove end of line */ + getDocument().remove(insertPosition, getDocument().getLength() - insertPosition); + } + } catch (BadLocationException e) { + e.printStackTrace(); + } + } else { + /* Reinit insertPosition: 0 is equivalent to insertPosition value ignored */ + insertPosition = 0; + } + } + + boolean slastEOL = lastEOL; + lastEOL = !buff.isEmpty() && buff.charAt(buff.length() - 1) == '\n'; + String str = buff; + if (lastEOL) { + str = buff.substring(0, buff.length() - 1); + } + + if (slastEOL) { + str = "\n" + str; + } + + try { + getDocument().insertString(sDocLength, str, null); + + /* Move insertPosition to the end of last inserted data */ + if (insertPosition != 0) { + insertPosition += str.length(); + } + } catch (BadLocationException e) { + e.printStackTrace(); + } + + int count = getDocument().getDefaultRootElement().getElementCount(); + if (count > 1.5 * maxNumberOfLines) { + /* A removal is costly: array copy and with a gap buffer that leads to two array copies (when remove is followed by an insert). + So the idea is to minimize the number of removal: a removal only when 0.5*maxNumberOfLines useless lines are entered. + */ + try { + getDocument().remove(0, getDocument().getDefaultRootElement().getElement(count - maxNumberOfLines - 1).getEndOffset()); + } catch (BadLocationException e) { + e.printStackTrace(); + } + } + + if (console != null) { + console.updateScrollPosition(); + } + } + + /** + * Adds text to the output view and change the size of others components if + * necessary + * + * @param content + * text to add + */ + public void append(String content) { + //append(content, activeStyle); + displayLineBuffer(content, activeStyle); + } + + /** + * Adds text to the output view and change the size of others components if + * necessary + * + * @param content + * text to add + * @param styleName + * style to set for content + */ + public void append(String content, String styleName) { + if (styleName.equals(lastAppendedStyle) && bufferQueue.size() > 1) { + currentWorkingBuffer.append(content); + } else { + lastAppendedStyle = styleName; + styleQueue.add(lastAppendedStyle); + try { + currentWorkingBuffer = new StringBuffer(content); + bufferQueue.put(currentWorkingBuffer); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + if (!thread.isAlive()) { + thread.run(); + } + } + + /** + * Gets the error writer + * + * @return the error writer + * @see com.artenum.rosetta.interfaces.ui.OutputView#getErrorWriter() + */ + public Writer getErrorWriter() { + return new BufferedWriter(StyleContext.DEFAULT_STYLE, bufferQueue, styleQueue); + } + + /** + * Gets the writer + * + * @return the writer + * @see com.artenum.rosetta.interfaces.ui.OutputView#getWriter() + */ + public Writer getWriter() { + return new BufferedWriter(StyleContext.DEFAULT_STYLE, bufferQueue, styleQueue); + } + + /** + * Resets the output view (remove text) + * + * @see com.artenum.rosetta.interfaces.ui.OutputView#reset() + */ + public void reset() { + setText(""); + setCaretPosition(0); + lastEOL = false; + } + + /** + * Move the caret to the beginning of the styled document + * + * @see com.artenum.rosetta.interfaces.ui.OutputView#setCaretPositionToBeginning() + */ + public void setCaretPositionToBeginning() { + insertPosition = 0; + setCaretPosition(0); + } + + /** + * Move the caret to the end of the styled document + * + * @see com.artenum.rosetta.interfaces.ui.OutputView#setCaretPositionToEnd() + */ + public void setCaretPositionToEnd() { + insertPosition = 0; + setCaretPosition(getDocument().getLength()); + } + + /** + * Set the style for current text + * + * @param styleName + * the style to set + * @see com.artenum.rosetta.interfaces.ui.OutputView#setStyleName(java.lang.String) + */ + public void setStyleName(String styleName) { + activeStyle = styleName; + } + + /** + * Sets the console object containing this output view + * + * @param c + * the console associated + */ + public void setConsole(SciConsole c) { + console = c; + + // Drag n' Drop handling + this.setDropTarget(new DropTarget(this, + DnDConstants.ACTION_COPY_OR_MOVE, new SciDropTargetListener(console))); + + // Commented because now done by the caret class + //FocusMouseListener focusGrabber = new FocusMouseListener(console); + //this.addMouseListener(focusGrabber); + } + + /** + * Gets the console object containing this output view + * + * @return the console associated + */ + public SciConsole getConsole() { + return console; + } + + /** + * Get the current thread used to display + * @return the thread + */ + public Thread getThread() { + return thread; + } + + /** + * Set the maximum number of lines to keep before deleting the older one + * @param number the maximum + */ + public void setMaxSize(int number) { + maxNumberOfLines = Math.max(1, number); + } + + public View create(Element e) { + return new PlainView(e) { + public Container getContainer() { + return SciOutputView.this; + } + }; + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/SciPromptView.java b/modules/console/src/java/org/scilab/modules/console/SciPromptView.java new file mode 100755 index 000000000..b7ff0f7e5 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SciPromptView.java @@ -0,0 +1,183 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.Color; +import java.awt.Font; + +import javax.swing.BorderFactory; +import javax.swing.Box; +import javax.swing.BoxLayout; +import javax.swing.JLabel; +import javax.swing.JPanel; + +import com.artenum.rosetta.interfaces.core.InputParsingManager; +import com.artenum.rosetta.interfaces.ui.PromptView; + +/** + * Scilab Console UI which contains the prompt + * @author Vincent COUVERT + */ +public class SciPromptView extends JPanel implements PromptView { + + private static final long serialVersionUID = 1L; + + private static final String DEFAULT_PROMPT = "-->"; + private static final String DEFAULT_IN_BLOCK_PROMPT = DEFAULT_PROMPT; + private static final String HTML_START = "<html>"; + private static final String HTML_NEW_LINE = "<br/>"; + private static final String HTML_END = "</html>"; + private static final String SEMI_COLON = ";"; + private static final String PARAGRAPH_END = "</P>"; + private static final String ZERO_STRING = "0"; + private static final int LEFT_BORDER = 0; + private static final int BOTTOM_BORDER = 2; + + private String defaultPrompt; + private String inBlockPrompt; + private InputParsingManager inputParsingManager; + + // Working vars + private StringBuffer promptTextContent; + private JLabel promptUI; + + /** + * Constructor + */ + public SciPromptView() { + // Internal part + promptTextContent = new StringBuffer(); + defaultPrompt = DEFAULT_PROMPT; + inBlockPrompt = DEFAULT_IN_BLOCK_PROMPT; + + // Gui part + promptUI = new JLabel(); + promptUI.setBorder(BorderFactory.createEmptyBorder(0, LEFT_BORDER, BOTTOM_BORDER, 0)); + promptUI.setOpaque(true); + setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); + add(promptUI); + add(Box.createVerticalGlue()); + // Prompt is invisible when created + setVisible(false); + } + + /** + * Sets the default prompt symbol + * @param defaultPrompt the default prompt as a string + * @see com.artenum.rosetta.interfaces.ui.PromptView#setDefaultPrompt(java.lang.String) + */ + public void setDefaultPrompt(String defaultPrompt) { + this.defaultPrompt = defaultPrompt; + updatePrompt(); + } + + /** + * Sets the block prompt symbol (prompt displayed when editing a block) + * @param inBlockPrompt the default prompt as a string + * @see com.artenum.rosetta.interfaces.ui.PromptView#setInBlockPrompt(java.lang.String) + */ + public void setInBlockPrompt(String inBlockPrompt) { + this.inBlockPrompt = inBlockPrompt; + updatePrompt(); + } + + /** + * Sets the parsing manager associated to this prompt + * @param inputParsingManager the parsing manager + * @see com.artenum.rosetta.interfaces.ui.PromptView#setInputParsingManager(com.artenum.rosetta.interfaces.core.InputParsingManager) + */ + public void setInputParsingManager(InputParsingManager inputParsingManager) { + this.inputParsingManager = inputParsingManager; + } + + /** + * Updates the prompt object contents according to the current state (in a block or not) + * @see com.artenum.rosetta.interfaces.ui.PromptView#updatePrompt() + */ + public void updatePrompt() { + if (!promptUI.getText().equals(defaultPrompt)) { + promptUI.setText(defaultPrompt); + } + } + + /** + * Sets the background of the prompt + * @param bgColor the color to set + * @see javax.swing.JComponent#setBackground(java.awt.Color) + */ + public void setBackground(Color bgColor) { + super.setBackground(bgColor); + if (promptUI != null) { + promptUI.setBackground(bgColor); + } + } + + /** + * Sets the foreground of the prompt + * @param fgColor the color to set + * @see javax.swing.JComponent#setForeground(java.awt.Color) + */ + public void setForeground(Color fgColor) { + super.setForeground(fgColor); + if (promptUI != null) { + promptUI.setForeground(fgColor); + } + } + + /** + * Sets the font of the prompt + * @param font the font to set + * @see javax.swing.JComponent#setBackground(java.awt.font) + */ + public void setFont(Font font) { + super.setFont(font); + if (promptUI != null) { + promptUI.setFont(font); + } + } + + /** + * Gets the default prompt symbol + * @return the default prompt symbol + * @see com.artenum.rosetta.interfaces.ui.PromptView#getDefaultPrompt() + */ + public String getDefaultPrompt() { + return defaultPrompt; + } + + /** + * Gets the block prompt symbol + * @return the block prompt symbol + * @see com.artenum.rosetta.interfaces.ui.PromptView#getInBlockPrompt() + */ + public String getInBlockPrompt() { + return inBlockPrompt; + } + + /** + * Sets the visibility status of the prompt view + * @param status new visibility status + * @see javax.swing.JComponent#setVisible(boolean) + */ + public void setVisible(boolean status) { + super.setVisible(status); + } + + /** + * @return the prompt JLabel + */ + public JLabel getPromptUI() { + return promptUI; + } + +} diff --git a/modules/console/src/java/org/scilab/modules/console/SelectAllAction.java b/modules/console/src/java/org/scilab/modules/console/SelectAllAction.java new file mode 100755 index 000000000..deb130dd9 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/SelectAllAction.java @@ -0,0 +1,50 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - DIGITEO - 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; +import javax.swing.JEditorPane; +import javax.swing.JTextPane; +import com.artenum.rosetta.core.action.AbstractConsoleAction; + +/** + * Class used to select all in console + * @author Allan CORNET + */ +public class SelectAllAction extends AbstractConsoleAction { + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public SelectAllAction() { + super(); + } + + /** + * Threats the event + * @param e the action event that occurred + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ + public void actionPerformed(ActionEvent e) { + JEditorPane outputPane = (JEditorPane) configuration.getOutputView(); + JTextPane inputPane = (JTextPane) configuration.getInputCommandView(); + + outputPane.setSelectionStart(0); + outputPane.setSelectionEnd(outputPane.getText().length()); + + inputPane.setSelectionStart(0); + inputPane.setSelectionEnd(inputPane.getText().length()); + + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/ValidationAction.java b/modules/console/src/java/org/scilab/modules/console/ValidationAction.java new file mode 100755 index 000000000..160778680 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/ValidationAction.java @@ -0,0 +1,88 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - Artenum - Sebastien JOURDAIN + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + */ + +package org.scilab.modules.console; + +import java.awt.event.ActionEvent; + +import javax.swing.JTextPane; + +import com.artenum.rosetta.core.action.AbstractConsoleAction; +import com.artenum.rosetta.interfaces.core.InputParsingManager; +import com.artenum.rosetta.interfaces.ui.PromptView; +import com.artenum.rosetta.util.StringConstants; + +/** + * Class used to call Scilab interpreter + * @author Vincent COUVERT + * @author Sebastien Jourdain (jourdain@artenum.com) + * + */ +public class ValidationAction extends AbstractConsoleAction { + + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public ValidationAction() { + super(); + } + + /** + * Execute a command received + * @param e the event to threat + */ + public synchronized void actionPerformed(ActionEvent e) { + + /* If occurred during a "more" message */ + if (!((JTextPane) configuration.getInputCommandView()).isEditable()) { + return; + } + + // Init + InputParsingManager inputParsingManager = configuration.getInputParsingManager(); + PromptView promptView = configuration.getPromptView(); + String cmdToExecute = null; + String histEntry = null; + + // Do the job + if (inputParsingManager.isBlockEditing()) { + // Create new line + inputParsingManager.append(StringConstants.NEW_LINE); + promptView.updatePrompt(); + } else { + + // Command to execute + cmdToExecute = inputParsingManager.getCommandLine(); + + // Special case: line begins with a ! + if ((cmdToExecute.length() > 0) && (cmdToExecute.charAt(0) == '!')) { + // Cast HistoryManager to SciHistoryManager + // because searchBackward will not to be implemented in all not-generic console + ((SciHistoryManager) configuration.getHistoryManager()).setTmpEntry(cmdToExecute.substring(1)); + histEntry = ((SciHistoryManager) configuration.getHistoryManager()).getPreviousEntry(cmdToExecute.substring(1)); + if (histEntry != null) { + configuration.getInputCommandView().reset(); + configuration.getInputCommandView().append(histEntry); + } + return; + } + + // Send data to Scilab (Commands print in output view is done in sendCommandsToScilab since bug 2510 fix) + ((SciOutputView) configuration.getOutputView()).getConsole().sendCommandsToScilab(cmdToExecute, true, true); + + } + + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/utils/ScilabLaTeXViewer.java b/modules/console/src/java/org/scilab/modules/console/utils/ScilabLaTeXViewer.java new file mode 100755 index 000000000..98e9b2e00 --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/utils/ScilabLaTeXViewer.java @@ -0,0 +1,169 @@ +/* + * Scilab (http://www.scilab.org/) - This file is part of Scilab + * Copyright (C) 2010 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console.utils; + +import java.awt.Color; +import java.awt.Graphics; +import java.awt.Rectangle; + +import javax.swing.Icon; +import javax.swing.JPanel; +import javax.swing.text.BadLocationException; +import javax.swing.text.JTextComponent; + +import org.scilab.modules.console.ConsoleOptions; + +/** + * Class to have a preview of a LaTeX string + * @author Calixte DENIZET + */ +@SuppressWarnings(value = { "serial" }) +public final class ScilabLaTeXViewer extends JPanel { + + private static final int INSET = 3; + private static final Rectangle NULLRECT = new Rectangle(0, 0, 0, 0); + + private static int defaultSize = 15; + private static Icon icon; + private static int width; + private static int height; + private static ScilabLaTeXViewer viewer = new ScilabLaTeXViewer(); + + /** + * Default constructor + */ + private ScilabLaTeXViewer() { + // I disable the double-buffering, it's useless here + super(false); + setDefaultSize(ConsoleOptions.getLaTeXFont().size); + } + + public static void configurationChanged(org.scilab.modules.console.ConsoleConfiguration.Conf conf) { + if (conf.latex) { + setDefaultSize(ConsoleOptions.getLaTeXFont().size); + } + } + + /** + * Set the default size to render LaTeX + * @param size the font size + */ + public static void setDefaultSize(int size) { + ScilabLaTeXViewer.defaultSize = size; + } + + /** + * {@inheritedDoc} + */ + public void paint(Graphics g) { + g.setColor(Color.WHITE); + g.fillRect(0, 0, width + 2 * INSET, height + 2 * INSET); + g.setColor(Color.LIGHT_GRAY); + g.drawRect(0, 0, width + 2 * INSET - 1, height + 2 * INSET - 1); + icon.paintIcon(this, g, INSET, INSET); + } + + /** + * @param sep the pane where to remove the LaTeXViewer + */ + public static void removeLaTeXViewer(JTextComponent tc) { + if (ScilabLaTeXViewer.icon != null) { + ScilabLaTeXViewer.icon = null; + viewer.setVisible(false); + tc.remove(viewer); + tc.repaint(); + } + } + + /** + * @param sep the pane where to display the LaTeX + * @param exp the expression + * @param b the beginning of the expression + * @param e the end of the expression + */ + public static void displayExpressionIfVisible(JTextComponent tc, int totalHeight, String exp, int b, int e) { + if (viewer.isVisible()) { + displayExpression(tc, totalHeight, exp, b, e); + } + } + + /** + * @param sep the pane where to display the LaTeX + * @param exp the expression + * @param b the beginning of the expression + * @param e the end of the expression + */ + public static int displayExpression(JTextComponent tc, int totalHeight, String exp, int b, int e) { + String latex = exp; + if (exp.startsWith("$") || exp.startsWith("\"$") || exp.startsWith("'$")) { + int n = 1; + // We have $...$ or "$...$" + if (exp.charAt(0) != '$') { + n = 2; + } + latex = exp.substring(n, exp.length() - n); + } + + ScilabLaTeXViewer.icon = ScilabSpecialTextUtilities.compilePartialLaTeXExpression(latex, defaultSize); + if (ScilabLaTeXViewer.icon == null) { + return 0; + } + + width = ScilabLaTeXViewer.icon.getIconWidth(); + height = ScilabLaTeXViewer.icon.getIconHeight(); + viewer.setSize(width + 2 * INSET, height + 2 * INSET); + tc.add(viewer); + Rectangle begin; + Rectangle end; + try { + begin = tc.modelToView(b); + end = tc.modelToView(e); + } catch (BadLocationException ex) { + begin = NULLRECT; + end = NULLRECT; + } + + int abs; + int ord; + if (begin.y == end.y) { + //We're on the same line + abs = Math.max(1, (end.x + begin.x - width) / 2); + ord = begin.y + begin.height + 1; + if (height + ord > totalHeight) { + ord = begin.y - 1 - height - 2 * INSET; + } + } else if (begin.y + begin.height == end.y) { + //The line is drawn on two lines + ord = end.y + end.height + 1; + if (height + ord > totalHeight) { + ord = begin.y - 1 - height - 2 * INSET; + abs = begin.x; + } else { + abs = end.x; + } + } else { + //Guess + abs = Math.max(1, (tc.getWidth() - width) / 2); + ord = end.y + end.height + 1; + if (height + ord > totalHeight) { + ord = begin.y - 1 - height - 2 * INSET; + } + } + + viewer.setLocation(abs, ord); + viewer.setVisible(true); + viewer.repaint(); + + return height + 2 * INSET; + } +} diff --git a/modules/console/src/java/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.java b/modules/console/src/java/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.java new file mode 100755 index 000000000..8373955fe --- /dev/null +++ b/modules/console/src/java/org/scilab/modules/console/utils/ScilabSpecialTextUtilities.java @@ -0,0 +1,313 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2010 - Calixte DENIZET + * + * 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 + * + */ + +package org.scilab.modules.console.utils; + +import java.awt.Color; +import java.awt.Component; +import java.awt.Graphics; +import java.awt.Graphics2D; +import java.awt.image.BufferedImage; +import java.io.IOException; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; + +import javax.swing.Icon; +import javax.swing.ImageIcon; +import javax.swing.JComponent; +import javax.xml.parsers.ParserConfigurationException; + +import net.sourceforge.jeuclid.MathMLParserSupport; +import net.sourceforge.jeuclid.context.LayoutContextImpl; +import net.sourceforge.jeuclid.context.Parameter; +import net.sourceforge.jeuclid.layout.JEuclidView; + +import org.scilab.forge.jlatexmath.ParseException; +import org.scilab.forge.jlatexmath.TeXConstants; +import org.scilab.forge.jlatexmath.TeXFormula; +import org.scilab.modules.jvm.LoadClassPath; +import org.w3c.dom.Document; +import org.w3c.dom.Node; +import org.xml.sax.SAXException; + +/** + * Utilities with JLaTeXMath. + * @author Calixte DENIZET + */ +public final class ScilabSpecialTextUtilities { + + private static boolean loadedLaTeX; + private static boolean loadedMathML; + private static Thread loadJLM; + + /** + * @param component where to set a LaTeX icon + * @param text to use for the menu, if it's enclosed between '$' then it's interpreted as + * a LaTeX string and if enclosed between '<' and '>', then as MathML one. + */ + public static boolean setText(JComponent component, String text) { + Icon icon = null; + if (text != null && text.length() > 1) { + if (text.startsWith("$") && text.endsWith("$")) { + icon = compileLaTeXExpression(text.substring(1, text.length() - 1), component.getFont().getSize()); + } else if (text.startsWith("<") && text.endsWith(">")) { + icon = compileMathMLExpression(text, component.getFont().getSize()); + } + } + + if (icon == null) { + // Shortcut when we are sure text is + // neither Latex nor MathML + return false; + } + + try { + setIcon(component, icon); + } catch (InvocationTargetException e) { + e.printStackTrace(); + } + + return icon != null; + } + + /** + * Load, if necessary the jlatexmath package, and compile a LaTeX expression. + * @param exp the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + public static Icon compileLaTeXExpression(String exp, int fontSize) { + if (!loadedLaTeX) { + LoadClassPath.loadOnUse("graphics_latex_textrendering"); + loadedLaTeX = true; + } + + return LaTeXCompiler.compile(exp, fontSize); + } + + /** + * Load, if necessary the jlatexmath package, and compile a LaTeX expression or a valid subexpression. + * @param exp the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + public static Icon compilePartialLaTeXExpression(String exp, int fontSize) { + if (!loadedLaTeX) { + if (loadJLM == null) { + loadJLM = new Thread(new Runnable() { + /* Create a thread in the background to avoid a lag in the loading of jar */ + public void run() { + LoadClassPath.loadOnUse("graphics_latex_textrendering"); + LaTeXCompiler.compilePartial("", 0); + loadedLaTeX = true; + loadJLM = null; + } + }); + loadJLM.setPriority(Thread.MIN_PRIORITY); + loadJLM.start(); + } + return null; + } else { + return LaTeXCompiler.compilePartial(exp, fontSize); + } + } + + /** + * Load, if necessary the jeuclid package, and compile a LaTeX expression. + * @param exp the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + public static Icon compileMathMLExpression(String exp, int fontSize) { + return compileMathMLExpression(exp, fontSize, Color.BLACK); + } + + /** + * Load, if necessary the jeuclid package, and compile a LaTeX expression. + * @param exp the expression to compile + * @param fontSize the size of the font + * @param fontColor the color of the font + * @return the Icon + */ + public static Icon compileMathMLExpression(String exp, int fontSize, Color fontColor) { + if (!loadedMathML) { + LoadClassPath.loadOnUse("graphics_mathml_textrendering"); + loadedMathML = true; + } + + return MathMLCompiler.compile(exp, fontSize, fontColor); + } + + /** + * @param component where to set a LaTeX icon + * @param icon to set + */ + private static void setIcon(JComponent component, Icon icon) throws InvocationTargetException { + try { + Class clazz = component.getClass(); + Method method = clazz.getMethod("getIcon", new Class[] {}); + Object obj = method.invoke(component, new Object[] {}); + if (icon != null || (obj != null && (obj instanceof SpecialIcon))) { + method = clazz.getMethod("setIcon", new Class[] {Icon.class}); + method.invoke(component, new Object[] {icon}); + } + } catch (NoSuchMethodException e) { + throw new InvocationTargetException(e, "No valid method setIcon"); + } catch (IllegalAccessException e) { + throw new InvocationTargetException(e, "The method setIcon must be public"); + } catch (InvocationTargetException e) { + throw new InvocationTargetException(e, "The method setIcon threw an exception"); + } + } + + /** + * Use an inner class rather than a single method to avoid the load of the jar of jlatex + */ + private static final class LaTeXCompiler { + + /** + * Compile the expression + * @param str the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + static Icon compile(String str, int fontSize) { + TeXFormula.setDefaultDPI(); + Icon icon = null; + try { + TeXFormula formula = new TeXFormula(str); + icon = formula.createTeXIcon(TeXConstants.STYLE_DISPLAY, fontSize); + } catch (ParseException e) { } + + return new SpecialIcon(icon); + } + + /** + * Compile the expression + * @param str the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + static Icon compilePartial(String str, int fontSize) { + Icon icon = null; + try { + TeXFormula formula = TeXFormula.getPartialTeXFormula(str); + icon = formula.createTeXIcon(TeXConstants.STYLE_DISPLAY, fontSize); + } catch (ParseException e) { } + + return icon; + } + } + + /** + * Use an inner class rather than a single method to avoid the load of the jar of jeuclid + */ + private static final class MathMLCompiler { + + private static final Graphics2D TEMPGRAPHIC = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB).createGraphics(); + + /** + * Compile the expression + * @param str the expression to compile + * @param fontSize the size of the font + * @return the Icon + */ + static Icon compile(String str, int fontSize, Color fontColor) { + LayoutContextImpl parameters = new LayoutContextImpl(LayoutContextImpl.getDefaultLayoutContext()); + parameters.setParameter(Parameter.MATHSIZE, fontSize); + parameters.setParameter(Parameter.MATHCOLOR, fontColor); + if (!str.startsWith("<mathml>")) { + str = "<mathml>" + str + "</mathml>"; + } + + Document doc = null; + try { + doc = MathMLParserSupport.parseString(str); + } catch (final SAXException e) { + return null; + } catch (final ParserConfigurationException e) { + return null; + } catch (final IOException e) { + return null; + } + + JEuclidView jev = new JEuclidView((Node) doc, parameters, TEMPGRAPHIC); + + int width = (int) Math.ceil(jev.getWidth()); + int ascent = (int) Math.ceil(jev.getAscentHeight()); + int height = (int) Math.ceil(jev.getDescentHeight()) + ascent; + + if (width <= 0 || height <= 0) { + return null; + } + + BufferedImage bimg = new BufferedImage(width + 2, height, BufferedImage.TYPE_INT_ARGB); + Graphics2D g2d = bimg.createGraphics(); + g2d.setColor(new Color(255, 255, 255, 0)); + g2d.fillRect(0, 0, width, height); + + jev.draw(g2d, 0, ascent); + g2d.dispose(); + + return new SpecialIcon(new ImageIcon(bimg), (int) Math.ceil(jev.getDescentHeight())); + } + } + + /** + * Inner class to distinguish normal icons and icons coming from a LaTeX or a MathML compilation + */ + public static class SpecialIcon implements Icon { + + Icon icon; + int depth; + + /** + * @param icon the Icon to wrap + */ + SpecialIcon(Icon icon) { + this.icon = icon; + } + + /** + * @param icon the Icon to wrap + */ + SpecialIcon(Icon icon, int depth) { + this.icon = icon; + this.depth = depth; + } + + /** + * {@inheritedDoc} + */ + public int getIconHeight() { + return icon.getIconHeight(); + } + + /** + * {@inheritedDoc} + */ + public int getIconWidth() { + return icon.getIconWidth(); + } + + public int getIconDepth() { + return depth; + } + + /** + * {@inheritedDoc} + */ + public void paintIcon(Component c, Graphics g, int x, int y) { + icon.paintIcon(c, g, x, y); + } + } +} diff --git a/modules/console/src/jni/.deps/.dirstamp b/modules/console/src/jni/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/jni/.deps/.dirstamp diff --git a/modules/console/src/jni/.deps/libsciconsole_la-CallScilabBridge.Plo b/modules/console/src/jni/.deps/libsciconsole_la-CallScilabBridge.Plo new file mode 100755 index 000000000..50d84584e --- /dev/null +++ b/modules/console/src/jni/.deps/libsciconsole_la-CallScilabBridge.Plo @@ -0,0 +1,341 @@ +src/jni/libsciconsole_la-CallScilabBridge.lo: \ + src/jni/CallScilabBridge.cpp /usr/include/stdc-predef.h \ + src/jni/CallScilabBridge.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/jni/CallScilabBridge.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/console/src/jni/.deps/libsciconsole_la-DropFiles_wrap.Plo b/modules/console/src/jni/.deps/libsciconsole_la-DropFiles_wrap.Plo new file mode 100755 index 000000000..f3e511b00 --- /dev/null +++ b/modules/console/src/jni/.deps/libsciconsole_la-DropFiles_wrap.Plo @@ -0,0 +1,139 @@ +src/jni/libsciconsole_la-DropFiles_wrap.lo: src/jni/DropFiles_wrap.c \ + /usr/include/stdc-predef.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h src/jni/../c/dropFiles.h \ + ../../modules/core/includes/BOOL.h ../../modules/core/includes/machine.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h + +/usr/include/stdc-predef.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +src/jni/../c/dropFiles.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: diff --git a/modules/console/src/jni/.deps/libsciconsole_la-GuiManagement_wrap.Plo b/modules/console/src/jni/.deps/libsciconsole_la-GuiManagement_wrap.Plo new file mode 100755 index 000000000..aa3947ed6 --- /dev/null +++ b/modules/console/src/jni/.deps/libsciconsole_la-GuiManagement_wrap.Plo @@ -0,0 +1,134 @@ +src/jni/libsciconsole_la-GuiManagement_wrap.lo: \ + src/jni/GuiManagement_wrap.c /usr/include/stdc-predef.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h src/jni/../c/GuiManagement.h + +/usr/include/stdc-predef.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +src/jni/../c/GuiManagement.h: diff --git a/modules/console/src/jni/.dirstamp b/modules/console/src/jni/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/jni/.dirstamp diff --git a/modules/console/src/jni/.libs/libsciconsole_la-CallScilabBridge.o b/modules/console/src/jni/.libs/libsciconsole_la-CallScilabBridge.o Binary files differnew file mode 100755 index 000000000..4dc1a88df --- /dev/null +++ b/modules/console/src/jni/.libs/libsciconsole_la-CallScilabBridge.o diff --git a/modules/console/src/jni/.libs/libsciconsole_la-DropFiles_wrap.o b/modules/console/src/jni/.libs/libsciconsole_la-DropFiles_wrap.o Binary files differnew file mode 100755 index 000000000..7aea1bfc9 --- /dev/null +++ b/modules/console/src/jni/.libs/libsciconsole_la-DropFiles_wrap.o diff --git a/modules/console/src/jni/.libs/libsciconsole_la-GuiManagement_wrap.o b/modules/console/src/jni/.libs/libsciconsole_la-GuiManagement_wrap.o Binary files differnew file mode 100755 index 000000000..d295e2d8e --- /dev/null +++ b/modules/console/src/jni/.libs/libsciconsole_la-GuiManagement_wrap.o diff --git a/modules/console/src/jni/CallScilabBridge.cpp b/modules/console/src/jni/CallScilabBridge.cpp new file mode 100755 index 000000000..dded9f090 --- /dev/null +++ b/modules/console/src/jni/CallScilabBridge.cpp @@ -0,0 +1,388 @@ +#include "CallScilabBridge.hxx" +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/CallScilabBridge.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + +namespace org_scilab_modules_gui_bridge { + + // Static declarations (if any) + +// Returns the current env + +JNIEnv * CallScilabBridge::getCurrentEnv() { +JNIEnv * curEnv = NULL; +jint res=this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +if (res != JNI_OK) { +throw GiwsException::JniException(getCurrentEnv()); +} +return curEnv; +} +// Destructor + +CallScilabBridge::~CallScilabBridge() { +JNIEnv * curEnv = NULL; +this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +curEnv->DeleteGlobalRef(this->instance); +curEnv->DeleteGlobalRef(this->instanceClass); +} +// Constructors +CallScilabBridge::CallScilabBridge(JavaVM * jvm_) { +jmethodID constructObject = NULL ; +jobject localInstance ; +jclass localClass ; + +const std::string construct="<init>"; +const std::string param="()V"; +jvm=jvm_; + +JNIEnv * curEnv = getCurrentEnv(); + +localClass = curEnv->FindClass( this->className().c_str() ) ; +if (localClass == NULL) { + throw GiwsException::JniClassNotFoundException(curEnv, this->className()); +} + +this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + +/* localClass is not needed anymore */ +curEnv->DeleteLocalRef(localClass); + +if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + + +constructObject = curEnv->GetMethodID( this->instanceClass, construct.c_str() , param.c_str() ) ; +if(constructObject == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +localInstance = curEnv->NewObject( this->instanceClass, constructObject ) ; +if(localInstance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +this->instance = curEnv->NewGlobalRef(localInstance) ; +if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} +/* localInstance not needed anymore */ +curEnv->DeleteLocalRef(localInstance); + + /* Methods ID set to NULL */ +voiddisplayjstringjava_lang_StringID=NULL; +jstringreadLineID=NULL; +voidclearID=NULL; +voidclearjintintID=NULL; +jintgetCharWithoutOutputID=NULL; +voidtoHomeID=NULL; +voidscilabLinesUpdateID=NULL; +voidsetPromptjstringjava_lang_StringID=NULL; +jbooleanisWaitingForInputID=NULL; + + +} + +CallScilabBridge::CallScilabBridge(JavaVM * jvm_, jobject JObj) { + jvm=jvm_; + + JNIEnv * curEnv = getCurrentEnv(); + +jclass localClass = curEnv->GetObjectClass(JObj); + this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + curEnv->DeleteLocalRef(localClass); + + if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + + this->instance = curEnv->NewGlobalRef(JObj) ; + if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + /* Methods ID set to NULL */ + voiddisplayjstringjava_lang_StringID=NULL; +jstringreadLineID=NULL; +voidclearID=NULL; +voidclearjintintID=NULL; +jintgetCharWithoutOutputID=NULL; +voidtoHomeID=NULL; +voidscilabLinesUpdateID=NULL; +voidsetPromptjstringjava_lang_StringID=NULL; +jbooleanisWaitingForInputID=NULL; + + +} + +// Generic methods + +void CallScilabBridge::synchronize() { +if (getCurrentEnv()->MonitorEnter(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "CallScilabBridge"); +} +} + +void CallScilabBridge::endSynchronize() { +if ( getCurrentEnv()->MonitorExit(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "CallScilabBridge"); +} +} +// Method(s) + +void CallScilabBridge::display (JavaVM * jvm_, char const* dataToDisplay){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voiddisplayjstringjava_lang_StringID = curEnv->GetStaticMethodID(cls, "display", "(Ljava/lang/String;)V" ) ; +if (voiddisplayjstringjava_lang_StringID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "display"); +} + +jstring dataToDisplay_ = curEnv->NewStringUTF( dataToDisplay ); +if (dataToDisplay != NULL && dataToDisplay_ == NULL) +{ +throw GiwsException::JniBadAllocException(curEnv); +} + + + curEnv->CallStaticVoidMethod(cls, voiddisplayjstringjava_lang_StringID ,dataToDisplay_); + curEnv->DeleteLocalRef(dataToDisplay_); +if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +char* CallScilabBridge::readLine (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jstringreadLineID = curEnv->GetStaticMethodID(cls, "readLine", "()Ljava/lang/String;" ) ; +if (jstringreadLineID == NULL) { + +jvm_->DetachCurrentThread(); +throw GiwsException::JniMethodNotFoundException(curEnv, "readLine"); +} + + jstring res = static_cast<jstring>( curEnv->CallStaticObjectMethod(cls, jstringreadLineID )); + if (curEnv->ExceptionCheck()) { + +jvm_->DetachCurrentThread(); +throw GiwsException::JniCallMethodException(curEnv); +}if (res != NULL) { + +const char *tempString = curEnv->GetStringUTFChars(res, 0); +char * myStringBuffer = new char[strlen(tempString) + 1]; +strcpy(myStringBuffer, tempString); +curEnv->ReleaseStringUTFChars(res, tempString); +curEnv->DeleteLocalRef(res); +if (curEnv->ExceptionCheck()) { +delete[] myStringBuffer; + +jvm_->DetachCurrentThread(); +throw GiwsException::JniCallMethodException(curEnv); +} +jvm_->DetachCurrentThread(); + +return myStringBuffer; + } else { +curEnv->DeleteLocalRef(res); +return NULL; +} +} + +void CallScilabBridge::clear (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidclearID = curEnv->GetStaticMethodID(cls, "clear", "()V" ) ; +if (voidclearID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "clear"); +} + + curEnv->CallStaticVoidMethod(cls, voidclearID ); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +void CallScilabBridge::clear (JavaVM * jvm_, int nbLines){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidclearjintintID = curEnv->GetStaticMethodID(cls, "clear", "(I)V" ) ; +if (voidclearjintintID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "clear"); +} + + curEnv->CallStaticVoidMethod(cls, voidclearjintintID ,nbLines); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +int CallScilabBridge::getCharWithoutOutput (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jintgetCharWithoutOutputID = curEnv->GetStaticMethodID(cls, "getCharWithoutOutput", "()I" ) ; +if (jintgetCharWithoutOutputID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "getCharWithoutOutput"); +} + + jint res = static_cast<jint>( curEnv->CallStaticIntMethod(cls, jintgetCharWithoutOutputID )); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +return res; + +} + +void CallScilabBridge::toHome (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidtoHomeID = curEnv->GetStaticMethodID(cls, "toHome", "()V" ) ; +if (voidtoHomeID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "toHome"); +} + + curEnv->CallStaticVoidMethod(cls, voidtoHomeID ); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +void CallScilabBridge::scilabLinesUpdate (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidscilabLinesUpdateID = curEnv->GetStaticMethodID(cls, "scilabLinesUpdate", "()V" ) ; +if (voidscilabLinesUpdateID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "scilabLinesUpdate"); +} + + curEnv->CallStaticVoidMethod(cls, voidscilabLinesUpdateID ); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +void CallScilabBridge::setPrompt (JavaVM * jvm_, char const* promptToSet){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidsetPromptjstringjava_lang_StringID = curEnv->GetStaticMethodID(cls, "setPrompt", "(Ljava/lang/String;)V" ) ; +if (voidsetPromptjstringjava_lang_StringID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "setPrompt"); +} + +jstring promptToSet_ = curEnv->NewStringUTF( promptToSet ); +if (promptToSet != NULL && promptToSet_ == NULL) +{ +throw GiwsException::JniBadAllocException(curEnv); +} + + + curEnv->CallStaticVoidMethod(cls, voidsetPromptjstringjava_lang_StringID ,promptToSet_); + curEnv->DeleteLocalRef(promptToSet_); +if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +bool CallScilabBridge::isWaitingForInput (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jbooleanisWaitingForInputID = curEnv->GetStaticMethodID(cls, "isWaitingForInput", "()Z" ) ; +if (jbooleanisWaitingForInputID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "isWaitingForInput"); +} + + jboolean res = static_cast<jboolean>( curEnv->CallStaticBooleanMethod(cls, jbooleanisWaitingForInputID )); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +return (res == JNI_TRUE); + +} + +} diff --git a/modules/console/src/jni/CallScilabBridge.giws.xml b/modules/console/src/jni/CallScilabBridge.giws.xml new file mode 100755 index 000000000..782818bbb --- /dev/null +++ b/modules/console/src/jni/CallScilabBridge.giws.xml @@ -0,0 +1,35 @@ + <!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * 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 + * + --> +<package name="org.scilab.modules.gui.bridge"> + <object name="CallScilabBridge"> + <method name="display" returnType="void" modifier="static"> + <parameter type="String" name="dataToDisplay" /> + </method> + <method name="readLine" returnType="String" modifier="static" detachThread="true"> + </method> + <method name="clear" returnType="void" modifier="static"> + </method> + <method name="clear" returnType="void" modifier="static"> + <parameter type="int" name="nbLines" /> + </method> + <method name="getCharWithoutOutput" returnType="int" modifier="static"> + </method> + <method name="toHome" returnType="void" modifier="static"> + </method> + <method name="scilabLinesUpdate" returnType="void" modifier="static"> + </method> + <method name="setPrompt" returnType="void" modifier="static"> + <parameter type="String" name="promptToSet" /> + </method> + <method name="isWaitingForInput" returnType="boolean" modifier="static"/> + </object> +</package> diff --git a/modules/console/src/jni/CallScilabBridge.hxx b/modules/console/src/jni/CallScilabBridge.hxx new file mode 100755 index 000000000..f9895bc62 --- /dev/null +++ b/modules/console/src/jni/CallScilabBridge.hxx @@ -0,0 +1,202 @@ +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/CallScilabBridge.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + + +#ifndef __ORG_SCILAB_MODULES_GUI_BRIDGE_CALLSCILABBRIDGE__ +#define __ORG_SCILAB_MODULES_GUI_BRIDGE_CALLSCILABBRIDGE__ +#include <iostream> +#include <string> +#include <string.h> +#include <stdlib.h> +#include <jni.h> + +#include "GiwsException.hxx" + + #if defined(_MSC_VER) /* Defined anyway with Visual */ + #include <Windows.h> + #else + typedef signed char byte; + #endif + + +#ifndef GIWSEXPORT +# if defined(_MSC_VER) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define GIWSEXPORT +# else +# define GIWSEXPORT __declspec(dllexport) +# endif +# else +# if __GNUC__ >= 4 +# define GIWSEXPORT __attribute__ ((visibility ("default"))) +# else +# define GIWSEXPORT +# endif +# endif +#endif + +namespace org_scilab_modules_gui_bridge { +class GIWSEXPORT CallScilabBridge { + +private: +JavaVM * jvm; + +protected: +jmethodID voiddisplayjstringjava_lang_StringID; // cache method id +jmethodID jstringreadLineID; // cache method id +jmethodID voidclearID; // cache method id +jmethodID voidclearjintintID; // cache method id +jmethodID jintgetCharWithoutOutputID; // cache method id +jmethodID voidtoHomeID; // cache method id +jmethodID voidscilabLinesUpdateID; // cache method id +jmethodID voidsetPromptjstringjava_lang_StringID; // cache method id +jmethodID jbooleanisWaitingForInputID; // cache method id + + + +jobject instance; +jclass instanceClass; // cache class + + +// Caching (if any) + + +/** +* Get the environment matching to the current thread. +*/ +virtual JNIEnv * getCurrentEnv(); + +public: +// Constructor +/** +* Create a wrapping of the object from a JNIEnv. +* It will call the default constructor +* @param JEnv_ the Java Env +*/ +CallScilabBridge(JavaVM * jvm_); + +/** +* Create a wrapping of an already existing object from a JNIEnv. +* The object must have already been instantiated +* @param JEnv_ the Java Env +* @param JObj the object +*/ +CallScilabBridge(JavaVM * jvm_, jobject JObj); + + +/** +* This is a fake constructor to avoid the constructor +* chaining when dealing with extended giws classes +*/ +#ifdef FAKEGIWSDATATYPE +CallScilabBridge(fakeGiwsDataType::fakeGiwsDataType /* unused */) {} +#endif + +// Destructor +~CallScilabBridge(); + +// Generic method +// Synchronization methods +/** +* Enter monitor associated with the object. +* Equivalent of creating a "synchronized(obj)" scope in Java. +*/ +void synchronize(); + +/** +* Exit monitor associated with the object. +* Equivalent of ending a "synchronized(obj)" scope. +*/ +void endSynchronize(); + +// Methods +static void display(JavaVM * jvm_, char const* dataToDisplay); + +static char* readLine(JavaVM * jvm_); + +static void clear(JavaVM * jvm_); + +static void clear(JavaVM * jvm_, int nbLines); + +static int getCharWithoutOutput(JavaVM * jvm_); + +static void toHome(JavaVM * jvm_); + +static void scilabLinesUpdate(JavaVM * jvm_); + +static void setPrompt(JavaVM * jvm_, char const* promptToSet); + +static bool isWaitingForInput(JavaVM * jvm_); + + + /** + * Get class name to use for static methods + * @return class name to use for static methods + */ + + static const std::string className() + { + return "org/scilab/modules/gui/bridge/CallScilabBridge"; + } + + + /** + * Get class to use for static methods + * @return class to use for static methods + */ + + static jclass initClass(JNIEnv * curEnv) + { + static jclass cls = 0; + + if (cls == 0) + { + jclass _cls = curEnv->FindClass(className().c_str()); + if (_cls) + { + cls = static_cast<jclass>(curEnv->NewGlobalRef(_cls)); + } + } + + return cls; + } + +}; + + +} +#endif diff --git a/modules/console/src/jni/DropFiles.i b/modules/console/src/jni/DropFiles.i new file mode 100755 index 000000000..636946e19 --- /dev/null +++ b/modules/console/src/jni/DropFiles.i @@ -0,0 +1,85 @@ +/* Allan CORNET */ +/* INRIA 2007 */ +/* Completion.i */ +/** + * Windows: swig -java -package org.scilab.modules.console -outdir ../java/org/scilab/modules/console/ DropFiles.i + * Other: Use the option --enable-build-swig to the configure +*/ + +%module DropFiles + +%include "../../../jvm/src/jni/scilab_typemaps.i" + +%{ +#include "../c/dropFiles.h" +#include "machine.h" +#include "MALLOC.h" +%} + +/* JavaDoc for DropFilesJNI class */ +%pragma(java) jniclassclassmodifiers=%{ +/* It is generated code. Disable checkstyle */ +//CHECKSTYLE:OFF + /** + * @author Allan CORNET + * @copyright INRIA 2007 + */ +public class%} + +/* Constructor for DropFilesJNI class */ +%pragma(java) jniclasscode=" + /** + * Constructor + */ + protected DropFilesJNI() { + throw new UnsupportedOperationException(); + }"; + +/* static load of library */ +%pragma(java) jniclasscode=%{ + static { + try { + System.loadLibrary("sciconsole"); + } catch (SecurityException e) { + System.err.println("A security manager exists and does not allow the loading of the specified dynamic library."); + System.err.println(e.getLocalizedMessage()); + System.exit(-1); + } catch (UnsatisfiedLinkError e) { + System.err.println("The native library sciconsole does not exist or cannot be found."); + if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) { + System.err.println(e.getLocalizedMessage()); + System.err.println("Current java.library.path is : "+System.getProperty("java.library.path")); + System.exit(-1); + }else{ + System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR"); + } + } + } +%} + +/* JavaDoc for DropFiles class */ +%pragma(java) moduleclassmodifiers=" + /** + * @author Allan CORNET + * @copyright INRIA 2007 + */ +public class"; + +/* Constructor for DropFiles class */ +%pragma(java) modulecode=" + /** + * Constructor + */ + protected DropFiles() { + throw new UnsupportedOperationException(); + }"; + +/* JavaDoc */ +%javamethodmodifiers dropFiles(char **files) " +/** +* drop function on all types for scilab +* @param files list of files +* @return true or false +*/ +public"; +BOOL dropFiles(char **files); diff --git a/modules/console/src/jni/DropFiles_wrap.c b/modules/console/src/jni/DropFiles_wrap.c new file mode 100755 index 000000000..00bc64051 --- /dev/null +++ b/modules/console/src/jni/DropFiles_wrap.c @@ -0,0 +1,243 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * This file is not intended to be easily readable and contains a number of + * coding conventions designed to improve portability and efficiency. Do not make + * changes to this file unless you know what you are doing--modify the SWIG + * interface file instead. + * ----------------------------------------------------------------------------- */ + +#define SWIGJAVA + +/* ----------------------------------------------------------------------------- + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * ----------------------------------------------------------------------------- */ + +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# elif defined(__HP_aCC) +/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ +/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +#endif + +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +# elif defined(__ICC) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +#endif + +#ifndef SWIG_MSC_UNSUPPRESS_4505 +# if defined(_MSC_VER) +# pragma warning(disable : 4505) /* unreferenced local function has been removed */ +# endif +#endif + +#ifndef SWIGUNUSEDPARM +# ifdef __cplusplus +# define SWIGUNUSEDPARM(p) +# else +# define SWIGUNUSEDPARM(p) p SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods */ +#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif +#endif + +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) +# define SWIGEXPORT __attribute__ ((visibility("default"))) +# else +# define SWIGEXPORT +# endif +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE +#endif + +/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ +#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) +# define _SCL_SECURE_NO_DEPRECATE +#endif + + + +/* Fix for jlong on some versions of gcc on Windows */ +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) + typedef long long __int64; +#endif + +/* Fix for jlong on 64-bit x86 Solaris */ +#if defined(__x86_64) +# ifdef _LP64 +# undef _LP64 +# endif +#endif + +#include <jni.h> +#include <stdlib.h> +#include <string.h> + + +/* Support for throwing Java exceptions */ +typedef enum { + SWIG_JavaOutOfMemoryError = 1, + SWIG_JavaIOException, + SWIG_JavaRuntimeException, + SWIG_JavaIndexOutOfBoundsException, + SWIG_JavaArithmeticException, + SWIG_JavaIllegalArgumentException, + SWIG_JavaNullPointerException, + SWIG_JavaDirectorPureVirtual, + SWIG_JavaUnknownError +} SWIG_JavaExceptionCodes; + +typedef struct { + SWIG_JavaExceptionCodes code; + const char *java_exception; +} SWIG_JavaExceptions_t; + + +static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) { + jclass excep; + static const SWIG_JavaExceptions_t java_exceptions[] = { + { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" }, + { SWIG_JavaIOException, "java/io/IOException" }, + { SWIG_JavaRuntimeException, "java/lang/RuntimeException" }, + { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" }, + { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" }, + { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" }, + { SWIG_JavaNullPointerException, "java/lang/NullPointerException" }, + { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" }, + { SWIG_JavaUnknownError, "java/lang/UnknownError" }, + { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } + }; + const SWIG_JavaExceptions_t *except_ptr = java_exceptions; + + while (except_ptr->code != code && except_ptr->code) + except_ptr++; + + (*jenv)->ExceptionClear(jenv); + excep = (*jenv)->FindClass(jenv, except_ptr->java_exception); + if (excep) + (*jenv)->ThrowNew(jenv, excep, msg); +} + + +/* Contract support */ + +#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else + + +#include "../c/dropFiles.h" +#include "machine.h" +#include "MALLOC.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_console_DropFilesJNI_dropFiles(JNIEnv *jenv, jclass jcls, jobjectArray jarg1) { + jboolean jresult = 0 ; + char **arg1 = (char **) 0 ; + jint size1 ; + BOOL result; + + (void)jenv; + (void)jcls; + { + int i = 0; + size1 = (*jenv)->GetArrayLength(jenv, jarg1); + arg1 = (char **) MALLOC((size1+1)*sizeof(char *)); + /* make a copy of each string */ + for (i = 0; i<size1; i++) { + jstring j_string = (jstring)(*jenv)->GetObjectArrayElement(jenv, jarg1, i); + const char * c_string = (*jenv)->GetStringUTFChars(jenv, j_string, 0); + arg1[i] = MALLOC((strlen(c_string)+1)*sizeof(const char *)); + strcpy(arg1[i], c_string); + (*jenv)->ReleaseStringUTFChars(jenv, j_string, c_string); + (*jenv)->DeleteLocalRef(jenv, j_string); + } + arg1[i] = 0; + } + result = dropFiles(arg1); + { + if (result) jresult = JNI_TRUE ; + else jresult = JNI_FALSE ; + } + { + int i; + for (i=0; i<size1-1; i++) { + FREE(arg1[i]); + arg1[i] = NULL; + } + FREE(arg1); + arg1 = NULL; + } + return jresult; +} + + +#ifdef __cplusplus +} +#endif + diff --git a/modules/console/src/jni/GuiManagement.i b/modules/console/src/jni/GuiManagement.i new file mode 100755 index 000000000..fe48c54c6 --- /dev/null +++ b/modules/console/src/jni/GuiManagement.i @@ -0,0 +1,105 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) INRIA - 2007 - Vincent Couvert + * + * 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 + * + */ + + +/* GuiManagement.i */ +/** + * Windows: swig -java -package org.scilab.modules.console -outdir ../java/org/scilab/modules/console/ GuiManagement.i + * Other: Use the option --enable-build-swig to the configure +*/ +%module GuiManagement +%{ +#include "MALLOC.h" +#include "../c/GuiManagement.h" +%} + +%include "../../../jvm/src/jni/scilab_typemaps.i" + +/* JavaDoc for GuiManagementJNI class */ +%pragma(java) jniclassclassmodifiers=%{ +/* It is generated code. Disable checkstyle */ +//CHECKSTYLE:OFF + /** + * All Scilab gui management used in Java console + * @author Vincent COUVERT + * @copyright INRIA 2007 + */ +public class%} + +/* Constructor for GuiManagementJNI class */ +%pragma(java) jniclasscode=" + /** + * Constructor + */ + protected GuiManagementJNI() { + throw new UnsupportedOperationException(); + }"; + +/* static load of library */ +%pragma(java) jniclasscode=%{ + static { + try { + System.loadLibrary("sciconsole"); + } catch (SecurityException e) { + System.err.println("A security manager exists and does not allow the loading of the specified dynamic library."); + System.err.println(e.getLocalizedMessage()); + System.exit(-1); + } catch (UnsatisfiedLinkError e) { + System.err.println("The native library sciconsole does not exist or cannot be found."); + if (System.getenv("CONTINUE_ON_JNI_ERROR") == null) { + System.err.println(e.getLocalizedMessage()); + System.err.println("Current java.library.path is : "+System.getProperty("java.library.path")); + System.exit(-1); + }else{ + System.err.println("Continuing anyway because of CONTINUE_ON_JNI_ERROR"); + } + } + } +%} + + +/* JavaDoc for GuiManagement class */ +%pragma(java) moduleclassmodifiers=" + /** + * All Scilab gui management used in Java console + * @author Vincent COUVERT + * @copyright INRIA 2007 + */ +public class"; + +/* Constructor for GuiManagement class */ +%pragma(java) modulecode=" + /** + * Constructor + */ + protected GuiManagement() { + throw new UnsupportedOperationException(); + }"; + +/* JavaDoc */ +%javamethodmodifiers setScilabLines(int nbRows, int nbCols) " + /** + * Set Scilab parameters used to display data according the size of the console + * @param nbRows number of rows that can be used to display data + * @param nbCols number of columns that can be used to display data + */ +"; +void setScilabLines(int nbRows, int nbCols); + +%javamethodmodifiers setScilabLines(int nbRows, int nbCols) " + /** + * Set Scilab parameters used to display data + * @param nbRows number of rows that can be used to display data + * @param nbCols number of columns that can be used to display data + */ +"; +void forceScilabLines(int nbRows, int nbCols); diff --git a/modules/console/src/jni/GuiManagement_wrap.c b/modules/console/src/jni/GuiManagement_wrap.c new file mode 100755 index 000000000..eb2a1587b --- /dev/null +++ b/modules/console/src/jni/GuiManagement_wrap.c @@ -0,0 +1,225 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 2.0.7 + * + * This file is not intended to be easily readable and contains a number of + * coding conventions designed to improve portability and efficiency. Do not make + * changes to this file unless you know what you are doing--modify the SWIG + * interface file instead. + * ----------------------------------------------------------------------------- */ + +#define SWIGJAVA + +/* ----------------------------------------------------------------------------- + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * ----------------------------------------------------------------------------- */ + +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# elif defined(__HP_aCC) +/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ +/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +#endif + +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +# elif defined(__ICC) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +#endif + +#ifndef SWIG_MSC_UNSUPPRESS_4505 +# if defined(_MSC_VER) +# pragma warning(disable : 4505) /* unreferenced local function has been removed */ +# endif +#endif + +#ifndef SWIGUNUSEDPARM +# ifdef __cplusplus +# define SWIGUNUSEDPARM(p) +# else +# define SWIGUNUSEDPARM(p) p SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods */ +#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif +#endif + +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) +# define SWIGEXPORT __attribute__ ((visibility("default"))) +# else +# define SWIGEXPORT +# endif +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE +#endif + +/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ +#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) +# define _SCL_SECURE_NO_DEPRECATE +#endif + + + +/* Fix for jlong on some versions of gcc on Windows */ +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) + typedef long long __int64; +#endif + +/* Fix for jlong on 64-bit x86 Solaris */ +#if defined(__x86_64) +# ifdef _LP64 +# undef _LP64 +# endif +#endif + +#include <jni.h> +#include <stdlib.h> +#include <string.h> + + +/* Support for throwing Java exceptions */ +typedef enum { + SWIG_JavaOutOfMemoryError = 1, + SWIG_JavaIOException, + SWIG_JavaRuntimeException, + SWIG_JavaIndexOutOfBoundsException, + SWIG_JavaArithmeticException, + SWIG_JavaIllegalArgumentException, + SWIG_JavaNullPointerException, + SWIG_JavaDirectorPureVirtual, + SWIG_JavaUnknownError +} SWIG_JavaExceptionCodes; + +typedef struct { + SWIG_JavaExceptionCodes code; + const char *java_exception; +} SWIG_JavaExceptions_t; + + +static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) { + jclass excep; + static const SWIG_JavaExceptions_t java_exceptions[] = { + { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" }, + { SWIG_JavaIOException, "java/io/IOException" }, + { SWIG_JavaRuntimeException, "java/lang/RuntimeException" }, + { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" }, + { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" }, + { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" }, + { SWIG_JavaNullPointerException, "java/lang/NullPointerException" }, + { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" }, + { SWIG_JavaUnknownError, "java/lang/UnknownError" }, + { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } + }; + const SWIG_JavaExceptions_t *except_ptr = java_exceptions; + + while (except_ptr->code != code && except_ptr->code) + except_ptr++; + + (*jenv)->ExceptionClear(jenv); + excep = (*jenv)->FindClass(jenv, except_ptr->java_exception); + if (excep) + (*jenv)->ThrowNew(jenv, excep, msg); +} + + +/* Contract support */ + +#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else + + +#include "MALLOC.h" +#include "../c/GuiManagement.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +SWIGEXPORT void JNICALL Java_org_scilab_modules_console_GuiManagementJNI_setScilabLines(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) { + int arg1 ; + int arg2 ; + + (void)jenv; + (void)jcls; + arg1 = (int)jarg1; + arg2 = (int)jarg2; + setScilabLines(arg1,arg2); +} + + +SWIGEXPORT void JNICALL Java_org_scilab_modules_console_GuiManagementJNI_forceScilabLines(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) { + int arg1 ; + int arg2 ; + + (void)jenv; + (void)jcls; + arg1 = (int)jarg1; + arg2 = (int)jarg2; + forceScilabLines(arg1,arg2); +} + + +#ifdef __cplusplus +} +#endif + diff --git a/modules/console/src/jni/libsciconsole_la-CallScilabBridge.lo b/modules/console/src/jni/libsciconsole_la-CallScilabBridge.lo new file mode 100755 index 000000000..0f5aa6b69 --- /dev/null +++ b/modules/console/src/jni/libsciconsole_la-CallScilabBridge.lo @@ -0,0 +1,12 @@ +# src/jni/libsciconsole_la-CallScilabBridge.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-CallScilabBridge.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/jni/libsciconsole_la-DropFiles_wrap.lo b/modules/console/src/jni/libsciconsole_la-DropFiles_wrap.lo new file mode 100755 index 000000000..1365613cc --- /dev/null +++ b/modules/console/src/jni/libsciconsole_la-DropFiles_wrap.lo @@ -0,0 +1,12 @@ +# src/jni/libsciconsole_la-DropFiles_wrap.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-DropFiles_wrap.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/jni/libsciconsole_la-GuiManagement_wrap.lo b/modules/console/src/jni/libsciconsole_la-GuiManagement_wrap.lo new file mode 100755 index 000000000..5830deb56 --- /dev/null +++ b/modules/console/src/jni/libsciconsole_la-GuiManagement_wrap.lo @@ -0,0 +1,12 @@ +# src/jni/libsciconsole_la-GuiManagement_wrap.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_la-GuiManagement_wrap.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/noconsole/.deps/.dirstamp b/modules/console/src/noconsole/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/noconsole/.deps/.dirstamp diff --git a/modules/console/src/noconsole/.deps/libsciconsole_minimal_la-noconsole.Plo b/modules/console/src/noconsole/.deps/libsciconsole_minimal_la-noconsole.Plo new file mode 100755 index 000000000..6fc78cf06 --- /dev/null +++ b/modules/console/src/noconsole/.deps/libsciconsole_minimal_la-noconsole.Plo @@ -0,0 +1,126 @@ +src/noconsole/libsciconsole_minimal_la-noconsole.lo: \ + src/noconsole/noconsole.c /usr/include/stdc-predef.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h includes/ConsolePrintf.h \ + includes/dynlib_console.h src/c/ConsoleRead.h includes/dynlib_console.h \ + src/c/ClearConsolePart.h ../../modules/core/includes/BOOL.h \ + src/c/ClearConsole.h src/c/SetConsolePrompt.h \ + includes/InitializeConsole.h src/c/PromptToHome.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h src/c/ScilabLinesUpdate.h \ + src/c/GetCharWithoutOutput.h src/c/ConsoleIsWaitingForInput.h \ + includes/scilines.h ../../modules/core/includes/machine.h + +/usr/include/stdc-predef.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +includes/ConsolePrintf.h: + +includes/dynlib_console.h: + +src/c/ConsoleRead.h: + +includes/dynlib_console.h: + +src/c/ClearConsolePart.h: + +../../modules/core/includes/BOOL.h: + +src/c/ClearConsole.h: + +src/c/SetConsolePrompt.h: + +includes/InitializeConsole.h: + +src/c/PromptToHome.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +src/c/ScilabLinesUpdate.h: + +src/c/GetCharWithoutOutput.h: + +src/c/ConsoleIsWaitingForInput.h: + +includes/scilines.h: + +../../modules/core/includes/machine.h: diff --git a/modules/console/src/noconsole/.dirstamp b/modules/console/src/noconsole/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/console/src/noconsole/.dirstamp diff --git a/modules/console/src/noconsole/.libs/libsciconsole_minimal_la-noconsole.o b/modules/console/src/noconsole/.libs/libsciconsole_minimal_la-noconsole.o Binary files differnew file mode 100755 index 000000000..947551d11 --- /dev/null +++ b/modules/console/src/noconsole/.libs/libsciconsole_minimal_la-noconsole.o diff --git a/modules/console/src/noconsole/core_f_Import.def b/modules/console/src/noconsole/core_f_Import.def new file mode 100755 index 000000000..001986936 --- /dev/null +++ b/modules/console/src/noconsole/core_f_Import.def @@ -0,0 +1,4 @@ + LIBRARY core_f.dll + +EXPORTS +sigbas_ diff --git a/modules/console/src/noconsole/libsciconsole_minimal_la-noconsole.lo b/modules/console/src/noconsole/libsciconsole_minimal_la-noconsole.lo new file mode 100755 index 000000000..c71168e86 --- /dev/null +++ b/modules/console/src/noconsole/libsciconsole_minimal_la-noconsole.lo @@ -0,0 +1,12 @@ +# src/noconsole/libsciconsole_minimal_la-noconsole.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libsciconsole_minimal_la-noconsole.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/console/src/noconsole/noconsole.c b/modules/console/src/noconsole/noconsole.c new file mode 100755 index 000000000..f590beb89 --- /dev/null +++ b/modules/console/src/noconsole/noconsole.c @@ -0,0 +1,80 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Allan CORNET + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 <stdlib.h> +#include "ConsolePrintf.h" +#include "ConsoleRead.h" +#include "ClearConsolePart.h" +#include "ClearConsole.h" +#include "SetConsolePrompt.h" +#include "InitializeConsole.h" +#include "PromptToHome.h" +#include "MALLOC.h" +#include "ScilabLinesUpdate.h" +#include "GetCharWithoutOutput.h" +#include "ConsoleIsWaitingForInput.h" +#include "scilines.h" +/*--------------------------------------------------------------------------*/ +char *ConsoleRead(void) +{ + return NULL; +} +/*--------------------------------------------------------------------------*/ +int ConsolePrintf(char *line) +{ + int len = 0; + return len; +} +/*--------------------------------------------------------------------------*/ +BOOL ClearConsolePart(int nbLines) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ +BOOL ClearConsole(void) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ +int GetCharWithoutOutput() +{ + return 0; +} +/*--------------------------------------------------------------------------*/ +BOOL PromptToHome(void) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ +BOOL SetConsolePrompt(char *Sci_prompt) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ +BOOL InitializeConsole(void) +{ + scilinesdefault(); + return TRUE; +} +/*--------------------------------------------------------------------------*/ +BOOL ConsoleIsWaitingForInput(void) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ +BOOL ScilabLinesUpdate(void) +{ + return FALSE; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/console/src/noconsole/noconsole.rc b/modules/console/src/noconsole/noconsole.rc new file mode 100755 index 000000000..e7fbf3af0 --- /dev/null +++ b/modules/console/src/noconsole/noconsole.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "noconsole module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "noconsole module" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "noconsole.dll" + VALUE "ProductName", " noconsole" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/console/src/noconsole/noconsole.vcxproj b/modules/console/src/noconsole/noconsole.vcxproj new file mode 100755 index 000000000..d99852fec --- /dev/null +++ b/modules/console/src/noconsole/noconsole.vcxproj @@ -0,0 +1,254 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{A1E6DC43-B0B9-4871-9DE5-7940B80A703E}</ProjectGuid> + <RootNamespace>noconsole</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../includes;../../../output_stream/includes;../../../core/includes;../../../api_scilab/includes;../../../windows_tools/includes;../../../windows_tools/src/c/scilab_windows;../../../completion/includes;../../../localization/includes;../../../history_manager/includes;../../../ui_data/includes;../../../jvm/includes;../../../fileio/includes;../../../../libs/intl;../c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)../c/core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../includes;../../../output_stream/includes;../../../core/includes;../../../api_scilab/includes;../../../windows_tools/includes;../../../windows_tools/src/c/scilab_windows;../../../completion/includes;../../../localization/includes;../../../history_manager/includes;../../../ui_data/includes;../../../jvm/includes;../../../fileio/includes;../../../../libs/intl;../c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)../c/core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>../../includes;../../../output_stream/includes;../../../core/includes;../../../api_scilab/includes;../../../windows_tools/includes;../../../windows_tools/src/c/scilab_windows;../../../completion/includes;../../../localization/includes;../../../history_manager/includes;../../../ui_data/includes;../../../jvm/includes;../../../fileio/includes;../../../../libs/intl;../c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)../c/core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>../../includes;../../../output_stream/includes;../../../core/includes;../../../api_scilab/includes;../../../windows_tools/includes;../../../windows_tools/src/c/scilab_windows;../../../completion/includes;../../../localization/includes;../../../history_manager/includes;../../../ui_data/includes;../../../jvm/includes;../../../fileio/includes;../../../../libs/intl;../c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;CONSOLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)../c/core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)core_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core_f.lib" 1>NUL 2>NUL</Command> + </PreLinkEvent> + <Link> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <AdditionalDependencies>core.lib;core_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\..\sci_gateway\c\gw_console.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_clc.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_iswaitingforinput.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_lines.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_prompt.c" /> + <ClCompile Include="..\..\sci_gateway\c\sci_tohome.c" /> + <ClCompile Include="..\c\clc.c" /> + <ClCompile Include="..\c\DllmainConsole.c" /> + <ClCompile Include="..\c\GetCommandLine.c" /> + <ClCompile Include="..\c\more.c" /> + <ClCompile Include="..\c\prompt.c" /> + <ClCompile Include="..\c\promptecho.c" /> + <ClCompile Include="..\c\scilines.c" /> + <ClCompile Include="..\c\tohome.c" /> + <ClCompile Include="..\c\windows\clrscrPart_nw.c" /> + <ClCompile Include="..\c\windows\clrscr_nw.c" /> + <ClCompile Include="..\c\windows\TermCommand.c" /> + <ClCompile Include="..\c\windows\TermCompletion.c" /> + <ClCompile Include="..\c\windows\TermConsole.c" /> + <ClCompile Include="..\c\windows\TermLine.c" /> + <ClCompile Include="..\c\windows\TermPosition.c" /> + <ClCompile Include="..\c\windows\TermPrintf.c" /> + <ClCompile Include="..\c\windows\TermReadAndProcess.c" /> + <ClCompile Include="noconsole.c" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="noconsole.rc" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\..\api_scilab\api_scilab.vcxproj"> + <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\completion\src\c\completion.vcxproj"> + <Project>{ccce1ead-8e62-4dc0-ab17-972c06ef0c89}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\fileio\fileio.vcxproj"> + <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\history_manager\src\c\history_manager.vcxproj"> + <Project>{1b98dc87-44f5-48ae-b5d0-29dd8ad86f5e}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\jvm\libjvm.vcxproj"> + <Project>{8ba2dda8-bd04-4d4d-8ee6-6caa955f7470}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\localization\src\localization.vcxproj"> + <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj"> + <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\ui_data\src\c\ui_data.vcxproj"> + <Project>{142d643b-a9ec-49db-9d48-a925a20f63b1}</Project> + </ProjectReference> + <ProjectReference Include="..\..\..\windows_tools\src\c\scilab_windows\scilab_windows.vcxproj"> + <Project>{8028f371-6a94-4a26-8804-6e7f05f1d1aa}</Project> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/modules/console/src/noconsole/noconsole.vcxproj.filters b/modules/console/src/noconsole/noconsole.vcxproj.filters new file mode 100755 index 000000000..14f6163b6 --- /dev/null +++ b/modules/console/src/noconsole/noconsole.vcxproj.filters @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="Libraries Dependencies"> + <UniqueIdentifier>{5ff496c6-aae2-4ffd-9291-f53996876a58}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="noconsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\gw_console.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_clc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_iswaitingforinput.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_lines.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_prompt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\sci_gateway\c\sci_tohome.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\DllmainConsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\scilines.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\clc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\clrscr_nw.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\clrscrPart_nw.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermPosition.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\prompt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\tohome.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\GetCommandLine.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermReadAndProcess.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermConsole.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermCommand.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermCompletion.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermLine.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\windows\TermPrintf.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\promptecho.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\c\more.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="noconsole.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_10379.dia.ref b/modules/console/tests/nonreg_tests/bug_10379.dia.ref new file mode 100755 index 000000000..5939035ea --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_10379.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 10379 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/10379 +// +// <-- Short Description --> +// lines did not manage a 1x2 vector [nc, nl] as input argument +old_lines_value = lines(); +assert_checkequal(old_lines_value(2), 0); +new_lines_value = [70 30]; +lines(new_lines_value); +modified_lines_value = lines(); +assert_checkequal(modified_lines_value, new_lines_value); +// we restore default values +lines(old_lines_value); +modified_lines_value = lines(); +assert_checkequal(modified_lines_value, old_lines_value); diff --git a/modules/console/tests/nonreg_tests/bug_10379.tst b/modules/console/tests/nonreg_tests/bug_10379.tst new file mode 100755 index 000000000..6063351ec --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_10379.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 10379 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/10379 +// +// <-- Short Description --> +// lines did not manage a 1x2 vector [nc, nl] as input argument + +old_lines_value = lines(); +assert_checkequal(old_lines_value(2), 0); + +new_lines_value = [70 30]; +lines(new_lines_value); + +modified_lines_value = lines(); +assert_checkequal(modified_lines_value, new_lines_value); + +// we restore default values +lines(old_lines_value); +modified_lines_value = lines(); +assert_checkequal(modified_lines_value, old_lines_value); diff --git a/modules/console/tests/nonreg_tests/bug_10431.tst b/modules/console/tests/nonreg_tests/bug_10431.tst new file mode 100755 index 000000000..e5a462ea4 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_10431.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 10431 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/10431 +// +// <-- Short Description --> +// Could not navigate in history in using ctrl+<p|n>. + +// Enter this in the console +// a=10; +// b=5; +// Then hitting CTRL+<P> two times must show the two previous commands
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_10777.tst b/modules/console/tests/nonreg_tests/bug_10777.tst new file mode 100755 index 000000000..e2f39e0d8 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_10777.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 -Scilab Enterprises - Anais AUBERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 10777 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=10777 +// +// <-- Short Description --> +// In some consoles, home and end keys are not trapped + +// i) Have a console opened . +// ii) Write anything +// iii) Hit home key, cursor should move to the beginning of the line + + diff --git a/modules/console/tests/nonreg_tests/bug_13226.c b/modules/console/tests/nonreg_tests/bug_13226.c new file mode 100755 index 000000000..e1b01ff03 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_13226.c @@ -0,0 +1,55 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) Scilab Enterprises - 2014 - Calixte DENIZET + * + * 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 <wchar.h> + +#include "api_scilab.h" +#include "Scierror.h" +#include "MALLOC.h" + +extern void autoCompletionInConsoleMode(wchar_t ** commandLine, unsigned int *cursorLocation); + +/*--------------------------------------------------------------------------*/ +int sci_completecommandline(char *fname, unsigned long fname_len) +{ + SciErr err; + int * addr = NULL; + wchar_t * wstr = NULL; + wchar_t * commandLine = MALLOC(sizeof(wchar_t) * 1024); + double c; + unsigned int cursor; + + CheckOutputArgument(pvApiCtx, 2, 2); + CheckInputArgument(pvApiCtx, 2, 2); + + err = getVarAddressFromPosition(pvApiCtx, 1, &addr); + getAllocatedSingleWideString(pvApiCtx, addr, &wstr); + err = getVarAddressFromPosition(pvApiCtx, 2, &addr); + getScalarDouble(pvApiCtx, addr, &c); + + cursor = (unsigned int)c; + + wcscpy(commandLine, wstr); + freeAllocatedSingleWideString(wstr); + + autoCompletionInConsoleMode(&commandLine, &cursor); + + createSingleWideString(pvApiCtx, 3, commandLine); + createScalarDouble(pvApiCtx, 4, (double)cursor); + + FREE(commandLine); + + AssignOutputVariable(pvApiCtx, 1) = 3; + AssignOutputVariable(pvApiCtx, 2) = 4; + + return 0; +} diff --git a/modules/console/tests/nonreg_tests/bug_13226.dia.ref b/modules/console/tests/nonreg_tests/bug_13226.dia.ref new file mode 100755 index 000000000..bc95a909e --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_13226.dia.ref @@ -0,0 +1,55 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 13226 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13226 +// +// <-- Short Description --> +// Completion with accentued chars could lead to a a crash +// +// <-- LINUX ONLY --> +file_path = SCI + "/modules/console/tests/nonreg_tests/"; +mkdir(TMPDIR + "/console"); +cd(TMPDIR + "/console"); +ilib_verbose(0); +ilib_name = "console_c"; +files = "bug_13226.c"; +for i = 1 : size(files, "*") + copyfile(file_path + "/" + files(i), TMPDIR + "/console"); +end +if isdir(SCI+"/modules/console/includes") then + // Unix source version + libs = SCI + "/modules/console/.libs/libsciconsole"; + cflags = "-I " + SCI +"/modules/console/includes -I " + SCI + "/modules/localization/includes"; +else + // Unix binary version + SCI_LIB = strsubst(SCI,"/share\/scilab$/","lib/scilab" ,"r"); + SCI_INCLUDE = strsubst(SCI,"/share\/scilab$/","include/scilab" ,"r"); + libs = SCI_LIB + "/libsciconsole"; + cflags = "-I " + SCI_INCLUDE; +end +// name known in scilab , C function called +table = ["completecommandline" ,"sci_completecommandline"]; +libname = ilib_build(ilib_name,table,files,libs,[],"",cflags); +clear ilib_build; +clear libname; +clear table; +clear libs; +clear files; +clear ilib_name; +clear gateway_c_dir; +clear SCI_LIB; +clear SCI_INCLUDE; +ierr = exec(TMPDIR + "/console/loader.sce", "errcatch", -1); +createdir(TMPDIR+"/Téléchargements"); +mputl("",TMPDIR+"/Téléchargements/foo.bar"); +cd(TMPDIR); +[r,c] = completecommandline("atomsInstall(""./Téléchargements/f",33); +assert_checkequal(r,"atomsInstall(""./Téléchargements/foo.bar"); +assert_checkequal(c,39); diff --git a/modules/console/tests/nonreg_tests/bug_13226.tst b/modules/console/tests/nonreg_tests/bug_13226.tst new file mode 100755 index 000000000..51d53d85d --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_13226.tst @@ -0,0 +1,65 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// +// <-- Non-regression test for bug 13226 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13226 +// +// <-- Short Description --> +// Completion with accentued chars could lead to a a crash +// +// <-- LINUX ONLY --> +file_path = SCI + "/modules/console/tests/nonreg_tests/"; +mkdir(TMPDIR + "/console"); +cd(TMPDIR + "/console"); + +ilib_verbose(0); +ilib_name = "console_c"; +files = "bug_13226.c"; + +for i = 1 : size(files, "*") + copyfile(file_path + "/" + files(i), TMPDIR + "/console"); +end + +if isdir(SCI+"/modules/console/includes") then + // Unix source version + libs = SCI + "/modules/console/.libs/libsciconsole"; + cflags = "-I " + SCI +"/modules/console/includes -I " + SCI + "/modules/localization/includes"; + +else + // Unix binary version + SCI_LIB = strsubst(SCI,"/share\/scilab$/","lib/scilab" ,"r"); + SCI_INCLUDE = strsubst(SCI,"/share\/scilab$/","include/scilab" ,"r"); + libs = SCI_LIB + "/libsciconsole"; + cflags = "-I " + SCI_INCLUDE; +end + +// name known in scilab , C function called +table = ["completecommandline" ,"sci_completecommandline"]; +libname = ilib_build(ilib_name,table,files,libs,[],"",cflags); + +clear ilib_build; +clear libname; +clear table; +clear libs; +clear files; +clear ilib_name; +clear gateway_c_dir; +clear SCI_LIB; +clear SCI_INCLUDE; + +ierr = exec(TMPDIR + "/console/loader.sce", "errcatch", -1); + +createdir(TMPDIR+"/Téléchargements"); +mputl("",TMPDIR+"/Téléchargements/foo.bar"); +cd(TMPDIR); + +[r,c] = completecommandline("atomsInstall(""./Téléchargements/f",33); +assert_checkequal(r,"atomsInstall(""./Téléchargements/foo.bar"); +assert_checkequal(c,39); diff --git a/modules/console/tests/nonreg_tests/bug_2959.tst b/modules/console/tests/nonreg_tests/bug_2959.tst new file mode 100755 index 000000000..94f2749a4 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_2959.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 2959 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2959 +// +// <-- Short Description --> +// functions on F1, F2, F12 keys are not mapped as scilab 4.x + +// <-- INTERACTIVE TEST --> + +// Launch scilab GUI mode +// on console, press F1 --> launch help browser +// on console, press F2 --> clear console +// on console, press F12 --> open console box (Windows only) + diff --git a/modules/console/tests/nonreg_tests/bug_3286.tst b/modules/console/tests/nonreg_tests/bug_3286.tst new file mode 100755 index 000000000..2ef47d076 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3286.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3286 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3286 +// +// <-- Short Description --> + + +// <-- INTERACTIVE TEST --> +// try : +// ./bin/scilab -nw +//--> fa=gcf() +//--> fa.[TAB] +// it must return nothing (no files) diff --git a/modules/console/tests/nonreg_tests/bug_3297.tst b/modules/console/tests/nonreg_tests/bug_3297.tst new file mode 100755 index 000000000..2583ecc90 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3297.tst @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3297 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3297 +// +// <-- Short Description --> + + +// <-- INTERACTIVE TEST --> +// try : +//get*<TAB> +// it must return nothing diff --git a/modules/console/tests/nonreg_tests/bug_3326.tst b/modules/console/tests/nonreg_tests/bug_3326.tst new file mode 100755 index 000000000..97aaf6672 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3326.tst @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3326 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3326 +// +// <-- Short Description --> +// ESC key clears the command line in the console. + +// <-- INTERACTIVE TEST --> + +// Launch scilab GUI mode +// on console, type some words, press ESC diff --git a/modules/console/tests/nonreg_tests/bug_3487.tst b/modules/console/tests/nonreg_tests/bug_3487.tst new file mode 100755 index 000000000..3608a6a13 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3487.tst @@ -0,0 +1,34 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3487 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3487 +// +// <-- Short Description --> +//In nw & nwni modes: +//-->cd modules/umfpack/s[TAB] +//sci_gateway src +//type r+[TAB] +//-->cd modules/umfpack/sr? +//=> a strange char is added +//Other example: +//-->cd modules/ou[TAB] +//to get "output_stream" +//but I get: +//"modules/oueam" + + +// <-- INTERACTIVE TEST --> +// On Windows +// launch a shell (cmd.exe) +// go to in SCI/bin +// scilex.exe +// cd SCI +//-->cd modules/umfpack/s[TAB] +//-->cd modules/umfpack/sr[TAB] diff --git a/modules/console/tests/nonreg_tests/bug_3702.tst b/modules/console/tests/nonreg_tests/bug_3702.tst new file mode 100755 index 000000000..1145e49c8 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3702.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3702 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3702 +// +// <-- Short Description --> +// When I start Scilex (on Windows) in a windows console, the windows lost the focus. I must hit <alt>+<tab> to gain the focus. + +// <-- INTERACTIVE TEST --> +// On Windows +// launch a shell (cmd.exe) +// go to in SCI/bin +// scilex.exe +// try to type : 1+1 +// if you need to click on console this test is failed
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_3703.tst b/modules/console/tests/nonreg_tests/bug_3703.tst new file mode 100755 index 000000000..07b9d6bfa --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3703.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3703 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3703 +// +// <-- Short Description --> +// cursor blinks too slowly (on Windows scilex). + + +// <-- INTERACTIVE TEST --> +// On Windows +// launch a shell (cmd.exe) +// go to in SCI/bin +// scilex.exe +// checks that cursor blinks ... + diff --git a/modules/console/tests/nonreg_tests/bug_3757.tst b/modules/console/tests/nonreg_tests/bug_3757.tst new file mode 100755 index 000000000..d5669465f --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3757.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3757 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3757 +// +// <-- Short Description --> +// Under Scilex, the completion of paths is incorrect + + +// <-- INTERACTIVE TEST --> +// On Windows +// launch a shell (cmd.exe) +// go to in SCI/bin +// scilex.exe +// creates a directory d:\Project\Test +// cd d:\Pro<TAB> diff --git a/modules/console/tests/nonreg_tests/bug_3996.tst b/modules/console/tests/nonreg_tests/bug_3996.tst new file mode 100755 index 000000000..ba0c1c2ed --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_3996.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3996 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3996 +// +// <-- Short Description --> +// tabulation included in a paste string may make scilab crash in -nw or -nwni mode + +// <-- INTERACTIVE TEST --> + +deff('foo','a=aaaa','n') +try + foo(); + l=0 ;//here there is a tabulation between 0 and ; +end +
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_4014.tst b/modules/console/tests/nonreg_tests/bug_4014.tst new file mode 100755 index 000000000..ce4b8ca1e --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4014.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 4014 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4014 +// +// <-- Short Description --> +// ESC key clears the command line in the console. + +// <-- INTERACTIVE TEST --> + +// 1] Type some commands into Console +// Invoke Preferences -> Clear Console action +// checks prompt position + +// 2] Type some commands into Console +// type : clc +// checks prompt position + +// 3] Type some commands into Console +// F2 key +// checks prompt position + +// prompt position must be same with these 3 cases
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_4087.tst b/modules/console/tests/nonreg_tests/bug_4087.tst new file mode 100755 index 000000000..18f9053de --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4087.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre MARECHAL +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 4087 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4087 +// +// <-- Short Description --> +// Under Mac OS X, a Apple + C shortcut (Ctrl + C) doesn't work from the console. + + +// In Scilab console +// Just type some letters +// Then : <Apple + A> +// => The cursor should be at the beginning of the line + diff --git a/modules/console/tests/nonreg_tests/bug_4262.tst b/modules/console/tests/nonreg_tests/bug_4262.tst new file mode 100755 index 000000000..5a8924c5f --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4262.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 4262 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4262 +// +// <-- Short Description --> +// lines() on master is broken + +// <-- INTERACTIVE TEST --> + +// launch scilab -nw mode +lines() +// checks that values are something as 80 28 (on windows) and not 28 80. diff --git a/modules/console/tests/nonreg_tests/bug_4551.tst b/modules/console/tests/nonreg_tests/bug_4551.tst new file mode 100755 index 000000000..d57f78df2 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4551.tst @@ -0,0 +1,27 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 4551 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4551 +// +// <-- Short Description --> +// all menus returns a error in GUI mode (error 2 Invalid factor) + +// <-- INTERACTIVE TEST --> + +// launch scilab standard mode +// launch scilab --> menu ? --> click on "OK" +// if you have not a message as : +// !--error 2 +//Invalid factor. +// it works :) + + + +
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_4738.tst b/modules/console/tests/nonreg_tests/bug_4738.tst new file mode 100755 index 000000000..8e41c931b --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4738.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 4738 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/4738 +// +// <-- Short Description --> +// The number of columns in the console was badly calculated. +// Test under Windows + +// In the console with default size +1:20 + +// the matrix should be displayed on 3 lines +// In the font chooser, check "Bold" +1:20 + +// If all is ok, the two displays of 1:20 should be the same !! + + + diff --git a/modules/console/tests/nonreg_tests/bug_4840.tst b/modules/console/tests/nonreg_tests/bug_4840.tst new file mode 100755 index 000000000..f1d8c49ab --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4840.tst @@ -0,0 +1,39 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 4840 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/4840 +// +// <-- Short Description --> +// There is a performance problem with the console. +// The more there is text in the console, the slower is the +// display, with exponential times. + +times = [] +rmax = 12 +IMAX = 50; +JMAX = IMAX; +for run = 1:rmax + tic; + for i = 1:IMAX + for j = 1:JMAX + mprintf("I=%d, J=%d\n",i,j); + end + end + t = toc(); + times = [times t]; +end +times + +// The times should be approximatively constant + + diff --git a/modules/console/tests/nonreg_tests/bug_4930.tst b/modules/console/tests/nonreg_tests/bug_4930.tst new file mode 100755 index 000000000..4775d5445 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_4930.tst @@ -0,0 +1,27 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 4930 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/4930 +// +// <-- Short Description --> +// When the console was resized from 0-height to x-height, lines() +// was not correctly updated. + +a=lines();a(2) + +// With the mouse reduce the height of the console to 0. +// Increase the height to something normal + +a=lines();a(2) + +// Should not be 0
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_5475.tst b/modules/console/tests/nonreg_tests/bug_5475.tst new file mode 100755 index 000000000..e9e1ed063 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_5475.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre MARECHAL +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 5475 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5475 +// +// <-- Short Description --> +// drag & drop .xcos file on console did not open xcos diagram + + +// In Scilab console +// drag & drop a .xcos file on console +// xcos diagram should be opened +// + diff --git a/modules/console/tests/nonreg_tests/bug_6408.tst b/modules/console/tests/nonreg_tests/bug_6408.tst new file mode 100755 index 000000000..74d4c5e95 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_6408.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 6408 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/6408 +// +// <-- Short Description --> +// prompt() removed trailing whites. + +prompt('abcd ') + +// the whites must not be removed
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_6819.tst b/modules/console/tests/nonreg_tests/bug_6819.tst new file mode 100755 index 000000000..7c9be6db8 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_6819.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 6819 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/6819 +// +// <-- Short Description --> +// prompt() interpreted '<...>' as html + +prompt('<1>') + +// must display <1> !
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_6895.tst b/modules/console/tests/nonreg_tests/bug_6895.tst new file mode 100755 index 000000000..1444b3d7b --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_6895.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 6895 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6895 +// +// <-- Short Description --> +// completion crashed in -NW mode on some linux. + +// <-- INTERACTIVE TEST --> + +// launch scilab -NW mode +// enter the following command in the scilab console: +// xml2jar('pt_BR') +// then go back to the '2', remove it and while the cursor is on the 'j', enter <TAB> diff --git a/modules/console/tests/nonreg_tests/bug_7568.tst b/modules/console/tests/nonreg_tests/bug_7568.tst new file mode 100755 index 000000000..7716c911b --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_7568.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 7568 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7568 +// +// <-- Short Description --> + +cd TMPDIR; +unix('touch MotorDat.m'); +unix('touch MotorDat.sce'); + +// exec Mot<TAB> and double-click on an item diff --git a/modules/console/tests/nonreg_tests/bug_7625.tst b/modules/console/tests/nonreg_tests/bug_7625.tst new file mode 100755 index 000000000..1b2b274de --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_7625.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 7625 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7625 +// +// <-- Short Description --> +// Problem with selection which disappeared when a window lost the focus. + +// i) Have a terminal and a console opened. +// ii) Select a line in the console. +// iii) Select a line in the terminal. + +// the selection in the console shouldn't disappear. diff --git a/modules/console/tests/nonreg_tests/bug_7700.tst b/modules/console/tests/nonreg_tests/bug_7700.tst new file mode 100755 index 000000000..6061f16ec --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_7700.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 7700 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/7700 +// +// <-- Short Description --> +// Bad proposition in history + +abcde=1; +aaaaa=2; + +// Enter a 'a' and hit the UP key then the two previous expressions should be proposed +// Hit the DOWN key to come back to 'a' and add a 'b', then hit the UP key +// only abcde=1 must be proposed.
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_7815.tst b/modules/console/tests/nonreg_tests/bug_7815.tst new file mode 100755 index 000000000..f6f2067e0 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_7815.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 7815 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/7815 +// +// <-- Short Description --> +// tohome() worked too much + +tohome() + +// enter what you want, all should be as expected
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_8055.tst b/modules/console/tests/nonreg_tests/bug_8055.tst new file mode 100755 index 000000000..a9ba83145 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_8055.tst @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 8055 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8055 +// +// <-- Short Description --> +// lines() was updated when the console got the focus. + +lines(123); +lines() + +// Now give the focus to another window and give it to the console + +lines() + +// The result may be the same as the previous one. diff --git a/modules/console/tests/nonreg_tests/bug_8232.tst b/modules/console/tests/nonreg_tests/bug_8232.tst new file mode 100755 index 000000000..c0e068e1a --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_8232.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 8232 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8232 +// +// <-- Short Description --> +// drag and drop of .scg files (on console) used "xload" and not "load" + +fh = scf(); +plot3d(); +save(TMPDIR + "/foo.scg", "fh"); +close(fh); + +// go to TMPDIR with your file explorer +// select foo.scg and drag and drop on scilab console +// check that plot3d was restored + + diff --git a/modules/console/tests/nonreg_tests/bug_8232_v5.tst b/modules/console/tests/nonreg_tests/bug_8232_v5.tst new file mode 100755 index 000000000..f368814a8 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_8232_v5.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 8232 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8232 +// +// <-- Short Description --> +// drag and drop of .scg files (on console) used "xload" and not "load" + +fh = scf(); +plot3d(); +save(TMPDIR + '/foo.scg',fh); +close(fh); + +// go to TMPDIR with your file explorer +// select foo.scg and drag and drop on scilab console +// check that plot3d was restored + + diff --git a/modules/console/tests/nonreg_tests/bug_9082.tst b/modules/console/tests/nonreg_tests/bug_9082.tst new file mode 100755 index 000000000..d0dccb43a --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9082.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 9082 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/9082 +// +// <-- Short Description --> +// It was not possible to preview LaTeX when it was a second LaTeX string. + +a=["$\frac\pi2$"; "$\int_0^\inftyf(x)\mathrm{d}x$"]; + +// Move the caret on the first and on the second LaTeX string +// The LaTeX preview should be active on the two strings.
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_9168.tst b/modules/console/tests/nonreg_tests/bug_9168.tst new file mode 100755 index 000000000..0b02567c6 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9168.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 9168 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/9168 +// +// <-- Short Description --> +// Bad command line width when completion window was shew at the console bottom. + +// Go to the bottom of the console in hiting <RETURN> several times. +// Hit A, <TAB> and complete with abcd, <RETURN>. +// Press A until more than the console width is gained...
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_9730.dia.ref b/modules/console/tests/nonreg_tests/bug_9730.dia.ref new file mode 100755 index 000000000..58fc49409 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9730.dia.ref @@ -0,0 +1,15 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- Non-regression test for bug 9730 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=9730 +// +// <-- Short Description --> +// lines() returned an int32 and not a double value. +r = lines(); +assert_checkequal(type(r), 1); diff --git a/modules/console/tests/nonreg_tests/bug_9730.tst b/modules/console/tests/nonreg_tests/bug_9730.tst new file mode 100755 index 000000000..d4d0633c4 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9730.tst @@ -0,0 +1,17 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 9730 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=9730 +// +// <-- Short Description --> +// lines() returned an int32 and not a double value. + +r = lines(); +assert_checkequal(type(r), 1); diff --git a/modules/console/tests/nonreg_tests/bug_9950.tst b/modules/console/tests/nonreg_tests/bug_9950.tst new file mode 100755 index 000000000..357a180f7 --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9950.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 9950 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/9950 +// +// <-- Short Description --> +// It was possible to select several texts in the console. + +// Enter text at the prompt (don't hit RETURN) +// Select a part of your text and select a part of the baneer, the first +// selection must be lost.
\ No newline at end of file diff --git a/modules/console/tests/nonreg_tests/bug_9980.tst b/modules/console/tests/nonreg_tests/bug_9980.tst new file mode 100755 index 000000000..dc54330dc --- /dev/null +++ b/modules/console/tests/nonreg_tests/bug_9980.tst @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- INTERACTIVE TEST --> +// <-- TEST WITH CONSOLE --> +// +// <-- Non-regression test for bug 9980 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/9980 +// +// <-- Short Description --> +// Frozen console when one tryes to complete an empty string + +// Put a 'a' in the console, move the caret to the left and hit TAB.
\ No newline at end of file diff --git a/modules/console/tests/unit_tests/lines.tst b/modules/console/tests/unit_tests/lines.tst new file mode 100755 index 000000000..82585366d --- /dev/null +++ b/modules/console/tests/unit_tests/lines.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- INTERACTIVE TEST --> +// ============================================================================= +// start scilab (STD and NW mode) +// + +// Since Scilab 5.4.0 lines(0) by default +r1 = lines(); +assert_checkequal(r1(2),0); + +lines(0); // Should noyt modify anything +r2 = lines(); +assert_checkequal(r2(2),0); +assert_checkequal(r1,r2); + +lines(-1) +r3 = lines(); +assert_checkequal(r1(1), r3(1)); + +// resize window (on STD) +// and do same commands + +// ============================================================================= diff --git a/modules/console/tests/unit_tests/prompt.dia.ref b/modules/console/tests/unit_tests/prompt.dia.ref new file mode 100755 index 000000000..e26988430 --- /dev/null +++ b/modules/console/tests/unit_tests/prompt.dia.ref @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// ============================================================================= +curprompt = prompt(); +if curprompt <> ascii([45. 45. 62.]) then bugmes();quit;end +[curprompt, pause_level] = prompt(); +if curprompt <> ascii([45. 45. 62.]) then bugmes();quit;end +if pause_level <> 0 then bugmes();quit;end +prompt('-- My Prompt -->'); +-- My Prompt -->1+1; +ierr = execstr('[a,b,c] = prompt();','errcatch'); +if ierr <> 78 then bugmes();quit;end +ierr = execstr('[a,b] = prompt(1);','errcatch'); +if ierr <> 999 then bugmes();quit;end +ierr = execstr('[a,b] = prompt(''1'');','errcatch'); +if ierr <> 999 then bugmes();quit;end +// ============================================================================= diff --git a/modules/console/tests/unit_tests/prompt.tst b/modules/console/tests/unit_tests/prompt.tst new file mode 100755 index 000000000..8b2c254f3 --- /dev/null +++ b/modules/console/tests/unit_tests/prompt.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// ============================================================================= +curprompt = prompt(); +if curprompt <> ascii([45. 45. 62.]) then pause,end + +[curprompt, pause_level] = prompt(); +if curprompt <> ascii([45. 45. 62.]) then pause,end +if pause_level <> 0 then pause,end + +prompt('-- My Prompt -->'); +1+1; + +ierr = execstr('[a,b,c] = prompt();','errcatch'); +if ierr <> 78 then pause,end + +ierr = execstr('[a,b] = prompt(1);','errcatch'); +if ierr <> 999 then pause,end + +ierr = execstr('[a,b] = prompt(''1'');','errcatch'); +if ierr <> 999 then pause,end +// ============================================================================= + |