Commit Graph

273 Commits

Author SHA1 Message Date
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
Chris Jones 18ffbcd62e Merge Markus Korn's branch for LP #246706 2008-07-13 00:49:30 +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
Emmanuel Bretelle 0acb0152d6 fixing conflict 2008-07-04 13:00:16 +01:00
Emmanuel Bretelle 113ae17b79 porting .spec to 0.9 2008-07-04 12:45:36 +01:00
Chris Jones 88eb16ce1e tidy up a little in preparation for release 2008-07-03 23:48:29 +01:00
Chris Jones ce0266b0e4 little change to make sure we don't get given gtk1. seems pretty unlikely to happen, but we might as well handle it nicely 2008-07-02 10:16:52 +01:00
Chris Jones f92cb72a6a Hook -d up to terminatorlib.config.debug properly. Closes LP #243753 2008-06-28 21:20:49 +01:00
Chris Jones d38a42b580 split Terminator and TerminatorTerm into their own library files 2008-06-27 00:24:52 +01:00
Chris Jones a73b094f70 oops, we need to check we changed on the other axis too 2008-06-26 08:12:54 +01:00
Chris Jones 1659985a22 only scale fonts when mostly appropriately. Closes LP #242301 2008-06-26 01:54:10 +01:00
Chris Jones ab74d1427a Remember titlebar setting when zooming. Closes LP #241007 2008-06-26 01:20:25 +01:00
Chris Jones d4e7e8217c Always restore font size on unzooming, since atm it is possible to Zoom, then Unmaximise and keep the larger font, which then can't be returned to normal 2008-06-23 09:53:04 +01:00
Emmanuel Bretelle 3e71f13fc7 Better handling of refocus on middle click 2008-06-24 21:18:36 +01:00
Emmanuel Bretelle 56e93ee30b We also need to refocus on middle click release 2008-06-24 18:08:52 +01:00
Emmanuel Bretelle b1f67a7a3e Fixes LP#242612
Terminal doesn't get focus on paste
2008-06-24 16:32:40 +01:00
Thomas Hurst 10eb293009 Support + in email local parts. 2008-06-23 15:33:00 +01:00
Thomas Hurst c465121a9c Make email matches case-insensitive. 2008-06-23 05:01:09 +01:00
Thomas Hurst 3090bb58f5 Eliminate the final group in the email regexp, so VTE doesn't allow a match just on an email TLD. 2008-06-23 04:54:02 +01:00
Chris Jones cbb6343d14 sigh, again with the merging and pushing drama 2008-06-22 00:10:53 +01:00
Thomas Hurst 3717c8af1f Add copy_on_selection, defaulting to false, which automatically copies selections to the clipboard. Resolves LP #241594. 2008-06-20 16:18:23 +01:00
Chris Jones 51e82409a8 improve the previous fix for LP #241563 2008-06-20 11:26:36 +01:00
Chris Jones e8e9a9dca3 we have no business inserting 'bin' into paths. Fixes LP #241563 2008-06-20 11:03:16 +01:00
Chris Jones aff7bbb213 Add some debugging to spawn_child for bug 241563 2008-06-20 09:38:05 +01:00
Chris Jones 89d0156552 turn a print into a dbg() and fix APP_NAME so icons work 2008-06-18 18:30:47 +01:00
Chris Jones 0ce3550f6f fix version handling so setup.py doesn't need to import terminator itself. Also fix gettext to work across imported files 2008-06-18 14:02:10 +01:00
Chris Jones 90db9016bd We need to not bail out in sbuild 2008-06-18 10:21:00 +01:00
Chris Jones 92b2b43e92 Add support for restoring original font size after zooming. Also import 'err' from terminatorlib 2008-06-18 09:39:21 +01:00
Emmanuel Bretelle 5254ede2da Enable switch to next/previous term within the same tab
* closes LP#238205
2008-06-17 21:40:04 +01:00
Chris Jones 9a499cf9ff Make sure we retain focus when zooming/unzooming 2008-06-17 11:15:28 +01:00
Chris Jones 7ff71273d4 Add a warning about terminatorrc moving 2008-06-17 01:58:41 +01:00
Chris Jones c1ee7f2b9c Support a setting which allows the removal of all bells (ie audible and visual). Closes LP #237758 2008-06-17 00:36:55 +01:00
Chris Jones 3bbeb59d71 Correctly prepent - to argv[0] when a login shell is configured. Closes LP #195043. 2008-06-17 00:26:45 +01:00
Chris Jones 08b2f70b20 Switch to using err() 2008-06-17 00:10:54 +01:00
Chris Jones d2d4670915 Fix up some debugging from the previous commit 2008-06-15 19:03:54 +01:00
Chris Jones e35709e5e0 Close LP #238518. We now support profiles with spaces in their name. Additionally this fixes some use_custom_command related bugs. 2008-06-15 11:15:45 +01:00
Chris Jones 68870905f8 fix a spello 2008-06-14 12:46:29 +01:00
Chris Jones 4fb935d189 do closeterm better 2008-06-14 02:37:01 +01:00
Chris Jones f68e16b668 make terminal zooming actually zoom actually do as advertised and scale the font. added maximisation of terminals (ie the previous behaviour of zooming) 2008-06-14 02:27:50 +01:00
Chris Jones ec1e9a78db revert 330..331 to get the logging back 2008-06-14 00:42:04 +01:00
Emmanuel Bretelle 55f7954386 attempting to solve LP#227263 2008-06-13 12:21:14 +01:00
Chris Jones 0616784c35 Remove SEGBUG debugging 2008-06-13 11:58:33 +01:00
Chris Jones 2c5a4bd379 add more debugging to try and figure out the segfault bug 2008-06-13 11:30:28 +01:00
Chris Jones e95f07eb12 Fix -x and -e options. Closes LP #23935 2008-06-13 01:28:29 +01:00
Chris Jones d19b94c653 Prioritise GConf over RC when --profile is specified. Closes LP #238039 2008-06-11 00:21:05 +01:00
Thomas Hurst 4ac3d6dc76 Add a f11_modifier option; if True, it's Ctrl-Shift-F11 instead of just F11. 2008-06-09 19:01:16 +01:00
Thomas Hurst 1721a540c7 Search $PATH for shells. Reinstate F11 (oops). 2008-06-09 18:51:37 +01:00
Thomas Hurst 2a9b782410 Fallback if xdg-open returns nonzero too. 2008-06-09 18:21:02 +01:00
Thomas Hurst be92d94057 Replace braindead exec_command with subprocess.call, which can cope with shell metachars 2008-06-09 18:11:32 +01:00
Emmanuel Bretelle 0803723ca9 Adding XDG support closes LP#238070
* adding python-xdg and xdg-utils in debian/control 's Recommends field
  * if xdg is not installed, default to ~/.terminatorrc
  * using xdg-open first, then fallback to gnome.url_show or webbrowser.open
