Salome HOME
modules/yacs.git
5 years ago[EDF17963] : synchronize entypemaps.i regarding bytes.
Anthony Geay [Tue, 16 Oct 2018 11:35:09 +0000 (13:35 +0200)]
[EDF17963] : synchronize entypemaps.i regarding bytes.

5 years ago[EDF17963] : Convertion from PyBytes To AnyString badly ported into py3
Anthony Geay [Fri, 12 Oct 2018 12:25:46 +0000 (14:25 +0200)]
[EDF17963] : Convertion from PyBytes To AnyString badly ported into py3

5 years ago[EDF17963] : Pickelization of Py3 introduces \0 in vector<char>. AtomAny has to manag... agy/edf17963
Anthony Geay [Mon, 8 Oct 2018 13:35:38 +0000 (15:35 +0200)]
[EDF17963] : Pickelization of Py3 introduces \0 in vector<char>. AtomAny has to manage this to avoid to loose data during Py<->Neutral conversion.

5 years agoImprovement to idefix porting to py3.
Ovidiu Mircescu [Wed, 3 Oct 2018 13:16:57 +0000 (15:16 +0200)]
Improvement to idefix porting to py3.

5 years agoIdefix ported to py3.
Ovidiu Mircescu [Fri, 28 Sep 2018 08:04:12 +0000 (10:04 +0200)]
Idefix ported to py3.

5 years ago'/usr/bin/env python' -> '/usr/bin/env python3' V9_2_0a1
rnv [Wed, 19 Sep 2018 15:33:15 +0000 (18:33 +0300)]
'/usr/bin/env python' -> '/usr/bin/env python3'

5 years agofix testExec test in yacsloader_swig test: random bug difficult to reproduce outside...
Paul RASCLE [Fri, 14 Sep 2018 13:30:58 +0000 (15:30 +0200)]
fix testExec test in yacsloader_swig test: random bug difficult to reproduce outside salome test context.
Trace gives abort on Py_XDECREF(_data), in InputPyPort::exRestoreInit() (src/runtime/PythonPorts.cxx:244)
Seems related to partial execution of the schema with stopOnError set.
The fix consists in resume the execution after save state.

5 years agoIncrement version: 9.1.0 V9_1_0
rnv [Tue, 11 Sep 2018 14:47:26 +0000 (17:47 +0300)]
Increment version: 9.1.0

5 years agoOoops
Anthony Geay [Mon, 10 Sep 2018 13:43:07 +0000 (15:43 +0200)]
Ooops

5 years agocmake3.12 ready
Anthony Geay [Mon, 10 Sep 2018 13:27:43 +0000 (15:27 +0200)]
cmake3.12 ready

5 years agoWindows porting: additional changes.
rnv [Mon, 10 Sep 2018 11:11:04 +0000 (14:11 +0300)]
Windows porting: additional changes.

5 years agoSALOME 9.1.0 Windows version
rnv [Wed, 29 Aug 2018 11:48:12 +0000 (14:48 +0300)]
SALOME 9.1.0 Windows version

5 years agoFix for GEOM - SMESH test
Ovidiu Mircescu [Fri, 7 Sep 2018 08:17:37 +0000 (10:17 +0200)]
Fix for GEOM - SMESH test

The test testExecForEachGeoMesh.py needs GEOM and SMESH modules and it cannot be
passed in the build environment. Therefore, it is no longer passed in the build
environment (make test), but it is still passed with "salome test".

5 years agoPython test of Plugin using generated libExampleOfObserversPluginForDriver.so
Anthony Geay [Wed, 5 Sep 2018 14:58:15 +0000 (16:58 +0200)]
Python test of Plugin using generated libExampleOfObserversPluginForDriver.so

5 years agoObserver using plugins through python
Anthony Geay [Wed, 5 Sep 2018 14:53:06 +0000 (16:53 +0200)]
Observer using plugins through python

5 years agoadd a test of parallel geometry and meshing in a foreachloop SHAPER_V9_1_0RC1
Paul RASCLE [Wed, 29 Aug 2018 14:47:48 +0000 (16:47 +0200)]
add a test of parallel geometry and meshing in a foreachloop

5 years agoreplace execfile by its python3 equivalent
Paul RASCLE [Wed, 22 Aug 2018 12:28:27 +0000 (14:28 +0200)]
replace execfile by its python3 equivalent

5 years agoRevert 011a564 -- 0023581: [CEA 2262] : Syntax error in XML tag
eap [Tue, 21 Aug 2018 13:53:47 +0000 (16:53 +0300)]
Revert 011a564 -- 0023581: [CEA 2262] : Syntax error in XML tag

The error in XML tag is intentional, to check that an exception is raised

5 years agoDetect sphinx theme directly in conf.py.in file
rnv [Thu, 9 Aug 2018 16:40:59 +0000 (19:40 +0300)]
Detect sphinx theme directly in conf.py.in file

