Salome HOME
modules/yacs.git
6 years agosometimes, YacsLoaderTest_swig fails prematurely: give some time to ensure echoSrv...
Paul RASCLE [Sat, 27 Jan 2018 18:49:11 +0000 (19:49 +0100)]
sometimes, YacsLoaderTest_swig fails prematurely: give some time to ensure echoSrv is properly started before test

6 years agofix YacsPMMLBasicsTest: problem of convertPyObjectToString in TypeConversions.cxx V9_0_0
Paul RASCLE [Tue, 16 Jan 2018 20:12:13 +0000 (21:12 +0100)]
fix YacsPMMLBasicsTest: problem of convertPyObjectToString in TypeConversions.cxx
The solution is not clear.
TODO: A better understanding of what to do is necessary
Do we need a separate treatment for string (maybe with bad encoding?) and other types of PyObject
Do we need str() or repr() and what are the possible causes of failure of str() ?

6 years agofix YacsLoaderTest_swig: abort at the end of python -m unittest discover, in runUnitT...
Paul RASCLE [Sat, 13 Jan 2018 13:44:54 +0000 (14:44 +0100)]
fix YacsLoaderTest_swig: abort at the end of python -m unittest discover, in runUnitTests.sh.
test15 in testSaveLadRun.py leads to a decrement on ref count visible only at the end on garbage collection.
The decrement is visible on PythonNode.cxx when activating trace with _DEVDEBUG_.
The decrement is related to the use of get() on output port instead of getPyObj() (see comment on PythonPorts.hxx).
Should we remove the use of get() in SWIG or correct it in SWIG ?
Use of get() as it is in Python leads to a potential abort later...

6 years agomerge V9_dev ngr/fix_swig_on_py3_WIP
Paul RASCLE [Fri, 12 Jan 2018 08:47:33 +0000 (09:47 +0100)]
merge V9_dev

6 years agotransform std::string in python3 string with PyUnicode_FromString instead of PyBytes_...
Paul RASCLE [Fri, 12 Jan 2018 08:09:41 +0000 (09:09 +0100)]
transform std::string in python3 string with PyUnicode_FromString instead of PyBytes_FromString

6 years agofix DistributedPythonNode input an output serialization via CORBA
Paul RASCLE [Wed, 10 Jan 2018 22:43:48 +0000 (23:43 +0100)]
fix DistributedPythonNode input an output serialization via CORBA

6 years agopython 2 to 3
Paul RASCLE [Mon, 8 Jan 2018 14:08:13 +0000 (15:08 +0100)]
python 2 to 3

6 years agoPyBytes_FromString to PyUnicodeFromString
Paul RASCLE [Sun, 7 Jan 2018 22:27:05 +0000 (23:27 +0100)]
PyBytes_FromString to PyUnicodeFromString

6 years agodebug YACS tests. int ant longint are the same in Python 3
Paul RASCLE [Sun, 7 Jan 2018 15:03:29 +0000 (16:03 +0100)]
debug YACS tests. int ant longint are the same in Python 3

6 years agotry fix REFCOUNT_TEMPLATE...
Paul RASCLE [Wed, 3 Jan 2018 21:15:03 +0000 (22:15 +0100)]
try fix REFCOUNT_TEMPLATE...

6 years agoMerge remote-tracking branch 'origin/master' into V9_dev
rnv [Thu, 28 Dec 2017 15:33:39 +0000 (18:33 +0300)]
Merge remote-tracking branch 'origin/master' into V9_dev

6 years agoMerge V8_4_BR branch.
rnv [Wed, 13 Dec 2017 09:19:29 +0000 (12:19 +0300)]
Merge V8_4_BR branch.

6 years agoDisable py2yacs test. V8_4_BR omu/fix84rc3 V8_4_0 V8_4_0rc4
Ovidiu Mircescu [Mon, 4 Dec 2017 12:22:15 +0000 (13:22 +0100)]
Disable py2yacs test.

This test needs a running salome session. It should be put back after salome v8.4.

6 years agoUse a new container when creating a schema whith py2yacs.
Ovidiu Mircescu [Wed, 29 Nov 2017 17:18:32 +0000 (18:18 +0100)]
Use a new container when creating a schema whith py2yacs.

6 years agoMerge branch 'agy/EDF15828'
Anthony Geay [Mon, 27 Nov 2017 14:24:07 +0000 (15:24 +0100)]
Merge branch 'agy/EDF15828'

