Salome HOME
modules/gui.git
10 years agoNew Python's logic: cleaning up un-necessary "shared_modules" logic abn/newpy_pv4-1
Adrien Bruneton [Thu, 13 Feb 2014 10:02:25 +0000 (11:02 +0100)]
New Python's logic: cleaning up un-necessary "shared_modules" logic

10 years agoRevamped Python interpreter logic in GUI.
Adrien Bruneton [Thu, 13 Feb 2014 09:53:44 +0000 (10:53 +0100)]
Revamped Python interpreter logic in GUI.

Now only uses execution contexts, no more sub interpreter.
 + reviewed PyInterp_Interp class and Python initialization
 + removed GetLockWrapper() method from PyInterp_Interp class.
 + interpreter member is no more requested in PyLock_Request (can be set to NULL)
 + reviewed PyLockWrapper class design to forbid copy ctor and assignment
 + more sophisticated stdout/stderr redirection for Python command: restore what was previously used after Python command execution.
 + get rid of "shared_modules" logic - no more necessary with a single interpreter

10 years agoPorting to PV4.1: change behavior of SIGFPE: PV4.1 needs to deal with +/-inf double...
Adrien Bruneton [Thu, 13 Feb 2014 09:22:51 +0000 (10:22 +0100)]
Porting to PV4.1: change behavior of SIGFPE: PV4.1 needs to deal with +/-inf double values.

Changed behavior so that by default SIGFPE is not raised. Only if env variable ENABLE_FPE is set
will the signal FPE be raised (but PARAVIS is then unusable).

10 years agoMinimal porting to PV4.1: update VTK version from 6.0 to 6.1
Adrien Bruneton [Wed, 12 Feb 2014 13:49:36 +0000 (14:49 +0100)]
Minimal porting to PV4.1: update VTK version from 6.0 to 6.1

10 years ago0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree V7_3_BR V7_3_0 V7_3_0_WIN V7_3_0rc1
vsr [Tue, 17 Dec 2013 08:13:03 +0000 (08:13 +0000)]
0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree

10 years agoAdd an option to build GUI with or without SALOMEDS observers
vsr [Mon, 16 Dec 2013 13:30:07 +0000 (13:30 +0000)]
Add an option to build GUI with or without SALOMEDS observers

10 years agoFix the problem with update of the OCCT 3D Viewer: synchronize the visual state of...
rnv [Fri, 13 Dec 2013 15:29:45 +0000 (15:29 +0000)]
Fix the problem with update of the OCCT 3D Viewer: synchronize the visual state of the SALOME windows with the OCCT, to avoid creation of the new window for the OCCT 3D viewer inside OpenGl_Window constructor:
    if (aVis->visualid == wattr.visual->visualid)
    {
      aWindow = aParent;
    }
    else
    {
      unsigned long mask = CWBackPixel | CWColormap | CWBorderPixel | CWEventMask;
      aWindow = XCreateWindow (aDisp, aParent, 0, 0, myWidth, myHeight, 0/*bw*/, aVis->depth, InputOutput, aVis->visual, mask, &cwa);
    }

10 years agoSynchronize with *_msg_en.ts
eap [Fri, 13 Dec 2013 09:54:45 +0000 (09:54 +0000)]
Synchronize with *_msg_en.ts

10 years agoUpdate documentation
vsr [Thu, 12 Dec 2013 14:08:47 +0000 (14:08 +0000)]
Update documentation

10 years ago0022439: [CEA 1026] The YACS panels are persistant when changing module
vsr [Thu, 12 Dec 2013 11:01:15 +0000 (11:01 +0000)]
0022439: [CEA 1026] The YACS panels are persistant when changing module

10 years agoCorrection of Fix of INTPAL0052217: TC7.3.0:SIGSEGV when update study in NoteBook
akl [Thu, 12 Dec 2013 08:31:05 +0000 (08:31 +0000)]
Correction of Fix of INTPAL0052217: TC7.3.0:SIGSEGV when update study in NoteBook

