otherwise we are not compatible with the version of python uses in the nightly
builds
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95055 936e1b1b-40f2-da11-902a-00137254ae57
Various comment improvements to properly document what needs to be unrefed,
and what doesn't
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95039 936e1b1b-40f2-da11-902a-00137254ae57
(Execute, returning String): New subprogram
This is part of providing action_hooks returning strings, for the debugger
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@94644 936e1b1b-40f2-da11-902a-00137254ae57
orthogonal to their group, and children have to be created before they are
put in the MDI
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@94360 936e1b1b-40f2-da11-902a-00137254ae57
interactive command. This function is used to process the gtk+ event in case
the python function takes a long time to execute, but we do not want to
execute it for internal functions (in particular the one used to initialize
the IO when the python console is created at startup).
Found while working with the sysprof profile on linux. This is a minor
speedup, but more important cleans up the profile since
python.module.initialize_io was showing up as using 23.3% of the startup
time, when in fact it uses 0.08%
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93716 936e1b1b-40f2-da11-902a-00137254ae57
file to display the error messages. This trick didn't always work, and a
better solution has been put in place where error messages are sent to the
Messages window if the Python console doesn't exist
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93503 936e1b1b-40f2-da11-902a-00137254ae57
exceptions in the current console associated with the python interpreter
(either the Python console if open, or the Messages window, unless these have
been overriden). Helps debugging scripts
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93489 936e1b1b-40f2-da11-902a-00137254ae57
associated with the python interpreter will also display results of print to
that console.
In particular, this fixes the case where a filter set for an action is in
fact raising an exception, which would be displayed in the python console if
it exists, and would not be displayed otherwise. If the python console does
not exist, we fall back on the Messages window, so that such error messages
and exceptions and filters are properly displayed for the user, which helps
debugging
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93488 936e1b1b-40f2-da11-902a-00137254ae57
should only be displayed in that case). Fixes issue where the prompt is
displayed in the Messages window (see the AWS integration)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93430 936e1b1b-40f2-da11-902a-00137254ae57
is consistent with what is done for the .xml files. This way it is
possible to load Python file in non standard location as pointed by
the GPS_CUSTOM_PATH variable.
Reorder with clauses.
Minor reformatting.
Part of work for E923-010.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93413 936e1b1b-40f2-da11-902a-00137254ae57
"new-style" classes of Python (aka objects deriving from the object class)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92639 936e1b1b-40f2-da11-902a-00137254ae57
responsability of each language to associate a widget and a class instance
to avoid memory leaks and storage_errors
Fixes memory leaks where some python objects were never freed, in particular
class instances
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92420 936e1b1b-40f2-da11-902a-00137254ae57