Commit Graph

1608 Commits

Author SHA1 Message Date
Markus Frosch c8269e5a6b Fix some compat issues for Python 2.7 2020-04-17 18:19:25 +02:00
Matt Rose bfffc282de update url list to refer to the new home 2020-04-17 11:57:07 -04:00
Markus Frosch da4f59ff74 terminal: Refactor regex handling and add pointer cursor 2020-04-05 19:52:25 +02:00
Markus Frosch 07d7dd56b2 terminal: Add MULTILINE flag for regex
To avoid _vte_regex_has_multiline_compile_flag warning.

There is no exported constant to Python for setting the flag, so we use
a local.
2020-04-05 18:58:03 +02:00
Antonio Terceiro b2a47a50fd Fix URLs are not clickable
Improve integration with current VTE
2020-04-05 18:18:39 +02:00
Markus Frosch 05ce8831fa config: Use encoding utf-8 for saves
ConfigObj will find the current encoding on reading
2020-04-05 17:00:27 +02:00
Markus Frosch d10919df5f config: Save config via temp file
To avoid errors during save causing an empty config file
2020-04-05 16:59:50 +02:00
Markus Frosch 23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +02:00
Matt Rose 0f05cd8c8b Fix for Custom command plugin don't work
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953153
* https://bugzilla.redhat.com/show_bug.cgi?id=1573927
2020-04-05 15:36:03 +02:00
Markus Frosch 04ba955b38 Add patch to fix Python 3 related issues with layout selection from Debian
https://bugs.debian.org/921824
2020-04-05 14:15:40 +02:00
Markus Frosch 294a64df77 Add patch to fix Drag&Drop under Python 3 from Debian 2020-04-05 14:13:41 +02:00
Emilio Pozuelo Monfort a3a67385fd Adopt patch "python3" from Debian
https://bugs.launchpad.net/terminator/+bug/1662544
2020-04-05 14:07:13 +02:00
Markus Frosch bc2dd5870b Fix missing moves for files
bzr fast-export | git fast-import does not handle these files correctly.

This commit restores the correct state of the gtk3 series commit 1834
2020-04-01 19:18:26 +02:00
bryce 6342a89297 Fix crash when there are no predefined windows
Traceback (most recent call last):
      File "/usr/bin/terminator", line 126, in <module>
      TERMINATOR.layout_done()
      File "/usr/share/terminator/terminatorlib/terminator.py", line 395, in layout_done
      if window not in self.prelayout_windows:
    TypeError: argument of type 'NoneType' is not iterable