10 years agoFix of INTPAL0052217: TC7.3.0:SIGSEGV when update study in NoteBook
akl [Tue, 10 Dec 2013 11:24:50 +0000 (11:24 +0000)]
Fix of INTPAL0052217: TC7.3.0:SIGSEGV when update study in NoteBook

10 years agoAdd missing resource item
vsr [Tue, 10 Dec 2013 05:58:31 +0000 (05:58 +0000)]
Add missing resource item

10 years agoUpdated supported formats for textures consistently with what is specified in OCCT...
rnc [Mon, 9 Dec 2013 16:52:15 +0000 (16:52 +0000)]
Updated supported formats for textures consistently with what is specified in OCCT Image_AlienPixMap.hxx

10 years agoPorting to latest CASCADE snapshot
vsr [Mon, 9 Dec 2013 08:05:37 +0000 (08:05 +0000)]
Porting to latest CASCADE snapshot

10 years agoIPAL 0052196: TC7.3.0:runSalome --logger --modules=COMPONENT,CALCULATOR throw trace...
mpa [Fri, 6 Dec 2013 10:16:56 +0000 (10:16 +0000)]
IPAL 0052196: TC7.3.0:runSalome --logger --modules=COMPONENT,CALCULATOR throw trace with error
- Edit trace message

10 years agoFix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue.
rnv [Fri, 6 Dec 2013 07:51:59 +0000 (07:51 +0000)]
Fix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue.

10 years agoShow "Rename" menu command for light modules in "distributed mode" V7_3_0b1
vsr [Thu, 5 Dec 2013 10:55:55 +0000 (10:55 +0000)]
Show "Rename" menu command for light modules in "distributed mode"

10 years agoJapanese translations update
rnc [Thu, 5 Dec 2013 10:23:56 +0000 (10:23 +0000)]
Japanese translations update

10 years agoPython container is obsolete
vsr [Thu, 5 Dec 2013 07:06:31 +0000 (07:06 +0000)]
Python container is obsolete

10 years agoINT PAL 0052194: TC7.3.0: Some figures are not available in Clipping dialog
mpa [Wed, 4 Dec 2013 09:56:18 +0000 (09:56 +0000)]
INT PAL 0052194: TC7.3.0: Some figures are not available in Clipping dialog

10 years agoIncrement version to 7.3.0
vsr [Thu, 28 Nov 2013 14:30:52 +0000 (14:30 +0000)]
Increment version to 7.3.0

10 years agoImplementation of the "22390: [CEA 967] Latency enhancement after a selection of... BR_imps_2013 V7_3_0a1
rnv [Wed, 27 Nov 2013 12:19:53 +0000 (12:19 +0000)]
Implementation of the "22390: [CEA 967] Latency enhancement after a selection of a displayed object" issue.

10 years agoCMake:
mpa [Wed, 27 Nov 2013 10:13:42 +0000 (10:13 +0000)]
CMake:
- add files to remove using command "make clean"

10 years agoWIN32 compilation.
rnv [Mon, 25 Nov 2013 15:53:01 +0000 (15:53 +0000)]
WIN32 compilation.

10 years agoPorting to latest OCCT master
vsr [Mon, 25 Nov 2013 06:53:07 +0000 (06:53 +0000)]
Porting to latest OCCT master

10 years agoImplementation of the following issues:
rnv [Fri, 22 Nov 2013 13:59:51 +0000 (13:59 +0000)]
Implementation of the following issues:

1) 0022385: [CEA 975] The icon "Clipping" is missing in OCC view
2) 0021793: [CEA 625] Clipping : from coordinates or from bounding box
3) 0021792: [CEA 624] Keep the clipping

10 years agoPPGP patch: provides "closeStudy" event
vsv [Fri, 22 Nov 2013 12:06:21 +0000 (12:06 +0000)]
PPGP patch: provides "closeStudy" event

10 years agoFix crash BR_hydro_v_0_3_1
vsr [Thu, 21 Nov 2013 05:16:21 +0000 (05:16 +0000)]
Fix crash

10 years agoCommit on V7_main: Update dialog File-Preferences-Import
imn [Wed, 20 Nov 2013 13:29:03 +0000 (13:29 +0000)]
Commit on V7_main: Update dialog File-Preferences-Import

