Commit Graph

1527 Commits

Author SHA1 Message Date
Matt Rose
b50de62fe6 Merge branch 'master' of https://github.com/gnome-terminator/terminator into fix-wrapcloseterm 2020-07-09 10:04:25 -04:00
Aaron Faanes
a3ef71548e Allow live previewing of profile color changes 2020-07-07 19:48:42 -05:00
dkmvs
279a3e10e6 Fix: Allow Key Bindings with Shift-Modified Keys
This commit allows to set key bindings that contain
a key modified by a Shift key (e.g. `Ctrl + {`).
For example, after pressing `Ctrl + Shift + [`,
a key binding will be set to `Ctrl + {` as opposed
to `Ctrl + Shift + {` as before.

This is achieved by checking whether a key changes its
value when a Shift key is down. If it does, then the
Shift modifier is removed from `mods`. One exception:
if a key binding contains a letter then the Shift
modifier is not removed. This is because, for some
reason, a key value of a letter is never modified by the
Shift modifier and always corresponds to a key value of
a lowercase character. This is already handled in
`terminatorlib/keybindings.py`.

Resolves: #149
2020-06-27 23:42:04 +01:00
Matt Rose
6affbf5b0c
Merge pull request #144 from dugb/issue_44
issue 44, add option for case sensitive search
2020-06-24 13:29:50 -04:00
Douglas Bacon
ff53f737f8 catch TypeError when PCRE2 is not available 2020-06-24 10:16:58 -04:00
robertoetcheverryr
e9a8c42fff Fixed bug in prefseditor.py 2020-06-23 10:08:17 -03:00
Matt Rose
9edefb6f32 fix traceback on paned.py 2020-06-22 16:20:18 -04:00
Douglas Bacon
82af0ad81f add option to not match case during search 2020-06-22 15:24:41 -04:00
Matt Rose
1924b91684 fix line height config variable location to match ui 2020-06-21 15:30:47 -04:00
Matt Rose
412c80eec7
Merge pull request #141 from dugb/issue_111
Issue 111, add line_height slider
2020-06-21 15:23:09 -04:00
Douglas Bacon
3d128f0334 add line-height slider 2020-06-21 14:35:50 -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
Matt Rose
0c1032afa0
Merge pull request #140 from mattrose/issue133
replaces the handle_size property that was deprecated in gtk3.20
2020-06-21 12:03:48 -04:00
Matt Rose
da53f25b52 launch new layouts directly from right-click menu 2020-06-21 11:52:04 -04:00
Matt Rose
fae95a7e13
Merge pull request #131 from mattrose/issue99
Issue99
2020-06-21 11:47:04 -04:00
Matt Rose
4db7df5ea1 replaces the handle_size property that was deprecated in gtk3.20 2020-06-21 11:44:26 -04:00
robertoetcheverryr
c8db3e38aa Added putty_paste_style_source_clipboard 2020-06-19 02:15:13 -03:00
Matt Rose
decd21e15f dont traceback if we cant find a last active term 2020-06-15 20:59:09 -04:00
Matt Rose
391f3adb81 dont cycle through open tabs and focus them 2020-06-15 20:02:12 -04:00
Hector Sam
792dbcda08 Adding maximize option 2020-06-11 20:23:18 +02:00
Matt Rose
b1d502e939 add line_height config variable 2020-06-10 22:48:43 -04:00
Matt Rose
8c1f96d1f3
Merge pull request #109 from mattrose/fix-debugserver
fix io errors on debugserver
2020-06-10 21:44:32 -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
7e70a5b47b
Merge pull request #113 from mattrose/fix-x11-error
Fix crash when GdkX11 module is not available when creating layout
2020-06-10 19:56:19 -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
90ca702081 Fix crash when GdkX11 module is not available when creating layout 2020-06-03 11:50:03 -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
eb4e083ccd
Merge pull request #41 from JakubVanek/feature/#40-no-default-broadcast-keybindings
#40: remove default key bindings for input broadcasting
2020-06-02 19:54:10 -04:00
Matt Rose
32be225258 fix traceback when closing a window 2020-06-02 15:46:15 -04:00
Matt Rose
aefaad75a9
Merge pull request #110 from mattrose/add-debug-to-searchbar
add debug logging to searchbar
2020-06-02 11:02:44 -04:00
Matt Rose
3f20a8ac27
Merge pull request #88 from mattrose/dbus-error
Do not crash when dbus server is unavailable, just emit an error message
2020-06-02 11:02:18 -04:00
Matt Rose
31eb79b1e9 add debug logging to searchbar 2020-06-01 21:00:13 -04:00
Matt Rose
4246292974 fix io errors on debugserver 2020-06-01 20:11:03 -04:00
Gerben Welter
c4fab4ef0e Fix TODO for documening vte regex matching constants 2020-05-24 20:17:33 +02: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
Matt Rose
396038f18f
Merge pull request #42 from nbeaver/add-layout-launcher
Add layout launcher to terminal popup menu.
2020-05-16 21:04:15 -04:00
Nathaniel M. Beaver
4eba7f5b1a
Update terminatorlib/terminal_popup_menu.py
Co-authored-by: Markus Frosch <markus@lazyfrosch.de>
2020-05-16 17:24:50 -04:00
Matt Rose
2f7b4f39ff Do not crash when dbus server is unavailable, just emit an error message 2020-05-16 16:10:19 -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
00a01e9c69 fix test 2020-05-15 12:45:15 -04:00
Matt Rose
40ba659f6d rely on python psutil to get the cwd 2020-05-15 11:27:36 -04:00
Matt Rose
2db730f769 fix FileNotFound error when terminator is run from a directory that no longer exists 2020-05-14 15:39:50 -04:00
Markus Frosch
294e5820f5 Fix Python 2.7 compat 2020-05-09 10:24:20 +02:00
Markus Frosch
4ddd4d6891 Remove old pylint script 2020-05-09 10:24:20 +02:00
Markus Frosch
e4cd22b7bd tests: Update suite for pytest 2020-05-09 10:24:20 +02:00
Matt Rose
3fd38a6ea8
Merge pull request #60 from FernandoBasso/larger-layout-launcher
Make LayoutLauncher window a little larger by default
2020-05-08 12:08:54 -04: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
Fernando Basso
c92354975f Make LayoutLauncher window a little larger by default 2020-05-06 13:44:29 -03: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
Nathaniel Morck Beaver
29f6a44d06 Add layout launcher to terminal popup menu. 2020-04-26 13:40:48 -04:00
Jakub Vaněk
2324e89c40
fix(config): remove default key bindings for input broadcasting (#40)
Accidental activation of this feature may be dangerous.
This change forces users to assign a binding manually.

See https://bugs.launchpad.net/terminator/+bug/1872460
2020-04-25 21:39:47 +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
Jakub Vaněk
7ea105492f
feat(prefs): add prefs UI for bold_is_bright option (#38) 2020-04-25 20:25:48 +02:00
Jakub Vaněk
02542bbc3f
feat(config): introduce new bold_is_bright option (#38) 2020-04-25 20:25:42 +02:00
Markus Frosch
11a6a57f51
Merge pull request #19 from mattrose/mac-pr
Only import GdkX11 when available
2020-04-23 20:03:13 +02:00
Matt Rose
3a1b56da12 fix indent 2020-04-22 21:44:45 -04: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
bb24273eb4 Release version 1.92 2020-04-18 12:45:06 +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
Matt Rose
c0c0b88e04 add apple Command key to list of modifiers accepted by keybinder 2020-04-17 13:51:19 -04:00
Matt Rose
769aaf1ae3 only import the GdkX11 if it is part of the glib module repository 2020-04-17 12:50:46 -04:00
Markus Frosch
7be1754a47
Merge pull request #18 from gnome-terminator/compat-2.7
Fix some compat issues for Python 2.7
2020-04-17 18:34:34 +02:00
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