Salome HOME
modules/kernel.git
6 years agoMerge master into V9_dev
rnv [Fri, 18 Aug 2017 14:43:07 +0000 (17:43 +0300)]
Merge master into V9_dev

6 years agoFix for '23471: [CEA 2162] Upgrade of the test salome_test.py' issue. V8_4_0a1
rnv [Wed, 16 Aug 2017 12:18:06 +0000 (15:18 +0300)]
Fix for '23471: [CEA 2162] Upgrade of the test salome_test.py' issue.

6 years agoMerge master branch into V9_dev
rnv [Thu, 3 Aug 2017 15:22:23 +0000 (18:22 +0300)]
Merge master branch into V9_dev

6 years agoCannot create local file when testing from packaging
Cédric Aguerre [Thu, 27 Jul 2017 16:25:56 +0000 (18:25 +0200)]
Cannot create local file when testing from packaging

6 years agoCannot create local file when testing from packaging
Cédric Aguerre [Thu, 27 Jul 2017 16:24:29 +0000 (18:24 +0200)]
Cannot create local file when testing from packaging

6 years agoMerge branch 'master' into V9_dev
Gilles DAVID [Thu, 27 Jul 2017 15:28:27 +0000 (17:28 +0200)]
Merge branch 'master' into V9_dev

Conflicts:
bin/runConsole.py
bin/runSession.py
bin/salomeContext.py
bin/setenv.py

6 years agoAvoid using import CORBA
Gilles DAVID [Thu, 27 Jul 2017 15:23:04 +0000 (17:23 +0200)]
Avoid using import CORBA

Prefer: "from omniORB import CORBA"

6 years agoAppli: do not add empty modules
Gilles DAVID [Thu, 27 Jul 2017 15:22:54 +0000 (17:22 +0200)]
Appli: do not add empty modules

6 years agoUse isinstance() instead of type() and remove useless list(....keys())
Gilles DAVID [Thu, 27 Jul 2017 11:56:54 +0000 (13:56 +0200)]
Use isinstance() instead of type() and remove useless list(....keys())

6 years agoReturn error codes
Cédric Aguerre [Thu, 20 Jul 2017 15:33:01 +0000 (17:33 +0200)]
Return error codes

Conflicts:
bin/runConsole.py
bin/runSession.py
bin/salomeContext.py

6 years agoFix '23469: EDF KERNEL: Study can t register to the naming service in Release termina...
rnv [Wed, 26 Jul 2017 09:31:30 +0000 (12:31 +0300)]
Fix '23469: EDF KERNEL: Study can t register to the naming service in Release terminal mode' issue.

6 years agoReturn error codes
Cédric Aguerre [Thu, 20 Jul 2017 15:33:01 +0000 (17:33 +0200)]
Return error codes

6 years agoMerge from master branch into V9_dev
rnv [Wed, 19 Jul 2017 14:45:45 +0000 (17:45 +0300)]
Merge from master branch into V9_dev

6 years agoRNV: replace 'and' by '&&'
mnt [Fri, 7 Jul 2017 09:23:17 +0000 (12:23 +0300)]
RNV: replace 'and' by '&&'

6 years agoTesting when calling salome shell inside ctest
Cédric Aguerre [Wed, 19 Jul 2017 13:51:58 +0000 (15:51 +0200)]
Testing when calling salome shell inside ctest

6 years agoTesting when calling salome shell inside ctest
Cédric Aguerre [Wed, 19 Jul 2017 13:51:58 +0000 (15:51 +0200)]
Testing when calling salome shell inside ctest

6 years ago[Python 3] Minor fixes
Nicolas Geimer [Wed, 19 Jul 2017 09:48:27 +0000 (11:48 +0200)]
[Python 3] Minor fixes

6 years agoRNV: replace 'and' by '&&'
mnt [Fri, 7 Jul 2017 09:23:17 +0000 (12:23 +0300)]
RNV: replace 'and' by '&&'

6 years agoPython3 porting: redicrect python interp stdout and stderr to container stdout and...
rnv [Thu, 29 Jun 2017 14:24:24 +0000 (17:24 +0300)]
Python3 porting: redicrect python interp stdout and stderr to container stdout and stderr.

6 years ago[PATCH] Minor error on warning msg
Cédric Aguerre [Thu, 29 Jun 2017 08:09:25 +0000 (10:09 +0200)]
[PATCH] Minor error on warning msg

6 years ago[PATCH] Minor error on warning msg
Cédric Aguerre [Thu, 29 Jun 2017 08:09:25 +0000 (10:09 +0200)]
[PATCH] Minor error on warning msg

