Commit Graph

255 Commits

Author SHA1 Message Date
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
Edoardo Batini f6ca291bc1 Initial branch commit 2008-05-13 03:06:16 +02:00
Emmanuel Bretelle 4b7b1f37e4 Fix redundant title when there is only one TerminatorTerm
* closes LP#215210 https://bugs.launchpad.net/terminator/+bug/215210
2008-05-10 13:08:20 +01:00
Chris Jones c0afcb5d32 let's commit some of tom's patches again, for maximal hilarity 2008-04-10 00:37:39 +01:00
Chris Jones ff0e32df4d space 2008-04-10 00:29:40 +01:00
Chris Jones f382c073d4 since the gnome proxy will always be accessible by gconf and anyone else can override with , we don't need to support defaults for all of these proxy related things, and we certainly have no need of watching them in gconf. Just work the string out and do it already 2008-04-10 00:22:20 +01:00
Thomas Hurst 39bcfa8d32 Make gettext optional; if it fails to load, define our own _() method that just returns the string. 2008-04-09 08:11:51 +01:00
Thomas Hurst e901e72730 Remove duplicate regexps, move to a seperate method and pass the delimiter patterns in as optional arguments.
Re-call if the first regexp fails to compile. Split the regexps back up like g-t.
2008-04-09 08:06:33 +01:00
Chris Jones 61572e5531 like the fixme says, re-enable handling of systems without gconf 2008-04-08 10:08:51 +01:00
Chris Jones 660344a8b7 fall back to old regexps if the freebsd ones don't work 2008-04-08 00:22:01 +01:00
Chris Jones 5f5d01a003 vastly improve scrollbar handling 2008-04-07 23:50:01 +01:00
Chris Jones be8e4cf057 pull toms regexps patch in again 2008-04-07 23:02:18 +01:00
Thomas Hurst 13cca0c1d9 Make URL regexps work on FreeBSD by applying the same changes FreeBSD ports make to gnome-terminal 2008-04-07 22:38:15 +01:00
Chris Jones 65cb27c2bb Start landing configclass work 2008-04-02 22:10:32 +01:00
Chris Jones 00e8127246 display version with -v 2008-03-29 01:40:49 +00:00
Chris Jones b31fee31ed add global variables and use them 2008-03-29 01:36:23 +00:00
Chris Jones 78e8aa42ae consistency and likely cross-platform improvement 2008-03-29 01:29:09 +00:00
Chris Jones 5ea8776fce Fix up titlebar related actions now the widget is called titlebox 2008-03-29 01:06:42 +00:00
Emmanuel Bretelle 94302d9fbe fixes getcwd issue when directory is non existent
* close LP#208319
2008-03-28 18:30:10 +00:00
Emmanuel Bretelle 69234b1d8c adding some coloration on active term title 2008-03-13 16:41:25 +00:00
Emmanuel Bretelle 679518b288 really fixed this time :)
bool('False') is True, therefore we can't just use bool(value) but we need
 assign a True or False value when reading terminatorrc 
 if value is "True" or "False"
2008-03-02 12:11:34 +00:00
Emmanuel Bretelle 92ce9fe4b3 Fixes:
* titlebars and titletips was not read properly from ~/.terminatorrc
    when a ~/.terminatorrc is a boolean, bool(value) has tobe used 
    while comparing to True/False as value is read as a string
  * If titlebars=False, the label is still created but hidden, by
    doing so, one can show the title at anytime by right-clicking and
    enabling the title on a per term basis
Added:
  * Terminator window title changes to:
	"Terminator: <active term title>"
