(Execute*): Do nothing if commands are temporarily blocked
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89202 936e1b1b-40f2-da11-902a-00137254ae57
possible completions, the output of the commands was inserted in the middle
of the user's partial command. Fixed by redirecting sys.stdout.write no
a do-nothing subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89126 936e1b1b-40f2-da11-902a-00137254ae57
broken by support for multiple inheritance (see comments in code)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89123 936e1b1b-40f2-da11-902a-00137254ae57
to all shells. This provides better code sharing, and simplifies this
package a lot
(Initialize_IO): Removed
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89094 936e1b1b-40f2-da11-902a-00137254ae57
longer capture the output of commands
(Run_Command): Do not capture the output of the command, only its returned
value, as we do for shell functions anyway. This is used in the context
of GPS actions, and only the returned value is relevant, since the output
can be redirected to other consoles
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89092 936e1b1b-40f2-da11-902a-00137254ae57
console, since ctrl-c should be a simple copy-paste when not running a
command
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89089 936e1b1b-40f2-da11-902a-00137254ae57
Interactive_Console, so that this package no longer has to deal with low-level
details of Gtk_Text_Buffer.
This also fixes issues with the handling of the prompt and the location of
the cursor with the arrow keys
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89083 936e1b1b-40f2-da11-902a-00137254ae57
Python_Console_Interrupt_Handler): New subprograms
(Set_Console): Removed
The python console is now implemented through a real interactive_console.
Fixes some problems with handling of the prompt and the location of the
cursor. Code cleanup
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89082 936e1b1b-40f2-da11-902a-00137254ae57
module, since it is destroyed before the rest of the GPS interface is
destroyed
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89076 936e1b1b-40f2-da11-902a-00137254ae57
(Primitive_Free): Only free the pointer for a class_instance if no ref to
it is left. Fixes Storage_Error when storing a Class_Instance with a
widget
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@89069 936e1b1b-40f2-da11-902a-00137254ae57
subprograms, since Py_TupleSetItem doesn't do it automatically
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88991 936e1b1b-40f2-da11-902a-00137254ae57
messages window, so that error messages from ~/.gps/python_startup are
still readable
(Load_Python_Startup_Files): Show in the Messages window only the output
containing errors, not expected outputs, to keep the contents of the
Messages window short
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88982 936e1b1b-40f2-da11-902a-00137254ae57