10 years agoCMake: removing unnecessary message on Windows
ana [Wed, 20 Nov 2013 08:47:23 +0000 (08:47 +0000)]
CMake: removing unnecessary message on Windows

10 years agomissing French translations
fps [Tue, 19 Nov 2013 17:18:16 +0000 (17:18 +0000)]
missing French translations

10 years agoAdd operationFinished(...) signal and public method which emits this signal.
mzn [Tue, 19 Nov 2013 11:37:08 +0000 (11:37 +0000)]
Add operationFinished(...) signal and public method which emits this signal.

10 years ago- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
mpa [Tue, 19 Nov 2013 11:13:19 +0000 (11:13 +0000)]
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before

10 years ago- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
mpa [Tue, 19 Nov 2013 10:59:37 +0000 (10:59 +0000)]
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before

10 years agoadd missing translation
fps [Mon, 18 Nov 2013 15:23:38 +0000 (15:23 +0000)]
add missing translation

10 years agoCMake:
mpa [Thu, 14 Nov 2013 12:06:45 +0000 (12:06 +0000)]
CMake:
- update documentation considering new CMake build system

10 years agoCMake:
mpa [Wed, 13 Nov 2013 12:16:00 +0000 (12:16 +0000)]
CMake:
- delete kernel dependency because options are local now

10 years agoRNV: Remove deprecated includes and old commented code.
inv [Thu, 7 Nov 2013 07:25:13 +0000 (07:25 +0000)]
RNV: Remove deprecated includes and old commented code.

10 years agoJapanese translations update
rnc [Tue, 5 Nov 2013 15:16:51 +0000 (15:16 +0000)]
Japanese translations update

10 years agoWin32 compilation
bruneton [Tue, 5 Nov 2013 14:05:31 +0000 (14:05 +0000)]
Win32 compilation

10 years agoCMake: improved reloading of dependent CMake targets in Config file to
mpa [Tue, 5 Nov 2013 12:43:56 +0000 (12:43 +0000)]
CMake: improved reloading of dependent CMake targets in Config file to
account for COMPONENTS.

10 years agoFix bug with zero-length list processing
vsr [Tue, 5 Nov 2013 11:30:32 +0000 (11:30 +0000)]
Fix bug with zero-length list processing

10 years agoCorrection of merge mistake.
akl [Tue, 5 Nov 2013 05:52:44 +0000 (05:52 +0000)]
Correction of merge mistake.

10 years agoCMake: improved reloading of dependent CMake targets in Config file to
bruneton [Mon, 4 Nov 2013 09:01:40 +0000 (09:01 +0000)]
CMake: improved reloading of dependent CMake targets in Config file to
account for COMPONENTS.

10 years agoIssue 0022171:
imn [Fri, 1 Nov 2013 13:33:03 +0000 (13:33 +0000)]
Issue 0022171:
- Additinally: show "Return to 3D" button in 2D projection views to quickly switch to 3D mode

10 years agoPorting python light modules to WIN32 platform.
rnv [Fri, 1 Nov 2013 10:22:22 +0000 (10:22 +0000)]
Porting python light modules to WIN32 platform.

10 years agoCMake: Edition accumulation of LD_LIBRARY_PATH, PATH and PYTHONPATH
mpa [Thu, 31 Oct 2013 10:22:41 +0000 (10:22 +0000)]
CMake: Edition accumulation of LD_LIBRARY_PATH, PATH and PYTHONPATH

10 years agoCMake: Add keyword NOCHECK for accumulating environment because included directories...
mpa [Thu, 31 Oct 2013 10:13:31 +0000 (10:13 +0000)]
CMake: Add keyword NOCHECK for accumulating environment because included directories not exists in this moment

10 years agoMerge from BR_hydro 30/10/2013
vsr [Wed, 30 Oct 2013 14:30:12 +0000 (14:30 +0000)]
Merge from BR_hydro 30/10/2013

10 years agoRemove debug message
vsr [Wed, 30 Oct 2013 12:47:52 +0000 (12:47 +0000)]
Remove debug message

