Commit Graph

1622 Commits

Author SHA1 Message Date
Matt Rose
890253ba2b make tests pass 2020-12-01 15:49:11 -05:00
Matt Rose
5c9c482843 load config from XDG_CONFIG_DIRS if user config file doesn't exist 2020-12-01 14:38:29 -05:00
Matt Rose
cdb5755193 add a commandline flag to unhide any windows 2020-11-26 15:35:12 -05:00
Matt Rose
40bd59481b
Merge pull request #296 from mattrose/fix-bg-ui
fix background image profile preferences ui
2020-11-19 16:31:04 -05:00
Matt Rose
18ed95abe7 fix background image profile preferences ui 2020-11-19 11:49:45 -05:00
Jean-Sebastien Trottier
912e486b7d Terminal.close: Avoid error when self.pid is None 2020-11-18 20:35:29 -05:00
Jean-Sebastien Trottier
352fdfe279 URLHandler.unload: Fix check for handler_name being set 2020-11-18 20:24:42 -05:00
Matt Rose
1be51cccad fix issue with older vte lib 2020-11-18 09:46:25 -05:00
Matt Rose
ebc266e554
Merge pull request #286 from mattrose/dim-on-focus-out-sq
fix issue #74
2020-11-17 12:24:31 -05:00
Matt Rose
040b828ed1 feed_child() only accepts UTF-8, so that's what we'll send for now 2020-11-17 12:19:59 -05:00
Matt Rose
a55356ec8d replace feed_child_binary() calls with feed_child() 2020-11-17 12:06:16 -05:00
Matt Rose
fdcab76408 convert the unfocused terminal font brightness to alpha transparency level 2020-11-14 11:03:58 -05:00
Matt Rose
77696aa2cd fix issue #74 2020-11-13 10:08:10 -05:00
Matt Rose
316afbc6c1
Merge pull request #280 from mattrose/term-links
support for SSH URIs
2020-11-09 17:54:49 -05:00
Matt Rose
77198d3459 support for SSH URIs 2020-11-09 17:50:05 -05:00
Matt Rose
1dbaa807c6 fix stupid debugging error 2020-11-09 10:22:43 -05:00
Matt Rose
24a1f912d3
Merge pull request #277 from mattrose/doc-fixes
multiple small documentation fixes
2020-11-09 09:57:36 -05:00
Matt Rose
0ce26864b1 multiple small documentation fixes 2020-11-09 09:46:07 -05:00
Matt Rose
a5339b4cba
Merge pull request #275 from mattrose/fix-kde-dnd
fix drag and drop issues on KDE
2020-11-06 22:06:57 -05:00
Matt Rose
efccfc6ec7 fix drag and drop issues on KDE 2020-11-06 21:56:09 -05:00
Matt Rose
e9ee7d4409
Merge pull request #266 from mattrose/issue264_1
suppress warning if the vte capability is not there
2020-10-30 15:18:44 -04:00
Matt Rose
915077f5ff fix new upstream vte warning 2020-10-26 17:33:48 -04:00
Matt Rose
c7649b33e9 suppress warning if the vte capability is not there 2020-10-26 12:35:26 -04:00
Matt Rose
acba6fa34e
Merge pull request #257 from yoavp77/allow-invert-search
Add support for inverted search
2020-10-26 12:29:44 -04:00
Matt Rose
49d2a76b1d
Merge pull request #265 from mattrose/debug_keybind
remove workaround for https://github.com/ibus/ibus/issues/1802
2020-10-26 11:58:58 -04:00
Matt Rose
736e88aa46 remove workaround for https://github.com/ibus/ibus/issues/1802 2020-10-26 11:51:27 -04:00
Joe Peled
4ae1282606 Add support for inverted search 2020-10-20 09:21:12 -04:00
Matt Rose
ff1860ad1b
Merge pull request #254 from mattrose/clear-select-on-smart-copy
Clear selection on smart copy
2020-10-19 17:41:52 -04:00
Matt Rose
1822d6ccb1 add config entry and preferences GUI 2020-10-19 17:14:40 -04:00
Matt Rose
657c45abb7 Clear selection on copy if smart_copy is configured 2020-10-19 16:51:47 -04:00
Joe Peled
19e1cf755c Simplify parsing config value 2020-10-17 22:04:00 -04:00
Joe Peled
66f4020e37 Preserve case sensitivity state in config file on state change 2020-10-17 17:51:19 -04:00
Matt Rose
80b20a8050
Merge pull request #247 from mattrose/fix-horizontal-div-handle
fix the handle on the divider between horizontal panes
2020-10-16 11:37:42 -04:00
Matt Rose
dc0ea4dff9 fix the handle on the divider between horizontal panes 2020-10-16 11:32:55 -04:00
Matt Rose
80fb628fbc
Merge pull request #214 from dvdlevanon/layout-json-file
layout file - initial commit - work in progress
2020-10-14 14:01:06 -04:00
Matt Rose
6df1304563
Merge pull request #224 from dkmvs/fix-keybinding-accel-clearing
Fix: Key Binding Clearing in `Preferences > Keybindings`
2020-10-14 14:00:10 -04:00
Matt Rose
44f538f3f9
Merge pull request #235 from planet36/save_config_file
Change how config file is saved
2020-10-14 11:54:20 -04:00
planet36
2d7f9133b0 Create config file if it doesn't exist 2020-10-11 23:28:04 -04:00
planet36
610580b704 Revert "Create config file if it doesn't exist"
This reverts commit 310f70ac5f.
2020-10-11 23:16:46 -04:00
Matt Rose
68d0be887e Release version 2.0.1 2020-10-11 14:13:42 -04:00
planet36
310f70ac5f Create config file if it doesn't exist
Use pathlib.Path for config file and backup file
2020-10-09 20:28:48 -04:00
planet36
ebae1e1440 Backup config before writing to it
Fixes #234
2020-10-08 17:11:32 -04:00
Matt Rose
251d89c8cd only set clear background when background_image in config 2020-10-08 15:38:09 -04:00
Matt Rose
8bc1af0749 Release Version 2.0 2020-10-06 09:47:30 -04:00
Matt Rose
8db142d92b add GUI controls for background image 2020-09-30 10:20:02 -04:00
dkmvs
840a95eeb2 Use Empty String for Cleared Accels
When a key binding is cleared its value is now set to "" (an empty
string) instead of `None` as before.