7 years agoMerge Python 3 porting: additional chnages.
rnv [Tue, 27 Jun 2017 16:07:30 +0000 (19:07 +0300)]
Merge Python 3 porting: additional chnages.

7 years agoMerge Python 3 porting.
rnv [Thu, 22 Jun 2017 14:28:12 +0000 (17:28 +0300)]
Merge Python 3 porting.

7 years agoUpdate Readme for salome test
Cédric Aguerre [Mon, 19 Jun 2017 08:26:38 +0000 (10:26 +0200)]
Update Readme for salome test

7 years agoUpdate Readme for salome test Before_python3_27062017
Cédric Aguerre [Mon, 19 Jun 2017 08:26:38 +0000 (10:26 +0200)]
Update Readme for salome test

7 years agoMerge multi-study removal branch.
rnv [Wed, 7 Jun 2017 11:24:09 +0000 (14:24 +0300)]
Merge multi-study removal branch.

7 years agoPorting Python 3: Fix test #14: KERNEL_SALOME_INSTANCE_instances ngr/python3_dev
Gilles DAVID [Wed, 7 Jun 2017 06:18:23 +0000 (08:18 +0200)]
Porting Python 3: Fix test #14: KERNEL_SALOME_INSTANCE_instances

7 years agoFix previous commit
Gilles DAVID [Tue, 6 Jun 2017 12:03:51 +0000 (14:03 +0200)]
Fix previous commit

7 years agoPorting Python3: Use of encode/decode functions
Gilles DAVID [Tue, 6 Jun 2017 12:02:38 +0000 (14:02 +0200)]
Porting Python3: Use of encode/decode functions

7 years agoPython 3: call to python3 in SALOMESDS test
Gilles DAVID [Thu, 1 Jun 2017 16:29:54 +0000 (18:29 +0200)]
Python 3: call to python3 in SALOMESDS test

7 years agoTerminate test suprocess Before_multi_study_removal_06072017
Cédric Aguerre [Thu, 1 Jun 2017 16:21:47 +0000 (18:21 +0200)]
Terminate test suprocess

7 years agoPython 3: creation of encode/decode functions
Gilles DAVID [Thu, 1 Jun 2017 15:53:37 +0000 (17:53 +0200)]
Python 3: creation of encode/decode functions

7 years agoExit with appropriate error code
Cédric Aguerre [Thu, 1 Jun 2017 13:36:52 +0000 (15:36 +0200)]
Exit with appropriate error code

7 years agoPython 3 - Use size of wchar_t
Gilles DAVID [Thu, 1 Jun 2017 09:29:44 +0000 (11:29 +0200)]
Python 3 - Use size of wchar_t

7 years agoPython 3: PoC to correctly manage unicode strings from Python
Gilles DAVID [Wed, 31 May 2017 16:31:32 +0000 (18:31 +0200)]
Python 3: PoC to correctly manage unicode strings from Python

The following use case does not work because of the caracter 'é':
>>> import salome
>>> salome.salome_study_init('/tmp/étude.hdf')

The solution here is to consider Unicode strings coming from all the
interfaces of SALOME modules, and then to convert them to encoded strings.

To do that:
- all IDL "string" parameters should be changed into "wstring".
- all C++ interfaces should have wchar_t* instead of char*
- wchar_t* inputs should then be encoded to char* using an ENCODE function (to be written)
- wchar_t* outputs should be decoded from char* using a DECODE function (to be written)

7 years agoPython3 porting: small fix in init study. ngr/python3_dev_without_accents
rnv [Wed, 31 May 2017 11:35:51 +0000 (14:35 +0300)]
Python3 porting: small fix in init study.

7 years agoMerge V8_3_BR branch.
rnv [Tue, 30 May 2017 09:52:43 +0000 (12:52 +0300)]
Merge V8_3_BR branch.

7 years agoPython 3 - optparse => argparse
Gilles DAVID [Mon, 29 May 2017 11:25:36 +0000 (13:25 +0200)]
Python 3 - optparse => argparse

7 years agoPython3 porting: some options of runSalome.py scripts don't work.
rnv [Tue, 23 May 2017 15:52:16 +0000 (18:52 +0300)]
Python3 porting: some options of runSalome.py scripts don't work.

7 years agoPython3 porting: change python executable to 'python3'.
rnv [Tue, 23 May 2017 15:51:29 +0000 (18:51 +0300)]
Python3 porting: change python executable to 'python3'.