10 years agofix error of previous change
inv [Tue, 29 Oct 2013 13:16:15 +0000 (13:16 +0000)]
fix error of previous change

10 years agoCMake:
mpa [Tue, 29 Oct 2013 07:03:33 +0000 (07:03 +0000)]
CMake:
- Accumulate environment variables, to be used later to run some command in proper environment.

10 years agoproper detection of PyQt4 with no env set
inv [Tue, 29 Oct 2013 07:01:37 +0000 (07:01 +0000)]
proper detection of PyQt4 with no env set

10 years agoCMake: invoking SALOME_CONFIGURE_PREPARE() macro and adapted SalomeGUIConfig.cmake
bruneton [Mon, 28 Oct 2013 14:43:47 +0000 (14:43 +0000)]
CMake: invoking SALOME_CONFIGURE_PREPARE() macro and adapted SalomeGUIConfig.cmake
so that the reloading of level-1-prerequisite targets takes into account the
component list (typically needed for VTK).

10 years agoMinor - fixing comment in Python Dispatcher
bruneton [Fri, 25 Oct 2013 14:13:07 +0000 (14:13 +0000)]
Minor - fixing comment in Python Dispatcher

10 years agoCompilation on Win64 platform
ana [Thu, 24 Oct 2013 15:06:29 +0000 (15:06 +0000)]
Compilation on Win64 platform

10 years agoCMake: rollback of previous changes
mpa [Wed, 23 Oct 2013 14:15:11 +0000 (14:15 +0000)]
CMake: rollback of previous changes

10 years agoCMake: doing proper string comparison in IF clause
bruneton [Wed, 23 Oct 2013 09:30:27 +0000 (09:30 +0000)]
CMake: doing proper string comparison in IF clause

10 years agoAdd make clean for generated files
mpa [Tue, 22 Oct 2013 07:01:33 +0000 (07:01 +0000)]
Add make clean for generated files

10 years agoImprove make dev_docs step:
mpa [Tue, 22 Oct 2013 07:00:23 +0000 (07:00 +0000)]
Improve make dev_docs step:
- It does not install anything; only generates output with doxygen
- make install installs output files generated by make dev_docs
- make clean cleans generated files

10 years ago-Delete REQUIRED for optional products
mpa [Mon, 21 Oct 2013 10:48:10 +0000 (10:48 +0000)]
-Delete REQUIRED for optional products

10 years ago- Add REQUIRED to optional products
mpa [Mon, 21 Oct 2013 06:20:13 +0000 (06:20 +0000)]
- Add REQUIRED to optional products
- SALOME_BUILD_DOC, SALOME_BUILD_TESTS should be independent in each module

10 years agoFix crash
vsr [Fri, 18 Oct 2013 14:13:49 +0000 (14:13 +0000)]
Fix crash

10 years agoTask: "XAO format: fields on geometry".
ouv [Fri, 18 Oct 2013 13:59:57 +0000 (13:59 +0000)]
Task: "XAO format: fields on geometry".
Sub-task: "GUI/visualization - OCC viewer".

10 years agoFix compilation error on Linux
vsr [Fri, 18 Oct 2013 06:01:54 +0000 (06:01 +0000)]
Fix compilation error on Linux

10 years agoReplace deprecated WNT macro definition by WIN32.
rnv [Thu, 17 Oct 2013 14:36:48 +0000 (14:36 +0000)]
Replace deprecated WNT macro definition by WIN32.

10 years ago0022260: EDF 2675 GEOM, SMESH: Add a shortcut for the FitAll action
vsr [Thu, 17 Oct 2013 13:29:23 +0000 (13:29 +0000)]
0022260: EDF 2675 GEOM, SMESH: Add a shortcut for the FitAll action

10 years agoFirst stage of the "0021793: [CEA 625] Clipping : from coordinates or from bounding...
rnv [Wed, 16 Oct 2013 12:45:53 +0000 (12:45 +0000)]
First stage of the "0021793: [CEA 625] Clipping : from coordinates or from bounding box" issue.

