Commit Graph

3191 Commits

Author SHA1 Message Date
Thomas Hurst 1f0bb51e76 Make sections and settings case-insensitive (stored lowercase).
When we get profiles we should be case-preserving, but this will do for now.
2008-08-15 13:22:07 +01:00
Thomas Hurst c0ab0e3f34 Introduce a cut-down version of my .ini parser; this one doesn't do anything special with indents, and just builds a simple dict on parse. It does introduce the same error handling (other than that for indenting), so some previously working (but highly dubious) configs might break.
Hook up a [keybindings] section, to override the default ones now in config.py; teach TerminatorConfig to merge configured keybindings from available sources; gconf support shouldn't be far away.
2008-08-15 04:11:24 +01:00
Emmanuel Bretelle 0c49debaac Make sure the titlebar is shown consistently
* Fixes LP#249200
2008-08-13 18:12:57 +01:00
Thomas Hurst c471d636a6 Save a method call. 2008-08-13 02:06:49 +01:00
Thomas Hurst 4f1eb58135 Document search. 2008-08-13 00:20:52 +01:00
Thomas Hurst 233fd9630b Make search actually only search valid buffer ranges. 2008-08-13 00:17:40 +01:00
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