fixes: https://bugs.launchpad.net/terminator/+bug/1702369
2020-03-16 18:15:31 -07:00
Stephen Boddy bba28cfb91 Replace old method of searching with builtin, highlighting libvte calls 2017-07-25 18:34:31 +02:00
Stephen Boddy 3e9f7742d5 Fix hide on lose focus due to our own menus and Preferences (Juliano Fischer Naves + Steve Boddy) 2017-06-24 04:02:38 +02:00
Juliano Fischer Naves a06f2808fb Prevent terminator hiding due to right click. Refer to bug #843674 2017-06-19 21:12:11 -04:00
Stephen Boddy 42fecfd5c6 Fix middle-click paste to receivers that was accidentally broken by fix for LP:1647507 2017-05-26 03:32:17 +02:00
Stephen Boddy 92d8d70cc0 Remove the ability to set window classname, as function in gtk is now deprecated 2017-03-13 19:41:33 +01:00
Stephen Boddy eb37238fa3 Fix exception when running under Wayland where we attempt something X11 specific 2017-02-28 20:48:11 +01:00
Stephen Boddy 10d60bb001 Set versions and update changelog so we can release 2017-02-26 18:37:22 +01:00
Stephen Boddy d1acb29b98 Pointless comment string removed 2017-02-26 17:15:11 +01:00
Stephen Boddy 54bd13e566 Fixes new windows opening in the background (note that some will think this is bad) 2017-02-21 22:07:18 +01:00
Stephen Boddy bba9e2237a Remove auto-capitalisation of profiles in menu, add sorting, and fix exception when adding new one in prefs 2017-02-19 16:57:36 +01:00
Stephen Boddy e88f3b2140 Fix patterns for url matching to handle IPv6 as host 2017-02-18 21:31:52 +01:00
Stephen Boddy 31c3b2e9f4 Fix an invalid call to get_child() rather than the correct get_children()[0] for a window. 2017-02-18 21:30:17 +01:00
Stephen Boddy c7a6f88a57 Fix regex's needing MULTILINE flag to prevent libvte 0.44 throwing warnings 2017-02-14 00:07:47 +01:00
Stephen Boddy 75f4abba49 Fix custom_command and always_split_with_profile to work together (Nix) 2017-02-13 17:30:37 +01:00
Stephen Boddy 8213b828c9 Fix remotinator get_tab_title for tabs with more than a single terminal (Nix) 2017-02-13 15:36:55 +01:00
Stephen Boddy 1c0f934529 Normalise display name when creating DBus name 2017-02-13 14:20:10 +01:00
Stephen Boddy 7c73aaa080 Fix for strange race condition where every so often get_length returns 1. 2017-02-13 13:03:57 +01:00
Stephen Boddy d26b48fec9 Fix versions of Gtk where some CSS pseudo elements are not parsed and application will not load. Note that entire file is then ignored. 2017-02-13 03:20:28 +01:00
Stephen Boddy c4d372c56c Fixes vte object not being released properly, and holding open hidden /tmp files. 2017-02-11 19:59:31 +01:00
Stephen Boddy 1277464c73 Followup to rev. 1722 to stop panes nudging on performing a normal split due to the ratio float not accounting for the handle size. 2017-02-10 06:45:40 +01:00
Stephen Boddy 5f329928af Fix the version introspection capture by exception 2017-02-07 17:09:34 +01:00
Stephen Boddy 96a1e67749 Fix an exception with an unexpected keyword getting passed to set_cursor 2017-02-06 17:32:30 +01:00
Stephen Boddy 321c4a7ba9 Adds subtrees to custom commands menu - just add '/' to split. 2017-02-06 12:09:36 +01:00
Stephen Boddy 1d63446d03 Final part of fix for getting two different resizes of the terminal which vim wasn't handling. 2017-02-06 07:38:47 +01:00
Stephen Boddy a0ba2cf969 Reapplication of select on copy fix that didn't get applied to gtk3 2017-02-06 06:12:25 +01:00
Stephen Boddy 2443d4b871 Fix incorrect sizing of sub windows when there's no titlebar (Emilio Pozuelo Monfort) 2017-02-06 04:51:10 +01:00
Stephen Boddy f162f3cdc0 Fixes scrollwheel actions on the tabs not working anymore. 2017-02-06 04:37:29 +01:00
Stephen Boddy 4adfd8e00a Partial fix for old windows popping to the front when new windows are opened 2017-02-04 04:13:24 +01:00
Stephen Boddy 558350344b Second attempt at focus/z-order as I missed a bit of Saber Rastikerdar's fix 2017-02-02 17:29:17 +01:00
Stephen Boddy 27febfc6cb Revert 1709 for now. It breaks other keyboard actions 2017-02-02 17:04:14 +01:00
Stephen Boddy 37ea9c90dc Fixes issue introduced by gtk3 port (Saber Rastikerdar in lp:805870) 2017-02-01 18:57:36 +01:00
Iain Lane f23f464508 Fix 3.20 css in another place 2017-02-01 11:04:50 +00:00
Iain Lane e494f07769 Fix transparency for GTK 3.20 themes too 2017-02-01 10:59:11 +00:00
Stephen Boddy 4aaaaff2ef Fixes '0xffff' in keybindings prefs when a binding is previously set to Disabled 2017-02-01 10:03:29 +01:00
Stephen Boddy 713cb3f3d8 Fixes searchbar not looking prior to the configured lines when using infinite scrollback (Eric Johnson) 2017-02-01 09:51:37 +01:00
Stephen Boddy cb83ee1bd1 Displays dialog when a single term is zoomed/maximised (minoru/shiraeeshi) 2017-02-01 09:11:11 +01:00
Stephen Boddy 2d063546a8 Fix keybindings that use the shift modifier 2017-02-01 08:55:54 +01:00
Stephen Boddy eaaac416f8 Fix the global hide window binding to work with shifted keys 2017-02-01 08:53:31 +01:00
Stephen Boddy 1f2ec6df18 Left some debug print statements in when committing something else 2017-02-01 07:25:49 +01:00
Stephen Boddy d5e9265d34 Fix separators in popup menus on newer Gtk/Adwaita 2017-01-18 09:17:15 +01:00
shiraeeshi d42dc52481 confirm when closing a window with zoomed terminal 2017-01-16 19:17:42 +06:00
Stephen Boddy 47eaf64bb3 Minor fix to translation strings for languages with articles/genders as per LP Question 408095 2017-01-12 16:51:59 +01:00
Stephen Boddy 2bc19498ea Fix system fonts under gtk3 2017-01-12 03:59:40 +01:00
Stephen Boddy 45cb6e05c6 Fixes the logger plugin, patch by Eric Badger 2017-01-12 03:59:30 +01:00
Stephen Boddy 6eb94f0195 Fix for the terminal shot plugin to work with GTK3 from Vineeth Raj 2016-12-20 20:33:50 +01:00
Stephen Boddy a13b3db7c8 Fixes cwd for new windows on FreeBSD 2016-12-15 22:12:31 +01:00
Stephen Boddy 82e9a9bbfa Extend the prefs custom url handler box to align it with the other full width widgets 2016-12-13 22:08:02 +01:00
Stephen Boddy 2546e724c9 Fix a couple of other transient parent errors. 2016-12-12 20:45:50 +01:00
Stephen Boddy e11335e0cb Fixes the GtkDialog mapped without a transient parent message (Egmont Koblinger) 2016-12-12 19:18:16 +01:00
Stephen Boddy a748db277c Fix some strange behaviour when clicking on the trough of a scale (i.e. stepping) The previous value gets read, not the current. 2016-12-12 19:07:08 +01:00
Stephen Boddy 4a29840e7b Add the one liner to enable the Hyper modifier (Steven Keuchel) 2016-12-12 17:49:01 +01:00
Stephen Boddy 9b7a117353 Minor tweak to remove '0' as a translatable string. 2016-12-12 14:23:06 +01:00
Stephen Boddy 5a0860e26a Small tweak to remove translatable flag from number labels in prefs 2016-12-12 13:49:21 +01:00
Stephen Boddy 0cab214d36 Merge in background transparency fixes and styling improvements 2016-12-12 13:32:11 +01:00
Stephen Boddy 91beabf869 Some small fixes for transparent scrollbars in Breeze and HighContrast 2016-12-12 13:10:29 +01:00
Stephen Boddy 0bd8af4304 Add the ability to deactivate extra theme dependant styling 2016-12-12 12:27:56 +01:00
Stephen Boddy bc58a400c7 Merge in from lp:terminator 2016-12-12 12:20:16 +01:00
Stephen Boddy 24d3ed455a A chunk of work bringing the prefs glade file into the gtk3 world 2016-12-12 11:29:19 +01:00
Stephen Boddy 2186f93fee Do a reconfigure when the gtk-theme-name property changes, avoiding issues with styled themes. 2016-12-11 23:50:42 +01:00
Stephen Boddy 4e78c447e4 Fix the wrong background color for profiles using system colours 2016-12-11 22:25:37 +01:00
Stephen Boddy 117c5c8f0d Fix the oversight of not clearing the css string if the handle size is -1, resulting in styling getting trashed by the previous declarations 2016-12-11 19:32:22 +01:00
Stephen Boddy 4fcbabdab5 Add the scrollbar track highlighting in for Ambiance/Radiance 2016-12-11 18:35:22 +01:00
Stephen Boddy 7d9347d3f0 Fix Radiance transparent scrollbars, and remove the oversized splitter area from Breeze 2016-12-11 06:03:46 +01:00
Stephen Boddy f02f38389c Fixes the transparent scrollbars for Ambiance. 2016-12-11 05:46:02 +01:00
Stephen Boddy f03cdd007f A little more organization, separating into theme fixes that must be applied to correct rendering, and theme styling changes that may or may not be desired. Still needs config option. 2016-12-10 16:35:25 +01:00
Stephen Boddy fe64fc6b1d I'll be amazed if anyone actually uses it, but a quick fixup for the ancient Raleigh 2016-12-10 15:41:51 +01:00
Stephen Boddy 8878aef3d2 Change the selectors to target terminal window only, fixing the prefs window 2016-12-10 15:14:06 +01:00
Stephen Boddy a3fbd1e33c Fix all the themes where titlebars had borders, or white backgrounds 2016-12-10 00:47:11 +01:00
Stephen Boddy 0c1ec6467f Cleanup and rationalise the Ambiance customisations 2016-12-09 23:59:23 +01:00
Stephen Boddy 8a3406051b Fix the top left and right corners of the tab header background for Ambiance customisation 2016-12-09 23:29:18 +01:00
Stephen Boddy 1ff0ec1ba9 Add theme specific css file loading (from terminatorlib/themes and ~/.local/share/themes), move Adwaita fix into own file 2016-12-09 22:47:44 +01:00
Stephen Boddy b0c654885c Fix oversized splitter bar hover area for Adwaita and any other theme that does this 2016-12-08 18:39:15 +01:00
Stephen Boddy d1b2f45d56 Fix the colours to use public ones, and make Adwaita hover fix consistent. 2016-12-08 18:31:42 +01:00
Stephen Boddy cc14681bfd Merge in from lp:terminator 2016-12-08 03:27:10 +01:00
Stephen Boddy b2e81d8f38 Very rough preliminary css styling work, showing the general principles 2016-12-08 03:22:59 +01:00
Stephen Boddy 3a6eb144a2 Add gruvbox palette to dropdown as preset 2016-12-07 19:46:21 +01:00
Stephen Boddy ee604535ea Fix middle mouse button not passed to tmux 2016-12-06 02:38:01 +01:00
Stephen Boddy 52b578e6eb Allow larger separators 2016-12-06 02:01:48 +01:00
Stephen Boddy 7d94a53a50 Fix secondary windows ~ expansion over DBus 2016-12-02 22:45:49 +01:00
Stephen Boddy 84da17d460 Fixes scrollbar initial state not being set 2016-11-30 02:41:59 +01:00
Stephen Boddy da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy ef597b566f Fixes (mostly) double-click doesn't distribute area evenly 2016-11-23 06:29:59 +01:00
Stephen Boddy 01712503a0 Fixes zero-sized terminals after rotate 2016-11-23 06:10:25 +01:00
Stephen Boddy 6a430ca05b Fix stale tab titles 2016-11-23 05:55:36 +01:00
Stephen Boddy 5a884b7a81 * Update version numbers for GTK branch to something that makes sense
* Add back the visible_bell config option to the man page
* Bring the outdated packaging files into line with trunk
* Added AUTHORS and RELEASING as per trunk
2016-11-03 04:03:51 +01:00
Stephen Boddy 3664a1ab73 Change the help shortcut to open online documentation hosted at readthedocs.org,
as it is not clear how to package the documentation in a way that satisfies debian rules.
2016-10-27 06:27:21 +02:00
Braden M. Kelley d9c6c9c496 Fix transparency for newer versions of GTK 2016-07-08 12:04:54 +02:00
Stephen Boddy b15b5ec97b Minor fix to re-add the dash as a default word char. Accidentally dropped in libvte API flux 2016-07-04 16:20:26 +02:00
Stephen Boddy f0330dadf3 Added radio options to the Cursor colour to make it easier to go back to the XOR'd foreground colour 2015-12-03 15:37:16 +01:00
Stephen Boddy c24fa2ed69 Miscapitalised PuTTY name in Prefs 2015-12-03 00:13:06 +01:00
Stephen Boddy 0298695ef1 Fix title edit shortcuts to hopefully not clash with console programs so much 2015-12-02 23:40:55 +01:00
Stephen Boddy 08168b64ab The remainder of Egmont's GTK3 patch-o-rama session
* Remove the now unused posix regex code, and set the regex boundary vars to the correct '\b' value
* Fix drag and drop of a link from Firefox / Chrome
* Fix the editing of the window title
* Fix closing window using short-cut
* Fix profile re-use when opening new window
* Fix scrollbar position on current terminals when changed in prefs
2015-12-02 22:56:32 +01:00
Stephen Boddy 3e44db0b95 Remove invalid double-quote (") from the pathchar for url regex matching 2015-12-02 22:48:54 +01:00
Stephen Boddy 62ebf0cf30 Fix middle-click insert primary selection for Wayland (N/A) to insert from clipboard instead 2015-12-02 22:48:33 +01:00
Stephen Boddy 4ac75317e7 Fix scrollbar position on current terminals when changed in prefs 2015-12-02 21:12:59 +01:00
Stephen Boddy fc6e3e7e65 Fix profile re-use when opening new window 2015-12-02 20:57:59 +01:00
Stephen Boddy 9c21b835c2 Fix closing window using short-cut 2015-12-02 20:07:21 +01:00
Stephen Boddy 74ca52582d Fix the editing of the window title 2015-12-02 19:48:42 +01:00
Stephen Boddy 5fc34fe3c0 Fix drag and drop of a link from Firefox / Chrome 2015-12-02 19:39:58 +01:00
Stephen Boddy 18783cb9ce Remove the now unused posix regex code, and set the regex boundary vars to the correct '\b' value 2015-12-02 14:36:18 +01:00
Stephen Boddy 7518c16588 Some ports of some gtk2 commits that were still outstanding
* Fix the tab switching if a terminal on another tab exits
* Fix for those not running IBus, where the IBus workaround caused broken keys in other keymaps set with non-IBus tools
* PuTTY paste mode
* Updated and grouped default shortcuts in man page
* Fix PuTTY paste mode so Ctrl-Right-Drag, and application mouse handling in terminal still works
* Added smart copy mode switch to prefs
* Merge feature branch for tab/terminal title editing from Haim Daniel
2015-12-01 02:21:00 +01:00
Stephen Boddy 501e7c5e1a Minor followup to rotate focus loss - probably no effect 2015-12-01 02:16:53 +01:00
Stephen Boddy 295f884c6d (trunk-1683) Merge feature branch for tab/terminal title editing from Haim Daniel 2015-12-01 00:57:18 +01:00
Stephen Boddy 9115b62928 (trunk-1667) Added smart copy mode switch to prefs 2015-12-01 00:35:06 +01:00
Stephen Boddy 680cfd2278 Fix PuTTY paste mode so Ctrl-Right-Drag, and application mouse handling in terminal still works 2015-12-01 00:14:33 +01:00
Stephen Boddy a04ffed850 (trunk-1663) PuTTY paste mode 2015-11-30 22:23:23 +01:00
Stephen Boddy 9f09d9c334 (trunk-1647) Fix for those not running IBus, where the IBus workaround caused broken keys in other keymaps set with non-IBus tools
(New dependancy added (python-psutil) for detecting the IBus process)
2015-11-30 21:54:23 +01:00
Stephen Boddy 042dbfb454 (trunk-1634/1637) Fix the tab switching if a terminal on another tab exits 2015-11-30 21:39:15 +01:00
Stephen Boddy cd68c0e264 Fix the "Run command as login shell" 2015-11-30 19:08:04 +01:00
Stephen Boddy d3a0d5193e Remove unsupported utmp for now, till alternative solution 2015-11-30 19:07:43 +01:00
Stephen Boddy 42f2dd31c8 Change the scroll_on_output default to false 2015-11-30 17:39:38 +01:00
Stephen Boddy 8c45d97304 Fix rotate terminals under tabs, and (gtk3-only) focus loss on rotate 2015-11-30 16:19:41 +01:00
Stephen Boddy df0d9aa0eb Fix right-click for mouse aware apps 2015-11-29 23:57:13 +01:00
Stephen Boddy b85796d64b Fix Ctrl-click on URL if terminal has padding 2015-11-29 23:43:45 +01:00
Stephen Boddy 14fb184df8 Fix exception when Ctrl-clicking the terminal when not over a URL 2015-11-29 23:37:02 +01:00
Stephen Boddy a8362749a9 Update TERM/COLORTERM to more modern values 2015-11-29 21:11:42 +01:00
Stephen Boddy 9bd8b5ea09 Fix cwd when new term spawned from a symlinked directory 2015-11-29 20:19:11 +01:00
Stephen Boddy 7f071e0d7e Fix unwanted seperator size change, and increase granularity of dim/transparent sliders 2015-11-29 19:33:52 +01:00
Stephen Boddy 80b157ee33 Add dimming for 256 colour palettes 2015-11-29 05:27:59 +01:00
Stephen Boddy ecd3cb6b63 Fix copy on selection to work on already open terminals 2015-11-29 03:07:13 +01:00
Stephen Boddy 918b53c6f0 Fix the palette for inactive terminals after Prefs window 2015-11-29 02:51:26 +01:00
Stephen Boddy 47642be133 Fix double double-click on titlebar in later GTK3 2015-11-29 01:35:05 +01:00
Stephen Boddy fbb70b2bc6 Correct some British spelt translated strings to American~ 2015-11-29 00:39:22 +01:00
Stephen Boddy 9103961902 Make Zoom/Maximize inactive if a single terminal 2015-11-29 00:22:57 +01:00
Stephen Boddy c1f92495d8 Fix positioning of group popup menu for later versions of GTK 2015-11-29 00:01:55 +01:00
Stephen Boddy 6db2337c56 Add word chars back in if VTE is 0.40+ 2015-11-28 20:28:01 +01:00
Stephen Boddy b5b74e8071 Add option to toggle the rewrap on resize 2015-11-28 20:14:14 +01:00
Stephen Boddy 73ba77ee5e Fix separator sizing 2015-11-28 20:03:51 +01:00
Stephen Boddy 9fa9c0e45a Fix deprcation warning in later GTK versions 2015-11-28 19:53:57 +01:00
Stephen Boddy 0e2f170032 Fix warning trying to import the __init__.py file as a plugin 2015-11-28 18:58:47 +01:00
Stephen Boddy 9fde814a44 Fix a GI version warning for Notify library 2015-11-28 18:56:02 +01:00
Stephen Boddy 85c0518643 Fixes startup on Wayland because Keybinder seems to be X11 only 2015-11-28 17:25:47 +01:00
Stephen Boddy 8f7b7f9a27 Remove an outstanding VERIFY item. Gtk-3.0.gir function def says to ignore it (gtk2->gtk3) 2015-11-07 01:29:12 +01:00
Stephen Boddy d56f3b609f (trunk-1664)
* Set window geometry hints to off by default. The constant trickle of problems it causes are annoying.
  May set up a warning dialog when turning on.
* Actually set the DBUs interface to on by default. For some reason it wasn't active by default.
2015-11-07 01:25:01 +01:00
Stephen Boddy be510d0d3e Fix editable label distorting the layout until the splitter gets moved 2015-11-07 01:21:05 +01:00
Stephen Boddy 8e57aae0fe Fix to make sure the bell icon appears even when titlebar text extends beyond terminals width 2015-11-07 01:19:44 +01:00
Stephen Boddy 4217a7308f Minor fixup for newer GI wanting us to specify versions 2015-11-07 01:15:46 +01:00
Stephen Boddy d4bd916c90 (trunk-1681) Followup to 1616 to improve behaviour a bit further on rebalancing 2015-11-07 01:15:27 +01:00
Stephen Boddy 109e26161a (trunk-1679) Fix flickering and intermittent failures to rebalance 2015-11-05 10:57:57 +01:00
Stephen Boddy 4269a99598 Reimplement visual flash that got removed from libvte, reusing the DnD overlay to flash the terminal (gtk2->gtk3) 2015-09-29 02:24:36 +02:00
Stephen Boddy 177c62068c (trunk-1655) Minor correction to actually return error message, rather than just contemplating it 2015-09-19 17:37:19 +02:00
Stephen Boddy 7b769ae1d8 * Fix the DBus interface (gtk2-gtk3)
* Disable the wm_class feature. Seems not possible in GTK3, and breaks
  the DBus call for new_window.
(trunk-1651)
* As part of GTK3 fixup, some improvements to the DBus interface, and
  remotinator (Steve Boddy)
  * Can now open a window or tab using remotinator
  * Can get the window uuid, or title using remotinator
  * Moved new tab key handling into the terminal for consistency
  * Standardise response when a new term is created (split, win
    or tab) to reply with new terms uuid
  * For GTK3 gave the DBus a slightly different name so they it
    can run at same time as GTK2
  * remotinator now uses argparse for commandline option handling,
    vastly improving the option handling
  * remotinator help strings are translatable now
2015-09-19 05:25:25 +02:00
Stephen Boddy e4c235dcd6 (trunk-1650) Minor change to custom commands to use the standard gerr function instead of the broken local one 2015-09-19 05:01:25 +02:00
Stephen Boddy 76b9cd33e0 Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon. 2015-09-10 00:34:12 +02:00
Stephen Boddy a65ce100f7 (trunk-1617) Add fallback to psutils to discover the cwd of a terminal (Heon Jeong) 2015-09-01 23:05:24 +02:00
Stephen Boddy ac53de6afb (trunk-1615) Start 'New Layout #' from 1. Looked strange starting at 2 2015-09-01 23:04:16 +02:00
Stephen Boddy 94b577484b (trunk-1614) Sort entries in config file, so they don't jump around every time config is saved for easier troubleshooting 2015-09-01 23:01:16 +02:00
Stephen Boddy f64d3e67fa (trunk-1599/1600/1601)
* setup.py can install the manual (and by extension do can debuild)
* setup.py has (inactive) code for generating the html from the source
  but this will break if rtd theme is not available
* A few changes to doc strings to make the autodoc prettier
* Added help shortcut, by default F1 to open the local manual
* Added button to About tab to launch manual
* A couple of additional string to translate related to manual/help

* Small tweak to setup.py to seperate build and install, and always attempt
  to install manual by default.

* Small fix for systems (i.e. my 12.04 LTS) that don't set LANGUAGE for
  whatever reason. This breaks the manual lookup
2015-09-01 22:50:09 +02:00
Stephen Boddy 2e21276b64 (trunk-1619) Slight change to how the zoomed font is calculated. This just
seems to give a more natural size when zooming over the previous. Can be
reverted if people don't like it. Also using this as a sneaky way to close 6
year old bug.
2015-08-21 00:09:01 +02:00
Stephen Boddy 933237adce (trunk-1618)
* Remove the old_padding and allocation stuff from the zoom_scaled function in terminal which iasn't used anyway
* Remove another unneeded assignment in is_zoomed function in terminal
2015-08-20 23:55:42 +02:00
Stephen Boddy 8b8376c331 Fix the zoom/maximise terminal function (gtk2->gtk3) 2015-08-16 21:19:24 +02:00
Stephen Boddy e723f0df25 (trunk-1611) Fix composed characters when broadcast is turned on to appear in all receivers now (LP:#1463704) 2015-08-10 22:51:56 +02:00
Stephen Boddy 73c2a17ca0 (trunk-1610) Stop the buttons in the layout tab from being hidden by the slider 2015-08-10 21:45:53 +02:00
Stephen Boddy cfd4539a4a (trunk-1609) Fix minor issue with Super+double-click on a splitter failing if tabs were in use 2015-08-10 20:40:49 +02:00
Stephen Boddy 03947c7b50 (trunk-1608) Minor fix to slider widget in Prefs>Global, which was filling the whole trough, unlike the one right above it. 2015-08-09 14:17:13 +02:00
Stephen Boddy 67c99283d8 (trunk-1606) Fix the problem with tabs not being named where a window with splits creates a new tab 2015-08-09 04:34:05 +02:00
Stephen Boddy d6b62b61d8 Minor gtk3 fix for setting urgent flag on window for highlight in task bar 2015-08-06 21:45:07 +02:00
Stephen Boddy 275086501b * (trunk-1594) Add and improve the mnemonics in the group menu
* Also fix the group radio buttons after the mnemonics additions broke them
  (GTK3 is such a pain - there may be a better solution, I just couldn't find it)
2015-08-04 20:45:22 +02:00
Stephen Boddy 795ab2aeec (trunk-1593) Make the random default group names translatable
(occurred to me that they might look out of place in f.e. Arabic, Chinese, Cyrillic and (ironically) Greek)
2015-08-04 20:42:36 +02:00
Stephen Boddy 2254055eb7 (trunk-1592) Correct a default shortcut that was a bit garbled 2015-08-04 20:39:35 +02:00
Stephen Boddy d5a231afb2 (trunk-1590) Another big chunk of translation updates
* Add translation for column headers in Preferences
  * Add translation for some remaining strings
  * Remove some of the now deprecated "Gtk.STOCK_*" items
2015-08-04 03:17:05 +02:00
Stephen Boddy 20dad87117 (trunk-1588/1589)
BIG update to translations, due to additions and changes. Unfortunately Launchpad
translations don't work with gettext fuzzy matches, so I'm afraid there's a lot
of rework for translators.

* Add a few new translatable strings
* Update the list of files to scan with additionas and deletions
* Update the template (pot) and country (po) files
* Fix the preferences window to be translated (LP:#1245806) (accidentally added earlier in gtk3 rev 1565, just noting here)
* Update tab close button icon to match lighter gnome-terminal one (accidentally added earlier in gtk3 rev 1565, just noting here)
2015-08-03 21:15:28 +02:00
Stephen Boddy c83e627a69 (trunk-1587) * Adjust the config section name to InactivityWatch for InactivityWatch class
* Add a new setting for ActivityWatch to set the time between activty notifications
2015-08-03 20:36:14 +02:00
Stephen Boddy 73d29ef997 (trunk-1586) Additional windows icon loading works better, and respect the theme changes. 2015-08-03 20:33:10 +02:00
Stephen Boddy 2686296cf6 (trunk-1585) Adds high contast icons, and makes the main window icon loading work better, and respect the theme changes.
Note: wmclass_name no longer readable under GTK3, so -c option is a bit dubious now.
      Also, in HighContrast, there are issues with titlebar background colours that are not present in GTK2.
2015-08-03 20:22:15 +02:00
Stephen Boddy d93e104da8 (trunk-1584) Fixes font lookups for people with unpopulated gconf database (i.e. KDE) 2015-08-02 00:50:24 +02:00
Stephen Boddy 2deebe40bf (trunk-1582) Set some default shortcuts based on my preference (Steve Boddy) 2015-07-19 23:44:41 +02:00
Stephen Boddy 2c002e5139 (trunk-1579) Fix slightly uneven splits on shortcut due to handle size, though this will make previously saved layouts off by a few pixels (Steve Boddy, LP#1089162)"
Also broke the getting of the handle bar size out into a function.
2015-07-15 20:09:32 +02:00
Stephen Boddy 85532f980c (trunk-1578) Fix a few prefs widget alignments as per GNOME visual guidelines 2015-07-15 19:08:18 +02:00
Stephen Boddy 7f452e5b64 (trunk-1577) Preselect the current layout when opening Prefs window, and also save config after using the layout 'Save' button (Steve Boddy) 2015-07-15 02:51:18 +02:00
Stephen Boddy 758863f363 (trunk-1576) Add 'Save' button for saving to the selected Layout (Ariel Zelivansky) 2015-07-15 02:43:39 +02:00
Stephen Boddy d53b036642 Dual solution for cwd based on comments 36 & 37 by Egmont Koblinger in LP#1030562 2015-07-13 16:30:27 +02:00
Stephen Boddy 43c134b5c5 (trunk-1575) Fix drag and drop of files (Schplurtz le Déboulonné, LP#1311481) and some tweaks (Steve Boddy)
Schplurtz le Déboulonné
    - multiple files can be dropped in terminal
    - correctly sh-quote filenames, even those with '
    - also fixes LP#1311481 (\n after dropped filename)
Steve Boddy
    - changes to the logic, where all lines are now checked for the file:// prefix
    - text blocks now insert in full, not just first line
    - Oddly gtk3 changes dropped text blocks from '\n' to '\r\n' (gtk2->gtk3)
2015-07-13 00:39:09 +02:00
Stephen Boddy d56da596b3 Fix the drag-and-drop of terminals/text back to pre-port functionality - a real pain this one (gtk2->gtk3) 2015-07-12 22:06:36 +02:00
Stephen Boddy 8b566b9859 (trunk-1574) Add shortcuts for next/prev profile (Peter E Lind, LP#1314734) 2015-07-12 00:27:59 +02:00
Stephen Boddy cf81fe937a (trunk-1573) Global setting for changing the titlebar font (partially from Eli Zor branch), but expanded and improved (docs/GUI), plus some minor fixup from this. 2015-07-10 21:37:35 +02:00
Stephen Boddy e97f669b6e Major cleanup and reorganisation of the preferences window. 2015-07-10 16:14:05 +02:00
Stephen Boddy 1a435127f2 Fix URL opening. Little too much removed in original port, meaning one click = two copies of page opened. 2015-07-02 21:42:40 +02:00
Stephen Boddy 912545e5da Remove comment re right way to keep menus visible - Happy with solution 2015-07-02 21:40:53 +02:00
Stephen Boddy 0629a02465 (trunk-1565) actually merge the distcheck fix in this time 2015-06-23 02:36:45 +02:00
Stephen Boddy 29a412ee0f (trunk-1564) Merge default broadcast behaviour toggle by Jiri (jtyr) - fixes lp #1288835 2015-06-22 20:06:21 +02:00
Stephen Boddy e4edaa1ffa Add Ctrl+Shift+mousewheel and Ctrl+Super+mousewheel actions to zoom receivers or all terminals 2015-06-21 20:38:03 +02:00
Stephen Boddy d9ba9c41cf Small fix in get_allocation override to prevent exceptions/hung process on exiting with close button. 2015-06-21 18:54:37 +02:00
Stephen Boddy 448d020cf1 Fix for confirm close dialog from judgedreads 2015-06-21 18:49:07 +02:00
Stephen Boddy 899916c0fb (trunk-1552) Merge search bar wrap toggle from Christophe Bourez 2015-06-21 17:57:14 +02:00
Stephen Boddy b549f43834 Fix search broken by port because returns are now different (gtk2->gtk3 and vte 0.36 -> 0.38) 2015-06-21 04:23:52 +02:00
Stephen Boddy b0d4357002 (trunk-1554/1561) Final fix for moving between terminals, checks for overlap. So far never selects wrong terminal. 2015-06-20 21:02:41 +02:00
Stephen Boddy 7e89aa14b3 Revert to gtk2 of cwd detection, as method from Egmonts gtk3 port only returned None for me 2015-06-19 03:58:41 +02:00
Stephen Boddy 56c9875395 (trunk-1557) Fix xterm color palette to match xterm - fixes lp #1260924 2015-06-19 03:50:07 +02:00
Stephen Boddy 3b76adfdfb (trunk-1556) whitespace cleanup 2015-06-19 03:48:12 +02:00
Stephen Boddy 56e78990f2 (trunk-1555) Show application if --new-tab passed, although needs currently broken dbus - lp #1367680 2015-06-19 03:41:46 +02:00
Stephen Boddy 5fecd18da1 Fix pid for spawning now forking is deprecated, but returns are different (vte 0.36 -> 0.38) 2015-06-19 03:38:17 +02:00
Stephen Boddy addb3947dd Fix allocations not having the x,y position just w,h (gtk3 bug? gtk2->gtk3 diff?) 2015-06-19 03:36:41 +02:00
Stephen Boddy 3b290dd563 Fix allocations (no longer an attribute) when balancing (gtk2->gtk3 diff) 2015-06-19 03:34:30 +02:00
Stephen Boddy 724b563073 (trunk-1551) Fix scrollbar doubleclick rebalancing - fixes: lp #1423686 2015-06-19 03:32:24 +02:00
Stephen Boddy c12149089d Fixed getting the handle size (gtk2->gtk3 diff) 2015-06-19 03:20:54 +02:00
judgedreads pearce@millerdedmon.com 6cdc1983a6 Remove invalid dialog property 2015-03-29 15:49:57 -07:00
Stephen Boddy 9c9a37eb78 Add Ctrl+MouseWheel Zoom in/out and Shift+MouseWheel page scroll up/down 2015-03-02 22:03:08 +01:00
Stephen Boddy df0043427e Fix the scroll up/down key bindings to use gtk3 method 2015-03-02 21:50:29 +01:00
Stephen Boddy a980aec7ae Remove old flag based HAS_FOCUS usage from unused method of terminator class. 2015-03-02 13:16:09 +01:00
Stephen Boddy be6128f7be Minor focus grabbing fix from the GTK3 port. 2015-02-26 00:07:14 +01:00
Stephen Boddy 59c0499c77 Merge Activity Watcher plugin improvements from Joseph Crosland (with additional GTK3 fixes) 2015-02-26 00:02:09 +01:00
Stephen Boddy a8822e9da4 Remove pointless horizontal scrollbar from Layout Launcher 2015-02-25 18:47:29 +01:00
Stephen Boddy bf1c0dd3b9 Fixes LP#1414332 custom commands broadcast to grouped terminals from Mauro S M Rodrigues 2015-02-25 17:30:37 +01:00
Stephen Boddy 47e5baf76c Slightly modified version of Custom Commands Dialog fix from David Chandler + fixes for GTK3 2015-02-25 15:25:41 +01:00
Stephen Boddy 02601c8663 Add vertical scrollbars to the Profiles and Layouts tabs in Preferences 2015-02-23 17:09:25 +01:00
Stephen Boddy e5a249a498 Fix titlebar label preventing scaling down titlebars by wrapping whole box in a viewport. 2015-02-19 15:30:45 +01:00
Stephen Boddy 412c9b3be3 Fix startup error (undefined variable) on non-composited displays. 2015-02-19 15:28:59 +01:00
Stephen Boddy 22ed84abdd Apply terminator-gtk3-vte038-v4.patch from Egmont Koblinger 2014-09-19 16:10:43 +02:00
Stephen Boddy 7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Peter Lind f3403d72a9 Improved code for cycling through profiles 2014-08-13 18:52:59 +02:00
Peter Lind 16cf86d5ab Adding feature to switch between profiles using keybindings
- adding config options
- adding prefeditor code
- adding event handlers to switch back and forth
2014-08-13 09:36:20 +02:00
Ariel Zelivansky eadb5cb419 Save layout button prototype. 2014-05-19 22:47:11 +03:00
Stephen Boddy 59c3022e28 Kurekt speling uv Omicron. Closes LP#1317256 2014-05-08 19:27:39 +02:00
Stephen Boddy 3fa48565ef Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:54 +01:00
Stephen Boddy 106afb85df Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:07 +01:00
Stephen Boddy 8426fab935 Missed a line in the cruft removal 2014-01-21 23:41:37 +01:00
Stephen Boddy 8d426d1d68 Remove the unnecessary cruft left over in the windows on_focus_in related to terminal focus 2013-12-19 23:51:30 +01:00
Stephen Boddy 581b6eeb92 Add layout save and load of active term for tabs, remember active term on switching tabs, plus more. Too inter-dependant to split into smaller commits. 2013-12-18 18:06:59 +01:00
Stephen Boddy 0272c78739 Add layout save and load of last active term for windows without tabs 2013-11-19 12:46:11 +01:00
Stephen Boddy e66a522555 Cleanup the describe_layout labels code to make some future changes easier to add in seperate commits 2013-11-15 13:21:24 +01:00
Stephen Boddy d3ff2749f9 Sync up trunk changes 2013-10-31 20:14:22 +01:00
Stephen Boddy d265dd5724 Active Window saved to layouts, and made active when loaded 2013-10-31 18:50:21 +01:00
Stephen Boddy ef57c5a5f6 Missed import of util function in previous commit 2013-10-31 17:39:16 +01:00
Stephen Boddy f0e3cb7fe5 Terminals now save and load their UUID to and from the layout 2013-10-30 17:12:00 +01:00
Stephen Boddy 8c07f1ac41 Allow the UUID to return a uuid object based on a provided UUID string 2013-10-30 17:07:23 +01:00
Stephen Boddy 07af1b3cf2 Add icons to the additional windows (Launcher, Preferences and Custom Commands) Improvements welcome ;-) 2013-10-29 14:57:01 +01:00
Stephen Boddy 3931a5cfe8 Fixes splits not being central mith multiple tabs (Justin Ossevoort). Closes LP#1186953 2013-10-25 20:13:57 +02:00
Stephen Boddy b7768f62d1 Fix the Group All/Tab shortcuts where titlebars were not updated. Closes LP#1242675 2013-10-25 16:57:14 +02:00
Stephen Boddy e86dd8859b Fixes splits not being central mith multiple tabs (Justin Ossevoort). Closes LP#1186953 2013-10-25 16:55:26 +02:00
Stephen Boddy dc2a9d428a Add a vertical scrollbar to the layoutlauncher - also make mouse wheel scrolling work. 2013-09-26 00:10:12 +02:00
Stephen Boddy f067e5355b Reload the config before we write to it or we could overwrite something from another instance. 2013-09-26 00:07:01 +02:00
Stephen Boddy 25754d3ab5 Layouts remember which tab was active now. 2013-09-05 00:50:12 +02:00
Stephen Boddy e0a90ab670 Fix lack of focus on unhide with patch from Pavel Khlebovich. Closes LP#805870 2013-09-04 23:02:24 +02:00
Stephen Boddy e071ad23cf Add maximised and fullscreen status to saved layouts. 2013-09-04 22:59:27 +02:00
Stephen Boddy ce19e7f7ad Typo in the preferences dialog. 2013-09-04 22:56:43 +02:00
Stephen Boddy d771e9436c Layout launcher should reload config when opened to be sure it has the latest layouts. 2013-09-04 22:56:10 +02:00
Stephen Boddy 2f9d337687 New feature - Layout launcher opened with option or shortcut 2013-09-03 19:59:28 +02:00
Stephen Boddy 1a29e52db5 Fix maximise in Fluxbox. Possibly also Windows w/Xming too. Closes LP#1201454 2013-09-03 19:57:12 +02:00
Stephen Boddy 92717bf662 Fix lost geom when using -H option. Closes LP#1035617 2013-09-03 19:55:56 +02:00
Stephen Boddy f78dcf2175 Fix the window screen position lost when starting hidden with geometry. Closes LP#1035617 2013-09-03 16:10:09 +02:00
Stephen Boddy a495ce2655 Fix drag-and-drop broken by LP#1192679, and fixing it in the correct place. 2013-09-03 14:20:22 +02:00
Stephen Boddy 152b233cab Fix strange Fluxbox maximise behaviour. Closes LP#1201454 2013-09-03 13:38:09 +02:00
Stephen Boddy 103e609fae Bit of cleanup of old un-needed cruft, and place standard header. 2013-09-02 17:35:22 +02:00
Stephen Boddy 4f7464b915 Layout launcher now responds to double-clicks and Return/Space activation 2013-09-02 17:21:12 +02:00
Stephen Boddy 7f49bcfab9 Fix spliiter positions in Layouts. 2013-09-02 16:54:07 +02:00
Stephen Boddy 27555740b3 This fixes the issue where another instance of terminator can overwrite config changes you make. Makes setting up layouts more usable. 2013-08-29 19:43:24 +02:00
Stephen Boddy e14cd19690 Initial cut of layout launcher. It 'aint pretty, but it works 2013-08-28 23:09:17 +02:00
Stephen Boddy c8b6268835 Add patch from MoMaT plus additional GUI code. Closes LP#1157422 2013-08-27 19:40:05 +02:00
Stephen Boddy 144dd8ff14 Merge x-terminal-emulator option fix from Neal Fultz. Closes LP#366644 2013-08-27 19:33:57 +02:00
Stephen Boddy f49e8a2356 Additional GUI code to use working dirs 2013-08-27 19:22:57 +02:00
Stephen Boddy 7e85451343 Original layout working directory patch by MoMaT 2013-08-27 19:22:00 +02:00
Stephen Boddy bd3c5ca52a Tweak the style a little just to be consistent 2013-08-27 13:37:09 +02:00
Neal Fultz c566e862f7 Bug 366644 / Don't modify -x when invoked as x-terminal-emulator 2013-08-04 12:36:33 -07:00
Stephen Boddy b29929e6e7 Fix for background prefs. Closes LP#1202109 2013-08-01 19:57:51 +02:00
Stephen Boddy 89fddd836b Fix for background prefs. Closes LP#1202109 2013-08-01 19:56:55 +02:00
Stephen Boddy 031f754be4 Merge non-homogenous tab feature from Grizzly Smit 2013-08-01 19:47:20 +02:00
Stephen Boddy b0b8b576f6 A little adjustment to prevent messy tabs when tabs are not homogenous 2013-08-01 17:30:18 +02:00
Stephen Boddy 3d6edb437e Merge bug fix from David Caro. Closes LP#684340 2013-07-16 20:00:07 +02:00
Stephen Boddy f4cc83c1e6 Clean up the patch from David Caro 2013-07-16 19:56:14 +02:00
Stephen Boddy 95e00139c1 Fix preferences for Ubuntu 10.04 LTS. Closes LP#1201773 2013-07-16 19:53:00 +02:00
Stephen Boddy 423a44614a Fix closing grouped terminals. Close LP#1193484 2013-07-15 18:34:43 +02:00
Stephen Boddy d271137675 Merge feature from nanikata. Closes LP#332267 2013-07-14 21:01:58 +02:00
Stephen Boddy eababae92a Merge bug fix from Steve Boddy. Closes LP#1192679 2013-07-13 18:09:23 +02:00
Stephen Boddy b9bd6dd19b Load and save window title in layouts 2013-06-20 19:48:22 +02:00
Stephen Boddy c2001caede Trivial one line to stop <mod>+double-click from rebalancing the splitters 2013-06-19 21:21:44 +02:00
Neal Fultz 69f0e7c30e Fixing Bug #366644 / terminator does not honor x-terminal-emulator -e option 2013-05-12 21:44:07 -07:00
Chris Jones 59db83ea53 Expand previous fix to be slightly paranoid 2013-05-11 23:09:12 +01:00
Chris Jones 218cf4c1fb Fix prefs window to not be able to set the inactive colour offset to a value >1.0. Doing so has terrible overflow consequences and ends up making the text very dark, instead of leaving it alone. Closes LP#1177506 2013-05-11 23:03:46 +01:00
Chris Jones 205484579a Update versions for 0.97 2013-04-30 08:59:31 +01:00
Chris Jones 744316e0ff Hide GtkNotebook border, the people hate it 2013-04-22 00:01:31 +01:00
Chris Jones 865c343e80 Ignore /bin/bash when selecting the correct shell for a user. Closes LP#1122031 2013-02-27 17:47:35 +00:00
Chris Jones 3b37d87bd9 Apple patch from Juan Francisco Cantero Hutardo to add the Solarized colour theme to Terminator. Closes #1102241 2013-02-16 00:10:45 +00:00
Chris Jones df41d78f8e Fix up URL drag&drop support to not print so much of the incoming data. Closes LP#1052003 2013-02-15 15:10:55 +00:00
Andrea Corbellini 2662902b2a Grab the focus on terminals when they are created or closed. 2013-02-10 16:58:06 +01:00
Chris Jones 67419e2751 Repair remotinator 2013-01-30 13:50:27 +00:00
Chris Jones ed5a4040bc Don't try to set the global hide_window keybinding if it's disabled. Closes LP#1101155 2013-01-30 13:37:14 +00:00
Chris Jones 30e3665005 Merge a branch from Stephen J Boddy that adds default group names 2013-01-30 13:23:35 +00:00
Chris Jones 143ae983f2 Fix up a strange typo 2013-01-30 13:17:11 +00:00
Chris Jones 9d2fb4b95c Improve button handling of EditableLabel. Closes LP#1092775 2013-01-30 11:27:01 +00:00
Chris Jones abf0dbfd8c Extra guarding against crashy gtk functions. Closes LP#1089190 2013-01-30 10:53:53 +00:00
Chris Jones b609914cc1 Guard urgency hint against being called on the wrong widget. Closes LP#1083243 2013-01-30 10:26:56 +00:00
Chris Jones bf72c3e4f2 Bring back support for forcing fake transparency. Closes LP#702917 2013-01-30 09:59:52 +00:00
Stephen Boddy a6e72c1d63 Fix for slightly off-center splits. 2012-12-13 18:07:18 +01:00
Chris Jones 5d35c196c7 Add a command line option to spawn new tabs via DBus 2012-10-30 00:11:24 +00:00
Stephen Boddy a7948207df Occasionly a 'ghost' group label would arise from the dead 2012-10-24 19:29:19 +02:00