10 years agoChanges SIP/PyQt check procedures:
vsr [Tue, 15 Oct 2013 07:23:41 +0000 (07:23 +0000)]
Changes SIP/PyQt check procedures:
- all variables related to PyQt4 are set in FindPyQt4
- FindSalomePyQt4 automatically calls FindSalomeSIP

10 years agoMerge from V7_siman 11/10/2013
vsr [Fri, 11 Oct 2013 12:27:17 +0000 (12:27 +0000)]
Merge from V7_siman 11/10/2013

10 years agoAdditional correction for pyrcc
vsr [Fri, 11 Oct 2013 11:51:45 +0000 (11:51 +0000)]
Additional correction for pyrcc

10 years agoPatch for PPGP
vsv [Fri, 11 Oct 2013 07:02:12 +0000 (07:02 +0000)]
Patch for PPGP

10 years agoWrap qrc files added
vsv [Fri, 11 Oct 2013 06:59:01 +0000 (06:59 +0000)]
Wrap qrc files added

10 years agoFind pyrcc4 executable added
vsv [Fri, 11 Oct 2013 06:58:27 +0000 (06:58 +0000)]
Find pyrcc4 executable added

10 years agoMove VTK cmake configuration file from GUI module to the KERNEL: it is used in GEOM...
rnv [Thu, 10 Oct 2013 12:42:42 +0000 (12:42 +0000)]
Move VTK cmake configuration file from GUI module to the KERNEL: it is used in GEOM WITHOUT GUI, SMESH WITHOUT GUI, ... configurations.

10 years agoMinimize external dependencies: libxml is NOT a 1st-level dependency for GUI
vsr [Wed, 9 Oct 2013 06:59:09 +0000 (06:59 +0000)]
Minimize external dependencies: libxml is NOT a 1st-level dependency for GUI

10 years agoFix remarks related to the "0021709: [CEA 583] Toolbar preferences" issue.
rnv [Tue, 8 Oct 2013 15:19:41 +0000 (15:19 +0000)]
Fix remarks related to the "0021709: [CEA 583] Toolbar preferences" issue.

10 years agoRNV: Porting SALOME GUI module to the new OCCT version.
inv [Mon, 7 Oct 2013 11:28:44 +0000 (11:28 +0000)]
RNV: Porting SALOME GUI module to the new OCCT version.

10 years agoCMake: using SALOME_ACCUMULATE_HEADERS() to populate the complete list of includes...
bruneton [Mon, 7 Oct 2013 07:43:26 +0000 (07:43 +0000)]
CMake: using SALOME_ACCUMULATE_HEADERS() to populate the complete list of includes required by KERNEL header files.

10 years agoMoving config file to root dir
bruneton [Mon, 7 Oct 2013 07:27:25 +0000 (07:27 +0000)]
Moving config file to root dir

10 years agoImplementation of the "0021709: [CEA 583] Toolbar preferences" issue.
rnv [Fri, 4 Oct 2013 13:51:11 +0000 (13:51 +0000)]
Implementation of the "0021709: [CEA 583] Toolbar preferences" issue.

10 years agoPorting to CMake: improve PYQT4_WRAP_UIC macro for multiple usage in the same project...
vsr [Thu, 3 Oct 2013 06:51:31 +0000 (06:51 +0000)]
Porting to CMake: improve PYQT4_WRAP_UIC macro for multiple usage in the same project: name of the custom target should be globally unique within the project.

10 years agoCMake: minor: OpenGL detection: setting OPENGL_INCLUDE_DIR to blank under Win32
bruneton [Wed, 2 Oct 2013 12:45:50 +0000 (12:45 +0000)]
CMake: minor: OpenGL detection: setting OPENGL_INCLUDE_DIR to blank under Win32

10 years agoFix compilation errors.
rnv [Mon, 23 Sep 2013 09:36:07 +0000 (09:36 +0000)]
Fix compilation errors.

10 years agoDocumentation is optional
vsr [Sat, 21 Sep 2013 11:36:04 +0000 (11:36 +0000)]
Documentation is optional

10 years agoOpenCascade is obligatory third-party product for the GUI module.
rnv [Thu, 19 Sep 2013 09:40:34 +0000 (09:40 +0000)]
OpenCascade is obligatory third-party product for the GUI module.

