Merge remote branch 'origin/master' into MPI
Sylvestre Ledru [Mon, 25 Jan 2010 16:28:30 +0000 (17:28 +0100)]
Conflicts:
scilab/Version.incl
scilab/configure
scilab/modules/core/includes/version.h

698 files changed:
SEP/INDEX
SEP/SEP_35_selection_of_installed_header.odt
SEP/SEP_37_scilab_syntax.odt [new file with mode: 0644]
scilab/ACKNOWLEDGEMENTS
scilab/CHANGES
scilab/CHANGES_5.2.X
scilab/CHANGES_5.3.X [new file with mode: 0644]
scilab/Makefile.am
scilab/Makefile.call_scilab.am [new file with mode: 0644]
scilab/Makefile.in
scilab/RELEASE_NOTES
scilab/Version.incl
scilab/aclocal.m4
scilab/configure
scilab/configure.ac
scilab/etc/classpath.xml.vc
scilab/m4/docbook.m4
scilab/m4/java.m4
scilab/modules/action_binding/locales/en_US/action_binding.pot
scilab/modules/action_binding/locales/uk_UA/action_binding.po [new file with mode: 0644]
scilab/modules/action_binding/src/jni/InterpreterManagement.i
scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
scilab/modules/action_binding/version.xml
scilab/modules/api_scilab/help/en_US/api_scilab.xml [new file with mode: 0644]
scilab/modules/api_scilab/help/en_US/capi/CheckColumn.xml
scilab/modules/api_scilab/help/en_US/capi/CheckDimProp.xml
scilab/modules/api_scilab/help/en_US/capi/CheckDims.xml
scilab/modules/api_scilab/help/en_US/capi/CheckLength.xml
scilab/modules/api_scilab/help/en_US/capi/CheckLhs.xml
scilab/modules/api_scilab/help/en_US/capi/CheckRhs.xml
scilab/modules/api_scilab/help/en_US/capi/CheckRow.xml
scilab/modules/api_scilab/help/en_US/capi/CheckSameDims.xml
scilab/modules/api_scilab/help/en_US/capi/CheckScalar.xml
scilab/modules/api_scilab/help/en_US/capi/CheckSquare.xml
scilab/modules/api_scilab/help/en_US/capi/CheckVector.xml
scilab/modules/api_scilab/help/en_US/capi/FindOpt.xml
scilab/modules/api_scilab/help/en_US/capi/FirstOpt.xml
scilab/modules/api_scilab/help/en_US/capi/IsOpt.xml
scilab/modules/api_scilab/help/en_US/capi/Lhs.xml
scilab/modules/api_scilab/help/en_US/capi/LhsVar.xml
scilab/modules/api_scilab/help/en_US/capi/NumOpt.xml
scilab/modules/api_scilab/help/en_US/capi/OverLoad.xml
scilab/modules/api_scilab/help/en_US/capi/Rhs.xml
scilab/modules/api_scilab/help/en_US/capi/get_optionals.xml
scilab/modules/api_scilab/help/en_US/capi/sci_types.xml
scilab/modules/api_scilab/includes/api_boolean.h
scilab/modules/api_scilab/includes/api_boolean_sparse.h
scilab/modules/api_scilab/includes/api_common.h
scilab/modules/api_scilab/includes/api_double.h
scilab/modules/api_scilab/includes/api_error.h
scilab/modules/api_scilab/includes/api_int.h
scilab/modules/api_scilab/includes/api_pointer.h
scilab/modules/api_scilab/includes/api_poly.h
scilab/modules/api_scilab/includes/api_sparse.h
scilab/modules/api_scilab/includes/api_string.h
scilab/modules/api_scilab/src/c/api_scilab.rc
scilab/modules/api_scilab/src/cpp/api_boolean.cpp
scilab/modules/api_scilab/src/cpp/api_boolean_sparse.cpp
scilab/modules/api_scilab/src/cpp/api_common.cpp
scilab/modules/api_scilab/src/cpp/api_double.cpp
scilab/modules/api_scilab/src/cpp/api_int.cpp
scilab/modules/api_scilab/src/cpp/api_internal_common.h
scilab/modules/api_scilab/src/cpp/api_internal_double.h
scilab/modules/api_scilab/src/cpp/api_internal_int.h
scilab/modules/api_scilab/src/cpp/api_internal_poly.h
scilab/modules/api_scilab/src/cpp/api_internal_sparse.h
scilab/modules/api_scilab/src/cpp/api_pointer.cpp
scilab/modules/api_scilab/src/cpp/api_poly.cpp
scilab/modules/api_scilab/src/cpp/api_sparse.cpp
scilab/modules/api_scilab/src/cpp/api_string.cpp
scilab/modules/api_scilab/tests/unit_tests/common_read_api.c
scilab/modules/arnoldi/locales/en_US/arnoldi.pot
scilab/modules/arnoldi/locales/uk_UA/arnoldi.po [new file with mode: 0644]
scilab/modules/arnoldi/sci_gateway/c/sci_dnaupd.c
scilab/modules/arnoldi/src/c/arnoldi.rc
scilab/modules/arnoldi/version.xml
scilab/modules/atoms/help/en_US/atomsSetConfig.xml
scilab/modules/atoms/locales/en_US/atoms.pot
scilab/modules/atoms/locales/uk_UA/atoms.po [new file with mode: 0644]
scilab/modules/atoms/macros/atomsAutoloadAdd.sci
scilab/modules/atoms/macros/atomsAutoloadDel.sci
scilab/modules/atoms/macros/atomsCategoryList.sci [new file with mode: 0644]
scilab/modules/atoms/macros/atomsInstall.sci
scilab/modules/atoms/macros/atomsIsInstalled.sci
scilab/modules/atoms/macros/atomsIsLoaded.sci
scilab/modules/atoms/macros/atomsList.sci
scilab/modules/atoms/macros/atomsLoad.sci
scilab/modules/atoms/macros/atomsRemove.sci
scilab/modules/atoms/macros/atomsRepositoryAdd.sci
scilab/modules/atoms/macros/atomsRepositoryDel.sci
scilab/modules/atoms/macros/atomsSearch.sci
scilab/modules/atoms/macros/atomsSetConfig.sci
scilab/modules/atoms/macros/atomsShow.sci
scilab/modules/atoms/macros/atomsSystemUpdate.sci
scilab/modules/atoms/macros/atomsVersion.sci
scilab/modules/atoms/macros/atoms_gui/atomsGui.sci
scilab/modules/atoms/macros/atoms_internals/atomsAutoloadCheck.sci
scilab/modules/atoms/macros/atoms_internals/atomsCompatibleVersions.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONadd.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONaddField.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONcat.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci [new file with mode: 0644]
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONread.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONrm.sci
scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONwrite.sci
scilab/modules/atoms/macros/atoms_internals/atomsDepTreeExt.sci
scilab/modules/atoms/macros/atoms_internals/atomsDepTreeFlat.sci
scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci
scilab/modules/atoms/macros/atoms_internals/atomsGetInstalledDetails.sci
scilab/modules/atoms/macros/atoms_internals/atomsGetInstalledPath.sci
scilab/modules/atoms/macros/atoms_internals/atomsGetMRVersion.sci
scilab/modules/atoms/macros/atoms_internals/atomsGetTOOLBOXES.sci [deleted file]
scilab/modules/atoms/macros/atoms_internals/atomsGetVersions.sci
scilab/modules/atoms/macros/atoms_internals/atomsInstallList.sci
scilab/modules/atoms/macros/atoms_internals/atomsIsPackage.sci
scilab/modules/atoms/macros/atoms_internals/atomsRemoveList.sci
scilab/modules/atoms/macros/atoms_internals/atomsRepositorySetOfl.sci
scilab/modules/atoms/macros/atoms_internals/atomsSetOfficialRep.sci [deleted file]
scilab/modules/atoms/macros/atoms_internals/atomsToolboxDetails.sci
scilab/modules/atoms/macros/atoms_internals/atomsVersionCompare.sci
scilab/modules/atoms/tests/nonreg_tests/bug_5359.tst
scilab/modules/atoms/tests/unit_tests/atomsAutoloadAdd.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsAutoloadAdd.tst
scilab/modules/atoms/tests/unit_tests/atomsAutoloadDel.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsAutoloadDel.tst
scilab/modules/atoms/tests/unit_tests/atomsDepTreeShow.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsDepTreeShow.tst
scilab/modules/atoms/tests/unit_tests/atomsInstall.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsInstall.tst
scilab/modules/atoms/tests/unit_tests/atomsInstallList.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsInstallList.tst
scilab/modules/atoms/tests/unit_tests/atomsIsInstalled.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsIsInstalled.tst
scilab/modules/atoms/tests/unit_tests/atomsIsLoaded.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsIsLoaded.tst
scilab/modules/atoms/tests/unit_tests/atomsLoad.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsLoad.tst
scilab/modules/atoms/tests/unit_tests/atomsRemoveList.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsRemoveList.tst
scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsRepositoryAdd.tst
scilab/modules/atoms/tests/unit_tests/atomsRepositoryDel.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsRepositoryDel.tst
scilab/modules/atoms/tests/unit_tests/atomsShow.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsShow.tst
scilab/modules/atoms/tests/unit_tests/atomsUpdate.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsUpdate.tst
scilab/modules/atoms/tests/unit_tests/atomsVersion.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsVersion.tst
scilab/modules/atoms/tests/unit_tests/atomsVersionCompare.dia.ref
scilab/modules/atoms/tests/unit_tests/atomsVersionCompare.tst
scilab/modules/atoms/tests/unit_tests/scene10.test.atoms.scilab.org.txt [moved from scilab/modules/atoms/tests/unit_tests/scene1.test.atoms.scilab.org.txt with 88% similarity]
scilab/modules/atoms/tests/unit_tests/scene11.test.atoms.scilab.org.txt [moved from scilab/modules/atoms/tests/unit_tests/scene2.test.atoms.scilab.org.txt with 85% similarity]
scilab/modules/atoms/tests/unit_tests/scene12.test.atoms.scilab.org.txt [new file with mode: 0644]
scilab/modules/atoms/version.xml
scilab/modules/boolean/locales/en_US/boolean.pot
scilab/modules/boolean/locales/uk_UA/boolean.po [new file with mode: 0644]
scilab/modules/boolean/version.xml
scilab/modules/cacsd/help/en_US/arma.xml
scilab/modules/cacsd/help/en_US/nyquist.xml
scilab/modules/cacsd/help/en_US/riccati.xml
scilab/modules/cacsd/help/en_US/rowinout.xml
scilab/modules/cacsd/help/en_US/svplot.xml
scilab/modules/cacsd/locales/en_US/cacsd.pot
scilab/modules/cacsd/locales/uk_UA/cacsd.po [new file with mode: 0644]
scilab/modules/cacsd/macros/cont_mat.sci
scilab/modules/cacsd/macros/lqr.sci
scilab/modules/cacsd/macros/nehari.sci
scilab/modules/cacsd/macros/obsvss.sci
scilab/modules/cacsd/macros/plzr.sci
scilab/modules/cacsd/macros/riccati.sci
scilab/modules/cacsd/macros/trzeros.sci
scilab/modules/cacsd/version.xml
scilab/modules/call_scilab/examples/basicExamples/DisableInteractiveMode.c
scilab/modules/call_scilab/examples/basicExamples/GetLastJob.c
scilab/modules/call_scilab/examples/basicExamples/readwriteboolean.c
scilab/modules/call_scilab/examples/basicExamples/readwritecomplexmatrix.c
scilab/modules/call_scilab/examples/basicExamples/readwritematrix.c
scilab/modules/call_scilab/examples/basicExamples/readwritestring.c
scilab/modules/call_scilab/examples/call_scilab/c/LabWindow/CallsciC.c
scilab/modules/call_scilab/examples/call_scilab/c/common/myprog.c
scilab/modules/call_scilab/examples/call_scilab/c/common/simple_call_scilab.c
scilab/modules/call_scilab/examples/call_scilab/c/visual_studio/CallsciC.c
scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c
scilab/modules/call_scilab/help/en_US/BooleanManagement.xml
scilab/modules/call_scilab/help/en_US/ComplexManagement.xml
scilab/modules/call_scilab/help/en_US/DisableInteractiveMode.xml
scilab/modules/call_scilab/help/en_US/DoubleManagement.xml
scilab/modules/call_scilab/help/en_US/GetLastJob.xml
scilab/modules/call_scilab/help/en_US/ScilabHaveAGraph.xml
scilab/modules/call_scilab/help/en_US/SendScilabJob.xml
scilab/modules/call_scilab/help/en_US/SendScilabJobs.xml
scilab/modules/call_scilab/help/en_US/StartScilab.xml
scilab/modules/call_scilab/help/en_US/StringManagement.xml
scilab/modules/call_scilab/help/en_US/TerminateScilab.xml
scilab/modules/call_scilab/help/en_US/call_scilab.xml
scilab/modules/call_scilab/help/en_US/compile_and_run_call_scilab.xml
scilab/modules/call_scilab/help/en_US/creadbmat.xml
scilab/modules/call_scilab/help/en_US/creadchain.xml
scilab/modules/call_scilab/help/en_US/creadcmat.xml
scilab/modules/call_scilab/help/en_US/creadmat.xml
scilab/modules/call_scilab/help/en_US/cwritebmat.xml
scilab/modules/call_scilab/help/en_US/cwritechain.xml
scilab/modules/call_scilab/help/en_US/cwritecmat.xml
scilab/modules/call_scilab/help/en_US/cwritemat.xml
scilab/modules/call_scilab/help/en_US/fromc.xml
scilab/modules/call_scilab/help/en_US/fromjava.xml
scilab/modules/call_scilab/src/c/call_scilab.rc
scilab/modules/call_scilab/version.xml
scilab/modules/compatibility_functions/locales/en_US/compatibility_functions.pot
scilab/modules/compatibility_functions/locales/uk_UA/compatibility_functions.po [new file with mode: 0644]
scilab/modules/compatibility_functions/version.xml
scilab/modules/completion/locales/en_US/completion.pot
scilab/modules/completion/locales/uk_UA/completion.po [new file with mode: 0644]
scilab/modules/completion/src/c/completion.rc
scilab/modules/completion/src/jni/Completion.i
scilab/modules/completion/src/nocompletion/nocompletion.rc
scilab/modules/completion/version.xml
scilab/modules/console/locales/en_US/console.pot
scilab/modules/console/locales/uk_UA/console.po [new file with mode: 0644]
scilab/modules/console/src/java/org/scilab/modules/console/SciInputCommandView.java
scilab/modules/console/src/java/org/scilab/modules/console/SciOutputView.java
scilab/modules/console/src/jni/DropFiles.i
scilab/modules/console/src/jni/GuiManagement.i
scilab/modules/console/src/noconsole/noconsole.rc
scilab/modules/console/version.xml
scilab/modules/core/Makefile.am
scilab/modules/core/Makefile.in
scilab/modules/core/help/en_US/error_table.xml
scilab/modules/core/help/pt_BR/error_table.xml
scilab/modules/core/includes/machine.h.in
scilab/modules/core/includes/version.h
scilab/modules/core/locales/en_US/core.pot
scilab/modules/core/locales/uk_UA/core.po [new file with mode: 0644]
scilab/modules/core/sci_gateway/c/sci_gstacksize.c
scilab/modules/core/sci_gateway/c/sci_stacksize.c
scilab/modules/core/sci_gateway/fortran/sci_global.f
scilab/modules/core/src/c/core.vcproj
scilab/modules/core/src/c/eqid.c [new file with mode: 0644]
scilab/modules/core/src/c/eqid.h [new file with mode: 0644]
scilab/modules/core/src/c/hashtable_core.c [deleted file]
scilab/modules/core/src/c/hashtable_core.h
scilab/modules/core/src/c/loadversion.c
scilab/modules/core/src/cpp/hashtable_core.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/partition.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/unrolled_algorithms.hxx [new file with mode: 0644]
scilab/modules/core/src/fortran/core_f.vfproj
scilab/modules/core/src/fortran/core_f2c.vcproj
scilab/modules/core/src/fortran/eqid.f [deleted file]
scilab/modules/core/src/fortran/storeglobal.f
scilab/modules/core/tests/nonreg_tests/bug_6419.dia.ref [new file with mode: 0644]
scilab/modules/core/tests/nonreg_tests/bug_6419.tst [new file with mode: 0644]
scilab/modules/core/tests/unit_tests/gstacksize.dia.ref [new file with mode: 0644]
scilab/modules/core/tests/unit_tests/gstacksize.tst [new file with mode: 0644]
scilab/modules/core/version.xml
scilab/modules/data_structures/help/en_US/hypermat.xml
scilab/modules/data_structures/help/fr_FR/hypermat.xml
scilab/modules/data_structures/help/pt_BR/hypermat.xml
scilab/modules/data_structures/locales/en_US/data_structures.pot
scilab/modules/data_structures/locales/uk_UA/data_structures.po [new file with mode: 0644]
scilab/modules/data_structures/version.xml
scilab/modules/demo_tools/locales/en_US/demo_tools.pot
scilab/modules/demo_tools/locales/uk_UA/demo_tools.po [new file with mode: 0644]
scilab/modules/demo_tools/version.xml
scilab/modules/development_tools/locales/en_US/development_tools.pot
scilab/modules/development_tools/locales/uk_UA/development_tools.po [new file with mode: 0644]
scilab/modules/development_tools/version.xml
scilab/modules/differential_equations/demos/flow/cylinder_interface.sci
scilab/modules/differential_equations/help/en_US/ode.xml
scilab/modules/differential_equations/help/fr_FR/ode.xml
scilab/modules/differential_equations/help/pt_BR/ode.xml
scilab/modules/differential_equations/locales/en_US/differential_equations.pot
scilab/modules/differential_equations/locales/uk_UA/differential_equations.po [new file with mode: 0644]
scilab/modules/differential_equations/macros/integrate.sci
scilab/modules/differential_equations/macros/odeoptions.sci
scilab/modules/differential_equations/version.xml
scilab/modules/double/locales/en_US/double.pot
scilab/modules/double/version.xml
scilab/modules/dynamic_link/examples/interfaces/c/intex10c.c
scilab/modules/dynamic_link/examples/interfaces/c/intex11c.c
scilab/modules/dynamic_link/examples/interfaces/c/intex12c.c
scilab/modules/dynamic_link/examples/interfaces/c/intex7c.c
scilab/modules/dynamic_link/examples/interfaces/c/intex8c.c
scilab/modules/dynamic_link/examples/interfaces/fortran/intex1f.f
scilab/modules/dynamic_link/help/en_US/addinter.xml
scilab/modules/dynamic_link/help/en_US/call.xml
scilab/modules/dynamic_link/help/en_US/ilib_build.xml
scilab/modules/dynamic_link/help/en_US/ilib_verbose.xml
scilab/modules/dynamic_link/help/en_US/link.xml
scilab/modules/dynamic_link/help/pt_BR/call.xml
scilab/modules/dynamic_link/locales/en_US/dynamic_link.pot
scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po [new file with mode: 0644]
scilab/modules/dynamic_link/macros/ilib_compile.sci
scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci
scilab/modules/dynamic_link/version.xml
scilab/modules/elementary_functions/help/en_US/modulo.xml
scilab/modules/elementary_functions/locales/en_US/elementary_functions.pot
scilab/modules/elementary_functions/locales/uk_UA/elementary_functions.po [new file with mode: 0644]
scilab/modules/elementary_functions/macros/lex_sort.sci
scilab/modules/elementary_functions/macros/squarewave.sci
scilab/modules/elementary_functions/sci_gateway/fortran/sci_f_matrix.f
scilab/modules/elementary_functions/version.xml
scilab/modules/fftw/locales/en_US/fftw.pot
scilab/modules/fftw/locales/uk_UA/fftw.po [new file with mode: 0644]
scilab/modules/fftw/sci_gateway/c/sci_fftw.c
scilab/modules/fftw/src/c/fftw.rc
scilab/modules/fftw/src/nofftw/nofftw.rc
scilab/modules/fftw/version.xml
scilab/modules/fileio/locales/en_US/fileio.pot
scilab/modules/fileio/locales/uk_UA/fileio.po [new file with mode: 0644]
scilab/modules/fileio/macros/fprintf.sci
scilab/modules/fileio/sci_gateway/c/sci_copyfile.c
scilab/modules/fileio/sci_gateway/c/sci_movefile.c
scilab/modules/fileio/src/c/fileio.rc
scilab/modules/fileio/version.xml
scilab/modules/functions/locales/en_US/functions.pot
scilab/modules/functions/locales/uk_UA/functions.po [new file with mode: 0644]
scilab/modules/functions/version.xml
scilab/modules/genetic_algorithms/locales/en_US/genetic_algorithms.pot
scilab/modules/genetic_algorithms/locales/uk_UA/genetic_algorithms.po [new file with mode: 0644]
scilab/modules/genetic_algorithms/version.xml
scilab/modules/graphic_export/locales/uk_UA/graphic_export.po [new file with mode: 0644]
scilab/modules/graphic_export/src/jni/GL2PSConstant.i
scilab/modules/graphic_export/src/jni/GL2PSWrapping.i
scilab/modules/graphic_export/src/nographic_export/nographic_export.rc
scilab/modules/graphic_export/version.xml
scilab/modules/graphics/graphics.iss
scilab/modules/graphics/help/en_US/figure_properties.xml
scilab/modules/graphics/locales/en_US/graphics.pot
scilab/modules/graphics/locales/uk_UA/graphics.po [new file with mode: 0644]
scilab/modules/graphics/macros/legend.sci
scilab/modules/graphics/src/c/Format.c
scilab/modules/graphics/src/c/getHandleProperty/set_color_range_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_outside_colors_property.c
scilab/modules/graphics/src/nographics/nographics.rc
scilab/modules/graphics/tests/nonreg_tests/bug_2906.dia.ref
scilab/modules/graphics/tests/nonreg_tests/bug_2906.tst
scilab/modules/graphics/version.xml
scilab/modules/gui/demos/uicontrol.dem.sce
scilab/modules/gui/locales/en_US/gui.pot
scilab/modules/gui/locales/uk_UA/gui.po [new file with mode: 0644]
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/GLHybrid.java [deleted file]
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/UIElementMapper.java
scilab/modules/gui/version.xml
scilab/modules/hdf5/src/c/h5_readDataFromFile.c
scilab/modules/hdf5/src/c/hdf5.rc
scilab/modules/hdf5/src/java/org/scilab/modules/hdf5/H5ScilabConstant.java
scilab/modules/hdf5/src/java/org/scilab/modules/hdf5/read/H5Read.java
scilab/modules/hdf5/src/java/org/scilab/modules/hdf5/read/H5ReadScilabBoolean.java
scilab/modules/helptools/locales/en_US/helptools.pot
scilab/modules/helptools/locales/uk_UA/helptools.po [new file with mode: 0644]
scilab/modules/helptools/macros/extract_help_examples.sci
scilab/modules/helptools/macros/help_from_sci.sci
scilab/modules/helptools/src/c/helptools.rc
scilab/modules/helptools/tests/nonreg_tests/bug_5413.dia.ref [new file with mode: 0644]
scilab/modules/helptools/tests/nonreg_tests/bug_5413.sci [new file with mode: 0644]
scilab/modules/helptools/tests/nonreg_tests/bug_5413.tst [new file with mode: 0644]
scilab/modules/helptools/version.xml
scilab/modules/history_manager/locales/en_US/history_manager.pot
scilab/modules/history_manager/locales/uk_UA/history_manager.po [new file with mode: 0644]
scilab/modules/history_manager/src/c/history_manager.rc
scilab/modules/history_manager/src/jni/HistoryManagement.i
scilab/modules/history_manager/src/nohistory_manager/nohistory_manager.rc
scilab/modules/history_manager/version.xml
scilab/modules/integer/locales/en_US/integer.pot
scilab/modules/integer/version.xml
scilab/modules/interpolation/locales/en_US/interpolation.pot
scilab/modules/interpolation/locales/uk_UA/interpolation.po [new file with mode: 0644]
scilab/modules/interpolation/sci_gateway/c/sci_lsq_splin.c
scilab/modules/interpolation/src/fortran/dspfit.f
scilab/modules/interpolation/src/fortran/somespline.f
scilab/modules/interpolation/version.xml
scilab/modules/intersci/Makefile.am
scilab/modules/intersci/Makefile.in
scilab/modules/intersci/locales/en_US/intersci.pot
scilab/modules/intersci/src/lib/intersci.rc
scilab/modules/intersci/version.xml
scilab/modules/io/help/en_US/file.xml
scilab/modules/io/locales/en_US/io.pot
scilab/modules/io/locales/uk_UA/io.po [new file with mode: 0644]
scilab/modules/io/sci_gateway/c/sci_file.c
scilab/modules/io/tests/nonreg_tests/bug_6399.dia.ref [new file with mode: 0644]
scilab/modules/io/tests/nonreg_tests/bug_6399.tst [new file with mode: 0644]
scilab/modules/io/version.xml
scilab/modules/javasci/version.xml
scilab/modules/jvm/locales/en_US/jvm.pot
scilab/modules/jvm/locales/uk_UA/jvm.po [new file with mode: 0644]
scilab/modules/jvm/src/c/libjvm.rc
scilab/modules/jvm/src/jni/scilab_typemaps.i
scilab/modules/jvm/version.xml
scilab/modules/linear_algebra/help/en_US/spec.xml
scilab/modules/linear_algebra/locales/en_US/linear_algebra.pot
scilab/modules/linear_algebra/locales/uk_UA/linear_algebra.po [new file with mode: 0644]
scilab/modules/linear_algebra/sci_gateway/c/sci_dgeev.c
scilab/modules/linear_algebra/sci_gateway/c/sci_dsyev.c
scilab/modules/linear_algebra/sci_gateway/c/sci_zgeev.c
scilab/modules/linear_algebra/sci_gateway/c/sci_zheev.c
scilab/modules/linear_algebra/version.xml
scilab/modules/localization/locales/en_US/localization.pot
scilab/modules/localization/locales/uk_UA/localization.po [new file with mode: 0644]
scilab/modules/localization/src/java/org/scilab/modules/localization/Messages.java
scilab/modules/localization/src/java/org/scilab/modules/localization/MessagesJNI.java
scilab/modules/localization/src/jni/Messages.i
scilab/modules/localization/version.xml
scilab/modules/m2sci/help/en_US/Type.xml
scilab/modules/m2sci/locales/en_US/m2sci.pot
scilab/modules/m2sci/locales/uk_UA/m2sci.po [new file with mode: 0644]
scilab/modules/m2sci/macros/kernel/lst_funcall.sci
scilab/modules/m2sci/macros/kernel/m2sci.sci
scilab/modules/m2sci/macros/kernel/sci_generic.sci
scilab/modules/m2sci/macros/kernel/translateorder.sci
scilab/modules/m2sci/macros/kernel/variablesearch.sci
scilab/modules/m2sci/macros/mfile2sci.sci
scilab/modules/m2sci/macros/sci_files/sci_PROTO0.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO1.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO10.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO11.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO12.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO13.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO14.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO15.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO2.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO3.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO4.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO5.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO6.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO7.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO8.g
scilab/modules/m2sci/macros/sci_files/sci_PROTO9.g
scilab/modules/m2sci/version.xml
scilab/modules/maple2scilab/locales/en_US/maple2scilab.pot
scilab/modules/maple2scilab/version.xml
scilab/modules/matio/src/c/matio.rc
scilab/modules/matio/src/nomatio/nomatio.rc
scilab/modules/matio/version.xml
scilab/modules/mexlib/includes/mex.h
scilab/modules/mexlib/locales/en_US/mexlib.pot
scilab/modules/mexlib/locales/uk_UA/mexlib.po [new file with mode: 0644]
scilab/modules/mexlib/version.xml
scilab/modules/optimization/help/en_US/optim.xml
scilab/modules/optimization/locales/en_US/optimization.pot
scilab/modules/optimization/locales/uk_UA/optimization.po [new file with mode: 0644]
scilab/modules/optimization/version.xml
scilab/modules/output_stream/locales/en_US/output_stream.pot
scilab/modules/output_stream/locales/uk_UA/output_stream.po [new file with mode: 0644]
scilab/modules/output_stream/src/c/errmsg.c
scilab/modules/output_stream/src/c/msgs.c
scilab/modules/output_stream/src/c/output_stream.rc
scilab/modules/output_stream/version.xml
scilab/modules/overloading/locales/en_US/overloading.pot
scilab/modules/overloading/locales/uk_UA/overloading.po [new file with mode: 0644]
scilab/modules/overloading/version.xml
scilab/modules/parameters/locales/en_US/parameters.pot
scilab/modules/parameters/locales/uk_UA/parameters.po [new file with mode: 0644]
scilab/modules/parameters/version.xml
scilab/modules/polynomials/locales/en_US/polynomials.pot
scilab/modules/polynomials/locales/uk_UA/polynomials.po [new file with mode: 0644]
scilab/modules/polynomials/version.xml
scilab/modules/pvm/locales/en_US/pvm.pot
scilab/modules/pvm/locales/uk_UA/pvm.po [new file with mode: 0644]
scilab/modules/pvm/sci_gateway/c/sci_pvm_bcast.c
scilab/modules/pvm/sci_gateway/c/sci_pvm_send.c
scilab/modules/pvm/src/c/pvm.rc
scilab/modules/pvm/src/c/pvm_grp.c
scilab/modules/pvm/src/c/pvm_proc_ctrl.c
scilab/modules/pvm/src/nopvm/nopvm.rc
scilab/modules/pvm/version.xml
scilab/modules/randlib/help/en_US/grand.xml
scilab/modules/randlib/locales/en_US/randlib.pot
scilab/modules/randlib/locales/uk_UA/randlib.po [new file with mode: 0644]
scilab/modules/randlib/src/norandlib/norandlib.rc
scilab/modules/randlib/version.xml
scilab/modules/renderer/locales/en_US/renderer.pot
scilab/modules/renderer/locales/uk_UA/renderer.po [new file with mode: 0644]
scilab/modules/renderer/src/cpp/DrawableObjectFactory.cpp
scilab/modules/renderer/src/cpp/DrawableObjectFactory.h
scilab/modules/renderer/src/cpp/arcDrawing/DrawableArcFactory.cpp
scilab/modules/renderer/src/cpp/arcDrawing/DrawableArcFactory.h
scilab/modules/renderer/src/cpp/axesDrawing/DrawableAxesFactory.cpp
scilab/modules/renderer/src/cpp/axesDrawing/DrawableAxesFactory.h
scilab/modules/renderer/src/cpp/compoundDrawing/DrawableCompoundFactory.cpp
scilab/modules/renderer/src/cpp/compoundDrawing/DrawableCompoundFactory.h
scilab/modules/renderer/src/cpp/fecDrawing/DrawableFecFactory.cpp
scilab/modules/renderer/src/cpp/fecDrawing/DrawableFecFactory.h
scilab/modules/renderer/src/cpp/figureDrawing/DrawableFigureFactory.cpp
scilab/modules/renderer/src/cpp/figureDrawing/DrawableFigureFactory.h
scilab/modules/renderer/src/cpp/getHandleDrawer.h
scilab/modules/renderer/src/cpp/grayplotDrawing/DrawableGrayplotFactory.cpp
scilab/modules/renderer/src/cpp/grayplotDrawing/DrawableGrayplotFactory.h
scilab/modules/renderer/src/cpp/labelDrawing/DrawableLabelFactory.cpp
scilab/modules/renderer/src/cpp/labelDrawing/DrawableLabelFactory.h
scilab/modules/renderer/src/cpp/legendDrawing/DrawableLegendFactory.cpp
scilab/modules/renderer/src/cpp/legendDrawing/DrawableLegendFactory.h
scilab/modules/renderer/src/cpp/polylineDrawing/DrawablePolylineFactory.cpp
scilab/modules/renderer/src/cpp/polylineDrawing/DrawablePolylineFactory.h
scilab/modules/renderer/src/cpp/rectangleDrawing/DrawableRectangleFactory.cpp
scilab/modules/renderer/src/cpp/rectangleDrawing/DrawableRectangleFactory.h
scilab/modules/renderer/src/cpp/rendererBasicAlgos.cpp
scilab/modules/renderer/src/cpp/segsDrawing/DrawableSegsFactory.cpp
scilab/modules/renderer/src/cpp/segsDrawing/DrawableSegsFactory.h
scilab/modules/renderer/src/cpp/subwinDrawing/DrawableSubwinFactory.cpp
scilab/modules/renderer/src/cpp/subwinDrawing/DrawableSubwinFactory.h
scilab/modules/renderer/src/cpp/surfaceDrawing/DrawableSurfaceFactory.cpp
scilab/modules/renderer/src/cpp/surfaceDrawing/DrawableSurfaceFactory.h
scilab/modules/renderer/src/cpp/textDrawing/DrawableTextFactory.cpp
scilab/modules/renderer/src/cpp/textDrawing/DrawableTextFactory.h
scilab/modules/renderer/src/java/org/scilab/modules/renderer/DrawableObjectGL.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/FigureScilabCall.java [moved from scilab/modules/renderer/src/java/org/scilab/modules/renderer/jni/FigureScilabCall.java with 98% similarity]
scilab/modules/renderer/src/java/org/scilab/modules/renderer/FigureScilabCallJNI.java [moved from scilab/modules/renderer/src/java/org/scilab/modules/renderer/jni/FigureScilabCallJNI.java with 96% similarity]
scilab/modules/renderer/src/java/org/scilab/modules/renderer/ObjectGL.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/figureDrawing/SciRenderer.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/utils/TexturedColorMap.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/utils/graphicEvents/InteractiveRotationEvent.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/utils/graphicEvents/InteractiveZoomEvent.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/utils/graphicEvents/SubwinUnzoomEvent.java
scilab/modules/renderer/src/jni/FigureScilabCall.i
scilab/modules/renderer/src/norenderer/norenderer.rc
scilab/modules/renderer/version.xml
scilab/modules/scicos/help/en_US/palettes/matrix_pal/RICC.xml
scilab/modules/scicos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml
scilab/modules/scicos/help/fr_FR/programming_scicos_blocks/c_computational_functions/C_struct.xml
scilab/modules/scicos/help/scicos_doc/man/eng/data_revB/data_desc.xml
scilab/modules/scicos/locales/en_US/scicos.pot
scilab/modules/scicos/locales/uk_UA/scicos.po [new file with mode: 0644]
scilab/modules/scicos/macros/scicos_auto/lincos.sci
scilab/modules/scicos/macros/scicos_scicos/do_palettes.sci
scilab/modules/scicos/macros/scicos_scicos/get_errorcmd.sci
scilab/modules/scicos/sci_gateway/c/intcscicos.c
scilab/modules/scicos/src/c/noscicos/noscicos.rc
scilab/modules/scicos/src/c/scicos.c
scilab/modules/scicos/version.xml
scilab/modules/scicos_blocks/macros/Misc/EXPRESSION.sci
scilab/modules/scicos_blocks/src/fortran/lusat.f
scilab/modules/scicos_blocks/version.xml
scilab/modules/shell/locales/en_US/shell.pot
scilab/modules/shell/locales/uk_UA/shell.po [new file with mode: 0644]
scilab/modules/shell/src/c/shell.rc
scilab/modules/shell/version.xml
scilab/modules/signal_processing/demos/arma/arma3.dem.sce
scilab/modules/signal_processing/help/en_US/fft.xml
scilab/modules/signal_processing/help/en_US/srfaur.xml
scilab/modules/signal_processing/locales/en_US/signal_processing.pot
scilab/modules/signal_processing/locales/uk_UA/signal_processing.po [new file with mode: 0644]
scilab/modules/signal_processing/macros/wfir.sci
scilab/modules/signal_processing/version.xml
scilab/modules/simulated_annealing/locales/en_US/simulated_annealing.pot
scilab/modules/simulated_annealing/locales/uk_UA/simulated_annealing.po [new file with mode: 0644]
scilab/modules/simulated_annealing/version.xml
scilab/modules/sound/locales/en_US/sound.pot
scilab/modules/sound/locales/uk_UA/sound.po [new file with mode: 0644]
scilab/modules/sound/macros/wavread.sci
scilab/modules/sound/src/c/sound.rc
scilab/modules/sound/src/nosound/nosound.rc
scilab/modules/sound/version.xml
scilab/modules/sparse/locales/en_US/sparse.pot
scilab/modules/sparse/locales/uk_UA/sparse.po [new file with mode: 0644]
scilab/modules/sparse/src/fortran/spextr.f
scilab/modules/sparse/src/fortran/spextr1.f
scilab/modules/sparse/version.xml
scilab/modules/special_functions/locales/en_US/special_functions.pot
scilab/modules/special_functions/locales/uk_UA/special_functions.po [new file with mode: 0644]
scilab/modules/special_functions/version.xml
scilab/modules/spreadsheet/locales/en_US/spreadsheet.pot
scilab/modules/spreadsheet/locales/uk_UA/spreadsheet.po [new file with mode: 0644]
scilab/modules/spreadsheet/src/c/spreadsheet.rc
scilab/modules/spreadsheet/src/nospreadsheet/nospreadsheet.rc
scilab/modules/spreadsheet/version.xml
scilab/modules/statistics/help/en_US/perctl.xml
scilab/modules/statistics/locales/en_US/statistics.pot
scilab/modules/statistics/locales/uk_UA/statistics.po [new file with mode: 0644]
scilab/modules/statistics/macros/perctl.sci
scilab/modules/statistics/version.xml
scilab/modules/string/locales/en_US/string.pot
scilab/modules/string/locales/uk_UA/string.po [new file with mode: 0644]
scilab/modules/string/version.xml
scilab/modules/symbolic/locales/en_US/symbolic.pot
scilab/modules/symbolic/locales/uk_UA/symbolic.po [new file with mode: 0644]
scilab/modules/symbolic/version.xml
scilab/modules/tclsci/locales/en_US/tclsci.pot
scilab/modules/tclsci/locales/uk_UA/tclsci.po [new file with mode: 0644]
scilab/modules/tclsci/src/c/TCL_ArrayGetVar.c
scilab/modules/tclsci/src/c/tclsci.rc
scilab/modules/tclsci/src/notclsci/notclsci.rc
scilab/modules/tclsci/version.xml
scilab/modules/texmacs/locales/en_US/texmacs.pot
scilab/modules/texmacs/version.xml
scilab/modules/time/locales/en_US/time.pot
scilab/modules/time/locales/uk_UA/time.po [new file with mode: 0644]
scilab/modules/time/src/c/time.rc
scilab/modules/time/version.xml
scilab/modules/umfpack/examples/scisptdem1.dem
scilab/modules/umfpack/help/en_US/ReadHBSparse.xml
scilab/modules/umfpack/help/en_US/cond2sp.xml
scilab/modules/umfpack/help/en_US/rafiter.xml
scilab/modules/umfpack/help/en_US/taucs_chfact.xml
scilab/modules/umfpack/locales/en_US/umfpack.pot
scilab/modules/umfpack/locales/uk_UA/umfpack.po [new file with mode: 0644]
scilab/modules/umfpack/macros/ReadHBSparse.sci
scilab/modules/umfpack/macros/scisptdemo.sci
scilab/modules/umfpack/readme.txt
scilab/modules/umfpack/sci_gateway/c/sci_taucs_chfact.c
scilab/modules/umfpack/src/c/common_umfpack.c
scilab/modules/umfpack/src/c/umfpack.rc
scilab/modules/umfpack/src/noumfpack/noumfpack.rc
scilab/modules/umfpack/version.xml
scilab/modules/windows_tools/locales/en_US/windows_tools.pot
scilab/modules/windows_tools/locales/uk_UA/windows_tools.po [new file with mode: 0644]
scilab/modules/windows_tools/src/c/CScilex/CScilex.rc
scilab/modules/windows_tools/src/c/WScilex/WScilex.rc
scilab/modules/windows_tools/src/c/httpdownloadfile.c
scilab/modules/windows_tools/src/c/httpdownloadfile.h
scilab/modules/windows_tools/src/c/scilab_windows/scilab_main.c
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.rc
scilab/modules/windows_tools/src/c/windows_tools.rc
scilab/modules/windows_tools/src/c/windows_tools.vcproj
scilab/modules/windows_tools/src/nowindows_tools/nowindows_tools.rc
scilab/modules/windows_tools/tests/nonreg_tests/bug_6489.dia.ref [new file with mode: 0644]
scilab/modules/windows_tools/tests/nonreg_tests/bug_6489.tst [new file with mode: 0644]
scilab/modules/windows_tools/version.xml
scilab/modules/xcos/help/en_US/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml
scilab/modules/xcos/help/en_US/palettes/Mathoperations_pal/SQRT.xml
scilab/modules/xcos/help/en_US/palettes/Matrix_pal/AA_Matrix_pal.xml
scilab/modules/xcos/help/en_US/palettes/Matrix_pal/RICC.xml
scilab/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml
scilab/modules/xcos/help/scicos_doc/man/eng/data_revB/data_desc.xml
scilab/modules/xcos/locales/en_US/xcos.pot
scilab/modules/xcos/locales/uk_UA/xcos.po [new file with mode: 0644]
scilab/modules/xcos/macros/xcosCodeGeneration.sci
scilab/modules/xcos/src/java/org/scilab/modules/graph/ScilabCanvas.java [moved from scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosCanvas.java with 77% similarity]
scilab/modules/xcos/src/java/org/scilab/modules/graph/ScilabComponent.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/graph/utils/ScilabConstants.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/Xcos.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/XcosTab.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/FitDiagramToViewAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/ShowHideShadowAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/SplitBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/BasicBlockInfo.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/XcosObjectCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabBooleanCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabDoubleCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabIntegerCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabListCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabStringCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/BlockPalette.java [deleted file]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/Category.java [deleted file]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/Palette.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteBlock.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteBlockFactory.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteManager.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/XcosPalette.java [deleted file]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/XcosPaletteManager.java [deleted file]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/actions/LoadAsPalAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/actions/ViewPaletteBrowserAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteBlockMouseListener.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteManagerMouseListener.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteManagerTreeSelectionListener.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PaletteBlockModel.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PaletteManagerModel.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PaletteModel.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteBlockView.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteManagerPanel.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteManagerView.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteView.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/port/BasicPort.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/BlockPositioning.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/ConfigManager.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/ConfigXcosManager.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosComponent.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosConstants.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosMessages.java
scilab/modules/xpad/locales/en_US/xpad.pot
scilab/modules/xpad/locales/uk_UA/xpad.po [new file with mode: 0644]
scilab/modules/xpad/src/java/org/scilab/modules/xpad/CaretEdit.java
scilab/modules/xpad/src/java/org/scilab/modules/xpad/ScilabKeywords.java
scilab/modules/xpad/src/java/org/scilab/modules/xpad/actions/FindAction.java
scilab/modules/xpad/src/java/org/scilab/modules/xpad/style/FilterManager.java [new file with mode: 0644]
scilab/modules/xpad/src/java/org/scilab/modules/xpad/style/StyleManager.java [new file with mode: 0644]
scilab/modules/xpad/src/jni/GiwsException.hxx
scilab/modules/xpad/src/jni/ScilabKeywords.i
scilab/modules/xpad/tests/nonreg_tests/bug_5649.tst [new file with mode: 0644]
scilab/scilab-lib.properties.vc
scilab_doc/neldermead/chapter-notations.tex
scilab_doc/neldermead/macros.tex
scilab_doc/neldermead/neldermead-neldermead-so.pdf
scilab_doc/neldermead/neldermead.bib
scilab_doc/neldermead/neldermead.pdf
scilab_doc/neldermead/neldermeadmethod/han1-history-simplex.png
scilab_doc/neldermead/neldermeadmethod/han2-history-simplex.png
scilab_doc/neldermead/neldermeadmethod/mckinnonkelley-history-simplex.png [new file with mode: 0644]
scilab_doc/neldermead/neldermeadmethod/method-neldermead.tex
scilab_doc/neldermead/neldermeadmethod/sufficientdecrease.pdf [new file with mode: 0644]
scilab_doc/neldermead/neldermeadmethod/sufficientdecrease.svg [new file with mode: 0644]
scilab_doc/neldermead/scripts/neldermead_Torczon.sce [new file with mode: 0644]
scilab_doc/neldermead/simplextheory/section-simplex.tex
scilab_doc/scilabisnotnaive/scilabisnotnaive.tex