This change is introduced because `Gtk.accelerator_parse` does not
allow `None` to be used as a value, which in turn breaks
`on_cellrenderer_accel_edited` function in
`terminatorlib/prefseditor.py` by raising a `TypeError` every time a
new key binding is introduced. Note that this only happens if at
least one key binding has been cleared first.
2020-09-29 17:10:56 +03:00
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
David Levanon
f387f4886c set default profile from the json file 2020-09-24 15:19:58 +03:00
David Levanon
b669996180 prevent json layout and profile from being saved to the global config file 2020-09-24 13:39:48 +03:00
David Levanon
42b1915065 support ratio for terminals 2020-09-24 13:12:23 +03:00
Matt Rose
501e6b3145 rough POC with a hardcoded image file 2020-09-23 21:52:44 -04:00
Matt Rose
41caaabdf3
Merge pull request #205 from mattrose/command-notify
Command notify
2020-09-23 10:22:13 -04:00
Matt Rose
dad40bb1b2 do not advertise as AVAILABLE if the signal is not present in the Vte library 2020-09-22 17:48:37 -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
e1476a2ef2
Merge pull request #215 from mattrose/add-prefs-key
fix spacing
2020-09-22 17:04:51 -04:00
Matt Rose
0ff6a7b498 fix spacing 2020-09-22 16:59:26 -04:00
Matt Rose
71d4713d61
Merge pull request #209 from mattrose/add-prefs-key
add preferences keybindings
2020-09-22 16:58:37 -04:00
David Levanon
0151c68abe revert terminator.py back 2020-09-21 01:04:59 +03:00
David Levanon
130b0a0af1 adding profile to the layout file
fix layout examples - adding profile

refactor - changing layoutfile to configjson
2020-09-21 01:02:19 +03:00
David Levanon
69c8a3f1d9 fix some complicated layouts 2020-09-20 21:15:14 +03:00
David Levanon
b595bec775 layout file - initial commit - work in progress 2020-09-19 22:27:21 +03:00
dkmvs
6c404d0355 Allow Shift+Tab Key Binding Accelerator
This commit allows to assign the `Shift+Tab` key binding to an action in
`Preferences>Keybindings`.

In GTK the Tab key can be modified by the Shift key. Such a key combination
has a special key value - `Gdk.KEY_ISO_Left_Tab`.
To allow it, `key = key_with_shift.keyval` was added to the code.