6 years agoYDFX gives to the pyscript nodes into study function the ___idx___ var to identify...
Anthony Geay [Thu, 23 Nov 2017 16:09:59 +0000 (17:09 +0100)]
YDFX gives to the pyscript nodes into study function the ___idx___ var to identify id into the design of experiments

6 years agoUse a new container instead of the default one in py2yacs.
Ovidiu Mircescu [Thu, 23 Nov 2017 16:44:51 +0000 (17:44 +0100)]
Use a new container instead of the default one in py2yacs.

6 years agoNew capability of Executor to suspend/resume in a consistent state
Anthony Geay [Fri, 10 Nov 2017 06:27:51 +0000 (07:27 +0100)]
New capability of Executor to suspend/resume in a consistent state

6 years agoSWIG : Looking for a fix of REFCOUNT_TEMPLATE swigging...
Nicolas Geimer [Wed, 4 Oct 2017 12:10:26 +0000 (14:10 +0200)]
SWIG : Looking for a fix of REFCOUNT_TEMPLATE swigging...

6 years agoIncrement version: 8.4.0 cbr/crowdin_V8_4_BR V8_4_0b1 V8_4_0rc1 V8_4_0rc2 V8_4_0rc3
vsr [Tue, 3 Oct 2017 08:19:15 +0000 (11:19 +0300)]
Increment version: 8.4.0

6 years agoMerge branch 'tlr/playground_optimization'
Ovidiu Mircescu [Fri, 22 Sep 2017 13:07:23 +0000 (15:07 +0200)]
Merge branch 'tlr/playground_optimization'

6 years agofiles forgotten on previous comit
Lauffenburger Thomas [Mon, 18 Sep 2017 14:10:03 +0000 (16:10 +0200)]
files forgotten on previous comit

6 years agoOptimized algo for PlayGround
Lauffenburger Thomas [Tue, 1 Aug 2017 09:06:05 +0000 (11:06 +0200)]
Optimized algo for PlayGround

6 years agoMerge master branch into V9_dev
rnv [Fri, 18 Aug 2017 15:29:09 +0000 (18:29 +0300)]
Merge master branch into V9_dev

6 years agoNew Py2YacsDialog using PyEditor_Window. V8_4_0a1 V8_4_0a2
Ovidiu Mircescu [Wed, 16 Aug 2017 15:12:46 +0000 (17:12 +0200)]
New Py2YacsDialog using PyEditor_Window.

6 years agoFix crushing when asking the error report in ydefx.
Ovidiu Mircescu [Fri, 11 Aug 2017 08:18:05 +0000 (10:18 +0200)]
Fix crushing when asking the error report in ydefx.

6 years agoMerge remote-tracking branch 'origin/master' into V9_dev
rnv [Thu, 3 Aug 2017 15:34:15 +0000 (18:34 +0300)]
Merge remote-tracking branch 'origin/master' into V9_dev

6 years agocleaning useless part of algo
Lauffenburger Thomas [Mon, 31 Jul 2017 12:26:59 +0000 (14:26 +0200)]
cleaning useless part of algo

6 years agounderload is better than overload (because elementary nodes are counted here)
Lauffenburger Thomas [Fri, 28 Jul 2017 13:20:40 +0000 (15:20 +0200)]
underload is better than overload (because elementary nodes are counted here)

6 years agoFix compil errors from merge of omu/py2yacsgui
Nicolas Geimer [Wed, 26 Jul 2017 15:02:42 +0000 (17:02 +0200)]
Fix compil errors from merge of omu/py2yacsgui

6 years agoMinor fixes to ResourceWidget
Ovidiu Mircescu [Fri, 21 Jul 2017 13:49:16 +0000 (15:49 +0200)]
Minor fixes to ResourceWidget

Add a scrollbar.
Modify some default values.

6 years agoFix compilation error with Python 3.
rnv [Thu, 20 Jul 2017 13:54:01 +0000 (16:54 +0300)]
Fix compilation error with Python 3.

6 years agoMerge remote-tracking branch 'origin/master' into V9_dev
rnv [Thu, 20 Jul 2017 13:34:05 +0000 (16:34 +0300)]
Merge remote-tracking branch 'origin/master' into V9_dev

6 years agoFix compilation error.
rnv [Thu, 20 Jul 2017 13:33:22 +0000 (16:33 +0300)]
Fix compilation error.

6 years agoMerge branch 'master' into V9_dev
rnv [Thu, 20 Jul 2017 09:01:58 +0000 (12:01 +0300)]
Merge branch 'master' into V9_dev