2008-06-09 14:15:30 +01:00
Chris Jones 17a61dabf6 remove my testing 2008-06-09 11:08:54 +01:00
Emmanuel Bretelle 42bea4cfdb reverting changes rev 317
as it does not fix the issue
2008-06-09 08:49:28 +01:00
Emmanuel Bretelle c0cb0bebde attempt to fix LP#237758
by removing self._vte.queue_draw in reconfigure_vte
2008-06-08 14:12:20 +01:00
Emmanuel Bretelle ebce818323 oops, fixes bug from prev rev 2008-06-07 15:07:26 +01:00
Emmanuel Bretelle cac4852ee9 changed nxvl's changes: grab_focus should be called on the widget
anytime we zoom/unzoom, this can be done in toggle_zoom
2008-06-07 15:03:44 +01:00
Emmanuel Bretelle b4d84d577d Fixing some titlebars bugs in Zoom/UnZoom
Also refocus on the terminal after zoom/unzoom
2008-06-07 14:56:30 +01:00
Nicolas Valcárcel 2cc15d6607 Focus after zooming (LP: #238046 2008-06-07 03:06:26 -05:00
Emmanuel Bretelle 4a74f74897 Enhancing the way we handle refocus when a terminal is closed
* Fixes LP#234905 : Refocus on term close
  * Added new conf parameter: focus_on_close
  * Default to auto, possible values: auto, next, prev
  * When auto, if the term parent is a gtk.Paned, the focus is 
     given to the sibling rather than the previous term which could 
     be in another tab
  * Added entry to doc/terminatorrc.5
2008-06-06 19:13:54 +01:00
Chris Jones e4fb8fbaf1 temporarily add more dbg() statements to try and figure out 227263 2008-06-05 13:06:27 +01:00
Thomas Hurst 699f5a64d7 merge 2008-06-05 12:35:27 +01:00
Thomas Hurst 79a32153bf Add ' to the list of valid URL path chars 2008-06-05 12:32:36 +01:00
Chris Jones 320744fe1a fix image loading for context menu and reverse split behaviour. Fixes LP #201795 2008-06-04 12:34:33 +01:00
Chris Jones 36d4654979 make the icon parts fail more gracefully, and add our menu icons to the branch 2008-06-04 11:18:59 +01:00
Chris Jones 7f4461c280 Add icons to the horizontal/vertical splits, which should help with the confusing usability issues wrt this feature 2008-06-04 10:57:13 +01:00
Chris Jones 0d1f5ce4ff add a stock icon for urls 2008-06-04 00:52:19 +01:00
Chris Jones 8349b32498 Use the proper gtk API to find icons, rather than hardcoding paths. 2008-06-04 00:10:09 +01:00
Chris Jones 8fa208f652 add a queue_draw() at the end of reconfigure_vte(), which is mainly being cargo-culted from gnome-terminal and it seems like a good idea 2008-06-03 23:38:17 +01:00
Chris Jones af6c18a769 rework the full-window-term code a little so that it is referred to as terminal zooming (perhaps an unfortunate name wrt zooming fonts), make the context menu items behave a little better and add a keyboard shortcut 2008-05-30 13:19:35 +01:00
Chris Jones bcad01126a rework full-window-term branch to be called terminal zooming, and make the menu entries make a little more sense 2008-05-30 13:09:24 +01:00
Edoardo Batini 9729af5118 Full window mode re-enabled 2008-05-29 14:40:58 +02:00
Edoardo Batini 00a6dc3fa1 Nth resync with trunk 2008-05-29 14:25:46 +02:00
Edoardo Batini d78e314efa Repairs restoring from full window removing a grandparent.resize_children() from Terminator.remove function 2008-05-24 01:10:08 +02:00
Edoardo Batini 394e41a9ab Full window feature 2008-05-23 23:41:49 +02:00
Edoardo Batini 39fff2287b Resync with trunk 2008-05-23 23:30:53 +02:00
Edoardo Batini 2d65ae5966 Zoom feature
Fixes LP #229201
2008-05-22 18:22:02 +02:00
Edoardo Batini 13b8778d0b Merged with main branch [with chantra's tab] 2008-05-22 16:37:59 +02:00
Edoardo Batini 3086c75429 Splitaxis not allowed while in full-window mode 2008-05-22 15:01:02 +02:00
Edoardo Batini e3bc453031 I Always forget something! 2008-05-20 22:28:48 +02:00
Edoardo Batini 21ab156941 Closing full window terminal allowed. 2008-05-20 19:25:54 +02:00
Edoardo Batini e291f0a281 Resynced with 'trunk'.
Removed self.widgets list
2008-05-20 17:21:34 +02:00
Edoardo Batini b03616b766 Improvements to full-window. Should work for every terminal now.
TODO: Killing full-window terminal
2008-05-20 16:11:40 +02:00
Edoardo Batini 8e2d3e9975 - Can maximize one terminal (full-window) and then restore to previous layout.
- New pop-up menu items to test the feature
2008-05-15 02:59:54 +02:00
Edoardo Batini 01ce8d92fd - New proof of concept for Single TerminatorTerm in Full-window
- Full-window works, restore to previous layout works improperly
2008-05-14 04:19:41 +02:00