Commit Graph

255 Commits

Author SHA1 Message Date
Chris Jones
f20b437caf Allow disabling of dbus from the command line, and make use of that when spawning a new terminator process 2010-07-22 13:59:06 +01:00
Chris Jones
93104c42a2 Add debugging and hash the X11 display (suggestion from Andrea) 2010-07-22 09:24:47 +01:00
Chris Jones
9044ffabb0 Land a modified and extended patch from Andrea Corbellini that adds a dbus server and a new default behaviour to use the dbus server to make terminator processes singletons 2010-07-21 23:17:34 +01:00
Chris Jones
5b5739df0e Add some more debugging to layout creation 2010-06-15 15:19:05 +01:00
Chris Jones
682f0bd3f7 Apply some policy to the original cwd we inherit - if it's / then our parent process is probably some kind of app launcher, so we'll try to be helpful and make our cwd be ~ 2010-04-18 09:49:32 +01:00
Chris Jones
9b7fc5daa8 finally: is not py2.4 compatible 2010-04-06 00:05:20 +01:00
Chris Jones
16bc247b0e Attach the debug server to the context menu 2010-03-19 22:16:08 +00:00
Chris Jones
71919fce55 Create a layout if requested, otherwise create a default one or just open a window 2010-02-17 20:57:05 +01:00
Chris Jones
41a8b2372c Undo my madness 2010-02-05 00:16:24 +00:00
Chris Jones
882f325a73 Move all the layout stuff onto a separate branch so trunk can shape up for 0.90 2010-02-04 23:24:27 +00:00
Chris Jones
678057a0d3 First run at layout loading, creating, enumerating and saving. It sucks and works poorly at the moment, but here it is 2010-02-01 12:11:44 +00:00
Chris Jones
e3438b3bdf Fix up the startup cwd tracking so self-spawning works in non-absolute paths, and handle the key_new_window => key_new_terminator switch 2010-01-29 23:52:21 +00:00
Chris Jones
ece0cfdde0 Refactor the creation of a new Window/Terminal pair and joining them, into Terminator, and call it from the top level terminator script 2010-01-29 23:41:18 +00:00
Chris Jones
4d216633fc -d now automatically infers the Class::method in dbg(), and -d additionally adds a trailing (filename:line) item. debugserver is now moved to -ddd 2010-01-14 13:15:05 +00:00
Chris Jones
23f469add3 Fix up handle_size to work properly 2010-01-11 23:46:18 +00:00
Chris Jones
adfaf600fa Store the command line options in Config rather than overwriting parts of it, and passing them around 2010-01-11 20:56:30 +00:00
Chris Jones
96ad941267 Clear up pyflakes errata and switch newterminator to terminator 2010-01-11 20:11:35 +00:00
Chris Jones
9744f3ebb6 Add keyword arguments to Window.__init__() for command line options 2010-01-05 12:49:57 +00:00
Chris Jones
cb0b68bc5d There was a reason we imported these three, I just forgot it until now. It's a rough test that we have sufficient dependencies to run. 2010-01-05 09:24:44 +00:00
Chris Jones
dbe683e259 hey look it's 2010 already 2010-01-04 23:56:28 +00:00
Chris Jones
f4a893a594 Remove option parsing code now that is in its own module, and generally refactor/reformat 2010-01-04 23:52:57 +00:00
Chris Jones
137dfe7ef4 prepare for this main terminator script to work with epicrefactor 2010-01-04 12:57:14 +00:00
Chris Jones
0b5ac38793 Hand merge in from trunk 2009-12-19 02:08:35 +00:00
Chris Jones
53f2bcec75 remove notification. Closes LP #393015 2009-06-29 23:51:53 +01:00
Chris Jones
224fddedbd Stupid feature suggested by Martin Pitt. Comedy notify on exit 2009-05-29 16:23:21 +02:00
Chris Jones
ac56c18501 Add support for spawning new windows as new Terminator processes. Closes LP #381193 2009-05-28 10:29:56 +02:00
Chris Jones
b0302e6fab split out translation support into an separate file so it can be more correctly included everywhere 2009-05-07 01:44:42 +01:00
Chris Jones
02412a1f6d Make the additional arguments error say what the additional arguments are 2009-05-05 00:30:58 +01:00
Chris Jones
ee1490dc4a Add a commandline argument to allow specifying the window title. Closes LP #370064 2009-05-04 02:00:44 +01:00
Chris Jones
caf00fa19e debug print of the version should use APP_NAME too 2009-04-07 15:44:52 +01:00
Chris Jones
96a4597da2 debug print of the version 2009-04-07 15:44:23 +01:00
Jamu Kakar
97700f2d7d - Added --working-directory to the manpage.
- Added a metavar option to the --working-directory parser
  configuration, to make it's help text a touch prettier.
2009-01-27 11:19:01 -08:00
Jamu Kakar
6f7a595d27 - New --working-directory command-line option sets the terminal's
initial working directory.
2009-01-27 11:16:00 -08:00
Chris Jones
4236e44e5f Merge in Chris James' quake branch. 2009-01-25 14:26:20 +00:00
Chris Jones
434c253237 make profile editor opened the conext menu and improve its appearance 2008-11-01 00:50:34 +00:00
Chris Jones
0f0cfb9300 don't be silly about pylint 2008-09-04 00:58:10 +01:00
Chris Jones
125c1a61ac fix some pylint stuff 2008-09-04 00:52:04 +01:00
Thomas Hurst
035b15b6d9 Session support now tests ok with xsm. Note change of default #! line, and addition of dummy arguments to OptionParser. If we move gnome init earlier we can avoid the latter. 2008-08-29 19:22:16 +01:00
Chris Jones
5f81247353 Feeble exploration of the parts necessary for a graphical profile editor 2008-08-22 00:19:18 +01:00
Thomas Hurst
fc53521c80 Add a --geometry option. Terminator's constructor is getting a bit long. 2008-08-21 08:07:38 +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
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 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
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
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