7 years agoPython3 porting: change python executable to 'python3'.
rnv [Tue, 23 May 2017 09:49:58 +0000 (12:49 +0300)]
Python3 porting: change python executable to 'python3'.

7 years agoPython3 porting.
rnv [Mon, 22 May 2017 14:15:57 +0000 (17:15 +0300)]
Python3 porting.

7 years agoAdditional fix for '23417: [CEA 2020] Naming service cannot be found if the network...
rnv [Wed, 17 May 2017 09:14:46 +0000 (12:14 +0300)]
Additional fix for '23417: [CEA 2020] Naming service cannot be found if the network is not reachable' issue.

7 years agoMerge branch 'rnv/local_execution'
rnv [Mon, 15 May 2017 09:00:01 +0000 (12:00 +0300)]
Merge branch 'rnv/local_execution'

7 years ago[EDF14691] : perf in addkey.
Anthony Geay [Fri, 12 May 2017 12:44:06 +0000 (14:44 +0200)]
[EDF14691] : perf in addkey.

7 years agoExecute SALOME w/o network. rnv/local_execution
rnv [Fri, 12 May 2017 07:52:55 +0000 (10:52 +0300)]
Execute SALOME w/o network.

7 years agoAdd QT_PLUGIN_PATH to reserved variables (editable with ADD_TO_ syntax)
Cédric Aguerre [Wed, 3 May 2017 13:24:13 +0000 (15:24 +0200)]
Add QT_PLUGIN_PATH to reserved variables (editable with ADD_TO_ syntax)

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:24:03 +0000 (16:24 +0300)]
Update copyrights in the documentation.

7 years agoMerge branch 'agr/for83rc'
Cédric Aguerre [Tue, 25 Apr 2017 15:48:09 +0000 (17:48 +0200)]
Merge branch 'agr/for83rc'

7 years agoadd pid number to container name [2] agr/for83rc
Cédric Aguerre [Tue, 25 Apr 2017 11:45:06 +0000 (13:45 +0200)]
add pid number to container name [2]

7 years ago[PY3] Removed unwanted file
Gilles DAVID [Tue, 25 Apr 2017 14:40:14 +0000 (16:40 +0200)]
[PY3] Removed unwanted file

7 years agofix port number reservation
Cédric Aguerre [Fri, 7 Apr 2017 14:22:43 +0000 (16:22 +0200)]
fix port number reservation

7 years agodelete port log
Cédric Aguerre [Fri, 7 Apr 2017 14:06:40 +0000 (16:06 +0200)]
delete port log

7 years agoadd pid to port log filename
Cédric Aguerre [Fri, 7 Apr 2017 13:37:26 +0000 (15:37 +0200)]
add pid to port log filename

7 years agoFix bug - jobs run simultaneously
Cédric Aguerre [Fri, 7 Apr 2017 11:46:50 +0000 (13:46 +0200)]
Fix bug - jobs run simultaneously

7 years ago[PY3] Fixing SalomeSDS / cmp removal in Py3
Nicolas Geimer [Fri, 21 Apr 2017 14:15:43 +0000 (16:15 +0200)]
[PY3] Fixing SalomeSDS / cmp removal in Py3

7 years ago[PY3] Simplification of Py_EncodeLocale and Py_DecodeLocale
Gilles DAVID [Thu, 20 Apr 2017 14:58:26 +0000 (16:58 +0200)]
[PY3] Simplification of Py_EncodeLocale and Py_DecodeLocale

7 years agoFix salome killall
Nicolas Geimer [Wed, 19 Apr 2017 12:52:07 +0000 (14:52 +0200)]
Fix salome killall

7 years agoMerge remote-tracking branch 'origin/V8_3_BR' into ngr/python3_dev
Gilles DAVID [Tue, 18 Apr 2017 13:21:29 +0000 (15:21 +0200)]
Merge remote-tracking branch 'origin/V8_3_BR' into ngr/python3_dev

Conflicts:
bin/appliskel/salome_starter.py
bin/appliskel/salome_tester/salome_test_driver.py
bin/appliskel/salome_tester/salome_test_driver_gui.py
bin/salomeContext.py

7 years agoMerge remote-tracking branch 'origin/ngr/python3_dev' into ngr/python3_dev
Nicolas Geimer [Tue, 18 Apr 2017 09:58:17 +0000 (11:58 +0200)]
Merge remote-tracking branch 'origin/ngr/python3_dev' into ngr/python3_dev