6 years agoMerge branch 'omu/py2yacsgui'
Ovidiu Mircescu [Tue, 11 Jul 2017 11:35:20 +0000 (13:35 +0200)]
Merge branch 'omu/py2yacsgui'

6 years agoAdd a generic widget for choosing resource parameters. omu/py2yacsgui
Ovidiu Mircescu [Tue, 11 Jul 2017 09:42:21 +0000 (11:42 +0200)]
Add a generic widget for choosing resource parameters.

6 years agoMake YDFXGUI not segmentation fault
Anthony Geay [Fri, 7 Jul 2017 09:57:15 +0000 (11:57 +0200)]
Make YDFXGUI not segmentation fault

6 years agoRemove unnecessary debug messages
Nicolas Geimer [Thu, 6 Jul 2017 13:07:44 +0000 (15:07 +0200)]
Remove unnecessary debug messages

6 years ago[PY3] disabling debug for this file
Nicolas Geimer [Fri, 30 Jun 2017 13:56:52 +0000 (15:56 +0200)]
[PY3] disabling debug for this file

6 years ago[PY3] Still porting test...
Nicolas Geimer [Fri, 30 Jun 2017 13:55:53 +0000 (15:55 +0200)]
[PY3] Still porting test...

6 years agoMerge Python 3 porting.
rnv [Thu, 22 Jun 2017 16:45:01 +0000 (19:45 +0300)]
Merge Python 3 porting.

7 years ago[PY3] Fixing test in progress ngr/python3_dev Before_python3_27062017
Nicolas Geimer [Wed, 14 Jun 2017 15:32:16 +0000 (17:32 +0200)]
[PY3] Fixing test in progress

7 years agoMerge multi-study removal branch.
rnv [Tue, 13 Jun 2017 10:01:34 +0000 (13:01 +0300)]
Merge multi-study removal branch.

