Commit Graph

324 Commits

Author SHA1 Message Date
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
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
c4d372c56c Fixes vte object not being released properly, and holding open hidden /tmp files. 2017-02-11 19:59:31 +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
d5e9265d34 Fix separators in popup menus on newer Gtk/Adwaita 2017-01-18 09:17:15 +01:00
Stephen Boddy
f02f38389c Fixes the transparent scrollbars for Ambiance. 2016-12-11 05:46:02 +01:00
Stephen Boddy
ee604535ea Fix middle mouse button not passed to tmux 2016-12-06 02:38:01 +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
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
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
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
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
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
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
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
9bd8b5ea09 Fix cwd when new term spawned from a symlinked directory 2015-11-29 20:19:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
be6128f7be Minor focus grabbing fix from the GTK3 port. 2015-02-26 00:07:14 +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
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
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
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
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
2f9d337687 New feature - Layout launcher opened with option or shortcut 2013-09-03 19:59:28 +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
e14cd19690 Initial cut of layout launcher. It 'aint pretty, but it works 2013-08-28 23:09:17 +02:00
Stephen Boddy
7e85451343 Original layout working directory patch by MoMaT 2013-08-27 19:22:00 +02:00
Stephen Boddy
d271137675 Merge feature from nanikata. Closes LP#332267 2013-07-14 21:01:58 +02: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
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
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
Chris Jones
4516d991a5 Support custom TERM and COLORTERM env vars. Patch from John Feuerstein. Closes LP#794561 2012-10-18 20:51:39 -07:00
Chris Jones
5185657010 Strip newline from text being dragged into the terminal 2012-10-18 14:12:44 -07:00
Chris Jones
6a4e47090b Automatically inject a UUID into any factory object, rather than special-casing terminals. This will be very useful for introspection via dbus 2012-10-18 11:39:28 -07:00
Stephen Boddy
a4c0eb453d Merge updates from trunk 2012-07-23 15:30:03 +02:00
Chris Jones
88e65af3a9 Merge a branch from Stephen J Boddy that fixes titlebars not refreshing when using some keyboard shortcuts 2012-07-10 20:27:34 +01:00
Chris Jones
3dd931e19a Merge a branch from Stephen J Boddy to add a keyboard shortcut for changing the window title 2012-07-10 19:41:26 +01:00
Stephen Boddy
e5eda24a21 Add shortcut (no default) to edit window title. 2012-06-26 20:29:54 +02:00
Stephen Boddy
b4ef645a2f Add shortcuts (no defaults) to insert the group menu numbers. 2012-06-26 20:23:39 +02:00
Stephen Boddy
618e38d18b Clicking with modifier on the group button gives more powerful control. (Shift: Rename, Ctrl: Join current, Super: Include siblings) 2012-06-24 20:42:12 +02:00
Stephen Boddy
b85f7c402c Collection of changes that don't add/remove anything, but needed for next checkin to work 2012-06-24 20:36:39 +02:00
Stephen Boddy
383a4b614f Fix titlebars not refreshing when using broadcast shortcut keys 2012-06-24 00:48:23 +02:00