However, `Gdk.KEY_ISO_Left_Tab` key value is displayed as `Left Tab` in
`Preferences>Keybindings`, which is confusing as it is not obvious that it
corresponds to the `Shift+Tab` key combination. To make sure that `Shift+Tab`
is displayed as `Shift+Tab`, the `Shift+Tab` case is treated as if no Shift
was pressed at all.
2020-09-14 04:26:13 +03:00
Matt Rose
6ec295cdbc add preferences keybindings 2020-09-11 20:47:57 -04:00
Matt Rose
a93609da8f
Merge pull request #196 from dkmvs/dkmvs-forbid-duplicate-keybindings
Fix: Forbid Duplicate Key Bindings in `Preferences > Keybindings`
2020-09-09 14:32:30 -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
1c747b8971
Merge pull request #207 from mattrose/fix-login
fix login_shell option so that it sends -l rather than -shell
2020-09-09 14:01:48 -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
98d11928c6 add proper arguments 2020-09-04 12:15:25 -04:00
Matt Rose
8cd329c5c5 added some more documentation 2020-09-04 10:40:14 -04:00
Matt Rose
bad60a03f2 tweak class name as well 2020-09-04 10:29:46 -04:00
Matt Rose
752311b8fe Tweak Name so it does not interfere with @xll4dux plugin 2020-09-03 18:18:08 -04:00
Matt Rose
93c1169104 update description 2020-09-03 18:14:49 -04:00
Matt Rose
6220af8030 add plugin to notify when command is complete 2020-09-03 18:00:08 -04:00
dkmvs
1b5b584669 Add Tests for Preferences>Keybidings
This commit adds tests that check that:
1) Default key binding accelerators are distinct.
2) Message dialog appears when a duplicate key binding accelerator is
attempted to be assigned to a different action.
3) Duplicate key binding accelerator cannot refer to more than one action.

Also, `active_message_dialog` attribute was added to `PrefsEditor`, so
that tests could get a reference to a message dialog window.
2020-09-02 16:39:20 +03:00
dkmvs
46e78520c4 Forbid Duplicate Key Bindings
This commit forbids setting duplicate key bindings in
`Preferences > Keybindings` tab.

If a duplicate key binding is detected upon editing, such a key binding
is not assigned and instead a message dialog is displayed saying that the
key binding is a duplicate.
2020-09-02 15:25:20 +03:00
Matt Rose
c04b6aeb87 move cmdline option conversion to dbus format to optionparse 2020-08-28 16:51:37 -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
Matt Rose
956ca49dd2
Merge pull request #193 from mattrose/fix-separator
Add 'wide_handle' property
2020-08-24 15:05:54 -04:00
Matt Rose
da9b5d49c1 Add 'wide_handle' property to allow you to paste from the first column to the right of a vertically split window 2020-08-24 14:41:21 -04:00
Matt Rose
527a8df76c
Merge pull request #185 from phidebian/phi-rem-conn
Exit remotinator with an explicit error message when terminator is needed but not running
2020-08-19 15:14:27 -04:00
Phi
ba2c8fab6d Exit remotinator with an explicit error message when terminator is need but not running. 2020-08-19 13:54:12 +02:00
Phi
5f130c7b91 Add 'title at bottom' comment to say it require a restart to take effect. 2020-08-16 10:16:29 +02:00
Phi
a495f290bf Add a 'title bar at bottom' option 2020-08-15 18:15:55 +02:00
Matt Rose
9e05a5df2f
Merge pull request #176 from mattrose/new-hyper
add support for OSC-8
2020-07-27 17:22:51 -04:00
Matt Rose
76664f6c93
Merge pull request #172 from mattrose/remove-gnome-session
remove unused gnome session code
2020-07-23 10:56:37 -04:00
Matt Rose
a530fc61ba
Merge pull request #171 from mattrose/version-string
Add version string to "Preferences -> About"
2020-07-23 10:56:18 -04:00
Matt Rose
f3ed616e22
Merge pull request #145 from mattrose/fix-wrapcloseterm
fix traceback on paned.py
2020-07-22 13:46:41 -04:00
Matt Rose
772031acd0 remove unused gnome session code 2020-07-22 13:44:34 -04:00
Matt Rose
1c62d3a598 add version label to About box 2020-07-22 13:15:08 -04:00
Matt Rose
8d783364e6 add support for OSC-8 2020-07-20 17:19:21 -04:00
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