]> SALOME platform Git repositories - modules/gui.git/commit - src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_ModuleLight.h
Salome HOME
Revamped Python interpreter logic in GUI.
authorAdrien Bruneton <adrien.bruneton@cea.fr>
Thu, 13 Feb 2014 09:53:44 +0000 (10:53 +0100)
committerAdrien Bruneton <adrien.bruneton@cea.fr>
Thu, 13 Feb 2014 10:03:19 +0000 (11:03 +0100)
commit80f32aba5aa2bf61f6278621910d3e81a443d2e8
tree4d7ec3ff085f815d676bc321fa12dbfcb93eb67f
parent3182ffb648bfb4ef5590ac2c1bc066a817f96f9b
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
26 files changed:
src/LightApp/LightApp_PyInterp.cxx
src/LightApp/LightApp_PyInterp.h
src/PyConsole/PyConsole_EnhInterp.cxx
src/PyConsole/PyConsole_Interp.cxx
src/PyConsole/PyConsole_Interp.h
src/PyInterp/PyInterp_Dispatcher.cxx
src/PyInterp/PyInterp_Interp.cxx
src/PyInterp/PyInterp_Interp.h
src/PyInterp/PyInterp_Request.h
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_ModuleLight.cxx
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_ModuleLight.h
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyInterp.cxx
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyInterp.h
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.h
src/SUITApp/SUITApp.cxx
src/SUITApp/SUITApp_init_python.cxx
src/SUITApp/SUITApp_init_python.hxx
src/SalomeApp/SalomeApp_Application.cxx
src/SalomeApp/SalomeApp_DoubleSpinBox.cxx
src/SalomeApp/SalomeApp_IntSpinBox.cxx
src/SalomeApp/SalomeApp_NoteBook.cxx
src/SalomeApp/SalomeApp_PyInterp.cxx
src/SalomeApp/SalomeApp_PyInterp.h
src/Session/SALOME_Session_Server.cxx