summaryrefslogtreecommitdiffstats
path: root/scilab/modules
diff options
context:
space:
mode:
Diffstat (limited to 'scilab/modules')
-rw-r--r--scilab/modules/Makefile.in2
-rw-r--r--scilab/modules/action_binding/Makefile.in2
-rw-r--r--scilab/modules/action_binding/src/c/InterpreterManagement.c28
-rw-r--r--scilab/modules/action_binding/src/c/action_binding.rc2
-rw-r--r--scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc2
-rw-r--r--scilab/modules/api_scilab/Makefile.in2
-rw-r--r--scilab/modules/api_scilab/src/c/api_scilab.rc2
-rw-r--r--scilab/modules/arnoldi/Makefile.in2
-rw-r--r--scilab/modules/arnoldi/src/c/arnoldi.rc2
-rw-r--r--scilab/modules/ast/Makefile.in2
-rw-r--r--scilab/modules/ast/ast.rc2
-rw-r--r--scilab/modules/ast/includes/ast/breakpoint.hxx26
-rw-r--r--scilab/modules/ast/includes/ast/debugmanager.hxx9
-rw-r--r--scilab/modules/ast/includes/ast/runvisitor.hxx4
-rw-r--r--scilab/modules/ast/includes/ast/treevisitor.hxx2
-rw-r--r--scilab/modules/ast/includes/exps/exp.hxx9
-rw-r--r--scilab/modules/ast/includes/operations/types_dotdivide.hxx26
-rw-r--r--scilab/modules/ast/includes/system_env/configvariable.hxx6
-rw-r--r--scilab/modules/ast/includes/system_env/configvariable_interface.h1
-rw-r--r--scilab/modules/ast/includes/types/implicitlist.hxx5
-rw-r--r--scilab/modules/ast/includes/types/internal.hxx13
-rw-r--r--scilab/modules/ast/includes/types/overload.hxx4
-rw-r--r--scilab/modules/ast/src/cpp/ast/debuggervisitor.cpp72
-rw-r--r--scilab/modules/ast/src/cpp/ast/debugmanager.cpp120
-rw-r--r--scilab/modules/ast/src/cpp/ast/run_CallExp.hpp14
-rw-r--r--scilab/modules/ast/src/cpp/ast/run_MatrixExp.hpp28
-rw-r--r--scilab/modules/ast/src/cpp/ast/run_OpExp.hpp12
-rw-r--r--scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp38
-rw-r--r--scilab/modules/ast/src/cpp/ast/runvisitor.cpp70
-rw-r--r--scilab/modules/ast/src/cpp/ast/treevisitor.cpp105
-rw-r--r--scilab/modules/ast/src/cpp/ast/visitor_common.cpp21
-rw-r--r--scilab/modules/ast/src/cpp/operations/types_power.cpp2
-rw-r--r--scilab/modules/ast/src/cpp/system_env/configvariable.cpp10
-rw-r--r--scilab/modules/ast/src/cpp/system_env/configvariable_interface.cpp5
-rw-r--r--scilab/modules/ast/src/cpp/types/arrayof.cpp22
-rw-r--r--scilab/modules/ast/src/cpp/types/double.cpp6
-rw-r--r--scilab/modules/ast/src/cpp/types/implicitlist.cpp165
-rw-r--r--scilab/modules/ast/src/cpp/types/list.cpp24
-rw-r--r--scilab/modules/ast/src/cpp/types/macro.cpp6
-rw-r--r--scilab/modules/ast/src/cpp/types/mlist.cpp29
-rw-r--r--scilab/modules/ast/src/cpp/types/overload.cpp25
-rw-r--r--scilab/modules/ast/src/cpp/types/sparse.cpp225
-rw-r--r--scilab/modules/ast/src/cpp/types/struct.cpp22
-rw-r--r--scilab/modules/ast/src/cpp/types/tlist.cpp80
-rw-r--r--scilab/modules/ast/src/cpp/types/tostring_common.cpp5
-rw-r--r--scilab/modules/ast/src/cpp/types/types_tools.cpp45
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_12719.tst (renamed from scilab/modules/graphics/tests/nonreg_tests/bug_1025.dia.ref)20
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_14435.tst53
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16069.tst (renamed from scilab/modules/elementary_functions/tests/nonreg_tests/bug_12059.dia.ref)16
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16141.tst (renamed from scilab/modules/sound/tests/nonreg_tests/bug_10942.tst)14
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16151.tst28
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16362.tst31
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16373.dia.ref3
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16396.tst24
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16459.dia.ref6
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16459.tst1
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16498.tst26
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16556.tst45
-rw-r--r--scilab/modules/ast/tests/nonreg_tests/bug_16623.tst19
-rw-r--r--scilab/modules/ast/tests/unit_tests/callstack.tst90
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal.dia.ref1058
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal.tst30
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.dia.ref13
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonequal_with_graphic.tst11
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal.dia.ref1058
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal.tst29
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.dia.ref13
-rw-r--r--scilab/modules/ast/tests/unit_tests/comparisonnonequal_with_graphic.tst11
-rw-r--r--scilab/modules/ast/tests/unit_tests/extract.tst54
-rw-r--r--scilab/modules/ast/tests/unit_tests/insert.dia.ref426
-rw-r--r--scilab/modules/ast/tests/unit_tests/insert.tst24
-rw-r--r--scilab/modules/ast/tests/unit_tests/newtype.dia.ref18
-rw-r--r--scilab/modules/atoms/Makefile.in2
-rw-r--r--scilab/modules/atoms/help/en_US/atomsSetConfig.xml2
-rw-r--r--scilab/modules/atoms/macros/atomsAutoloadList.sci11
-rw-r--r--scilab/modules/atoms/macros/atomsGetInstalled.sci19
-rw-r--r--scilab/modules/atoms/macros/atomsGetLoaded.sci18
-rw-r--r--scilab/modules/atoms/macros/atomsRepositoryAdd.sci2
-rw-r--r--scilab/modules/atoms/macros/atomsRepositoryList.sci10
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci58
-rw-r--r--scilab/modules/boolean/Makefile.in2
-rw-r--r--scilab/modules/boolean/sci_gateway/cpp/sci_bool2s.cpp6
-rw-r--r--scilab/modules/boolean/src/c/boolean.rc2
-rw-r--r--scilab/modules/cacsd/Makefile.in2
-rw-r--r--scilab/modules/cacsd/help/en_US/control_design/control_loop/augment.xml52
-rw-r--r--scilab/modules/cacsd/help/ja_JP/control_design/control_loop/augment.xml65
-rw-r--r--scilab/modules/cacsd/src/c/cacsd.rc2
-rw-r--r--scilab/modules/cacsd/src/fortran/cacsd_f.rc2
-rw-r--r--scilab/modules/cacsd/src/fortran/optml2.f3
-rw-r--r--scilab/modules/cacsd/src/slicot/slicot_f/slicot_f.rc2
-rw-r--r--scilab/modules/cacsd/tests/nonreg_tests/bug_13816.dia.ref3
-rw-r--r--scilab/modules/cacsd/tests/unit_tests/lqe.dia.ref2
-rw-r--r--scilab/modules/call_scilab/Makefile.in2
-rw-r--r--scilab/modules/call_scilab/src/c/call_scilab.rc2
-rw-r--r--scilab/modules/commons/Makefile.in2
-rw-r--r--scilab/modules/commons/src/c/commons.rc2
-rw-r--r--scilab/modules/completion/Makefile.in2
-rw-r--r--scilab/modules/completion/src/c/completion.rc2
-rw-r--r--scilab/modules/completion/src/nocompletion/nocompletion.rc2
-rw-r--r--scilab/modules/console/Makefile.in2
-rw-r--r--scilab/modules/console/etc/XConfiguration-general.xsl2
-rw-r--r--scilab/modules/console/macros/input.sci2
-rw-r--r--scilab/modules/console/src/c/console.rc2
-rw-r--r--scilab/modules/console/src/java/org/scilab/modules/console/SciOutputView.java89
-rw-r--r--scilab/modules/console/src/noconsole/noconsole.rc2
-rw-r--r--scilab/modules/console/tests/nonreg_tests/bug_16549.tst23
-rw-r--r--scilab/modules/console/tests/unit_tests/disp.dia.ref (renamed from scilab/modules/output_stream/tests/unit_tests/disp.dia.ref)0
-rw-r--r--scilab/modules/console/tests/unit_tests/disp.tst (renamed from scilab/modules/output_stream/tests/unit_tests/disp.tst)0
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_complex.dia.ref (renamed from scilab/modules/ast/tests/unit_tests/displaycomplex.dia.ref)0
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_complex.tst (renamed from scilab/modules/ast/tests/unit_tests/displaycomplex.tst)0
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_lists.dia.ref123
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_lists.tst55
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_structures.dia.ref (renamed from scilab/modules/data_structures/tests/unit_tests/struct_display.dia.ref)0
-rw-r--r--scilab/modules/console/tests/unit_tests/disp_structures.tst (renamed from scilab/modules/data_structures/tests/unit_tests/struct_display.tst)0
-rw-r--r--scilab/modules/console/tests/unit_tests/display.dia.ref (renamed from scilab/modules/core/tests/unit_tests/display.dia.ref)131
-rw-r--r--scilab/modules/console/tests/unit_tests/display.tst (renamed from scilab/modules/core/tests/unit_tests/display.tst)21
-rw-r--r--scilab/modules/core/Makefile.in2
-rw-r--r--scilab/modules/core/help/en_US/variables/predefined/percentchars.xml133
-rw-r--r--scilab/modules/core/help/ru_RU/variables/predefined/percentchars.xml135
-rw-r--r--scilab/modules/core/includes/machine.h.in13
-rw-r--r--scilab/modules/core/includes/runner.hxx2
-rw-r--r--scilab/modules/core/macros/percentchars.sci49
-rw-r--r--scilab/modules/core/src/cpp/banner.cpp2
-rw-r--r--scilab/modules/core/src/cpp/runner.cpp12
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_474.dia.ref16
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_6730.dia.ref4
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_6891.dia.ref2
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_7453.dia.ref24
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_7453.tst11
-rw-r--r--scilab/modules/core/tests/unit_tests/comment.dia.ref12
-rw-r--r--scilab/modules/core/tests/unit_tests/format.dia.ref4
-rw-r--r--scilab/modules/core/tests/unit_tests/format.tst3
-rw-r--r--scilab/modules/core/tests/unit_tests/parse.dia.ref17
-rw-r--r--scilab/modules/coverage/Makefile.in2
-rw-r--r--scilab/modules/coverage/coverage.rc2
-rw-r--r--scilab/modules/coverage/help/en_US/covStart.xml75
-rw-r--r--scilab/modules/coverage/sci_gateway/cpp/sci_covStart.cpp9
-rw-r--r--scilab/modules/coverage/src/cpp/CoverModule.cpp76
-rw-r--r--scilab/modules/coverage/src/cpp/CoverResult.cpp2
-rw-r--r--scilab/modules/coverage/tests/unit_tests/covStart.tst27
-rw-r--r--scilab/modules/data_structures/Makefile.in2
-rw-r--r--scilab/modules/data_structures/help/pt_BR/setfield.xml8
-rw-r--r--scilab/modules/data_structures/macros/num2cell.sci54
-rw-r--r--scilab/modules/data_structures/sci_gateway/cpp/sci_getfield.cpp2
-rw-r--r--scilab/modules/data_structures/src/c/data_structures.rc2
-rw-r--r--scilab/modules/data_structures/tests/nonreg_tests/bug_1604.dia.ref2
-rw-r--r--scilab/modules/data_structures/tests/nonreg_tests/bug_4171.dia.ref34
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/list.dia.ref72
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/list.tst5
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/listextraction.dia.ref76
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/listextraction.tst1
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/listinsertion.dia.ref341
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/listinsertion.tst1
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/lstops.dia.ref111
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/lstops.tst1
-rw-r--r--scilab/modules/data_structures/tests/unit_tests/num2cell.tst54
-rw-r--r--scilab/modules/demo_tools/Makefile.in2
-rw-r--r--scilab/modules/demo_tools/macros/demo_file_choice.sci2
-rw-r--r--scilab/modules/demo_tools/macros/demo_folder_choice.sci4
-rw-r--r--scilab/modules/demo_tools/macros/demo_function_choice.sci4
-rw-r--r--scilab/modules/demo_tools/macros/demo_gui.sci2
-rw-r--r--scilab/modules/development_tools/Makefile.in2
-rw-r--r--scilab/modules/development_tools/locales/fr_FR.po16
-rw-r--r--scilab/modules/development_tools/macros/test_run.sci2
-rw-r--r--scilab/modules/development_tools/macros/testexamples.sce6
-rw-r--r--scilab/modules/development_tools/src/fake/Makefile.in2
-rw-r--r--scilab/modules/development_tools/tests/unit_tests/assert/checkfilesequal.dia.ref2
-rw-r--r--scilab/modules/differential_equations/Makefile.in2
-rw-r--r--scilab/modules/differential_equations/sci_gateway/cpp/sci_bvode.cpp34
-rw-r--r--scilab/modules/differential_equations/src/c/differential_equations.rc2
-rw-r--r--scilab/modules/differential_equations/src/fortran/differential_equations_f.rc2
-rw-r--r--scilab/modules/differential_equations/tests/nonreg_tests/bug_12418.dia.ref50
-rw-r--r--scilab/modules/differential_equations/tests/nonreg_tests/bug_12418.tst3
-rw-r--r--scilab/modules/differential_equations/tests/nonreg_tests/bug_4948.dia.ref2
-rw-r--r--scilab/modules/dynamic_link/Makefile.in2
-rw-r--r--scilab/modules/dynamic_link/help/en_US/user.xml33
-rw-r--r--scilab/modules/dynamic_link/help/fr_FR/user.xml31
-rw-r--r--scilab/modules/dynamic_link/help/ja_JP/user.xml33
-rw-r--r--scilab/modules/dynamic_link/help/pt_BR/user.xml32
-rw-r--r--scilab/modules/dynamic_link/help/ru_RU/user.xml32
-rw-r--r--scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci33
-rw-r--r--scilab/modules/dynamic_link/src/c/dynamic_link.rc2
-rw-r--r--scilab/modules/dynamic_link/tests/nonreg_tests/bug_2119.win.dia.ref11
-rw-r--r--scilab/modules/dynamic_link/tests/unit_tests/G_make.win.dia.ref2
-rw-r--r--scilab/modules/dynamic_link/tests/unit_tests/schur_external.win.dia.ref8
-rw-r--r--scilab/modules/elementary_functions/Makefile.in2
-rw-r--r--scilab/modules/elementary_functions/help/en_US/matrixmanipulation/tril.xml (renamed from scilab/modules/elementary_functions/help/en_US/matrixoperations/tril.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/en_US/matrixmanipulation/triu.xml (renamed from scilab/modules/elementary_functions/help/en_US/matrixoperations/triu.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/en_US/searchandsort/gsort.xml116
-rw-r--r--scilab/modules/elementary_functions/help/fr_FR/matrixmanipulation/tril.xml (renamed from scilab/modules/elementary_functions/help/fr_FR/matrixoperations/tril.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/fr_FR/matrixmanipulation/triu.xml (renamed from scilab/modules/elementary_functions/help/fr_FR/matrixoperations/triu.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/tril.xml (renamed from scilab/modules/elementary_functions/help/ja_JP/matrixoperations/tril.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/triu.xml (renamed from scilab/modules/elementary_functions/help/ja_JP/matrixoperations/triu.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/pt_BR/matrixmanipulation/tril.xml (renamed from scilab/modules/elementary_functions/help/pt_BR/matrixoperations/tril.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/pt_BR/matrixmanipulation/triu.xml (renamed from scilab/modules/elementary_functions/help/pt_BR/matrixoperations/triu.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/ru_RU/matrixmanipulation/tril.xml (renamed from scilab/modules/elementary_functions/help/ru_RU/matrixoperations/tril.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/ru_RU/matrixmanipulation/triu.xml (renamed from scilab/modules/elementary_functions/help/ru_RU/matrixoperations/triu.xml)0
-rw-r--r--scilab/modules/elementary_functions/help/ru_RU/searchandsort/gsort.xml118
-rw-r--r--scilab/modules/elementary_functions/macros/%gsort_multilevel.sci7
-rw-r--r--scilab/modules/elementary_functions/macros/%hm_gsort.sci70
-rw-r--r--scilab/modules/elementary_functions/macros/bitget.sci1
-rw-r--r--scilab/modules/elementary_functions/macros/bitset.sci4
-rw-r--r--scilab/modules/elementary_functions/macros/unique.sci3
-rw-r--r--scilab/modules/elementary_functions/sci_gateway/cpp/sci_gsort.cpp64
-rw-r--r--scilab/modules/elementary_functions/sci_gateway/cpp/sci_imult.cpp25
-rw-r--r--scilab/modules/elementary_functions/sci_gateway/cpp/sci_size.cpp9
-rw-r--r--scilab/modules/elementary_functions/src/c/elementary_functions.rc2
-rw-r--r--scilab/modules/elementary_functions/src/fortran/eispack/eispack_f.rc2
-rw-r--r--scilab/modules/elementary_functions/src/fortran/elementary_functions_f.rc2
-rw-r--r--scilab/modules/elementary_functions/src/fortran/linpack/linpack_f.rc2
-rw-r--r--scilab/modules/elementary_functions/src/fortran/slatec/slatec_f.rc2
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_12059.tst7
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_13515.dia.ref279
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_13515.tst54
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_14204.dia.ref16
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_14204.tst7
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_15736.tst4
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_16474.tst (renamed from scilab/modules/sound/tests/nonreg_tests/bug_10942.dia.ref)14
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_16522.tst26
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_16553.tst20
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_16559.tst22
-rw-r--r--scilab/modules/elementary_functions/tests/nonreg_tests/bug_4810.tst9
-rw-r--r--scilab/modules/elementary_functions/tests/unit_tests/IEEEcompatibility.dia.ref2
-rw-r--r--scilab/modules/elementary_functions/tests/unit_tests/gsort.tst114
-rw-r--r--scilab/modules/elementary_functions/tests/unit_tests/gsort_hypermat_all_types.tst119
-rw-r--r--scilab/modules/elementary_functions/tests/unit_tests/gsort_multilevel_complex.tst7
-rw-r--r--scilab/modules/external_objects/Makefile.in2
-rw-r--r--scilab/modules/external_objects/external_objects.rc2
-rw-r--r--scilab/modules/external_objects_java/Makefile.in2
-rw-r--r--scilab/modules/external_objects_java/external_objects_java.rc2
-rw-r--r--scilab/modules/external_objects_java/tests/unit_tests/jallowClassReloading.dia.ref3
-rw-r--r--scilab/modules/external_objects_java/tests/unit_tests/jinvoke_db.dia.ref3
-rw-r--r--scilab/modules/fftw/Makefile.in2
-rw-r--r--scilab/modules/fftw/src/c/fftw.rc2
-rw-r--r--scilab/modules/fftw/src/nofftw/nofftw.rc2
-rw-r--r--scilab/modules/fileio/Makefile.in2
-rw-r--r--scilab/modules/fileio/help/en_US/path_filename/get_absolute_file_path.xml41
-rw-r--r--scilab/modules/fileio/help/ru_RU/directory/chdir.xml3
-rw-r--r--scilab/modules/fileio/help/ru_RU/directory/createdir.xml3
-rw-r--r--scilab/modules/fileio/help/ru_RU/directory/isdir.xml5
-rw-r--r--scilab/modules/fileio/help/ru_RU/file_system/copyfile.xml4
-rw-r--r--scilab/modules/fileio/help/ru_RU/file_system/listfiles.xml4
-rw-r--r--scilab/modules/fileio/help/ru_RU/getURL.xml196
-rw-r--r--scilab/modules/fileio/help/ru_RU/io.xml2
-rw-r--r--scilab/modules/fileio/help/ru_RU/mopen.xml3
-rw-r--r--scilab/modules/fileio/help/ru_RU/path_filename/dirname.xml10
-rw-r--r--scilab/modules/fileio/help/ru_RU/path_filename/get_absolute_file_path.xml51
-rw-r--r--scilab/modules/fileio/help/ru_RU/path_filename/splitURL.xml172
-rw-r--r--scilab/modules/fileio/sci_gateway/cpp/fileio_gw.vcxproj6
-rw-r--r--scilab/modules/fileio/sci_gateway/cpp/sci_get_absolute_file_path.cpp47
-rw-r--r--scilab/modules/fileio/src/c/fileio.rc2
-rw-r--r--scilab/modules/fileio/tests/nonreg_tests/bug_1693.win.dia.ref1
-rw-r--r--scilab/modules/fileio/tests/unit_tests/get_absolute_file_path.tst51
-rw-r--r--scilab/modules/functions/Makefile.in2
-rw-r--r--scilab/modules/functions/macros/expression2code.sci17
-rw-r--r--scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp4
-rw-r--r--scilab/modules/functions/tests/nonreg_tests/bug_16297.tst32
-rw-r--r--scilab/modules/functions_manager/Makefile.in2
-rw-r--r--scilab/modules/graph/Makefile.in2
-rw-r--r--scilab/modules/graphic_export/Makefile.in2
-rw-r--r--scilab/modules/graphic_export/graphic_export.rc2
-rw-r--r--scilab/modules/graphic_export/help/en_US/addchapter.sce2
-rw-r--r--scilab/modules/graphic_export/help/fr_FR/addchapter.sce2
-rwxr-xr-xscilab/modules/graphic_export/help/ja_JP/addchapter.sce2
-rw-r--r--scilab/modules/graphic_export/help/pt_BR/addchapter.sce2
-rw-r--r--scilab/modules/graphic_export/help/ru_RU/addchapter.sce2
-rw-r--r--scilab/modules/graphic_export/src/nographic_export/nographic_export.rc2
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_13676.dia.ref3
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_4231.dia.ref2
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_4273.dia.ref2
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_4437.dia.ref2
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_4944.dia.ref2
-rw-r--r--scilab/modules/graphic_export/tests/unit_tests/gif_non_empty_file.dia.ref1
-rw-r--r--scilab/modules/graphic_export/tests/unit_tests/ps_non_empty_file.dia.ref2
-rw-r--r--scilab/modules/graphic_objects/Makefile.in2
-rw-r--r--scilab/modules/graphic_objects/src/cpp/MeshFecDataDecomposer.cpp4
-rw-r--r--scilab/modules/graphic_objects/tests/unit_tests/gda_userdata.tst4
-rw-r--r--scilab/modules/graphics/Makefile.in2
-rw-r--r--scilab/modules/graphics/demos/anim/pong/pong.sce21
-rw-r--r--scilab/modules/graphics/graphic.rc2
-rw-r--r--scilab/modules/graphics/help/en_US/2d_plot/champ_properties.xml34
-rw-r--r--scilab/modules/graphics/help/en_US/2d_plot/plot.xml2
-rw-r--r--scilab/modules/graphics/help/en_US/2d_plot/plot2d.xml774
-rw-r--r--scilab/modules/graphics/help/en_US/3d_plot/plot3d.xml2
-rw-r--r--scilab/modules/graphics/help/en_US/3d_plot/surf.xml6
-rw-r--r--scilab/modules/graphics/help/en_US/Graphics.xml4
-rw-r--r--scilab/modules/graphics/help/en_US/axes_operations/gca.xml2
-rw-r--r--scilab/modules/graphics/help/en_US/axes_operations/replot.xml4
-rw-r--r--scilab/modules/graphics/help/en_US/axes_operations/sda.xml2
-rw-r--r--scilab/modules/graphics/help/en_US/figure_operations/pixel_drawing_mode.xml2
-rw-r--r--scilab/modules/graphics/help/en_US/figure_operations/winsid.xml8
-rw-r--r--scilab/modules/graphics/help/en_US/figure_operations/xdel.xml21
-rw-r--r--scilab/modules/graphics/help/en_US/handle/delete.xml3
-rw-r--r--scilab/modules/graphics/help/en_US/load_save/xload.xml2
-rw-r--r--scilab/modules/graphics/help/fr_FR/Graphics.xml4
-rw-r--r--scilab/modules/graphics/help/fr_FR/axes_operations/replot.xml4
-rw-r--r--scilab/modules/graphics/help/fr_FR/figure_operations/pixel_drawing_mode.xml2
-rw-r--r--scilab/modules/graphics/help/fr_FR/figure_operations/winsid.xml8
-rw-r--r--scilab/modules/graphics/help/fr_FR/figure_operations/xdel.xml46
-rw-r--r--scilab/modules/graphics/help/ja_JP/2d_plot/champ_properties.xml257
-rw-r--r--scilab/modules/graphics/help/ja_JP/2d_plot/plot.xml2
-rw-r--r--scilab/modules/graphics/help/ja_JP/2d_plot/plot2d.xml685
-rw-r--r--scilab/modules/graphics/help/ja_JP/3d_plot/plot3d.xml694
-rw-r--r--scilab/modules/graphics/help/ja_JP/3d_plot/surf.xml6
-rw-r--r--scilab/modules/graphics/help/ja_JP/Graphics.xml2
-rw-r--r--scilab/modules/graphics/help/ja_JP/axes_operations/gca.xml77
-rw-r--r--scilab/modules/graphics/help/ja_JP/axes_operations/replot.xml4
-rw-r--r--scilab/modules/graphics/help/ja_JP/axes_operations/sda.xml2
-rw-r--r--scilab/modules/graphics/help/ja_JP/figure_operations/winsid.xml58
-rw-r--r--scilab/modules/graphics/help/ja_JP/figure_operations/xdel.xml87
-rw-r--r--scilab/modules/graphics/help/pt_BR/2d_plot/champ_properties.xml47
-rw-r--r--scilab/modules/graphics/help/pt_BR/2d_plot/plot.xml2
-rw-r--r--scilab/modules/graphics/help/pt_BR/2d_plot/plot2d.xml842
-rw-r--r--scilab/modules/graphics/help/pt_BR/3d_plot/plot3d.xml4
-rw-r--r--scilab/modules/graphics/help/pt_BR/3d_plot/surf.xml4
-rw-r--r--scilab/modules/graphics/help/pt_BR/Graphics.xml4
-rw-r--r--scilab/modules/graphics/help/pt_BR/axes_operations/gca.xml2
-rw-r--r--scilab/modules/graphics/help/pt_BR/axes_operations/replot.xml4
-rw-r--r--scilab/modules/graphics/help/pt_BR/axes_operations/sda.xml2
-rw-r--r--scilab/modules/graphics/help/pt_BR/figure_operations/winsid.xml8
-rw-r--r--scilab/modules/graphics/help/pt_BR/figure_operations/xdel.xml45
-rw-r--r--scilab/modules/graphics/help/ru_RU/Graphics.xml2
-rw-r--r--scilab/modules/graphics/help/ru_RU/figure_operations/winsid.xml8
-rw-r--r--scilab/modules/graphics/help/ru_RU/figure_operations/xdel.xml22
-rw-r--r--scilab/modules/graphics/macros/xload.sci2
-rw-r--r--scilab/modules/graphics/sci_gateway/c/sci_plot2d.c4
-rw-r--r--scilab/modules/graphics/sci_gateway/c/sci_xdel.c4
-rw-r--r--scilab/modules/graphics/sci_gateway/c/sci_xlfont.c4
-rw-r--r--scilab/modules/graphics/src/nographics/nographics.rc2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1025.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1134.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_11738.dia.ref24
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_11738.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1201.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_12119.dia.ref23
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_12163.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_13402.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_13441.dia.ref1
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_13733.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_14036.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1448.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_14488.tst21
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_15418.tst8
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1560.dia.ref8
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1582.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1587.dia.ref32
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1587.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1682.dia.ref45
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1682.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1696.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1720.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_174.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1839.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1873.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1902.dia.ref49
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_1902.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2045.dia.ref38
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2045.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2124.dia.ref19
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2124.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2141.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2175.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2210.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2222.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2255.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2365.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2540.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2577.dia.ref24
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2577.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2631.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2797.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2813.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2814.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2870.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2888.dia.ref10
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2934.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2936.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2953.dia.ref3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_2983.dia.ref3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3036.dia.ref23
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3036.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3101.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3118.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3184.dia.ref3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3204.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3225.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3390.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3454.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3470.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3475.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3527.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3572.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3608.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3621.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_367.tst2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3800.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3903.dia.ref31
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3903.tst39
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3952.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3953.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_3954.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4093.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4106.dia.ref4
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4221.dia.ref24
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4221.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4236.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4463.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_4640.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_487.dia.ref37
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_487.tst3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_5430.tst12
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_5844.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_6531.dia.ref3
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_6720.dia.ref1
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_6959.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_7509.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_7998.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_8786.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_9052.tst18
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_H.dia.ref15
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_H.tst5
-rw-r--r--scilab/modules/graphics/tests/nonreg_tests/bug_surf_deadlock.tst2
-rw-r--r--scilab/modules/graphics/tests/unit_tests/Matplot.dia.ref21
-rw-r--r--scilab/modules/graphics/tests/unit_tests/arc.dia.ref14
-rw-r--r--scilab/modules/graphics/tests/unit_tests/fec.dia.ref11
-rw-r--r--scilab/modules/graphics/tests/unit_tests/figure.resizefcn.dia.ref2
-rw-r--r--scilab/modules/graphics/tests/unit_tests/gce.dia.ref3
-rw-r--r--scilab/modules/graphics/tests/unit_tests/glue_unglue.dia.ref30
-rw-r--r--scilab/modules/graphics/tests/unit_tests/grayplot.dia.ref33
-rw-r--r--scilab/modules/graphics/tests/unit_tests/is_handle_valid.dia.ref28
-rw-r--r--scilab/modules/graphics/tests/unit_tests/line_style.dia.ref8
-rw-r--r--scilab/modules/graphics/tests/unit_tests/locate.tst2
-rw-r--r--scilab/modules/graphics/tests/unit_tests/mesh.dia.ref60
-rw-r--r--scilab/modules/graphics/tests/unit_tests/polyline.dia.ref28
-rw-r--r--scilab/modules/graphics/tests/unit_tests/rectangle.dia.ref20
-rw-r--r--scilab/modules/graphics/tests/unit_tests/segs.dia.ref54
-rw-r--r--scilab/modules/graphics/tests/unit_tests/swap_handles.dia.ref50
-rw-r--r--scilab/modules/graphics/tests/unit_tests/swap_handles.tst7
-rw-r--r--scilab/modules/graphics/tests/unit_tests/ticks.dia.ref72
-rw-r--r--scilab/modules/graphics/tests/unit_tests/xlfont.tst28
-rw-r--r--scilab/modules/graphics/tests/unit_tests/xload.tst22
-rw-r--r--scilab/modules/graphics/tests/unit_tests/xstring.dia.ref66
-rw-r--r--scilab/modules/gui/Makefile.in2
-rw-r--r--scilab/modules/gui/etc/graphics_menubar.xml2
-rw-r--r--scilab/modules/gui/etc/graphics_toolbar.xml2
-rw-r--r--scilab/modules/gui/help/en_US/close.xml31
-rw-r--r--scilab/modules/gui/help/en_US/findobj.xml71
-rw-r--r--scilab/modules/gui/help/en_US/layout/grid_layout_options_properties.xml15
-rw-r--r--scilab/modules/gui/help/ja_JP/close.xml38
-rw-r--r--scilab/modules/gui/help/ja_JP/findobj.xml87
-rw-r--r--scilab/modules/gui/help/ja_JP/layout/grid_layout_options_properties.xml17
-rw-r--r--scilab/modules/gui/help/ru_RU/close.xml105
-rw-r--r--scilab/modules/gui/macros/close.sci17
-rw-r--r--scilab/modules/gui/macros/findobj.sci203
-rw-r--r--scilab/modules/gui/src/c/gui.rc2
-rw-r--r--scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/helpbrowser/SwingScilabHelpBrowser.java66
-rw-r--r--scilab/modules/gui/src/java/org/scilab/modules/gui/datatip/DatatipManagerMode.java23
-rw-r--r--scilab/modules/gui/src/java/org/scilab/modules/gui/helpbrowser/ScilabHelpBrowser.java17
-rw-r--r--scilab/modules/gui/src/nogui/nogui.rc2
-rw-r--r--scilab/modules/gui/tests/nonreg_tests/bug_2565.dia.ref2
-rw-r--r--scilab/modules/gui/tests/nonreg_tests/bug_8827.dia.ref1
-rw-r--r--scilab/modules/gui/tests/unit_tests/lookandfeel.tst2
-rw-r--r--scilab/modules/hdf5/Makefile.in2
-rw-r--r--scilab/modules/hdf5/src/c/hdf5.rc2
-rw-r--r--scilab/modules/hdf5/tests/nonreg_tests/bug_14886.tst2
-rw-r--r--scilab/modules/hdf5/tests/nonreg_tests/bug_15501.dia.ref2
-rw-r--r--scilab/modules/helptools/Makefile.in2
-rw-r--r--scilab/modules/helptools/data/configuration/scilab_macros.txt55
-rw-r--r--scilab/modules/helptools/etc/images_md5.txt14
-rw-r--r--scilab/modules/helptools/images/_LaTeX_fft.xml_1.pngbin2273 -> 2595 bytes
-rw-r--r--scilab/modules/helptools/images/_LaTeX_fft.xml_2.pngbin2307 -> 2700 bytes
-rw-r--r--scilab/modules/helptools/images/cell_view.pngbin0 -> 6206 bytes
-rw-r--r--scilab/modules/helptools/images/interp1_1.pngbin14171 -> 16355 bytes
-rw-r--r--scilab/modules/helptools/images/library_view.pngbin0 -> 10345 bytes
-rw-r--r--scilab/modules/helptools/images/list_view.pngbin0 -> 4769 bytes
-rw-r--r--scilab/modules/helptools/images/structure_view.pngbin0 -> 7300 bytes
-rw-r--r--scilab/modules/helptools/macros/helpbrowser_menus_cb.sci1
-rw-r--r--scilab/modules/helptools/src/c/helptools.rc2
-rw-r--r--scilab/modules/helptools/tests/nonreg_tests/bug_10505.win.dia.ref2
-rw-r--r--scilab/modules/helptools/tests/nonreg_tests/bug_1768.win.dia.ref5
-rw-r--r--scilab/modules/helptools/tests/nonreg_tests/bug_8756.win.dia.ref2
-rw-r--r--scilab/modules/helptools/tests/unit_tests/xmltohtml.win.dia.ref12
-rw-r--r--scilab/modules/helptools/tests/unit_tests/xmltojar.win.dia.ref12
-rw-r--r--scilab/modules/helptools/tests/unit_tests/xmltopdf.win.dia.ref12
-rw-r--r--scilab/modules/helptools/tests/unit_tests/xmltops.win.dia.ref12
-rw-r--r--scilab/modules/history_browser/Makefile.in2
-rw-r--r--scilab/modules/history_browser/src/c/history_browser.rc2
-rw-r--r--scilab/modules/history_browser/src/nohistory_browser/nohistory_browser.rc2
-rw-r--r--scilab/modules/history_manager/Makefile.in2
-rw-r--r--scilab/modules/history_manager/src/c/history_manager.rc2
-rw-r--r--scilab/modules/integer/Makefile.in2
-rw-r--r--scilab/modules/integer/macros/%i_d_s.sci20
-rw-r--r--scilab/modules/integer/macros/%i_r_s.sci5
-rw-r--r--scilab/modules/integer/macros/%s_d_i.sci21
-rw-r--r--scilab/modules/integer/macros/%s_r_i.sci5
-rw-r--r--scilab/modules/integer/src/c/integer.rc2
-rw-r--r--scilab/modules/integer/tests/nonreg_tests/bug_16512.tst28
-rw-r--r--scilab/modules/interpolation/Makefile.in2
-rw-r--r--scilab/modules/interpolation/help/en_US/interp1.xml357
-rw-r--r--scilab/modules/interpolation/help/ja_JP/interp1.xml200
-rw-r--r--scilab/modules/interpolation/help/pt_BR/interp1.xml182
-rw-r--r--scilab/modules/interpolation/help/ru_RU/interp1.xml356
-rw-r--r--scilab/modules/interpolation/macros/interp1.sci704
-rw-r--r--scilab/modules/interpolation/sci_gateway/cpp/sci_interp.cpp12
-rw-r--r--scilab/modules/interpolation/src/c/interpolation.rc2
-rw-r--r--scilab/modules/interpolation/src/fortran/interpolation_f.rc2
-rw-r--r--scilab/modules/interpolation/tests/nonreg_tests/bug_461.dia.ref41
-rw-r--r--scilab/modules/interpolation/tests/nonreg_tests/bug_461.tst5
-rw-r--r--scilab/modules/interpolation/tests/unit_tests/interp1.tst654
-rw-r--r--scilab/modules/io/Makefile.in2
-rw-r--r--scilab/modules/io/src/c/io.rc2
-rw-r--r--scilab/modules/io/tests/nonreg_tests/bug_12296.dia.ref2
-rw-r--r--scilab/modules/io/tests/nonreg_tests/bug_3453.dia.ref4
-rw-r--r--scilab/modules/javasci/Makefile.in6
-rw-r--r--scilab/modules/javasci/javasci.rc2
-rw-r--r--scilab/modules/jvm/Makefile.in2
-rw-r--r--scilab/modules/jvm/src/c/libjvm.rc2
-rw-r--r--scilab/modules/jvm/src/nojvm/nojvm.rc2
-rw-r--r--scilab/modules/linear_algebra/Makefile.in2
-rw-r--r--scilab/modules/linear_algebra/sci_gateway/cpp/sci_inv.cpp18
-rw-r--r--scilab/modules/linear_algebra/src/c/linear_algebra.rc2
-rw-r--r--scilab/modules/linear_algebra/src/fortran/linear_algebra_f.rc2
-rw-r--r--scilab/modules/localization/Makefile.in2
-rw-r--r--scilab/modules/localization/src/localization.rc2
-rw-r--r--scilab/modules/localization/tests/nonreg_tests/bug_13986.dia.ref32
-rw-r--r--scilab/modules/localization/tests/unit_tests/UTF-8_Identifiers.dia.ref32
-rw-r--r--scilab/modules/localization/tests/unit_tests/setlanguage.dia.ref10
-rw-r--r--scilab/modules/localization/tests/unit_tests/unicode_io.win.dia.ref24
-rw-r--r--scilab/modules/m2sci/Makefile.in2
-rw-r--r--scilab/modules/m2sci/help/en_US/compatibility_functions/mtlb_close.xml5
-rw-r--r--scilab/modules/m2sci/help/en_US/m2sci_equivalents/c/close.xml6
-rw-r--r--scilab/modules/m2sci/help/fr_FR/compatibility_functions/mtlb_close.xml5
-rw-r--r--scilab/modules/m2sci/help/ru_RU/compatibility_functions/mtlb_close.xml93
-rw-r--r--scilab/modules/m2sci/macros/compat_functions/mtlb_close.sci4
-rw-r--r--scilab/modules/m2sci/macros/compat_functions/mtlb_dir.sci4
-rw-r--r--scilab/modules/m2sci/macros/kernel/%infer_i_st.sci15
-rw-r--r--scilab/modules/m2sci/macros/kernel/m2sci.sci5
-rw-r--r--scilab/modules/m2sci/macros/sci_files/sci_close.sci4
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1003.dia.ref33
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1003.tst33
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1004.dia.ref3
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1004.tst18
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1082.dia.ref35
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1082.tst15
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1123.dia.ref15
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1123.tst15
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1124.dia.ref47
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1124.tst21
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1149.tst13
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1262.tst10
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1468.dia.ref54
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1468.tst18
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_16215.tst26
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1629.dia.ref166
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1629.tst55
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1636.dia.ref23
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1636.tst23
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1662.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1812.dia.ref69
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1812.tst69
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1971.dia.ref15
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_1971.tst15
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_2137.dia.ref13
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_2137.tst13
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_2656.dia.ref19
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_2656.tst19
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_681.dia.ref9
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_681.tst9
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_682.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_699.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_750.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_800.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_800.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_853.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_857.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_857.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_859.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_862.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_862.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_924.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_924.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_925.dia.ref10
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_925.tst10
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_942.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_943.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_943.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_945.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_945.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_946.tst8
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_973.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/bug_979.tst6
-rw-r--r--scilab/modules/m2sci/tests/nonreg_tests/compat_functions/bug_1725.dia.ref16
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/AXIS.dia.ref8
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/BEEP.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/BLANKS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/BOX.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/BREAK.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLA.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLEAR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLF.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLOCK.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLOSE.dia.ref22
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CLOSEREQ.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/COLORDEF.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CONTINUE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/CPUTIME.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DATE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DELETE.dia.ref9
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DIARY.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DIR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DISP.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DISPLAY.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DOC.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DOCOPT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DOS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/DRAWNOW.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ERROR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ETIME.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/EVAL.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/EXIST.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/EXIT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FCLOSE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FEOF.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FERROR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FEVAL.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FGETL.dia.ref8
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FGETS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FILEPARTS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FILESEP.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FOPEN.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FORMAT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FPRINTF.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FREAD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FREWIND.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FSCANF.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FSEEK.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FTELL.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FULLFILE.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/FWRITE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/GETENV.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/GLOBAL.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/GRAYMON.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/GRID.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HELP.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HELPBROWSER.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HELPDESK.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HELPWIN.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HOLD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/HORZCAT.dia.ref19
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/INPUT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISA.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISCELL.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISDIR.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISEQUAL.dia.ref11
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISFIELD.dia.ref13
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISGLOBAL.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISHANDLE.dia.ref9
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISHOLD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISINTEGER.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISNUMERIC.dia.ref7
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISPC.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISSTRUCT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/ISUNIX.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/KEYBOARD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/LOAD.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/LOOKFOR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/MKDIR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/MORE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/NUM2STR.dia.ref10
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/OPERATORS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/PAUSE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/PLOT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/QUIT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/REALMAX.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/REALMIN.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/REPMAT.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/RETURN.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/SAVE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/TIC.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/TOC.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/TYPE.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/UIGETDIR.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/UNIX.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/VERTCAT.dia.ref20
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/WAITFORBUTTONPRESS.dia.ref9
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/WARNING.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/WHO.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/WHOS.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/WINQUERYREG.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/syntax.dia.ref6
-rw-r--r--scilab/modules/m2sci/tests/unit_tests/conversion/testcells.dia.ref6
-rw-r--r--scilab/modules/matio/Makefile.in2
-rw-r--r--scilab/modules/matio/src/c/matio.rc2
-rw-r--r--scilab/modules/matio/tests/nonreg_tests/bug_8783.dia.ref2
-rw-r--r--scilab/modules/matio/tests/unit_tests/loadmatfile.dia.ref328
-rw-r--r--scilab/modules/mexlib/Makefile.in2
-rw-r--r--scilab/modules/mexlib/src/cpp/mexlib.cpp29
-rw-r--r--scilab/modules/mexlib/src/libmat/libmat.rc2
-rw-r--r--scilab/modules/mexlib/src/libmex/libmex.rc2
-rw-r--r--scilab/modules/mexlib/src/libmx/libmx.rc2
-rw-r--r--scilab/modules/modules_manager/Makefile.in2
-rw-r--r--scilab/modules/modules_manager/tests/unit_tests/tbx_make.win.dia.ref10
-rw-r--r--scilab/modules/mpi/Makefile.in2
-rw-r--r--scilab/modules/mpi/src/c/mpi.rc2
-rw-r--r--scilab/modules/optimization/Makefile.in2
-rw-r--r--scilab/modules/optimization/src/c/optimization.rc2
-rw-r--r--scilab/modules/optimization/src/fortran/fprf2.f6
-rw-r--r--scilab/modules/optimization/src/fortran/n1fc1.f3
-rw-r--r--scilab/modules/optimization/src/fortran/n1fc1a.f19
-rw-r--r--scilab/modules/optimization/src/fortran/n1qn1a.f13
-rw-r--r--scilab/modules/optimization/src/fortran/nlis2.f10
-rw-r--r--scilab/modules/optimization/src/fortran/optimization_f.rc2
-rw-r--r--scilab/modules/optimization/tests/nonreg_tests/bug_3056.dia.ref4
-rw-r--r--scilab/modules/output_stream/Makefile.in2
-rw-r--r--scilab/modules/output_stream/help/en_US/mprintf.xml9
-rw-r--r--scilab/modules/output_stream/help/ja_JP/mprintf.xml8
-rw-r--r--scilab/modules/output_stream/src/c/output_stream.rc2
-rw-r--r--scilab/modules/output_stream/src/fortran/output_stream_f.rc2
-rw-r--r--scilab/modules/output_stream/tests/nonreg_tests/bug_11138.dia.ref2
-rw-r--r--scilab/modules/output_stream/tests/nonreg_tests/bug_15640.dia.ref2
-rw-r--r--scilab/modules/overloading/Makefile.in2
-rw-r--r--scilab/modules/overloading/macros/%0_i_st.sci27
-rw-r--r--scilab/modules/overloading/macros/%0_n_0.sci (renamed from scilab/modules/overloading/macros/%r_i_st.sci)8
-rw-r--r--scilab/modules/overloading/macros/%0_n_H5Object.sci (renamed from scilab/modules/overloading/macros/%st_i_b.sci)8
-rw-r--r--scilab/modules/overloading/macros/%0_n_XMLDoc.sci (renamed from scilab/modules/overloading/macros/%st_i_c.sci)8
-rw-r--r--scilab/modules/overloading/macros/%0_n_b.sci (renamed from scilab/modules/overloading/macros/%st_i_i.sci)8
-rw-r--r--scilab/modules/overloading/macros/%0_n_c.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ce.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_dir.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_f.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_fptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_function.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_h.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_i.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ip.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_l.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_lss.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_p.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_program.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_ptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_r.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_s.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_sp.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_spb.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_st.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_n_uitree.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_0.sci14
-rw-r--r--scilab/modules/overloading/macros/%0_o_H5Object.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_XMLDoc.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_b.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_c.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ce.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_dir.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_f.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_fptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_function.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_h.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_i.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ip.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_l.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_lss.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_p.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_program.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_ptr.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_r.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_s.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_sp.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_spb.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_st.sci13
-rw-r--r--scilab/modules/overloading/macros/%0_o_uitree.sci13
-rw-r--r--scilab/modules/overloading/macros/%H5Object_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%H5Object_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%XMLDoc_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%XMLDoc_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%b_c_sp.sci (renamed from scilab/modules/m2sci/macros/compat_functions/%msp_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%b_f_sp.sci (renamed from scilab/modules/overloading/macros/%c_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%b_i_st.sci14
-rw-r--r--scilab/modules/overloading/macros/%b_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%b_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%c_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%c_n_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%c_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%c_o_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%ce_i_st.sci14
-rw-r--r--scilab/modules/overloading/macros/%ce_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ce_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%dir_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%dir_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%f_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%f_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%fptr_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%fptr_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%function_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%function_n_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%function_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%function_o_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%h_i_st.sci14
-rw-r--r--scilab/modules/overloading/macros/%h_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%h_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%i_c_sp.sci14
-rw-r--r--scilab/modules/overloading/macros/%i_f_sp.sci (renamed from scilab/modules/overloading/macros/%function_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%i_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%i_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ip_i_st.sci15
-rw-r--r--scilab/modules/overloading/macros/%ip_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ip_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%l_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%l_n_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%l_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%l_o_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%l_p.sci28
-rw-r--r--scilab/modules/overloading/macros/%l_p_inc.sci241
-rw-r--r--scilab/modules/overloading/macros/%lss_i_st.sci15
-rw-r--r--scilab/modules/overloading/macros/%lss_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%lss_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%p_i_st.sci15
-rw-r--r--scilab/modules/overloading/macros/%p_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%p_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%program_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%program_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ptr_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%ptr_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%r_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%r_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%s_c_spb.sci14
-rw-r--r--scilab/modules/overloading/macros/%s_f_spb.sci14
-rw-r--r--scilab/modules/overloading/macros/%s_i_st.sci108
-rw-r--r--scilab/modules/overloading/macros/%s_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%s_n_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%s_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%s_o_st.sci17
-rw-r--r--scilab/modules/overloading/macros/%sp_c_b.sci (renamed from scilab/modules/overloading/macros/%hm_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%sp_c_i.sci14
-rw-r--r--scilab/modules/overloading/macros/%sp_c_spb.sci (renamed from scilab/modules/overloading/macros/%fptr_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%sp_f_b.sci14
-rw-r--r--scilab/modules/overloading/macros/%sp_f_i.sci14
-rw-r--r--scilab/modules/overloading/macros/%sp_f_spb.sci (renamed from scilab/modules/overloading/macros/%l_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%sp_i_st.sci15
-rw-r--r--scilab/modules/overloading/macros/%sp_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%sp_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%spb_c_s.sci14
-rw-r--r--scilab/modules/overloading/macros/%spb_c_sp.sci14
-rw-r--r--scilab/modules/overloading/macros/%spb_f_s.sci14
-rw-r--r--scilab/modules/overloading/macros/%spb_f_sp.sci (renamed from scilab/modules/overloading/macros/%i_i_st.sci)9
-rw-r--r--scilab/modules/overloading/macros/%spb_i_st.sci15
-rw-r--r--scilab/modules/overloading/macros/%spb_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%spb_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%st_6.sci57
-rw-r--r--scilab/modules/overloading/macros/%st_e.sci110
-rw-r--r--scilab/modules/overloading/macros/%st_i_fptr.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_h.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_ip.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_lss.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_msp.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_p.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_r.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_s.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_sp.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_spb.sci15
-rw-r--r--scilab/modules/overloading/macros/%st_i_st.sci152
-rw-r--r--scilab/modules/overloading/macros/%st_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%st_n_c.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_n_l.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_n_mc.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_n_p.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_n_s.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%st_o_c.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_o_l.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_o_mc.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_o_p.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_o_s.sci17
-rw-r--r--scilab/modules/overloading/macros/%st_p.sci246
-rw-r--r--scilab/modules/overloading/macros/%st_string.sci37
-rw-r--r--scilab/modules/overloading/macros/%uitree_n_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%uitree_o_0.sci13
-rw-r--r--scilab/modules/overloading/macros/%zpk_i_st.sci10
-rw-r--r--scilab/modules/overloading/macros/createstruct.sci114
-rw-r--r--scilab/modules/overloading/macros/st_i_generic.sci30
-rw-r--r--scilab/modules/overloading/tests/nonreg_tests/bug_10396.dia.ref4
-rw-r--r--scilab/modules/overloading/tests/nonreg_tests/bug_9783.dia.ref6
-rw-r--r--scilab/modules/overloading/tests/unit_tests/concatenations_mixed.tst48
-rw-r--r--scilab/modules/overloading/tests/unit_tests/overloadingName.dia.ref74
-rw-r--r--scilab/modules/overloading/tests/unit_tests/sparse.dia.ref5
-rw-r--r--scilab/modules/parallel/Makefile.in2
-rw-r--r--scilab/modules/parallel/src/c/parallel.rc2
-rw-r--r--scilab/modules/parameters/Makefile.in2
-rw-r--r--scilab/modules/parameters/src/c/parameters.rc2
-rw-r--r--scilab/modules/polynomials/Makefile.in2
-rw-r--r--scilab/modules/polynomials/src/c/polynomials.rc2
-rw-r--r--scilab/modules/polynomials/src/fortran/polynomials_f.rc2
-rw-r--r--scilab/modules/polynomials/tests/nonreg_tests/bug_16158.dia.ref15
-rw-r--r--scilab/modules/prebuildjava/Makefile.in2
-rw-r--r--scilab/modules/preferences/Makefile.in2
-rw-r--r--scilab/modules/preferences/src/c/preferences.rc2
-rw-r--r--scilab/modules/randlib/Makefile.in2
-rw-r--r--scilab/modules/randlib/src/c/randlib.rc2
-rw-r--r--scilab/modules/randlib/src/fortran/randlib_f.rc2
-rw-r--r--scilab/modules/randlib/src/norandlib/norandlib.rc2
-rw-r--r--scilab/modules/randlib/tests/unit_tests/grand_plot.dia.ref20
-rw-r--r--scilab/modules/renderer/Makefile.in2
-rw-r--r--scilab/modules/renderer/renderer.rc2
-rw-r--r--scilab/modules/renderer/src/norenderer/norenderer.rc2
-rw-r--r--scilab/modules/renderer/tests/nonreg_tests/bug_15984.dia.ref20
-rw-r--r--scilab/modules/renderer/tests/nonreg_tests/bug_7286.dia.ref3
-rw-r--r--scilab/modules/scicos/Makefile.in2
-rw-r--r--scilab/modules/scicos/macros/scicos_scicos/script2var.sci57
-rw-r--r--scilab/modules/scicos/src/c/cli/scicos-cli.rc2
-rw-r--r--scilab/modules/scicos/src/c/noscicos/noscicos.rc2
-rw-r--r--scilab/modules/scicos/src/c/scicos.rc2
-rw-r--r--scilab/modules/scicos/src/fortran/scicos_f.rc2
-rw-r--r--scilab/modules/scicos/src/scicos_sundials/scicos_sundials.rc2
-rw-r--r--scilab/modules/scicos/tests/nonreg_tests/bug_16357.tst39
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Block.dia.ref246
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Clone_SuperBlock_in_Diagram.dia.ref100
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Deep_cloning.dia.ref56
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Delete_objects.dia.ref20
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Diagram.dia.ref408
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Diagram_cloning.dia.ref28
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/Insert_in_SuperBlock.dia.ref112
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/SuperBlock.dia.ref290
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/SuperBlock_in_SuperBlock.dia.ref2
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/SuperBlock_misconnected.dia.ref750
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/from_mlist.dia.ref42
-rw-r--r--scilab/modules/scicos/tests/unit_tests/model/link_preservation.dia.ref14
-rw-r--r--scilab/modules/scicos/tests/unit_tests/sciblk2.dia.ref6
-rw-r--r--scilab/modules/scicos_blocks/Makefile.in2
-rw-r--r--scilab/modules/scicos_blocks/src/c/cli/scicos_blocks-cli.rc2
-rw-r--r--scilab/modules/scicos_blocks/src/c/scicos_blocks.rc2
-rw-r--r--scilab/modules/scicos_blocks/src/fortran/cli/scicos_blocks-cli_f.rc2
-rw-r--r--scilab/modules/scicos_blocks/src/fortran/scicos_blocks_f.rc2
-rw-r--r--scilab/modules/scinotes/Makefile.in2
-rw-r--r--scilab/modules/scinotes/src/c/scinotes.rc2
-rw-r--r--scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/SciNotes.java3
-rw-r--r--scilab/modules/signal_processing/Makefile.in2
-rw-r--r--scilab/modules/signal_processing/help/en_US/transforms/fft.xml539
-rw-r--r--scilab/modules/signal_processing/help/fr_FR/transforms/fft.xml603
-rw-r--r--scilab/modules/signal_processing/help/ja_JP/transforms/fft.xml542
-rw-r--r--scilab/modules/signal_processing/help/ru_RU/transforms/fft.xml381
-rw-r--r--scilab/modules/signal_processing/src/c/signal_processing.rc2
-rw-r--r--scilab/modules/signal_processing/src/fortran/signal_processing_f.rc2
-rw-r--r--scilab/modules/slint/Makefile.in2
-rw-r--r--scilab/modules/slint/slint.rc2
-rw-r--r--scilab/modules/slint/src/cpp/DeprecatedChecker.cpp1
-rw-r--r--scilab/modules/sound/Makefile.in2
-rw-r--r--scilab/modules/sound/demos/sound.dem.sce4
-rw-r--r--scilab/modules/sound/help/en_US/analyze.xml10
-rw-r--r--scilab/modules/sound/help/en_US/loadwave.xml9
-rw-r--r--scilab/modules/sound/help/en_US/mapsound.xml10
-rw-r--r--scilab/modules/sound/help/en_US/savewave.xml9
-rw-r--r--scilab/modules/sound/help/en_US/sound.xml4
-rw-r--r--scilab/modules/sound/help/en_US/soundsec.xml37
-rw-r--r--scilab/modules/sound/help/ja_JP/analyze.xml5
-rw-r--r--scilab/modules/sound/help/ja_JP/loadwave.xml3
-rw-r--r--scilab/modules/sound/help/ja_JP/mapsound.xml5
-rw-r--r--scilab/modules/sound/help/ja_JP/savewave.xml3
-rw-r--r--scilab/modules/sound/help/ja_JP/soundsec.xml45
-rw-r--r--scilab/modules/sound/macros/soundsec.sci1
-rw-r--r--scilab/modules/sound/src/c/sound.rc2
-rw-r--r--scilab/modules/sound/src/nosound/nosound.rc2
-rw-r--r--scilab/modules/sound/tests/nonreg_tests/bug_11860.dia.ref45
-rw-r--r--scilab/modules/sound/tests/nonreg_tests/bug_11860.tst3
-rw-r--r--scilab/modules/sound/tests/nonreg_tests/bug_12779.dia.ref23
-rw-r--r--scilab/modules/sound/tests/nonreg_tests/bug_12779.tst3
-rw-r--r--scilab/modules/sound/tests/unit_tests/mapsound.dia.ref7
-rw-r--r--scilab/modules/sound/tests/unit_tests/mapsound.tst7
-rw-r--r--scilab/modules/sound/tests/unit_tests/savewave.dia.ref14
-rw-r--r--scilab/modules/sound/tests/unit_tests/savewave.tst8
-rw-r--r--scilab/modules/sound/tests/unit_tests/sound.dia.ref20
-rw-r--r--scilab/modules/sound/tests/unit_tests/sound.tst21
-rw-r--r--scilab/modules/sound/tests/unit_tests/soundsec.dia.ref50
-rw-r--r--scilab/modules/sound/tests/unit_tests/soundsec.tst69
-rw-r--r--scilab/modules/sparse/Makefile.in2
-rw-r--r--scilab/modules/sparse/sci_gateway/cpp/sci_ludel.cpp2
-rw-r--r--scilab/modules/sparse/sci_gateway/cpp/sci_sparse.cpp10
-rw-r--r--scilab/modules/sparse/sci_gateway/cpp/sci_spzeros.cpp16
-rw-r--r--scilab/modules/sparse/src/c/sparse.rc2
-rw-r--r--scilab/modules/sparse/src/fortran/sparse_f.rc2
-rw-r--r--scilab/modules/special_functions/Makefile.in2
-rw-r--r--scilab/modules/special_functions/src/c/special_functions.rc2
-rw-r--r--scilab/modules/special_functions/src/fortran/dbesig.f4
-rw-r--r--scilab/modules/special_functions/src/fortran/dbesjg.f4
-rw-r--r--scilab/modules/special_functions/src/fortran/dbesyg.f4
-rw-r--r--scilab/modules/special_functions/src/fortran/special_functions_f.rc2
-rw-r--r--scilab/modules/spreadsheet/Makefile.in2
-rw-r--r--scilab/modules/spreadsheet/help/en_US/csvRead.xml196
-rw-r--r--scilab/modules/spreadsheet/help/en_US/csvWrite.xml32
-rw-r--r--scilab/modules/spreadsheet/help/ja_JP/csvRead.xml170
-rw-r--r--scilab/modules/spreadsheet/help/ja_JP/csvWrite.xml12
-rw-r--r--scilab/modules/spreadsheet/sci_gateway/c/sci_csvRead.c46
-rw-r--r--scilab/modules/spreadsheet/src/c/csvRead.c8
-rw-r--r--scilab/modules/spreadsheet/src/c/spreadsheet.rc2
-rw-r--r--scilab/modules/spreadsheet/src/nospreadsheet/nospreadsheet.rc2
-rw-r--r--scilab/modules/spreadsheet/tests/nonreg_tests/bug_13593.tst35
-rw-r--r--scilab/modules/spreadsheet/tests/nonreg_tests/bug_16508.dia.ref37
-rw-r--r--scilab/modules/spreadsheet/tests/nonreg_tests/bug_16508.tst39
-rw-r--r--scilab/modules/statistics/Makefile.in2
-rw-r--r--scilab/modules/statistics/help/en_US/2_central_tendency/mean.xml175
-rw-r--r--scilab/modules/statistics/help/ja_JP/2_central_tendency/mean.xml110
-rw-r--r--scilab/modules/statistics/help/ru_RU/2_central_tendency/mean.xml236
-rw-r--r--scilab/modules/statistics/macros/%sp_mean.sci64
-rw-r--r--scilab/modules/statistics/src/c/statistics.rc2
-rw-r--r--scilab/modules/statistics/src/dcdflib/dcd_f/dcd_f.rc2
-rw-r--r--scilab/modules/statistics/tests/unit_tests/mean.tst23
-rw-r--r--scilab/modules/string/Makefile.in2
-rw-r--r--scilab/modules/string/help/en_US/convstr.xml9
-rw-r--r--scilab/modules/string/help/en_US/grep.xml30
-rw-r--r--scilab/modules/string/help/en_US/isascii.xml59
-rw-r--r--scilab/modules/string/help/en_US/justify.xml44
-rw-r--r--scilab/modules/string/help/en_US/length.xml7
-rw-r--r--scilab/modules/string/help/en_US/regexp.xml20
-rw-r--r--scilab/modules/string/help/en_US/strcat.xml29
-rw-r--r--scilab/modules/string/help/en_US/strcmp.xml10
-rw-r--r--scilab/modules/string/help/en_US/strcspn.xml9
-rw-r--r--scilab/modules/string/help/en_US/strindex.xml13
-rw-r--r--scilab/modules/string/help/en_US/strncpy.xml6
-rw-r--r--scilab/modules/string/help/en_US/strrev.xml8
-rw-r--r--scilab/modules/string/help/en_US/strspn.xml113
-rw-r--r--scilab/modules/string/help/en_US/strstr.xml48
-rw-r--r--scilab/modules/string/help/en_US/strsubst.xml11
-rw-r--r--scilab/modules/string/help/en_US/strtod.xml4
-rw-r--r--scilab/modules/string/help/en_US/tokenpos.xml9
-rw-r--r--scilab/modules/string/help/en_US/tokens.xml88
-rw-r--r--scilab/modules/string/help/fr_FR/strtod.xml4
-rw-r--r--scilab/modules/string/help/ja_JP/convstr.xml9
-rw-r--r--scilab/modules/string/help/ja_JP/grep.xml70
-rw-r--r--scilab/modules/string/help/ja_JP/isascii.xml130
-rw-r--r--scilab/modules/string/help/ja_JP/justify.xml59
-rw-r--r--scilab/modules/string/help/ja_JP/regexp.xml13
-rw-r--r--scilab/modules/string/help/ja_JP/strcat.xml22
-rw-r--r--scilab/modules/string/help/ja_JP/strcmp.xml10
-rw-r--r--scilab/modules/string/help/ja_JP/strcspn.xml18
-rw-r--r--scilab/modules/string/help/ja_JP/strindex.xml21
-rw-r--r--scilab/modules/string/help/ja_JP/strspn.xml183
-rw-r--r--scilab/modules/string/help/ja_JP/strsubst.xml16
-rw-r--r--scilab/modules/string/help/ja_JP/tokenpos.xml11
-rw-r--r--scilab/modules/string/help/ja_JP/tokens.xml138
-rw-r--r--scilab/modules/string/help/pt_BR/convstr.xml10
-rw-r--r--scilab/modules/string/help/pt_BR/grep.xml28
-rw-r--r--scilab/modules/string/help/pt_BR/isascii.xml83
-rw-r--r--scilab/modules/string/help/pt_BR/justify.xml41
-rw-r--r--scilab/modules/string/help/pt_BR/length.xml9
-rw-r--r--scilab/modules/string/help/pt_BR/regexp.xml16
-rw-r--r--scilab/modules/string/help/pt_BR/strcat.xml26
-rw-r--r--scilab/modules/string/help/pt_BR/strcmp.xml5
-rw-r--r--scilab/modules/string/help/pt_BR/strcspn.xml9
-rw-r--r--scilab/modules/string/help/pt_BR/strindex.xml16
-rw-r--r--scilab/modules/string/help/pt_BR/strncpy.xml7
-rw-r--r--scilab/modules/string/help/pt_BR/strspn.xml115
-rw-r--r--scilab/modules/string/help/pt_BR/strsubst.xml16
-rw-r--r--scilab/modules/string/help/pt_BR/tokenpos.xml10
-rw-r--r--scilab/modules/string/help/pt_BR/tokens.xml86
-rw-r--r--scilab/modules/string/help/ru_RU/convstr.xml9
-rw-r--r--scilab/modules/string/help/ru_RU/grep.xml35
-rw-r--r--scilab/modules/string/help/ru_RU/isascii.xml81
-rw-r--r--scilab/modules/string/help/ru_RU/justify.xml47
-rw-r--r--scilab/modules/string/help/ru_RU/length.xml8
-rw-r--r--scilab/modules/string/help/ru_RU/regexp.xml20
-rw-r--r--scilab/modules/string/help/ru_RU/strcat.xml18
-rw-r--r--scilab/modules/string/help/ru_RU/strcmp.xml14
-rw-r--r--scilab/modules/string/help/ru_RU/strcspn.xml13
-rw-r--r--scilab/modules/string/help/ru_RU/strindex.xml14
-rw-r--r--scilab/modules/string/help/ru_RU/strncpy.xml8
-rw-r--r--scilab/modules/string/help/ru_RU/strspn.xml115
-rw-r--r--scilab/modules/string/help/ru_RU/strsubst.xml17
-rw-r--r--scilab/modules/string/help/ru_RU/strtod.xml4
-rw-r--r--scilab/modules/string/help/ru_RU/tokenpos.xml9
-rw-r--r--scilab/modules/string/help/ru_RU/tokens.xml87
-rw-r--r--scilab/modules/string/src/c/string.rc2
-rw-r--r--scilab/modules/string/src/c/stringToComplex.c100
-rw-r--r--scilab/modules/string/tests/nonreg_tests/bug_12291.dia.ref29
-rw-r--r--scilab/modules/string/tests/nonreg_tests/bug_12291.tst3
-rw-r--r--scilab/modules/string/tests/nonreg_tests/bug_14524.dia.ref2
-rw-r--r--scilab/modules/tclsci/Makefile.in2
-rw-r--r--scilab/modules/tclsci/src/c/InitTclTk.c5
-rw-r--r--scilab/modules/tclsci/src/c/TCL_Command.c7
-rw-r--r--scilab/modules/tclsci/src/c/TCL_Command.h7
-rw-r--r--scilab/modules/tclsci/src/c/tclsci.rc2
-rw-r--r--scilab/modules/tclsci/tests/nonreg_tests/bug_1566.dia.ref18
-rw-r--r--scilab/modules/tclsci/tests/nonreg_tests/bug_1591.dia.ref12
-rw-r--r--scilab/modules/threads/Makefile.in2
-rw-r--r--scilab/modules/time/Makefile.in2
-rw-r--r--scilab/modules/time/help/en_US/getdate.xml243
-rw-r--r--scilab/modules/time/help/fr_FR/getdate.xml160
-rw-r--r--scilab/modules/time/help/ja_JP/getdate.xml169
-rw-r--r--scilab/modules/time/help/pt_BR/getdate.xml166
-rw-r--r--scilab/modules/time/src/c/getdate.c14
-rw-r--r--scilab/modules/time/src/c/time.rc2
-rw-r--r--scilab/modules/time/tests/unit_tests/getdate.dia.ref49
-rw-r--r--scilab/modules/time/tests/unit_tests/getdate.tst81
-rw-r--r--scilab/modules/types/Makefile.in2
-rw-r--r--scilab/modules/ui_data/Makefile.in2
-rw-r--r--scilab/modules/ui_data/etc/ui_data.start15
-rw-r--r--scilab/modules/ui_data/help/en_US/browsevar.xml72
-rw-r--r--scilab/modules/ui_data/help/images/cell_view.pngbin0 -> 6206 bytes
-rw-r--r--scilab/modules/ui_data/help/images/library_view.pngbin0 -> 10345 bytes
-rw-r--r--scilab/modules/ui_data/help/images/list_view.pngbin0 -> 4769 bytes
-rw-r--r--scilab/modules/ui_data/help/images/structure_view.pngbin0 -> 7300 bytes
-rw-r--r--scilab/modules/ui_data/help/ja_JP/browsevar.xml44
-rw-r--r--scilab/modules/ui_data/help/ru_RU/browsevar.xml197
-rw-r--r--scilab/modules/ui_data/macros/browsevar_seeSpecial.sci69
-rw-r--r--scilab/modules/ui_data/macros/buildmacros.sce2
-rw-r--r--scilab/modules/ui_data/src/c/ui_data.rc2
-rw-r--r--scilab/modules/ui_data/src/cpp/BrowseVarManager.cpp53
-rw-r--r--scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variablebrowser/SwingScilabVariableBrowser.java34
-rw-r--r--scilab/modules/ui_data/src/noui_data/noui_data.rc2
-rw-r--r--scilab/modules/ui_data/ui_data.iss8
-rw-r--r--scilab/modules/umfpack/Makefile.in2
-rw-r--r--scilab/modules/umfpack/demos/sparse_matrices.sce2
-rw-r--r--scilab/modules/umfpack/src/c/umfpack.rc2
-rw-r--r--scilab/modules/umfpack/src/noumfpack/noumfpack.rc2
-rw-r--r--scilab/modules/webtools/Makefile.in2
-rw-r--r--scilab/modules/windows_tools/Makefile.in2
-rw-r--r--scilab/modules/windows_tools/src/c/CScilex/CScilex.rc2
-rw-r--r--scilab/modules/windows_tools/src/c/WScilex/WScilex-cli.rc2
-rw-r--r--scilab/modules/windows_tools/src/c/WScilex/WScilex.rc2
-rw-r--r--scilab/modules/windows_tools/src/c/scilab_windows/console.c18
-rw-r--r--scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.rc2
-rw-r--r--scilab/modules/windows_tools/src/c/windows_tools.rc2
-rw-r--r--scilab/modules/windows_tools/src/nowindows_tools/nowindows_tools.rc2
-rw-r--r--scilab/modules/windows_tools/tests/unit_tests/findfileassociation.dia.ref1
-rw-r--r--scilab/modules/xcos/Makefile.in2
-rw-r--r--scilab/modules/xcos/help/en_US/xcos.xml18
-rw-r--r--scilab/modules/xcos/help/fr_FR/xcos.xml21
-rw-r--r--scilab/modules/xcos/help/ja_JP/xcos.xml194
-rw-r--r--scilab/modules/xcos/src/c/xcos.rc2
-rw-r--r--scilab/modules/xcos/tests/nonreg_tests/bug_13011.win.dia.ref42
-rw-r--r--scilab/modules/xcos/tests/unit_tests/Integer/dflipflop.dia.ref10
-rw-r--r--scilab/modules/xcos/tests/unit_tests/Integer/dlatch.dia.ref10
-rw-r--r--scilab/modules/xcos/tests/unit_tests/blocks_set.dia.ref1
-rw-r--r--scilab/modules/xml/Makefile.in2
-rw-r--r--scilab/modules/xml/src/c/xml.rc2
1133 files changed, 14246 insertions, 18974 deletions
diff --git a/scilab/modules/Makefile.in b/scilab/modules/Makefile.in
index 14bc23c..61fa923 100644
--- a/scilab/modules/Makefile.in
+++ b/scilab/modules/Makefile.in
@@ -410,7 +410,6 @@ JAVA = @JAVA@
410JAVAC = @JAVAC@ 410JAVAC = @JAVAC@
411JAVAC_DEBUG = @JAVAC_DEBUG@ 411JAVAC_DEBUG = @JAVAC_DEBUG@
412JAVADOC = @JAVADOC@ 412JAVADOC = @JAVADOC@
413JAVAH = @JAVAH@
414JAVASCI_ENABLE = @JAVASCI_ENABLE@ 413JAVASCI_ENABLE = @JAVASCI_ENABLE@
415JAVA_ENABLE = @JAVA_ENABLE@ 414JAVA_ENABLE = @JAVA_ENABLE@
416JAVA_G = @JAVA_G@ 415JAVA_G = @JAVA_G@
@@ -601,6 +600,7 @@ pdfdir = @pdfdir@
601prefix = @prefix@ 600prefix = @prefix@
602program_transform_name = @program_transform_name@ 601program_transform_name = @program_transform_name@
603psdir = @psdir@ 602psdir = @psdir@
603runstatedir = @runstatedir@
604sbindir = @sbindir@ 604sbindir = @sbindir@
605sharedstatedir = @sharedstatedir@ 605sharedstatedir = @sharedstatedir@
606srcdir = @srcdir@ 606srcdir = @srcdir@
diff --git a/scilab/modules/action_binding/Makefile.in b/scilab/modules/action_binding/Makefile.in
index bf2d8c1..81b88a5 100644
--- a/scilab/modules/action_binding/Makefile.in
+++ b/scilab/modules/action_binding/Makefile.in
@@ -406,7 +406,6 @@ JAVA = @JAVA@
406JAVAC = @JAVAC@ 406JAVAC = @JAVAC@
407JAVAC_DEBUG = @JAVAC_DEBUG@ 407JAVAC_DEBUG = @JAVAC_DEBUG@
408JAVADOC = @JAVADOC@ 408JAVADOC = @JAVADOC@
409JAVAH = @JAVAH@
410JAVASCI_ENABLE = @JAVASCI_ENABLE@ 409JAVASCI_ENABLE = @JAVASCI_ENABLE@
411JAVA_ENABLE = @JAVA_ENABLE@ 410JAVA_ENABLE = @JAVA_ENABLE@
412JAVA_G = @JAVA_G@ 411JAVA_G = @JAVA_G@
@@ -597,6 +596,7 @@ pdfdir = @pdfdir@
597prefix = @prefix@ 596prefix = @prefix@
598program_transform_name = @program_transform_name@ 597program_transform_name = @program_transform_name@
599psdir = @psdir@ 598psdir = @psdir@
599runstatedir = @runstatedir@
600sbindir = @sbindir@ 600sbindir = @sbindir@
601sharedstatedir = @sharedstatedir@ 601sharedstatedir = @sharedstatedir@
602srcdir = @srcdir@ 602srcdir = @srcdir@
diff --git a/scilab/modules/action_binding/src/c/InterpreterManagement.c b/scilab/modules/action_binding/src/c/InterpreterManagement.c
index 98f9c3c..8c18f73 100644
--- a/scilab/modules/action_binding/src/c/InterpreterManagement.c
+++ b/scilab/modules/action_binding/src/c/InterpreterManagement.c
@@ -19,7 +19,19 @@
19/*--------------------------------------------------------------------------*/ 19/*--------------------------------------------------------------------------*/
20int putCommandInScilabQueue(char *command) 20int putCommandInScilabQueue(char *command)
21{ 21{
22 return StoreCommand(command); 22 if(isEnableDebug())
23 {
24 if(isDebugInterrupted())
25 {
26 return 1;
27 }
28
29 return debuggerManagerExecute(command);
30 }
31 else
32 {
33 return StoreCommand(command);
34 }
23} 35}
24/*--------------------------------------------------------------------------*/ 36/*--------------------------------------------------------------------------*/
25/* 37/*
@@ -30,7 +42,19 @@ int putCommandInScilabQueue(char *command)
30*/ 42*/
31int requestScilabExec(char *command) 43int requestScilabExec(char *command)
32{ 44{
33 return StorePrioritaryCommand(command); 45 if(isEnableDebug())
46 {
47 if(isDebugInterrupted())
48 {
49 return 1;
50 }
51
52 return debuggerManagerExecute(command);
53 }
54 else
55 {
56 return StorePrioritaryCommand(command);
57 }
34} 58}
35/*--------------------------------------------------------------------------*/ 59/*--------------------------------------------------------------------------*/
36int interruptScilab(void) 60int interruptScilab(void)
diff --git a/scilab/modules/action_binding/src/c/action_binding.rc b/scilab/modules/action_binding/src/c/action_binding.rc
index c205735..30f9e80 100644
--- a/scilab/modules/action_binding/src/c/action_binding.rc
+++ b/scilab/modules/action_binding/src/c/action_binding.rc
@@ -68,7 +68,7 @@ BEGIN
68 VALUE "FileDescription", "action_binding module" 68 VALUE "FileDescription", "action_binding module"
69 VALUE "FileVersion", "6, 2, 0, 0" 69 VALUE "FileVersion", "6, 2, 0, 0"
70 VALUE "InternalName", "action_binding module" 70 VALUE "InternalName", "action_binding module"
71 VALUE "LegalCopyright", "Copyright (C) 2020" 71 VALUE "LegalCopyright", "Copyright (C) 2021"
72 VALUE "OriginalFilename", "action_binding.dll" 72 VALUE "OriginalFilename", "action_binding.dll"
73 VALUE "ProductName", " action_binding" 73 VALUE "ProductName", " action_binding"
74 VALUE "ProductVersion", "6, 2, 0, 0" 74 VALUE "ProductVersion", "6, 2, 0, 0"
diff --git a/scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc b/scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
index adbc7a5..ab052b4 100644
--- a/scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
+++ b/scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
@@ -68,7 +68,7 @@ BEGIN
68 VALUE "FileDescription", "noaction_binding module" 68 VALUE "FileDescription", "noaction_binding module"
69 VALUE "FileVersion", "6, 0, 1, 0" 69 VALUE "FileVersion", "6, 0, 1, 0"
70 VALUE "InternalName", "noaction_binding module" 70 VALUE "InternalName", "noaction_binding module"
71 VALUE "LegalCopyright", "Copyright (C) 2020" 71 VALUE "LegalCopyright", "Copyright (C) 2021"
72 VALUE "OriginalFilename", "noaction_binding.dll" 72 VALUE "OriginalFilename", "noaction_binding.dll"
73 VALUE "ProductName", " noaction_binding" 73 VALUE "ProductName", " noaction_binding"
74 VALUE "ProductVersion", "6, 0, 1, 0" 74 VALUE "ProductVersion", "6, 0, 1, 0"
diff --git a/scilab/modules/api_scilab/Makefile.in b/scilab/modules/api_scilab/Makefile.in
index 9d3eaf1..83aa14e 100644
--- a/scilab/modules/api_scilab/Makefile.in
+++ b/scilab/modules/api_scilab/Makefile.in
@@ -390,7 +390,6 @@ JAVA = @JAVA@
390JAVAC = @JAVAC@ 390JAVAC = @JAVAC@
391JAVAC_DEBUG = @JAVAC_DEBUG@ 391JAVAC_DEBUG = @JAVAC_DEBUG@
392JAVADOC = @JAVADOC@ 392JAVADOC = @JAVADOC@
393JAVAH = @JAVAH@
394JAVASCI_ENABLE = @JAVASCI_ENABLE@ 393JAVASCI_ENABLE = @JAVASCI_ENABLE@
395JAVA_ENABLE = @JAVA_ENABLE@ 394JAVA_ENABLE = @JAVA_ENABLE@
396JAVA_G = @JAVA_G@ 395JAVA_G = @JAVA_G@
@@ -581,6 +580,7 @@ pdfdir = @pdfdir@
581prefix = @prefix@ 580prefix = @prefix@
582program_transform_name = @program_transform_name@ 581program_transform_name = @program_transform_name@
583psdir = @psdir@ 582psdir = @psdir@
583runstatedir = @runstatedir@
584sbindir = @sbindir@ 584sbindir = @sbindir@
585sharedstatedir = @sharedstatedir@ 585sharedstatedir = @sharedstatedir@
586srcdir = @srcdir@ 586srcdir = @srcdir@
diff --git a/scilab/modules/api_scilab/src/c/api_scilab.rc b/scilab/modules/api_scilab/src/c/api_scilab.rc
index 0a603ed..a9e672a 100644
--- a/scilab/modules/api_scilab/src/c/api_scilab.rc
+++ b/scilab/modules/api_scilab/src/c/api_scilab.rc
@@ -67,7 +67,7 @@ BEGIN
67 VALUE "FileDescription", "api_scilab module" 67 VALUE "FileDescription", "api_scilab module"
68 VALUE "FileVersion", "6, 2, 0, 0" 68 VALUE "FileVersion", "6, 2, 0, 0"
69 VALUE "InternalName", "api_scilab module" 69 VALUE "InternalName", "api_scilab module"
70 VALUE "LegalCopyright", "Copyright (C) 2020" 70 VALUE "LegalCopyright", "Copyright (C) 2021"
71 VALUE "OriginalFilename", "api_scilab.dll" 71 VALUE "OriginalFilename", "api_scilab.dll"
72 VALUE "ProductName", "api_scilab module" 72 VALUE "ProductName", "api_scilab module"
73 VALUE "ProductVersion", "6, 2, 0, 0" 73 VALUE "ProductVersion", "6, 2, 0, 0"
diff --git a/scilab/modules/arnoldi/Makefile.in b/scilab/modules/arnoldi/Makefile.in
index 803422a..a1a077a 100644
--- a/scilab/modules/arnoldi/Makefile.in
+++ b/scilab/modules/arnoldi/Makefile.in
@@ -365,7 +365,6 @@ JAVA = @JAVA@
365JAVAC = @JAVAC@ 365JAVAC = @JAVAC@
366JAVAC_DEBUG = @JAVAC_DEBUG@ 366JAVAC_DEBUG = @JAVAC_DEBUG@
367JAVADOC = @JAVADOC@ 367JAVADOC = @JAVADOC@
368JAVAH = @JAVAH@
369JAVASCI_ENABLE = @JAVASCI_ENABLE@ 368JAVASCI_ENABLE = @JAVASCI_ENABLE@
370JAVA_ENABLE = @JAVA_ENABLE@ 369JAVA_ENABLE = @JAVA_ENABLE@
371JAVA_G = @JAVA_G@ 370JAVA_G = @JAVA_G@
@@ -556,6 +555,7 @@ pdfdir = @pdfdir@
556prefix = @prefix@ 555prefix = @prefix@
557program_transform_name = @program_transform_name@ 556program_transform_name = @program_transform_name@
558psdir = @psdir@ 557psdir = @psdir@
558runstatedir = @runstatedir@
559sbindir = @sbindir@ 559sbindir = @sbindir@
560sharedstatedir = @sharedstatedir@ 560sharedstatedir = @sharedstatedir@
561srcdir = @srcdir@ 561srcdir = @srcdir@
diff --git a/scilab/modules/arnoldi/src/c/arnoldi.rc b/scilab/modules/arnoldi/src/c/arnoldi.rc
index 78f43f9..9113e1d 100644
--- a/scilab/modules/arnoldi/src/c/arnoldi.rc
+++ b/scilab/modules/arnoldi/src/c/arnoldi.rc
@@ -72,7 +72,7 @@ BEGIN
72 VALUE "FileDescription", "arnoldi module" 72 VALUE "FileDescription", "arnoldi module"
73 VALUE "FileVersion", "6, 2, 0, 0" 73 VALUE "FileVersion", "6, 2, 0, 0"
74 VALUE "InternalName", "arnoldi" 74 VALUE "InternalName", "arnoldi"
75 VALUE "LegalCopyright", "Copyright (C) 2020" 75 VALUE "LegalCopyright", "Copyright (C) 2021"
76 VALUE "OriginalFilename", "arnoldi.dll" 76 VALUE "OriginalFilename", "arnoldi.dll"
77 VALUE "ProductName", "arnoldi module" 77 VALUE "ProductName", "arnoldi module"
78 VALUE "ProductVersion", "6, 2, 0, 0" 78 VALUE "ProductVersion", "6, 2, 0, 0"
diff --git a/scilab/modules/ast/Makefile.in b/scilab/modules/ast/Makefile.in
index 86ec193..43b0074 100644
--- a/scilab/modules/ast/Makefile.in
+++ b/scilab/modules/ast/Makefile.in
@@ -1038,7 +1038,6 @@ JAVA = @JAVA@
1038JAVAC = @JAVAC@ 1038JAVAC = @JAVAC@
1039JAVAC_DEBUG = @JAVAC_DEBUG@ 1039JAVAC_DEBUG = @JAVAC_DEBUG@
1040JAVADOC = @JAVADOC@ 1040JAVADOC = @JAVADOC@
1041JAVAH = @JAVAH@
1042JAVASCI_ENABLE = @JAVASCI_ENABLE@ 1041JAVASCI_ENABLE = @JAVASCI_ENABLE@
1043JAVA_ENABLE = @JAVA_ENABLE@ 1042JAVA_ENABLE = @JAVA_ENABLE@
1044JAVA_G = @JAVA_G@ 1043JAVA_G = @JAVA_G@
@@ -1229,6 +1228,7 @@ pdfdir = @pdfdir@
1229prefix = @prefix@ 1228prefix = @prefix@
1230program_transform_name = @program_transform_name@ 1229program_transform_name = @program_transform_name@
1231psdir = @psdir@ 1230psdir = @psdir@
1231runstatedir = @runstatedir@
1232sbindir = @sbindir@ 1232sbindir = @sbindir@
1233sharedstatedir = @sharedstatedir@ 1233sharedstatedir = @sharedstatedir@
1234srcdir = @srcdir@ 1234srcdir = @srcdir@
diff --git a/scilab/modules/ast/ast.rc b/scilab/modules/ast/ast.rc
index d69e0bf..771b9df 100644
--- a/scilab/modules/ast/ast.rc
+++ b/scilab/modules/ast/ast.rc
@@ -66,7 +66,7 @@ BEGIN
66 VALUE "FileDescription", "ast module" 66 VALUE "FileDescription", "ast module"
67 VALUE "FileVersion", "6, 2, 0, 0" 67 VALUE "FileVersion", "6, 2, 0, 0"
68 VALUE "InternalName", "ast module" 68 VALUE "InternalName", "ast module"
69 VALUE "LegalCopyright", "Copyright (C) 2020" 69 VALUE "LegalCopyright", "Copyright (C) 2021"
70 VALUE "OriginalFilename", "ast.dll" 70 VALUE "OriginalFilename", "ast.dll"
71 VALUE "ProductName", "ast module" 71 VALUE "ProductName", "ast module"
72 VALUE "ProductVersion", "6, 2, 0, 0" 72 VALUE "ProductVersion", "6, 2, 0, 0"
diff --git a/scilab/modules/ast/includes/ast/breakpoint.hxx b/scilab/modules/ast/includes/ast/breakpoint.hxx
index 1628ee4..89247fa 100644
--- a/scilab/modules/ast/includes/ast/breakpoint.hxx
+++ b/scilab/modules/ast/includes/ast/breakpoint.hxx
@@ -35,6 +35,7 @@ struct Breakpoint
35 _iFileLine(0), 35 _iFileLine(0),
36 _iFirstColumn(0), 36 _iFirstColumn(0),
37 _condition(""), 37 _condition(""),
38 _conditionError(""),
38 _conditionExp(NULL), 39 _conditionExp(NULL),
39 _enable(true) {} 40 _enable(true) {}
40 ~Breakpoint() 41 ~Breakpoint()
@@ -100,6 +101,16 @@ struct Breakpoint
100 return _pFileName.empty() == false && _iFileLine >= 0; 101 return _pFileName.empty() == false && _iFileLine >= 0;
101 } 102 }
102 103
104 bool hasCondition() const
105 {
106 return _condition.empty() == false;
107 }
108
109 bool hasConditionError() const
110 {
111 return _conditionError.empty() == false;
112 }
113
103 void setEnable() 114 void setEnable()
104 { 115 {
105 _enable = true; 116 _enable = true;
@@ -113,14 +124,26 @@ struct Breakpoint
113 return _enable; 124 return _enable;
114 } 125 }
115 126
127 const std::string& getConditionError(void)
128 {
129 return _conditionError;
130 }
131
132 void setConditionError(const std::string& error)
133 {
134 _conditionError = error;
135 }
136
116 char* setCondition(const std::string& condition) 137 char* setCondition(const std::string& condition)
117 { 138 {
139 _condition = condition;
118 char* error = parseCommand(condition.data(), (void**)(&_conditionExp)); 140 char* error = parseCommand(condition.data(), (void**)(&_conditionExp));
119 if(error) 141 if(error)
120 { 142 {
143 _conditionError = error;
121 return error; 144 return error;
122 } 145 }
123 _condition = condition; 146 _conditionExp->mute();
124 return nullptr; 147 return nullptr;
125 } 148 }
126 149
@@ -141,6 +164,7 @@ private:
141 std::string _pFileName; 164 std::string _pFileName;
142 int _iFileLine; 165 int _iFileLine;
143 std::string _condition; 166 std::string _condition;
167 std::string _conditionError;
144 ast::Exp* _conditionExp; 168 ast::Exp* _conditionExp;
145 bool _enable; 169 bool _enable;
146}; 170};
diff --git a/scilab/modules/ast/includes/ast/debugmanager.hxx b/scilab/modules/ast/includes/ast/debugmanager.hxx
index 869800b..d2b5300 100644
--- a/scilab/modules/ast/includes/ast/debugmanager.hxx
+++ b/scilab/modules/ast/includes/ast/debugmanager.hxx
@@ -67,6 +67,7 @@ private:
67 67
68 ast::Exp* pExp; 68 ast::Exp* pExp;
69 bool interrupted; 69 bool interrupted;
70 bool request_pause;
70 int currentBreakPoint; 71 int currentBreakPoint;
71 DebugAction action; 72 DebugAction action;
72 int level; 73 int level;
@@ -158,7 +159,10 @@ public:
158 void errorInScript(const std::wstring funcname, const ast::Exp* pExp); 159 void errorInScript(const std::wstring funcname, const ast::Exp* pExp);
159 160
160 //breakpoints functions 161 //breakpoints functions
161 void addBreakPoint(Breakpoint* bp); 162 bool addBreakPoint(Breakpoint* bp);
163 bool updateBreakPoint(Breakpoint* bp);
164 bool removeBreakPoint(Breakpoint* bp);
165 Breakpoints::iterator findBreakPoint(Breakpoint* bp);
162 void removeBreakPoint(int _iBreakPoint); 166 void removeBreakPoint(int _iBreakPoint);
163 void setAllBreakPoints(Breakpoints& _bps); 167 void setAllBreakPoints(Breakpoints& _bps);
164 void removeAllBreakPoints(); 168 void removeAllBreakPoints();
@@ -276,6 +280,9 @@ public:
276 void show(int bp); //print the breakpoint bp or all breakpoints (bp = -1) 280 void show(int bp); //print the breakpoint bp or all breakpoints (bp = -1)
277 void resume(); //resume execution 281 void resume(); //resume execution
278 void abort(); //abort execution 282 void abort(); //abort execution
283 void requestPause(); //pause execution
284 bool isPauseRequested(); //get pause request status
285 void resetPauseRequest(); //reset pause request status
279}; 286};
280 287
281} 288}
diff --git a/scilab/modules/ast/includes/ast/runvisitor.hxx b/scilab/modules/ast/includes/ast/runvisitor.hxx
index 7d89860..118cada 100644
--- a/scilab/modules/ast/includes/ast/runvisitor.hxx
+++ b/scilab/modules/ast/includes/ast/runvisitor.hxx
@@ -389,8 +389,8 @@ public :
389 void visitprivate(const ArrayListExp & e); 389 void visitprivate(const ArrayListExp & e);
390 void visitprivate(const VarDec & e); 390 void visitprivate(const VarDec & e);
391 391
392 types::InternalType* callOverloadOpExp(OpExp::Oper _oper, types::InternalType* _paramL, types::InternalType* _paramR); 392 types::InternalType* callOverloadOpExp(OpExp::Oper _oper, types::InternalType* _paramL, types::InternalType* _paramR, const Location& _Location);
393 types::InternalType* callOverloadMatrixExp(const std::wstring& strType, types::InternalType* _paramL, types::InternalType* _paramR); 393 types::InternalType* callOverloadMatrixExp(const std::wstring& strType, types::InternalType* _paramL, types::InternalType* _paramR, const Location& _Location);
394}; 394};
395} 395}
396 396
diff --git a/scilab/modules/ast/includes/ast/treevisitor.hxx b/scilab/modules/ast/includes/ast/treevisitor.hxx
index e206f6b..b6e432b 100644
--- a/scilab/modules/ast/includes/ast/treevisitor.hxx
+++ b/scilab/modules/ast/includes/ast/treevisitor.hxx
@@ -62,6 +62,7 @@ public:
62 virtual void visit(const NotExp &e); 62 virtual void visit(const NotExp &e);
63 virtual void visit(const TransposeExp &e); 63 virtual void visit(const TransposeExp &e);
64 virtual void visit(const FunctionDec &e); 64 virtual void visit(const FunctionDec &e);
65 virtual void visit(const CellExp &e);
65 66
66 inline types::List* getList() 67 inline types::List* getList()
67 { 68 {
@@ -73,6 +74,7 @@ public:
73 static types::List* createOperation(); 74 static types::List* createOperation();
74 static types::List* createAssign(); 75 static types::List* createAssign();
75 static types::InternalType* getVerbose(const Exp& e); 76 static types::InternalType* getVerbose(const Exp& e);
77 static types::List* matrixOrCellExp(const exps_t& lines, TreeVisitor& me, const std::wstring& what);
76 78
77 types::InternalType* getEOL(); 79 types::InternalType* getEOL();
78private: 80private:
diff --git a/scilab/modules/ast/includes/exps/exp.hxx b/scilab/modules/ast/includes/exps/exp.hxx
index d96e41c..0048098 100644
--- a/scilab/modules/ast/includes/exps/exp.hxx
+++ b/scilab/modules/ast/includes/exps/exp.hxx
@@ -102,9 +102,16 @@ public:
102 } 102 }
103 103
104public: 104public:
105 /** \brief Return if an expression should be displayed or not. */ 105 /** \brief Set recursively if an expression should be displayed or not. */
106 inline void mute(void) 106 inline void mute(void)
107 { 107 {
108 for (auto& e : _exps)
109 {
110 if(e)
111 {
112 e->mute();
113 }
114 }
108 _verbose = false; 115 _verbose = false;
109 } 116 }
110 117
diff --git a/scilab/modules/ast/includes/operations/types_dotdivide.hxx b/scilab/modules/ast/includes/operations/types_dotdivide.hxx
index 59d1460..ee33d41 100644
--- a/scilab/modules/ast/includes/operations/types_dotdivide.hxx
+++ b/scilab/modules/ast/includes/operations/types_dotdivide.hxx
@@ -16,6 +16,8 @@
16#ifndef __TYPES_DOTDIVIDE_HXX__ 16#ifndef __TYPES_DOTDIVIDE_HXX__
17#define __TYPES_DOTDIVIDE_HXX__ 17#define __TYPES_DOTDIVIDE_HXX__
18 18
19#include <limits>
20
19#include "generic_operations.hxx" 21#include "generic_operations.hxx"
20#include "configvariable.hxx" 22#include "configvariable.hxx"
21#include "double.hxx" 23#include "double.hxx"
@@ -94,13 +96,35 @@ template<> types::InternalType* dotdiv_M_M<types::Polynom, types::Double, types:
94template<> types::InternalType* dotdiv_M_M<types::Double, types::Polynom, types::Polynom>(types::Double* _pL, types::Polynom* _pR); 96template<> types::InternalType* dotdiv_M_M<types::Double, types::Polynom, types::Polynom>(types::Double* _pL, types::Polynom* _pR);
95 97
96//x1 ./ x1 98//x1 ./ x1
99template<typename T, typename U> inline static void dotdiv(T l, U r, double* o)
100{
101 if (r == 0)
102 {
103 ConfigVariable::setDivideByZero(true);
104 }
105 *o = (double)l / (double)r;
106}
107
97template<typename T, typename U, typename O> inline static void dotdiv(T l, U r, O* o) 108template<typename T, typename U, typename O> inline static void dotdiv(T l, U r, O* o)
98{ 109{
99 if ((O)r == 0) 110 if ((O)r == 0)
100 { 111 {
101 ConfigVariable::setDivideByZero(true); 112 ConfigVariable::setDivideByZero(true);
113 double tmp = (double)l / (double)r;
114 if (std::isnan(tmp))
115 {
116 *o = 0;
117 }
118 else if (std::isinf(tmp))
119 {
120 tmp < 0 ? *o = std::numeric_limits<O>::min() : *o = std::numeric_limits<O>::max();
121 }
122 // no else because division by zero result to nan or inf
123 }
124 else
125 {
126 *o = (O)l / (O)r;
102 } 127 }
103 *o = (O)l / (O)r;
104} 128}
105 129
106//x1 ./ x1c 130//x1 ./ x1c
diff --git a/scilab/modules/ast/includes/system_env/configvariable.hxx b/scilab/modules/ast/includes/system_env/configvariable.hxx
index 0380faf..4a20992 100644
--- a/scilab/modules/ast/includes/system_env/configvariable.hxx
+++ b/scilab/modules/ast/includes/system_env/configvariable.hxx
@@ -485,10 +485,10 @@ public:
485 485
486 // executed file with exec 486 // executed file with exec
487private: 487private:
488 static int m_iFileID; 488 static std::wstring m_strFile;
489public: 489public:
490 static void setExecutedFileID(int _iFileID); 490 static void setExecutedFile(const std::wstring& _strFile);
491 static int getExecutedFileID(); 491 static const std::wstring& getExecutedFile();
492 492
493 // string read from console by scilabRead 493 // string read from console by scilabRead
494private: 494private:
diff --git a/scilab/modules/ast/includes/system_env/configvariable_interface.h b/scilab/modules/ast/includes/system_env/configvariable_interface.h
index 0b52408..7223126 100644
--- a/scilab/modules/ast/includes/system_env/configvariable_interface.h
+++ b/scilab/modules/ast/includes/system_env/configvariable_interface.h
@@ -81,6 +81,7 @@ EXTERN_AST dynlib_ptr getEntryPointFromPosition(int position);
81 81
82EXTERN_AST int isEnableDebug(); 82EXTERN_AST int isEnableDebug();
83EXTERN_AST int isDebugInterrupted(); 83EXTERN_AST int isDebugInterrupted();
84EXTERN_AST int debuggerManagerExecute(const char* command);
84 85
85EXTERN_AST int isExecutionBreak(); 86EXTERN_AST int isExecutionBreak();
86EXTERN_AST void setExecutionBreak(); 87EXTERN_AST void setExecutionBreak();
diff --git a/scilab/modules/ast/includes/types/implicitlist.hxx b/scilab/modules/ast/includes/types/implicitlist.hxx
index ceaf9d6..69f77d06 100644
--- a/scilab/modules/ast/includes/types/implicitlist.hxx
+++ b/scilab/modules/ast/includes/types/implicitlist.hxx
@@ -69,6 +69,9 @@ public :
69 return IdImplicitList; 69 return IdImplicitList;
70 } 70 }
71 71
72 bool operator==(const InternalType& it) override;
73 bool operator!=(const InternalType& it) override;
74
72 bool isImplicitList() override 75 bool isImplicitList() override
73 { 76 {
74 return true; 77 return true;
@@ -121,7 +124,7 @@ public :
121 } 124 }
122 125
123 //extract single value in a InternalType 126 //extract single value in a InternalType
124 void extractValue(int _iOccur, InternalType*); //Single value 127 bool extractValue(int _iOccur, InternalType*); //Single value
125 void extractValueAsDouble(int _iOccur, Double*); 128 void extractValueAsDouble(int _iOccur, Double*);
126 template<typename T> 129 template<typename T>
127 void extractValueAsInteger(int _iOccur, T* val); 130 void extractValueAsInteger(int _iOccur, T* val);
diff --git a/scilab/modules/ast/includes/types/internal.hxx b/scilab/modules/ast/includes/types/internal.hxx
index 0e141f6..b78b5f9 100644
--- a/scilab/modules/ast/includes/types/internal.hxx
+++ b/scilab/modules/ast/includes/types/internal.hxx
@@ -30,6 +30,7 @@ extern "C"
30#include "configvariable_interface.h" 30#include "configvariable_interface.h"
31} 31}
32 32
33#include "scilabexception.hxx"
33#include "localization.hxx" 34#include "localization.hxx"
34#ifndef NDEBUG 35#ifndef NDEBUG
35#include "inspector.hxx" 36#include "inspector.hxx"
@@ -232,7 +233,17 @@ public :
232 // A types:: content in more than one Scilab variable 233 // A types:: content in more than one Scilab variable
233 // must be cloned before being modified. 234 // must be cloned before being modified.
234 T* pClone = _pIT->clone()->template getAs<T>(); 235 T* pClone = _pIT->clone()->template getAs<T>();
235 T* pIT = (pClone->*f)(a...); 236 T* pIT = NULL;
237 try
238 {
239 pIT = (pClone->*f)(a...);
240 }
241 catch (const ast::InternalError& ie)
242 {
243 pClone->killMe();
244 throw ie;
245 }
246
236 if (pIT == NULL) 247 if (pIT == NULL)
237 { 248 {
238 pClone->killMe(); 249 pClone->killMe();
diff --git a/scilab/modules/ast/includes/types/overload.hxx b/scilab/modules/ast/includes/types/overload.hxx
index a145fac..51e8cc4 100644
--- a/scilab/modules/ast/includes/types/overload.hxx
+++ b/scilab/modules/ast/includes/types/overload.hxx
@@ -33,12 +33,12 @@ public:
33 /** 33 /**
34 */ 34 */
35 static types::Function::ReturnValue generateNameAndCall(const std::wstring& _stFunctionName, types::typed_list &in, int _iRetCount, 35 static types::Function::ReturnValue generateNameAndCall(const std::wstring& _stFunctionName, types::typed_list &in, int _iRetCount,
36 types::typed_list &out, bool _isOperator = false, bool errorOnUndefined = true); 36 types::typed_list &out, bool _isOperator = false, bool errorOnUndefined = true, const Location& _Location = Location());
37 37
38 /** 38 /**
39 */ 39 */
40 static types::Function::ReturnValue call(const std::wstring& _stFunctionName, types::typed_list &in, int _iRetCount, 40 static types::Function::ReturnValue call(const std::wstring& _stFunctionName, types::typed_list &in, int _iRetCount,
41 types::typed_list &out, bool _isOperator = false, bool errorOnUndefined = true); 41 types::typed_list &out, bool _isOperator = false, bool errorOnUndefined = true, const Location& _Location = Location());
42 42
43 static std::wstring getNameFromOper(const int); 43 static std::wstring getNameFromOper(const int);
44 44
diff --git a/scilab/modules/ast/src/cpp/ast/debuggervisitor.cpp b/scilab/modules/ast/src/cpp/ast/debuggervisitor.cpp
index 1f0ce45..ff1d6ec 100644
--- a/scilab/modules/ast/src/cpp/ast/debuggervisitor.cpp
+++ b/scilab/modules/ast/src/cpp/ast/debuggervisitor.cpp
@@ -25,7 +25,6 @@
25 25
26extern "C" 26extern "C"
27{ 27{
28#include "filemanager_interface.h"
29#include "FileExist.h" 28#include "FileExist.h"
30} 29}
31 30
@@ -70,7 +69,8 @@ void DebuggerVisitor::visit(const SeqExp &e)
70 69
71 //debugger check ! 70 //debugger check !
72 int iBreakPoint = -1; 71 int iBreakPoint = -1;
73 if (ConfigVariable::getEnableDebug()) 72 if (ConfigVariable::getEnableDebug() &&
73 manager->isInterrupted() == false) // avoid stopping execution if an execution is already paused
74 { 74 {
75 bool stopExecution = false; 75 bool stopExecution = false;
76 if (manager->isStepIn()) 76 if (manager->isStepIn())
@@ -179,28 +179,40 @@ void DebuggerVisitor::visit(const SeqExp &e)
179 pCtx->scope_begin(); 179 pCtx->scope_begin();
180 bp->getConditionExp()->accept(execCond); 180 bp->getConditionExp()->accept(execCond);
181 types::InternalType* pIT = pCtx->getCurrentLevel(symbol::Symbol(L"ans")); 181 types::InternalType* pIT = pCtx->getCurrentLevel(symbol::Symbol(L"ans"));
182 if (pIT == NULL || 182 if (pIT == NULL)
183 pIT->isBool() == false ||
184 ((types::Bool*)pIT)->isScalar() == false ||
185 ((types::Bool*)pIT)->get(0) == 0)
186 { 183 {
184 // no result ie: assignation
185 char pcError[256];
186 sprintf(pcError, _("Wrong breakpoint condition: A result expected.\n"));
187 bp->setConditionError(pcError);
188 }
189 else if(pIT->isTrue() == false)
190 {
191 // bool scalar false
187 pCtx->scope_end(); 192 pCtx->scope_end();
188 //not a boolean, not scalar or false
189 stopExecution = false; 193 stopExecution = false;
190 continue; 194 continue;
191 } 195 }
192 196
193 pCtx->scope_end(); 197 // condition is invalid or true
194 //ok condition is valid and true
195 } 198 }
196 catch (ast::ScilabException &/*e*/) 199 catch (ast::ScilabException& e)
197 { 200 {
198 pCtx->scope_end();
199 stopExecution = false;
200 //not work ! 201 //not work !
201 //invalid breakpoint 202 //invalid breakpoint
202 continue; 203 if(ConfigVariable::isError())
204 {
205 bp->setConditionError(scilab::UTF8::toUTF8(ConfigVariable::getLastErrorMessage()));
206 ConfigVariable::clearLastError();
207 ConfigVariable::resetError();
208 }
209 else
210 {
211 bp->setConditionError(scilab::UTF8::toUTF8(e.GetErrorMessage()));
212 }
203 } 213 }
214
215 pCtx->scope_end();
204 } 216 }
205 217
206 //we have a breakpoint ! 218 //we have a breakpoint !
@@ -213,8 +225,9 @@ void DebuggerVisitor::visit(const SeqExp &e)
213 } 225 }
214 } 226 }
215 227
216 if(stopExecution) 228 if(stopExecution || manager->isPauseRequested())
217 { 229 {
230 manager->resetPauseRequest();
218 manager->stop(exp, iBreakPoint); 231 manager->stop(exp, iBreakPoint);
219 if (manager->isAborted()) 232 if (manager->isAborted())
220 { 233 {
@@ -240,20 +253,22 @@ void DebuggerVisitor::visit(const SeqExp &e)
240 setExpectedSize(iExpectedSize); 253 setExpectedSize(iExpectedSize);
241 types::InternalType * pIT = getResult(); 254 types::InternalType * pIT = getResult();
242 255
243 // In case of exec file, set the file name in the Macro to store where it is defined. 256 if(exp->isFunctionDec())
244 int iFileID = ConfigVariable::getExecutedFileID();
245 if (iFileID && exp->isFunctionDec())
246 { 257 {
247 types::InternalType* pITMacro = symbol::Context::getInstance()->get(exp->getAs<ast::FunctionDec>()->getSymbol()); 258 // In case of exec file, set the file name in the Macro to store where it is defined.
248 if (pITMacro) 259 std::wstring strFile = ConfigVariable::getExecutedFile();
260 const std::vector<ConfigVariable::WhereEntry>& lWhereAmI = ConfigVariable::getWhere();
261
262 if (strFile != L"" && // check if we are executing a script or a macro
263 lWhereAmI.empty() == false &&
264 lWhereAmI.back().m_file_name != nullptr && // check the last function execution is a macro
265 *(lWhereAmI.back().m_file_name) == strFile) // check the last execution is the same macro as the executed one
249 { 266 {
250 types::Macro* pMacro = pITMacro->getAs<types::Macro>(); 267 types::InternalType* pITMacro = symbol::Context::getInstance()->get(exp->getAs<FunctionDec>()->getSymbol());
251 const wchar_t* filename = getfile_filename(iFileID); 268 if (pITMacro)
252 // scilab.quit is not open with mopen
253 // in this case filename is NULL because FileManager have not been filled.
254 if (filename)
255 { 269 {
256 pMacro->setFileName(filename); 270 types::Macro* pMacro = pITMacro->getAs<types::Macro>();
271 pMacro->setFileName(strFile);
257 } 272 }
258 } 273 }
259 } 274 }
@@ -464,6 +479,11 @@ bool getMacroSourceFile(std::string* filename)
464 return false; 479 return false;
465 } 480 }
466 481
482 if(lWhereAmI.back().m_file_name == nullptr)
483 {
484 return false;
485 }
486
467 std::string file = scilab::UTF8::toUTF8(*lWhereAmI.back().m_file_name); 487 std::string file = scilab::UTF8::toUTF8(*lWhereAmI.back().m_file_name);
468 if (file.rfind(".bin") != std::string::npos) 488 if (file.rfind(".bin") != std::string::npos)
469 { 489 {
@@ -481,4 +501,4 @@ bool getMacroSourceFile(std::string* filename)
481 } 501 }
482 502
483 return true; 503 return true;
484} \ No newline at end of file 504}
diff --git a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
index 60f4f82..66f727e 100644
--- a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
+++ b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
@@ -172,27 +172,6 @@ void DebuggerManager::sendUpdate() const
172 } 172 }
173} 173}
174 174
175void DebuggerManager::addBreakPoint(Breakpoint* bp)
176{
177 //check if breakpoint does not exist
178 for (const auto b : breakpoints)
179 {
180 bool isMacro = b->getFunctioName() == bp->getFunctioName() &&
181 b->getMacroLine() != bp->getMacroLine();
182 bool isFile = b->getFileName() == bp->getFileName() &&
183 b->getFileLine() != bp->getFileLine();
184 bool equalCondition = b->getCondition() != bp->getCondition();
185 if ((isMacro || isFile) && equalCondition)
186 {
187 //same breakpoint, cancel add
188 return;
189 }
190 }
191
192 breakpoints.push_back(bp);
193 sendUpdate();
194}
195
196void DebuggerManager::setAllBreakPoints(Breakpoints& _bps) 175void DebuggerManager::setAllBreakPoints(Breakpoints& _bps)
197{ 176{
198 // remove existing breakpoints 177 // remove existing breakpoints
@@ -207,6 +186,64 @@ void DebuggerManager::setAllBreakPoints(Breakpoints& _bps)
207 sendUpdate(); 186 sendUpdate();
208} 187}
209 188
189Breakpoints::iterator DebuggerManager::findBreakPoint(Breakpoint* bp)
190{
191 Breakpoints::iterator found = std::find_if(breakpoints.begin(), breakpoints.end(),
192 [&](Breakpoint* b) {
193 bool isMacro = b->getFunctioName() != "" &&
194 b->getFunctioName() == bp->getFunctioName() &&
195 b->getMacroLine() == bp->getMacroLine();
196
197 bool isFile = b->getFileName() != "" &&
198 b->getFileName() == bp->getFileName() &&
199 b->getFileLine() == bp->getFileLine();
200
201 return (isMacro || isFile);
202 });
203
204 return found;
205}
206
207bool DebuggerManager::addBreakPoint(Breakpoint* bp)
208{
209 //check if breakpoint does not exist
210 Breakpoints::iterator iter = findBreakPoint(bp);
211 if(iter == breakpoints.end())
212 {
213 breakpoints.push_back(bp);
214 sendUpdate();
215 return true;
216 }
217
218 return false;
219}
220
221bool DebuggerManager::updateBreakPoint(Breakpoint* bp)
222{
223 Breakpoints::iterator iter = findBreakPoint(bp);
224 if(iter != breakpoints.end())
225 {
226 std::swap(*iter, bp);
227 delete bp;
228 return true;
229 }
230
231 return false;
232}
233
234bool DebuggerManager::removeBreakPoint(Breakpoint* bp)
235{
236 Breakpoints::iterator iter = findBreakPoint(bp);
237 if(iter != breakpoints.end())
238 {
239 delete *iter;
240 breakpoints.erase(iter);
241 return true;
242 }
243
244 return false;
245}
246
210void DebuggerManager::removeBreakPoint(int _iBreakPoint) 247void DebuggerManager::removeBreakPoint(int _iBreakPoint)
211{ 248{
212 if (_iBreakPoint >= 0 && _iBreakPoint <= (int)breakpoints.size()) 249 if (_iBreakPoint >= 0 && _iBreakPoint <= (int)breakpoints.size())
@@ -344,7 +381,7 @@ void DebuggerManager::generateCallStack()
344 row.functionName = tmp; 381 row.functionName = tmp;
345 FREE(tmp); 382 FREE(tmp);
346 row.functionLine = it_line->m_line - 1; 383 row.functionLine = it_line->m_line - 1;
347 if(callstackAddFile(&row, *it_name->m_file_name)) 384 if(it_name->m_file_name && callstackAddFile(&row, *it_name->m_file_name))
348 { 385 {
349 row.fileLine = it_line->m_line; 386 row.fileLine = it_line->m_line;
350 row.functionLine = -1; 387 row.functionLine = -1;
@@ -442,6 +479,24 @@ void DebuggerManager::resume() //resume execution
442 } 479 }
443} 480}
444 481
482void DebuggerManager::requestPause() //ask for pause
483{
484 // pause on execution only if a command is running
485 if(interrupted == false) {
486 request_pause = true;
487 }
488}
489
490bool DebuggerManager::isPauseRequested() //pause execution
491{
492 return request_pause;
493}
494
495void DebuggerManager::resetPauseRequest() //pause execution
496{
497 request_pause = false;
498}
499
445void DebuggerManager::abort() //abort execution 500void DebuggerManager::abort() //abort execution
446{ 501{
447 //inform debuggers 502 //inform debuggers
@@ -450,6 +505,9 @@ void DebuggerManager::abort() //abort execution
450 // this state is check by the debuggerVisitor to do abort in the main thread 505 // this state is check by the debuggerVisitor to do abort in the main thread
451 setAborted(); 506 setAborted();
452 507
508 // reset requested pause in case we abort before beeing in pause
509 resetPauseRequest();
510
453 // abort in a pause 511 // abort in a pause
454 if(isInterrupted()) 512 if(isInterrupted())
455 { 513 {
@@ -458,8 +516,10 @@ void DebuggerManager::abort() //abort execution
458 ConfigVariable::DecreasePauseLevel(); 516 ConfigVariable::DecreasePauseLevel();
459 } 517 }
460 518
461 // reset lasterror 519 // reset lasterror information
462 ConfigVariable::clearLastError(); 520 ConfigVariable::clearLastError();
521 // reset error flag
522 ConfigVariable::resetError();
463 // reset callstack 523 // reset callstack
464 clearCallStack(); 524 clearCallStack();
465 525
@@ -482,8 +542,18 @@ void DebuggerManager::internal_stop()
482 // release the debugger thread 542 // release the debugger thread
483 ThreadManagement::SendDebuggerExecDoneSignal(); 543 ThreadManagement::SendDebuggerExecDoneSignal();
484 // wait inside pause 544 // wait inside pause
485 pause(); 545 try
486 //clean current seqexp 546 {
547 pause();
548 }
549 catch (const ast::InternalAbort& ia)
550 {
551 // can append when aborting an execution
552 // which is running inside a pause
553 interrupted = false;
554 throw ia;
555 }
556
487 interrupted = false; 557 interrupted = false;
488} 558}
489 559
diff --git a/scilab/modules/ast/src/cpp/ast/run_CallExp.hpp b/scilab/modules/ast/src/cpp/ast/run_CallExp.hpp
index 76285c4..7b7e206 100644
--- a/scilab/modules/ast/src/cpp/ast/run_CallExp.hpp
+++ b/scilab/modules/ast/src/cpp/ast/run_CallExp.hpp
@@ -225,7 +225,7 @@ void RunVisitorT<T>::visitprivate(const CallExp &e)
225 if (pIT->isInvokable() == false) 225 if (pIT->isInvokable() == false)
226 { 226 {
227 // call overload 227 // call overload
228 ret = Overload::call(L"%" + pIT->getShortTypeStr() + L"_e", in, iRetCount, out, true); 228 ret = Overload::call(L"%" + pIT->getShortTypeStr() + L"_e", in, iRetCount, out, true, true, e.getLocation());
229 } 229 }
230 else 230 else
231 { 231 {
@@ -233,7 +233,7 @@ void RunVisitorT<T>::visitprivate(const CallExp &e)
233 if (ret == false && pIT->isUserType()) 233 if (ret == false && pIT->isUserType())
234 { 234 {
235 // call overload 235 // call overload
236 ret = Overload::call(L"%" + pIT->getShortTypeStr() + L"_e", in, iRetCount, out, true); 236 ret = Overload::call(L"%" + pIT->getShortTypeStr() + L"_e", in, iRetCount, out, true, true, e.getLocation());
237 } 237 }
238 } 238 }
239 239
@@ -305,7 +305,7 @@ void RunVisitorT<T>::visitprivate(const CallExp &e)
305 pListArg->killMe(); 305 pListArg->killMe();
306 } 306 }
307 } 307 }
308 catch (InternalAbort & ia) 308 catch (const InternalAbort & ia)
309 { 309 {
310 setExpectedSize(iSaveExpectedSize); 310 setExpectedSize(iSaveExpectedSize);
311 if (pIT != getResult()) 311 if (pIT != getResult())
@@ -320,8 +320,14 @@ void RunVisitorT<T>::visitprivate(const CallExp &e)
320 320
321 throw ia; 321 throw ia;
322 } 322 }
323 catch (const InternalError& ie) 323 catch (InternalError& ie)
324 { 324 {
325 // set location if the function which thrown this execption was not able to do it
326 if(ie.GetErrorLocation().first_line == -1)
327 {
328 ie.SetErrorLocation(e.getLocation());
329 }
330
325 setExpectedSize(iSaveExpectedSize); 331 setExpectedSize(iSaveExpectedSize);
326 if (pIT != getResult()) 332 if (pIT != getResult())
327 { 333 {
diff --git a/scilab/modules/ast/src/cpp/ast/run_MatrixExp.hpp b/scilab/modules/ast/src/cpp/ast/run_MatrixExp.hpp
index 91cc64b..8d5eacd 100644
--- a/scilab/modules/ast/src/cpp/ast/run_MatrixExp.hpp
+++ b/scilab/modules/ast/src/cpp/ast/run_MatrixExp.hpp
@@ -113,7 +113,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
113 { 113 {
114 try 114 try
115 { 115 {
116 poRow = callOverloadMatrixExp(L"c", poRow, pIT); 116 poRow = callOverloadMatrixExp(L"c", poRow, pIT, e.getLocation());
117 } 117 }
118 catch (const InternalError& error) 118 catch (const InternalError& error)
119 { 119 {
@@ -140,7 +140,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
140 { 140 {
141 try 141 try
142 { 142 {
143 poRow = callOverloadMatrixExp(L"c", poRow, pIT); 143 poRow = callOverloadMatrixExp(L"c", poRow, pIT, e.getLocation());
144 } 144 }
145 catch (const InternalError& error) 145 catch (const InternalError& error)
146 { 146 {
@@ -192,7 +192,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
192 { 192 {
193 try 193 try
194 { 194 {
195 poRow = callOverloadMatrixExp(L"c", poRow, pGT); 195 poRow = callOverloadMatrixExp(L"c", poRow, pGT, e.getLocation());
196 } 196 }
197 catch (const InternalError& error) 197 catch (const InternalError& error)
198 { 198 {
@@ -215,7 +215,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
215 types::GenericType* pGTResult = poRow->getAs<types::GenericType>(); 215 types::GenericType* pGTResult = poRow->getAs<types::GenericType>();
216 216
217 //check dimension 217 //check dimension
218 if (pGT->getDims() != 2 || pGT->getRows() != pGTResult->getRows()) 218 if (pGT->getDims() != 2 || ( (pGT->getRows() != pGTResult->getRows()) && pGT->getRows() != 0 && pGTResult->getRows() != 0) )
219 { 219 {
220 poRow->killMe(); 220 poRow->killMe();
221 if (poRow != pGT) 221 if (poRow != pGT)
@@ -274,7 +274,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
274 delete[] piRank; 274 delete[] piRank;
275 } 275 }
276 276
277 types::InternalType *pNewSize = AddElementToVariable(NULL, poRow, pGTResult->getRows(), pGTResult->getCols() + pGT->getCols()); 277 types::InternalType *pNewSize = AddElementToVariable(NULL, poRow, std::max(pGTResult->getRows(),pGT->getRows()), pGTResult->getCols() + pGT->getCols());
278 types::InternalType* p = AddElementToVariable(pNewSize, pGT, 0, pGTResult->getCols()); 278 types::InternalType* p = AddElementToVariable(pNewSize, pGT, 0, pGTResult->getCols());
279 if (p != pNewSize) 279 if (p != pNewSize)
280 { 280 {
@@ -285,7 +285,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
285 { 285 {
286 try 286 try
287 { 287 {
288 poRow = callOverloadMatrixExp(L"c", pGTResult, pGT); 288 poRow = callOverloadMatrixExp(L"c", pGTResult, pGT, e.getLocation());
289 } 289 }
290 catch (const InternalError& error) 290 catch (const InternalError& error)
291 { 291 {
@@ -326,7 +326,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
326 { 326 {
327 try 327 try
328 { 328 {
329 poResult = callOverloadMatrixExp(L"f", poResult, poRow); 329 poResult = callOverloadMatrixExp(L"f", poResult, poRow, e.getLocation());
330 } 330 }
331 catch (const InternalError& error) 331 catch (const InternalError& error)
332 { 332 {
@@ -344,7 +344,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
344 { 344 {
345 try 345 try
346 { 346 {
347 poResult = callOverloadMatrixExp(L"f", pGTResult, pGT); 347 poResult = callOverloadMatrixExp(L"f", pGTResult, pGT, e.getLocation());
348 } 348 }
349 catch (const InternalError& error) 349 catch (const InternalError& error)
350 { 350 {
@@ -363,7 +363,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
363 } 363 }
364 364
365 //check dimension 365 //check dimension
366 if (pGT->getCols() != pGTResult->getCols()) 366 if ((pGT->getCols() != pGTResult->getCols()) && pGT->getCols() != 0 && pGTResult->getCols() != 0)
367 { 367 {
368 poRow->killMe(); 368 poRow->killMe();
369 if (poResult) 369 if (poResult)
@@ -390,7 +390,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
390 pGTResult = poResult->getAs<types::GenericType>(); 390 pGTResult = poResult->getAs<types::GenericType>();
391 } 391 }
392 392
393 types::InternalType* pNewSize = AddElementToVariable(NULL, poResult, pGTResult->getRows() + pGT->getRows(), pGT->getCols()); 393 types::InternalType* pNewSize = AddElementToVariable(NULL, poResult, pGTResult->getRows() + pGT->getRows(), std::max(pGT->getCols(),pGTResult->getCols()));
394 types::InternalType* p = AddElementToVariable(pNewSize, pGT, pGTResult->getRows(), 0); 394 types::InternalType* p = AddElementToVariable(pNewSize, pGT, pGTResult->getRows(), 0);
395 if (p != pNewSize) 395 if (p != pNewSize)
396 { 396 {
@@ -402,7 +402,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
402 { 402 {
403 try 403 try
404 { 404 {
405 poResult = callOverloadMatrixExp(L"f", pGTResult, pGT); 405 poResult = callOverloadMatrixExp(L"f", pGTResult, pGT, e.getLocation());
406 } 406 }
407 catch (const InternalError& error) 407 catch (const InternalError& error)
408 { 408 {
@@ -442,7 +442,7 @@ void RunVisitorT<T>::visitprivate(const MatrixExp &e)
442} 442}
443 443
444template<class T> 444template<class T>
445types::InternalType* RunVisitorT<T>::callOverloadMatrixExp(const std::wstring& strType, types::InternalType* _paramL, types::InternalType* _paramR) 445types::InternalType* RunVisitorT<T>::callOverloadMatrixExp(const std::wstring& strType, types::InternalType* _paramL, types::InternalType* _paramR, const Location& _location)
446{ 446{
447 types::typed_list in; 447 types::typed_list in;
448 types::typed_list out; 448 types::typed_list out;
@@ -458,11 +458,11 @@ types::InternalType* RunVisitorT<T>::callOverloadMatrixExp(const std::wstring& s
458 { 458 {
459 if (_paramR->isGenericType() && _paramR->getAs<types::GenericType>()->getDims() > 2) 459 if (_paramR->isGenericType() && _paramR->getAs<types::GenericType>()->getDims() > 2)
460 { 460 {
461 Ret = Overload::call(L"%hm_" + strType + L"_hm", in, 1, out, true); 461 Ret = Overload::call(L"%hm_" + strType + L"_hm", in, 1, out, true, true, _location);
462 } 462 }
463 else 463 else
464 { 464 {
465 Ret = Overload::call(L"%" + _paramL->getAs<types::List>()->getShortTypeStr() + L"_" + strType + L"_" + _paramR->getAs<types::List>()->getShortTypeStr(), in, 1, out, true); 465 Ret = Overload::call(L"%" + _paramL->getAs<types::List>()->getShortTypeStr() + L"_" + strType + L"_" + _paramR->getAs<types::List>()->getShortTypeStr(), in, 1, out, true, true, _location);
466 } 466 }
467 } 467 }
468 catch (const InternalError& error) 468 catch (const InternalError& error)
diff --git a/scilab/modules/ast/src/cpp/ast/run_OpExp.hpp b/scilab/modules/ast/src/cpp/ast/run_OpExp.hpp
index 84502e2..f994da2 100644
--- a/scilab/modules/ast/src/cpp/ast/run_OpExp.hpp
+++ b/scilab/modules/ast/src/cpp/ast/run_OpExp.hpp
@@ -202,7 +202,7 @@ void RunVisitorT<T>::visitprivate(const OpExp &e)
202 if (pResult == NULL) 202 if (pResult == NULL)
203 { 203 {
204 // We did not have any algorithm matching, so we try to call OverLoad 204 // We did not have any algorithm matching, so we try to call OverLoad
205 pResult = callOverloadOpExp(e.getOper(), pITL, pITR); 205 pResult = callOverloadOpExp(e.getOper(), pITL, pITR, e.getLocation());
206 } 206 }
207 207
208 setResult(pResult); 208 setResult(pResult);
@@ -417,7 +417,7 @@ void RunVisitorT<T>::visitprivate(const LogicalOpExp &e)
417 pITR = pIR->extractFullMatrix(); 417 pITR = pIR->extractFullMatrix();
418 } 418 }
419 } 419 }
420 pResult = callOverloadOpExp(e.getOper(), pITL, pITR); 420 pResult = callOverloadOpExp(e.getOper(), pITL, pITR, e.getLocation());
421 } 421 }
422 422
423 setResult(pResult); 423 setResult(pResult);
@@ -459,7 +459,7 @@ void RunVisitorT<T>::visitprivate(const LogicalOpExp &e)
459} 459}
460 460
461template<class T> 461template<class T>
462types::InternalType* RunVisitorT<T>::callOverloadOpExp(OpExp::Oper _oper, types::InternalType* _paramL, types::InternalType* _paramR) 462types::InternalType* RunVisitorT<T>::callOverloadOpExp(OpExp::Oper _oper, types::InternalType* _paramL, types::InternalType* _paramR, const Location& _location)
463{ 463{
464 types::typed_list in; 464 types::typed_list in;
465 types::typed_list out; 465 types::typed_list out;
@@ -473,7 +473,7 @@ types::InternalType* RunVisitorT<T>::callOverloadOpExp(OpExp::Oper _oper, types:
473 in.push_back(_paramR); 473 in.push_back(_paramR);
474 try 474 try
475 { 475 {
476 types::Callable::ReturnValue ret = Overload::generateNameAndCall(Overload::getNameFromOper(_oper), in, 1, out, true); 476 types::Callable::ReturnValue ret = Overload::generateNameAndCall(Overload::getNameFromOper(_oper), in, 1, out, true, true, _location);
477 if(ret == types::Function::Error) 477 if(ret == types::Function::Error)
478 { 478 {
479 throw ast::InternalError(ConfigVariable::getLastErrorMessage()); 479 throw ast::InternalError(ConfigVariable::getLastErrorMessage());
@@ -487,7 +487,7 @@ types::InternalType* RunVisitorT<T>::callOverloadOpExp(OpExp::Oper _oper, types:
487 487
488 _paramR->DecreaseRef(); 488 _paramR->DecreaseRef();
489 return out[0]; 489 return out[0];
490 } 490 }
491 491
492 _paramL->IncreaseRef(); 492 _paramL->IncreaseRef();
493 _paramR->IncreaseRef(); 493 _paramR->IncreaseRef();
@@ -496,7 +496,7 @@ types::InternalType* RunVisitorT<T>::callOverloadOpExp(OpExp::Oper _oper, types:
496 496
497 try 497 try
498 { 498 {
499 types::Callable::ReturnValue ret = Overload::generateNameAndCall(Overload::getNameFromOper(_oper), in, 1, out, true); 499 types::Callable::ReturnValue ret = Overload::generateNameAndCall(Overload::getNameFromOper(_oper), in, 1, out, true, true, _location);
500 if(ret == types::Function::Error) 500 if(ret == types::Function::Error)
501 { 501 {
502 throw ast::InternalError(ConfigVariable::getLastErrorMessage()); 502 throw ast::InternalError(ConfigVariable::getLastErrorMessage());
diff --git a/scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp b/scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp
index d650ecb..03dade1 100644
--- a/scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp
+++ b/scilab/modules/ast/src/cpp/ast/run_SeqExp.hpp
@@ -36,16 +36,12 @@ void RunVisitorT<T>::visitprivate(const SeqExp &e)
36 if (e.getExecFrom() == SeqExp::EXEC) 36 if (e.getExecFrom() == SeqExp::EXEC)
37 { 37 {
38 //open input file to print exp from it 38 //open input file to print exp from it
39 int iFileID = ConfigVariable::getExecutedFileID(); 39 std::wstring strFile = ConfigVariable::getExecutedFile();
40 if (iFileID) 40 if (strFile != L"")
41 { 41 {
42 const wchar_t* filename = getfile_filename(iFileID); 42 char* cfilename = wide_string_to_UTF8(strFile.data());
43 if (filename) 43 file = new std::ifstream(cfilename);
44 { 44 FREE(cfilename);
45 char* cfilename = wide_string_to_UTF8(filename);
46 file = new std::ifstream(cfilename);
47 FREE(cfilename);
48 }
49 } 45 }
50 } 46 }
51 47
@@ -139,20 +135,22 @@ void RunVisitorT<T>::visitprivate(const SeqExp &e)
139 setExpectedSize(iExpectedSize); 135 setExpectedSize(iExpectedSize);
140 types::InternalType * pIT = getResult(); 136 types::InternalType * pIT = getResult();
141 137
142 // In case of exec file, set the file name in the Macro to store where it is defined. 138 if((*it)->isFunctionDec())
143 int iFileID = ConfigVariable::getExecutedFileID();
144 if (iFileID && (*it)->isFunctionDec())
145 { 139 {
146 types::InternalType* pITMacro = symbol::Context::getInstance()->get((*it)->getAs<FunctionDec>()->getSymbol()); 140 // In case of exec file, set the file name in the Macro to store where it is defined.
147 if (pITMacro) 141 std::wstring strFile = ConfigVariable::getExecutedFile();
142 const std::vector<ConfigVariable::WhereEntry>& lWhereAmI = ConfigVariable::getWhere();
143
144 if (strFile != L"" && // check if we are executing a script or a macro
145 lWhereAmI.empty() == false &&
146 lWhereAmI.back().m_file_name != nullptr && // check the last function execution is a macro
147 *(lWhereAmI.back().m_file_name) == strFile) // check the last execution is the same macro as the executed one
148 { 148 {
149 types::Macro* pMacro = pITMacro->getAs<types::Macro>(); 149 types::InternalType* pITMacro = symbol::Context::getInstance()->get((*it)->getAs<FunctionDec>()->getSymbol());
150 const wchar_t* filename = getfile_filename(iFileID); 150 if (pITMacro)
151 // scilab.quit is not open with mopen
152 // in this case filename is NULL because FileManager have not been filled.
153 if (filename)
154 { 151 {
155 pMacro->setFileName(filename); 152 types::Macro* pMacro = pITMacro->getAs<types::Macro>();
153 pMacro->setFileName(strFile);
156 } 154 }
157 } 155 }
158 } 156 }
diff --git a/scilab/modules/ast/src/cpp/ast/runvisitor.cpp b/scilab/modules/ast/src/cpp/ast/runvisitor.cpp
index 8331130..b7dff73 100644
--- a/scilab/modules/ast/src/cpp/ast/runvisitor.cpp
+++ b/scilab/modules/ast/src/cpp/ast/runvisitor.cpp
@@ -426,39 +426,34 @@ void RunVisitorT<T>::visitprivate(const FieldExp &e)
426 in.push_back(pValue); 426 in.push_back(pValue);
427 types::Callable::ReturnValue Ret = types::Callable::Error; 427 types::Callable::ReturnValue Ret = types::Callable::Error;
428 std::wstring stType = pValue->getShortTypeStr(); 428 std::wstring stType = pValue->getShortTypeStr();
429 std::wstring wstrFuncName = L"%" + stType + L"_e";
429 430
430 try 431 try
431 { 432 {
432 Ret = Overload::call(L"%" + stType + L"_e", in, 1, out, true); 433 Ret = Overload::call(wstrFuncName.c_str(), in, 1, out, false, false, e.getLocation());
434 if(Ret == types::Callable::OK_NoResult)
435 {
436 // overload not defined, try with the short name.
437 // to compatibility with scilab 5 code.
438 // tlist/mlist name are truncated to 8 first character
439 wstrFuncName = L"%" + stType.substr(0, 8) + L"_e";
440 Ret = Overload::call(wstrFuncName.c_str(), in, 1, out, false, true, e.getLocation());
441 }
433 } 442 }
434 catch (const InternalError& ie) 443 catch (const InternalError& ie)
435 { 444 {
436 try 445 // TList or Mlist
446 // last error is not empty when the error have been setted by the overload itself.
447 if (pValue->isList() && ConfigVariable::getLastErrorFunction().empty())
437 { 448 {
438 //to compatibility with scilab 5 code. 449 wstrFuncName = L"%l_e";
439 //tlist/mlist name are truncated to 8 first character 450 Ret = Overload::call(wstrFuncName.c_str(), in, 1, out, false, true, e.getLocation());
440 if (stType.size() > 8)
441 {
442 Ret = Overload::call(L"%" + stType.substr(0, 8) + L"_e", in, 1, out, true);
443 }
444 else
445 {
446 CoverageInstance::stopChrono((void*)&e);
447 throw ie;
448 }
449 } 451 }
450 catch (const InternalError& ie) 452 else
451 { 453 {
452 // TList or Mlist 454 CoverageInstance::stopChrono((void*)&e);
453 if (pValue->isList()) 455 // throw the exception in case where the overload have not been defined.
454 { 456 throw ie;
455 Ret = Overload::call(L"%l_e", in, 1, out, true);
456 }
457 else
458 {
459 CoverageInstance::stopChrono((void*)&e);
460 throw ie;
461 }
462 } 457 }
463 } 458 }
464 459
@@ -470,12 +465,27 @@ void RunVisitorT<T>::visitprivate(const FieldExp &e)
470 throw InternalError(ConfigVariable::getLastErrorMessage(), ConfigVariable::getLastErrorNumber(), e.getLocation()); 465 throw InternalError(ConfigVariable::getLastErrorMessage(), ConfigVariable::getLastErrorNumber(), e.getLocation());
471 } 466 }
472 467
468 // An extraction have to return something
469 if(out.empty())
470 {
471 setResult(NULL);
472 cleanInOut(in, out);
473 CoverageInstance::stopChrono((void*)&e);
474
475 wchar_t wcstrError[512];
476 char* strFuncName = wide_string_to_UTF8(wstrFuncName.c_str());
477 os_swprintf(wcstrError, 512, _W("%s: Extraction must have at least one output.\n").c_str(), strFuncName);
478 FREE(strFuncName);
479
480 throw InternalError(wcstrError, 999, e.getLocation());
481 }
482
473 setResult(out); 483 setResult(out);
474 cleanIn(in, out); 484 cleanIn(in, out);
475 } 485 }
476 else 486 else
477 { 487 {
478 pValue->killMe(); 488 clearResult();
479 wchar_t szError[bsiz]; 489 wchar_t szError[bsiz];
480 os_swprintf(szError, bsiz, _W("Attempt to reference field of non-structure array.\n").c_str()); 490 os_swprintf(szError, bsiz, _W("Attempt to reference field of non-structure array.\n").c_str());
481 CoverageInstance::stopChrono((void*)&e); 491 CoverageInstance::stopChrono((void*)&e);
@@ -1316,7 +1326,7 @@ void RunVisitorT<T>::visitprivate(const NotExp &e)
1316 pValue->IncreaseRef(); 1326 pValue->IncreaseRef();
1317 in.push_back(pValue); 1327 in.push_back(pValue);
1318 1328
1319 types::Callable::ReturnValue Ret = Overload::call(L"%" + pValue->getShortTypeStr() + L"_5", in, 1, out, true); 1329 types::Callable::ReturnValue Ret = Overload::call(L"%" + pValue->getShortTypeStr() + L"_5", in, 1, out, true, true, e.getLocation());
1320 1330
1321 if (Ret != types::Callable::OK) 1331 if (Ret != types::Callable::OK)
1322 { 1332 {
@@ -1382,11 +1392,11 @@ void RunVisitorT<T>::visitprivate(const TransposeExp &e)
1382 types::Callable::ReturnValue Ret; 1392 types::Callable::ReturnValue Ret;
1383 if (bConjug) 1393 if (bConjug)
1384 { 1394 {
1385 Ret = Overload::call(L"%" + getResult()->getShortTypeStr() + L"_t", in, 1, out, true); 1395 Ret = Overload::call(L"%" + getResult()->getShortTypeStr() + L"_t", in, 1, out, true, true, e.getLocation());
1386 } 1396 }
1387 else 1397 else
1388 { 1398 {
1389 Ret = Overload::call(L"%" + getResult()->getShortTypeStr() + L"_0", in, 1, out, true); 1399 Ret = Overload::call(L"%" + getResult()->getShortTypeStr() + L"_0", in, 1, out, true, true, e.getLocation());
1390 } 1400 }
1391 1401
1392 if (Ret != types::Callable::OK) 1402 if (Ret != types::Callable::OK)
@@ -1651,7 +1661,7 @@ void RunVisitorT<T>::visitprivate(const ListExp &e)
1651 in.push_back(pStep); 1661 in.push_back(pStep);
1652 pEnd->IncreaseRef(); 1662 pEnd->IncreaseRef();
1653 in.push_back(pEnd); 1663 in.push_back(pEnd);
1654 Ret = Overload::call(L"%" + pStart->getShortTypeStr() + L"_b_" + pStep->getShortTypeStr(), in, 1, out, true); 1664 Ret = Overload::call(L"%" + pStart->getShortTypeStr() + L"_b_" + pStep->getShortTypeStr(), in, 1, out, true, true, e.getLocation());
1655 } 1665 }
1656 else 1666 else
1657 { 1667 {
@@ -1660,7 +1670,7 @@ void RunVisitorT<T>::visitprivate(const ListExp &e)
1660 pStep->killMe(); 1670 pStep->killMe();
1661 pEnd->IncreaseRef(); 1671 pEnd->IncreaseRef();
1662 in.push_back(pEnd); 1672 in.push_back(pEnd);
1663 Ret = Overload::call(L"%" + pStart->getShortTypeStr() + L"_b_" + pEnd->getShortTypeStr(), in, 1, out, true); 1673 Ret = Overload::call(L"%" + pStart->getShortTypeStr() + L"_b_" + pEnd->getShortTypeStr(), in, 1, out, true, true, e.getLocation());
1664 } 1674 }
1665 } 1675 }
1666 catch (const InternalError& error) 1676 catch (const InternalError& error)
diff --git a/scilab/modules/ast/src/cpp/ast/treevisitor.cpp b/scilab/modules/ast/src/cpp/ast/treevisitor.cpp
index c8bb815..9e5bffa 100644
--- a/scilab/modules/ast/src/cpp/ast/treevisitor.cpp
+++ b/scilab/modules/ast/src/cpp/ast/treevisitor.cpp
@@ -17,6 +17,7 @@
17#include "printvisitor.hxx" 17#include "printvisitor.hxx"
18#include "execvisitor.hxx" 18#include "execvisitor.hxx"
19#include "token.hxx" 19#include "token.hxx"
20#include "cell.hxx"
20 21
21extern "C" 22extern "C"
22{ 23{
@@ -154,49 +155,28 @@ void TreeVisitor::visit(const MatrixExp &e)
154 return; 155 return;
155 } 156 }
156 157
157 types::List* sub = createOperation(); 158 l = matrixOrCellExp(lines, *this, L"cc");
158 types::List* ope = new types::List(); 159}
159
160 int idx = 0;
161 for (auto it : lines)
162 {
163 it->accept(*this);
164
165 if (idx >= 2)
166 {
167 sub->append(ope);
168 ope->killMe();
169 sub->append(new types::String(L"cc"));
170 160
171 //create a new operation 161void TreeVisitor::visit(const CellExp &e)
172 //put previous stage in lhs and 162{
173 //result in rhs 163 exps_t lines = e.getLines();
174 types::List* subcolcatOperation = createOperation();
175 types::List* subcolcatOperands = new types::List();
176 subcolcatOperands->append(sub);
177 sub->killMe();
178 //add EOL
179 //subcolcatOperands->append(getEOL());
180 types::InternalType* tmp = getList();
181 subcolcatOperands->append(tmp);
182 tmp->killMe();
183 164
184 ope = subcolcatOperands; 165 if (lines.size() == 0)
185 sub = subcolcatOperation; 166 {
186 } 167 l = createConst(new types::Cell());
187 else 168 return;
188 { 169 }
189 types::InternalType* tmp = getList();
190 ope->append(tmp);
191 tmp->killMe();
192 }
193 170
194 ++idx; 171 if (lines.size() == 1)
172 {
173 lines.front()->accept(*this);
174 types::List* pL = getList();
175 pL->get(pL->getSize() - 1)->getAs<types::String>()->set(0, L"crc");
176 return;
195 } 177 }
196 sub->append(ope); 178
197 ope->killMe(); 179 l = matrixOrCellExp(lines, *this, L"ccc");
198 sub->append(new types::String(L"cc"));
199 l = sub;
200} 180}
201 181
202void TreeVisitor::visit(const MatrixLineExp &e) 182void TreeVisitor::visit(const MatrixLineExp &e)
@@ -1102,4 +1082,51 @@ types::InternalType* TreeVisitor::getVerbose(const Exp& e)
1102 return new types::String(L";"); 1082 return new types::String(L";");
1103 } 1083 }
1104} 1084}
1085
1086types::List* TreeVisitor::matrixOrCellExp(const exps_t& lines, TreeVisitor& me, const std::wstring& what)
1087{
1088 types::List* sub = createOperation();
1089 types::List* ope = new types::List();
1090
1091 int idx = 0;
1092 for (auto it : lines)
1093 {
1094 it->accept(me);
1095
1096 if (idx >= 2)
1097 {
1098 sub->append(ope);
1099 ope->killMe();
1100 sub->append(new types::String(what.data()));
1101
1102 //create a new operation
1103 //put previous stage in lhs and
1104 //result in rhs
1105 types::List* subcolcatOperation = createOperation();
1106 types::List* subcolcatOperands = new types::List();
1107 subcolcatOperands->append(sub);
1108 sub->killMe();
1109 //add EOL
1110 //subcolcatOperands->append(getEOL());
1111 types::InternalType* tmp = me.getList();
1112 subcolcatOperands->append(tmp);
1113 tmp->killMe();
1114
1115 ope = subcolcatOperands;
1116 sub = subcolcatOperation;
1117 }
1118 else
1119 {
1120 types::InternalType* tmp = me.getList();
1121 ope->append(tmp);
1122 tmp->killMe();
1123 }
1124
1125 ++idx;
1126 }
1127 sub->append(ope);
1128 ope->killMe();
1129 sub->append(new types::String(what.data()));
1130 return sub;
1131}
1105} 1132}
diff --git a/scilab/modules/ast/src/cpp/ast/visitor_common.cpp b/scilab/modules/ast/src/cpp/ast/visitor_common.cpp
index e5a924d..717c185 100644
--- a/scilab/modules/ast/src/cpp/ast/visitor_common.cpp
+++ b/scilab/modules/ast/src/cpp/ast/visitor_common.cpp
@@ -651,7 +651,7 @@ types::InternalType* callOverload(const ast::Exp& e, const std::wstring& _strTyp
651 { 651 {
652 try 652 try
653 { 653 {
654 ret = Overload::call(function_name, in, 1, out); 654 ret = Overload::call(function_name, in, 1, out, false, true, e.getLocation());
655 } 655 }
656 catch (const ast::InternalError& error) 656 catch (const ast::InternalError& error)
657 { 657 {
@@ -930,7 +930,6 @@ types::InternalType* evaluateFields(const ast::Exp* _pExp, std::list<ExpHistory*
930 workFields.pop_front(); 930 workFields.pop_front();
931 931
932 types::InternalType* pITCurrent = pEH->getCurrent(); 932 types::InternalType* pITCurrent = pEH->getCurrent();
933
934 if (pEH->isCellExp() && pITCurrent->isCell() == false) 933 if (pEH->isCellExp() && pITCurrent->isCell() == false)
935 { 934 {
936 std::wostringstream os; 935 std::wostringstream os;
@@ -938,18 +937,18 @@ types::InternalType* evaluateFields(const ast::Exp* _pExp, std::list<ExpHistory*
938 throw ast::InternalError(os.str(), 999, _pExp->getLocation()); 937 throw ast::InternalError(os.str(), 999, _pExp->getLocation());
939 } 938 }
940 939
940 // In the case where pITCurrent is in several scilab variables or containers,
941 // we have to clone it to keep the originals one unchanged.
942 if (pITCurrent->getRef() > 1)
943 {
944 pITCurrent = pITCurrent->clone();
945 pEH->setCurrent(pITCurrent);
946 pEH->setReinsertion();
947 }
948
941 if (pITCurrent->isStruct()) 949 if (pITCurrent->isStruct())
942 { 950 {
943 types::Struct* pStruct = pITCurrent->getAs<types::Struct>(); 951 types::Struct* pStruct = pITCurrent->getAs<types::Struct>();
944 // In case where pStruct is in several scilab variable,
945 // we have to clone it for keep the other variables unchanged.
946 if (pStruct->getRef() > 1)
947 {
948 pStruct = pStruct->clone();
949 pEH->setCurrent(pStruct);
950 pEH->setReinsertion();
951 }
952
953 std::wstring pwcsFieldname = (*iterFields)->getExpAsString(); 952 std::wstring pwcsFieldname = (*iterFields)->getExpAsString();
954 953
955 if (pEH->needResize()) 954 if (pEH->needResize())
diff --git a/scilab/modules/ast/src/cpp/operations/types_power.cpp b/scilab/modules/ast/src/cpp/operations/types_power.cpp
index 7e9c020..4128790 100644
--- a/scilab/modules/ast/src/cpp/operations/types_power.cpp
+++ b/scilab/modules/ast/src/cpp/operations/types_power.cpp
@@ -300,7 +300,7 @@ int PowerDoubleByDouble(Double* _pDouble1, Double* _pDouble2, Double** _pDoubleO
300 300
301 return 0; 301 return 0;
302 } 302 }
303 else if (_pDouble1->getRows() == _pDouble1->getCols()) 303 else if (_pDouble1->getRows() == _pDouble1->getCols() && _pDouble1->getDims() == 2)
304 { 304 {
305 //power of a square matrix by a scalar exponent. 305 //power of a square matrix by a scalar exponent.
306 int iRet = 0; 306 int iRet = 0;
diff --git a/scilab/modules/ast/src/cpp/system_env/configvariable.cpp b/scilab/modules/ast/src/cpp/system_env/configvariable.cpp
index 7845243..bf83d4f 100644
--- a/scilab/modules/ast/src/cpp/system_env/configvariable.cpp
+++ b/scilab/modules/ast/src/cpp/system_env/configvariable.cpp
@@ -1475,15 +1475,15 @@ std::string& ConfigVariable::getMexFunctionName()
1475** \} 1475** \}
1476*/ 1476*/
1477// executed file with exec 1477// executed file with exec
1478int ConfigVariable::m_iFileID = 0; 1478std::wstring ConfigVariable::m_strFile = L"";
1479void ConfigVariable::setExecutedFileID(int _iFileID) 1479void ConfigVariable::setExecutedFile(const std::wstring& _strFile)
1480{ 1480{
1481 m_iFileID = _iFileID; 1481 m_strFile = _strFile;
1482} 1482}
1483 1483
1484int ConfigVariable::getExecutedFileID() 1484const std::wstring& ConfigVariable::getExecutedFile()
1485{ 1485{
1486 return m_iFileID; 1486 return m_strFile;
1487} 1487}
1488 1488
1489/* 1489/*
diff --git a/scilab/modules/ast/src/cpp/system_env/configvariable_interface.cpp b/scilab/modules/ast/src/cpp/system_env/configvariable_interface.cpp
index bb38085..be87993 100644
--- a/scilab/modules/ast/src/cpp/system_env/configvariable_interface.cpp
+++ b/scilab/modules/ast/src/cpp/system_env/configvariable_interface.cpp
@@ -246,6 +246,11 @@ int isDebugInterrupted()
246 return debugger::DebuggerManager::getInstance()->isInterrupted() ? 1 : 0; 246 return debugger::DebuggerManager::getInstance()->isInterrupted() ? 1 : 0;
247} 247}
248 248
249int debuggerManagerExecute(const char* command)
250{
251 return debugger::DebuggerManager::getInstance()->execute(command) ? 1 : 0;
252}
253
249int isExecutionBreak() 254int isExecutionBreak()
250{ 255{
251 return ConfigVariable::isExecutionBreak() ? 1 : 0; 256 return ConfigVariable::isExecutionBreak() ? 1 : 0;
diff --git a/scilab/modules/ast/src/cpp/types/arrayof.cpp b/scilab/modules/ast/src/cpp/types/arrayof.cpp
index d9350b7..7df4a81 100644
--- a/scilab/modules/ast/src/cpp/types/arrayof.cpp
+++ b/scilab/modules/ast/src/cpp/types/arrayof.cpp
@@ -21,6 +21,7 @@
21#include "type_traits.hxx" 21#include "type_traits.hxx"
22#include "exp.hxx" 22#include "exp.hxx"
23#include "types_tools.hxx" 23#include "types_tools.hxx"
24#include "scilabexception.hxx"
24 25
25extern "C" 26extern "C"
26{ 27{
@@ -590,7 +591,18 @@ GenericType* ArrayOf<T>::insertNew(typed_list* _pArgs)
590 pOut = createEmpty((int)dims.size(), dims.data(), bComplex); 591 pOut = createEmpty((int)dims.size(), dims.data(), bComplex);
591 ArrayOf* pArrayOut = pOut->getAs<ArrayOf>(); 592 ArrayOf* pArrayOut = pOut->getAs<ArrayOf>();
592 pArrayOut->fillDefaultValues(); 593 pArrayOut->fillDefaultValues();
593 ArrayOf* pOut2 = pArrayOut->insert(_pArgs, this); 594 ArrayOf* pOut2 = NULL;
595
596 try
597 {
598 pOut2 = pArrayOut->insert(_pArgs, this);
599 }
600 catch (const ast::InternalError& error)
601 {
602 pOut->killMe();
603 throw error;
604 }
605
594 if (pOut != pOut2) 606 if (pOut != pOut2)
595 { 607 {
596 delete pOut; 608 delete pOut;
@@ -1094,8 +1106,6 @@ GenericType* ArrayOf<T>::extract(typed_list* _pArgs)
1094 pOut->setComplex(false); 1106 pOut->setComplex(false);
1095 } 1107 }
1096 1108
1097
1098
1099 return pOut; 1109 return pOut;
1100 } 1110 }
1101 1111
@@ -1403,6 +1413,10 @@ GenericType* ArrayOf<T>::extract(typed_list* _pArgs)
1403 1413
1404 //free pArg content 1414 //free pArg content
1405 cleanIndexesArguments(_pArgs, &pArg); 1415 cleanIndexesArguments(_pArgs, &pArg);
1416 if(pOut)
1417 {
1418 pOut->killMe();
1419 }
1406 return NULL; 1420 return NULL;
1407 } 1421 }
1408 } 1422 }
@@ -1448,7 +1462,7 @@ GenericType* ArrayOf<T>::extract(typed_list* _pArgs)
1448 1462
1449 piIndex[0]++; 1463 piIndex[0]++;
1450 } 1464 }
1451 1465
1452 pOut->setComplex(bIsComplex); 1466 pOut->setComplex(bIsComplex);
1453 1467
1454 //free pArg content 1468 //free pArg content
diff --git a/scilab/modules/ast/src/cpp/types/double.cpp b/scilab/modules/ast/src/cpp/types/double.cpp
index 584ef51d..a064f44 100644
--- a/scilab/modules/ast/src/cpp/types/double.cpp
+++ b/scilab/modules/ast/src/cpp/types/double.cpp
@@ -392,11 +392,11 @@ bool Double::subMatrixToString(std::wostringstream& ostr, int* _piDims, int /*_i
392 ostr << std::endl; 392 ostr << std::endl;
393 } 393 }
394 } 394 }
395 else if (isVector() && getCols() == 1 && isComplex() == false) 395 else if (isVector() && getRows() != 1 && isComplex() == false)
396 { 396 {
397 // real column vector 397 // real column vector (or hypermatrix yielding such a vector after being squeezed)
398 398
399 // compute the number of ligne to print in function of max line 399 // compute the number of lines to print in function of max lines
400 int iLinesToPrint = getRows() - m_iRows1PrintState; 400 int iLinesToPrint = getRows() - m_iRows1PrintState;
401 if ((iMaxLines == 0 && iLinesToPrint >= MAX_LINES) || (iMaxLines != 0 && iLinesToPrint >= iMaxLines)) 401 if ((iMaxLines == 0 && iLinesToPrint >= MAX_LINES) || (iMaxLines != 0 && iLinesToPrint >= iMaxLines))
402 { 402 {
diff --git a/scilab/modules/ast/src/cpp/types/implicitlist.cpp b/scilab/modules/ast/src/cpp/types/implicitlist.cpp
index 527cdfd..b1f74a0 100644
--- a/scilab/modules/ast/src/cpp/types/implicitlist.cpp
+++ b/scilab/modules/ast/src/cpp/types/implicitlist.cpp
@@ -190,6 +190,23 @@ void ImplicitList::setEnd(InternalType* _poIT)
190 m_bComputed = false; 190 m_bComputed = false;
191} 191}
192 192
193bool ImplicitList::operator==(const InternalType& it)
194{
195 if (const_cast<InternalType &>(it).isImplicitList() == false)
196 {
197 return false;
198 }
199
200 ImplicitList* pIL = const_cast<InternalType &>(it).getAs<ImplicitList>();
201
202 return *m_poStart == *pIL->getStart() && *m_poStep == *pIL->getStep() && *m_poEnd == *pIL->getEnd();
203}
204
205bool ImplicitList::operator!=(const InternalType& it)
206{
207 return !(*this == it);
208}
209
193bool ImplicitList::compute() 210bool ImplicitList::compute()
194{ 211{
195 if (m_bComputed == true) 212 if (m_bComputed == true)
@@ -450,14 +467,9 @@ InternalType* ImplicitList::getInitalType()
450} 467}
451 468
452//extract single value in a InternalType 469//extract single value in a InternalType
453void ImplicitList::extractValue(int _iOccur, InternalType* pIT) 470bool ImplicitList::extractValue(int _iOccur, InternalType* pIT)
454{ 471{
455 if (pIT == nullptr) 472 if (pIT && compute() && m_iSize >= _iOccur)
456 {
457 return;
458 }
459
460 if (compute())
461 { 473 {
462 switch (m_eOutType) 474 switch (m_eOutType)
463 { 475 {
@@ -489,7 +501,10 @@ void ImplicitList::extractValue(int _iOccur, InternalType* pIT)
489 extractValueAsDouble(_iOccur, pIT->getAs<Double>()); 501 extractValueAsDouble(_iOccur, pIT->getAs<Double>());
490 break; 502 break;
491 } 503 }
504 return true;
492 } 505 }
506
507 return false;
493} 508}
494 509
495//extract matrix in a Internaltype 510//extract matrix in a Internaltype
@@ -635,7 +650,6 @@ InternalType* ImplicitList::extract(typed_list* _pArgs)
635 int iDims = (int)_pArgs->size(); 650 int iDims = (int)_pArgs->size();
636 typed_list pArg; 651 typed_list pArg;
637 InternalType* pOut = NULL; 652 InternalType* pOut = NULL;
638 int index = 0;
639 653
640 int* piMaxDim = new int[iDims]; 654 int* piMaxDim = new int[iDims];
641 int* piCountDim = new int[iDims]; 655 int* piCountDim = new int[iDims];
@@ -646,59 +660,126 @@ InternalType* ImplicitList::extract(typed_list* _pArgs)
646 { 660 {
647 //free pArg content 661 //free pArg content
648 cleanIndexesArguments(_pArgs, &pArg); 662 cleanIndexesArguments(_pArgs, &pArg);
663 delete[] piMaxDim;
664 delete[] piCountDim;
649 return createEmptyDouble(); 665 return createEmptyDouble();
650 } 666 }
651 667
652 if (iDims == 1 && iSeqCount == 1) 668 // computable
669 if(compute())
653 { 670 {
654 if (piMaxDim[0] > 0 && piMaxDim[0] <= 3) 671 if(iSeqCount == 1 && iDims == 1) // (0:9)(5)
655 { 672 {
656 //standard case a(1) 673 int index = (int)pArg[0]->getAs<Double>()->get()[0] - 1;
657 Double* pDbl = pArg[0]->getAs<Double>(); 674 if(index < m_iSize)
658 index = (int)pDbl->get()[0] - 1; 675 {
676 pOut = getInitalType();
677 if(extractValue(index, pOut) == false)
678 {
679 pOut->killMe();
680 pOut = NULL;
681 }
682 }
659 } 683 }
660 else 684 else
661 { 685 {
662 index = 0; 686 // for more complex argument, expand the implicit list
687 // to perform the extraction on a more common type.
688 InternalType* pIT = extractFullMatrix();
689 pOut = pIT->getAs<GenericType>()->extract(_pArgs);
690 pIT->killMe();
663 } 691 }
664 } 692 }
665 else 693 else if((piMaxDim[0] > 0 && piMaxDim[0] <= 3) && iSeqCount != -1)
666 { 694 {
667 int* piDims = new int[iDims]; 695 // check dims indexes other than the first one
668 int* pIndex = new int[iDims]; 696 // (1:$)(2,1) works but not (1:$)(1,2)
669 for (int i = 0 ; i < iDims ; i++) 697 bool bOk = true;
698 for(int i = 1; i < iDims; i++)
670 { 699 {
671 piDims[i] = 1; 700 if(pArg[i]->getAs<Double>()->get(0) != 1)
701 {
702 bOk = false;
703 break;
704 }
672 } 705 }
673 706
674 for (int i = 0 ; i < iSeqCount ; i++) 707 if(bOk)
675 { 708 {
676 for (int j = 0 ; j < iDims ; j++) 709 std::vector<int> indexes;
710 indexes.reserve(iSeqCount);
711 bool isOutPoly = false;
712 double* pDbl = pArg[0]->getAs<Double>()->get();
713 for (int i = 0 ; i < iSeqCount ; i++)
714 {
715 indexes.push_back((int)pDbl[i] - 1);
716 }
717
718 std::vector<InternalType*> vect;
719 for (int i = 0 ; i < iSeqCount ; i++)
677 { 720 {
678 Double* pDbl = pArg[j]->getAs<Double>(); 721 switch (indexes[i])
679 pIndex[j] = (int)pDbl->get()[i] - 1; 722 {
723 case 0 : // start
724 vect.push_back(getStart());
725 // pPoly->set(i, start);
726 break;
727 case 1 : // step
728 vect.push_back(getStep());
729 break;
730 case 2 : // end
731 vect.push_back(getEnd());
732 break;
733 default :
734 vect.clear();
735 break;
736 }
680 } 737 }
681 738
682 index = getIndexWithDims(pIndex, piDims, iDims); 739 Polynom* pPoly = nullptr;
740 for(auto elem : vect)
741 {
742 if(elem->isPoly())
743 {
744 // (0:$)(:) vs (0:$)(1:$)
745 int iRows = (*_pArgs)[0]->isColon() ? iSeqCount : 1;
746 int iCols = (*_pArgs)[0]->isColon() ? 1 : iSeqCount;
747 pPoly = new Polynom(L"$", iRows, iCols);
748 break;
749 }
750 }
751
752 if(pPoly)
753 {
754 for (int i = 0 ; i < iSeqCount ; i++)
755 {
756 if(vect[i]->isPoly())
757 {
758 pPoly->set(i, vect[i]->getAs<Polynom>()->get(0));
759 }
760 else
761 {
762 double* coef = nullptr;
763 SinglePoly* singlePoly = new SinglePoly(&coef, 0);
764 coef[0] = vect[i]->getAs<Double>()->get(0);
765 pPoly->set(i, singlePoly);
766 singlePoly->killMe();
767 }
768 }
769
770 pOut = pPoly;
771 }
772 else if(vect.empty() == false)
773 {
774 Double* pDbl = new Double(1, iSeqCount);
775 for (int i = 0 ; i < iSeqCount ; i++)
776 {
777 pDbl->set(i, vect[i]->getAs<Double>()->get(0));
778 }
779
780 pOut = pDbl;
781 }
683 } 782 }
684 delete[] pIndex;
685 delete[] piDims;
686 }
687
688 switch (index)
689 {
690 case 0 :
691 pOut = getStart();
692 break;
693 case 1 :
694 pOut = getStep();
695 break;
696 case 2 :
697 pOut = getEnd();
698 break;
699 default :
700 pOut = NULL;
701 break;
702 } 783 }
703 784
704 //free pArg content 785 //free pArg content
diff --git a/scilab/modules/ast/src/cpp/types/list.cpp b/scilab/modules/ast/src/cpp/types/list.cpp
index d6fcb39..c5c1295 100644
--- a/scilab/modules/ast/src/cpp/types/list.cpp
+++ b/scilab/modules/ast/src/cpp/types/list.cpp
@@ -14,7 +14,9 @@
14*/