7 years agofix port number reservation
Cédric Aguerre [Fri, 7 Apr 2017 14:22:43 +0000 (16:22 +0200)]
fix port number reservation

7 years agodelete port log
Cédric Aguerre [Fri, 7 Apr 2017 14:06:40 +0000 (16:06 +0200)]
delete port log

7 years agoadd pid to port log filename
Cédric Aguerre [Fri, 7 Apr 2017 13:37:26 +0000 (15:37 +0200)]
add pid to port log filename

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

7 years agoFix bug - jobs run simultaneously
Cédric Aguerre [Fri, 7 Apr 2017 11:46:50 +0000 (13:46 +0200)]
Fix bug - jobs run simultaneously

7 years agoMerge remote-tracking branch 'origin/master' into V8_3_BR
rnv [Fri, 7 Apr 2017 11:16:39 +0000 (14:16 +0300)]
Merge remote-tracking branch 'origin/master' into V8_3_BR

7 years agoTerminal SALOME correctly at the end of job execution
Cédric Aguerre [Thu, 6 Apr 2017 12:15:25 +0000 (14:15 +0200)]
Terminal SALOME correctly at the end of job execution

7 years agoDo not force exit calls, use return
Cédric Aguerre [Thu, 6 Apr 2017 12:18:02 +0000 (14:18 +0200)]
Do not force exit calls, use return

7 years agocatch exception on salome_instance, and prefer sys.exit to exit
Cédric Aguerre [Thu, 6 Apr 2017 07:54:30 +0000 (09:54 +0200)]
catch exception on salome_instance, and prefer sys.exit to exit

7 years agoAssociate ports to application path to prevent from killing *all* applications
Cédric Aguerre [Wed, 5 Apr 2017 15:50:08 +0000 (17:50 +0200)]
Associate ports to application path to prevent from killing *all* applications

7 years agoPortManager info must be shared by applications; so they go to temporary folder
Cédric Aguerre [Wed, 5 Apr 2017 14:38:57 +0000 (16:38 +0200)]
PortManager info must be shared by applications; so they go to temporary folder

7 years ago[PY3] Fix m4 macro for python 3
Gilles DAVID [Thu, 30 Mar 2017 17:22:10 +0000 (19:22 +0200)]
[PY3] Fix m4 macro for python 3

7 years agoMerge branch 'master' into V8_3_BR
rnv [Thu, 30 Mar 2017 16:41:40 +0000 (19:41 +0300)]
Merge branch 'master' into V8_3_BR

7 years ago[PY3] exec statement called with globals() dict
Gilles DAVID [Wed, 29 Mar 2017 13:43:38 +0000 (15:43 +0200)]
[PY3] exec statement called with globals() dict

7 years ago[PY3] Remove bad decode()
Gilles DAVID [Wed, 29 Mar 2017 12:28:00 +0000 (14:28 +0200)]
[PY3] Remove bad decode()

7 years agoMerge branch 'ngr/python3_dev' of https://git.salome-platform.org/git/modules/kernel...
Nicolas Geimer [Mon, 27 Mar 2017 16:34:27 +0000 (18:34 +0200)]
Merge branch 'ngr/python3_dev' of https://git.salome-platform.org/git/modules/kernel into ngr/python3_dev

Conflicts:
bin/virtual_salome.py

7 years ago[PY3] Fix tools testing in "salome test"
Nicolas Geimer [Mon, 27 Mar 2017 16:31:33 +0000 (18:31 +0200)]
[PY3] Fix tools testing in "salome test"

7 years agoPYTHON3: write bytes
Gilles DAVID [Mon, 27 Mar 2017 11:41:34 +0000 (13:41 +0200)]
PYTHON3: write bytes

7 years agoDo not enforce sys.exit call after runTests
Cédric Aguerre [Mon, 27 Mar 2017 11:29:31 +0000 (13:29 +0200)]
Do not enforce sys.exit call after runTests

7 years ago[PY3] string, cPickle module don't exist anymore
Nicolas Geimer [Mon, 27 Mar 2017 09:53:30 +0000 (11:53 +0200)]
[PY3] string, cPickle module don't exist anymore

7 years agoMerge remote-tracking branch 'origin/master' into V8_3_BR V8_3_0b1
rnv [Fri, 24 Mar 2017 14:53:01 +0000 (17:53 +0300)]
Merge remote-tracking branch 'origin/master' into V8_3_BR

7 years agoPYTHON3: encoding in header is no longer necessary with python 3
Gilles DAVID [Thu, 23 Mar 2017 16:53:09 +0000 (17:53 +0100)]
PYTHON3: encoding in header is no longer necessary with python 3

