abd [Thu, 9 Oct 2008 10:39:45 +0000 (10:39 +0000)]
Implementations of common functions in Kernel_Utils namespace:
-GetDirByPath: parse in path string a valid directory name
-IsEmptyDir: detect of empty directory status
abd [Fri, 3 Oct 2008 10:44:26 +0000 (10:44 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 10:28:02 +0000 (10:28 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 10:25:54 +0000 (10:25 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
Using std:string instead char* for fix bug of std::string::c_str() on local std::string object
abd [Fri, 3 Oct 2008 10:07:23 +0000 (10:07 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 09:47:03 +0000 (09:47 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 09:37:12 +0000 (09:37 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 09:28:46 +0000 (09:28 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 09:17:08 +0000 (09:17 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
Removed "using namespace std" from header files.
abd [Fri, 3 Oct 2008 09:14:37 +0000 (09:14 +0000)]
Win32 Porting.
Correction of Export/Import defines for Win32 platform.
Using WIN32 standard define instead WNT define of OpenCascade library.
Using Basics instead Utils library.
abd [Fri, 3 Oct 2008 08:59:10 +0000 (08:59 +0000)]
Win32 Porting.
Moved common functionality (independent on CORBA) from Utils package (dependent on CORBA) to Basics package and introduced Kernel_Utils namespace for use it
abd [Fri, 3 Oct 2008 08:50:09 +0000 (08:50 +0000)]
Win32 Porting
Renaming of salome_utilities.py to salome_utils.py because it conflicts in name with SALOME_utilities.py from Utils package (Win32 python is not case sensitive for file system)
CCAR :
INTERFACE CHANGE : add a boolean parameter regist with default value true to one Component constructor
It was needed to avoid calling registry two times for a python superv_component
Registry was called in the python constructor and in the corba proxy (class PySupervCompo)
that is used to implement DSC ports for python component.
As regist value is true by default there is no impact on other parts of KERNEL or of modules.
CCAR: catch CORBA::Exception in shutdownServers when trying to _narrow the container
(_narrow can throw a CORBA::TRANSIENT in some cases)
shutdown did not go to the end when a container was killed before without deregistering
in naming service
CCAR: update IDLparser.py with developments for YACS (mainly, DataTypes description
and new Superv_Component interface for SALOME components)
Not all definitions are converted to DataTypes YACS, only local definitions (main file)
that are :
- unbounded sequences
- non recursive structs (and non forward ones also)
- interfaces that are not derivation from SALOME components
The tests have been updated :
- add some idl files in tests to be able to run tests only in KERNEL_BUILD
- adjust some paths (very old SALOME 1 ??) to run with KERNEL only
CCAR: in Salome application generation, try to detect the python version
used for modules and application installation independently from the version
of the python interpreter used.
Fix a bug of configure step: if scripts sources are changed in bin directory they are not installed by 'make install' step; instead their copies in a build directory are taken.
Improve SALOME logger: customize log file name (add port, user and host ids) to avoid problems with using the same log file name by different SALOME sessions.
Improve SALOME logger: customize log file name (add port, user and host ids) to avoid problems with using the same log file name by different SALOME sessions (add missing salome_utilities.py script to the Makefile).
vsr [Thu, 19 Jun 2008 09:12:48 +0000 (09:12 +0000)]
Improve SALOME logger: customize log file name (add port, user and host ids) to avoid problems with using the same log file name by different SALOME sessions.
caremoli [Sun, 8 Jun 2008 13:18:40 +0000 (13:18 +0000)]
CCAR: solve some problems during shutdown
- singletons are deleted at exit (atexit function is called at the beginning of programs)
but order is important. Trace singleton must be destroyed last because MESSAGE
and others are called in destructor of other singletons.
So I have enforced local trace initialization in ATEXIT_ class from Utils directory
- Improve Registry shutdown (called _remove_ref to delete RegistryService object)
- add a delay between shutdown servers and kill omninames in shutdownSalome.py
caremoli [Fri, 6 Jun 2008 13:57:33 +0000 (13:57 +0000)]
CCAR: some corrections in :
- disconnection of CALCIUM ports
- shutdown of Python container
- shutdown of C++ container
- launching of standalone component