Commit Graph

885 Commits

Author SHA1 Message Date
Thomas Hurst b02ffdc210 Add a basic scrollback search function, attached to Ctrl-Shift-F for now. Type, hit Enter to search, Enter to continue, and Escape to cancel the search (with the input gadget having focus).
A bit slow because VTE's get_text* API is awful.
2008-08-12 02:12:30 +01:00
Thomas Hurst 07457a29bd Style; remove double lines after some methods. 2008-08-11 20:06:41 +01:00
Thomas Hurst 3a7822253a Fix a few missed keybindings. 2008-08-11 19:30:04 +01:00
Thomas Hurst acaa153810 Style; put method bodies on seperate lines in keeping with the rest. 2008-08-11 19:16:10 +01:00
Thomas Hurst b16c32baa4 Remove some debugging, remove the unused _f11_modifier attribute 2008-08-11 19:14:26 +01:00
Thomas Hurst 9923c9e347 Tidy imports, remove completely useless comments 2008-08-11 19:12:42 +01:00
Thomas Hurst be159574d9 We don't need to do a keyname lookup here any more. 2008-08-11 19:08:26 +01:00
Thomas Hurst e65e396d32 Hook up new keybinding code. Making them configurable shouldn't be far away... 2008-08-11 19:02:14 +01:00
Thomas Hurst d1787e576d Introduce a class for handling keybindings. Not yet hooked up to anything, but initial tests suggest it works. 2008-08-11 15:30:51 +01:00
Thomas Hurst f96018f0bc Use TerminatorTerm's get_window_title(), rather than everyone asking vte and failing to handle it properly. 2008-08-07 23:07:21 +01:00
Thomas Hurst 4c0e500c7b Always set some sort of title; if vte's title is None, use the command the terminal is running.
Add an option to spawn a telnet instance to the local debug server in a tab.  newtab() and splitaxis() now support a command argument for this.
2008-08-07 21:34:47 +01:00
Thomas Hurst 6a14445c74 Debugserver debugging fixups. 2008-08-07 18:20:45 +01:00
Thomas Hurst 9a3ddc0854 Do some tidying. Only spawn a server when running with -dd (debug is now a counter, not just a boolean) 2008-08-07 17:26:46 +01:00
Thomas Hurst 61aafbe028 Give our debugserver a reasonable starting environment 2008-08-07 14:59:10 +01:00
Thomas Hurst d0d81fc152 Introduce a debug service; spawn a Python REPL on a random local TCP port. Supports basic telnet commands, ^C and ^D work, etc. 2008-08-07 05:32:28 +01:00
Chris Jones 807921372b Handle creating popup menus with far less crack, and for kicks, not occasionally spit backtraces trying to create menus. For bonus points, also don't pass the event onto the widget 2008-08-06 23:12:45 +01:00
Thomas Hurst d51ab3a7e2 Change window titles from Terminator: Title to Title - Terminator. 2008-08-05 11:28:46 +01:00
Thomas Hurst 2d6f1c0485 r459 breaks; regexp probing, since \< is valid in both POSIX and GNU regexps; they just don't mean the same thing. This means on !GNU, URL matching silently breaks and POSIX word boundries are never tried.
Since the VTE-warning is annoying people, rather than back it out, try to make everyone happy; Linux now only uses GNU, !Linux always probes, and there's now a try_posix_regexp configuration option who's default reflects this.  Hopefully we will Just Work in most environments.
2008-08-03 03:09:38 +01:00
Chris Jones bcb60d1807 swap match adding order to try the Linux friendly one first. This should reduce reports of the libvte warning as being an error 2008-08-02 23:32:10 +01:00
Chris James 66c1de7a43 define _hidden on start 2008-08-01 19:22:28 -05:00
Chris James 58747628a5 fixed hide 2008-07-28 03:54:30 -05:00
Chris James 436c7be758 Changed shortcut to <shift><ctrl><alt>a 2008-07-28 02:35:22 -05:00
Chris James a075a6cc62 Quake mode 2008-07-28 02:10:30 -05:00
Chris Jones 202a0fd3b2 reduce whinging from pylint 2008-07-22 12:03:30 +01:00
Thomas Hurst 29c2d3e44d Make -x work properly. This should close #247330 once and for all.
Refactor spawn_child to move path and shell lookups into their own methods.