7 years agoPython3 fix studyedit (no encoding needed)
Gilles DAVID [Thu, 23 Mar 2017 15:37:22 +0000 (16:37 +0100)]
Python3 fix studyedit (no encoding needed)

7 years agoIPAL54049: Operations on multiple study objects are very long
eap [Wed, 22 Mar 2017 13:48:29 +0000 (16:48 +0300)]
IPAL54049: Operations on multiple study objects are very long

7 years agoMerge remote-tracking branch 'origin/agr/V8_3_BR-fix_portmanager' into V8_3_BR SHAPER_2.7.0
rnv [Wed, 22 Mar 2017 11:20:15 +0000 (14:20 +0300)]
Merge remote-tracking branch 'origin/agr/V8_3_BR-fix_portmanager' into V8_3_BR

7 years ago[PortManager] Simplify previous fix; no need to change configuration file contents
Cédric Aguerre [Wed, 22 Mar 2017 10:47:26 +0000 (11:47 +0100)]
[PortManager] Simplify previous fix; no need to change configuration file contents

7 years ago[PortManager] Simplify previous fix; no need to change configuration file contents agr/V8_3_BR-fix_portmanager
Cédric Aguerre [Wed, 22 Mar 2017 10:47:26 +0000 (11:47 +0100)]
[PortManager] Simplify previous fix; no need to change configuration file contents

7 years agoPython 3.4: redefine Py_DecodeLocale
Gilles DAVID [Wed, 22 Mar 2017 10:12:45 +0000 (11:12 +0100)]
Python 3.4: redefine Py_DecodeLocale

The code from decode_ascii_surrogateescape in Python 3.5 was reused.

7 years agoMerge branch 'master' into V8_3_BR
rnv [Tue, 21 Mar 2017 14:41:52 +0000 (17:41 +0300)]
Merge branch 'master' into V8_3_BR

7 years ago[PortManager] Separate ports according to their owner (this or other application)
Cédric Aguerre [Tue, 21 Mar 2017 13:39:30 +0000 (14:39 +0100)]
[PortManager] Separate ports according to their owner (this or other application)

7 years ago[PortManager] Separate ports according to their owner (this or other application)
Cédric Aguerre [Tue, 21 Mar 2017 13:39:30 +0000 (14:39 +0100)]
[PortManager] Separate ports according to their owner (this or other application)

7 years agoMerge tag 'V8_3_0a2' into ngr/python3_dev
Nicolas Geimer [Mon, 20 Mar 2017 17:17:44 +0000 (18:17 +0100)]
Merge tag 'V8_3_0a2' into ngr/python3_dev

Version 8.3.0 alpha 2

7 years agoMerge remote-tracking branch 'origin/fbt/addition_library_path_context_file' V8_3_0a2
rnv [Thu, 16 Mar 2017 14:34:51 +0000 (17:34 +0300)]
Merge remote-tracking branch 'origin/fbt/addition_library_path_context_file'

7 years ago[PY3] Swig additional fixes
Nicolas Geimer [Wed, 15 Mar 2017 13:26:12 +0000 (14:26 +0100)]
[PY3] Swig additional fixes

7 years ago[PY3] Swig Python3
Nicolas Geimer [Tue, 14 Mar 2017 14:25:21 +0000 (15:25 +0100)]
[PY3] Swig Python3

7 years ago[EDF12520] : Access of all resources in resource manager
Anthony Geay [Mon, 13 Mar 2017 12:09:32 +0000 (13:09 +0100)]
[EDF12520] : Access of all resources in resource manager

7 years agoRemove useless attribute
Anthony Geay [Mon, 13 Mar 2017 10:23:06 +0000 (11:23 +0100)]
Remove useless attribute

7 years agoFirst try
Anthony Geay [Thu, 9 Mar 2017 14:06:41 +0000 (15:06 +0100)]
First try

7 years ago[PYTHON 3] 1st draft
Nicolas Geimer [Fri, 10 Feb 2017 15:57:29 +0000 (16:57 +0100)]
[PYTHON 3] 1st draft

7 years agoAddition of LIBRARY_PATH var to salome context file for ADD_TO macros in the launcher. fbt/addition_library_path_context_file
Florian BRUNET [Wed, 22 Feb 2017 16:40:28 +0000 (17:40 +0100)]
Addition of LIBRARY_PATH var to salome context file for ADD_TO macros in the launcher.