Merge remote-tracking branch 'origin/master' into JIMS 93/12093/1
Antoine ELIAS [Mon, 22 Jul 2013 12:01:35 +0000 (14:01 +0200)]
Conflicts:
scilab/Scilab.sln
scilab/modules/completion/src/c/getfieldsdictionary.c
scilab/modules/completion/src/cpp/FieldsGetter.hxx
scilab/modules/completion/src/cpp/FieldsManager.cpp
scilab/modules/completion/src/cpp/FieldsManager.hxx
scilab/modules/completion/src/cpp/XMLFieldsGetter.cpp
scilab/modules/completion/src/cpp/XMLFieldsGetter.hxx

Change-Id: Ibeafbdac30a7b0b184a194d8b271e32666b3ee4b

255 files changed:
scilab/CHANGES_5.5.X
scilab/Scilab.sln
scilab/Visual-Studio-settings/ant-all/ant-all.vcxproj
scilab/configure
scilab/configure.ac
scilab/etc/classpath.xml.in
scilab/etc/classpath.xml.vc
scilab/etc/modules.xml.in
scilab/etc/modules.xml.vc
scilab/modules/Makefile.am
scilab/modules/Makefile.in
scilab/modules/api_scilab/src/cpp/api_list.cpp
scilab/modules/completion/Makefile.am
scilab/modules/completion/Makefile.in
scilab/modules/completion/includes/getfields.h
scilab/modules/completion/src/c/completion.vcxproj
scilab/modules/completion/src/c/completion.vcxproj.filters
scilab/modules/completion/src/c/getfieldsdictionary.c
scilab/modules/completion/src/cpp/EOFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/EOFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/FieldsGetter.hxx
scilab/modules/completion/src/cpp/FieldsManager.cpp
scilab/modules/completion/src/cpp/FieldsManager.hxx
scilab/modules/completion/src/cpp/HandleFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/HandleFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/StructFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/StructFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLDocFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLDocFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLElemFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLElemFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLFieldsGetter.cpp
scilab/modules/completion/src/cpp/XMLFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLListFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLListFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLNsFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLNsFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLSetFieldsGetter.cpp [new file with mode: 0644]
scilab/modules/completion/src/cpp/XMLSetFieldsGetter.hxx [new file with mode: 0644]
scilab/modules/completion/src/cpp/getfields.cpp
scilab/modules/core/includes/callinterf.h
scilab/modules/core/src/c/callinterf.c
scilab/modules/core/src/c/dynamic_gateways.c
scilab/modules/core/src/c/dynamic_gateways.h
scilab/modules/core/src/c/stack2.c
scilab/modules/external_objects/Makefile.am
scilab/modules/external_objects/Makefile.in
scilab/modules/external_objects/external_objects.vcxproj
scilab/modules/external_objects/external_objects.vcxproj.filters
scilab/modules/external_objects/includes/ExternalObjects.h
scilab/modules/external_objects/includes/ScilabAbstractEnvironment.hxx
scilab/modules/external_objects/includes/ScilabAbstractEnvironmentWrapper.hxx
scilab/modules/external_objects/includes/ScilabAbstractMemoryAllocator.hxx
scilab/modules/external_objects/includes/ScilabAutoCleaner.hxx
scilab/modules/external_objects/includes/ScilabGateway.hxx
scilab/modules/external_objects/includes/ScilabGatewayOptions.hxx
scilab/modules/external_objects/includes/ScilabObjects.hxx
scilab/modules/external_objects/includes/ScilabOptionsSetter.hxx
scilab/modules/external_objects/macros/%_EVoid_p.sci [new file with mode: 0644]
scilab/modules/external_objects/src/cpp/ScilabAutoCleaner.cpp
scilab/modules/external_objects/src/cpp/ScilabObjects.cpp
scilab/modules/external_objects/src/cpp/doubleExclam_invoke.cpp
scilab/modules/external_objects/src/cpp/invoke.cpp
scilab/modules/external_objects/src/cpp/invoke_lu.cpp
scilab/modules/external_objects/src/cpp/invoker.cpp
scilab/modules/external_objects/src/cpp/newInstance.cpp
scilab/modules/external_objects/src/cpp/wrapInFloat.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/Makefile.am [new file with mode: 0644]
scilab/modules/external_objects_java/Makefile.in [new file with mode: 0644]
scilab/modules/external_objects_java/TODO [new file with mode: 0644]
scilab/modules/external_objects_java/build.xml [new file with mode: 0644]
scilab/modules/external_objects_java/etc/external_objects_java.quit [new file with mode: 0644]
scilab/modules/external_objects_java/etc/external_objects_java.start [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.iss [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.rc [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.vcxproj [new file with mode: 0644]
scilab/modules/external_objects_java/external_objects_java.vcxproj.filters [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jarray.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jautoTranspose.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jcast.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jcompile.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jconvMatrixMethod.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jdeff.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jdisableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jenableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jexists.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetclassname.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetfields.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jgetmethods.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jimport.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jinvoke.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jinvoke_db.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jnewInstance.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jnull.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jremove.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jsetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/junwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/junwraprem.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jvoid.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrapinchar.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jwrapinfloat.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/new.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/fr_FR/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/help/pt_BR/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/help/ru_RU/addchapter.sce [new file with mode: 0644]
scilab/modules/external_objects_java/includes/dynlib_external_objects_java_scilab.h [new file with mode: 0644]
scilab/modules/external_objects_java/includes/gw_external_objects_java.h [new file with mode: 0644]
scilab/modules/external_objects_java/license.txt [new file with mode: 0644]
scilab/modules/external_objects_java/locales/cs_CZ.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/external_objects.pot [new file with mode: 0644]
scilab/modules/external_objects_java/locales/fr_FR.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/it_IT.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/ja_JP.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/ru_RU.po [new file with mode: 0644]
scilab/modules/external_objects_java/locales/uk_UA.po [new file with mode: 0644]
scilab/modules/external_objects_java/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/external_objects_java/macros/buildmacros.sce [new file with mode: 0644]
scilab/modules/external_objects_java/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/c/gw_external_objects_java.c [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jallowClassReloading.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jarray.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jautoTranspose.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jautoUnwrap.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jcast.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jcompile.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jconvMatrixMethod.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jdeff.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jdisableTrace.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jenableTrace.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jexists.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetclassname.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetfield.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetfields.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jgetmethods.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jimport.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jinvoke.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jnewInstance.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jremove.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jsetfield.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_junwrap.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_junwraprem.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jwrap.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/cpp/sci_jwrapinfloat.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/sci_gateway/external_objects_java_gateway.xml [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JIMSwrapunwrap.h [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsHelper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsSetter.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/JavaOptionsSetter.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/NoMoreScilabMemoryException.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/NoMoreScilabMemoryException.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironment.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironment.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironmentWrapper.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironmentWrapper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaException.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabJavaObjectHelper.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabObjects.giws.xml [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/ScilabObjectsCPP.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/WrapAsDirectBuffer.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/WrapAsDirectBufferTemplate.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/builder_cpp.sce [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/dllMain.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/noMoreMemory.h [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/unwrap.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/wrap.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/cpp/wrapwithcast.hpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/FunctionArguments.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabClassLoader.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaArray.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaClass.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaCompiler.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaConstructor.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaException.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaMethod.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/java/org/scilab/modules/external_objects_java/ScilabJavaObject.java [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabClassLoader.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabClassLoader.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaArray.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaArray.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaClass.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaClass.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaCompiler.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaCompiler.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaObject.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabJavaObject.hxx [new file with mode: 0644]
scilab/modules/external_objects_java/src/jni/ScilabObjects.giws.xml [new file with mode: 0644]
scilab/modules/external_objects_java/tests/libintl.jar [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/bean-helper.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/bean-helper.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/extract.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/extract.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/invoke.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/invoke.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jallowClassReloading.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jallowClassReloading.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jarray.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jarray.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jautoTranspose.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jautoTranspose.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jautoUnwrap.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jautoUnwrap.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcast.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcast.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcompile.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jcompile.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jdeff.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jdeff.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jenableTrace.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jenableTrace.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jexists.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jexists.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetclassname.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetclassname.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfield.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfield.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfields.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetfields.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetmethods.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jgetmethods.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jimport.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jimport.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jinvoke.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jinvoke.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jnewInstance.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jnewInstance.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jsetfield.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jsetfield.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwrap.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwrap.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwraprem.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/junwraprem.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrap.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrap.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrapinfloat.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jwrapinfloat.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/new.dia.ref [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/new.tst [new file with mode: 0644]
scilab/modules/helptools/etc/MAIN_CHAPTERS
scilab/modules/ui_data/src/cpp/BrowseVarManager.cpp
scilab/modules/xml/src/cpp/XMLDocument.hxx
scilab/modules/xml/src/cpp/XMLElement.hxx
scilab/modules/xml/src/cpp/XMLNodeList.hxx
scilab/modules/xml/src/cpp/XMLNs.hxx
scilab/scilab-lib.properties.in
scilab/scilab-lib.properties.vc

index eaf4298..a7f487f 100644 (file)
@@ -39,6 +39,8 @@ BDF methods with direct and preconditioned Krylov linear solvers, from ODEPACK.
 * In browsevar, allows a user to plot the variable (already available in
   editvar).
 
+* Multi level completion on mlist, struct, XML structures...
+
 
 Syntax changes
 ===============
index daae7ec..1e27fd8 100644 (file)
@@ -502,6 +502,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nographic_objects", "module
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "external_objects", "modules\external_objects\external_objects.vcxproj", "{3142E52C-309A-41D9-BD12-7B7E9E3BDD44}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "external_objects_java", "modules\external_objects_java\external_objects_java.vcxproj", "{C51BA525-D7C8-4385-862D-F8E67187B827}"
+EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scicos-cli", "modules\scicos\src\c\cli\scicos-cli.vcxproj", "{A1CE241B-0FA7-488D-B737-1A1BC0F6A85E}"
        ProjectSection(ProjectDependencies) = postProject
                {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
@@ -1569,6 +1571,14 @@ Global
                {3142E52C-309A-41D9-BD12-7B7E9E3BDD44}.Release|Win32.Build.0 = Release|Win32
                {3142E52C-309A-41D9-BD12-7B7E9E3BDD44}.Release|x64.ActiveCfg = Release|x64
                {3142E52C-309A-41D9-BD12-7B7E9E3BDD44}.Release|x64.Build.0 = Release|x64
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Debug|Win32.ActiveCfg = Debug|Win32
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Debug|Win32.Build.0 = Debug|Win32
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Debug|x64.ActiveCfg = Debug|x64
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Debug|x64.Build.0 = Debug|x64
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Release|Win32.ActiveCfg = Release|Win32
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Release|Win32.Build.0 = Release|Win32
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Release|x64.ActiveCfg = Release|x64
+               {C51BA525-D7C8-4385-862D-F8E67187B827}.Release|x64.Build.0 = Release|x64
                {A1CE241B-0FA7-488D-B737-1A1BC0F6A85E}.Debug|Win32.ActiveCfg = Debug|Win32
                {A1CE241B-0FA7-488D-B737-1A1BC0F6A85E}.Debug|Win32.Build.0 = Debug|Win32
                {A1CE241B-0FA7-488D-B737-1A1BC0F6A85E}.Debug|x64.ActiveCfg = Debug|x64
index 543737e..9ccd343 100644 (file)
@@ -74,6 +74,7 @@ cd $(SolutionDir)modules\prebuildjava && call ant
 cd $(SolutionDir)modules\javasci && call ant \r
 cd $(SolutionDir)modules\hdf5 && call ant\r
 cd $(SolutionDir)modules\xcos && call ant\r
+cd $(SolutionDir)modules\external_objects_java && call ant\r
 </NMakeBuildCommandLine>\r
     <NMakeReBuildCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
 set PATH=$(SolutionDir)java\ant\bin;%PATH%;\r
@@ -81,7 +82,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean &amp;&amp; call
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean &amp;&amp; call ant\r
-\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean &amp;&amp; call ant\r
 \r
 </NMakeReBuildCommandLine>\r
     <NMakeCleanCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
@@ -90,6 +91,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean\r
 \r
 \r
 \r
@@ -105,6 +107,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant\r
 </NMakeBuildCommandLine>\r
     <NMakeReBuildCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
 set PATH=$(SolutionDir)java\ant\bin;%PATH%;\r
@@ -112,7 +115,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean &amp;&amp; call
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean &amp;&amp; call ant\r
-\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean &amp;&amp; call ant\r
 \r
 </NMakeReBuildCommandLine>\r
     <NMakeCleanCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
@@ -121,6 +124,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean\r
 \r
 \r
 \r
@@ -136,6 +140,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant\r
 </NMakeBuildCommandLine>\r
     <NMakeReBuildCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
 set PATH=$(SolutionDir)java\ant\bin;%PATH%;\r
@@ -143,7 +148,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean &amp;&amp; call
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean &amp;&amp; call ant\r
-\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean &amp;&amp; call ant\r
 \r
 </NMakeReBuildCommandLine>\r
     <NMakeCleanCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
@@ -152,6 +157,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean\r
 \r
 \r
 \r
@@ -167,6 +173,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant\r
 </NMakeBuildCommandLine>\r
     <NMakeReBuildCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
 set PATH=$(SolutionDir)java\ant\bin;%PATH%;\r
@@ -174,7 +181,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean &amp;&amp; call
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean &amp;&amp; call ant \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean &amp;&amp; call ant\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean &amp;&amp; call ant\r
-\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean &amp;&amp; call ant\r
 \r
 </NMakeReBuildCommandLine>\r
     <NMakeCleanCommandLine>set JAVA_HOME=$(SolutionDir)java\jdk\r
@@ -183,6 +190,7 @@ cd $(SolutionDir)modules\prebuildjava &amp;&amp; call ant clean
 cd $(SolutionDir)modules\javasci &amp;&amp; call ant clean \r
 cd $(SolutionDir)modules\hdf5 &amp;&amp; call ant clean\r
 cd $(SolutionDir)modules\xcos &amp;&amp; call ant clean\r
+cd $(SolutionDir)modules\external_objects_java &amp;&amp; call ant clean\r
 \r
 \r
 \r
index 8876a92..0292237 100755 (executable)
@@ -39493,7 +39493,7 @@ SCI_LDFLAGS=$(echo  $LARGEFILE_LDFLAGS  $CODECOVERAGE_LDFLAGS  $DEBUG_LDFLAGS  $
 
 
 
-ac_config_files="$ac_config_files contrib/Makefile desktop/images/icons/Makefile desktop/Makefile modules/helptools/Makefile modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/commons/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/graphic_objects/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/prebuildjava/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/preferences/Makefile modules/xml/Makefile modules/external_objects/Makefile modules/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/Info.plist etc/logging.properties scilab.properties scilab-lib.properties scilab-lib-doc.properties modules/helptools/etc/SciDocConf.xml modules/core/includes/version.h"
+ac_config_files="$ac_config_files contrib/Makefile desktop/images/icons/Makefile desktop/Makefile modules/helptools/Makefile modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/commons/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/graphic_objects/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/prebuildjava/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/preferences/Makefile modules/xml/Makefile modules/external_objects/Makefile modules/external_objects_java/Makefile modules/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/Info.plist etc/logging.properties scilab.properties scilab-lib.properties scilab-lib-doc.properties modules/helptools/etc/SciDocConf.xml modules/core/includes/version.h"
 
 
 # Detection of the module for the future version of Scilab 6
@@ -40903,6 +40903,7 @@ do
     "modules/preferences/Makefile") CONFIG_FILES="$CONFIG_FILES modules/preferences/Makefile" ;;
     "modules/xml/Makefile") CONFIG_FILES="$CONFIG_FILES modules/xml/Makefile" ;;
     "modules/external_objects/Makefile") CONFIG_FILES="$CONFIG_FILES modules/external_objects/Makefile" ;;
+    "modules/external_objects_java/Makefile") CONFIG_FILES="$CONFIG_FILES modules/external_objects_java/Makefile" ;;
     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "scilab.pc") CONFIG_FILES="$CONFIG_FILES scilab.pc" ;;
index fc702cc..7015914 100644 (file)
@@ -1911,6 +1911,7 @@ modules/history_browser/Makefile
 modules/preferences/Makefile
 modules/xml/Makefile
 modules/external_objects/Makefile
+modules/external_objects_java/Makefile
 modules/Makefile
 Makefile
 scilab.pc
index 34ecd23..316f25d 100644 (file)
@@ -189,4 +189,10 @@ The option is "disableUnderMode" and can be:
 
 <path value="$SCILAB/modules/history_browser/jar/org.scilab.modules.history_browser.jar" disableUnderMode="NW"/>
 
+<path value="$SCILAB/modules/external_objects_java/jar/org.scilab.modules.external_objects_java.jar" />
+
+<path value="$SCILAB/thirdparty/ecj.jar" load="onUse">
+    <load on="external_objects_java"/>
+</path>
+
 </classpaths>
index 1755334..c37d3a5 100644 (file)
@@ -27,166 +27,175 @@ The option is "disableUnderMode" and can be:
 
 <classpaths>
 
-<!-- Mandatory on startup -->
-<path value="$SCILAB/thirdparty/flexdock-1.2.3.jar"/>
-<path value="$SCILAB/thirdparty/skinlf.jar"/>
-<path value="$SCILAB/thirdparty/looks-2.1.1.jar"/>
-<path value="$SCILAB/thirdparty/commons-logging-1.1.jar"/>
-<path value="$SCILAB/thirdparty/jhall.jar"/>
+    <!-- Mandatory on startup -->
+    <path value="$SCILAB/thirdparty/flexdock-1.2.3.jar"/>
+    <path value="$SCILAB/thirdparty/skinlf.jar"/>
+    <path value="$SCILAB/thirdparty/looks-2.1.1.jar"/>
+    <path value="$SCILAB/thirdparty/commons-logging-1.1.jar"/>
+    <path value="$SCILAB/thirdparty/jhall.jar"/>
 
-<!-- Load when needed -->
+    <!-- Load when needed -->
 
-<path value="$SCILAB/thirdparty/jrosetta-API.jar" load="onUse">
+    <path value="$SCILAB/thirdparty/jrosetta-API.jar" load="onUse">
         <load on="Console" />
         <load on="SciNotes" />
-</path>
-<path value="$SCILAB/thirdparty/jrosetta-engine.jar" load="onUse">
+    </path>
+    <path value="$SCILAB/thirdparty/jrosetta-engine.jar" load="onUse">
         <load on="Console" />
         <load on="SciNotes" />
-</path>
-
-<path value="$SCILAB/thirdparty/jgraphx.jar" load="onUse">
-       <load on="Xcos"/>
-       <load on="documentationGeneration"/>
-</path>
-
-<path value="$SCILAB/modules/scirenderer/jar/scirenderer.jar" load="onUse">
-    <load on="graphics"/>
-    <load on="graphic_ojects"/>
-    <load on="Xcos"/>
-</path>
-
-<path value="$SCILAB/thirdparty/jogl2.jar" load="onUse">
-       <load on="graphics"/>
-       <load on="graphic_export"/>
-       <load on="Xcos"/>
-</path>
-
-<path value="$SCILAB/thirdparty/gluegen2-rt.jar" load="onUse">
-       <load on="graphics"/>
-       <load on="graphic_export"/>
-       <load on="Xcos"/>
-</path>
-
-<!-- Temp. loaded at startup -->
-<path value="$SCILAB/modules/types/jar/org.scilab.modules.types.jar"/>
-<!-- END -->
-
-<!-- Documentation (not mandatory) -->
-<path value="$SCILAB/thirdparty/jeuclid-core.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="graphics_mathml_textrendering"/>
-       <load on="xcos_mathml_rendering"/>
-</path>
-
-<path value="$SCILAB/thirdparty/jlatexmath-fop-1.0.2.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-</path>
-<path value="$SCILAB/thirdparty/fop.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-</path>
-<path value="$SCILAB/thirdparty/saxon.jar" load="onUse">
-       <load on="documentationGeneration"/>
-</path>
-<path value="$SCILAB/thirdparty/batik-all-1.7.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="graphics_mathml_textrendering"/>
-       <load on="svg_graphic_export"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-       <load on="Xcos"/>
-</path>
-<path value="$SCILAB/thirdparty/xml-apis-ext.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-       <load on="Xcos"/>
-</path>
-
-<!-- PDF doc generation -->
-<path value="$SCILAB/thirdparty/commons-io.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="graphics_mathml_textrendering"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-       <load on="Xcos"/>
-</path>
-
-<!-- PDF doc generation (dep of jeuclid) -->
-<path value="$SCILAB/thirdparty/xmlgraphics-commons-1.4.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="graphics_mathml_textrendering"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-       <load on="Xcos"/>
-</path>
-<path value="$SCILAB/thirdparty/avalon-framework.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-</path>
-
-<path value="$SCILAB/thirdparty/jlatexmath-1.0.2.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="graphics_latex_textrendering"/>
-       <load on="pdf_ps_eps_graphic_export"/>
-       <load on="Xcos"/>
-</path>
-
-<!-- helptools module doc generation -->
-<path value="$SCILAB/modules/helptools/jar/org.scilab.modules.helptools.jar" load="onUse">
-       <load on="documentationGeneration"/>
-       <load on="copyAsHTMLinScinotes"/>
-</path>
-
-<!-- Mandatory on startup -->
-<path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/>
-<path value="$SCILAB/modules/commons/jar/org.scilab.modules.commons.jar"/>
-
-<!-- Console GUI dep -->
-<path value="$SCILAB/modules/history_manager/jar/org.scilab.modules.history_manager.jar" disableUnderMode="NW"/>
-<path value="$SCILAB/modules/completion/jar/org.scilab.modules.completion.jar" load="onUse">
+    </path>
+
+    <path value="$SCILAB/thirdparty/jgraphx.jar" load="onUse">
+        <load on="Xcos"/>
+        <load on="documentationGeneration"/>
+    </path>
+
+    <path value="$SCILAB/modules/scirenderer/jar/scirenderer.jar" load="onUse">
+        <load on="graphics"/>
+        <load on="graphic_ojects"/>
+        <load on="Xcos"/>
+    </path>
+
+    <path value="$SCILAB/thirdparty/jogl2.jar" load="onUse">
+        <load on="graphics"/>
+        <load on="graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+
+    <path value="$SCILAB/thirdparty/gluegen2-rt.jar" load="onUse">
+        <load on="graphics"/>
+        <load on="graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+
+    <!-- Temp. loaded at startup -->
+    <path value="$SCILAB/modules/types/jar/org.scilab.modules.types.jar"/>
+    <!-- END -->
+
+    <!-- Documentation (not mandatory) -->
+    <path value="$SCILAB/thirdparty/jeuclid-core.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="graphics_mathml_textrendering"/>
+        <load on="xcos_mathml_rendering"/>
+    </path>
+
+    <path value="$SCILAB/thirdparty/jlatexmath-fop-1.0.2.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+    </path>
+    <path value="$SCILAB/thirdparty/fop.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+    </path>
+    <path value="$SCILAB/thirdparty/saxon.jar" load="onUse">
+        <load on="documentationGeneration"/>
+    </path>
+    <path value="$SCILAB/thirdparty/batik-all-1.7.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="graphics_mathml_textrendering"/>
+        <load on="svg_graphic_export"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+    <path value="$SCILAB/thirdparty/xml-apis-ext.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+
+    <!-- PDF doc generation -->
+    <path value="$SCILAB/thirdparty/commons-io.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="graphics_mathml_textrendering"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+
+    <!-- PDF doc generation (dep of jeuclid) -->
+    <path value="$SCILAB/thirdparty/xmlgraphics-commons-1.4.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="graphics_mathml_textrendering"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+    <path value="$SCILAB/thirdparty/avalon-framework.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+    </path>
+
+    <path value="$SCILAB/thirdparty/jlatexmath-1.0.2.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="graphics_latex_textrendering"/>
+        <load on="pdf_ps_eps_graphic_export"/>
+        <load on="Xcos"/>
+    </path>
+
+    <!-- helptools module doc generation -->
+    <path value="$SCILAB/modules/helptools/jar/org.scilab.modules.helptools.jar" load="onUse">
+        <load on="documentationGeneration"/>
+        <load on="copyAsHTMLinScinotes"/>
+    </path>
+
+    <!-- Mandatory on startup -->
+    <path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/>
+    <path value="$SCILAB/modules/commons/jar/org.scilab.modules.commons.jar"/>
+
+    <!-- Console GUI dep -->
+    <path value="$SCILAB/modules/history_manager/jar/org.scilab.modules.history_manager.jar" disableUnderMode="NW"/>
+    <path value="$SCILAB/modules/completion/jar/org.scilab.modules.completion.jar" load="onUse">
         <load on="Console"/>
         <load on="SciNotes"/>
-</path>
+    </path>
 
-<path value="$SCILAB/modules/console/jar/org.scilab.modules.console.jar"/>
+    <path value="$SCILAB/modules/console/jar/org.scilab.modules.console.jar"/>
 
-<path value="$SCILAB/modules/localization/jar/org.scilab.modules.localization.jar"/>
-<path value="$SCILAB/modules/action_binding/jar/org.scilab.modules.action_binding.jar"/>
+    <path value="$SCILAB/modules/localization/jar/org.scilab.modules.localization.jar"/>
+    <path value="$SCILAB/modules/action_binding/jar/org.scilab.modules.action_binding.jar"/>
 
-<path value="$SCILAB/modules/gui/jar/org.scilab.modules.gui.jar"/>
-<path value="$SCILAB/modules/gui/etc"/> <!-- Scilab Flexdock theme -->
-<path value="$SCILAB/modules/gui/images/icons/"/> <!-- Scilab Flexdock icons -->
+    <path value="$SCILAB/modules/gui/jar/org.scilab.modules.gui.jar"/>
+    <path value="$SCILAB/modules/gui/etc"/>
+    <!-- Scilab Flexdock theme -->
+    <path value="$SCILAB/modules/gui/images/icons/"/>
+    <!-- Scilab Flexdock icons -->
 
-<path value="$SCILAB/modules/preferences/jar/org.scilab.modules.preferences.jar"/>
+    <path value="$SCILAB/modules/preferences/jar/org.scilab.modules.preferences.jar"/>
 
-<path value="$SCILAB/modules/renderer/jar/org.scilab.modules.renderer.jar"/>
+    <path value="$SCILAB/modules/renderer/jar/org.scilab.modules.renderer.jar"/>
 
-<path value="$SCILAB/modules/graphic_export/jar/org.scilab.modules.graphic_export.jar"/>
+    <path value="$SCILAB/modules/graphic_export/jar/org.scilab.modules.graphic_export.jar"/>
 
-<path value="$SCILAB/modules/core/jar/org.scilab.modules.core.jar"/>
+    <path value="$SCILAB/modules/core/jar/org.scilab.modules.core.jar"/>
 
-<!-- scinotes module -->
-<path value="$SCILAB/modules/scinotes/jar/org.scilab.modules.scinotes.jar" load="onUse">
-       <load on="SciNotes"/>
-</path>
+    <!-- scinotes module -->
+    <path value="$SCILAB/modules/scinotes/jar/org.scilab.modules.scinotes.jar" load="onUse">
+        <load on="SciNotes"/>
+    </path>
+
+    <!-- Xcos module -->
+    <path value="$SCILAB/modules/xcos/jar/org.scilab.modules.xcos.jar" load="onUse">
+        <load on="Xcos"/>
+        <load on="documentationGeneration"/>
+    </path>
+
+    <path value="$SCILAB/modules/graph/jar/org.scilab.modules.graph.jar" load="onUse">
+        <load on="Xcos"/>
+        <load on="documentationGeneration"/>
+    </path>
+
+    <!-- TO DO Load only when we need -->
+    <path value="$SCILAB/modules/graphic_objects/jar/org.scilab.modules.graphic_objects.jar"/>
 
-<!-- Xcos module -->
-<path value="$SCILAB/modules/xcos/jar/org.scilab.modules.xcos.jar" load="onUse">
-       <load on="Xcos"/>
-       <load on="documentationGeneration"/>
-</path>
+    <!-- TO DO Load only when we need -->
+    <path value="$SCILAB/modules/ui_data/jar/org.scilab.modules.ui_data.jar"/>
+    <path value="$SCILAB/modules/javasci/jar/org.scilab.modules.javasci.jar"/>
 
-<path value="$SCILAB/modules/graph/jar/org.scilab.modules.graph.jar" load="onUse">
-       <load on="Xcos"/>
-       <load on="documentationGeneration"/>
-</path>
+    <path value="$SCILAB/modules/history_browser/jar/org.scilab.modules.history_browser.jar" disableUnderMode="NW"/>
 
-<!-- TO DO Load only when we need -->
-<path value="$SCILAB/modules/graphic_objects/jar/org.scilab.modules.graphic_objects.jar"/>
 
-<!-- TO DO Load only when we need -->
-<path value="$SCILAB/modules/ui_data/jar/org.scilab.modules.ui_data.jar"/>
-<path value="$SCILAB/modules/javasci/jar/org.scilab.modules.javasci.jar"/>
+    <path value="$SCILAB/modules/external_objects_java/jar/org.scilab.modules.external_objects_java.jar" />
 
-<path value="$SCILAB/modules/history_browser/jar/org.scilab.modules.history_browser.jar" disableUnderMode="NW"/>
+    <path value="$SCILAB/thirdparty/ecj.jar" load="onUse">
+        <load on="external_objects_java"/>
+    </path>
 
 </classpaths>
index e24cc00..4a27192 100644 (file)
@@ -89,5 +89,6 @@
 <module name="preferences" activate="@GUI_ENABLE@"/>
 <module name="xml" activate="yes"/>
 <module name="external_objects" activate="yes"/>
+<module name="external_objects_java" activate="yes"/>
 </modules>
 
index 71b8ea6..d57405d 100644 (file)
@@ -91,5 +91,6 @@
 <module name="preferences" activate="yes"/>
 <module name="xml" activate="yes"/>
 <module name="external_objects" activate="yes"/>
+<module name="external_objects_java" activate="yes"/>
 <!-- comments -->
 </modules>
index 4b7a400..37e020f 100644 (file)
@@ -89,7 +89,9 @@ history_browser \
 preferences \
 xml \
 types \
-external_objects
+external_objects \
+external_objects_java
+
 
 if XCOS
 SUBDIRS += scicos_blocks
@@ -129,7 +131,8 @@ GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
        $(top_builddir)/modules/history_browser/libscihistory_browser.la \
        $(top_builddir)/modules/commons/libscicommons.la \
        $(top_builddir)/modules/tclsci/libscitclsci.la \
-       $(top_builddir)/modules/preferences/libscipreferences.la
+       $(top_builddir)/modules/preferences/libscipreferences.la \
+       $(top_builddir)/modules/external_objects_java/libsciexternal_objects_java.la 
 
 NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
        $(top_builddir)/modules/graphics/libscigraphics-disable.la \
index 65e14a4..61a27e1 100644 (file)
@@ -193,8 +193,8 @@ DIST_SUBDIRS = prebuildjava fileio mexlib functions parameters boolean \
        compatibility_functions helptools umfpack demo_tools \
        genetic_algorithms simulated_annealing matio atoms graph xcos \
        scinotes parallel modules_manager ui_data history_browser \
-       preferences xml types external_objects scicos_blocks scicos . \
-       javasci
+       preferences xml types external_objects external_objects_java \
+       scicos_blocks scicos . javasci
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 am__relativize = \
   dir0=`pwd`; \
@@ -492,8 +492,8 @@ SUBDIRS = prebuildjava fileio mexlib functions parameters boolean \
        compatibility_functions helptools umfpack demo_tools \
        genetic_algorithms simulated_annealing matio atoms hdf5 graph \
        xcos scinotes parallel modules_manager ui_data history_browser \
-       preferences xml types external_objects $(am__append_1) scicos \
-       . $(am__append_2)
+       preferences xml types external_objects external_objects_java \
+       $(am__append_1) scicos . $(am__append_2)
 
 #### Basic files ####
 libscilab_la_rootdir = $(mydatadir)
@@ -516,7 +516,8 @@ GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
        $(top_builddir)/modules/history_browser/libscihistory_browser.la \
        $(top_builddir)/modules/commons/libscicommons.la \
        $(top_builddir)/modules/tclsci/libscitclsci.la \
-       $(top_builddir)/modules/preferences/libscipreferences.la
+       $(top_builddir)/modules/preferences/libscipreferences.la \
+       $(top_builddir)/modules/external_objects_java/libsciexternal_objects_java.la 
 
 NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
        $(top_builddir)/modules/graphics/libscigraphics-disable.la \
index 301ecd0..d673cec 100644 (file)
@@ -3119,12 +3119,22 @@ static void updateCommunListOffset(void* _pvCtx, int _iVar, const char* _pstName
     {
         int iLocalVar = _iVar - Top + Rhs;
         iMaxDepth = getDepthList(iLocalVar);
+        if (iMaxDepth == 0)
+        {
+            return;
+        }
+
         piParent = (int**)MALLOC(sizeof(int*) * iMaxDepth);
         getListAdressses(iLocalVar, piParent);
     }
     else
     {
         iMaxDepth = getDepthNamedList(_pstName);
+        if (iMaxDepth == 0)
+        {
+            return;
+        }
+
         piParent = (int**)MALLOC(sizeof(int*) * iMaxDepth);
         getNamedListAdressses(_pstName, piParent);
     }
index 1339589..b916210 100644 (file)
@@ -29,6 +29,16 @@ src/c/completeLine_wrap_java.c
 
 COMPLETION_CXX_SOURCES = src/cpp/FieldsManager.cpp \
                          src/cpp/XMLFieldsGetter.cpp \
+                         src/cpp/XMLDocFieldsGetter.cpp \
+                         src/cpp/XMLElemFieldsGetter.cpp \
+                         src/cpp/XMLAttrFieldsGetter.cpp \
+                         src/cpp/XMLNsFieldsGetter.cpp \
+                         src/cpp/XMLListFieldsGetter.cpp \
+                         src/cpp/XMLSetFieldsGetter.cpp \
+                         src/cpp/EOFieldsGetter.cpp \
+                         src/cpp/UnknownMlistFieldsGetter.cpp \
+                         src/cpp/StructFieldsGetter.cpp \
+                         src/cpp/HandleFieldsGetter.cpp \
                          src/cpp/getfields.cpp
 
 # List of the gateway c files
@@ -47,7 +57,8 @@ libscicompletion_la_CPPFLAGS = -I$(srcdir)/includes/ \
     -I$(top_srcdir)/modules/fileio/includes/ \
     -I$(top_srcdir)/modules/string/includes/ \
     -I$(top_srcdir)/modules/xml/includes/ \
-    -I$(top_srcdir)/modules/xml/src/cpp \
+    -I$(top_srcdir)/modules/xml/src/cpp/ \
+    -I$(top_srcdir)/modules/external_objects/includes \
     $(JAVA_JNI_INCLUDE) \
     $(XML_FLAGS) \
     $(COMPLETION_FLAGS) \
index 1af0988..015bf5a 100644 (file)
@@ -149,7 +149,14 @@ am__libscicompletion_algo_la_SOURCES_DIST = src/jni/Completion_wrap.c \
        src/c/completion_wrap_java.c src/c/getPartLine.c \
        src/c/getCommonPart.c src/c/completeLine.c \
        src/c/completeLine_wrap_java.c src/cpp/FieldsManager.cpp \
-       src/cpp/XMLFieldsGetter.cpp src/cpp/getfields.cpp
+       src/cpp/XMLFieldsGetter.cpp src/cpp/XMLDocFieldsGetter.cpp \
+       src/cpp/XMLElemFieldsGetter.cpp \
+       src/cpp/XMLAttrFieldsGetter.cpp src/cpp/XMLNsFieldsGetter.cpp \
+       src/cpp/XMLListFieldsGetter.cpp src/cpp/XMLSetFieldsGetter.cpp \
+       src/cpp/EOFieldsGetter.cpp \
+       src/cpp/UnknownMlistFieldsGetter.cpp \
+       src/cpp/StructFieldsGetter.cpp src/cpp/HandleFieldsGetter.cpp \
+       src/cpp/getfields.cpp
 @GUI_TRUE@am__objects_1 = libscicompletion_algo_la-Completion_wrap.lo
 am__objects_2 = libscicompletion_algo_la-completion.lo \
        libscicompletion_algo_la-completion_generic.lo \
@@ -164,6 +171,16 @@ am__objects_2 = libscicompletion_algo_la-completion.lo \
        libscicompletion_algo_la-completeLine_wrap_java.lo
 am__objects_3 = libscicompletion_algo_la-FieldsManager.lo \
        libscicompletion_algo_la-XMLFieldsGetter.lo \
+       libscicompletion_algo_la-XMLDocFieldsGetter.lo \
+       libscicompletion_algo_la-XMLElemFieldsGetter.lo \
+       libscicompletion_algo_la-XMLAttrFieldsGetter.lo \
+       libscicompletion_algo_la-XMLNsFieldsGetter.lo \
+       libscicompletion_algo_la-XMLListFieldsGetter.lo \
+       libscicompletion_algo_la-XMLSetFieldsGetter.lo \
+       libscicompletion_algo_la-EOFieldsGetter.lo \
+       libscicompletion_algo_la-UnknownMlistFieldsGetter.lo \
+       libscicompletion_algo_la-StructFieldsGetter.lo \
+       libscicompletion_algo_la-HandleFieldsGetter.lo \
        libscicompletion_algo_la-getfields.lo
 am_libscicompletion_algo_la_OBJECTS = $(am__objects_1) \
        $(am__objects_2) $(am__objects_3)
@@ -491,6 +508,16 @@ src/c/completeLine_wrap_java.c
 
 COMPLETION_CXX_SOURCES = src/cpp/FieldsManager.cpp \
                          src/cpp/XMLFieldsGetter.cpp \
+                         src/cpp/XMLDocFieldsGetter.cpp \
+                         src/cpp/XMLElemFieldsGetter.cpp \
+                         src/cpp/XMLAttrFieldsGetter.cpp \
+                         src/cpp/XMLNsFieldsGetter.cpp \
+                         src/cpp/XMLListFieldsGetter.cpp \
+                         src/cpp/XMLSetFieldsGetter.cpp \
+                         src/cpp/EOFieldsGetter.cpp \
+                         src/cpp/UnknownMlistFieldsGetter.cpp \
+                         src/cpp/StructFieldsGetter.cpp \
+                         src/cpp/HandleFieldsGetter.cpp \
                          src/cpp/getfields.cpp
 
 
@@ -511,7 +538,8 @@ libscicompletion_la_CPPFLAGS = -I$(srcdir)/includes/ \
     -I$(top_srcdir)/modules/fileio/includes/ \
     -I$(top_srcdir)/modules/string/includes/ \
     -I$(top_srcdir)/modules/xml/includes/ \
-    -I$(top_srcdir)/modules/xml/src/cpp \
+    -I$(top_srcdir)/modules/xml/src/cpp/ \
+    -I$(top_srcdir)/modules/external_objects/includes \
     $(JAVA_JNI_INCLUDE) \
     $(XML_FLAGS) \
     $(COMPLETION_FLAGS) \
@@ -733,8 +761,18 @@ distclean-compile:
        -rm -f *.tab.c
 
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-Completion_wrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-EOFieldsGetter.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-FieldsManager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-HandleFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-StructFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-UnknownMlistFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLAttrFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLDocFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLElemFieldsGetter.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLListFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLNsFieldsGetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-XMLSetFieldsGetter.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-completeLine.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-completeLine_wrap_java.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscicompletion_algo_la-completion.Plo@am__quote@
@@ -904,6 +942,76 @@ libscicompletion_algo_la-XMLFieldsGetter.lo: src/cpp/XMLFieldsGetter.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLFieldsGetter.lo `test -f 'src/cpp/XMLFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLFieldsGetter.cpp
 
+libscicompletion_algo_la-XMLDocFieldsGetter.lo: src/cpp/XMLDocFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLDocFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLDocFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLDocFieldsGetter.lo `test -f 'src/cpp/XMLDocFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLDocFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLDocFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLDocFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLDocFieldsGetter.cpp' object='libscicompletion_algo_la-XMLDocFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLDocFieldsGetter.lo `test -f 'src/cpp/XMLDocFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLDocFieldsGetter.cpp
+
+libscicompletion_algo_la-XMLElemFieldsGetter.lo: src/cpp/XMLElemFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLElemFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLElemFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLElemFieldsGetter.lo `test -f 'src/cpp/XMLElemFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLElemFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLElemFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLElemFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLElemFieldsGetter.cpp' object='libscicompletion_algo_la-XMLElemFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLElemFieldsGetter.lo `test -f 'src/cpp/XMLElemFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLElemFieldsGetter.cpp
+
+libscicompletion_algo_la-XMLAttrFieldsGetter.lo: src/cpp/XMLAttrFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLAttrFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLAttrFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLAttrFieldsGetter.lo `test -f 'src/cpp/XMLAttrFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLAttrFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLAttrFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLAttrFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLAttrFieldsGetter.cpp' object='libscicompletion_algo_la-XMLAttrFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLAttrFieldsGetter.lo `test -f 'src/cpp/XMLAttrFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLAttrFieldsGetter.cpp
+
+libscicompletion_algo_la-XMLNsFieldsGetter.lo: src/cpp/XMLNsFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLNsFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLNsFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLNsFieldsGetter.lo `test -f 'src/cpp/XMLNsFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLNsFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLNsFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLNsFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLNsFieldsGetter.cpp' object='libscicompletion_algo_la-XMLNsFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLNsFieldsGetter.lo `test -f 'src/cpp/XMLNsFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLNsFieldsGetter.cpp
+
+libscicompletion_algo_la-XMLListFieldsGetter.lo: src/cpp/XMLListFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLListFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLListFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLListFieldsGetter.lo `test -f 'src/cpp/XMLListFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLListFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLListFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLListFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLListFieldsGetter.cpp' object='libscicompletion_algo_la-XMLListFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLListFieldsGetter.lo `test -f 'src/cpp/XMLListFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLListFieldsGetter.cpp
+
+libscicompletion_algo_la-XMLSetFieldsGetter.lo: src/cpp/XMLSetFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-XMLSetFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-XMLSetFieldsGetter.Tpo -c -o libscicompletion_algo_la-XMLSetFieldsGetter.lo `test -f 'src/cpp/XMLSetFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLSetFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-XMLSetFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-XMLSetFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/XMLSetFieldsGetter.cpp' object='libscicompletion_algo_la-XMLSetFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-XMLSetFieldsGetter.lo `test -f 'src/cpp/XMLSetFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/XMLSetFieldsGetter.cpp
+
+libscicompletion_algo_la-EOFieldsGetter.lo: src/cpp/EOFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-EOFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-EOFieldsGetter.Tpo -c -o libscicompletion_algo_la-EOFieldsGetter.lo `test -f 'src/cpp/EOFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/EOFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-EOFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-EOFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/EOFieldsGetter.cpp' object='libscicompletion_algo_la-EOFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-EOFieldsGetter.lo `test -f 'src/cpp/EOFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/EOFieldsGetter.cpp
+
+libscicompletion_algo_la-UnknownMlistFieldsGetter.lo: src/cpp/UnknownMlistFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-UnknownMlistFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-UnknownMlistFieldsGetter.Tpo -c -o libscicompletion_algo_la-UnknownMlistFieldsGetter.lo `test -f 'src/cpp/UnknownMlistFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/UnknownMlistFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-UnknownMlistFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-UnknownMlistFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/UnknownMlistFieldsGetter.cpp' object='libscicompletion_algo_la-UnknownMlistFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-UnknownMlistFieldsGetter.lo `test -f 'src/cpp/UnknownMlistFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/UnknownMlistFieldsGetter.cpp
+
+libscicompletion_algo_la-StructFieldsGetter.lo: src/cpp/StructFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-StructFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-StructFieldsGetter.Tpo -c -o libscicompletion_algo_la-StructFieldsGetter.lo `test -f 'src/cpp/StructFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/StructFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-StructFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-StructFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/StructFieldsGetter.cpp' object='libscicompletion_algo_la-StructFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-StructFieldsGetter.lo `test -f 'src/cpp/StructFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/StructFieldsGetter.cpp
+
+libscicompletion_algo_la-HandleFieldsGetter.lo: src/cpp/HandleFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-HandleFieldsGetter.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-HandleFieldsGetter.Tpo -c -o libscicompletion_algo_la-HandleFieldsGetter.lo `test -f 'src/cpp/HandleFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/HandleFieldsGetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-HandleFieldsGetter.Tpo $(DEPDIR)/libscicompletion_algo_la-HandleFieldsGetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/HandleFieldsGetter.cpp' object='libscicompletion_algo_la-HandleFieldsGetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscicompletion_algo_la-HandleFieldsGetter.lo `test -f 'src/cpp/HandleFieldsGetter.cpp' || echo '$(srcdir)/'`src/cpp/HandleFieldsGetter.cpp
+
 libscicompletion_algo_la-getfields.lo: src/cpp/getfields.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscicompletion_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscicompletion_algo_la-getfields.lo -MD -MP -MF $(DEPDIR)/libscicompletion_algo_la-getfields.Tpo -c -o libscicompletion_algo_la-getfields.lo `test -f 'src/cpp/getfields.cpp' || echo '$(srcdir)/'`src/cpp/getfields.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscicompletion_algo_la-getfields.Tpo $(DEPDIR)/libscicompletion_algo_la-getfields.Plo
index ed525c1..756c19d 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
  *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  * @param mlist the mlist address
  * @return the arry of fields name
  */
-const char ** getFieldsForType(const char * typeName, int * mlist);
+const char ** getFieldsForType(const char * typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+
+const char ** getFields(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
 
 /**
  * Initialization
  */
 void initializeFieldsGetter();
 
+char ** getFieldPath(const char * _str, int * len);
+
 #endif
index af96d74..f986a79 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
@@ -80,7 +80,7 @@
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes;../../../external_objects/includes</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;COMPLETION_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
@@ -108,7 +108,7 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes;../../../external_objects/includes</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;COMPLETION_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
@@ -134,7 +134,7 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
     <ClCompile>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
       <WholeProgramOptimization>false</WholeProgramOptimization>
-      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes;../../../external_objects/includes</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;COMPLETION_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -167,7 +167,7 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
     <ClCompile>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
       <WholeProgramOptimization>false</WholeProgramOptimization>
-      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../../includes;../../../../libs/intl;../../../../libs/libxml2;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../windows_tools/includes;../../../fileio/includes;../../../graphics/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../../../functions/includes;../../../xml/includes;../../../xml/src/cpp;../../../string/includes;../../../external_objects/includes</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;COMPLETION_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -194,9 +194,19 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>
+    <ClCompile Include="..\cpp\EOFieldsGetter.cpp" />
     <ClCompile Include="..\cpp\FieldsManager.cpp" />
     <ClCompile Include="..\cpp\getfields.cpp" />
+    <ClCompile Include="..\cpp\HandleFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\StructFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\UnknownMlistFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLAttrFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLDocFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLElemFieldsGetter.cpp" />
     <ClCompile Include="..\cpp\XMLFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLListFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLNsFieldsGetter.cpp" />
+    <ClCompile Include="..\cpp\XMLSetFieldsGetter.cpp" />
     <ClCompile Include="completeLine.c" />
     <ClCompile Include="completeLine_wrap_java.c" />
     <ClCompile Include="completion.c" />
@@ -216,9 +226,19 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
   <ItemGroup>
     <ClInclude Include="..\..\includes\completeLine.h" />
     <ClInclude Include="..\..\includes\getfields.h" />
+    <ClInclude Include="..\cpp\EOFieldsGetter.hxx" />
     <ClInclude Include="..\cpp\FieldsGetter.hxx" />
     <ClInclude Include="..\cpp\FieldsManager.hxx" />
+    <ClInclude Include="..\cpp\HandleFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\StructFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\UnknownMlistFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLAttrFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLDocFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLElemFieldsGetter.hxx" />
     <ClInclude Include="..\cpp\XMLFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLListFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLNsFieldsGetter.hxx" />
+    <ClInclude Include="..\cpp\XMLSetFieldsGetter.hxx" />
     <ClInclude Include="completeLine_wrap_java.h" />
     <ClInclude Include="..\..\includes\completion.h" />
     <ClInclude Include="completion_generic.h" />
@@ -253,6 +273,9 @@ lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(
       <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\external_objects\external_objects.vcxproj">
+      <Project>{3142e52c-309a-41d9-bd12-7b7e9e3bdd44}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\..\..\fileio\fileio.vcxproj">
       <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index 2c472d0..4b58889 100644 (file)
     <ClCompile Include="..\cpp\XMLFieldsGetter.cpp">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="..\cpp\EOFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\HandleFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\StructFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\UnknownMlistFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLAttrFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLDocFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLElemFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLListFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLNsFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\XMLSetFieldsGetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\includes\completeLine.h">
     <ClInclude Include="..\cpp\XMLFieldsGetter.hxx">
       <Filter>Header Files</Filter>
     </ClInclude>
+    <ClInclude Include="..\cpp\EOFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\HandleFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\StructFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\UnknownMlistFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLAttrFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLDocFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLElemFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLListFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLNsFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\XMLSetFieldsGetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="..\jni\Completion.i">
index 8495de4..5c0b059 100644 (file)
@@ -1,6 +1,7 @@
 /*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2010-2011 - Calixte DENIZET
+* Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
 *
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
@@ -42,9 +43,14 @@ char **getfieldsdictionary(char *lineBeforeCaret, char *pattern, int *size)
     int last = 0;
     char **pstData = NULL;
     char **fields = NULL;
+    char **_fields = NULL;
     char *var = NULL;
     char *lineBeforePoint = NULL;
     int pos = (int)(strlen(lineBeforeCaret) - strlen(pattern) - 1);
+    char ** fieldPath = NULL;
+    int fieldPathLen = 0;
+    int fieldCompt = 0;
+    int fieldsSize = 0;
 
     if (!isInitialized)
     {
@@ -64,115 +70,58 @@ char **getfieldsdictionary(char *lineBeforeCaret, char *pattern, int *size)
     }
     memcpy(lineBeforePoint, lineBeforeCaret, pos);
     lineBeforePoint[pos] = '\0';
-    var = getPartLevel(lineBeforePoint);
+    fieldPath = getFieldPath(lineBeforePoint, &fieldPathLen);
+    if (fieldPathLen == 0)
+    {
+        return NULL;
+    }
+
     FREE(lineBeforePoint);
     lineBeforePoint = NULL;
 
-    sciErr = getNamedVarType(pvApiCtx, var, &piType);
+    sciErr = getNamedVarType(pvApiCtx, fieldPath[0], &piType);
     if (sciErr.iErr && piType != sci_mlist && piType != sci_tlist && piType != sci_handles)
     {
-        FREE(var);
-        var = NULL;
+        freeArrayOfString(fieldPath, fieldPathLen);
         return NULL;
     }
 
-    if (piType == sci_mlist || piType == sci_tlist)
+    if (piType == sci_mlist || piType == sci_tlist || piType == sci_handles)
     {
-        getVarAddressFromName(pvApiCtx, var, &piAddr);
-        FREE(var);
-        var = NULL;
-        if (sciErr.iErr)
-        {
-            return NULL;
-        }
-
-        sciErr = getMatrixOfStringInList(pvApiCtx, piAddr, 1, &rows, &cols, NULL, NULL);
+        getVarAddressFromName(pvApiCtx, fieldPath[0], &piAddr);
         if (sciErr.iErr)
         {
             return NULL;
         }
 
-        rc = rows * cols;
-        if (rc == 1)
+        fields = (char**)getFields(piAddr, fieldPath, fieldPathLen, &fieldsSize);
+        if (!fields)
         {
             return NULL;
         }
 
-        piLen = (int*)MALLOC(sizeof(int) * rc);
-        sciErr = getMatrixOfStringInList(pvApiCtx, piAddr, 1, &rows, &cols, piLen, NULL);
-        if (sciErr.iErr)
-        {
-            FREE(piLen);
-            return NULL;
-        }
+        _fields = (char**)MALLOC(sizeof(char *) * fieldsSize);
+        last = 0;
 
-        pstData = (char**)MALLOC(sizeof(char*) * (rc + 1));
-        pstData[rc] = NULL;
-        for (i = 0 ; i < rc ; i++)
+        for (i = 0; i < fieldsSize ; i++)
         {
-            pstData[i] = (char*)MALLOC(sizeof(char) * (piLen[i] + 1));
-        }
-
-        sciErr = getMatrixOfStringInList(pvApiCtx, piAddr, 1, &rows, &cols, piLen, pstData);
-        if (sciErr.iErr)
-        {
-            FREE(piLen);
-            piLen = NULL;
-            freeArrayOfString(pstData, rc);
-            return NULL;
-        }
-        FREE(piLen);
-
-        fields = (char**)getFieldsForType(pstData[0], piAddr);
-        if (fields)
-        {
-            freeArrayOfString(pstData, rc);
-            pstData = fields;
-            for (rc = 0; fields[rc]; rc++)
+            if (strstr(fields[i], pattern) == fields[i])
             {
-                ;
-            }
-        }
-
-        // We remove all the entries which don't begin with fieldpart
-        // and the first entry (and the second if it is a struct)
-        if (!strcmp(pstData[0], "st"))
-        {
-            FREE(pstData[0]);
-            pstData[0] = NULL;
-            FREE(pstData[1]);
-            pstData[1] = NULL;
-            if (rc == 2)
-            {
-                FREE(pstData);
-                return NULL;
-            }
-            i = 2;
-        }
-        else
-        {
-            FREE(pstData[0]);
-            pstData[0] = NULL;
-            i = 1;
-        }
-
-        for (; i < rc ; i++)
-        {
-            if (strstr(pstData[i], pattern) != pstData[i])
-            {
-                FREE(pstData[i]);
-                pstData[i] = NULL;
+                _fields[last++] = fields[i];
             }
             else
             {
-                pstData[last] = pstData[i];
-                pstData[i] = NULL;
-                last++;
+                FREE(fields[i]);
+                fields[i] = NULL;
             }
         }
 
+        FREE(fields);
+
         *size = last;
-        qsort(pstData, *size, sizeof(char*), cmpNames);
+        qsort(_fields, *size, sizeof(char*), cmpNames);
+
+        return _fields;
     }
     else
     {
diff --git a/scilab/modules/completion/src/cpp/EOFieldsGetter.cpp b/scilab/modules/completion/src/cpp/EOFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..740921d
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <cstring>
+#include <cstdio>
+
+#include "FieldsManager.hxx"
+#include "EOFieldsGetter.hxx"
+#include "ScilabObjects.hxx"
+
+extern "C"
+{
+#include "api_scilab.h"
+#include "MALLOC.h"
+}
+
+using namespace org_modules_external_objects;
+
+namespace org_modules_completion
+{
+
+const char ** EOFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int envId = ScilabObjects::getEnvironmentId(mlist, pvApiCtx);
+    int idObj = ScilabObjects::getExternalId(mlist, pvApiCtx);
+    ScilabAbstractEnvironment & env = ScilabEnvironments::getEnvironment(envId);
+    ScilabObjects::initialization(env, pvApiCtx);
+    std::vector<std::string> fields;
+    const char ** ret = 0;
+
+    try
+    {
+        fields = env.getCompletion(idObj, fieldPath, fieldPathLen);
+    }
+    catch (const std::exception & e)
+    {
+        return 0;
+    }
+
+    *fieldsSize = (int)fields.size();
+    ret = (const char **)MALLOC(sizeof(char *) **fieldsSize);
+
+    for (int i = 0; i < *fieldsSize; i++)
+    {
+        ret[i] = strdup(fields.at(i).c_str());
+    }
+
+    return ret;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/EOFieldsGetter.hxx b/scilab/modules/completion/src/cpp/EOFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..0ccca2d
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __EOFIELDSGETTER_HXX__
+#define __EOFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+#include <vector>
+#include "FieldsGetter.hxx"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name in objects wrapped by External Objects module
+ */
+class EOFieldsGetter : FieldsGetter
+{
+
+public :
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    /**
+     * Initialization
+     */
+    static void initializeEO()
+    {
+        EOFieldsGetter * getter = new EOFieldsGetter();
+        FieldsManager::addFieldsGetter(std::string("_EClass"), getter);
+        FieldsManager::addFieldsGetter(std::string("_EObj"), getter);
+    }
+
+private :
+
+    EOFieldsGetter() { }
+
+    virtual ~EOFieldsGetter() { }
+};
+}
+
+#endif
index 29aaed5..f7212f3 100644 (file)
@@ -41,7 +41,7 @@ public :
      * @param typeName the type name
      * @param mlist the mlist addr
      */
-    virtual const char ** getFieldsName(const std::string & typeName, int * mlist) const = 0;
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const = 0;
 };
 }
 
index 3847abd..069ce0a 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
  *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  */
 
 #include <cstdio>
+#include <string>
+#include <cstdlib>
+#include <vector>
+#include <cstring>
 
 #include "FieldsManager.hxx"
+#include "UnknownMlistFieldsGetter.hxx"
+#include "HandleFieldsGetter.hxx"
+
+extern "C" {
+#include "api_scilab.h"
+#include "Scierror.h"
+#include "code2str.h"
+}
+
+#include <iostream>
 
 namespace org_modules_completion
 {
@@ -24,13 +39,102 @@ void FieldsManager::addFieldsGetter(const std::string & typeName, FieldsGetter *
     typeToFieldsGetter[typeName] = getter;
 }
 
-const char ** FieldsManager::getFieldsForType(const std::string & typeName, int * mlist)
+const char ** FieldsManager::getFieldsForType(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
 {
     std::map<const std::string, FieldsGetter *>::const_iterator it = typeToFieldsGetter.find(typeName);
+    *fieldsSize = 0;
     if (it == typeToFieldsGetter.end())
     {
+        UnknownMlistFieldsGetter getter;
+        return getter.getFieldsName(typeName, mlist, fieldPath, fieldPathLen, fieldsSize);
+    }
+    return it->second->getFieldsName(typeName, mlist, fieldPath, fieldPathLen, fieldsSize);
+}
+
+const char ** FieldsManager::getFields(int * addr, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    int type;
+    const char ** fields = 0;
+    SciErr sciErr = getVarType(pvApiCtx, addr, &type);
+    if (sciErr.iErr)
+    {
         return 0;
     }
-    return it->second->getFieldsName(typeName, mlist);
+
+    if (type == sci_mlist || type == sci_tlist)
+    {
+        int * strs = 0;
+        const int nbItem = addr[1];
+        sciErr = getListItemAddress(pvApiCtx, addr, 1, &strs);
+        if (sciErr.iErr)
+        {
+            return 0;
+        }
+
+        const int r = strs[1];
+        const int c = strs[2];
+        int typeLen = strs[5] - 1;
+        char * str = new char[typeLen + 1];
+        code2str(&str, strs + 5 + r * c, typeLen);
+        str[typeLen] = 0;
+        fields = getFieldsForType(str, addr, fieldPath, fieldPathLen, fieldsSize);
+        delete[] str;
+    }
+    else if (type == sci_handles)
+    {
+        HandleFieldsGetter getter;
+        fields = getter.getFieldsName("", addr, fieldPath, fieldPathLen, fieldsSize);
+    }
+
+    return fields;
+}
+
+char ** FieldsManager::getFieldPath(const char * _str, int * len)
+{
+    std::vector<std::string> v;
+    std::string str(_str);
+    int pos = (int)str.length();
+    const char symbs[27] = "+-*/\\([ ^,;={&|])}:\"\'><~@\t";
+    char ** ret = 0;
+
+    if (str.at(pos - 1) == '.')
+    {
+        pos--;
+    }
+
+    for (int i = pos - 1; i >= 0; i--)
+    {
+        const char c = str.at(i);
+        if (c == '.')
+        {
+            v.push_back(str.substr(i + 1, pos - i - 1));
+            pos = i;
+        }
+        else
+        {
+            for (int j = 0; j < 27; j++)
+            {
+                if (c == symbs[j])
+                {
+                    v.push_back(str.substr(i + 1, pos - i - 1));
+                    goto finish;
+                }
+            }
+        }
+    }
+
+    v.push_back(str.substr(0, pos));
+
+finish :
+
+    *len = (int)v.size();
+    ret = (char **) malloc(sizeof(char *) **len);
+    for (int i = 0; i < *len; i++)
+    {
+        ret[i] = strdup(v.at(*len - i - 1).c_str());
+    }
+
+
+    return ret;
 }
 }
index c629a62..eafc436 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
  *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
@@ -46,8 +47,14 @@ public :
      * @param mlist the mlist address
      * @return the array of fields name
      */
-    static const char ** getFieldsForType(const std::string & typeName, int * mlist);
+    static const char ** getFieldsForType(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+
+    static char ** getFieldPath(const char * _str, int * len);
+
+    static const char ** getFields(int * addr, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
 };
 }
 
+
+
 #endif
diff --git a/scilab/modules/completion/src/cpp/HandleFieldsGetter.cpp b/scilab/modules/completion/src/cpp/HandleFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..c575d5a
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "FieldsManager.hxx"
+#include "HandleFieldsGetter.hxx"
+
+
+namespace org_modules_completion
+{
+
+const char ** HandleFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    return getFieldsName(mlist, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** HandleFieldsGetter::getFieldsName(int * handle, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    return const_cast<const char **>(completionOnHandleGraphicsProperties("", fieldsSize));
+}
+}
diff --git a/scilab/modules/completion/src/cpp/HandleFieldsGetter.hxx b/scilab/modules/completion/src/cpp/HandleFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..7c1a6aa
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __HANDLEFIELDSGETTER_HXX__
+#define __HANDLEFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "completion.h"
+}
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class HandleFieldsGetter : public FieldsGetter
+{
+
+public :
+    HandleFieldsGetter() { }
+
+    virtual ~HandleFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(int * handle, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/StructFieldsGetter.cpp b/scilab/modules/completion/src/cpp/StructFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..4a40a9b
--- /dev/null
@@ -0,0 +1,103 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "FieldsManager.hxx"
+#include "StructFieldsGetter.hxx"
+
+extern "C"
+{
+#include "freeArrayOfString.h"
+#include "api_scilab.h"
+#include "MALLOC.h"
+}
+
+namespace org_modules_completion
+{
+
+const char ** StructFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    return getFieldsName(mlist, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** StructFieldsGetter::getFieldsName(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    int rows;
+    int cols;
+    int rc;
+    int * piLen = 0;
+    char ** pstData = 0;
+    int nbItem;
+    int * fieldsAddr = 0;
+    SciErr sciErr;
+    const char ** fields = 0;
+
+    *fieldsSize = 0;
+
+    sciErr = getListItemNumber(pvApiCtx, mlist, &nbItem);
+    if (sciErr.iErr)
+    {
+        return 0;
+    }
+
+    if (nbItem == 0)
+    {
+        return 0;
+    }
+
+    sciErr = getListItemAddress(pvApiCtx, mlist, 1, &fieldsAddr);
+    if (sciErr.iErr)
+    {
+        return 0;
+    }
+
+    if (getAllocatedMatrixOfString(pvApiCtx, fieldsAddr, &rows, &cols, &pstData))
+    {
+        return 0;
+    }
+
+    rc = rows * cols;
+    if (rc == 1 || rc == 2)
+    {
+        freeArrayOfString(pstData, rc);
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = rc - 2;
+        fields = (const char **)MALLOC(sizeof(char *) **fieldsSize);
+        memcpy(fields, pstData + 2, sizeof(char *) **fieldsSize);
+        FREE(pstData[0]);
+        FREE(pstData[1]);
+
+        return fields;
+    }
+
+    for (int i = 2; i < rc; i++)
+    {
+        if (!strcmp(pstData[i], fieldPath[0]))
+        {
+            freeArrayOfString(pstData, rc);
+            int * itemAddr = 0;
+            sciErr = getListItemAddress(pvApiCtx, mlist, i + 1, &itemAddr);
+            if (sciErr.iErr)
+            {
+                return 0;
+            }
+
+            return FieldsManager::getFields(itemAddr, fieldPath, fieldPathLen, fieldsSize);
+        }
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/StructFieldsGetter.hxx b/scilab/modules/completion/src/cpp/StructFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..c9e9e2f
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __STRUCTFIELDSGETTER_HXX__
+#define __STRUCTFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class StructFieldsGetter : public FieldsGetter
+{
+
+public :
+
+    StructFieldsGetter() { }
+
+    virtual ~StructFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.cpp b/scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..845f502
--- /dev/null
@@ -0,0 +1,103 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "FieldsManager.hxx"
+#include "UnknownMlistFieldsGetter.hxx"
+
+extern "C"
+{
+#include "freeArrayOfString.h"
+#include "api_scilab.h"
+#include "MALLOC.h"
+}
+
+namespace org_modules_completion
+{
+
+const char ** UnknownMlistFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    return getFieldsName(mlist, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** UnknownMlistFieldsGetter::getFieldsName(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    int rows;
+    int cols;
+    int rc;
+    int * piLen = 0;
+    char ** pstData = 0;
+    int nbItem;
+    int * fieldsAddr = 0;
+    SciErr sciErr;
+    const char ** fields = 0;
+
+    *fieldsSize = 0;
+
+    sciErr = getListItemNumber(pvApiCtx, mlist, &nbItem);
+    if (sciErr.iErr)
+    {
+        return 0;
+    }
+
+    if (nbItem == 0)
+    {
+        return 0;
+    }
+
+    sciErr = getListItemAddress(pvApiCtx, mlist, 1, &fieldsAddr);
+    if (sciErr.iErr)
+    {
+        return 0;
+    }
+
+    if (getAllocatedMatrixOfString(pvApiCtx, fieldsAddr, &rows, &cols, &pstData))
+    {
+        return 0;
+    }
+
+    rc = rows * cols;
+    if (rc == 1)
+    {
+        freeArrayOfString(pstData, rc);
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = rc - 1;
+        fields = (const char **)MALLOC(sizeof(char *) **fieldsSize);
+        memcpy(fields, pstData + 1, sizeof(char *) **fieldsSize);
+        FREE(pstData[0]);
+        FREE(pstData);
+
+        return fields;
+    }
+
+    for (int i = 1; i < rc; i++)
+    {
+        if (!strcmp(pstData[i], fieldPath[0]))
+        {
+            freeArrayOfString(pstData, rc);
+            int * itemAddr = 0;
+            sciErr = getListItemAddress(pvApiCtx, mlist, i + 1, &itemAddr);
+            if (sciErr.iErr)
+            {
+                return 0;
+            }
+
+            return FieldsManager::getFields(itemAddr, fieldPath, fieldPathLen, fieldsSize);
+        }
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.hxx b/scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..6775ade
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __UNKNOWNMLISTFIELDSGETTER_HXX__
+#define __UNKNOWNMLISTFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class UnknownMlistFieldsGetter : public FieldsGetter
+{
+
+public :
+    UnknownMlistFieldsGetter() { }
+
+    virtual ~UnknownMlistFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..9257529
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLAttrFieldsGetter.hxx"
+
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+const char ** XMLAttrFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    XMLAttr * a = XMLObject::getFromId<XMLAttr>(id);
+
+    return getFieldsName(a, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLAttrFieldsGetter::getFieldsName(const XMLAttr * a, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!a)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        const char ** fieldsName = a->getNames();
+        int size = 0;
+        for (; fieldsName[size]; size++);
+
+        const char ** cpy = copy(fieldsName, size);
+        delete [] fieldsName;
+        *fieldsSize = size;
+
+        return cpy;
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..167aef8
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __XMLATTRFIELDSGETTER_HXX__
+#define __XMLATTRFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLAttrFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+    XMLAttrFieldsGetter() { }
+
+    virtual ~XMLAttrFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const org_modules_xml::XMLAttr * a, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/XMLDocFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLDocFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..9e3e961
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <cstring>
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLDocFieldsGetter.hxx"
+#include "XMLElemFieldsGetter.hxx"
+
+
+namespace org_modules_completion
+{
+
+const char ** XMLDocFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    org_modules_xml::XMLDocument * doc = XMLObject::getFromId<org_modules_xml::XMLDocument>(id);
+
+    return getFieldsName(doc, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLDocFieldsGetter::getFieldsName(const org_modules_xml::XMLDocument * doc, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!doc)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = 2;
+        const char * fieldsName[2] = {"root", "url"};
+        return XMLFieldsGetter::copy(fieldsName, 2);
+    }
+
+    if (!strcmp(fieldPath[0], "root"))
+    {
+        return XMLElemFieldsGetter::getFieldsName(doc->getRoot(), fieldPath + 1, fieldPathLen - 1, fieldsSize);
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLDocFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLDocFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..6332b90
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __XMLDOCFIELDSGETTER_HXX__
+#define __XMLDOCFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "XMLDocument.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+namespace org_modules_completion
+{
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLDocFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+
+    XMLDocFieldsGetter() { }
+
+    virtual ~XMLDocFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const org_modules_xml::XMLDocument * doc, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/XMLElemFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLElemFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..57cde60
--- /dev/null
@@ -0,0 +1,76 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include <cstring>
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLElemFieldsGetter.hxx"
+#include "XMLAttrFieldsGetter.hxx"
+#include "XMLNsFieldsGetter.hxx"
+#include "XMLListFieldsGetter.hxx"
+
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+const char ** XMLElemFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    XMLElement * e = XMLObject::getFromId<XMLElement>(id);
+
+    return getFieldsName(e, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLElemFieldsGetter::getFieldsName(const XMLElement * e, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!e)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = 7;
+        const char * fieldsName[7] = {"name", "namespace", "content", "type", "parent", "attributes", "children"};
+        return XMLFieldsGetter::copy(fieldsName, 7);
+    }
+
+    if (!strcmp(fieldPath[0], "namespace"))
+    {
+        return XMLNsFieldsGetter::getFieldsName(e->getNodeNameSpace(), fieldPath + 1, fieldPathLen - 1, fieldsSize);
+    }
+
+    if (!strcmp(fieldPath[0], "parent"))
+    {
+        return XMLElemFieldsGetter::getFieldsName(e->getParentElement(), fieldPath + 1, fieldPathLen - 1, fieldsSize);
+    }
+
+    if (!strcmp(fieldPath[0], "attributes"))
+    {
+        return XMLAttrFieldsGetter::getFieldsName(e->getAttributes(), fieldPath + 1, fieldPathLen - 1, fieldsSize);
+    }
+
+    if (!strcmp(fieldPath[0], "children"))
+    {
+        return XMLListFieldsGetter::getFieldsName(e->getChildren(), fieldPath + 1, fieldPathLen - 1, fieldsSize);
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLElemFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLElemFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..617b050
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __XMLELEMFIELDSGETTER_HXX__
+#define __XMLELEMFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLElemFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+    XMLElemFieldsGetter() { }
+
+    virtual ~XMLElemFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const XMLElement * e, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
index 03d94de..2aef5d4 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - DIGITEO - Calixte DENIZET
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
  *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  *
  */
 
-#include <cstring>
-#include <cstdio>
-
-#include "XMLObject.hxx"
-#include "XMLAttr.hxx"
-
-#include "FieldsManager.hxx"
-#include "XMLFieldsGetter.hxx"
-
 extern "C"
 {
 #include "api_scilab.h"
-#include "MALLOC.h"
-#include "xml_mlist.h"
 }
 
+#include "FieldsManager.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "XMLDocFieldsGetter.hxx"
+#include "XMLElemFieldsGetter.hxx"
+#include "XMLAttrFieldsGetter.hxx"
+#include "XMLNsFieldsGetter.hxx"
+#include "XMLListFieldsGetter.hxx"
+#include "XMLSetFieldsGetter.hxx"
+
+
 using namespace org_modules_xml;
 
 namespace org_modules_completion
 {
 
-const char ** XMLFieldsGetter::getFieldsName(const std::string & typeName, int * mlist) const
+void XMLFieldsGetter::initializeXML()
 {
-    if (typeName == std::string("XMLDoc"))
-    {
-        const char * fieldsName[3] = {"root", "url", 0};
-        return copy("XMLDoc", fieldsName);
-    }
-
-    if (typeName == std::string("XMLElem"))
-    {
-        const char * fieldsName[8] = {"name", "namespace", "content", "type", "parent", "attributes", "children"};
-        return copy("XMLElem", fieldsName);
-    }
-
-    if (typeName == std::string("XMLNs"))
-    {
-        const char * fieldsName[3] = {"href", "prefix", 0};
-        return copy("XMLNs", fieldsName);
-    }
-
-    if (typeName == std::string("XMLAttr"))
-    {
-        int id = getXMLObjectId(mlist, pvApiCtx);
-        XMLAttr * attr = XMLObject::getFromId<XMLAttr>(id);
-        const char ** fieldsName = attr->getNames();
-        const char ** cpy = copy("XMLAttr", fieldsName);
-        delete [] fieldsName;
-
-        return cpy;
-    }
-
-    if (typeName == std::string("XMLList"))
-    {
-        const char * fieldsName[2] = {"size", 0};
-        return copy("XMLList", fieldsName);
-    }
-
-    if (typeName == std::string("XMLSet"))
-    {
-        const char * fieldsName[2] = {"size", 0};
-        return copy("XMLList", fieldsName);
-    }
-
-    return 0;
+    FieldsManager::addFieldsGetter(std::string("XMLDoc"), new XMLDocFieldsGetter());
+    FieldsManager::addFieldsGetter(std::string("XMLElem"), new XMLElemFieldsGetter());
+    FieldsManager::addFieldsGetter(std::string("XMLNs"), new XMLNsFieldsGetter());
+    FieldsManager::addFieldsGetter(std::string("XMLAttr"), new XMLAttrFieldsGetter());
+    FieldsManager::addFieldsGetter(std::string("XMLList"), new XMLListFieldsGetter());
+    FieldsManager::addFieldsGetter(std::string("XMLSet"), new XMLSetFieldsGetter());
 }
 }
index 62d6a22..482ae8e 100644 (file)
@@ -34,32 +34,26 @@ namespace org_modules_completion
  *
  * Class to manage the retrievment of the fields name of a XML object
  */
-class XMLFieldsGetter : FieldsGetter
+class XMLFieldsGetter : public FieldsGetter
 {
 
 public :
 
-    virtual const char ** getFieldsName(const std::string & typeName, int * mlist) const;
+    XMLFieldsGetter() { }
 
-    /**
-     * Initialization
-     */
-    static void initializeXML()
+    virtual ~XMLFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
     {
-        XMLFieldsGetter * getter = new XMLFieldsGetter();
-        FieldsManager::addFieldsGetter(std::string("XMLDoc"), getter);
-        FieldsManager::addFieldsGetter(std::string("XMLElem"), getter);
-        FieldsManager::addFieldsGetter(std::string("XMLNs"), getter);
-        FieldsManager::addFieldsGetter(std::string("XMLAttr"), getter);
-        FieldsManager::addFieldsGetter(std::string("XMLList"), getter);
-        FieldsManager::addFieldsGetter(std::string("XMLSet"), getter);
+        return NULL;
     }
 
-private :
-
-    XMLFieldsGetter() { }
+    /**
+     * Initialization
+     */
+    static void initializeXML();
 
-    ~XMLFieldsGetter() { }
+protected :
 
     /**
      * Copy a char * array and prepend typeName
@@ -67,20 +61,13 @@ private :
      * @param arr the arry to copy
      * @return the copy
      */
-    static inline const char ** copy(const char * typeName, const char ** arr)
+    static inline const char ** copy(const char ** arr, const int size)
     {
-        int size = 0;
-        for (; arr[size]; size++)
-        {
-            ;
-        }
-        char ** cpy = (char **)MALLOC(sizeof(char *) * (size + 2));
+        char ** cpy = (char **)MALLOC(sizeof(char *) * size);
         for (int i = 0; i < size; i++)
         {
-            cpy[i + 1] = strdup(arr[i]);
+            cpy[i] = strdup(arr[i]);
         }
-        cpy[0] = strdup(typeName);
-        cpy[size + 1] = 0;
 
         return const_cast<const char **>(cpy);
     }
diff --git a/scilab/modules/completion/src/cpp/XMLListFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLListFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..6eadc19
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLListFieldsGetter.hxx"
+
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+const char ** XMLListFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    XMLList * l = XMLObject::getFromId<XMLList>(id);
+
+    return getFieldsName(l, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLListFieldsGetter::getFieldsName(const XMLList * l, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!l)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = 1;
+        const char * fieldsName[1] = {"size"};
+        return XMLFieldsGetter::copy(fieldsName, 1);
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLListFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLListFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..430e1dc
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licelisted 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
+ *
+ */
+
+#ifndef __XMLLISTFIELDSGETTER_HXX__
+#define __XMLLISTFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLListFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+    XMLListFieldsGetter() { }
+
+    virtual ~XMLListFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const XMLList * list, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/XMLNsFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLNsFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..9bbd5bd
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLNsFieldsGetter.hxx"
+
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+const char ** XMLNsFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    XMLNs * ns = XMLObject::getFromId<XMLNs>(id);
+
+    return getFieldsName(ns, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLNsFieldsGetter::getFieldsName(const XMLNs * ns, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!ns)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = 2;
+        const char * fieldsName[2] = {"href", "prefix"};
+        return XMLFieldsGetter::copy(fieldsName, 2);
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLNsFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLNsFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..d0a195a
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __XMLNSFIELDSGETTER_HXX__
+#define __XMLNSFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLNsFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+    XMLNsFieldsGetter() { }
+
+    virtual ~XMLNsFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const XMLNs * ns, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
diff --git a/scilab/modules/completion/src/cpp/XMLSetFieldsGetter.cpp b/scilab/modules/completion/src/cpp/XMLSetFieldsGetter.cpp
new file mode 100644 (file)
index 0000000..e842bfd
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+extern "C"
+{
+#include "api_scilab.h"
+}
+
+#include "FieldsManager.hxx"
+#include "XMLSetFieldsGetter.hxx"
+
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+const char ** XMLSetFieldsGetter::getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const
+{
+    int id = getXMLObjectId(mlist, pvApiCtx);
+    XMLNodeSet * s = XMLObject::getFromId<XMLNodeSet>(id);
+
+    return getFieldsName(s, fieldPath + 1, fieldPathLen - 1, fieldsSize);
+}
+
+const char ** XMLSetFieldsGetter::getFieldsName(const XMLNodeSet * s, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    if (!s)
+    {
+        return 0;
+    }
+
+    if (fieldPathLen == 0)
+    {
+        *fieldsSize = 1;
+        const char * fieldsName[1] = {"size"};
+        return copy(fieldsName, 1);
+    }
+
+    return 0;
+}
+}
diff --git a/scilab/modules/completion/src/cpp/XMLSetFieldsGetter.hxx b/scilab/modules/completion/src/cpp/XMLSetFieldsGetter.hxx
new file mode 100644 (file)
index 0000000..2507e3a
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __XMLSETFIELDSGETTER_HXX__
+#define __XMLSETFIELDSGETTER_HXX__
+
+#include <string>
+#include <cstring>
+
+#include "FieldsGetter.hxx"
+#include "XMLFieldsGetter.hxx"
+#include "xmlObjects.h"
+
+extern "C"
+{
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+
+using namespace org_modules_xml;
+
+namespace org_modules_completion
+{
+
+/**
+ * @file
+ * @author Calixte DENIZET <calixte.denizet@scilab.org>
+ *
+ * Class to manage the retrievment of the fields name of a XML object
+ */
+class XMLSetFieldsGetter : public XMLFieldsGetter
+{
+
+public :
+    XMLSetFieldsGetter() { }
+
+    virtual ~XMLSetFieldsGetter() { }
+
+    virtual const char ** getFieldsName(const std::string & typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize) const;
+
+    static const char ** getFieldsName(const XMLNodeSet * set, char ** fieldPath, const int fieldPathLen, int * fieldsSize);
+};
+}
+
+#endif
index 3736b25..a4743d5 100644 (file)
@@ -13,6 +13,8 @@
 #include <string>
 #include "FieldsManager.hxx"
 #include "XMLFieldsGetter.hxx"
+#include "EOFieldsGetter.hxx"
+#include "StructFieldsGetter.hxx"
 
 extern "C"
 {
@@ -21,12 +23,24 @@ extern "C"
 
 using namespace org_modules_completion;
 
-const char ** getFieldsForType(const char * typeName, int * mlist)
+const char ** getFieldsForType(const char * typeName, int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
 {
-    return FieldsManager::getFieldsForType(std::string(typeName), mlist);
+    return FieldsManager::getFieldsForType(std::string(typeName), mlist, fieldPath, fieldPathLen, fieldsSize);
+}
+
+const char ** getFields(int * mlist, char ** fieldPath, const int fieldPathLen, int * fieldsSize)
+{
+    return FieldsManager::getFields(mlist, fieldPath, fieldPathLen, fieldsSize);
+}
+
+char ** getFieldPath(const char * _str, int * len)
+{
+    return FieldsManager::getFieldPath(_str, len);
 }
 
 void initializeFieldsGetter()
 {
     XMLFieldsGetter::initializeXML();
+    EOFieldsGetter::initializeEO();
+    FieldsManager::addFieldsGetter(std::string("st"), new StructFieldsGetter());
 }
index 5933908..d996fbe 100644 (file)
@@ -93,6 +93,7 @@
 /* 69 */                        #include "dynamic_gateways.h" /* preferences */
 /* 70 */                        #include "dynamic_gateways.h" /* graphic_objects */
 /* 71 */                        #include "dynamic_gateways.h" /* external_objects */
+/* 72 */                        #include "dynamic_gateways.h" /* external_objects_java */
 
 
 /** table of interfaces **/
index 0b86baa..4399734 100644 (file)
@@ -34,7 +34,7 @@ jmp_buf jmp_env;
  ** Watch out the positions are crutial !!!
  ** @TODO : Make this less crappy...
  **/
-#define INTERFACES_MAX 71
+#define INTERFACES_MAX 72
 static OpTab Interfaces[INTERFACES_MAX] =
 {
     /* 01  */ {gw_user}, /* free position may be used */
@@ -107,7 +107,9 @@ static OpTab Interfaces[INTERFACES_MAX] =
     /* 68  */ {gw_dynamic_xml},
     /* 69  */ {gw_dynamic_preferences},
     /* 70  */ {gw_dynamic_graphic_objects},
-    /* 71  */ {gw_dynamic_external_objects}
+    /* 71  */ {gw_dynamic_external_objects},
+    /* 72  */ {gw_dynamic_external_objects_java}
+
 };
 /*--------------------------------------------------------------------------*/
 /**
index 1c1535a..6958970 100644 (file)
@@ -460,6 +460,22 @@ int gw_dynamic_external_objects(void)
                               &ptr_gw_external_objects);
 }
 /*--------------------------------------------------------------------------*/
+/* external_objects_java module */
+#define EXTERNAL_OBJECTS_JAVA_MODULE_NAME "external_objects_java"
+static DynLibHandle hExternal_Objects_JavaLib = NULL;
+static PROC_GATEWAY ptr_gw_external_objects_java = NULL;
+static char* dynlibname_external_objects_java = NULL;
+static char* gatewayname_external_objects_java = NULL;
+/*--------------------------------------------------------------------------*/
+int gw_dynamic_external_objects_java(void)
+{
+    return gw_dynamic_generic(EXTERNAL_OBJECTS_JAVA_MODULE_NAME,
+                              &dynlibname_external_objects_java,
+                              &gatewayname_external_objects_java,
+                              &hExternal_Objects_JavaLib,
+                              &ptr_gw_external_objects_java);
+}
+/*--------------------------------------------------------------------------*/
 void freeAllDynamicGateways(void)
 {
     freeDynamicGateway(&dynlibname_special_functions,
@@ -587,6 +603,11 @@ void freeAllDynamicGateways(void)
                        &gatewayname_external_objects,
                        &hExternal_ObjectsLib,
                        &ptr_gw_external_objects);
+
+    freeDynamicGateway(&dynlibname_external_objects_java,
+                       &gatewayname_external_objects_java,
+                       &hExternal_Objects_JavaLib,
+                       &ptr_gw_external_objects_java);
 }
 /*--------------------------------------------------------------------------*/
 
index 2a7c287..0eb3f6a 100644 (file)
@@ -191,6 +191,8 @@ int gw_dynamic_history_browser(void);
 
 int gw_dynamic_external_objects(void);
 
+int gw_dynamic_external_objects_java(void);
+
 #endif /* __DYNAMIC_GATEWAYS_H__ */
 /*--------------------------------------------------------------------------*/
 
index 47a0e99..58c146f 100644 (file)
@@ -4043,13 +4043,17 @@ static int intersci_push(void)
 {
     int i;
     intersci_list *loc;
-    intersci_state *new;
+    intersci_state *new = NULL;
 
-    new = MALLOC(Nbvars * sizeof(intersci_state));
-    if (new == 0)
+    if (Nbvars)
     {
-        return 0;
+        new = MALLOC(Nbvars * sizeof(intersci_state));
+        if (new == 0)
+        {
+            return 0;
+        }
     }
+
     loc = MALLOC(sizeof(intersci_list));
     if (loc == NULL)
     {
@@ -4087,8 +4091,15 @@ static void intersci_pop(void)
         C2F(intersci).lhsvar[i] = loc->state[i].lhsvar;
     }
     L_intersci = loc->next;
-    FREE(loc->state);
-    FREE(loc);
+    if (loc->state)
+    {
+        FREE(loc->state);
+    }
+
+    if (loc)
+    {
+        FREE(loc);
+    }
 }
 
 /*
index be860fd..753e6ec 100644 (file)
@@ -73,7 +73,8 @@ EXTERNAL_OBJECTS_CPP_SOURCES = src/cpp/ScilabEnvironments.cpp \
                               src/cpp/getEnvId.cpp \
                               src/cpp/ScilabOptionsSetter.cpp \
                               src/cpp/ScilabAutoCleaner.cpp \
-                              src/cpp/ExternalObjectsFunction.cpp
+                              src/cpp/ExternalObjectsFunction.cpp \
+                              src/cpp/wrapInFloat.cpp
 
 GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects.c
 
index 847ae96..0b11d40 100644 (file)
@@ -188,7 +188,8 @@ am__objects_2 = libsciexternal_objects_algo_la-ScilabEnvironments.lo \
        libsciexternal_objects_algo_la-getEnvId.lo \
        libsciexternal_objects_algo_la-ScilabOptionsSetter.lo \
        libsciexternal_objects_algo_la-ScilabAutoCleaner.lo \
-       libsciexternal_objects_algo_la-ExternalObjectsFunction.lo
+       libsciexternal_objects_algo_la-ExternalObjectsFunction.lo \
+       libsciexternal_objects_algo_la-wrapInFloat.lo
 am_libsciexternal_objects_algo_la_OBJECTS = $(am__objects_1) \
        $(am__objects_1) $(am__objects_2)
 libsciexternal_objects_algo_la_OBJECTS =  \
@@ -663,7 +664,8 @@ EXTERNAL_OBJECTS_CPP_SOURCES = src/cpp/ScilabEnvironments.cpp \
                               src/cpp/getEnvId.cpp \
                               src/cpp/ScilabOptionsSetter.cpp \
                               src/cpp/ScilabAutoCleaner.cpp \
-                              src/cpp/ExternalObjectsFunction.cpp
+                              src/cpp/ExternalObjectsFunction.cpp \
+                              src/cpp/wrapInFloat.cpp
 
 GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects.c
 GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_percent_EObj_e.cpp \
@@ -884,6 +886,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_algo_la-unwrapremove.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_algo_la-wrap.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_algo_la-wrapAsRef.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_algo_la-wrapInFloat.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_la-gw_external_objects.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_la-sci_doubleExclam_invoke_.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_la-sci_invoke_lu.Plo@am__quote@
@@ -1281,6 +1284,13 @@ libsciexternal_objects_algo_la-ExternalObjectsFunction.lo: src/cpp/ExternalObjec
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_algo_la-ExternalObjectsFunction.lo `test -f 'src/cpp/ExternalObjectsFunction.cpp' || echo '$(srcdir)/'`src/cpp/ExternalObjectsFunction.cpp
 
+libsciexternal_objects_algo_la-wrapInFloat.lo: src/cpp/wrapInFloat.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_algo_la-wrapInFloat.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_algo_la-wrapInFloat.Tpo -c -o libsciexternal_objects_algo_la-wrapInFloat.lo `test -f 'src/cpp/wrapInFloat.cpp' || echo '$(srcdir)/'`src/cpp/wrapInFloat.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_algo_la-wrapInFloat.Tpo $(DEPDIR)/libsciexternal_objects_algo_la-wrapInFloat.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/wrapInFloat.cpp' object='libsciexternal_objects_algo_la-wrapInFloat.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_algo_la-wrapInFloat.lo `test -f 'src/cpp/wrapInFloat.cpp' || echo '$(srcdir)/'`src/cpp/wrapInFloat.cpp
+
 libsciexternal_objects_la-sci_percent_EObj_e.lo: sci_gateway/cpp/sci_percent_EObj_e.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_la-sci_percent_EObj_e.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_la-sci_percent_EObj_e.Tpo -c -o libsciexternal_objects_la-sci_percent_EObj_e.lo `test -f 'sci_gateway/cpp/sci_percent_EObj_e.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_percent_EObj_e.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_la-sci_percent_EObj_e.Tpo $(DEPDIR)/libsciexternal_objects_la-sci_percent_EObj_e.Plo
index c5cb39d..1d1815c 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
@@ -285,6 +285,7 @@ lib /DEF:"$(ProjectDir)core_f_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform
     <ClCompile Include="src\cpp\unwrapremove.cpp" />
     <ClCompile Include="src\cpp\wrap.cpp" />
     <ClCompile Include="src\cpp\wrapAsRef.cpp" />
+    <ClCompile Include="src\cpp\wrapInFloat.cpp" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\api_scilab\api_scilab.vcxproj">
index 4a87565..79a9741 100644 (file)
     <ClCompile Include="src\cpp\wrap.cpp">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="src\cpp\wrapInFloat.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <Library Include="..\..\bin\libintl.lib" />
index bb92b61..faf2181 100644 (file)
@@ -16,7 +16,7 @@
 
 #define __USE_DEPRECATED_STACK_FUNCTIONS__
 
-//#define EODEBUG
+#define EODEBUG
 
 #define FIELDS_LENGTH 3
 
index ce98ab5..9838195 100644 (file)
@@ -15,6 +15,7 @@
 #define __SCILABABSTRACTENVIRONMENT_HXX__
 
 #include <string>
+#include <vector>
 
 #include "ExternalObjects.h"
 #include "OptionsHelper.hxx"
@@ -196,6 +197,16 @@ public:
     virtual void getaccessiblemethods(int id, const ScilabStringStackAllocator & allocator) = 0;
 
     /**
+     * Get all the accessible methods (public ones) in the given object (used in completion)
+     * @param id the object id
+     * @return the methods
+     */
+    virtual std::vector<std::string> getCompletion(int id, char ** fieldPath, const int fieldPathLen)
+    {
+        return std::vector<std::string>();
+    }
+
+    /**
      * Get all the accessible fields (public ones) in the given object
      * @param id the object id
      * @param pos the position in the Scilab stack where to put the names
index ac8dd86..efb1ff6 100644 (file)
@@ -117,11 +117,11 @@ public:
     virtual int wrap(char ** x, int xSize, int xSizeCol, const bool isRef) const = 0;
 
 
-    virtual int wrap(float * x, const bool isRef) const = 0;
+    virtual int wrapFloat(double * x, const bool isRef) const = 0;
 
-    virtual int wrap(float * x, int xSize, const bool isRef) const = 0;
+    virtual int wrapFloat(double * x, int xSize, const bool isRef) const = 0;
 
-    virtual int wrap(float * x, int xSize, int xSizeCol, const bool isRef) const = 0;
+    virtual int wrapFloat(double * x, int xSize, int xSizeCol, const bool isRef) const = 0;
 
 
     virtual int wrapBool(int * x, const bool isRef) const = 0;
index 7d41cbb..b993669 100644 (file)
 #ifndef __SCILABABSTRACTMEMORYALLOCATOR_H__
 #define __SCILABABSTRACTMEMORYALLOCATOR_H__
 
+extern "C"
+{
+#include "api_scilab.h"
+}
 #include "ScilabAbstractEnvironmentWrapper.hxx"
 #include "ScilabAbstractEnvironmentException.hxx"
 
-extern "C" {
-#include "api_scilab.h"
-}
+#include <iostream>
 
 namespace org_modules_external_objects
 {
@@ -40,140 +42,144 @@ class ScilabStackAllocator
 
 public:
 
-    ScilabStackAllocator(void * _pvApiCtx, int _position) : pvApiCtx(_pvApiCtx), position(_position) { }
+    ScilabStackAllocator(void * pvCtx, int _position) : position(_position), pvCtx(pvCtx) { }
 
     ~ScilabStackAllocator() { }
 
 protected:
 
     int position;
-    void * pvApiCtx;
+    void * pvCtx;
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, double * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, double * ptr)
     {
-        SciErr err = createMatrixOfDouble(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfDouble(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static double * alloc(void * pvApiCtx, const int position, const int rows, const int cols, double * ptr)
+    inline static double * alloc(void * pvCtx, const int position, const int rows, const int cols, double * ptr)
     {
         double * _ptr = 0;
-        SciErr err = allocMatrixOfDouble(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfDouble(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, float * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, float * ptr)
     {
-        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot create a matrix of floats");
+        double * _ptr = alloc(pvCtx, position, rows, cols, (double *)0);
+        for (int i = 0; i < rows * cols; i++)
+        {
+            _ptr[i] = static_cast<double>(ptr[i]);
+        }
     }
 
-    inline static float * alloc(void * pvApiCtx, const int position, const int rows, const int cols, float * ptr)
+    inline static float * alloc(void * pvCtx, const int position, const int rows, const int cols, float * ptr)
     {
-        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of floats");
+        return (float *)alloc(pvCtx, position, rows, cols, (double *)0);
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, double * re, double * im)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, double * re, double * im)
     {
-        SciErr err = createComplexMatrixOfDouble(pvApiCtx, position, rows, cols, re, im);
+        SciErr err = createComplexMatrixOfDouble(pvCtx, position, rows, cols, re, im);
         checkError(err);
     }
 
-    inline static ComplexDataPointers alloc(void * pvApiCtx, const int position, const int rows, const int cols, double * re, double * im)
+    inline static ComplexDataPointers alloc(void * pvCtx, const int position, const int rows, const int cols, double * re, double * im)
     {
         double * _re = 0, * _im = 0;
-        SciErr err = allocComplexMatrixOfDouble(pvApiCtx, position, rows, cols, &_re, &_im);
+        SciErr err = allocComplexMatrixOfDouble(pvCtx, position, rows, cols, &_re, &_im);
         checkError(err);
 
         return ComplexDataPointers(_re, _im);
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, char * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, char * ptr)
     {
-        SciErr err = createMatrixOfInteger8(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfInteger8(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static char * alloc(void * pvApiCtx, const int position, const int rows, const int cols, char * ptr)
+    inline static char * alloc(void * pvCtx, const int position, const int rows, const int cols, char * ptr)
     {
         char * _ptr = 0;
-        SciErr err = allocMatrixOfInteger8(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfInteger8(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned char * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, unsigned char * ptr)
     {
-        SciErr err = createMatrixOfUnsignedInteger8(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfUnsignedInteger8(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static unsigned char * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned char * ptr)
+    inline static unsigned char * alloc(void * pvCtx, const int position, const int rows, const int cols, unsigned char * ptr)
     {
         unsigned char * _ptr = 0;
-        SciErr err = allocMatrixOfUnsignedInteger8(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfUnsignedInteger8(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, short * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, short * ptr)
     {
-        SciErr err = createMatrixOfInteger16(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfInteger16(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static short * alloc(void * pvApiCtx, const int position, const int rows, const int cols, short * ptr)
+    inline static short * alloc(void * pvCtx, const int position, const int rows, const int cols, short * ptr)
     {
         short * _ptr = 0;
-        SciErr err = allocMatrixOfInteger16(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfInteger16(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned short * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, unsigned short * ptr)
     {
-        SciErr err = createMatrixOfUnsignedInteger16(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfUnsignedInteger16(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static unsigned short * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned short * ptr)
+    inline static unsigned short * alloc(void * pvCtx, const int position, const int rows, const int cols, unsigned short * ptr)
     {
         unsigned short * _ptr = 0;
-        SciErr err = allocMatrixOfUnsignedInteger16(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfUnsignedInteger16(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, int * ptr)
     {
-        SciErr err = createMatrixOfInteger32(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfInteger32(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static int * alloc(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    inline static int * alloc(void * pvCtx, const int position, const int rows, const int cols, int * ptr)
     {
         int * _ptr = 0;
-        SciErr err = allocMatrixOfInteger32(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfInteger32(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned int * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, unsigned int * ptr)
     {
-        SciErr err = createMatrixOfUnsignedInteger32(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfUnsignedInteger32(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static unsigned int * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned int * ptr)
+    inline static unsigned int * alloc(void * pvCtx, const int position, const int rows, const int cols, unsigned int * ptr)
     {
         unsigned int * _ptr = 0;
-        SciErr err = allocMatrixOfUnsignedInteger32(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfUnsignedInteger32(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
@@ -181,31 +187,31 @@ protected:
 
 #ifdef __SCILAB_INT64__
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, long long * ptr)
     {
-        SciErr err = createMatrixOfInteger64(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfInteger64(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    inline static long long * alloc(void * pvCtx, const int position, const int rows, const int cols, long long * ptr)
     {
         long long * _ptr = 0;
-        SciErr err = allocMatrixOfInteger64(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfInteger64(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
     {
-        SciErr err = createMatrixOfUnsignedIntege64(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfUnsignedIntege64(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static unsigned long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    inline static unsigned long long * alloc(void * pvCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
     {
         unsigned long long * _ptr = 0;
-        SciErr err = allocMatrixOfUnsignedInteger64(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfUnsignedInteger64(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return_ ptr;
@@ -213,59 +219,57 @@ protected:
 
 #else
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, long long * ptr)
     {
-        int * dataPtr = 0;
-        alloc(pvApiCtx, position, rows, cols, dataPtr);
+        int * dataPtr = alloc(pvCtx, position, rows, cols, (int *)0);
         for (int i = 0; i < rows * cols; i++)
         {
             dataPtr[i] = static_cast<int>(ptr[i]);
         }
     }
 
-    inline static long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, long long * ptr)
+    inline static long long * alloc(void * pvCtx, const int position, const int rows, const int cols, long long * ptr)
     {
-        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of Integer64");
+        return (long long *)alloc(pvCtx, position, rows, cols, (int *)0);
     }
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
     {
-        unsigned int * dataPtr = 0;
-        alloc(pvApiCtx, position, rows, cols, dataPtr);
+        unsigned int * dataPtr = alloc(pvCtx, position, rows, cols, (unsigned int *)0);
         for (int i = 0; i < rows * cols; i++)
         {
             dataPtr[i] = static_cast<unsigned int>(ptr[i]);
         }
     }
 
-    inline static unsigned long long * alloc(void * pvApiCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
+    inline static unsigned long long * alloc(void * pvCtx, const int position, const int rows, const int cols, unsigned long long * ptr)
     {
-        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, "Invalid operation: cannot allocate a matrix of UInteger64");
+        return (unsigned long long *)alloc(pvCtx, position, rows, cols, (unsigned int *)0);
     }
 
 #endif
 
-    inline static void create(void * pvApiCtx, const int position, const int rows, const int cols, char ** ptr)
+    inline static void create(void * pvCtx, const int position, const int rows, const int cols, char ** ptr)
     {
-        SciErr err = createMatrixOfString(pvApiCtx, position, rows, cols, const_cast<const char * const *>(ptr));
+        SciErr err = createMatrixOfString(pvCtx, position, rows, cols, const_cast<const char * const *>(ptr));
         checkError(err);
     }
 
-    inline static char ** alloc(void * pvApiCtx, const int position, const int rows, const int cols, char ** ptr)
+    inline static char ** alloc(void * pvCtx, const int position, const int rows, const int cols, char ** ptr)
     {
         throw ScilabAbstractEnvironmentException("Invalid operation: cannot allocate a matrix of String");
     }
 
-    inline static void createBool(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    inline static void createBool(void * pvCtx, const int position, const int rows, const int cols, int * ptr)
     {
-        SciErr err = createMatrixOfBoolean(pvApiCtx, position, rows, cols, ptr);
+        SciErr err = createMatrixOfBoolean(pvCtx, position, rows, cols, ptr);
         checkError(err);
     }
 
-    inline static int * allocBool(void * pvApiCtx, const int position, const int rows, const int cols, int * ptr)
+    inline static int * allocBool(void * pvCtx, const int position, const int rows, const int cols, int * ptr)
     {
         int * _ptr = 0;
-        SciErr err = allocMatrixOfBoolean(pvApiCtx, position, rows, cols, &_ptr);
+        SciErr err = allocMatrixOfBoolean(pvCtx, position, rows, cols, &_ptr);
         checkError(err);
 
         return _ptr;
@@ -290,7 +294,7 @@ class ScilabSingleTypeStackAllocator : public ScilabStackAllocator
 
 public:
 
-    ScilabSingleTypeStackAllocator(void * _pvApiCtx, int _position) : ScilabStackAllocator(_pvApiCtx, _position) { }
+    ScilabSingleTypeStackAllocator(void * _pvCtx, int _position) : ScilabStackAllocator(_pvCtx, _position) { }
 
     ~ScilabSingleTypeStackAllocator() { }
 
@@ -298,18 +302,18 @@ public:
     {
         if (!rows || !cols)
         {
-            createEmptyMatrix(pvApiCtx, position);
+            createEmptyMatrix(pvCtx, position);
             return 0;
         }
 
         if (dataPtr)
         {
-            create(pvApiCtx, position, rows, cols, dataPtr);
+            create(pvCtx, position, rows, cols, dataPtr);
             return 0;
         }
         else
         {
-            return alloc(pvApiCtx, position, rows, cols, dataPtr);
+            return alloc(pvCtx, position, rows, cols, dataPtr);
         }
     }
 };
@@ -331,7 +335,7 @@ class ScilabComplexStackAllocator : public ScilabStackAllocator
 
 public:
 
-    ScilabComplexStackAllocator(void * _pvApiCtx, int _position) : ScilabStackAllocator(_pvApiCtx, _position) { }
+    ScilabComplexStackAllocator(void * _pvCtx, int _position) : ScilabStackAllocator(_pvCtx, _position) { }
 
     ~ScilabComplexStackAllocator() { }
 
@@ -339,18 +343,18 @@ public:
     {
         if (!rows || !cols)
         {
-            createEmptyMatrix(pvApiCtx, position);
+            createEmptyMatrix(pvCtx, position);
             return ComplexDataPointers();
         }
 
         if (realPtr && imagPtr)
         {
-            create(pvApiCtx, position, rows, cols, realPtr, imagPtr);
+            create(pvCtx, position, rows, cols, realPtr, imagPtr);
             return ComplexDataPointers();
         }
         else
         {
-            return alloc(pvApiCtx, position, rows, cols, realPtr, imagPtr);
+            return alloc(pvCtx, position, rows, cols, realPtr, imagPtr);
         }
     }
 };
@@ -360,7 +364,7 @@ class ScilabBooleanStackAllocator : public ScilabSingleTypeStackAllocator<int>
 
 public:
 
-    ScilabBooleanStackAllocator(void * _pvApiCtx, int _position) : ScilabSingleTypeStackAllocator<int>(_pvApiCtx, _position) { }
+    ScilabBooleanStackAllocator(void * _pvCtx, int _position) : ScilabSingleTypeStackAllocator<int>(_pvCtx, _position) { }
 
     ~ScilabBooleanStackAllocator() { }
 
@@ -368,34 +372,34 @@ public:
     {
         if (!rows || !cols)
         {
-            createEmptyMatrix(pvApiCtx, position);
+            createEmptyMatrix(pvCtx, position);
             return 0;
         }
 
         if (dataPtr)
         {
-            createBool(pvApiCtx, position, rows, cols, dataPtr);
+            createBool(pvCtx, position, rows, cols, dataPtr);
             return 0;
         }
         else
         {
-            return allocBool(pvApiCtx, position, rows, cols, dataPtr);
+            return allocBool(pvCtx, position, rows, cols, dataPtr);
         }
     }
 
     template <typename T>
-    int * allocate(const int rows, const int cols, T * dataPtr)
+    int * allocate(const int rows, const int cols, T * dataPtr) const
     {
         if (!rows || !cols)
         {
-            createEmptyMatrix(pvApiCtx, position);
+            createEmptyMatrix(pvCtx, position);
             return 0;
         }
 
         if (dataPtr)
         {
             int * ptr = 0;
-            allocBool(pvApiCtx, position, rows, cols, ptr);
+            allocBool(pvCtx, position, rows, cols, ptr);
             for (int i = 0; i < rows * cols; i++)
             {
                 ptr[i] = static_cast<int>(dataPtr[i]);
index 09bb977..58a2f28 100644 (file)
 #include "ScilabObjects.hxx"
 #include "dynlib_external_objects_scilab.h"
 
-extern "C" {
-#include "api_scilab.h"
-#include "stack-c.h"
-}
-
 namespace org_modules_external_objects
 {
 
index dd69657..3743c58 100644 (file)
@@ -114,7 +114,7 @@ public:
 
     static int wrapAsRef(char * fname, const int envId, void * pvApiCtx);
 
-    //static int wrapInFloat(char * fname, const int envId, void * pvApiCtx);
+    static int wrapInFloat(char * fname, const int envId, void * pvApiCtx);
 };
 }
 
index dba34d8..4fc3eef 100644 (file)
@@ -15,7 +15,8 @@
 #ifndef __SCILABGATEWAYOPTIONS_HXX__
 #define __SCILABGATEWAYOPTIONS_HXX__
 
-extern "C" {
+extern "C"
+{
 #include "api_scilab.h"
 }
 
index d5d50a8..c964ee0 100644 (file)
 #include "OptionsHelper.hxx"
 #include "dynlib_external_objects_scilab.h"
 
-extern "C" {
-#include "api_scilab.h"
-#include "stack-c.h"
-#include "localization.h"
-}
-
 namespace org_modules_external_objects
 {
 class EXTERNAL_OBJECTS_SCILAB_IMPEXP ScilabObjects
@@ -112,6 +106,24 @@ public:
         return wrapper.wrapBool(data, row, col, isRef);
     }
 
+    inline static int wrapFloat(const int row, const int col, double * data, const ScilabAbstractEnvironmentWrapper & wrapper, const bool isRef)
+    {
+        if (row == 0 || col == 0)
+        {
+            return 0;
+        }
+        else if (row == 1 && col == 1)
+        {
+            return wrapper.wrapFloat(data, isRef);
+        }
+        else if (row == 1)
+        {
+            return wrapper.wrapFloat(data, col, isRef);
+        }
+
+        return wrapper.wrapFloat(data, row, col, isRef);
+    }
+
     inline static int wrap(const int row, const int col, double * real, double * imag, const ScilabAbstractEnvironmentWrapper & wrapper, const bool isRef)
     {
         if (row == 0 || col == 0)
index 3286718..3feebf4 100644 (file)
@@ -42,6 +42,9 @@ public:
     static const unsigned int USESCILABINDEX;
 
     ScilabOptionsSetter(OptionsHelper & _helper, unsigned int _type) : helper(_helper), type(_type) { }
+
+    ScilabOptionsSetter(const ScilabOptionsSetter & setter) : helper(setter.helper), type(setter.type) { }
+
     ~ScilabOptionsSetter() { }
 
     virtual void set(const bool state);
diff --git a/scilab/modules/external_objects/macros/%_EVoid_p.sci b/scilab/modules/external_objects/macros/%_EVoid_p.sci
new file mode 100644 (file)
index 0000000..39326e6
--- /dev/null
@@ -0,0 +1,13 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+//
+
+function %_EVoid_p(x)
+    write(%io(2), "External Objects: void wrapper")
+endfunction
\ No newline at end of file
index ff98706..cb38168 100644 (file)
@@ -162,6 +162,16 @@ void ScilabAutoCleaner::removeUnusedObjects(const _MapIds & current, const _MapI
                 }
             }
         }
+        else
+        {
+            ScilabAbstractEnvironment & env = ScilabEnvironments::getEnvironment(itm->first);
+
+            for (std::set<int>::const_iterator itu = itm->second.begin(); itu != itm->second.end(); itu++)
+            {
+                env.writeLog("removeUnusedObjects", "autoremove id=%d.", *itu);
+                env.autoremoveobject(*itu);
+            }
+        }
     }
 }
 }
index 994d2f1..4878dcf 100644 (file)
@@ -32,7 +32,6 @@ void ScilabObjects::initialization(ScilabAbstractEnvironment & env, void * pvApi
     if (!isInit)
     {
         isInit = true;
-        //createNamedEnvironmentObject(EXTERNAL_VOID, "evoid", 0, 0, pvApiCtx);
     }
 }
 
@@ -277,7 +276,6 @@ bool ScilabObjects::unwrap(int idObj, int pos, const int envId, void * pvApiCtx)
     const ScilabAbstractEnvironmentWrapper & wrapper = env.getWrapper();
 
     type = env.isunwrappable(idObj);
-
     switch (type)
     {
         case Nothing:
index 90aec9b..5c1e11d 100644 (file)
@@ -29,6 +29,7 @@ int ScilabGateway::doubleExclam_invoke(char * fname, const int envId, void * pvA
     int ret = 0;
     int * sret = 0;
     int len = Rhs;
+    int nbArgs = len;
 
     CheckOutputArgument(pvApiCtx, 1, 1);
 
index 1e84c47..b5362c9 100644 (file)
@@ -24,6 +24,7 @@ int ScilabGateway::invoke(char * fname, const int envId, void * pvApiCtx)
     int idObj = 0;
     int * ret = 0;
     char * methName = 0;
+    int nbArgs = Rhs - 2;
 
     if (Rhs < 2)
     {
@@ -86,6 +87,11 @@ int ScilabGateway::invoke(char * fname, const int envId, void * pvApiCtx)
             delete[] tmpvar;
             throw;
         }
+
+        if (args[i] == VOID_OBJECT)
+        {
+            nbArgs = 0;
+        }
     }
 
     try
@@ -102,7 +108,7 @@ int ScilabGateway::invoke(char * fname, const int envId, void * pvApiCtx)
 
     try
     {
-        ret = env.invoke(idObj, methName, args, Rhs - 2);
+        ret = env.invoke(idObj, methName, args, nbArgs);
     }
     catch (std::exception & e)
     {
index 9c36546..7d49dd6 100644 (file)
@@ -30,6 +30,7 @@ int ScilabGateway::invoke_lu(char * fname, const int envId, void * pvApiCtx)
     int * eId;
     int row, col;
     int * ret = 0;
+    int nbArgs = 0;
 
     CheckInputArgument(pvApiCtx, 4, 4);
 
@@ -152,6 +153,7 @@ int ScilabGateway::invoke_lu(char * fname, const int envId, void * pvApiCtx)
     *tmpvar = 0;
 
     args = new int[len];
+    nbArgs = len;
 
     for (int i = 0; i < len; i++)
     {
@@ -174,6 +176,11 @@ int ScilabGateway::invoke_lu(char * fname, const int envId, void * pvApiCtx)
             delete[] tmpvar;
             throw;
         }
+
+        if (args[i] == VOID_OBJECT)
+        {
+            nbArgs = 0;
+        }
     }
 
     try
@@ -190,7 +197,7 @@ int ScilabGateway::invoke_lu(char * fname, const int envId, void * pvApiCtx)
 
     try
     {
-        ret = env.invoke(idObj, methName, args, len);
+        ret = env.invoke(idObj, methName, args, nbArgs);
     }
     catch (std::exception & e)
     {
index 626c527..4a1a5c6 100644 (file)
@@ -22,6 +22,7 @@ int ScilabGateway::invoke(char * fname, const int envId, ScilabAbstractInvoker &
     int * addr = 0;
     int * args = 0;
     int ret = 0;
+    int nbArgs = Rhs;
 
     CheckOutputArgument(pvApiCtx, 1, 1);
 
@@ -56,11 +57,16 @@ int ScilabGateway::invoke(char * fname, const int envId, ScilabAbstractInvoker &
             delete[] tmpvar;
             throw;
         }
+
+        if (args[i] == VOID_OBJECT)
+        {
+            nbArgs = 0;
+        }
     }
 
     try
     {
-        ret = invoker.invoke(args, Rhs);
+        ret = invoker.invoke(args, nbArgs);
     }
     catch (std::exception & e)
     {
index e587add..1868471 100644 (file)
@@ -30,6 +30,7 @@ int ScilabGateway::newInstance(char * fname, const int envId, void * pvApiCtx)
     char * className = 0;
     int error = 0;
     char * cwd = 0;
+    int nbArgs = Rhs - 1;
 
     if (Rhs == 0)
     {
@@ -101,17 +102,23 @@ int ScilabGateway::newInstance(char * fname, const int envId, void * pvApiCtx)
             delete[] tmpvar;
             throw;
         }
+
+        if (args[i] == VOID_OBJECT)
+        {
+            nbArgs = 0;
+        }
     }
 
     try
     {
-        ret = env.newinstance(idClass, args, Rhs - 1);
+        ret = env.newinstance(idClass, args, nbArgs);
     }
     catch (std::exception & e)
     {
         delete[] args;
         ScilabObjects::removeTemporaryVars(envId, tmpvar);
         delete[] tmpvar;
+        throw;
     }
 
     delete[] args;
diff --git a/scilab/modules/external_objects/src/cpp/wrapInFloat.cpp b/scilab/modules/external_objects/src/cpp/wrapInFloat.cpp
new file mode 100644 (file)
index 0000000..d088f0a
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "ScilabGateway.hxx"
+
+namespace org_modules_external_objects
+{
+
+int ScilabGateway::wrapInFloat(char * fname, const int envId, void * pvApiCtx)
+{
+    SciErr err;
+    int * addr = 0;
+    int idObj;
+    int type = 0;
+    double * data = 0;
+    int row, col;
+
+    if (Rhs == 0)
+    {
+        throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, gettext("Wrong number of arguments : more than 1 argument expected."));
+    }
+
+    ScilabAbstractEnvironment & env = ScilabEnvironments::getEnvironment(envId);
+    ScilabGatewayOptions & options = env.getGatewayOptions();
+    OptionsHelper::setCopyOccurred(false);
+    ScilabObjects::initialization(env, pvApiCtx);
+    options.setIsNew(false);
+    const ScilabAbstractEnvironmentWrapper & wrapper = ScilabEnvironments::getEnvironment(envId).getWrapper();
+
+    CheckOutputArgument(pvApiCtx, Rhs, Rhs);
+
+    for (int i = 1; i < Rhs + 1; i++)
+    {
+        err = getVarAddressFromPosition(pvApiCtx, i, &addr);
+        if (err.iErr)
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, gettext("Invalid variable: cannot retrieve the data"));
+        }
+
+        err = getVarType(pvApiCtx, addr, &type);
+        if (err.iErr)
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, gettext("Invalid variable: cannot retrieve the data type"));
+        }
+
+        if (type != sci_matrix || isVarComplex(pvApiCtx, addr))
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, gettext("%s: Wrong argument type at position %i: Double expected\n"), fname, i);
+        }
+
+        err = getMatrixOfDouble(pvApiCtx, addr, &row, &col, &data);
+        if (err.iErr)
+        {
+            throw ScilabAbstractEnvironmentException(__LINE__, __FILE__, gettext("Invalid variable: cannot retrieve the data"));
+        }
+
+        idObj = ScilabObjects::wrapFloat(row, col, data, wrapper, false);
+
+        ScilabObjects::createEnvironmentObjectAtPos(EXTERNAL_OBJECT, Rhs + i, idObj, envId, pvApiCtx);
+
+        LhsVar(i) = Rhs + i;
+    }
+
+    PutLhsVar();
+
+    return 0;
+}
+}
diff --git a/scilab/modules/external_objects_java/Makefile.am b/scilab/modules/external_objects_java/Makefile.am
new file mode 100644 (file)
index 0000000..a0a516f
--- /dev/null
@@ -0,0 +1,129 @@
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+#### Target ######
+modulename=external_objects_java
+
+
+#### external_objects_java : Conf files ####
+libsciexternal_objects_java_la_rootdir = $(mydatadir)
+libsciexternal_objects_java_la_root_DATA =  license.txt
+
+
+#### external_objects_java : init scripts & configuration files ####
+libsciexternal_objects_java_la_etcdir = $(mydatadir)/etc
+libsciexternal_objects_java_la_etc_DATA = etc/external_objects_java.quit \
+                                                                        etc/external_objects_java.start
+
+include $(top_srcdir)/Makefile.incl.am
+
+EXTERNAL_OBJECTS_JAVA_JNI_SOURCES = 
+
+EXTERNAL_OBJECTS_JAVA_C_SOURCES = 
+
+EXTERNAL_OBJECTS_JAVA_CPP_SOURCES = src/cpp/ScilabJavaEnvironment.cpp \
+src/cpp/NoMoreScilabMemoryException.cpp \
+src/cpp/JavaOptionsSetter.cpp \
+src/cpp/ScilabJavaEnvironmentWrapper.cpp \
+src/jni/ScilabJavaArray.cpp \
+src/jni/ScilabJavaCompiler.cpp \
+src/jni/ScilabJavaClass.cpp \
+src/jni/ScilabJavaObject.cpp \
+src/jni/ScilabClassLoader.cpp
+
+#src/cpp/ScilabObjectsCPP.cpp
+# src/cpp/WrapAsDirectBuffer.cpp
+GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects_java.c \
+sci_gateway/cpp/sci_jimport.cpp \
+sci_gateway/cpp/sci_jgetclassname.cpp \
+sci_gateway/cpp/sci_jwrap.cpp \
+sci_gateway/cpp/sci_jgetmethods.cpp \
+sci_gateway/cpp/sci_jgetfields.cpp \
+sci_gateway/cpp/sci_jgetfield.cpp \
+sci_gateway/cpp/sci_jcompile.cpp \
+sci_gateway/cpp/sci_jnewInstance.cpp \
+sci_gateway/cpp/sci_jremove.cpp \
+sci_gateway/cpp/sci_jexists.cpp \
+sci_gateway/cpp/sci_junwrap.cpp \
+sci_gateway/cpp/sci_jautoUnwrap.cpp \
+sci_gateway/cpp/sci_junwraprem.cpp \
+sci_gateway/cpp/sci_jenableTrace.cpp \
+sci_gateway/cpp/sci_jdisableTrace.cpp \
+sci_gateway/cpp/sci_jdeff.cpp \
+sci_gateway/cpp/sci_jinvoke.cpp \
+sci_gateway/cpp/sci_jarray.cpp \
+sci_gateway/cpp/sci_jcast.cpp \
+sci_gateway/cpp/sci_jallowClassReloading.cpp \
+sci_gateway/cpp/sci_jwrapinfloat.cpp \
+sci_gateway/cpp/sci_jsetfield.cpp \
+sci_gateway/cpp/sci_jautoTranspose.cpp \
+sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+
+GIWS_WRAPPERS = src/jni/ScilabObjects.giws.xml
+
+if GIWS
+BUILT_SOURCES=giws
+endif
+
+GATEWAY_CPP_SOURCES =
+libsciexternal_objects_java_la_CFLAGS= -I$(srcdir)/includes/ \
+             -I$(top_srcdir)/libs/MALLOC/includes/ \
+             -I$(top_srcdir)/modules/core/includes \
+             -I$(top_srcdir)/modules/api_scilab/includes \
+             -I$(top_srcdir)/modules/output_stream/includes \
+             -I$(top_srcdir)/modules/string/includes \
+             -I$(top_srcdir)/modules/fileio/includes
+
+
+libsciexternal_objects_java_la_CPPFLAGS = -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/cpp/ \
+    -I$(srcdir)/src/c/ \
+    -I$(srcdir)/src/jni/ \
+    -I$(top_srcdir)/libs/MALLOC/includes/ \
+    -I$(top_srcdir)/modules/localization/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/string/includes \
+    -I$(top_srcdir)/modules/fileio/includes \
+    -I$(top_srcdir)/modules/jvm/includes \
+    -I$(top_srcdir)/modules/core/src/c \
+    -I$(top_srcdir)/modules/external_objects/includes \
+       -I$(top_srcdir)/modules/commons/src/jni/ \
+    $(JAVA_JNI_INCLUDE)
+
+
+pkglib_LTLIBRARIES = libsciexternal_objects_java.la 
+noinst_LTLIBRARIES = libsciexternal_objects_java-algo.la 
+
+libsciexternal_objects_java_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)  $(X_LIBS) $(X_EXTRA_LIBS)
+
+libsciexternal_objects_java_algo_la_SOURCES = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(EXTERNAL_OBJECTS_JAVA_JNI_SOURCES) $(EXTERNAL_OBJECTS_JAVA_CPP_SOURCES)
+libsciexternal_objects_java_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) 
+libsciexternal_objects_java_algo_la_CFLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+libsciexternal_objects_java_algo_la_CPPFLAGS = $(libsciexternal_objects_java_la_CPPFLAGS)
+
+libsciexternal_objects_java_la_LIBADD = libsciexternal_objects_java-algo.la $(top_builddir)/modules/commons/libscicommons.la $(top_builddir)/modules/jvm/libscijvm.la
+
+# For the code check (splint)
+CHECK_SRC= $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+
+#### external_objects_java : gateway declaration ####
+libsciexternal_objects_java_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libsciexternal_objects_java_la_sci_gateway_DATA = sci_gateway/external_objects_java_gateway.xml
+
+#### external_objects_java : include files ####
+libsciexternal_objects_java_la_includedir=$(pkgincludedir)
+libsciexternal_objects_java_la_include_HEADERS =
+
+if GUI
+USEANT=1
+endif
diff --git a/scilab/modules/external_objects_java/Makefile.in b/scilab/modules/external_objects_java/Makefile.in
new file mode 100644 (file)
index 0000000..e4dbd4e
--- /dev/null
@@ -0,0 +1,1626 @@
+# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(libsciexternal_objects_java_la_include_HEADERS) \
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.incl.am $(top_srcdir)/config/depcomp \
+       $(top_srcdir)/config/mkinstalldirs TODO
+@NEED_JAVA_TRUE@am__append_1 = java
+subdir = modules/external_objects_java
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+       $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+       $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+       $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+       $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+       $(top_srcdir)/m4/intel_compiler.m4 \
+       $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+       $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+       $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+       $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+       $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
+       $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
+       $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
+       $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" \
+       "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libsciexternal_objects_java_algo_la_LIBADD =
+am__objects_1 =
+am__objects_2 =  \
+       libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo \
+       libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo \
+       libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaArray.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaClass.lo \
+       libsciexternal_objects_java_algo_la-ScilabJavaObject.lo \
+       libsciexternal_objects_java_algo_la-ScilabClassLoader.lo
+am_libsciexternal_objects_java_algo_la_OBJECTS = $(am__objects_1) \
+       $(am__objects_1) $(am__objects_2)
+libsciexternal_objects_java_algo_la_OBJECTS =  \
+       $(am_libsciexternal_objects_java_algo_la_OBJECTS)
+libsciexternal_objects_java_la_DEPENDENCIES =  \
+       libsciexternal_objects_java-algo.la \
+       $(top_builddir)/modules/commons/libscicommons.la \
+       $(top_builddir)/modules/jvm/libscijvm.la
+am__objects_3 =  \
+       libsciexternal_objects_java_la-gw_external_objects_java.lo \
+       libsciexternal_objects_java_la-sci_jimport.lo \
+       libsciexternal_objects_java_la-sci_jgetclassname.lo \
+       libsciexternal_objects_java_la-sci_jwrap.lo \
+       libsciexternal_objects_java_la-sci_jgetmethods.lo \
+       libsciexternal_objects_java_la-sci_jgetfields.lo \
+       libsciexternal_objects_java_la-sci_jgetfield.lo \
+       libsciexternal_objects_java_la-sci_jcompile.lo \
+       libsciexternal_objects_java_la-sci_jnewInstance.lo \
+       libsciexternal_objects_java_la-sci_jremove.lo \
+       libsciexternal_objects_java_la-sci_jexists.lo \
+       libsciexternal_objects_java_la-sci_junwrap.lo \
+       libsciexternal_objects_java_la-sci_jautoUnwrap.lo \
+       libsciexternal_objects_java_la-sci_junwraprem.lo \
+       libsciexternal_objects_java_la-sci_jenableTrace.lo \
+       libsciexternal_objects_java_la-sci_jdisableTrace.lo \
+       libsciexternal_objects_java_la-sci_jdeff.lo \
+       libsciexternal_objects_java_la-sci_jinvoke.lo \
+       libsciexternal_objects_java_la-sci_jarray.lo \
+       libsciexternal_objects_java_la-sci_jcast.lo \
+       libsciexternal_objects_java_la-sci_jallowClassReloading.lo \
+       libsciexternal_objects_java_la-sci_jwrapinfloat.lo \
+       libsciexternal_objects_java_la-sci_jsetfield.lo \
+       libsciexternal_objects_java_la-sci_jautoTranspose.lo \
+       libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo
+am_libsciexternal_objects_java_la_OBJECTS = $(am__objects_3) \
+       $(am__objects_1)
+libsciexternal_objects_java_la_OBJECTS =  \
+       $(am_libsciexternal_objects_java_la_OBJECTS)
+libsciexternal_objects_java_la_LINK = $(LIBTOOL) --tag=CXX \
+       $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
+       $(AM_CXXFLAGS) $(CXXFLAGS) \
+       $(libsciexternal_objects_java_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+SOURCES = $(libsciexternal_objects_java_algo_la_SOURCES) \
+       $(libsciexternal_objects_java_la_SOURCES)
+DIST_SOURCES = $(libsciexternal_objects_java_algo_la_SOURCES) \
+       $(libsciexternal_objects_java_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DATA = $(libsciexternal_objects_java_la_etc_DATA) \
+       $(libsciexternal_objects_java_la_root_DATA) \
+       $(libsciexternal_objects_java_la_sci_gateway_DATA)
+HEADERS = $(libsciexternal_objects_java_la_include_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+#### Target ######
+modulename = external_objects_java
+
+#### external_objects_java : Conf files ####
+libsciexternal_objects_java_la_rootdir = $(mydatadir)
+libsciexternal_objects_java_la_root_DATA = license.txt
+
+#### external_objects_java : init scripts & configuration files ####
+libsciexternal_objects_java_la_etcdir = $(mydatadir)/etc
+libsciexternal_objects_java_la_etc_DATA = etc/external_objects_java.quit \
+                                                                        etc/external_objects_java.start
+
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED  AT THE MOMENT
+SUFFIXES = .sci 
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file 
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+EXTERNAL_OBJECTS_JAVA_JNI_SOURCES = 
+EXTERNAL_OBJECTS_JAVA_C_SOURCES = 
+EXTERNAL_OBJECTS_JAVA_CPP_SOURCES = src/cpp/ScilabJavaEnvironment.cpp \
+src/cpp/NoMoreScilabMemoryException.cpp \
+src/cpp/JavaOptionsSetter.cpp \
+src/cpp/ScilabJavaEnvironmentWrapper.cpp \
+src/jni/ScilabJavaArray.cpp \
+src/jni/ScilabJavaCompiler.cpp \
+src/jni/ScilabJavaClass.cpp \
+src/jni/ScilabJavaObject.cpp \
+src/jni/ScilabClassLoader.cpp
+
+
+#src/cpp/ScilabObjectsCPP.cpp
+# src/cpp/WrapAsDirectBuffer.cpp
+GATEWAY_C_SOURCES = sci_gateway/c/gw_external_objects_java.c \
+sci_gateway/cpp/sci_jimport.cpp \
+sci_gateway/cpp/sci_jgetclassname.cpp \
+sci_gateway/cpp/sci_jwrap.cpp \
+sci_gateway/cpp/sci_jgetmethods.cpp \
+sci_gateway/cpp/sci_jgetfields.cpp \
+sci_gateway/cpp/sci_jgetfield.cpp \
+sci_gateway/cpp/sci_jcompile.cpp \
+sci_gateway/cpp/sci_jnewInstance.cpp \
+sci_gateway/cpp/sci_jremove.cpp \
+sci_gateway/cpp/sci_jexists.cpp \
+sci_gateway/cpp/sci_junwrap.cpp \
+sci_gateway/cpp/sci_jautoUnwrap.cpp \
+sci_gateway/cpp/sci_junwraprem.cpp \
+sci_gateway/cpp/sci_jenableTrace.cpp \
+sci_gateway/cpp/sci_jdisableTrace.cpp \
+sci_gateway/cpp/sci_jdeff.cpp \
+sci_gateway/cpp/sci_jinvoke.cpp \
+sci_gateway/cpp/sci_jarray.cpp \
+sci_gateway/cpp/sci_jcast.cpp \
+sci_gateway/cpp/sci_jallowClassReloading.cpp \
+sci_gateway/cpp/sci_jwrapinfloat.cpp \
+sci_gateway/cpp/sci_jsetfield.cpp \
+sci_gateway/cpp/sci_jautoTranspose.cpp \
+sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+
+GIWS_WRAPPERS = src/jni/ScilabObjects.giws.xml
+@GIWS_TRUE@BUILT_SOURCES = giws
+GATEWAY_CPP_SOURCES = 
+libsciexternal_objects_java_la_CFLAGS = -I$(srcdir)/includes/ \
+             -I$(top_srcdir)/libs/MALLOC/includes/ \
+             -I$(top_srcdir)/modules/core/includes \
+             -I$(top_srcdir)/modules/api_scilab/includes \
+             -I$(top_srcdir)/modules/output_stream/includes \
+             -I$(top_srcdir)/modules/string/includes \
+             -I$(top_srcdir)/modules/fileio/includes
+
+libsciexternal_objects_java_la_CPPFLAGS = -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/cpp/ \
+    -I$(srcdir)/src/c/ \
+    -I$(srcdir)/src/jni/ \
+    -I$(top_srcdir)/libs/MALLOC/includes/ \
+    -I$(top_srcdir)/modules/localization/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/string/includes \
+    -I$(top_srcdir)/modules/fileio/includes \
+    -I$(top_srcdir)/modules/jvm/includes \
+    -I$(top_srcdir)/modules/core/src/c \
+    -I$(top_srcdir)/modules/external_objects/includes \
+       -I$(top_srcdir)/modules/commons/src/jni/ \
+    $(JAVA_JNI_INCLUDE)
+
+pkglib_LTLIBRARIES = libsciexternal_objects_java.la 
+noinst_LTLIBRARIES = libsciexternal_objects_java-algo.la 
+libsciexternal_objects_java_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)  $(X_LIBS) $(X_EXTRA_LIBS)
+libsciexternal_objects_java_algo_la_SOURCES = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(EXTERNAL_OBJECTS_JAVA_JNI_SOURCES) $(EXTERNAL_OBJECTS_JAVA_CPP_SOURCES)
+libsciexternal_objects_java_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) 
+libsciexternal_objects_java_algo_la_CFLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+libsciexternal_objects_java_algo_la_CPPFLAGS = $(libsciexternal_objects_java_la_CPPFLAGS)
+libsciexternal_objects_java_la_LIBADD = libsciexternal_objects_java-algo.la $(top_builddir)/modules/commons/libscicommons.la $(top_builddir)/modules/jvm/libscijvm.la
+
+# For the code check (splint)
+CHECK_SRC = $(EXTERNAL_OBJECTS_JAVA_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libsciexternal_objects_java_la_CFLAGS)
+
+#### external_objects_java : gateway declaration ####
+libsciexternal_objects_java_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libsciexternal_objects_java_la_sci_gateway_DATA = sci_gateway/external_objects_java_gateway.xml
+
+#### external_objects_java : include files ####
+libsciexternal_objects_java_la_includedir = $(pkgincludedir)
+libsciexternal_objects_java_la_include_HEADERS = 
+@GUI_TRUE@USEANT = 1
+all: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .cpp .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+               && { if test -f $@; then exit 0; else break; fi; }; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/external_objects_java/Makefile'; \
+       $(am__cd) $(top_srcdir) && \
+         $(AUTOMAKE) --foreign modules/external_objects_java/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+       esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+       @list='$(noinst_LTLIBRARIES)'; \
+       locs=`for p in $$list; do echo $$p; done | \
+             sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+             sort -u`; \
+       test -z "$$locs" || { \
+         echo rm -f $${locs}; \
+         rm -f $${locs}; \
+       }
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+       @$(NORMAL_INSTALL)
+       @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+       list2=; for p in $$list; do \
+         if test -f $$p; then \
+           list2="$$list2 $$p"; \
+         else :; fi; \
+       done; \
+       test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+       }
+
+uninstall-pkglibLTLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+       for p in $$list; do \
+         $(am__strip_dir) \
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+       done
+
+clean-pkglibLTLIBRARIES:
+       -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+       @list='$(pkglib_LTLIBRARIES)'; \
+       locs=`for p in $$list; do echo $$p; done | \
+             sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+             sort -u`; \
+       test -z "$$locs" || { \
+         echo rm -f $${locs}; \
+         rm -f $${locs}; \
+       }
+libsciexternal_objects_java-algo.la: $(libsciexternal_objects_java_algo_la_OBJECTS) $(libsciexternal_objects_java_algo_la_DEPENDENCIES) $(EXTRA_libsciexternal_objects_java_algo_la_DEPENDENCIES) 
+       $(CXXLINK)  $(libsciexternal_objects_java_algo_la_OBJECTS) $(libsciexternal_objects_java_algo_la_LIBADD) $(LIBS)
+libsciexternal_objects_java.la: $(libsciexternal_objects_java_la_OBJECTS) $(libsciexternal_objects_java_la_DEPENDENCIES) $(EXTRA_libsciexternal_objects_java_la_DEPENDENCIES) 
+       $(libsciexternal_objects_java_la_LINK) -rpath $(pkglibdir) $(libsciexternal_objects_java_la_OBJECTS) $(libsciexternal_objects_java_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+       -rm -f *.$(OBJEXT)
+
+distclean-compile:
+       -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jautoTranspose.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jautoUnwrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jinvoke.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jsetfield.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciexternal_objects_java_la-sci_jwrapinfloat.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
+
+libsciexternal_objects_java_la-gw_external_objects_java.lo: sci_gateway/c/gw_external_objects_java.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(libsciexternal_objects_java_la_CFLAGS) $(CFLAGS) -MT libsciexternal_objects_java_la-gw_external_objects_java.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Tpo -c -o libsciexternal_objects_java_la-gw_external_objects_java.lo `test -f 'sci_gateway/c/gw_external_objects_java.c' || echo '$(srcdir)/'`sci_gateway/c/gw_external_objects_java.c
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Tpo $(DEPDIR)/libsciexternal_objects_java_la-gw_external_objects_java.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/gw_external_objects_java.c' object='libsciexternal_objects_java_la-gw_external_objects_java.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(libsciexternal_objects_java_la_CFLAGS) $(CFLAGS) -c -o libsciexternal_objects_java_la-gw_external_objects_java.lo `test -f 'sci_gateway/c/gw_external_objects_java.c' || echo '$(srcdir)/'`sci_gateway/c/gw_external_objects_java.c
+
+.cpp.o:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo: src/cpp/ScilabJavaEnvironment.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo `test -f 'src/cpp/ScilabJavaEnvironment.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironment.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/ScilabJavaEnvironment.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironment.lo `test -f 'src/cpp/ScilabJavaEnvironment.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironment.cpp
+
+libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo: src/cpp/NoMoreScilabMemoryException.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Tpo -c -o libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo `test -f 'src/cpp/NoMoreScilabMemoryException.cpp' || echo '$(srcdir)/'`src/cpp/NoMoreScilabMemoryException.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/NoMoreScilabMemoryException.cpp' object='libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-NoMoreScilabMemoryException.lo `test -f 'src/cpp/NoMoreScilabMemoryException.cpp' || echo '$(srcdir)/'`src/cpp/NoMoreScilabMemoryException.cpp
+
+libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo: src/cpp/JavaOptionsSetter.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Tpo -c -o libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo `test -f 'src/cpp/JavaOptionsSetter.cpp' || echo '$(srcdir)/'`src/cpp/JavaOptionsSetter.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-JavaOptionsSetter.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/JavaOptionsSetter.cpp' object='libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-JavaOptionsSetter.lo `test -f 'src/cpp/JavaOptionsSetter.cpp' || echo '$(srcdir)/'`src/cpp/JavaOptionsSetter.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo: src/cpp/ScilabJavaEnvironmentWrapper.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo `test -f 'src/cpp/ScilabJavaEnvironmentWrapper.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironmentWrapper.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/ScilabJavaEnvironmentWrapper.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaEnvironmentWrapper.lo `test -f 'src/cpp/ScilabJavaEnvironmentWrapper.cpp' || echo '$(srcdir)/'`src/cpp/ScilabJavaEnvironmentWrapper.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaArray.lo: src/jni/ScilabJavaArray.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaArray.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaArray.lo `test -f 'src/jni/ScilabJavaArray.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaArray.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaArray.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaArray.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaArray.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaArray.lo `test -f 'src/jni/ScilabJavaArray.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaArray.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo: src/jni/ScilabJavaCompiler.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo `test -f 'src/jni/ScilabJavaCompiler.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaCompiler.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaCompiler.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaCompiler.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaCompiler.lo `test -f 'src/jni/ScilabJavaCompiler.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaCompiler.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaClass.lo: src/jni/ScilabJavaClass.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaClass.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaClass.lo `test -f 'src/jni/ScilabJavaClass.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaClass.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaClass.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaClass.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaClass.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaClass.lo `test -f 'src/jni/ScilabJavaClass.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaClass.cpp
+
+libsciexternal_objects_java_algo_la-ScilabJavaObject.lo: src/jni/ScilabJavaObject.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabJavaObject.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabJavaObject.lo `test -f 'src/jni/ScilabJavaObject.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaObject.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabJavaObject.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabJavaObject.cpp' object='libsciexternal_objects_java_algo_la-ScilabJavaObject.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabJavaObject.lo `test -f 'src/jni/ScilabJavaObject.cpp' || echo '$(srcdir)/'`src/jni/ScilabJavaObject.cpp
+
+libsciexternal_objects_java_algo_la-ScilabClassLoader.lo: src/jni/ScilabClassLoader.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_algo_la-ScilabClassLoader.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Tpo -c -o libsciexternal_objects_java_algo_la-ScilabClassLoader.lo `test -f 'src/jni/ScilabClassLoader.cpp' || echo '$(srcdir)/'`src/jni/ScilabClassLoader.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Tpo $(DEPDIR)/libsciexternal_objects_java_algo_la-ScilabClassLoader.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/jni/ScilabClassLoader.cpp' object='libsciexternal_objects_java_algo_la-ScilabClassLoader.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_algo_la-ScilabClassLoader.lo `test -f 'src/jni/ScilabClassLoader.cpp' || echo '$(srcdir)/'`src/jni/ScilabClassLoader.cpp
+
+libsciexternal_objects_java_la-sci_jimport.lo: sci_gateway/cpp/sci_jimport.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jimport.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Tpo -c -o libsciexternal_objects_java_la-sci_jimport.lo `test -f 'sci_gateway/cpp/sci_jimport.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jimport.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jimport.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jimport.cpp' object='libsciexternal_objects_java_la-sci_jimport.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jimport.lo `test -f 'sci_gateway/cpp/sci_jimport.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jimport.cpp
+
+libsciexternal_objects_java_la-sci_jgetclassname.lo: sci_gateway/cpp/sci_jgetclassname.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetclassname.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Tpo -c -o libsciexternal_objects_java_la-sci_jgetclassname.lo `test -f 'sci_gateway/cpp/sci_jgetclassname.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetclassname.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetclassname.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetclassname.cpp' object='libsciexternal_objects_java_la-sci_jgetclassname.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetclassname.lo `test -f 'sci_gateway/cpp/sci_jgetclassname.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetclassname.cpp
+
+libsciexternal_objects_java_la-sci_jwrap.lo: sci_gateway/cpp/sci_jwrap.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jwrap.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Tpo -c -o libsciexternal_objects_java_la-sci_jwrap.lo `test -f 'sci_gateway/cpp/sci_jwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrap.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrap.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jwrap.cpp' object='libsciexternal_objects_java_la-sci_jwrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jwrap.lo `test -f 'sci_gateway/cpp/sci_jwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrap.cpp
+
+libsciexternal_objects_java_la-sci_jgetmethods.lo: sci_gateway/cpp/sci_jgetmethods.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetmethods.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Tpo -c -o libsciexternal_objects_java_la-sci_jgetmethods.lo `test -f 'sci_gateway/cpp/sci_jgetmethods.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetmethods.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetmethods.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetmethods.cpp' object='libsciexternal_objects_java_la-sci_jgetmethods.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetmethods.lo `test -f 'sci_gateway/cpp/sci_jgetmethods.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetmethods.cpp
+
+libsciexternal_objects_java_la-sci_jgetfields.lo: sci_gateway/cpp/sci_jgetfields.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetfields.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Tpo -c -o libsciexternal_objects_java_la-sci_jgetfields.lo `test -f 'sci_gateway/cpp/sci_jgetfields.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfields.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfields.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetfields.cpp' object='libsciexternal_objects_java_la-sci_jgetfields.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetfields.lo `test -f 'sci_gateway/cpp/sci_jgetfields.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfields.cpp
+
+libsciexternal_objects_java_la-sci_jgetfield.lo: sci_gateway/cpp/sci_jgetfield.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jgetfield.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Tpo -c -o libsciexternal_objects_java_la-sci_jgetfield.lo `test -f 'sci_gateway/cpp/sci_jgetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfield.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jgetfield.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jgetfield.cpp' object='libsciexternal_objects_java_la-sci_jgetfield.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jgetfield.lo `test -f 'sci_gateway/cpp/sci_jgetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jgetfield.cpp
+
+libsciexternal_objects_java_la-sci_jcompile.lo: sci_gateway/cpp/sci_jcompile.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jcompile.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Tpo -c -o libsciexternal_objects_java_la-sci_jcompile.lo `test -f 'sci_gateway/cpp/sci_jcompile.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcompile.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jcompile.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jcompile.cpp' object='libsciexternal_objects_java_la-sci_jcompile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jcompile.lo `test -f 'sci_gateway/cpp/sci_jcompile.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcompile.cpp
+
+libsciexternal_objects_java_la-sci_jnewInstance.lo: sci_gateway/cpp/sci_jnewInstance.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jnewInstance.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Tpo -c -o libsciexternal_objects_java_la-sci_jnewInstance.lo `test -f 'sci_gateway/cpp/sci_jnewInstance.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jnewInstance.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jnewInstance.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jnewInstance.cpp' object='libsciexternal_objects_java_la-sci_jnewInstance.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jnewInstance.lo `test -f 'sci_gateway/cpp/sci_jnewInstance.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jnewInstance.cpp
+
+libsciexternal_objects_java_la-sci_jremove.lo: sci_gateway/cpp/sci_jremove.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jremove.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Tpo -c -o libsciexternal_objects_java_la-sci_jremove.lo `test -f 'sci_gateway/cpp/sci_jremove.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jremove.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jremove.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jremove.cpp' object='libsciexternal_objects_java_la-sci_jremove.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jremove.lo `test -f 'sci_gateway/cpp/sci_jremove.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jremove.cpp
+
+libsciexternal_objects_java_la-sci_jexists.lo: sci_gateway/cpp/sci_jexists.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jexists.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Tpo -c -o libsciexternal_objects_java_la-sci_jexists.lo `test -f 'sci_gateway/cpp/sci_jexists.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jexists.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jexists.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jexists.cpp' object='libsciexternal_objects_java_la-sci_jexists.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jexists.lo `test -f 'sci_gateway/cpp/sci_jexists.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jexists.cpp
+
+libsciexternal_objects_java_la-sci_junwrap.lo: sci_gateway/cpp/sci_junwrap.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_junwrap.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Tpo -c -o libsciexternal_objects_java_la-sci_junwrap.lo `test -f 'sci_gateway/cpp/sci_junwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwrap.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_junwrap.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_junwrap.cpp' object='libsciexternal_objects_java_la-sci_junwrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_junwrap.lo `test -f 'sci_gateway/cpp/sci_junwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwrap.cpp
+
+libsciexternal_objects_java_la-sci_jautoUnwrap.lo: sci_gateway/cpp/sci_jautoUnwrap.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jautoUnwrap.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoUnwrap.Tpo -c -o libsciexternal_objects_java_la-sci_jautoUnwrap.lo `test -f 'sci_gateway/cpp/sci_jautoUnwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jautoUnwrap.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoUnwrap.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoUnwrap.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jautoUnwrap.cpp' object='libsciexternal_objects_java_la-sci_jautoUnwrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jautoUnwrap.lo `test -f 'sci_gateway/cpp/sci_jautoUnwrap.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jautoUnwrap.cpp
+
+libsciexternal_objects_java_la-sci_junwraprem.lo: sci_gateway/cpp/sci_junwraprem.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_junwraprem.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Tpo -c -o libsciexternal_objects_java_la-sci_junwraprem.lo `test -f 'sci_gateway/cpp/sci_junwraprem.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwraprem.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_junwraprem.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_junwraprem.cpp' object='libsciexternal_objects_java_la-sci_junwraprem.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_junwraprem.lo `test -f 'sci_gateway/cpp/sci_junwraprem.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_junwraprem.cpp
+
+libsciexternal_objects_java_la-sci_jenableTrace.lo: sci_gateway/cpp/sci_jenableTrace.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jenableTrace.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Tpo -c -o libsciexternal_objects_java_la-sci_jenableTrace.lo `test -f 'sci_gateway/cpp/sci_jenableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jenableTrace.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jenableTrace.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jenableTrace.cpp' object='libsciexternal_objects_java_la-sci_jenableTrace.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jenableTrace.lo `test -f 'sci_gateway/cpp/sci_jenableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jenableTrace.cpp
+
+libsciexternal_objects_java_la-sci_jdisableTrace.lo: sci_gateway/cpp/sci_jdisableTrace.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jdisableTrace.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Tpo -c -o libsciexternal_objects_java_la-sci_jdisableTrace.lo `test -f 'sci_gateway/cpp/sci_jdisableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdisableTrace.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jdisableTrace.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jdisableTrace.cpp' object='libsciexternal_objects_java_la-sci_jdisableTrace.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jdisableTrace.lo `test -f 'sci_gateway/cpp/sci_jdisableTrace.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdisableTrace.cpp
+
+libsciexternal_objects_java_la-sci_jdeff.lo: sci_gateway/cpp/sci_jdeff.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jdeff.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Tpo -c -o libsciexternal_objects_java_la-sci_jdeff.lo `test -f 'sci_gateway/cpp/sci_jdeff.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdeff.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jdeff.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jdeff.cpp' object='libsciexternal_objects_java_la-sci_jdeff.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jdeff.lo `test -f 'sci_gateway/cpp/sci_jdeff.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jdeff.cpp
+
+libsciexternal_objects_java_la-sci_jinvoke.lo: sci_gateway/cpp/sci_jinvoke.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jinvoke.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jinvoke.Tpo -c -o libsciexternal_objects_java_la-sci_jinvoke.lo `test -f 'sci_gateway/cpp/sci_jinvoke.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jinvoke.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jinvoke.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jinvoke.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jinvoke.cpp' object='libsciexternal_objects_java_la-sci_jinvoke.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jinvoke.lo `test -f 'sci_gateway/cpp/sci_jinvoke.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jinvoke.cpp
+
+libsciexternal_objects_java_la-sci_jarray.lo: sci_gateway/cpp/sci_jarray.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jarray.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Tpo -c -o libsciexternal_objects_java_la-sci_jarray.lo `test -f 'sci_gateway/cpp/sci_jarray.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jarray.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jarray.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jarray.cpp' object='libsciexternal_objects_java_la-sci_jarray.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jarray.lo `test -f 'sci_gateway/cpp/sci_jarray.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jarray.cpp
+
+libsciexternal_objects_java_la-sci_jcast.lo: sci_gateway/cpp/sci_jcast.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jcast.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Tpo -c -o libsciexternal_objects_java_la-sci_jcast.lo `test -f 'sci_gateway/cpp/sci_jcast.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcast.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jcast.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jcast.cpp' object='libsciexternal_objects_java_la-sci_jcast.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jcast.lo `test -f 'sci_gateway/cpp/sci_jcast.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jcast.cpp
+
+libsciexternal_objects_java_la-sci_jallowClassReloading.lo: sci_gateway/cpp/sci_jallowClassReloading.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jallowClassReloading.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Tpo -c -o libsciexternal_objects_java_la-sci_jallowClassReloading.lo `test -f 'sci_gateway/cpp/sci_jallowClassReloading.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jallowClassReloading.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jallowClassReloading.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jallowClassReloading.cpp' object='libsciexternal_objects_java_la-sci_jallowClassReloading.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jallowClassReloading.lo `test -f 'sci_gateway/cpp/sci_jallowClassReloading.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jallowClassReloading.cpp
+
+libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo: sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Tpo -c -o libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo `test -f 'sci_gateway/cpp/sci_jconvMatrixMethod.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jconvMatrixMethod.cpp' object='libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo `test -f 'sci_gateway/cpp/sci_jconvMatrixMethod.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+
+libsciexternal_objects_java_la-sci_jwrapinfloat.lo: sci_gateway/cpp/sci_jwrapinfloat.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jwrapinfloat.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrapinfloat.Tpo -c -o libsciexternal_objects_java_la-sci_jwrapinfloat.lo `test -f 'sci_gateway/cpp/sci_jwrapinfloat.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrapinfloat.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrapinfloat.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jwrapinfloat.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jwrapinfloat.cpp' object='libsciexternal_objects_java_la-sci_jwrapinfloat.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jwrapinfloat.lo `test -f 'sci_gateway/cpp/sci_jwrapinfloat.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jwrapinfloat.cpp
+
+libsciexternal_objects_java_la-sci_jsetfield.lo: sci_gateway/cpp/sci_jsetfield.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jsetfield.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jsetfield.Tpo -c -o libsciexternal_objects_java_la-sci_jsetfield.lo `test -f 'sci_gateway/cpp/sci_jsetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jsetfield.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jsetfield.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jsetfield.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jsetfield.cpp' object='libsciexternal_objects_java_la-sci_jsetfield.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jsetfield.lo `test -f 'sci_gateway/cpp/sci_jsetfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jsetfield.cpp
+
+libsciexternal_objects_java_la-sci_jautoTranspose.lo: sci_gateway/cpp/sci_jautoTranspose.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jautoTranspose.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoTranspose.Tpo -c -o libsciexternal_objects_java_la-sci_jautoTranspose.lo `test -f 'sci_gateway/cpp/sci_jautoTranspose.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jautoTranspose.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoTranspose.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jautoTranspose.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jautoTranspose.cpp' object='libsciexternal_objects_java_la-sci_jautoTranspose.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jautoTranspose.lo `test -f 'sci_gateway/cpp/sci_jautoTranspose.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jautoTranspose.cpp
+
+libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo: sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo -MD -MP -MF $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Tpo -c -o libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo `test -f 'sci_gateway/cpp/sci_jconvMatrixMethod.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Tpo $(DEPDIR)/libsciexternal_objects_java_la-sci_jconvMatrixMethod.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_jconvMatrixMethod.cpp' object='libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciexternal_objects_java_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsciexternal_objects_java_la-sci_jconvMatrixMethod.lo `test -f 'sci_gateway/cpp/sci_jconvMatrixMethod.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_jconvMatrixMethod.cpp
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+install-libsciexternal_objects_java_la_etcDATA: $(libsciexternal_objects_java_la_etc_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_etc_DATA)'; test -n "$(libsciexternal_objects_java_la_etcdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_etcDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_etc_DATA)'; test -n "$(libsciexternal_objects_java_la_etcdir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_rootDATA: $(libsciexternal_objects_java_la_root_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_root_DATA)'; test -n "$(libsciexternal_objects_java_la_rootdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_rootDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_root_DATA)'; test -n "$(libsciexternal_objects_java_la_rootdir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_sci_gatewayDATA: $(libsciexternal_objects_java_la_sci_gateway_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_sci_gateway_DATA)'; test -n "$(libsciexternal_objects_java_la_sci_gatewaydir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_sci_gatewayDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_sci_gateway_DATA)'; test -n "$(libsciexternal_objects_java_la_sci_gatewaydir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libsciexternal_objects_java_la_includeHEADERS: $(libsciexternal_objects_java_la_include_HEADERS)
+       @$(NORMAL_INSTALL)
+       @list='$(libsciexternal_objects_java_la_include_HEADERS)'; test -n "$(libsciexternal_objects_java_la_includedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'"; \
+         $(INSTALL_HEADER) $$files "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)" || exit $$?; \
+       done
+
+uninstall-libsciexternal_objects_java_la_includeHEADERS:
+       @$(NORMAL_UNINSTALL)
+       @list='$(libsciexternal_objects_java_la_include_HEADERS)'; test -n "$(libsciexternal_objects_java_la_includedir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(libsciexternal_objects_java_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       set x; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       shift; \
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         if test $$# -gt 0; then \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             "$$@" $$unique; \
+         else \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             $$unique; \
+         fi; \
+       fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       test -z "$(CTAGS_ARGS)$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$unique
+
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && $(am__cd) $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) "$$here"
+
+cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
+       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+       case "$(srcdir)" in \
+         [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+         *) sdir=$(subdir)/$(srcdir) ;; \
+       esac; \
+       for i in $$list; do \
+         if test -f "$$i"; then \
+           echo "$(subdir)/$$i"; \
+         else \
+           echo "$$sdir/$$i"; \
+         fi; \
+       done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d "$(distdir)/$$file"; then \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+         else \
+           test -f "$(distdir)/$$file" \
+           || cp -p $$d/$$file "$(distdir)/$$file" \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+       $(MAKE) $(AM_MAKEFLAGS) check-local
+check: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+       for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_etcdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_rootdir)" "$(DESTDIR)$(libsciexternal_objects_java_la_sci_gatewaydir)" "$(DESTDIR)$(libsciexternal_objects_java_la_includedir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
+install: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+       clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+       distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+       install-libsciexternal_objects_java_la_etcDATA \
+       install-libsciexternal_objects_java_la_includeHEADERS \
+       install-libsciexternal_objects_java_la_rootDATA \
+       install-libsciexternal_objects_java_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libsciexternal_objects_java_la_etcDATA \
+       uninstall-libsciexternal_objects_java_la_includeHEADERS \
+       uninstall-libsciexternal_objects_java_la_rootDATA \
+       uninstall-libsciexternal_objects_java_la_sci_gatewayDATA \
+       uninstall-pkglibLTLIBRARIES
+
+.MAKE: all check check-am install install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+       clean clean-generic clean-libtool clean-local \
+       clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist \
+       ctags distclean distclean-compile distclean-generic \
+       distclean-libtool distclean-local distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-data-local install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-html-local install-info \
+       install-info-am install-libsciexternal_objects_java_la_etcDATA \
+       install-libsciexternal_objects_java_la_includeHEADERS \
+       install-libsciexternal_objects_java_la_rootDATA \
+       install-libsciexternal_objects_java_la_sci_gatewayDATA \
+       install-man install-pdf install-pdf-am \
+       install-pkglibLTLIBRARIES install-ps install-ps-am \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+       pdf pdf-am ps ps-am tags uninstall uninstall-am \
+       uninstall-libsciexternal_objects_java_la_etcDATA \
+       uninstall-libsciexternal_objects_java_la_includeHEADERS \
+       uninstall-libsciexternal_objects_java_la_rootDATA \
+       uninstall-libsciexternal_objects_java_la_sci_gatewayDATA \
+       uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+       if test -d $(mydatadir)/tests; then \
+         @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+       fi
+check-code:
+       if test -f build.xml; then \
+               $(ANT) checkstyle; \
+       fi
+       if test -x "$(SPLINT)"; then \
+               $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+       fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@       @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@       if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@       if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@               $(ANT); \
+@NEED_JAVA_TRUE@       fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@       @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@       if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@       if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@               $(ANT) clean; \
+@NEED_JAVA_TRUE@       fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@    @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@    SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@    if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@            for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@                    echo "Swig process of $$file ..."; \
+@SWIG_TRUE@                    $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@            done; \
+@SWIG_TRUE@    fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@    if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@            for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@                    echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@                    $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
+@GIWS_TRUE@            done; \
+@GIWS_TRUE@    fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@    @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@    echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@    $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
+
+macros:
+       -@( if test ! -x $(top_builddir)/scilab-bin; then \
+               echo "Error : Cannot build $< : Scilab has not been built"; \
+       else \
+               $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+       fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+       @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+               echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+               rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+       done
+
+test:
+# More tests could be added here
+       @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+       if test -f build.xml -a $$USEANT -eq 1; then \
+               $(ANT) test; \
+       fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+       -@( if test ! -x $(top_builddir)/scilab-bin; then \
+       echo "Error : Cannot build $< : Scilab has not been build"; \
+       else \
+       echo "Creating $@"; \
+       $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+       fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+       @if test -d $(srcdir)/javadoc; then \
+               cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+       fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@        @echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@        for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@         if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@          $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@                if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@                  for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@                  done ; \
+@INSTALL_HELP_XML_TRUE@                fi; \
+@INSTALL_HELP_XML_TRUE@         fi; \
+@INSTALL_HELP_XML_TRUE@        done; \
+@INSTALL_HELP_XML_TRUE@        @echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@         if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@          $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@                if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@                  for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@                    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@                $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@                  done ; \
+@INSTALL_HELP_XML_TRUE@                fi; \
+@INSTALL_HELP_XML_TRUE@        fi
+install-data-local:
+# Install the tests
+       @echo "-------- Install tests (if any) --------"; \
+       for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+         if test -d $(srcdir)/$$dir/; then \
+           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+                 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+                   if test -d "$(srcdir)/$$dir/$$file"; then \
+                         echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+                         $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+                   else \
+                     echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+                 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+                   fi \
+                 done; \
+         fi; \
+       done
+# Install the help chapter
+       @echo "-------- Install the help chapter (if any) --------"; \
+       for lang in $(HELP_CHAPTERLANG); do \
+               HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+               if test -f $$HELPFILE; then \
+                       echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+                       $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+                       echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+                       $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+               fi; \
+       done
+# Install the demos & examples
+       @echo "-------- Install demos & examples (if any) --------"; \
+       for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+         if test -d $(srcdir)/$$dir/; then \
+           $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+                 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+                   if test -d "$(srcdir)/$$dir/$$file"; then \
+                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+                         $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+                   else \
+                     echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+                 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+                   fi \
+                 done; \
+         fi; \
+       done
+# Install the macros
+       @echo "-------- Install macros (if any) --------"; \
+       for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+         $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+               if test -d $(srcdir)/$$dir/; then \
+                       FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+                       if test -n "$(MACROSSPECIALEXT)"; then \
+                               specialExtDir=""; \
+                               for specialExt in $(MACROSSPECIALEXT); do \
+                                       specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+                               done; \
+                               FILELIST="$$FILELIST $$specialExtDir"; \
+                       fi; \
+                 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+                 done; \
+               fi; \
+       done
+# Install java files (.jar)
+       @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+       echo "-------- Install jar files --------"; \
+    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+         for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+                   echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+               $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+         done ; \
+       fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+       rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/scilab/modules/external_objects_java/TODO b/scilab/modules/external_objects_java/TODO
new file mode 100644 (file)
index 0000000..53a3819
--- /dev/null
@@ -0,0 +1,8 @@
+jinvoke_db
+jnull
+jwrapinchar
+
+In the help pages, add the matching types <=> java
+
+Add ecj into the thirdparty
+
diff --git a/scilab/modules/external_objects_java/build.xml b/scilab/modules/external_objects_java/build.xml
new file mode 100644 (file)
index 0000000..48fc92f
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ * 
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at    
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<project name="external_objects_java" default="jar">
+    <import file="../../build.incl.xml"/>
+    <property name="library.name" value="${library.external_objects_java.name}"/>
+    <property name="library.title" value="External object Java implementation"/>
+    <description>
+        Build the Scilab EXTERNAL_OBJECTS_JAVA module
+    </description>
+</project>
diff --git a/scilab/modules/external_objects_java/etc/external_objects_java.quit b/scilab/modules/external_objects_java/etc/external_objects_java.quit
new file mode 100644 (file)
index 0000000..4442466
--- /dev/null
@@ -0,0 +1,12 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+
+if getscilabmode() <> "API" then
+  xmlDelete("all");
+end
diff --git a/scilab/modules/external_objects_java/etc/external_objects_java.start b/scilab/modules/external_objects_java/etc/external_objects_java.start
new file mode 100644 (file)
index 0000000..cdb5487
--- /dev/null
@@ -0,0 +1,13 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+
+// TODO : make this '72' more dynamic (with a funptr)
+intppty(72);
+jvoid = evoid;
+//load("SCI/modules/external_objects_java/macros/lib");
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/external_objects_java.iss b/scilab/modules/external_objects_java/external_objects_java.iss
new file mode 100644 (file)
index 0000000..217f60d
--- /dev/null
@@ -0,0 +1,46 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) SCilab Enterprises - 2012 - Antoine ELIAS
+;
+; 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
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; EXTERNAL_OBJECTS_JAVA module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define EXTERNAL_OBJECTS_JAVA_JAVA "EXTERNAL_OBJECTS_JAVA_java"
+;
+Source: bin\EXTERNAL_OBJECTS_JAVA.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: bin\EXTERNAL_OBJECTS_JAVA.lib; DestDir: {app}\bin; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\sci_gateway\{#EXTERNAL_OBJECTS_JAVA}_gateway.xml; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\sci_gateway; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\includes\*.h; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\includes; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\includes\*.hxx; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\includes; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\etc\{#EXTERNAL_OBJECTS_JAVA}.quit; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\etc; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\etc\{#EXTERNAL_OBJECTS_JAVA}.start; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\etc; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\buildmacros.sce; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\buildmacros.bat; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\cleanmacros.bat; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\*.bin; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\*.sci; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\lib; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\names; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\lib; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\names; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\*.sci; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\macros\*.bin; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\macros; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE}
+;
+Source: modules\{#EXTERNAL_OBJECTS_JAVA}\tests\*.*; DestDir: {app}\modules\{#EXTERNAL_OBJECTS_JAVA}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_JVM_MODULE} and {#COMPN_TESTS}
+
+;--------------------------------------------------------------------------------------------------------------
diff --git a/scilab/modules/external_objects_java/external_objects_java.rc b/scilab/modules/external_objects_java/external_objects_java.rc
new file mode 100644 (file)
index 0000000..f0300e8
--- /dev/null
@@ -0,0 +1,97 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE 
+BEGIN
+    "resource.h\0"
+END
+
+
+3 TEXTINCLUDE 
+BEGIN
+    "\r\n"
+    "\0"
+END
+
+#endif    // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,0,0
+ PRODUCTVERSION 5,5,0,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040c04b0"
+        BEGIN
+            VALUE "FileDescription", "external_objects_java module"
+            VALUE "FileVersion", "5, 5, 0, 0"
+            VALUE "InternalName", "external_objects_java module"
+            VALUE "LegalCopyright", "Copyright (C) 2013"
+            VALUE "OriginalFilename", "external_objects_java.dll"
+            VALUE "ProductName", " external_objects_java"
+            VALUE "ProductVersion", "5, 5, 0, 0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x40c, 1200
+    END
+END
+
+#endif    // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif    // not APSTUDIO_INVOKED
+
diff --git a/scilab/modules/external_objects_java/external_objects_java.vcxproj b/scilab/modules/external_objects_java/external_objects_java.vcxproj
new file mode 100644 (file)
index 0000000..6977b0f
--- /dev/null
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{C51BA525-D7C8-4385-862D-F8E67187B827}</ProjectGuid>
+    <RootNamespace>external_objects</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>includes;src/cpp;src/jni;../../java/jdk/include;../../java/jdk/include/win32;../../libs/intl;../windows_tools/includes;../commons/src/jni;../external_objects/includes;../api_scilab/includes;../core/includes;../localization/includes;../output_stream/includes;../jvm/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_JAVA_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>
+      </Message>
+      <Command>
+      </Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>
+      </AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>includes;src/cpp;src/jni;../../java/jdk/include;../../java/jdk/include/win32;../../libs/intl;../windows_tools/includes;../commons/src/jni;../external_objects/includes;../api_scilab/includes;../core/includes;../localization/includes;../output_stream/includes;../jvm/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_JAVA_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>
+      </Message>
+      <Command>
+      </Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>
+      </AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>includes;src/cpp;src/jni;../../java/jdk/include;../../java/jdk/include/win32;../../libs/intl;../windows_tools/includes;../commons/src/jni;../external_objects/includes;../api_scilab/includes;../core/includes;../localization/includes;../output_stream/includes;../jvm/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_JAVA_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>
+      </Message>
+      <Command>
+      </Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>
+      </AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>includes;src/cpp;src/jni;../../java/jdk/include;../../java/jdk/include/win32;../../libs/intl;../windows_tools/includes;../commons/src/jni;../external_objects/includes;../api_scilab/includes;../core/includes;../localization/includes;../output_stream/includes;../jvm/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;EXTERNAL_OBJECTS_JAVA_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>
+      </Message>
+      <Command>
+      </Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>
+      </AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="sci_gateway\cpp\sci_jallowClassReloading.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jarray.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jautoTranspose.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jautoUnwrap.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jcast.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jcompile.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jconvMatrixMethod.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jdeff.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jdisableTrace.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jenableTrace.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jexists.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jgetclassname.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jgetfield.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jgetfields.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jgetmethods.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jimport.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jinvoke.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jnewInstance.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jremove.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jsetfield.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_junwrap.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_junwraprem.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jwrap.cpp" />
+    <ClCompile Include="sci_gateway\cpp\sci_jwrapinfloat.cpp" />
+    <ClCompile Include="sci_gateway\c\gw_external_objects_java.c" />
+    <ClCompile Include="src\cpp\dllMain.cpp" />
+    <ClCompile Include="src\cpp\JavaOptionsSetter.cpp" />
+    <ClCompile Include="src\cpp\NoMoreScilabMemoryException.cpp" />
+    <ClCompile Include="src\cpp\ScilabJavaEnvironment.cpp" />
+    <ClCompile Include="src\cpp\ScilabJavaEnvironmentWrapper.cpp" />
+    <ClCompile Include="src\jni\ScilabClassLoader.cpp" />
+    <ClCompile Include="src\jni\ScilabJavaArray.cpp" />
+    <ClCompile Include="src\jni\ScilabJavaClass.cpp" />
+    <ClCompile Include="src\jni\ScilabJavaCompiler.cpp" />
+    <ClCompile Include="src\jni\ScilabJavaObject.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\api_scilab\api_scilab.vcxproj">
+      <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\commons\src\c\commons.vcxproj">
+      <Project>{eca09a1e-6d12-4a47-92e1-a671c181df77}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\core\src\c\core.vcxproj">
+      <Project>{c6e2bc17-34d8-46e4-85f3-6293cb21adcd}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\external_objects\external_objects.vcxproj">
+      <Project>{3142e52c-309a-41d9-bd12-7b7e9e3bdd44}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\jvm\libjvm.vcxproj">
+      <Project>{8ba2dda8-bd04-4d4d-8ee6-6caa955f7470}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj">
+      <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\windows_tools\src\c\scilab_windows\scilab_windows.vcxproj">
+      <Project>{8028f371-6a94-4a26-8804-6e7f05f1d1aa}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="includes\dynlib_external_objects_java_scilab.h" />
+    <ClInclude Include="includes\gw_external_objects_java.h" />
+    <ClInclude Include="src\cpp\JavaOptionsHelper.hxx" />
+    <ClInclude Include="src\cpp\JavaOptionsSetter.hxx" />
+    <ClInclude Include="src\cpp\JIMSwrapunwrap.h" />
+    <ClInclude Include="src\cpp\noMoreMemory.h" />
+    <ClInclude Include="src\cpp\NoMoreScilabMemoryException.hxx" />
+    <ClInclude Include="src\cpp\ScilabJavaEnvironment.hxx" />
+    <ClInclude Include="src\cpp\ScilabJavaEnvironmentWrapper.hxx" />
+    <ClInclude Include="src\cpp\ScilabJavaException.hxx" />
+    <ClInclude Include="src\cpp\unwrap.hpp" />
+    <ClInclude Include="src\cpp\wrap.hpp" />
+    <ClInclude Include="src\cpp\WrapAsDirectBufferTemplate.hpp" />
+    <ClInclude Include="src\jni\ScilabClassLoader.hxx" />
+    <ClInclude Include="src\jni\ScilabJavaArray.hxx" />
+    <ClInclude Include="src\jni\ScilabJavaClass.hxx" />
+    <ClInclude Include="src\jni\ScilabJavaCompiler.hxx" />
+    <ClInclude Include="src\jni\ScilabJavaObject.hxx" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/external_objects_java.vcxproj.filters b/scilab/modules/external_objects_java/external_objects_java.vcxproj.filters
new file mode 100644 (file)
index 0000000..ad6994e
--- /dev/null
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{882e5383-bba2-4869-84d6-9f18e608abaa}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{10a5ce4c-f9be-4490-9c72-7123a3384640}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Resource File">
+      <UniqueIdentifier>{a76f8a77-2bd3-4f13-9ab2-7cb26ad4418e}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Libraries Dependencies">
+      <UniqueIdentifier>{49ac0be0-21fc-461e-adf6-626a904f8064}</UniqueIdentifier>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="src\cpp\ScilabJavaEnvironmentWrapper.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\ScilabJavaEnvironment.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\NoMoreScilabMemoryException.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\JavaOptionsSetter.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\jni\ScilabClassLoader.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\jni\ScilabJavaArray.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\jni\ScilabJavaClass.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\jni\ScilabJavaCompiler.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\jni\ScilabJavaObject.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\c\gw_external_objects_java.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jallowClassReloading.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jarray.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jcast.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jcompile.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jdeff.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jdisableTrace.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jenableTrace.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jexists.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jgetclassname.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jgetfield.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jgetfields.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jgetmethods.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jimport.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jnewInstance.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jremove.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_junwrap.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_junwraprem.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jwrap.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="src\cpp\dllMain.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jwrapinfloat.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jsetfield.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jautoUnwrap.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jautoTranspose.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jinvoke.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_gateway\cpp\sci_jconvMatrixMethod.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="src\cpp\JavaOptionsHelper.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\JavaOptionsSetter.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\JIMSwrapunwrap.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\noMoreMemory.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\NoMoreScilabMemoryException.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\ScilabJavaEnvironment.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\ScilabJavaEnvironmentWrapper.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\ScilabJavaException.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\unwrap.hpp">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\wrap.hpp">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\cpp\WrapAsDirectBufferTemplate.hpp">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\jni\ScilabClassLoader.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\jni\ScilabJavaArray.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\jni\ScilabJavaClass.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\jni\ScilabJavaCompiler.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="src\jni\ScilabJavaObject.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\dynlib_external_objects_java_scilab.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="includes\gw_external_objects_java.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/external_objects_java/help/en_US/addchapter.sce b/scilab/modules/external_objects_java/help/en_US/addchapter.sce
new file mode 100644 (file)
index 0000000..4ec4463
--- /dev/null
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - 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
+
+add_help_chapter("Java from Scilab",SCI+"/modules/external_objects_java/help/en_US",%T);
diff --git a/scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml b/scilab/modules/external_objects_java/help/en_US/jallowClassReloading.xml
new file mode 100644 (file)
index 0000000..45a2fc6
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* 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 xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jallowClassReloading">
+    <refnamediv>
+        <refname>jallowClassReloading</refname>
+        <refpurpose>Allow the class reloading</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jallowClassReloading(bool)
+            isAllowed = jallowClassReloading()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>bool</term>
+                <listitem>
+                    <para>A boolean to allow or disallow</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>isAllowed</term>
+                <listitem>
+                    <para>A boolean to indicate if the class relaoding is allowed or not</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Allow or disallow the class reloading. The reloading is only available for the classes which are not distributed in the Java framework. The <literal>jimport</literal> function uses this parameter.
+        </para>
+        <para>
+            By default, it is set to false (since it is a development tool).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jallowClassReloading(%t);
+               jallowClassReloading()
+               jallowClassReloading(%f);
+      ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="jimport">jimport</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jarray.xml b/scilab/modules/external_objects_java/help/en_US/jarray.xml
new file mode 100644 (file)
index 0000000..19fa236
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* 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 xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jarray">
+    <refnamediv>
+        <refname>jarray</refname>
+        <refpurpose>Create a Java array</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            jarray(className, n_1 [, n_2 [, ...]])
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>className</term>
+                <listitem>
+                    <para>A string giving the class name</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>n_i</term>
+                <listitem>
+                    <para>An integer giving the array dimension</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            Creates a multidimensional array n_1x...xn_p of elements with type className. An array element can be accessed in using classical Scilab notations but take care that the index must stay between 0 and n_i (like in Java).
+        </para>
+        <para>
+            The className can be one of the primitive datatypes: double, int, boolean, short, long, float, char and byte.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               a = jarray("java.lang.String", 2, 2, 3);
+               // array insertion
+               a(0, 0, 2) = "Hi Jims !";
+               a(1, 0, 2) = "Hi Jims again !!"
+
+               // array extraction
+               length(a(1, 0, 2));
+               a(1, 0, 2)
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jautoTranspose.xml b/scilab/modules/external_objects_java/help/en_US/jautoTranspose.xml
new file mode 100644 (file)
index 0000000..4ebe4d7
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - S/E - 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 xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jautoTranspose">
+    <refnamediv>
+        <refname>jautoTranspose</refname>
+        <refpurpose>Set the way to convert matrices</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>
+            method = jautoTranspose()
+            jautoTranspose(method)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Parameters</title>
+        <variablelist>
+            <varlistentry>
+                <term>method</term>
+                <listitem>
+                    <para>A boolean giving the type of conversion</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            In Scilab a matrix such as <literal>[1 2 3;4 5 6]</literal> is stored <literal>[1 4 2 5 3 6]</literal> (column by column). In Java the same matrix is stored as <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal> (array of pointers).
+        </para>
+        <para>
+            When method is '%f' (column-row), the internal array <literal>[1 4 2 5 3 6]</literal> is passed as it is and Java creates the array <literal>[-&gt;[1 4] -&gt;[2 5] -&gt;[3 6]]</literal>.
+        </para>
+        <para>
+            When method is 't' (row-column), the array <literal>[1 4 2 5 3 6]</literal> is passed as <literal>[1 2 3 4 5 6]</literal> and converted into <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal>.
+        </para>
+        <para>
+            By default, the method is set to '%f'.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+               jautoTranspose()
+               jautoTranspose(%t)
+      ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml b/scilab/modules/external_objects_java/help/en_US/jautoUnwrap.xml