2008-03-02 11:46:21 +00:00
Chris Jones 031685268e Allow dodgy gconf use of this too 2008-03-01 01:15:34 +00:00
Chris Jones 8f9b2b1804 Integrate modified patch from chantra with some changes so titlebars and title tooltips are configurable via terminatorrc (or in theory gconf, but that's a violation of a schema violation 2008-03-01 01:14:32 +00:00
Chris Jones 4b6094fbe5 terminatorrc isn't created by default, so it can be used to override the gnome-terminal profile as well as providing gconf independence for non-gnome users 2008-03-01 00:24:14 +00:00
Chris Jones 201e48c9be re-order these to make more sense 2008-03-01 00:09:49 +00:00
Nicolas Valcárcel 84b984dc0c Added comments support on .terminatorrc 2008-02-26 13:03:41 -05:00
Chris Jones 4e45095f59 [CJ] Expand Thomas Meire no-gconf branch to have an optparse entry and move it. write a fake gconf client to make this work. We should refactor eventually. 2008-02-26 00:25:01 +00:00
Thomas Meire 752e929eec Fix how background-settings are applied. (Code based on code from gnome-terminal) 2008-02-25 12:02:02 +01:00
Chris Jones d4f5e4362f Remove a FIXME. Stop failing on unfound config values, this is madness. Move options parsing callback into the __main__ handling. Formatting tweaks 2008-02-25 09:50:06 +00:00
Chris Jones 2ee1943b4c Update Thomas Meire's cwd patch so it's clear that it's OS specific, choose a default cwd. LP #181194 2008-02-25 00:00:10 +00:00
Chris Jones 67fd877d11 Move child exit behaviour to a properly named config value so it is simplified. Merge in patch from chantra. Closes LP #194771 2008-02-24 23:46:56 +00:00
Thomas Meire 77e4246714 Make a new terminal to open in the same cwd as the cwd of the terminal in which the user was working. If no directory
was specified (as for the first terminal at startup), the cwd of the parent process will be used. Fixes LP #181194
2008-02-24 23:33:26 +01:00
Chris Jones 8c63403f1c My tree has diverged a little while pulling in these changes. also some text editors are being unhelpful here with tabs. This should be two spaces for new items and 4 for continuations.I keep getting caught out by vim auto-indenting tabs for some reason. 2008-02-24 22:10:39 +00:00
Chris Jones aa8fcdd75d terminatorrc support 2008-02-24 20:29:25 +00:00
Thomas Meire 4c35d98cad Switch transparency-mode when compositing is turned off or on. (Addition to the fix for LP #190946) 2008-02-24 17:44:51 +01:00
Thomas Meire 379be85a09 Add support for real transparency when using a composited environment. (Fixes LP #190946) 2008-02-23 22:54:39 +01:00
Emmanuel Bretelle 5f07cec9b9 changed get_first_pane to get_first_parent_paned
allow to get the first parent Paned
if vertical is specified, return the first H/VPaned
2008-02-23 00:02:26 +00:00
Emmanuel Bretelle 71f4cbfebd Added keybindings:
- Ctrl-Shift-Up or down : move first VPaned handle Up or Down
- Ctrl-Shift-Left or Right: move first parent HPaned handle Up or Down
-Ctrl-Shift-S: Hide/Show scrollbar
2008-02-22 23:39:59 +00:00
Nicolas Valcarcel f4321af68b added suport for ~/.terminatorrc file 2008-02-19 19:50:10 -05:00
Chris Jones bd36c9e545 The schema for this seems to change, so let's accept these as equal values 2008-02-19 23:50:08 +00:00
Chris Jones c126c143cb solve another fixme - we now track the palette properly 2008-02-17 23:08:27 +00:00
Chris Jones 2ebd8a3fd2 try and handle colours a little better, by not using the system colours over our own 2008-02-17 22:59:43 +00:00
Chris Jones 97811a5aab move url opening into a dedicated helper function so we can ignore stupid exceptions from it. Also remove all our crack URI matching stuff and just blindly copy gnome-terminal 2008-02-17 01:28:18 +00:00
Chris Jones 05105e17ad Remove experimental URI matching 2008-02-14 00:25:34 +00:00
Chris Jones 08486bb4ae This should prevent LP#189116 from crashing Terminator 2008-02-12 23:22:25 +00:00
Chris Jones 4930e42729 Fix some minor quirks and improve the bell setting code, removing a FIXME 2008-02-12 23:11:04 +00:00
Chris Jones 14943ef3f4 Add necessary changes for supporting -x as well as -e. Basically makes all commands stored as arrays 2008-02-12 22:06:19 +00:00
Chris Jones b40053169b Switch parsing to optparse so -x can work 2008-02-12 13:49:36 +00:00
Chris Jones 45b0e41c6d More icon bits 2008-02-08 11:05:19 +00:00
Chris Jones e6d5c4eae3 Gear up to a new release 2008-02-08 10:20:48 +00:00
Chris Jones 4f462d771d Make this a bit more compact and remove some unneeded show() calls 2008-02-02 10:47:29 +00:00
Chris Jones c5a56e52fc gnome-terminal violates its own schema. yay 2008-02-02 10:05:06 +00:00
Chris Jones ea73696330 Track gnome-terminal scrollbar position settings. Fixes 185051 2008-02-02 01:49:32 +00:00
Chris Jones 852330d727 New gconf behaviour requires us to match up with gnome-terminal key names. Fix custom font behaviour that wasn't following with this new scheme 2008-01-31 22:15:23 +00:00
Chris Jones 65f1e5c047 Only use the gnome module if it is available, otherwise use the (inferior) built-in webbrowser module. This will probably break email URLs for non-gnome users, but there's not much we can do about that and it's better than not working at all. Fixes LP #184809 Also laying some groundwork for 0.8 2008-01-29 23:58:08 +00:00
Chris Jones 0ee12ee6d4 Stage three of the gconf marathon. Should now be completed and have returned us to where we started, functionality/bug-wise 2008-01-29 15:21:58 +00:00
Chris Jones cd510b7c78 Stage two of rerolling the gconf handling. Now we have a proper abstract function that can grab arbitrary values (lists and other types TBC). It just needs to be used directly instead of via the type specific helpers 2008-01-29 15:18:33 +00:00
Chris Jones b0fcd80594 Stage one of abstracting out our settings getting 2008-01-29 14:25:24 +00:00
Chris Jones 9948b5a14c remove extraneous whitespace 2008-01-29 14:00:02 +00:00
Chris Jones 42ff80837c calling this variable term is just unhelpfully confusing. I want it to go away anyway, and the first step is to clearly identify it 2008-01-29 13:54:16 +00:00
Chris Jones 9f7bbfe07d Fix -e to pass an array not a string 2008-01-28 23:28:31 +00:00
Nicolas Valcárcel 95bba138f9 Added -e option to execute a command inside terminal (LP: #184921) 2008-01-27 23:27:18 -05:00
Thomas Meire 3bb1299f47 removed the computations from splitaxis and do_scrollbar_toggle as they were obsolete. Removed the ctrl-shft-f binding
for fullscreen state. Cleaned up the splitaxis function, and commented it.
2008-01-14 23:45:43 +01:00
Nicolas Valcárcel 6d79b2d80a added some documentation to the code and clean some algorithms 2008-01-14 15:52:28 -05:00
Thomas Meire 77acf827de reverted all changes related to the pwd (not ready for trunk yet) 2008-01-14 18:04:13 +01:00
Thomas Meire cb87e86bf9 make F11 toggle fullscreen (fixes bug #182863) 2008-01-14 16:41:52 +01:00
Chris Jones 7cfa40bafc Stop the tooltip madness until we have a better solution 2008-01-14 10:37:35 +00:00
Thomas Meire a9c2d6e410 Fix darkness of the background when transparent. Darkness has to be set as 1-darkness to be
compatible with gnome-terminal.
2008-01-08 10:08:23 +01:00
Thomas Meire 2f6f1472fb Make terminator use the same default profile as gnome-terminal. Fixes LP #181197 2008-01-08 09:59:22 +01:00
Chris Jones 99280881e1 changelog the default values changes, and slightly improve the fallback behaviour of finding a profile to use 2008-01-06 22:23:16 +00:00
Chris Jones 9fa21a3132 Make child restarting behaviour work without a default profile 2008-01-06 14:41:36 +00:00
Chris Jones 41dfad77cd Tweak zooming behaviour so it doesn't lose fractional font sizes 2008-01-06 14:33:35 +00:00
Thomas Meire 5590e21225 Stop TerminatorTerm from failing when the correct gnome-terminal profile was not found. 2008-01-06 10:31:37 +01:00
Thomas Meire 67d4fd2585 Fix check for key-mask when zooming out. 2008-01-06 09:35:16 +01:00
Chris Jones 93e6c017c6 Support the background scrolling aspect of backgrounds too 2008-01-06 03:25:54 +00:00
Chris Jones 28eeb0e14d Support profile settings for terminal backgrounds. Closes LP #180717 2008-01-06 03:23:26 +00:00
Chris Jones fd2d642242 Add the title of the terminal as its tooltip. I may revert this if it is annoying 2008-01-06 02:28:21 +00:00
Chris Jones 91c5b61359 Add support for font zooming. Fixes LP #178792 2008-01-06 00:00:22 +00:00
Chris Jones 9914817630 Set window title and add support for removing window border 2008-01-05 01:05:41 +00:00
Chris Jones ef9014ec0c merge 2008-01-05 00:54:54 +00:00
Chris Jones aa55d4d7b5 Support gnome-terminal shortcuts for copy and paste 2008-01-05 00:50:56 +00:00
Chris Jones 25aec218e9 Patch from Nicolas Valcárcel to stop clashing with gnome-terminal's shortcuts 2008-01-05 00:47:57 +00:00
Thomas Meire 46d4ae278c Fix a typo in an error-message. Updated terminator.pot accordingly. 2008-01-03 09:23:20 +01:00
Thomas Meire 051b1d2036 Display a translatable error when an import fails. When importing the VTE-bindings fails, the error is shown in a
nice gtk dialog. Updated the .pot file with the new strings. Closes LP #179961
2008-01-03 09:10:39 +01:00
Chris Jones 6d5cac4b09 Add patch from Thomas Meire to prevent closing terminals from removing focus from any terminal. Closes LP #179054 2007-12-29 10:18:53 +00:00
Chris Jones 832c0ac988 Add gettext support 2007-12-29 03:01:28 +00:00
Chris Jones 31ec32f595 Add a window-level key-binding for quitting Terminator 2007-12-29 02:05:11 +00:00
Thomas Meire 99eeb02259 Removed the confirmation-dialog when closing a single terminal. Changed the key-combo to close a single terminal to
Ctrl-Shift-W to mimic the behaviour of Gnome-terminal. Enhanced the look of the confirmation-dialog when closing the 
whole window.
2007-12-28 11:48:26 +01:00
Thomas Meire caa2650e05 Added support for a Terminator in fullscreen state. 2007-12-27 18:44:38 +01:00
Chris Jones 747095c870 This isn't required as it was solved properly elsewhere 2007-12-26 19:59:59 +00:00
Chris Jones 4d04648811 Remove FIXMEs that probably no longer apply 2007-12-26 19:31:14 +00:00
Chris Jones 71f07637ac Since gnome-terminal now seems to set a global key with the list of profiles it knows about, we don't need to walk the profile directory ourselves, which seems like a good plan 2007-12-16 17:11:22 +00:00
Chris Jones ec51a1e865 Stop hardcoding some settings, although mouse autohiding is forced on by gnome-terminal 2007-12-16 17:00:53 +00:00
Chris Jones c7b8d30254 Rather than using blunderbus show_all()s, only show widgets that need to be shown and only when they need to be. This fixes LP #172829 2007-12-16 16:49:49 +00:00
Chris Jones ceb0582fd9 Remove useless feature to override settings yet another way. Remove duplication of hardcoding in TerminatorTerm.defaults{} but I think this structure mostly needs to go away. gconf schemae ought to save us 2007-12-03 19:38:55 +00:00
Chris Jones 2001d432b6 For some reason we are getting key events with no name, which cause .endswith not to exist, which prints an error 2007-11-29 17:16:04 +00:00
Chris Jones b6b862cb00 Start working towards a fix for re-appearing scrollbars 2007-11-29 17:15:27 +00:00
Chris Jones f100fa6cfe Remove initial setup code, since we now default to a single terminal 2007-11-29 15:38:10 +00:00
Chris Jones 6a5431e253 Minor fix to kees' gconf improvement 2007-11-27 16:58:36 +00:00
Kees Cook fd05040c8d add Ctrl-(Shift)-Tab to change focus; scan all profiles and match on title, not path 2007-11-15 16:19:05 -08:00
Chris Jones 73b2be2d70 Handle both kinds of exit action 2007-11-09 00:58:47 -05:00
Chris Jones 13ff8dbb05 Actually make new command line option work 2007-11-09 00:23:26 -05:00
Chris Jones 85f21bec0e Change default behaviour from 4 terminals to a single, normal sized terminal 2007-11-08 23:43:05 -05:00
Chris Jones c822ac7964 Update default word_chars from gnome-terminal settings. Closes #129533 2007-11-08 23:40:06 -05:00
Chris Jones 16e4bd7f7d Fix a slice off-by-one 2007-11-08 23:36:01 -05:00
Chris Jones a2c04a359e Record the indexes of our URL matches and use the results to identify email links and handle them appropriately 2007-11-08 22:43:11 -05:00
Chris Jones 05eb675a46 Make maximisation a non-default option 2007-11-08 22:19:25 -05:00
Chris Jones f9f46b3b4a Re-enable initial 4-way splitting and window maximisation. Also fixes the inability of the window to ever get smaller than it grows to. Many many thanks to Kees Cook for tracking this one down to a GTK property the docs claim 99% of apps should never need. I feel special to be the 1% 2007-11-07 14:57:56 -05:00
Chris Jones ac20b5011a Don't prompt with a quit message if there is only one terminal open 2007-11-07 14:38:26 -05:00
Chris Jones eeb91b4c6f Fix input mask bitwise operations. Thanks to Kees Cook 2007-11-07 14:18:19 -05:00
Chris Jones 87c9bdef6d Switch to packing instead of adding. Don't split into 4 terminals by default and don't maximise by default. This is so I can test resizing issues 2007-11-07 14:05:15 -05:00
Chris Jones f5cf5756f3 Fix a tiny typo 2007-10-14 00:15:51 +01:00
Chris Jones 0e71ed8037 Add lots of keyboard shortcut love, pretty much all based on patches from henry.3@gmail.com 2007-10-14 00:11:29 +01:00
Chris Jones 583aec7c21 Comment previous change. Suggestion from #148496 2007-10-03 12:19:24 +01:00
Chris Jones bd2f125191 Focus the first terminal 2007-10-03 12:16:04 +01:00
Chris Jones aa23129e08 Rate limiting gconf is pointless, users will have to live with whatever happens until it happens and I boggle at it 2007-09-20 22:45:32 +01:00
Chris Jones ebe23f5933 Add a very important comment 2007-09-20 22:42:59 +01:00
Chris Jones 8b61ed5cc4 Fix bug where window grows in width when a scrollbar is hidden and reshown 2007-08-31 20:56:56 +01:00