index d74a57d..d87c617 100644 (file)
--- a/SEP/INDEX
+++ b/SEP/INDEX
@@ -27,4 +27,10 @@ SEP #27 : Writing Scilab function uigetfile
 SEP #28 : Creating a function returning the tlist and mlist field names
 SEP #29 : Datatips
 SEP #30 : Change of header files directory in the Scilab distribution (linux)
-SEP #31 : Unit tests and submodules
\ No newline at end of file
+SEP #31 : Unit tests and submodules
+SEP #32 : Dynamic Link includes
+SEP #33 : POO
+SEP #34 : Call Scilab Header renamed
+SEP #35 : Selection of installed header
+SEP #36 : Pretty Print
+SEP #37 : Scilab Syntax
\ No newline at end of file
index 23bd184..23ffd39 100644 (file)
Binary files a/SEP/SEP_35_selection_of_installed_header.odt and b/SEP/SEP_35_selection_of_installed_header.odt differ
diff --git a/SEP/SEP_37_scilab_syntax.odt b/SEP/SEP_37_scilab_syntax.odt
new file mode 100644 (file)
index 0000000..71070fe
Binary files /dev/null and b/SEP/SEP_37_scilab_syntax.odt differ
index 3ecf290..ccd3245 100644 (file)
@@ -14,6 +14,9 @@ Scilab a better software.
        - Misc patches for Solaris
        - Testing of Scilab under Solaris
 