Make command a string for -e and a list for -x to distinguish them.

If command is a string, let the shell deal with it, if command is a list,
do a path lookup and run it directly.
2008-07-20 22:15:14 +01:00
Emmanuel Bretelle 0e95abf66f only enable expose-event when in the drag_motion method 2008-07-17 22:09:41 +01:00
Thomas Hurst e3d3118d67 Tighten some excepts so we don't silently treat real errors as simple ImportErrors 2008-07-17 18:44:21 +01:00
Thomas Hurst b602ecfe9c Improve formatting 2008-07-17 18:32:24 +01:00
Thomas Hurst a1c3bc264d Make len a size_t, don't overwrite the len builtin. 2008-07-17 01:11:56 +01:00
Chris Jones 8d207af1e4 Apply some fixups from pylint 2008-07-17 00:54:21 +01:00
Thomas Hurst 05c243d6fa Quieten a few of the more sane warnings from pylint. 2008-07-17 00:43:55 +01:00
Chris Jones 6e4e179aac move subprocess to the right place 2008-07-17 00:28:04 +01:00
Thomas Hurst 15ba71d766 Always spawn commands via a shell, similar to xterm. This makes terminator -e "/bin/bash -c /usr/bin/python" work.
This also makes things like -e "cd $HOME && bash" work; the shell does it for us.  In this respect we are at least better than gnome-terminal.

This has the "disadvantage" that if you don't set $SHELL and don't have a known shell installed, your custom command will no longer save you.  Also if you have a $SHELL which doesn't support -c 'command', it breaks.  These users deserve their pain.

Resolves lp#247330, I think.
2008-07-16 23:13:54 +01:00
Thomas Hurst 09b3f25283 Change import order, no functional changes. 2008-07-16 23:13:38 +01:00
Emmanuel Bretelle 18e58148a4 Migrating the DnD overlay code in an expose event
as this seems to be the only way to have an overlay dran with no flicker
2008-07-16 21:00:43 +01:00
Emmanuel Bretelle 735ae78341 well, lets try this 2008-07-16 20:27:16 +01:00
Emmanuel Bretelle d26fcec77e DnD overlay improvement
LP#249065 if composite is disable, dnd is flickering
2008-07-16 20:17:53 +01:00
Chris Jones aeebfea852 revert revision 442. LP #245291 isn't sanely fixable by us. vte needs to expose which regexp library it is using 2008-07-13 23:16:19 +01:00
Chris Jones 994d11eb80 let's apply the boundary test the right way around, and also learn to spell 2008-07-13 01:27:08 +01:00
Chris Jones 95cee4485b This should fix LP #245291 2008-07-13 01:12:11 +01:00
Chris Jones c4d5d8c1a8 more greetz 2008-07-13 01:07:54 +01:00
Chris Jones 706ff0ca3f merge the candidate branch for LP #245733 2008-07-13 01:04:44 +01:00
Chris Jones 18ffbcd62e Merge Markus Korn's branch for LP #246706 2008-07-13 00:49:30 +01:00
Chris Jones 510b9a7ebf fix LP #247430 2008-07-13 00:45:04 +01:00
Chris Jones e6fd2fc5c8 fix some dbg calls to format consistently with the others 2008-07-13 00:36:53 +01:00
Chris Jones ab07605083 remove LP bug numbers and TODO. I don't think these things should be in the code. FIXMEs seem ok, but I think the others should be in commit messages and bug tracker (not even TODO, I don't think that should exist either) 2008-07-13 00:33:34 +01:00
Markus Korn 5a8718d912 * terminator, terminatorlib/terminator.py: added a '--no-gconf' commandline
option
* doc/terminator.1: updated manpage
2008-07-08 20:38:51 +02:00
Chris Jones 4e87678910 bump debian/changelog one last time 2008-07-07 22:57:09 +01:00
Emmanuel Bretelle cd3013389d fixing LP#247907 and answer#38895
correct typo in terminatorlib/terminatorterm.py
2008-07-12 16:26:33 +01:00
Emmanuel Bretelle 9d97e21aa8 Fixing LP#247893
XDG_CONFIG_HOME is not properly handled
2008-07-12 15:35:36 +01:00