Commit Graph

367 Commits

Author SHA1 Message Date
Matt Rose e06003ee41 Merge branch 'master' into background-image 2020-09-29 10:06:21 -04:00
Matt Rose a44ebd9e2e Revert "Merge pull request #208 from mattrose/update-vte-spawn"
This reverts commit f5cbdce5fc, reversing
changes made to e1476a2ef2.
2020-09-27 09:41:02 -04:00
Matt Rose 8d85beaafa Merge branch 'master' of https://github.com/gnome-terminator/terminator into background-image 2020-09-27 09:29:03 -04:00
Matt Rose 6db631f7d5 remove print debug 2020-09-24 16:41:14 -04:00
Matt Rose 415b7653dc added config values for background_image and background_alpha 2020-09-24 16:24:54 -04:00
Matt Rose 501e6b3145 rough POC with a hardcoded image file 2020-09-23 21:52:44 -04:00
Matt Rose f5cbdce5fc
Merge pull request #208 from mattrose/update-vte-spawn
update Terminal.spawn_child() to use spawn_async, not spawn_sync
2020-09-22 17:17:13 -04:00
Matt Rose 6ec295cdbc add preferences keybindings 2020-09-11 20:47:57 -04:00
Matt Rose 793ac673aa update Terminal.spawn_child() to use spawn_async, not spawn_sync 2020-09-09 14:05:08 -04:00
Matt Rose d0ac642f71 fix login_shell option so that it sends -l rather than -shell 2020-09-08 11:18:52 -04:00
Matt Rose 1ad579ce03
Merge pull request #195 from mattrose/add_key_create_group
Key binding option for creating group in current terminal
2020-08-25 15:56:59 -04:00
Matt Rose 2b6fbe5048 Key binding option for creating group in current tab 2020-08-25 15:50:40 -04:00
Phi a495f290bf Add a 'title bar at bottom' option 2020-08-15 18:15:55 +02:00
Matt Rose 8d783364e6 add support for OSC-8 2020-07-20 17:19:21 -04:00
Douglas Bacon c4a6ac96c8 Merge branch 'line-height' of https://github.com/mattrose/terminator into issue_111 2020-06-21 12:06:39 -04:00
robertoetcheverryr c8db3e38aa Added putty_paste_style_source_clipboard 2020-06-19 02:15:13 -03:00
Matt Rose b1d502e939 add line_height config variable 2020-06-10 22:48:43 -04:00
Matt Rose 3e73e89765
Merge pull request #112 from mattrose/fix-closewindow-1
fix traceback when closing a window
2020-06-10 21:44:16 -04:00
Matt Rose f70737c21a
Merge pull request #123 from mattrose/pwdfix
fix cwd for non-vte shells
2020-06-10 19:56:00 -04:00
Matt Rose cdc456740b fix cwd for non-vte shells 2020-06-10 17:06:36 -04:00
Matt Rose 86f90337f6
Merge pull request #46 from filipkilibarda/master
Added option to disable ctrl+mousewheel zoom
2020-06-02 22:12:28 -04:00
Matt Rose 32be225258 fix traceback when closing a window 2020-06-02 15:46:15 -04:00
Matt Rose 3cdb6a65b1
Merge pull request #61 from blackm0re/propagate-on-single-tab
Propagate tab-swictch events if there is only one tab
2020-05-22 11:49:10 -04:00
Antonio Terceiro ff521c6117 Fix fallback for getting the current working directory
This fixes a regression introduced in 40ba659f6d
2020-05-16 13:53:44 -03:00
Matt Rose 79363bc9ae
Merge pull request #39 from JakubVanek/feature/#38-bold-is-bright
#38: Add option for configuring bold-is-bright setting of VTE
2020-05-08 12:07:22 -04:00
Simeon Simeonov a7f5679a03
Propagate tab-swictch events if there is only one tab 2020-05-07 08:30:08 +02:00
Matt Rose 808a6aa91c fix traceback on dragging and dropping files from a file manager 2020-05-01 23:35:36 -04:00
Ryan Fonnesbeck fb6b940f48 Disable special logic for pasting on Wayland 2020-05-01 17:06:06 +02:00
Filip Kilibarda a7bd53a2d9 Fixed issues with mousewheel zoom PR
- moved disable mousewheel zoom checkbox to profile level settings
    - fixed so it doesn't disable all scrolling events
2020-04-29 14:00:40 -07:00
Filip Kilibarda e4160dddc9 Added option to disable ctrl+mousewheel zoom 2020-04-28 22:57:15 -07:00
Markus Frosch 73c91769b2 searchbar: Implement modern/glib regexp support
fixes #4
refs #28
2020-04-27 22:03:11 +02:00
Jakub Vaněk 78e82464c3
feat(terminal): set bold_is_bright for VTE when supported (#38) 2020-04-25 20:25:49 +02:00
waldner 8552037fc8 fast resize keyboard shortcuts 2020-04-22 10:14:16 +02:00
Markus Frosch c63935f5a9 terminal: Improve compat for Vte Regex
Try the latest Vte functions, and fall back to Glib when this doesn't work.
2020-04-19 16:30:25 +02:00
Markus Frosch 9beb28a22e terminal: Add compat detection for Vte regexp feature
Older Vte versions only offer the old implementation.

fixes #10
2020-04-17 20:12:57 +02:00
Markus Frosch c8269e5a6b Fix some compat issues for Python 2.7 2020-04-17 18:19:25 +02: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 23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +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
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 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