+* Yuri Chornoivan
+    - Ukrainian localization 
+
 * Yann Collette
        - Genetic algorithm
        - Generic probabilistic meta-algorithm
index 96d0f02..356bb2f 100644 (file)
@@ -1,2 +1,2 @@
-The latest stable version is Scilab 5.1.0, see file CHANGES_5.1.X.
+The latest stable version is Scilab 5.2.0, see file CHANGES_5.2.X.
 
index 5842105..e14ef4a 100644 (file)
@@ -1,30 +1,51 @@
                 Changes between version 5.2.0 and 5.2.1 of Scilab
-               =================================================
+                =================================================
 
 
 
 Text editor:
 ============
 
+* bug 5649 fixed - The Editor did not undo properly after a find/replace.
+
 * bug 5651 fixed - closing find/replace box, remove highlights.
 
 * bug 5707 fixed - cmd-e executed the wrong editor file.
 
+Internationalization:
+=====================
+
+* Ukrainian localization added (Thanks Yuri Chornoivan)
+
+* Many english typos have been fixed by (Thanks Yuri Chornoivan)
+
 Xcos:
 =====
 
-* The xml header of an xcos file is checked before any other parsing.
+* The XML header of an xcos file is now checked before any other parsing.
+
+* Superblock masks can now be used and a new window is created when user wants 
+  to configure the variable settings.
+
+* Performance improvements under Linux
 
-* Superblock masks can now be used and a new window is created when user wants to configure the variable settings.
+* A rework to pass checkstyle metrics on the code has been started.
 
-* A rework to pass checkstyle metrics has been started.
+* Update to jgraphx version 1.2.0.7 has been performed.
 
 * Refactoring:
-    - The port position algorithm has been reworked to take in account default position and calculate placement according to it's default associated side.
-    - The communication with the scilab interpreter is now easier to use and can be synchronous or asynchronous (with callback).
-    - The simulation function identifier is now mapped to an enum to better follow java semantics.
-    - Blocks instanciations are performed through a Factory and reference instances are shared.
-    - Java package (eg namespace) has been added to reduce the number of classes per package and improve readability. 
+    - The port position algorithm has been reworked to take in account default
+       position and calculate placement according to it's default associated
+       side.
+    - The communication with the scilab interpreter is now easier to use and can
+      be synchronous or asynchronous (with callback).
+    - The simulation function identifier is now mapped to an enum to better 
+      follow java semantics.
+    - Blocks instanciations are performed through a Factory and reference
+      instances are shared.
+    - Java package (eg namespace) has been added to reduce the number of classes
+      per package and improve readability.
+    - org.scilab.modules.graph is independent from Xcos and can be safely used.
 
 * bug 4206 fixed - The CreateMask action didn't generate a valid submatrix.
 
@@ -46,7 +67,8 @@ Xcos:
 
 * bug 5626 fixed - The VoltageSensor port positions were not right.
 
-* bug 5627 fixed - It was not possible to place a port in a non-conventionnal side.
+* bug 5627 fixed - It was not possible to place a port in a non-conventionnal
+                   side.
 
 * bug 5660 fixed - An scicos block with negative simulation function type was 
                    not working (espacially the ESELECT_f block).
@@ -54,6 +76,8 @@ Xcos:
 * bug 5666 fixed - The CLKGOTO block wasn't valid anymore after setting
                    its parameters.
 
+* bug 5667 fixed - Simulation starts faster on Linux for huge diagram ( hdf5 export issue )
+
 * bug 5683 fixed - Xcos code updated to work with jgraphx >= 1.2.0.X
 
 * bug 5674 fixed - The Signal.notify didn't check is we are waiting for it
@@ -66,6 +90,12 @@ Xcos:
 
 * bug 6414 fixed - Old Xcos diagrams without rotation fields didn't load.
 
+* bug 6415 fixed - The SAWTOOTH_f block didn't allow parameters.
+
+* bug 6463 fixed - The jgraphx library has been updated to 1.2.0.7.
+
+* bug 6490 fixed - The multiple-point link didn't work accordingly to the zoom level.
+
 Atoms:
 ======
 
@@ -85,10 +115,27 @@ Compilation:
   AC_JAVA_CHECK_VERSION_PACKAGE has been added to check the version of Java
   packages used
 
-* Check of the version of jgraphx added (1.2.0.X)
+* Check of the version of jgraphx added (Min: 1.2.0.7)
+
+* Improved detection of Fedora/Redhat packages
+
+* Better detection of JOGL
+
+* When searching for Java packages files (jar), the oldest version was 
+  selected. Now, lastest version are now selected.
 
-* bug 5503 fixed - add /usr/lib64/*/ in the search path when looking for Java
-                   libraries
+* bug 5503 fixed - add /usr/lib/*/ and /usr/lib64/*/ in the search path when
+                   looking for Java libraries (Fedora 12 for example)
+
+* bug 6453 fixed - ImplicitPointerConversions was triggered by some Debian/
+                   Ubuntu check tools
+
+Scilab extensions:
+==================
+
+* call_scilab: Complex examples have not been updated to use the new API Scilab.
+
+* API_Scilab: a presentation page of the feature have been added.
 
 Bug fixes:
 ==========
@@ -103,6 +150,11 @@ Bug fixes:
 
 * bug 5140 fixed - 'Load into Scilab' did not work as expected.
 
+* bug 5362 fixed - help type pointed to "Type" online help
+
+* bug 5413 fixed - help_from_sci was replacing the < > in the examples by
+                   &gt; and &lt; causing issues in the build of documentation.
+
 * bug 5513 fixed - 'input' failed after Ctrl+C was typed.
 
 * bug 5659 fixed - emptystr changed the value of an input variable.
@@ -155,6 +207,8 @@ Bug fixes:
                    returned a error message on stderr previously 
                    (5.1) there was no message.
 
+* bug 6399 fixed - m2sci failed and returs error 240.
+
 * bug 6400 fixed - Msecs was not correctly handled in datevec/datenum functions
 
 * bug 6420 fixed - It was not possible to use ax.x_ticks with LaTex commands.
@@ -166,7 +220,14 @@ Bug fixes:
 
 * bug 6456 fixed - SCI & SCIHOME added in getdebuginfo list
 
-* bug 6461 fixed - Scilab External function executed by scifunction may make Scilab crash when they produce an error.
+* bug 6461 fixed - Scilab External function executed by scifunction may make
+                   Scilab crash when they produce an error.
+
+* bug 6488 fixed - the API function 'createMatrixOfUnsignedInteger32' creates good Scilab type variable.
+
+* bug 6489 fixed - removed a wrong dependency on 'WININET.dll' (Windows).
+
+* bug 6491 fixed - libinter.h was not installed under Linux (SEP #35 updated)
 
                Changes between version 5.2.0-beta1 and 5.2.0 of Scilab
                ==========================================================
@@ -1930,3 +1991,9 @@ Bug fixes:
 * bug 5210 fixed - editor("SCI/etc/scilab.start") freezes Scilab.
 
 * bug 5670 fixed - in the demo Latex with colored box, the sqrt symbol was not rendered correctly.
+
+* bug 6423 fixed - update the documentation of perctl.
+
+* bug 6468 fixed - wrong check in dnaupd.
+
+* bug 6495 fixed - in lqr, variable Q not defined.
diff --git a/scilab/CHANGES_5.3.X b/scilab/CHANGES_5.3.X
new file mode 100644 (file)
index 0000000..f24eb72
--- /dev/null
@@ -0,0 +1,19 @@
+                Changes between version 5.2.X and 5.3.0 of Scilab
+               =================================================
+
+
+Core:
+=====
+
+* Faster access to primitive table (internal). This change improves the overall
+speed of Scilab.
+
+Xcos:
+=====
+
+* The default palettes can now be manipulated by the user.
+          
+Bug fixes:
+==========
+
+* bug 6419 fixed - gstacksize() There was no way to retrieve minimum from scilab.
index a96ff26..baf1faa 100644 (file)
@@ -302,45 +302,4 @@ pkgconfig_DATA = scilab.pc
 
 .NOTPARALLEL: macros doc
 
-CALL_SCILAB_CFLAGS_COMMON = -I$(top_srcdir)/modules/call_scilab/includes/ -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/modules/api_scilab/includes/
-CALL_SCILAB_LDADD_COMMON = $(top_builddir)/modules/libscilab.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/modules/call_scilab/libscicall_scilab.la
-
-# These binaries are built here and not in the call_scilab module because 
-# we do need libscilab.so to exist before building these files
-# To build them, just launch "make check-am"
-# To run them, see the help of call Scilab in particular 
-# "Compile and run with Call Scilab"
-check_PROGRAMS = call_scilab_c_simple call_scilab_c call_scilab_c_getlastjob call_scilab_c_DisableInteractiveMode call_scilab_readwriteboolean call_scilab_readwritecomplexmatrix call_scilab_readwritematrix call_scilab_readwritestring
-
-call_scilab_c_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/myprog.c
-call_scilab_c_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-
-call_scilab_c_simple_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/simple_call_scilab.c
-call_scilab_c_simple_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_simple_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_c_getlastjob_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/GetLastJob.c
-call_scilab_c_getlastjob_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_getlastjob_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_c_DisableInteractiveMode_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/DisableInteractiveMode.c
-call_scilab_c_DisableInteractiveMode_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_DisableInteractiveMode_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwriteboolean_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwriteboolean.c
-call_scilab_readwriteboolean_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwriteboolean_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritecomplexmatrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritecomplexmatrix.c
-call_scilab_readwritecomplexmatrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritecomplexmatrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritematrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritematrix.c
-call_scilab_readwritematrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritematrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritestring_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritestring.c
-call_scilab_readwritestring_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritestring_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+include $(top_srcdir)/Makefile.call_scilab.am
diff --git a/scilab/Makefile.call_scilab.am b/scilab/Makefile.call_scilab.am
new file mode 100644 (file)
index 0000000..b3a3b8b
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) DIGITEO - 2010 - Sylvestre Ledru
+# 
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at    
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+CALL_SCILAB_CFLAGS_COMMON = -I$(top_srcdir)/modules/call_scilab/includes/ -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/modules/api_scilab/includes/
+CALL_SCILAB_LDADD_COMMON = $(top_builddir)/modules/libscilab.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/modules/call_scilab/libscicall_scilab.la
+
+# These binaries are built here and not in the call_scilab module because 
+# we do need libscilab.so to exist before building these files
+# To build them, just launch "make check-am"
+# To run them, see the help of call Scilab in particular 
+# "Compile and run with Call Scilab"
+check_PROGRAMS = call_scilab_c_simple call_scilab_c call_scilab_c_getlastjob call_scilab_c_DisableInteractiveMode call_scilab_readwriteboolean call_scilab_readwritecomplexmatrix call_scilab_readwritematrix call_scilab_readwritestring
+
+call_scilab_c_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/myprog.c
+call_scilab_c_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+
+call_scilab_c_simple_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/simple_call_scilab.c
+call_scilab_c_simple_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_simple_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_c_getlastjob_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/GetLastJob.c
+call_scilab_c_getlastjob_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_getlastjob_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_c_DisableInteractiveMode_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/DisableInteractiveMode.c
+call_scilab_c_DisableInteractiveMode_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_DisableInteractiveMode_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwriteboolean_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwriteboolean.c
+call_scilab_readwriteboolean_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwriteboolean_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritecomplexmatrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritecomplexmatrix.c
+call_scilab_readwritecomplexmatrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritecomplexmatrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritematrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritematrix.c
+call_scilab_readwritematrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritematrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritestring_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritestring.c
+call_scilab_readwritestring_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritestring_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
index 0b8cbff..08f157d 100644 (file)
 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 #
 
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) DIGITEO - 2010 - Sylvestre Ledru
+# 
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at    
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
 
 
 VPATH = @srcdir@
@@ -57,18 +68,11 @@ bin_PROGRAMS = scilab-bin$(EXEEXT) scilab-cli-bin$(EXEEXT) \
 
 #  The user wants to compile the localization files
 @GENERATE_LOCALIZATION_FILES_TRUE@am__append_3 = localization
-check_PROGRAMS = call_scilab_c_simple$(EXEEXT) call_scilab_c$(EXEEXT) \
-       call_scilab_c_getlastjob$(EXEEXT) \
-       call_scilab_c_DisableInteractiveMode$(EXEEXT) \
-       call_scilab_readwriteboolean$(EXEEXT) \
-       call_scilab_readwritecomplexmatrix$(EXEEXT) \
-       call_scilab_readwritematrix$(EXEEXT) \
-       call_scilab_readwritestring$(EXEEXT)
-subdir = .
 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in $(srcdir)/scilab-lib-doc.properties.in \
        $(srcdir)/scilab-lib.properties.in $(srcdir)/scilab.pc.in \
-       $(top_srcdir)/configure $(top_srcdir)/etc/classpath.xml.in \
+       $(top_srcdir)/Makefile.call_scilab.am $(top_srcdir)/configure \
+       $(top_srcdir)/etc/classpath.xml.in \
        $(top_srcdir)/etc/jvm_options.xml.in \
        $(top_srcdir)/etc/modules.xml.in \
        $(top_srcdir)/modules/core/includes/machine.h.in \
@@ -76,6 +80,14 @@ DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
        COPYING config/compile config/config.guess config/config.rpath \
        config/config.sub config/depcomp config/install-sh \
        config/ltmain.sh config/missing config/mkinstalldirs
+check_PROGRAMS = call_scilab_c_simple$(EXEEXT) call_scilab_c$(EXEEXT) \
+       call_scilab_c_getlastjob$(EXEEXT) \
+       call_scilab_c_DisableInteractiveMode$(EXEEXT) \
+       call_scilab_readwriteboolean$(EXEEXT) \
+       call_scilab_readwritecomplexmatrix$(EXEEXT) \
+       call_scilab_readwritematrix$(EXEEXT) \
+       call_scilab_readwritestring$(EXEEXT)
+subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
        $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
@@ -677,7 +689,7 @@ all: all-recursive
 .SUFFIXES: .c .lo .o .obj
 am--refresh:
        @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.call_scilab.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
index 93fd954..4100d0c 100644 (file)
@@ -1 +1 @@
-The latest stable version is Scilab 5.1.0, see file RELEASE_NOTES_5.1.X.
+The latest stable version is Scilab 5.2.0, see file RELEASE_NOTES_5.2.X.
index 3af6300..383673f 100644 (file)
@@ -1 +1,2 @@
 SCIVERSION=Scilab-MPI-GIT
+
index 2c6bae1..c81e01e 100644 (file)
@@ -13,8 +13,8 @@
 
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
-[m4_warning([this file was generated for autoconf 2.64.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
+[m4_warning([this file was generated for autoconf 2.65.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
index 3703909..ee6d775 100755 (executable)
@@ -1,13 +1,15 @@
 #! /bin/sh
 # From configure.ac Revision.
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for Scilab 5.
+# Generated by GNU Autoconf 2.65 for Scilab 5.
 #
 # Report bugs to <http://bugzilla.scilab.org/>.
 #
+#
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+#
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -538,7 +540,8 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 SHELL=${CONFIG_SHELL-/bin/sh}
 
 
-exec 7<&0 </dev/null 6>&1
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
 
 # Name of the host.
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -1707,7 +1710,7 @@ Some influential environment variables:
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
   LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
   CPP         C preprocessor
   PKG_CONFIG  path to pkg-config utility
@@ -1788,7 +1791,7 @@ test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
 Scilab configure 5
-generated by GNU Autoconf 2.64
+generated by GNU Autoconf 2.65
 
 Copyright (C) 2009 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
@@ -1835,7 +1838,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=1
 fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_compile
 
@@ -1872,7 +1875,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
     ac_retval=1
 fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_cpp
 
@@ -2007,7 +2010,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_run
 
@@ -2084,7 +2087,7 @@ fi
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_link
 
@@ -2189,7 +2192,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=1
 fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_f77_try_compile
 
@@ -2367,7 +2370,7 @@ rm -f conftest.val
 
   fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_compute_int
 
@@ -2405,7 +2408,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=1
 fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_compile
 
@@ -2499,7 +2502,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
     ac_retval=1
 fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_cpp
 
@@ -2545,7 +2548,7 @@ fi
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
 
@@ -2591,7 +2594,7 @@ fi
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  as_fn_set_status $ac_retval
 
 } # ac_fn_f77_try_link
 cat >config.log <<_ACEOF
@@ -2599,7 +2602,7 @@ This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by Scilab $as_me 5, which was
-generated by GNU Autoconf 2.64.  Invocation command line was
+generated by GNU Autoconf 2.65.  Invocation command line was
 
   $ $0 $@
 
@@ -2852,7 +2855,7 @@ fi
 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 do
   test "x$ac_site_file" = xNONE && continue
-  if test -r "$ac_site_file"; then
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
@@ -2861,9 +2864,9 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 done
 
 if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special
-  # files actually), so we avoid doing that.
-  if test -f "$cache_file"; then
+  # Some versions of bash will fail to source /dev/null (special files
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 $as_echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in
@@ -3455,32 +3458,30 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
 
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdio.h>
+
 int
 main ()
 {
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
 
   ;
   return 0;
 }
 _ACEOF
 ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
 # The possible output files:
@@ -3542,10 +3543,10 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
 else
   ac_file=''
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
 if test -z "$ac_file"; then :
-  $as_echo "$as_me: failed program was:" >&5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
@@ -3553,51 +3554,18 @@ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77
 as_fn_error "C compiler cannot create executables
 See \`config.log' for more details." "$LINENO" 5; }; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
 ac_exeext=$ac_cv_exeext
 
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
-  if { ac_try='./$ac_file'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-       cross_compiling=yes
-    else
-       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 $as_echo_n "checking for suffix of executables... " >&6; }
 if { { ac_try="$ac_link"
@@ -3630,13 +3598,72 @@ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "cannot compute suffix of executables: cannot compile and link
 See \`config.log' for more details." "$LINENO" 5; }
 fi
-rm -f conftest$ac_cv_exeext
+rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 $as_echo "$ac_cv_exeext" >&6; }
 
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+  ;
+  return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+  { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+  if { ac_try='./conftest$ac_cv_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+       cross_compiling=yes
+    else
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." "$LINENO" 5; }
+    fi
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
 if test "${ac_cv_objext+set}" = set; then :
@@ -5096,6 +5123,7 @@ IFS=$as_save_IFS
 
 fi
 
+  test -d ./--version && rmdir ./--version
   if test "${ac_cv_path_mkdir+set}" = set; then
     MKDIR_P="$ac_cv_path_mkdir -p"
   else
@@ -5103,7 +5131,6 @@ fi
     # value for MKDIR_P within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
-    test -d ./--version && rmdir ./--version
     MKDIR_P="$ac_install_sh -d"
   fi
 fi
@@ -6020,8 +6047,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -6237,8 +6264,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -6454,8 +6481,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -6672,8 +6699,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -6949,8 +6976,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -7303,8 +7330,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -7850,8 +7877,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -8274,8 +8301,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -9820,7 +9847,7 @@ $as_echo "$ac_java_classpath" >&6; }
 $as_echo_n "checking to see if the java compiler works... " >&6; }
 
     cat << \EOF > conftest.java
-// #line 9823 "configure"
+// #line 9850 "configure"
 
 
 public class conftest {
@@ -9880,7 +9907,7 @@ $as_echo_n "checking type of jvm... " >&6; }
     if test "x$ac_java_jvm_name" = "x" ; then
 
     cat << \EOF > conftest.java
-// #line 9883 "configure"
+// #line 9910 "configure"
 import gnu.java.io.EncodingManager;
 
 public class conftest {
@@ -9938,7 +9965,7 @@ $as_echo_n "checking java API version... " >&6; }
 
 
     cat << \EOF > conftest.java
-// #line 9941 "configure"
+// #line 9968 "configure"
 import java.nio.charset.Charset;
 
 public class conftest {
@@ -9977,7 +10004,7 @@ EOF
 
 
     cat << \EOF > conftest.java
-// #line 9980 "configure"
+// #line 10007 "configure"
 import java.lang.StringBuilder;
 
 public class conftest {
@@ -11213,7 +11240,7 @@ $as_echo_n "checking jgraphx... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jgraphx.jar" "$jardir/libjgraphx.jar" "$jardir/libjgraphx-java.jar" "$jardir/jgraphx*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11221,12 +11248,12 @@ $as_echo_n "checking jgraphx... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11229 "configure"
+// #line 11256 "configure"
 import com.mxgraph.model.mxCell;
 
 public class conftest {
@@ -11301,18 +11328,18 @@ $as_echo "$as_me: WARNING: Could not find or use the Java package/jar jgraphx us
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking minimal version (1.2.0.0) of jgraphx" >&5
-$as_echo_n "checking minimal version (1.2.0.0) of jgraphx... " >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking minimal version (1.2.0.7) of jgraphx" >&5
+$as_echo_n "checking minimal version (1.2.0.7) of jgraphx... " >&6; }
    saved_ac_java_classpath=$ac_java_classpath
    export ac_java_classpath="$JGRAPHX:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11310 "configure"
+// #line 11337 "configure"
 import com.mxgraph.view.mxGraph;
 
 public class conftest {
     public static void main(String[] argv) {
-        String minVersion="1.2.0.0";
+        String minVersion="1.2.0.7";
                                                        if (minVersion.compareTo(mxGraph.VERSION) > 0) {
                                                                System.exit(-1);
                                                                }
@@ -11337,14 +11364,14 @@ EOF
                        echo "configure: failed program was:" >&5
                                cat conftest.java >&5
                        echo "configure: CLASSPATH was $CLASSPATH" >&5
-                         as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.0" "$LINENO" 5
+                         as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.7" "$LINENO" 5
                                                fi
                fi
     else
         echo "configure: failed program was:" >&5
         cat conftest.java >&5
         echo "configure: CLASSPATH was $CLASSPATH" >&5
-          as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.0" "$LINENO" 5
+          as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.7" "$LINENO" 5
             fi
 
    ac_java_classpath=$saved_ac_java_classpath
@@ -11357,7 +11384,7 @@ $as_echo_n "checking flexdock... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/flexdock.jar" "$jardir/libflexdock.jar" "$jardir/libflexdock-java.jar" "$jardir/flexdock*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11365,12 +11392,12 @@ $as_echo_n "checking flexdock... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11373 "configure"
+// #line 11400 "configure"
 import org.flexdock.docking.DockingManager;
 
 public class conftest {
@@ -11451,7 +11478,7 @@ $as_echo_n "checking looks... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/looks.jar" "$jardir/liblooks.jar" "$jardir/liblooks-java.jar" "$jardir/looks*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11459,12 +11486,12 @@ $as_echo_n "checking looks... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11467 "configure"
+// #line 11494 "configure"
 import com.jgoodies.looks.common.RenderingUtils;
 
 public class conftest {
@@ -11545,7 +11572,7 @@ $as_echo_n "checking jgoodies-looks... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jgoodies-looks.jar" "$jardir/libjgoodies-looks.jar" "$jardir/libjgoodies-looks-java.jar" "$jardir/jgoodies-looks*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11553,12 +11580,12 @@ $as_echo_n "checking jgoodies-looks... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11561 "configure"
+// #line 11588 "configure"
 import com.jgoodies.looks.common.RenderingUtils;
 
 public class conftest {
@@ -11640,7 +11667,7 @@ $as_echo_n "checking skinlf... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/skinlf.jar" "$jardir/libskinlf.jar" "$jardir/libskinlf-java.jar" "$jardir/skinlf*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11648,12 +11675,12 @@ $as_echo_n "checking skinlf... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11656 "configure"
+// #line 11683 "configure"
 import com.l2fprod.util.AccessUtils;
 
 public class conftest {
@@ -11734,7 +11761,7 @@ $as_echo_n "checking jogl... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jogl.jar" "$jardir/libjogl.jar" "$jardir/libjogl-java.jar" "$jardir/jogl*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11742,12 +11769,12 @@ $as_echo_n "checking jogl... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11750 "configure"
+// #line 11777 "configure"
 import javax.media.opengl.glu.GLUnurbs;
 
 public class conftest {
@@ -11870,7 +11897,7 @@ else
 $as_echo "$as_me: WARNING: Could not link against -ljogl. Will try against -ljogl -lGL" >&2;}
 fi
 
-                                  if test -z "JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
+                                  if test -z "$JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
                                           LDFLAGS="$LDFLAGS -lGL "
                                           # the space after "jogl" in the following line is on
                                           # purpose to disable the cache
@@ -11928,7 +11955,7 @@ $as_echo_n "checking gluegen-rt... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/gluegen-rt.jar" "$jardir/libgluegen-rt.jar" "$jardir/libgluegen-rt-java.jar" "$jardir/gluegen-rt*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -11936,12 +11963,12 @@ $as_echo_n "checking gluegen-rt... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 11944 "configure"
+// #line 11971 "configure"
 import com.sun.gluegen.runtime.CPU;
 
 public class conftest {
@@ -12077,7 +12104,7 @@ $as_echo_n "checking jhall... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jhall.jar" "$jardir/libjhall.jar" "$jardir/libjhall-java.jar" "$jardir/jhall*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12085,12 +12112,12 @@ $as_echo_n "checking jhall... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12093 "configure"
+// #line 12120 "configure"
 import javax.help.JHelp;
 
 public class conftest {
@@ -12171,7 +12198,7 @@ $as_echo_n "checking javahelp2... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/javahelp2.jar" "$jardir/libjavahelp2.jar" "$jardir/libjavahelp2-java.jar" "$jardir/javahelp2*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12179,12 +12206,12 @@ $as_echo_n "checking javahelp2... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12187 "configure"
+// #line 12214 "configure"
 import javax.help.JHelp;
 
 public class conftest {
@@ -12266,7 +12293,7 @@ $as_echo_n "checking jrosetta-API... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jrosetta-API.jar" "$jardir/libjrosetta-API.jar" "$jardir/libjrosetta-API-java.jar" "$jardir/jrosetta-API*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12274,12 +12301,12 @@ $as_echo_n "checking jrosetta-API... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12282 "configure"
+// #line 12309 "configure"
 import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
 
 public class conftest {
@@ -12360,7 +12387,7 @@ $as_echo_n "checking jrosetta-engine... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jrosetta-engine.jar" "$jardir/libjrosetta-engine.jar" "$jardir/libjrosetta-engine-java.jar" "$jardir/jrosetta-engine*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12368,12 +12395,12 @@ $as_echo_n "checking jrosetta-engine... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12376 "configure"
+// #line 12403 "configure"
 import com.artenum.rosetta.core.action.AbstractConsoleAction;
 
 public class conftest {
@@ -12455,7 +12482,7 @@ $as_echo_n "checking jhdf5... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jhdf5.jar" "$jardir/libjhdf5.jar" "$jardir/libjhdf5-java.jar" "$jardir/jhdf5*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12463,12 +12490,12 @@ $as_echo_n "checking jhdf5... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12471 "configure"
+// #line 12498 "configure"
 import ncsa.hdf.hdf5lib.HDF5Constants;
 
 public class conftest {
@@ -12550,7 +12577,7 @@ $as_echo_n "checking commons-logging... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/commons-logging.jar" "$jardir/libcommons-logging.jar" "$jardir/libcommons-logging-java.jar" "$jardir/commons-logging*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12558,12 +12585,12 @@ $as_echo_n "checking commons-logging... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12566 "configure"
+// #line 12593 "configure"
 import org.apache.commons.logging.LogFactory;
 
 public class conftest {
@@ -12644,7 +12671,7 @@ $as_echo_n "checking jlatexmath... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jlatexmath.jar" "$jardir/libjlatexmath.jar" "$jardir/libjlatexmath-java.jar" "$jardir/jlatexmath*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12652,12 +12679,12 @@ $as_echo_n "checking jlatexmath... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12660 "configure"
+// #line 12687 "configure"
 import org.scilab.forge.jlatexmath.TeXFormula;
 
 public class conftest {
@@ -12744,7 +12771,7 @@ $as_echo_n "checking checkstyle... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/checkstyle.jar" "$jardir/libcheckstyle.jar" "$jardir/libcheckstyle-java.jar" "$jardir/checkstyle*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12752,12 +12779,12 @@ $as_echo_n "checking checkstyle... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12760 "configure"
+// #line 12787 "configure"
 import com.puppycrawl.tools.checkstyle.CheckStyleTask;
 
 public class conftest {
@@ -12838,7 +12865,7 @@ $as_echo_n "checking commons-beanutils... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/commons-beanutils.jar" "$jardir/libcommons-beanutils.jar" "$jardir/libcommons-beanutils-java.jar" "$jardir/commons-beanutils*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12846,12 +12873,12 @@ $as_echo_n "checking commons-beanutils... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12854 "configure"
+// #line 12881 "configure"
 import org.apache.commons.beanutils.Converter;
 
 public class conftest {
@@ -12932,7 +12959,7 @@ $as_echo_n "checking antlr... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/antlr.jar" "$jardir/libantlr.jar" "$jardir/libantlr-java.jar" "$jardir/antlr*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -12940,12 +12967,12 @@ $as_echo_n "checking antlr... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 12948 "configure"
+// #line 12975 "configure"
 import antlr.TokenStreamException;
 
 public class conftest {
@@ -13664,8 +13691,8 @@ esac
 
 
 # function stat used in modules/core/src/c/link_std.c
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
-$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
@@ -13682,7 +13709,7 @@ int
 main ()
 {
 struct stat sbuf;
-     /* Linux will dereference the symlink and fail.
+     /* Linux will dereference the symlink and fail, as required by POSIX.
        That is better in the sense that it means we will not
        have to compile and use the lstat wrapper.  */
      return lstat ("conftest.sym/", &sbuf) == 0;