7 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/yacs
Ovidiu Mircescu [Fri, 9 Jun 2017 12:32:45 +0000 (14:32 +0200)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/yacs

7 years agoFix a pb with recursively redundant links
Lauffenburger Thomas [Tue, 6 Jun 2017 07:34:52 +0000 (09:34 +0200)]
Fix a pb with recursively redundant links

Signed-off-by: Ovidiu Mircescu <ovidiu.mircescu@edf.fr>
7 years agopy2yacsgui now produces an xml file on exit.
Ovidiu Mircescu [Fri, 9 Jun 2017 11:53:42 +0000 (13:53 +0200)]
py2yacsgui now produces an xml file on exit.

7 years agoPorting Python3: Decode strings
Gilles DAVID [Tue, 6 Jun 2017 12:40:23 +0000 (14:40 +0200)]
Porting Python3: Decode strings

7 years agoAttempt to correct pb detected with swig3.0.8 on FED24 Before_multi_study_removal_06072017
Anthony Geay [Fri, 2 Jun 2017 05:58:32 +0000 (07:58 +0200)]
Attempt to correct pb detected with swig3.0.8 on FED24

7 years agoRNV: add missing <limits> header.
Roman NIKOLAEV [Thu, 1 Jun 2017 12:31:20 +0000 (15:31 +0300)]
RNV: add missing <limits> header.

7 years agoPython 3 porting
Gilles DAVID [Wed, 31 May 2017 06:35:02 +0000 (08:35 +0200)]
Python 3 porting

7 years agoPython 3: porting tests
Gilles DAVID [Wed, 31 May 2017 06:34:29 +0000 (08:34 +0200)]
Python 3: porting tests

7 years agoMerge branch 'V8_3_BR' into ngr/python3_dev
Gilles DAVID [Tue, 30 May 2017 13:40:11 +0000 (15:40 +0200)]
Merge branch 'V8_3_BR' into ngr/python3_dev

7 years agoMerge V8_3_BR & rnv/win_swig_generation branches
rnv [Tue, 30 May 2017 10:12:54 +0000 (13:12 +0300)]
Merge V8_3_BR & rnv/win_swig_generation branches

7 years agoMerge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_gener... rnv/win_swig_generation
rnv [Tue, 30 May 2017 08:40:27 +0000 (11:40 +0300)]
Merge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_generation

7 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agooptparse => argparse
Gilles DAVID [Wed, 24 May 2017 11:39:00 +0000 (13:39 +0200)]
optparse => argparse

7 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/yacs
Anthony Geay [Wed, 24 May 2017 05:47:22 +0000 (07:47 +0200)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/yacs

7 years agoStill a problem with forward
Anthony Geay [Wed, 24 May 2017 05:47:13 +0000 (07:47 +0200)]
Still a problem with forward

7 years agoPython3: print => print()
Gilles DAVID [Mon, 22 May 2017 13:53:20 +0000 (15:53 +0200)]
Python3: print => print()

7 years agoFix test HPDecorator.
Ovidiu Mircescu [Tue, 16 May 2017 12:29:31 +0000 (14:29 +0200)]
Fix test HPDecorator.

7 years agoadd the new attribut weight in xml
Lauffenburger Thomas [Fri, 12 May 2017 14:34:00 +0000 (16:34 +0200)]
add the new attribut weight in xml

Signed-off-by: Ovidiu Mircescu <ovidiu.mircescu@edf.fr>
7 years agoFor non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer
Anthony Geay [Fri, 12 May 2017 11:36:31 +0000 (13:36 +0200)]
For non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer

7 years agoCorrection of bug detected by the boss
Anthony Geay [Fri, 12 May 2017 08:58:09 +0000 (10:58 +0200)]
Correction of bug detected by the boss

7 years agotest2 has been desactivated waiting for a dedicated base test to address multi nodes...
Anthony Geay [Wed, 10 May 2017 07:56:33 +0000 (09:56 +0200)]
test2 has been desactivated waiting for a dedicated base test to address multi nodes cases

7 years ago[EDF12520] : Optimization of placements of Kernel containers in ForEachLoop/HP Contai...
Anthony Geay [Tue, 14 Mar 2017 08:01:47 +0000 (09:01 +0100)]
[EDF12520] : Optimization of placements of Kernel containers in ForEachLoop/HP Container containers context

7 years ago[PY3] Fix appels à xrange dans les schéma xml et scripts python
Gilles DAVID [Tue, 2 May 2017 17:02:40 +0000 (19:02 +0200)]
[PY3] Fix appels à xrange dans les schéma xml et scripts python

7 years ago[PY3] Fix appels à print dans les schéma xml et scripts python
Gilles DAVID [Tue, 2 May 2017 17:01:44 +0000 (19:01 +0200)]
[PY3] Fix appels à print dans les schéma xml et scripts python

7 years ago[PY3] Convert py2yacs into Python3
Gilles DAVID [Tue, 2 May 2017 16:16:04 +0000 (18:16 +0200)]
[PY3] Convert py2yacs into Python3

7 years agoUpdate copyrights in the documentation. V8_3_BR V8_3_0 V8_3_0rc4 V8_3_0rc5 V8_3_0rc6
rnv [Fri, 28 Apr 2017 13:26:36 +0000 (16:26 +0300)]
Update copyrights in the documentation.

7 years agoAdd py2yacsgui.
Ovidiu Mircescu [Fri, 28 Apr 2017 08:56:05 +0000 (10:56 +0200)]
Add py2yacsgui.

7 years agoMerge branch 'master' into V8_3_BR V8_3_0rc3
rnv [Mon, 24 Apr 2017 15:47:18 +0000 (18:47 +0300)]
Merge branch 'master' into V8_3_BR

7 years agoPython is no longer initialized by YACSEvalSession.
Ovidiu Mircescu [Fri, 21 Apr 2017 13:33:38 +0000 (15:33 +0200)]
Python is no longer initialized by YACSEvalSession.

Python initialization has to be done outside the YACSevalYFX lib.

7 years agoFix undefined reference when using idefix as a library.
Ovidiu Mircescu [Fri, 21 Apr 2017 13:18:23 +0000 (15:18 +0200)]
Fix undefined reference when using idefix as a library.

We had the following error when linking against YACSevalYFX library:
undefined reference to `YACSEvalSeqAnyInternal<double>::size() const

7 years ago[PY3] Runtime tests ok / _DEVDEBUG_ ok
Nicolas Geimer [Thu, 20 Apr 2017 16:35:58 +0000 (18:35 +0200)]
[PY3] Runtime tests ok / _DEVDEBUG_ ok

7 years ago[PYTHON3] Compatibility with Python 3.4
Gilles DAVID [Thu, 20 Apr 2017 14:59:51 +0000 (16:59 +0200)]
[PYTHON3] Compatibility with Python 3.4

7 years ago[PYTHON 3] WIP
Nicolas Geimer [Tue, 18 Apr 2017 12:47:11 +0000 (14:47 +0200)]
[PYTHON 3] WIP

7 years agoMerge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_gener...
rnv [Fri, 7 Apr 2017 14:15:52 +0000 (17:15 +0300)]
Merge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_generation

7 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agoIncrement version: 8.3.0 V8_3_0rc1 V8_3_0rc2
rnv [Fri, 7 Apr 2017 12:29:35 +0000 (15:29 +0300)]
Increment version: 8.3.0

7 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agoWindows compatibility.
rnv [Fri, 31 Mar 2017 07:15:27 +0000 (10:15 +0300)]
Windows compatibility.

7 years agoFix the python API of the savestate feature. SHAPER_2.7.0 V8_3_0b1
Ovidiu Mircescu [Tue, 21 Mar 2017 16:19:24 +0000 (17:19 +0100)]
Fix the python API of the savestate feature.

Proc::savestate is now deprecated.
You have to use VisitorSalomeSaveState (c++) or SALOMERuntime.schemaSaveState (python).

7 years ago[PY3] 2to3 -w -n results
Nicolas Geimer [Tue, 21 Mar 2017 10:49:02 +0000 (11:49 +0100)]
[PY3] 2to3 -w -n results

7 years ago[PY3] Removing TAB and encoding issue (--> UTF8)
Nicolas Geimer [Tue, 21 Mar 2017 10:27:09 +0000 (11:27 +0100)]
[PY3] Removing TAB and encoding issue (--> UTF8)

7 years agoRoll back for the keepgoing feature.
Ovidiu Mircescu [Thu, 16 Mar 2017 15:45:08 +0000 (16:45 +0100)]
Roll back for the keepgoing feature.

7 years agoSave foreach state.
Ovidiu Mircescu [Thu, 2 Mar 2017 17:02:11 +0000 (18:02 +0100)]
Save foreach state.

Need to add some tests.

7 years agoSave foreach state - work in progress.
Ovidiu Mircescu [Mon, 27 Feb 2017 09:56:37 +0000 (10:56 +0100)]
Save foreach state - work in progress.

7 years agoMerge branch 'omu/py2yacs' V8_3_0a2
Ovidiu Mircescu [Tue, 14 Feb 2017 14:00:53 +0000 (15:00 +0100)]
Merge branch 'omu/py2yacs'

7 years agoDeleted deprecated code mpa/23299
mpa [Fri, 3 Feb 2017 13:26:53 +0000 (16:26 +0300)]
Deleted deprecated code

7 years agoReturn deleted code.
mpa [Tue, 31 Jan 2017 09:48:59 +0000 (12:48 +0300)]
Return deleted code.

7 years agoAdd py2yacs omu/py2yacs
Ovidiu Mircescu [Fri, 27 Jan 2017 13:58:59 +0000 (14:58 +0100)]
Add py2yacs

py2yacs library can build a yacs schema out of a python script.
The schema contains a single python node which executes a function
from the python script.
Input and output ports are deducted from the parameters and the
returns of the chosen function. The type of ports are restricted
to 'double'.

7 years agoPatch for MacOS (from SALOME forum)
vsr [Fri, 20 Jan 2017 12:54:32 +0000 (15:54 +0300)]
Patch for MacOS (from SALOME forum)

7 years agoMerge branch 'omu/iss11667' V8_3_0a1
Ovidiu Mircescu [Mon, 19 Dec 2016 10:11:14 +0000 (11:11 +0100)]
Merge branch 'omu/iss11667'

7 years agoIncrement version: 8.2.0
vsr [Tue, 29 Nov 2016 13:32:37 +0000 (16:32 +0300)]
Increment version: 8.2.0

7 years agoFix error on loading several state files (Issue EDF 11667).
Ovidiu Mircescu [Wed, 14 Dec 2016 16:01:17 +0000 (17:01 +0100)]
Fix error on loading several state files (Issue EDF 11667).

7 years agoIncrement version: 8.2.0 V8_2_BR cbr/crowdin_V8_2_BR V8_2_0 V8_2_0rc1 V8_2_0rc2
vsr [Tue, 29 Nov 2016 13:32:37 +0000 (16:32 +0300)]
Increment version: 8.2.0

7 years agoHide the dependency to GUI to modules depending on YACS. V8_2_0b1
Ovidiu Mircescu [Tue, 15 Nov 2016 14:11:42 +0000 (15:11 +0100)]
Hide the dependency to GUI to modules depending on YACS.

This is a fix to commit #164a5d22dd.

7 years agoRNV: swig-3 porting.
mnt [Fri, 11 Nov 2016 11:37:38 +0000 (14:37 +0300)]
RNV: swig-3 porting.

7 years agoCmake correction for modules depending from YACS
Anthony Geay [Thu, 10 Nov 2016 09:06:17 +0000 (10:06 +0100)]
Cmake correction for modules depending from YACS