Commit Graph

261 Commits

Author SHA1 Message Date
Chris Jones 5d35c196c7 Add a command line option to spawn new tabs via DBus 2012-10-30 00:11:24 +00:00
f12f7e7b47 Added a little transformatios to make sure all the parameters of the config are
passed to string before calling the dbus method (integers for example).
2011-12-29 21:43:12 +01:00
abdcc0f201 Changed the dbus method new_window to use an array of options instead of only
passing the layout, also formatted a little the help strings in the optionparse 
module (to fit in 80 chars without breaking the indent)
2011-12-29 21:39:09 +01:00
d76b0dee7f Added a parameter to the dbus method new_window, to allow the passing of the
command to execute.
2011-12-29 20:02:11 +01:00
Chris Jones 007ca36723 Add dbus mechanism to obtain a list of terminals 2011-08-25 22:10:04 +01:00
Chris Jones 35842b6ff7 When creating a new window via dbus, pass on the layout request if there is one 2010-11-29 20:46:49 +00:00
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