@@ -13717,7 +13744,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
   case " $LIBOBJS " in
   *" lstat.$ac_objext "* ) ;;
   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
@@ -17818,7 +17845,7 @@ _ACEOF
 ## Test for gettext
 #######################
 
-ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT"
+ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA"
 
 # Check whether --enable-build-localization was given.
 if test "${enable_build_localization+set}" = set; then :
@@ -21158,7 +21185,7 @@ CPPFLAGS="$CPPFLAGS -I$CHK_TCL_INCLUDE_PATH"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later" >&5
 $as_echo_n "checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later... " >&6; }
 cat > conftest.$ac_ext <<EOF
-#line 21161 "configure"
+#line 21188 "configure"
 #include "confdefs.h"
 
 #include "$CHK_TCL_INCLUDE_PATH/$CHK_TCL_INC_NAME"
@@ -21470,7 +21497,7 @@ CPPFLAGS="$CPPFLAGS $TCL_INC_PATH -I$CHK_TK_INCLUDE_PATH $X_CFLAGS"
 $as_echo_n "checking if tk is version $CHK_TK_MAJOR.$CHK_TK_MINOR or later... " >&6; }
 
 cat > conftest.$ac_ext <<EOF
-#line 21473 "configure"
+#line 21500 "configure"
 #include "confdefs.h"
 
 #include "$CHK_TK_INCLUDE_PATH/$CHK_TK_INC_NAME"
@@ -22038,7 +22065,7 @@ $as_echo_n "checking batik-all... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/batik-all.jar" "$jardir/libbatik-all.jar" "$jardir/libbatik-all-java.jar" "$jardir/batik-all*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22046,12 +22073,12 @@ $as_echo_n "checking batik-all... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22054 "configure"
+// #line 22081 "configure"
 import org.apache.batik.parser.Parser;
 
 public class conftest {
@@ -22114,7 +22141,7 @@ $as_echo "$jar_resolved" >&6; }
     if test "$found_jar" = "no"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-         if test "" = "yes"; then
+         if test ""yes"" = "yes"; then
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar batik-all used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&5
 $as_echo "$as_me: WARNING: Could not find or use the Java package/jar batik-all used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&2;}
          else
@@ -22132,7 +22159,7 @@ $as_echo_n "checking batik... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/batik.jar" "$jardir/libbatik.jar" "$jardir/libbatik-java.jar" "$jardir/batik*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22140,12 +22167,12 @@ $as_echo_n "checking batik... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22148 "configure"
+// #line 22175 "configure"
 import org.apache.batik.parser.Parser;
 
 public class conftest {
@@ -22208,7 +22235,7 @@ $as_echo "$jar_resolved" >&6; }
     if test "$found_jar" = "no"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-         if test ""yes"" = "yes"; then
+         if test "" = "yes"; then
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar batik used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&5
 $as_echo "$as_me: WARNING: Could not find or use the Java package/jar batik used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&2;}
          else