10 years agoCMake: IF(WINDOWS) is deprecated - please always use IF(WIN32)
bruneton [Wed, 18 Sep 2013 09:16:45 +0000 (09:16 +0000)]
CMake: IF(WINDOWS) is deprecated - please always use IF(WIN32)

10 years agoFix problem of restore GUI state
vsr [Tue, 17 Sep 2013 13:00:09 +0000 (13:00 +0000)]
Fix problem of restore GUI state

10 years agoCMake: reverting to the previous behaviour for optional prerequisites.
bruneton [Tue, 17 Sep 2013 09:43:15 +0000 (09:43 +0000)]
CMake: reverting to the previous behaviour for optional prerequisites.

If not found, we trigger the failure of the configuration. This is handled
by macros SALOME_PACKAGE_REPORT_AND_CHECK
and SALOME_LOG_OPTIONAL_PACKAGE, allowing a nice error message which indicates
what flag should be switched off to avoid the issue.

10 years agoMerge from BR_new_bop4 (porting to new OCCT BOP) 13/09/2013
vsr [Mon, 16 Sep 2013 13:56:10 +0000 (13:56 +0000)]
Merge from BR_new_bop4 (porting to new OCCT BOP) 13/09/2013

10 years agoRNV: win32 building.
ana [Fri, 13 Sep 2013 13:35:49 +0000 (13:35 +0000)]
RNV: win32  building.

10 years agoImplementation of the "0022102: EDF 1496 SMESH : Displaying of discrete elements...
rnv [Fri, 13 Sep 2013 09:49:43 +0000 (09:49 +0000)]
Implementation of the "0022102: EDF 1496 SMESH : Displaying of discrete elements in SMESH relating to their attribute (diameter)" issue.

10 years ago0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure
vsr [Wed, 11 Sep 2013 16:26:19 +0000 (16:26 +0000)]
0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure

10 years agoCMake: Removed MPI detection: GUI only needs it as a second rank
bruneton [Wed, 11 Sep 2013 08:42:29 +0000 (08:42 +0000)]
CMake: Removed MPI detection: GUI only needs it as a second rank
dependency (from KERNEL).
KERNEL_INCLUDE_DIRS are now included in the top CMakeLists.txt

10 years ago0021895: EDF 2372 GEOM SMESH : Generate the doc examples from real python scripts
vsr [Tue, 10 Sep 2013 10:26:13 +0000 (10:26 +0000)]
0021895: EDF 2372 GEOM SMESH : Generate the doc examples from real python scripts
0020512: EDF 1113 OTHER : Using webkit to display documentation
Improve Help browser to manage file links properly (save, open)

10 years agoDo not install macros FindCAS.cmake and FindSalomeCAS.cmake that have been removed
barate [Mon, 9 Sep 2013 14:14:16 +0000 (14:14 +0000)]
Do not install macros FindCAS.cmake and FindSalomeCAS.cmake that have been removed

10 years agoRemove some excess things
eap [Mon, 9 Sep 2013 10:26:02 +0000 (10:26 +0000)]
Remove some excess things

-OPTION(SALOME_LIGHT_ONLY "Build SALOME Light only (no CORBA)" ${SALOME_LIGHT_ONLY})

-SET(SALOME_INSTALL_APPLISKEL_SCRIPTS "${SALOME_INSTALL_APPLISKEL_SCRIPTS}" CACHE PATH
-   "Install path: SALOME application skeleton - scripts")
-SET(SALOME_INSTALL_APPLISKEL_PYTHON "${SALOME_INSTALL_APPLISKEL_PYTHON}" CACHE PATH
-   "Install path: SALOME application skeleton - Python")

10 years agoGEOM porting to CMake
eap [Mon, 9 Sep 2013 09:37:22 +0000 (09:37 +0000)]
GEOM porting to CMake

Move to KERNEL as GEOM needs Cascade in "Without GUI" mode

10 years agoCompilation SALOME on Windows
ana [Mon, 9 Sep 2013 09:12:57 +0000 (09:12 +0000)]
Compilation SALOME on Windows