5 years ago0023581: [CEA 2262] : Syntax error in XML tag
vsr [Fri, 3 Aug 2018 08:00:28 +0000 (11:00 +0300)]
0023581: [CEA 2262] : Syntax error in XML tag

5 years agoEDF17470 : non regression test
Anthony Geay [Fri, 20 Jul 2018 10:05:06 +0000 (12:05 +0200)]
EDF17470 : non regression test

5 years agoFix requested number of nodes forced to 1 in YFX.
Ovidiu Mircescu [Fri, 13 Jul 2018 14:53:51 +0000 (16:53 +0200)]
Fix requested number of nodes forced to 1 in YFX.

5 years agoUse std::getenv instead of dirty python scam.
Ovidiu Mircescu [Thu, 12 Jul 2018 15:14:18 +0000 (17:14 +0200)]
Use std::getenv instead of dirty python scam.

5 years agoNone value on pyobj input port.
Ovidiu Mircescu [Fri, 6 Jul 2018 12:54:07 +0000 (14:54 +0200)]
None value on pyobj input port.

5 years agopy2yacs fixes.
Ovidiu Mircescu [Wed, 27 Jun 2018 09:03:13 +0000 (11:03 +0200)]
py2yacs fixes.

5 years agoFix the python version of py2yacs.
Ovidiu Mircescu [Tue, 19 Jun 2018 08:23:23 +0000 (10:23 +0200)]
Fix the python version of py2yacs.

5 years agoMerge V9_dev branch into master
rnv [Thu, 7 Jun 2018 12:54:04 +0000 (15:54 +0300)]
Merge V9_dev branch into master

5 years ago[EDF17047] : Py3 porting of PyParse_Tuple V9_dev
Anthony Geay [Mon, 4 Jun 2018 13:22:50 +0000 (15:22 +0200)]
[EDF17047] : Py3 porting of PyParse_Tuple

5 years agoMerge branch 'V8_5_BR'
vsr [Thu, 31 May 2018 14:57:37 +0000 (17:57 +0300)]
Merge branch 'V8_5_BR'

6 years agoIncrement version: 8.5.0 V8_5_0 V8_5_0rc1 V8_5_0rc2
vsr [Fri, 20 Apr 2018 06:27:59 +0000 (09:27 +0300)]
Increment version: 8.5.0

6 years agoVisitor for AbstractPoint
Anthony Geay [Wed, 4 Apr 2018 08:57:24 +0000 (10:57 +0200)]
Visitor for AbstractPoint

6 years agoAdd SetOfPoints in the python API
Anthony Geay [Tue, 3 Apr 2018 14:46:51 +0000 (16:46 +0200)]
Add SetOfPoints in the python API

6 years agoRedesign SALOME documentation V8_5_0b1
rnv [Fri, 15 Dec 2017 09:21:01 +0000 (12:21 +0300)]
Redesign SALOME documentation

6 years agoUpdate default wckey for EDF HPC. V8_5_0a2
Ovidiu Mircescu [Tue, 13 Mar 2018 09:53:07 +0000 (10:53 +0100)]
Update default wckey for EDF HPC.

6 years agoAdd some details on documentation.
Ovidiu Mircescu [Fri, 9 Mar 2018 09:08:44 +0000 (10:08 +0100)]
Add some details on documentation.

6 years agoPreserve the precision of the result in idefix.
Ovidiu Mircescu [Wed, 7 Mar 2018 12:38:23 +0000 (13:38 +0100)]
Preserve the precision of the result in idefix.

6 years agoWhat !!! V8_5_0a1
Anthony Geay [Mon, 26 Feb 2018 10:35:58 +0000 (11:35 +0100)]
What !!!

6 years agonode weight documentation tlr/playground_optimization
Lauffenburger Thomas [Wed, 31 Jan 2018 15:50:45 +0000 (16:50 +0100)]
node weight documentation

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 agosmall mistake in [EDF15946]
Lauffenburger Thomas [Wed, 24 Jan 2018 09:45:14 +0000 (10:45 +0100)]
small mistake in [EDF15946]

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 agoPlayground documentation
Lauffenburger Thomas [Thu, 4 Jan 2018 14:18:09 +0000 (15:18 +0100)]
Playground documentation

6 years agoMerge branch 'master' into tlr/playground_optimization
Lauffenburger Thomas [Thu, 4 Jan 2018 08:16:37 +0000 (09:16 +0100)]
Merge branch 'master' into tlr/playground_optimization

6 years ago[EDF15946] bug with playground when nb of cores is small
Lauffenburger Thomas [Wed, 3 Jan 2018 15:16:56 +0000 (16:16 +0100)]
[EDF15946] bug with playground when nb of cores is small

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.

6 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

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

6 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

6 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>
6 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.

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

6 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

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

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

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

6 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

6 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

6 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

6 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.

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

6 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