@@ -22228,7 +22255,7 @@ $as_echo_n "checking saxon... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/saxon.jar" "$jardir/libsaxon.jar" "$jardir/libsaxon-java.jar" "$jardir/saxon*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22236,12 +22263,12 @@ $as_echo_n "checking saxon... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22244 "configure"
+// #line 22271 "configure"
 import com.icl.saxon.Loader;
 
 public class conftest {
@@ -22322,7 +22349,7 @@ $as_echo_n "checking fop... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/fop.jar" "$jardir/libfop.jar" "$jardir/libfop-java.jar" "$jardir/fop*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22330,12 +22357,12 @@ $as_echo_n "checking fop... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22338 "configure"
+// #line 22365 "configure"
 import org.apache.fop.pdf.PDFInfo;
 
 public class conftest {
@@ -22416,7 +22443,7 @@ $as_echo_n "checking jeuclid-core... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/jeuclid-core.jar" "$jardir/libjeuclid-core.jar" "$jardir/libjeuclid-core-java.jar" "$jardir/jeuclid-core*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22424,12 +22451,12 @@ $as_echo_n "checking jeuclid-core... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22432 "configure"
+// #line 22459 "configure"
 import net.sourceforge.jeuclid.LayoutContext;
 
 public class conftest {
@@ -22510,7 +22537,7 @@ $as_echo_n "checking commons-io... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/commons-io.jar" "$jardir/libcommons-io.jar" "$jardir/libcommons-io-java.jar" "$jardir/commons-io*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22518,12 +22545,12 @@ $as_echo_n "checking commons-io... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22526 "configure"
+// #line 22553 "configure"
 import org.apache.commons.io.output.CountingOutputStream;
 
 public class conftest {
@@ -22604,7 +22631,7 @@ $as_echo_n "checking xmlgraphics-commons... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/xmlgraphics-commons.jar" "$jardir/libxmlgraphics-commons.jar" "$jardir/libxmlgraphics-commons-java.jar" "$jardir/xmlgraphics-commons*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22612,12 +22639,12 @@ $as_echo_n "checking xmlgraphics-commons... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22620 "configure"
+// #line 22647 "configure"
 import org.apache.xmlgraphics.util.Service;
 
 public class conftest {
@@ -22698,7 +22725,7 @@ $as_echo_n "checking xml-apis-ext... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/xml-apis-ext.jar" "$jardir/libxml-apis-ext.jar" "$jardir/libxml-apis-ext-java.jar" "$jardir/xml-apis-ext*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22706,12 +22733,12 @@ $as_echo_n "checking xml-apis-ext... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22714 "configure"
+// #line 22741 "configure"
 import org.w3c.dom.svg.SVGDocument;
 
 public class conftest {
@@ -22774,7 +22801,7 @@ $as_echo "$jar_resolved" >&6; }
     if test "$found_jar" = "no"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-         if test "" = "yes"; then
+         if test ""yes"" = "yes"; then
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar xml-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&5
 $as_echo "$as_me: WARNING: Could not find or use the Java package/jar xml-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&2;}
          else
@@ -22784,6 +22811,103 @@ $as_echo "$as_me: WARNING: Could not find or use the Java package/jar xml-apis-e
 
        XML_APIS_EXT=$PACKAGE_JAR_FILE
 
+       if test -z "$XML_APIS_EXT"; then
+               # Other other distribs (Ex: Fedora/Redhat)
+
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking xml-commons-apis-ext" >&5
+$as_echo_n "checking xml-commons-apis-ext... " >&6; }
+       PACKAGE_JAR_FILE=
+       found_jar=no
+       saved_ac_java_classpath=$ac_java_classpath
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
+    for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
+      for jar in "$jardir/xml-commons-apis-ext.jar" "$jardir/libxml-commons-apis-ext.jar" "$jardir/libxml-commons-apis-ext-java.jar" "$jardir/xml-commons-apis-ext*.jar"; do
+#      jar=`echo $jar|sed -e 's/ /\\ /'`
+#      echo "protected $jar"
+#      jar_resolved=`ls $jar 2>/dev/null`
+#      echo "looking for $jar_resolved"
+# TODO check the behaviour when spaces
+       jar_resolved=`ls -r $jar 2>/dev/null`
+        if test -e "$jar_resolved"; then
+          export ac_java_classpath="$jar_resolved:$ac_java_classpath"
+
+    cat << \EOF > conftest.java
+// #line 22835 "configure"
+import org.w3c.dom.svg.SVGDocument;
+
+public class conftest {
+    public static void main(String[] argv) {
+
+    }
+}
+EOF
+
+    CLASSPATH=$ac_java_classpath
+    export CLASSPATH
+    cmd="$JAVAC ${JAVAC_FLAGS} conftest.java"
+    if (echo $cmd >&5 ; eval $cmd >&5 2>&5) ; then
+       if test ""no"" = "no"; then
+           echo "yes" >&5
+
+            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jar_resolved" >&5
+$as_echo "$jar_resolved" >&6; }
+            found_jar=yes
+            PACKAGE_JAR_FILE=$jar_resolved
+            break
+
+          else
+                  cmd="$JAVA conftest"
+                  if (echo $cmd >&5 ; eval $cmd >&5 2>&5); then
+                  echo "yes" >&5
+
+            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jar_resolved" >&5
+$as_echo "$jar_resolved" >&6; }
+            found_jar=yes
+            PACKAGE_JAR_FILE=$jar_resolved
+            break
+
+                       else
+                       echo "configure: failed program was:" >&5
+                               cat conftest.java >&5
+                       echo "configure: CLASSPATH was $CLASSPATH" >&5
+
+            ac_java_classpath=$saved_ac_java_classpath
+
+
+                                               fi
+               fi
+    else
+        echo "configure: failed program was:" >&5
+        cat conftest.java >&5
+        echo "configure: CLASSPATH was $CLASSPATH" >&5
+
+            ac_java_classpath=$saved_ac_java_classpath
+
+
+            fi
+
+        fi
+      done
+      if test "$found_jar" = "yes"; then
+        break
+      fi
+    done
+    if test "$found_jar" = "no"; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+         if test "" = "yes"; then
+               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&5
+$as_echo "$as_me: WARNING: Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&2;}
+         else
+                 as_fn_error "Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" "$LINENO" 5
+         fi
+    fi
+
+               XML_APIS_EXT=$PACKAGE_JAR_FILE
+       fi
+
+
+
 
 
        # Avalon Framework (PDF)
@@ -22793,7 +22917,7 @@ $as_echo_n "checking avalon-framework... " >&6; }
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/avalon-framework.jar" "$jardir/libavalon-framework.jar" "$jardir/libavalon-framework-java.jar" "$jardir/avalon-framework*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -22801,12 +22925,12 @@ $as_echo_n "checking avalon-framework... " >&6; }
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
 
     cat << \EOF > conftest.java
-// #line 22809 "configure"
+// #line 22933 "configure"
 import org.apache.avalon.framework.configuration.ConfigurationException;
 
 public class conftest {
@@ -29071,7 +29195,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 29074 "configure"
+#line 29198 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -29177,7 +29301,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 29180 "configure"
+#line 29304 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -35869,7 +35993,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # values after options handling.
 ac_log="
 This file was extended by Scilab $as_me 5, which was
-generated by GNU Autoconf 2.64.  Invocation command line was
+generated by GNU Autoconf 2.65.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -35909,6 +36033,7 @@ Usage: $0 [OPTION]... [TAG]...
 
   -h, --help       print this help, then exit
   -V, --version    print version number and configuration settings, then exit
+      --config     print configuration, then exit
   -q, --quiet, --silent
                    do not print progress messages
   -d, --debug      don't remove temporary files
@@ -35931,10 +36056,11 @@ Report bugs to <http://bugzilla.scilab.org/>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 Scilab config.status 5
-configured by $0, generated by GNU Autoconf 2.64,
-  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+configured by $0, generated by GNU Autoconf 2.65,
+  with options \\"\$ac_cs_config\\"
 
 Copyright (C) 2009 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
@@ -35972,6 +36098,8 @@ do
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     $as_echo "$ac_cs_version"; exit ;;
+  --config | --confi | --conf | --con | --co | --c )
+    $as_echo "$ac_cs_config"; exit ;;
   --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
