Commit Graph

672 Commits

Author SHA1 Message Date
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 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
Emmanuel Bretelle 8c8cdb1e09 fixing documentation bug LP#247882 2008-07-12 15:31:32 +01:00
Emmanuel Bretelle 512c8d5091 Fixing LP#247457
resizing the window when creating or destroying the notebook
2008-07-12 13:05:35 +01:00
Emmanuel Bretelle ace185a76e reverting one change from nxvl 2008-07-12 11:30:47 +01:00
Nicolas Valcárcel c3aa93eb05 Changed Maximise/Unmaximise underlining as per keybinding 2008-07-11 18:56:44 -05:00
Emmanuel Bretelle e4d3aabbf8 fixes .spec 2008-07-08 19:55:31 +01:00
Chris Jones a78b1c90d0 pull in a load of POs from Launchpad 2008-07-07 22:53:52 +01:00
Chris Jones 1585d73b10 Yield to bug 242852 and failsafe on transparency. I've added a FAQ page to the website which prominently explains how to enable real transparency 2008-07-07 22:47:02 +01:00
Chris Jones af204d5d84 blah, bump the version again 2008-07-06 17:13:36 +01:00
Thomas Hurst 8587c9f5ed Clarify error. 2008-07-06 18:31:33 +01:00
Thomas Hurst f03e8675b0 Turn --without-gettext into a global option, so it doesn't need to be hacked into every command class. 2008-07-06 18:28:31 +01:00
Thomas Hurst 71f9dc5ca1 Make --without-gettext work in more situations. Needs some tidying; if nothing else some metaprogramming to reduce duplication. 2008-07-06 18:03:05 +01:00
Thomas Hurst 6cb121a9f7 I should really check out bzr rebase. 2008-07-06 17:28:14 +01:00
Thomas Hurst f948e7b22c Add --without-gettext options to build and install. Check calls to msgfmt for errors and suggest it.
I checked msgfmt.c to make sure checking the return code is sane.
2008-07-06 17:27:00 +01:00