@@ -36705,7 +36833,7 @@ s/'"$ac_delim"'$//
 t delim
 :nl
 h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
 t more1
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 p
@@ -36719,7 +36847,7 @@ s/.\{148\}//
 t nl
 :delim
 h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
 t more2
 s/["\\]/\\&/g; s/^/"/; s/$/"/
 p
index 9f55174..be45204 100644 (file)
@@ -664,7 +664,7 @@ if test "$with_javasci" != no -o "$with_gui" != no -o "$enable_build_help" != no
                                JGRAPHX=$PACKAGE_JAR_FILE
                                AC_SUBST(JGRAPHX)
 
-                               AC_JAVA_CHECK_VERSION_PACKAGE([jgraphx],[import com.mxgraph.view.mxGraph;],$JGRAPHX,[1.2.0.0],[mxGraph.VERSION])
+                               AC_JAVA_CHECK_VERSION_PACKAGE([jgraphx],[import com.mxgraph.view.mxGraph;],$JGRAPHX,[1.2.0.7],[mxGraph.VERSION])
 
                                # Docking system
                                AC_JAVA_CHECK_PACKAGE([flexdock],[org.flexdock.docking.DockingManager],[Scilab Gui])
@@ -699,7 +699,7 @@ if test "$with_javasci" != no -o "$with_gui" != no -o "$enable_build_help" != no
                                   # Provide known paths where distribs/OS can store JNI libs
                                   LDFLAGS="-L/usr/lib/jni -L/usr/lib64/jni/ -L$SCI_SRCDIR/thirdparty/ -L$SCI_SRCDIR/bin/"
                                   AC_CHECK_LIB([jogl], [glTexParameterf], [JOGL_LIBS="-ljogl"],[AC_MSG_WARN([Could not link against -ljogl. Will try against -ljogl -lGL])])
-                                  if test -z "JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
+                                  if test -z "$JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
                                           LDFLAGS="$LDFLAGS -lGL "
                                           # the space after "jogl" in the following line is on 
                                           # purpose to disable the cache
@@ -1148,7 +1148,7 @@ AC_LIBXML2()
 ## Test for gettext
 #######################
 
-ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT"
+ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA"
 
 AC_ARG_ENABLE(build-localization,
                AC_HELP_STRING([--disable-build-localization],[Disable the localization build])
index d709d5f..5e45b1c 100644 (file)
@@ -119,7 +119,7 @@ The option is "disableUnderMode" and can be:
        <load on="pdf_ps_eps_graphic_export"/>
 </path>
 
-<path value="$SCILAB/thirdparty/jlatexmath-0.8.6.jar" load="onUse">
+<path value="$SCILAB/thirdparty/jlatexmath-0.8.7.jar" load="onUse">
                <load on="graphics_latex_textrendering"/>
                <load on="pdf_ps_eps_graphic_export"/>
 </path>
index fe72c3a..e017774 100644 (file)
@@ -33,12 +33,12 @@ AC_ARG_WITH(docbook,
                AC_MSG_ERROR([Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug])
        fi
        # xml.apache.org SVG Library (under mandriva for example)
-       AC_JAVA_CHECK_PACKAGE([batik-all],[org.apache.batik.parser.Parser],[Apache SVG Library])
+       AC_JAVA_CHECK_PACKAGE([batik-all],[org.apache.batik.parser.Parser],[Apache SVG Library],"yes")
        BATIK=$PACKAGE_JAR_FILE
 
        if test -z "$BATIK"; then
                # Other other distribs
-               AC_JAVA_CHECK_PACKAGE([batik],[org.apache.batik.parser.Parser],[Apache SVG Library],"yes")
+               AC_JAVA_CHECK_PACKAGE([batik],[org.apache.batik.parser.Parser],[Apache SVG Library])
                BATIK=$PACKAGE_JAR_FILE
        fi
        AC_SUBST(BATIK)
@@ -70,11 +70,19 @@ AC_ARG_WITH(docbook,
        AC_SUBST(XMLGRAPHICS_COMMONS)
 
        # XML API EXT (conversion of a SVG => PNG)
-       AC_JAVA_CHECK_PACKAGE([xml-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code])
+       AC_JAVA_CHECK_PACKAGE([xml-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code],"yes")
        XML_APIS_EXT=$PACKAGE_JAR_FILE
+
+       if test -z "$XML_APIS_EXT"; then
+               # Other other distribs (Ex: Fedora/Redhat)
+               AC_JAVA_CHECK_PACKAGE([xml-commons-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code])
+               XML_APIS_EXT=$PACKAGE_JAR_FILE
+       fi
        AC_SUBST(XML_APIS_EXT)
 
 
+
+
        # Avalon Framework (PDF)
        AC_JAVA_CHECK_PACKAGE([avalon-framework],[org.apache.avalon.framework.configuration.ConfigurationException],[Common framework for Java server application])
        AVALON_FRAMEWORK=$PACKAGE_JAR_FILE
index 07d8588..94ecf88 100644 (file)
@@ -807,7 +807,7 @@ AC_DEFUN([AC_JAVA_CHECK_PACKAGE], [
        PACKAGE_JAR_FILE=
        found_jar=no
        saved_ac_java_classpath=$ac_java_classpath
-       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+       DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
     for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
       for jar in "$jardir/$1.jar" "$jardir/lib$1.jar" "$jardir/lib$1-java.jar" "$jardir/$1*.jar"; do
 #      jar=`echo $jar|sed -e 's/ /\\ /'`
@@ -815,7 +815,7 @@ AC_DEFUN([AC_JAVA_CHECK_PACKAGE], [
 #      jar_resolved=`ls $jar 2>/dev/null`
 #      echo "looking for $jar_resolved"
 # TODO check the behaviour when spaces
-       jar_resolved=`ls $jar 2>/dev/null`
+       jar_resolved=`ls -r $jar 2>/dev/null`
         if test -e "$jar_resolved"; then
           export ac_java_classpath="$jar_resolved:$ac_java_classpath"
           AC_JAVA_TRY_COMPILE([import $2;], , "no", [
index fff24f6..4e7dff0 100644 (file)
@@ -14,7 +14,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Revision-Date: 2009-12-09 16:34+0100\n"
+"Revision-Date: 2010-01-25 10:32+0100\n"
 
 # File: src/c/dynamic_menus.c, line: 84
 # File: src/c/dynamic_menus.c, line: 92
diff --git a/scilab/modules/action_binding/locales/uk_UA/action_binding.po b/scilab/modules/action_binding/locales/uk_UA/action_binding.po
new file mode 100644 (file)
index 0000000..7816101
--- /dev/null
@@ -0,0 +1,30 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2007-11-26 18:05+0100\n"
+"PO-Revision-Date: 2010-01-06 18:59+0000\n"
+"Last-Translator: yurchor <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <uk@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-01-21 15:52+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: доступну пам’ять вичерпано.\n"
+
+#, c-format
+msgid "Unqueuing %s - No option.\n"
+msgstr "Вилучення з черги %s: параметр не задано.\n"
+
+#, c-format
+msgid "Unqueuing %s - seq.\n"
+msgstr "Вилучення з черги %s: послідовність.\n"
index ad67bc9..db7cff0 100644 (file)
  */
 
 /* InterpreterManagement.i */
-/*  swig -java -package org.scilab.modules.action_binding -outdir ../java/org/scilab/modules/action_binding/ InterpreterManagement.i */
+/**
+ * Windows: swig -java -package org.scilab.modules.action_binding -outdir ../java/org/scilab/modules/action_binding/ InterpreterManagement.i 
+ * Other: Use the option --enable-build-swig to the configure
+*/
 %module InterpreterManagement
 %{
 #include "../c/InterpreterManagement.h"
index 20bfaf5..b141237 100644 (file)
@@ -49,8 +49,8 @@ END
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,2,0,0
- PRODUCTVERSION 5,2,0,0
+ FILEVERSION 5,3,0,0
+ PRODUCTVERSION 5,3,0,0
  FILEFLAGSMASK 0x17L
 #ifdef _DEBUG
  FILEFLAGS 0x1L
@@ -66,12 +66,12 @@ BEGIN
         BLOCK "040c04b0"
         BEGIN
             VALUE "FileDescription", "noaction_binding module"
-            VALUE "FileVersion", "5, 2, 0, 0"
+            VALUE "FileVersion", "5, 3, 0, 0"
             VALUE "InternalName", "noaction_binding module"
             VALUE "LegalCopyright", "Copyright (C) 2010"
             VALUE "OriginalFilename", "noaction_binding.dll"
             VALUE "ProductName", " noaction_binding"
-            VALUE "ProductVersion", "5, 2, 0, 0"
+            VALUE "ProductVersion", "5, 3, 0, 0"
         END
     END
     BLOCK "VarFileInfo"
index 4606b53..73baff8 100644 (file)
@@ -8,5 +8,5 @@
  -->
 <!DOCTYPE MODULE_VERSION SYSTEM "../core/xml/version.dtd">
 <MODULE_VERSION name="action_binding">
-<VERSION major="5" minor="2" maintenance="0" revision="0" string="unstable-git" />
+<VERSION major="5" minor="3" maintenance="0" revision="0" string="unstable-git" />
 </MODULE_VERSION>
diff --git a/scilab/modules/api_scilab/help/en_US/api_scilab.xml b/scilab/modules/api_scilab/help/en_US/api_scilab.xml
new file mode 100644 (file)
index 0000000..57a85d9
--- /dev/null
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2010  - DIGITEO - Sylvestre LEDRU
+ * 
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at    
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<refentry version="5.0-subset Scilab" xml:id="api_scilab" xml:lang="en"
+          xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:ns5="http://www.w3.org/1999/xhtml"
+          xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook">
+  <info>
+    <pubdate>$LastChangedDate$</pubdate>
+  </info>
+
+  <refnamediv>
+    <refname>api_scilab</refname>
+
+    <refpurpose>api_scilab is the Scilab interface to read/write data from/to Scilab memory </refpurpose>
+  </refnamediv>
+
+  <refsection>
+    <title>Description</title>
+
+    <para>In the previous versions of Scilab, there was no clear or easy way to extend Scilab or to use it as an embedded application.</para>
+<para>Since Scilab 5.2.0, these issues have been tackled by API Scilab. Its provides a new consistent, documented and easy way API.
+</para>
+
+    <para>This API provides functions to read/write data from/to Scilab memory.</para>
+<para>  It provides many advantages:</para>
+          <itemizedlist>
+            <listitem>
+<para>Management of all Scilab data types</para></listitem>
+<listitem>
+<para>Consistency over all data types</para></listitem>
+<listitem>
+<para>Error management</para></listitem>
+<listitem>
+<para>Fully documented</para></listitem>
+<listitem>
+<para>Fully tested by unitary tests</para></listitem>
+<listitem>
+<para>Straight and named access (See the <link linkend="call_scilab">call_scilab API</link>) to variables.</para></listitem>
+<listitem>
+<para>And it will be maintained over future versions of Scilab</para></listitem>
+</itemizedlist>
+
+<para>Usually, this API is used to extend Scilab capabilities but can be used in other contexts</para>
+
+          <itemizedlist>
+            <listitem>
+<para>Libraires or C/C++ functions: Many librairies have been developped on the free/Open source or proprietary markets. This library can be loaded and used in a high level language like Scilab. API Scilab provides the capabilities to interact with such libraries.
+</para>
+            </listitem>
+            <listitem>
+<para>Scilab can be used as computing engine from a third party software. This feature is called <link linkend="call_scilab">call_scilab</link> when Scilab is used from C/C++ code or  <link linkend="javasci">javasci</link> when used from Java. Access to variable is done through their names (named variable).
+</para>
+            </listitem>
+</itemizedlist>
+   <para>Note that old APIs (stackX.h) will not be available after Scilab 6.0 (included).</para>
+  </refsection>
+
+  <refsection>
+    <title>See Also</title>
+
+    <simplelist type="inline">
+      <member><link linkend="compile_and_run_call_scilab">Compile and run with
+      call_scilab</link>, <link linkend="DoubleManagement_callscilab">Matrix
+      Management</link>, <link linkend="BooleanManagement_callscilab">Boolean
+      Management</link>, <link linkend="ComplexManagement_callscilab">Complex
+      Management</link>, <link linkend="StringManagement_callscilab">String
+      Management</link>, <link linkend="call_scilab">Call_Scilab</link></member>
+    </simplelist>
+  </refsection>
+
+  <refsection>
+    <title>Authors</title>
+
+    <para>Sylvestre Ledru</para>
+  </refsection>
+</refentry>
index 7434633..385ca22 100644 (file)
@@ -59,7 +59,7 @@
     function is a column vector or not. You must include stack-c.h to benefit
     from this function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index fb287c6..7aa56e6 100644 (file)
@@ -60,7 +60,7 @@
     from this function. If the test fails, we return from the C interface and
     an adequate error message is printed in the Scilab console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 7730e1a..2c755e3 100644 (file)
@@ -77,7 +77,7 @@
     interface and an adequate error message is printed in the Scilab
     console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index c383501..0dabe29 100644 (file)
@@ -59,7 +59,7 @@
     this function. If the test fails, we return from the C interface and an
     adequate error message is printed in the Scilab console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 1782c99..ef8b816 100644 (file)
@@ -57,7 +57,7 @@
     macro before any memory allocation in order to avoid any memory
     leak.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 1d491cc..9e7ca14 100644 (file)
@@ -59,7 +59,7 @@
     macro before any memory allocation in order to avoid any memory
     leak.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index fe86169..1011a22 100644 (file)
@@ -60,7 +60,7 @@
     from this function. If the test fails, we return from the C interface and
     an adequate error message is printed in the Scilab console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 79098b6..b63d8a4 100644 (file)
@@ -87,7 +87,7 @@
     this function. If the test fails, we return from the C interface and an
     adequate error message is printed in the Scilab console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 5531614..43056df 100644 (file)
@@ -59,7 +59,7 @@
     function is a scalar or not. You must include stack-c.h to benefit from
     this function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 5f687a8..d37dc09 100644 (file)
@@ -60,7 +60,7 @@
     from this function. If the test fails, we return from the C interface and
     an adequate error message is printed in the Scilab console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 5ee7aab..78418be 100644 (file)
@@ -61,7 +61,7 @@
     interface and an adequate error message is printed in the Scilab
     console.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 356b73f..585f977 100644 (file)
@@ -67,7 +67,7 @@ typedef struct rhs_opts__ {
     given its name. You must include stack-c.h to benefit from this
     function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index b96b74b..d064461 100644 (file)
@@ -41,7 +41,7 @@
     optional parameter. You must include stack-c.h to benefit from this
     function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 7001da9..cbe2cea 100644 (file)
@@ -59,7 +59,7 @@
     returns the name of the parameter. You must include stack-c.h to benefit
     from this function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index d98b23a..d703e43 100644 (file)
@@ -43,7 +43,7 @@
 
     <para>Note: Lhs means Left Hand Side.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index a6fb400..1c8294a 100644 (file)
@@ -50,7 +50,7 @@
     <para>A C gateway function which specifies which variables created inside
     the C interface will be returned as an output argumen into Scilab.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index 10fbfda..ddacf92 100644 (file)
@@ -40,7 +40,7 @@
     sent to a C function. You must include stack-c.h to benefit from this
     function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index a1d79f3..e85cabe 100644 (file)
@@ -49,7 +49,7 @@
     function wrote in C) which must have a Scilab name which is maximum 8 char
     wide.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index c054b61..54bf5b6 100644 (file)
@@ -43,7 +43,7 @@
 
     <para>Note: Rhs means Right Hand Side.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index c6fd2f9..f2b5055 100644 (file)
@@ -68,7 +68,7 @@ typedef struct rhs_opts__ {
     parameters. You must include stack-c.h to benefit from this
     function.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index fd26c38..1dc0bc0 100644 (file)
     <para>If this function is used, it is probable that <link
     linkend="GetType">GetType</link> will also be used.</para>
 
-    <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+    <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
   </refsection>
 
   <refsection>
index d5b0972..b7e7e8b 100644 (file)
@@ -68,6 +68,55 @@ SciErr createNamedMatrixOfBoolean(void* _pvCtx, char* _pstName, int _iRows, int
  */
 SciErr readNamedMatrixOfBoolean(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piBool);
 
+/*shortcut functions*/
+
+/**
+ * check if the variable type is a boolean
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isBooleanType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a boolean
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedBooleanType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar boolean variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piBool return boolean value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarBoolean(void* _pvCtx, int* _piAddress, int* _piBool);
+
+/**
+ * Get scalar boolean variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piBool return boolean value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarBoolean(void* _pvCtx, char* _pstName, int* _piBool);
+
+/**
+ * Create scalar boolean
+ * @param[in] _iVar variable number
+ * @param[in] _iBool value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarBoolean(void* _pvCtx, int _iVar, int _iBool);
+
+/**
+ * Create named scalar double
+ * @param[in] _pstName variable name
+ * @param[in] _iBool value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarBoolean(void* _pvCtx, char* _pstName, int _iBool);
+
+
 #ifdef __cplusplus
 }
 #endif
index 6f436b5..409a279 100644 (file)
@@ -81,6 +81,53 @@ SciErr createNamedBooleanSparseMatrix(void* _pvCtx, char* _pstName, int _iRows,
  */
 SciErr readNamedBooleanSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int* _piNbItemRow, int* _piColPos);
 
+/* shortcut functions */
+
+/**
+ * check if the variable type is a boolean sparse
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isBooleanSparseType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a boolean sparse
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedBooleanSparseType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get boolean sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedBooleanSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos);
+
+/**
+ * Get named boolean sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedBooleanSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos);
+
+/**
+ * free data allocated by shortcut functions
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ */
+void freeAllocatedBooleanSparse(int* _piNbItemRow, int* _piColPos);
+
 #ifdef __cplusplus
 }
 #endif
index 86906a3..568ff69 100644 (file)
@@ -164,6 +164,120 @@ SciErr getDimFromNamedVar(void* _pvCtx, char* _pstName, int* _piVal);
 */
 int getRhsFromAddress(void* _pvCtx, int* _piAddress);
 
+/**
+* check if a variable is a row vector
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isRowVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a column vector
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isColumnVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a vector ( row or column )
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a scalar
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isScalar(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a square matrix
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isSquareMatrix(void* _pvCtx, int* _piAddress);
+
+/**
+* check matrix dimension
+* @param[in] _piAddress variable address
+* @param[in] _iRows excepted row number ( if -1, don't check )
+* @param[in] _iCols excepted column number ( if -1, don't check )
+* @return 1 for true and 0 for false
+*/
+int checkVarDimension(void* _pvCtx, int* _piAddress, int _iRows, int _iCols);
+
+/**
+* check if it is a empty matrix
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isEmptyMatrix(void* _pvCtx, int* _piAddress);
+
+/**
+* Create an empty matrix
+* @param[in] _iVar variable number
+* @return if the operation successed (0) or not ( !0 )
+*/
+int createEmptyMatrix(void* _pvCtx, int _iVar);
+
+/**
+* Create a named empty matrix
+* @param[in] _pstName variable name
+* @return if the operation successed (0) or not ( !0 )
+*/
+int createNamedEmptyMatrix(void* _pvCtx, char* _pstName);
+
+/**
+* Check if a named variable exists
+* @param[in] _pstName variable name
+* @return if the operation successed (0) or not ( !0 )
+*/
+int isNamedVarExist(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedRowVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedColumnVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedScalar(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedSquareMatrix(void* _pvCtx, char* _pstName);
+
+/**
+* check if it is a empty matrix
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedEmptyMatrix(void* _pvCtx, char* _pstName);
+
 #ifdef __cplusplus
 }
 #endif
index 929acaa..c4f9b69 100644 (file)
@@ -156,6 +156,91 @@ SciErr readNamedMatrixOfDouble(void* _pvCtx, char* _pstName, int* _piRows, int*
  */
 SciErr readNamedComplexMatrixOfDouble(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, double* _pdblReal, double* _pdblImg);
 
+/*shortcut functions*/
+
+
+/**
+ * check if the variable type is double
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isDoubleType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is double
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedDoubleType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar double variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pdblReal return pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarDouble(void* _pvCtx, int* _piAddress, double* _pdblReal);
+
+/**
+ * Get scalar complex double variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pdblReal return pointer on real data
+ * @param[out] _pdblImg return pointer on imgagianry data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarComplexDouble(void* _pvCtx, int* _piAddress, double* _pdblReal, double* _pdblImg);
+
+/**
+ * Get scalar double variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pdblReal return pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarDouble(void* _pvCtx, char* _pstName, double* _pdblReal);
+
+/**
+ * Get scalar complex double variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pdblReal return pointer on real data
+ * @param[out] _pdblImg return pointer on imgagianry data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarComplexDouble(void* _pvCtx, char* _pstName, double* _pdblReal, double* _pdblImg);
+
+/**
+ * Create scalar double
+ * @param[in] _iVar variable number
+ * @param[in] _dblReal value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarDouble(void* _pvCtx, int _iVar, double _dblReal);
+
+/**
+ * Create scalar complex double variable
+ * @param[in] _iVar variable number
+ * @param[in] _dblReal real value
+ * @param[in] _dblImg imaginary value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarComplexDouble(void* _pvCtx, int _iVar, double _dblReal, double _dblImg);
+
+/**
+ * Create named scalar double
+ * @param[in] _pstName variable name
+ * @param[in] _dblReal value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarDouble(void* _pvCtx, char* _pstName, double _dblReal);
+
+/**
+ * Create named scalar complex double variable
+ * @param[in] _pstName variable name
+ * @param[in] _dblReal real value
+ * @param[in] _dblImg imaginary value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarComplexDouble(void* _pvCtx, char* _pstName, double _dblReal, double _dblImg);
+
 #ifdef __cplusplus
 }
 #endif
index 95f554f..301f544 100644 (file)
@@ -31,6 +31,19 @@ extern "C" {
 #define API_ERROR_NAMED_TYPE                                                                                                                   51
 #define API_ERROR_NAMED_VARDIM                                                                                                         55
 #define API_ERROR_GET_NAMED_DIMFROMVAR                                                                         59
+#define API_ERROR_IS_ROW_VECTOR                                                                                                                60
+#define API_ERROR_IS_COLUMN_VECTOR                                                                                             61
+#define API_ERROR_IS_VECTOR                                                                                                                            62
+#define API_ERROR_IS_SCALAR                                                                                                                            63
+#define API_ERROR_IS_SQUARE                                                                                                                            64
+#define API_ERROR_CHECK_VAR_DIMENSION                                                                                  65
+#define API_ERROR_CREATE_EMPTY_MATRIX                                                                                  66
+#define API_ERROR_CREATE_NAMED_EMPTY_MATRIX                                                            67
+#define API_ERROR_IS_NAMED_ROW_VECTOR                                                                                  68
+#define API_ERROR_IS_NAMED_COLUMN_VECTOR                                                                       69
+#define API_ERROR_IS_NAMED_SCALAR                                                                                                      70
+#define API_ERROR_IS_NAMED_SQUARE                                                                                                      71
+#define API_ERROR_CHECK_NAMED_VAR_DIMENSION                                                            72
 
        /*double errors                                         101 - 199*/
 #define API_ERROR_GET_DOUBLE                                                                                                                   101
@@ -41,6 +54,10 @@ extern "C" {
 #define API_ERROR_CREATE_COMPLEX_DOUBLE                                                                                106
 #define API_ERROR_CREATE_ZDOUBLE                                                                                                       107
 #define API_ERROR_READ_NAMED_DOUBLE                                                                                            108
+#define API_ERROR_GET_SCALAR_DOUBLE                                                                                            109
+#define API_ERROR_CREATE_SCALAR_DOUBLE                                                                         110
+#define API_ERROR_CREATE_NAMED_SCALAR                                                                                  111
+#define API_ERROR_GET_NAMED_SCALAR_DOUBLE                                                                      112
 
        /*poly errors                                                   201 - 299*/
 #define API_ERROR_GET_POLY_VARNAME                                                                                             201
@@ -49,13 +66,18 @@ extern "C" {
 #define API_ERROR_TOO_LONG_VAR                                                                                                         204
 #define API_ERROR_CREATE_NAMED_POLY                                                                                            207
 #define API_ERROR_READ_NAMED_POLY                                                                                                      208
+#define API_ERROR_GET_ALLOC_SINGLE_POLY                                                                                209
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_POLY                                                  210
+#define API_ERROR_GET_ALLOC_MATRIX_POLY                                                                                211
+#define API_ERROR_GET_ALLOC_NAMED_MATRIX_POLY                                                  212
 
        /*boolean  errors                                       401 - 499*/
 #define API_ERROR_GET_BOOLEAN                                                                                                                  401
 #define API_ERROR_CREATE_BOOLEAN                                                                                                       402
 #define API_ERROR_CREATE_NAMED_BOOLEAN                                                                         403
-
-#define API_ERROR_READ_BOOLEAN                                                                                                         451
+#define API_ERROR_READ_BOOLEAN                                                                                                         404
+#define API_ERROR_CREATE_SCALAR_BOOLEAN                                                                                405
+#define API_ERROR_CREATE_NAMED_SCALAR_BOOLEAN                                                  406
 
        /*sparse errors                                         501 - 599*/
 #define API_ERROR_GET_SPARSE                                                                                                                   501
@@ -63,6 +85,8 @@ extern "C" {
 #define API_ERROR_CREATE_SPARSE                                                                                                                504
 #define API_ERROR_CREATE_NAMED_SPARSE                                                                                  505
 #define API_ERROR_READ_NAMED_SPARSE                                                                                            506
+#define API_ERROR_GET_ALLOC_SPARSE                                                                                             507
+#define API_ERROR_GET_NAMED_ALLOC_SPARSE                                                                       508
 
        /*boolean sparse errors         601 - 699*/
 #define API_ERROR_GET_BOOLEAN_SPARSE                                                                                   601
@@ -71,6 +95,10 @@ extern "C" {
 #define API_ERROR_CREATE_BOOLEAN_SPARSE                                                                                604
 #define API_ERROR_CREATE_NAMED_BOOLEAN_SPARSE                                                  605
 #define API_ERROR_READ_NAMED_BOOLEAN_SPARSE                                                            606
+#define API_ERROR_GET_SCALAR_BOOLEAN                                                                                   607
+#define API_ERROR_GET_NAMED_SCALAR_BOOLEAN                                                             608
+#define API_ERROR_GET_ALLOC_BOOLEAN_SPARSE                                                             611
+#define API_ERROR_GET_NAMED_ALLOC_BOOLEAN_SPARSE                                       612
 
        /*matlab sparse errors          701 - 799*/
 
@@ -80,6 +108,10 @@ extern "C" {
 #define API_ERROR_ALLOC_INT                                                                                                                            804
 #define API_ERROR_GET_NAMED_INT_PRECISION                                                                      805
 #define API_ERROR_READ_NAMED_INT                                                                                                       806
+#define API_ERROR_GET_SCALAR_INTEGER                                                                                   807
+#define API_ERROR_GET_NAMED_SCALAR_INTEGER                                                             808
+#define API_ERROR_CREATE_SCALAR_INT                                                                                            809
+#define API_ERROR_CREATE_NAMED_SCALAR_INT                                                                      810
 
        /*strings errors                                        1001 - 1099*/
 #define API_ERROR_GET_STRING                                                                                                                   1001
@@ -91,7 +123,19 @@ extern "C" {
 #define API_ERROR_CREATE_WIDE_STRING                                                                                   1008
 #define API_ERROR_CREATE_NAMED_WIDE_STRING                                                             1009
 #define API_ERROR_READ_NAMED_WIDE_STRING                                                                       1010
-
+#define API_ERROR_GET_ALLOC_SINGLE_STRING                                                                      1011
+#define API_ERROR_GET_ALLOC_SINGLE_WIDE_STRING                                         1012
+#define API_ERROR_GET_ALLOC_STRING_MATRIX                                                                      1013
+#define API_ERROR_GET_ALLOC_WIDE_STRING_MATRIX                                         1014
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_STRING                                                1015
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_WIDE_STRING                   1016
+#define API_ERROR_GET_ALLOC_NAMED_STRING_MATRIX                                                1017
+#define API_ERROR_GET_ALLOC_NAMED_WIDE_STRING_MATRIX                   1018
+#define API_ERROR_CREATE_SINGLE_STRING                                                                         1019
+#define API_ERROR_CREATE_SINGLE_WIDE_STRING                                                            1020
+#define API_ERROR_CREATE_NAMED_SINGLE_STRING                                                   1021
+#define API_ERROR_CREATE_NAMED_SINGLE_WIDE_STRING                                      1022
+       
        /*list errors                                                   1501 - 1599*/
 #define API_ERROR_LIST_ITEM_NUMBER                                                                                             1501
 #define API_ERROR_INVALID_LIST_TYPE                                                                                            1502
@@ -123,7 +167,7 @@ extern "C" {
 #define API_ERROR_CREATE_STRING_IN_NAMED_LIST                                                  1534
 #define API_ERROR_READ_STRING_IN_NAMED_LIST                                                            1535
 
-               /*string in list*/
+               /*boolean in list*/
 #define API_ERROR_GET_BOOLEAN_IN_LIST                                                                                  1540
 #define API_ERROR_CREATE_BOOLEAN_IN_LIST                                                                       1541
 #define API_ERROR_ALLOC_BOOLEAN_IN_LIST                                                                                1542
index 4069552..843cbee 100644 (file)
@@ -277,6 +277,295 @@ SciErr readNamedMatrixOfInteger64(void* _pvCtx, char* _pstName, int* _piRows, in
 SciErr readNamedMatrixOfUnsignedInteger64(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, unsigned long long* _pullData64);
 #endif
 
+/* shortcut functions */
+
+/**
+ * check if the variable type is a integer
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isIntegerType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a integer
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedIntegerType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger8(void* _pvCtx, int* _piAddress, char* _pcData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger16(void* _pvCtx, int* _piAddress, short* _psData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger32(void* _pvCtx, int* _piAddress, int* _piData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getScalarInteger64(void* _pvCtx, int* _piAddress, long long* _pllData);
+#endif
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger8(void* _pvCtx, int* _piAddress, unsigned char* _pucData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger16(void* _pvCtx, int* _piAddress, unsigned short* _pusData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger32(void* _pvCtx, int* _piAddress, unsigned int* _puiData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getScalarUnsignedInteger64(void* _pvCtx, int* _piAddress, unsigned long long* _pullData);
+#endif
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger8(void* _pvCtx, char* _pstName, char* _pcData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger16(void* _pvCtx, char* _pstName, short* _psData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger32(void* _pvCtx, char* _pstName, int* _piData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getNamedScalarInteger64(void* _pvCtx, char* _pstName, long long* _pllData);
+#endif
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger8(void* _pvCtx, char* _pstName, unsigned char* _pucData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger16(void* _pvCtx, char* _pstName, unsigned short* _pusData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger32(void* _pvCtx, char* _pstName, unsigned int* _puiData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getNamedScalarUnsignedInteger64(void* _pvCtx, char* _pstName, unsigned long long* _pullData);
+#endif
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pcData array of integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger8(void* _pvCtx, int _iVar, char cData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _psData array of integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger16(void* _pvCtx, int _iVar, short sData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _piData array of integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger32(void* _pvCtx, int _iVar, int iData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pllData array of integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createScalarInteger64(void* _pvCtx, int _iVar, long long llData);
+#endif
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pucData array of unsigned integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger8(void* _pvCtx, int _iVar, unsigned char ucData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pusData array of unsigned integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger16(void* _pvCtx, int _iVar, unsigned short usData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _puiData array of unsigned integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger32(void* _pvCtx, int _iVar, unsigned int uiData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pullData array of unsigned integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createScalarUnsignedInteger64(void* _pvCtx, int _iVar, unsigned long long ullData);
+#endif
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pcData array of integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger8(void* _pvCtx, char* _pstName, char cData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _psData array of integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger16(void* _pvCtx, char* _pstName, short sData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _piData array of integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger32(void* _pvCtx, char* _pstName, int iData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pllData array of integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createNamedScalarInteger64(void* _pvCtx, char* _pstName, long long llData);
+#endif
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pucData array of unsigned integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger8(void* _pvCtx, char* _pstName, unsigned char ucData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pusData array of unsigned integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger16(void* _pvCtx, char* _pstName, unsigned short usData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _puiData array of unsigned integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger32(void* _pvCtx, char* _pstName, unsigned int uiData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pullData array of unsigned integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createNamedScalarUnsignedInteger64(void* _pvCtx, char* _pstName, unsigned long long ullData);
+#endif
+
+
 #ifdef __cplusplus
 }
 #endif
index ebacacc..50079b4 100644 (file)
@@ -57,6 +57,22 @@ SciErr createNamedPointer(void* _pvCtx, char* _pstName, void* _pvPtr);
  */
 SciErr readNamedPointer(void* _pvCtx, char* _pstName, void** _pvPtr);
 
+/* shortcut functions */
+
+/**
+ * check if the variable type is a pointer
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isPointerType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a pointer
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedPointerType(void* _pvCtx, char* _pstName);
+
 #ifdef __cplusplus
 }
 #endif
index 6824a73..091bb86 100644 (file)
@@ -133,6 +133,138 @@ SciErr readNamedMatrixOfPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _p
  
 SciErr readNamedComplexMatrixOfPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
 
+/* shortcut functions */
+
+/**
+ * check if the variable type is a poly
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isPolyType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a poly
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedPolyType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get single poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSinglePoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * Get single complex poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleComplexPoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get named single poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSinglePoly(void* _pvCtx, char* _pstName, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * Get named single complex poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleComplexPoly(void* _pvCtx, char* _pstName, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get matrix of poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomials coefficients number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal);
+
+/**
+ * Get matrix of complex poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomials coefficients number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imgaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfComplexPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal, double*** _pdblImg);
+
+/**
+ * Get named matrix of poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal);
+
+/**
+ * Get named matrix of complex poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfComplexPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal, double*** _pdblImg);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pdblReal single polynom real data 
+ */
+void freeAllocatedSinglePoly(double* _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pdblReal single polynom real data
+ * @param[in] _pdblImg single polynom imaginary data
+ */
+void freeAllocatedSingleComplexPoly(double* _pdblReal, double* _pdblImg);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row count
+ * @param[in] _iCols column count
+ * @param[in] _piNbCoef polynomial coefficient number
+ * @param[in] _pdblReal matrix of polynom real data 
+ */
+void freeAllocatedMatrixOfPoly(int _iRows, int _iCols, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row count
+ * @param[in] _iCols column count
+ * @param[in] _piNbCoef polynomial coefficient number
+ * @param[in] _pdblReal matrix of polynom real data
+ * @param[in] _pdblImg matrix of polynom imaginary data
+ */
+void freeAllocatedMatrixOfComplexPoly(int _iRows, int _iCols, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
 #ifdef __cplusplus
 }
 #endif
index b5a784a..a50eac5 100644 (file)
@@ -166,6 +166,94 @@ SciErr readNamedSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _p
 
 SciErr readNamedComplexSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int* _piNbItemRow, int* _piColPos, double* _pdblReal, double* _pdblImg);
 
+/* shortcut functions */
+
+/**
+ * check if the variable type is a sparse
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isSparseType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a sparse
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedSparseType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal);
+
+/**
+ * Get sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @param[out] _pdblImg return array of imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedComplexSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get named sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal);
+
+/**
+ * Get named sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @param[out] _pdblImg return array of imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedComplexSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg);
+
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ * @param[in] _pdblReal sparse real data
+ */
+void freeAllocatedSparseMatrix(int* _piNbItemRows, int* _piColPos, double* _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ * @param[in] _pdblReal sparse real data
+ * @param[in] _pdblImg sparse imaginary data
+ */
+void freeAllocatedComplexSparseMatrix(int* _piNbItemRows, int* _piColPos, double* _pdblReal, double* _pdblImg);
+
 #ifdef __cplusplus
 }
 #endif
index b46b6c9..6dcb815 100644 (file)
@@ -32,7 +32,6 @@ extern "C" {
  * @param[out] _pstStrings return array of char
  * @return if the operation successed (0) or not ( !0 )
  */
-
 SciErr getMatrixOfString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piLength, char** _pstStrings);
 
 /**
@@ -100,11 +99,10 @@ SciErr createNamedMatrixOfWideString(void* _pvCtx, char* _pstName, int _iRows, i
  * @param[in] _pstName variable name
  * @param[in] _iRows Number of row
  * @param[in] _iCols Number of column
+ * @param[out] _piLength return strings length
  * @param[in] _pstStrings array of strings ( null terminated )
- * @param[out] _piAddress return pointer on new variable
  * @return if the operation successed (0) or not ( !0 )
  */
-
 SciErr readNamedMatrixOfString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piLength, char** _pstStrings);
 
 /**
@@ -112,13 +110,161 @@ SciErr readNamedMatrixOfString(void* _pvCtx, char* _pstName, int* _piRows, int*
 * @param[in] _pstName variable name
 * @param[in] _iRows Number of row
 * @param[in] _iCols Number of column
+* @param[out] _piLength return strings length
 * @param[in] _pstStrings array of strings ( null terminated )
-* @param[out] _piAddress return pointer on new variable
 * @return if the operation successed (0) or not ( !0 )
 */
 
 SciErr readNamedMatrixOfWideString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piwLength, wchar_t** _pwstStrings);
 
+/*shortcut functions*/
+
+/**
+ * check if the variable type is string
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isStringType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is string
+ * @param[in] _pstNAme variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedStringType(void* _pvCtx, char* _pstName);
+/**
+ * Get single string variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleString(void* _pvCtx, int* _piAddress, char** _pstData);
+
+/**
+ * Get single wide string variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pwstData return allocated wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleWideString(void* _pvCtx, int* _piAddress, wchar_t** _pwstData);
+
+/**
+ * Get strings variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _pstData return allocated array of string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, char*** _pstData);
+
+/**
+ * Get wide strings variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row 
+ * @param[out] _piCols return number of column
+ * @param[out] _pwstData return allocated array of wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfWideString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, wchar_t*** _pwstData);
+
+
+/**
+ * Get single named string variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleString(void* _pvCtx, char* _pstName, char** _pstData);
+
+/**
+ * Get single named string variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleWideString(void* _pvCtx, char* _pstName, wchar_t** _pwstData);
+
+/**
+ * Get named strings variable data
+ * @param[in] _pstName variable name
+ * @param[out] _iRows Number of row
+ * @param[out] _iCols Number of column
+ * @param[out] _pstData return allocated array of string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, char*** _pstData);
+
+/**
+ * Get named wide strings variable data
+ * @param[in] _pstName variable name
+ * @param[out] _iRows Number of row
+ * @param[out] _iCols Number of column
+ * @param[out] _pwstData return allocated array of wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfWideString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, wchar_t*** _pwstData);
+
+/**
+ * Get single string variable data
+ * @param[in] _iVar variable number
+ * @param[in] _pstStrings string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createSingleString(void* _pvCtx, int _iVar, char* _pstStrings);
+
+/**
+ * Get single wide string variable data
+ * @param[in] _iVar variable number
+ * @param[in] _pwstStrings wide string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createSingleWideString(void* _pvCtx, int _iVar, wchar_t* _pwstStrings);
+
+/**
+ * Get named single string variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pstStrings string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedSingleString(void* _pvCtx, char* _pstName, char* _pstStrings);
+
+/**
+ * Get named single wide string variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pwstStrings wide string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedSingleWideString(void* _pvCtx, char* _pstName, wchar_t* _pwstStrings);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pstData string data
+ */
+void freeAllocatedSingleString(char* _pstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pwstData wide string data
+ */
+void freeAllocatedSingleWideString(wchar_t* _pwstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row number
+ * @param[in] _iCols column number
+ * @param[in] _pstData matrix of string data
+ */
+void freeAllocatedMatrixOfString(int _iRows, int _iCols, char** _pstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row number
+ * @param[in] _iCols column number
+ * @param[in] _pwstData matrix of wide string data
+ */
+void freeAllocatedMatrixOfWideString(int _iRows, int _iCols, wchar_t** _pwstData);
+
 #ifdef __cplusplus
 }
 #endif
index 8b64c82..c7b1edb 100644 (file)
@@ -48,8 +48,8 @@ END
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,2,0,0
- PRODUCTVERSION 5,2,0,0
+ FILEVERSION 5,3,0,0
+ PRODUCTVERSION 5,3,0,0
  FILEFLAGSMASK 0x17L
 #ifdef _DEBUG
  FILEFLAGS 0x1L
@@ -65,12 +65,12 @@ BEGIN
         BLOCK "040c04b0"
         BEGIN
             VALUE "FileDescription", "api_scilab module"
-            VALUE "FileVersion", "5, 2, 0, 0"
+            VALUE "FileVersion", "5, 3, 0, 0"
             VALUE "InternalName", "api_scilab module"
             VALUE "LegalCopyright", "Copyright (C) 2010"
             VALUE "OriginalFilename", "api_scilab.dll"
             VALUE "ProductName", " api_scilab module"
-            VALUE "ProductVersion", "5, 2, 0, 0"
+            VALUE "ProductVersion", "5, 3, 0, 0"
         END
     END
     BLOCK "VarFileInfo"