Commit Graph

1737 Commits

Author SHA1 Message Date
Vishweshwar Saran Singh Deo bd4e3b3470 Merge remote-tracking branch 'upstream/master' into 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open 2023-08-26 20:47:10 +05:30
Matthew Rose f7b6ea07bc Fix Insert Term Name Plugin error
The "Insert terminal name" Plugin causes the following traceback
Traceback (most recent call last):
  File "/Users/mattrose/Code/terminator/terminatorlib/terminator.py", line 588, in do_insert_term_name
    term.feed(name)
  File "/Users/mattrose/Code/terminator/terminatorlib/terminal.py", line 1709, in feed
    self.vte.feed_child(text)

This PR fixes it so the plugin inserts the terminal name, as intended.
2023-08-26 09:21:18 -04:00
Matt Rose 9c054ac29e
Merge pull request #806 from vssdeo/805-keyboard-shortcut-support-for-plugins-code-decoupling
805 keyboard shortcut support for plugins code decoupling
2023-08-25 21:20:05 -04:00
Vishweshwar Saran Singh Deo 3b4d32cda3 [bug 808] Plugins-dont-receive-keboard-signals-on-newly-opened-windows
- code separated for force loading of plugins on every terminal instance
2023-08-09 16:31:41 +05:30
Vishweshwar Saran Singh Deo d39968ebba - [bug 681] removed force plugin load from plugin and separated the code in a diff issue
Plugin Submission + Generic Plugin Utility Functions & KeyBinding Feature: Mouseless / Mousefree / Keyboard URL opening or yanking
2023-08-09 16:11:59 +05:30
Vishweshwar Saran Singh Deo 64a6e391ac - more changes from 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open that were to be decoupled 2023-08-09 14:47:42 +05:30
Vishweshwar Saran Singh Deo 11639159b4 - removed KeyBindUtil dependency as its now a seperate pull request
- this branch is further decoupled using the current commit, 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open
2023-08-09 14:39:45 +05:30
Vishweshwar Saran Singh Deo d91d017e20 -remove the plugin from the plugin shortcut util / helper code 2023-08-06 20:18:28 +05:30
Vishweshwar Saran Singh Deo a0ed310094 Merge remote-tracking branch 'upstream/master' into 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open 2023-07-28 20:08:37 +05:30
Matt Rose 0fea7d47e5
Merge pull request #767 from x000zh/master
add new tab after current tab option
2023-06-20 20:56:37 -04:00
Matt Rose 7023fdc5ab
Merge pull request #778 from mattrose/fix_ratio
Revert "modify terminator separater size setting in gui to start from 1"
2023-06-20 19:58:50 -04:00
Matt Rose b7e91b1ede
Merge pull request #777 from mattrose/776-fix-logger
Alter get_text_range call based on VTE version
2023-06-20 19:57:16 -04:00
Matt Rose 1a4921b262 Alter get_text_range call based on VTE version
In vte 0.72 there was a regression that caused
Vte.Terminal.get_text_range() to fail to return the text requested
However, in the same version, there was a new call introduced that
does retrieve the text, so if I detect a vte minor version above
72, I call that instead.
2023-06-17 21:31:00 -04:00
Matt Rose 928a3dc5ec Revert "modify terminator separater size setting in gui to start from 1"
This reverts commit c8cd50ba9a.
2023-06-09 23:16:34 -04:00
x000zh cd04443e29 add new tab after current tab option 2023-06-04 19:13:37 +08:00
Matt Rose e0592eaf4f
Merge pull request #698 from zpalmtree/add-detchable-tabs-preference
Add detachable tabs feature to preferences
2023-04-24 09:55:48 -04:00
Vulcalien 0570307ecb Remove unused 'color_scheme' setting
The color scheme in use is determined by checking the
'foreground_color' and 'background_color' settings.
2023-04-02 17:26:24 +02:00
Vulcalien a9c5e18365 Remove more unused settings and update the docs accordingly
Removed settings: scroll_background, focus_on_close, cycle_term_tab,
ignore_hosts.
2023-04-01 21:44:28 +02:00
Vulcalien 3f30aa58f7 Remove settings 'hide_tabbar' and 'disable_real_transparency'
'disable_real_transparency' is already completely unused,
'hide_tabbar' was replaced by 'tab_position' = 'hidden' and marked as
deprecated in 2010.
2023-03-31 17:14:27 +02:00
Matt Rose 2285ceb68b
Merge pull request #720 from pedroflor/patch-1
Capitalize the first letter for "Read only"
2023-03-22 18:13:22 -04:00
Matt Rose 41c9d344b4 fix drag and drop 2023-03-22 17:43:04 -04:00
Vulcalien d8852f1e54 Do not remove focus from the last_active_window
This caused all the new windows to be unfocused, forcing the user to
manually focus one.
The 'last_active_window' feature might be broken anyway.
2023-03-11 12:48:20 +01:00
Matt Rose 3d79ca5072
Merge pull request #716 from mattrose/714-fixdadt
Remove hack to ensure that focus is set.
2023-03-09 17:11:02 -05:00
Matt Rose 8ae6f93f55
Merge pull request #725 from mattrose/724-unset-keybinding-toggle_scrollbar-prevents-right-click-menu-from-opening
Fix context menu keybinding reading.
2023-03-08 17:31:03 -05:00
Matt Rose e4be854668 Fix context menu keybinding reading.
When the keybinding for an action that also appears in the context menu
is None, python can't do it's usual string tricks and throws a
backtrace, and doesn't display the menu.
2023-03-08 17:17:57 -05:00
PF 599b9b8bf4
Capitalize the first letter for "Read only" 2023-03-06 22:25:27 -04:00
Matthew Rose 9eaf0cbd6b Release version 2.1.3 2023-03-01 17:36:20 -05:00
Matt Rose 380be99c9f
Merge pull request #709 from KKoovalsky/master
Better distinguishing of inactive windows from the active one, by changing the background brightness
2023-03-01 16:45:25 -05:00
Matt Rose 45a8b4c75c
Merge pull request #691 from nicbn/patch-1
Ctrl+Click on group button automatically creates groups whenever needed
2023-03-01 16:23:33 -05:00
Matthew Rose d6d9cce90c should not commit this late at night. 2023-02-28 22:32:14 -05:00
Matthew Rose ed763df331 Further fix to last_active_window 2023-02-28 22:22:57 -05:00
Matthew Rose 066acd779a Remove hack to ensure that focus is set.
set_focus() should do the trick according to the docs, so
let's just use that, and not go to extraordinary measures.
2023-02-28 21:42:29 -05:00
Kacper Kowalski c1d9253acc Make inactive background brightness default 1.0 (100%) 2023-02-21 11:04:37 +01:00
Vulcalien d52fa5a5d4 Detachable tabs: reposition the code 2023-02-15 11:44:42 +01:00
Vulcalien 6cc3052ba7 Add background image's drawing mode and alignment to preferences GUI 2023-02-14 16:59:59 +01:00
Vulcalien df8890199c Add background image alignment
background_image_align_horiz: left, center, right
background_image_align_vert: top, middle, bottom
2023-02-14 15:13:54 +01:00
Vulcalien 21529cec6c Add different background image modes
stretch_and_fill, scale_and_fit, scale_and_crop, tiling
2023-02-14 15:13:32 +01:00
Kacper Kowalski 39cf34e295 Fix typo 2023-02-03 18:26:54 +01:00
Kacper Kowalski dd511778c8 Add debug messages for the inactive background color change 2023-02-03 15:56:46 +01:00
Kacper Kowalski 272328c82d Add inactive background color adjustment in prefs 2023-02-03 15:50:33 +01:00
Kacper Kowalski 6551dba9dc Add config option for inactive background offset 2023-02-03 14:59:36 +01:00
Kacper Kowalski 3854a7c0e2 Allow setting hardcoded background darkening
Normally, one can only change the background of the foreground for the
inactive window. With this change the background of the inactive window
will also change it's brightness by 20%.
2023-02-03 14:34:16 +01:00
zpalmtree 808d2efaa9 Add detachable tabs feature to preferences 2022-12-28 23:20:28 -05:00
nicbn c84821e36a Make Ctrl+Click on group button automatically create groups 2022-12-06 18:08:01 -03:00
Vishweshwar Saran Singh Deo 98dcd0efec [bug 680] Open up keybindings page on keypress #680
- implemented the short-cut
- seems the key combo is already taken 'go_prev' : 'p'
- How about : 'k', I will make the change for now.
- But adding key seq to a long list of keypress function breaks my heart, If the plugin util keybind makes it to the main branch, I will take this out and may be have a shortcut plugin to handle these.
- Also selecting of Keybindings page is being done for this specific case Page = 3
- A notebook tab number and title map would remove this. Which can be configurable, later.
2022-11-23 20:02:26 +05:30
Vishweshwar Saran Singh Deo 8e5e6d1642 [bug 681] Plugin Submission + Generic Plugin Utility Functions & KeyBinding Feature: Mouseless / Mousefree / Keyboard URL opening or yanking #681
- renamed api interfacted for better clarity
- removed double checking of short-cut binding for plugins in keybindings
2022-11-23 15:34:22 +05:30
Vishweshwar Saran Singh Deo 8edebc6ca5 [bug 681] Plugin Submission + Generic Plugin Utility Functions & KeyBinding Feature: Mouseless / Mousefree / Keyboard URL opening or yanking #681
- removed plugin_util
- added key unbind feature
- updated plugin helper
- updated plugin helper - to have config as part of constructor
- updated MouseFreeURLHandler for plugin.py, unload
- removed circular dependency between plugin.py and config.py due to KeyBindUtil due to merging of plugin_util.py
2022-11-22 15:18:26 +05:30
Vishweshwar Saran Singh Deo 3e15ae40df [bug 681] Plugin Submission + Generic Plugin Utility Functions & KeyBinding Feature: Mouseless / Mousefree / Keyboard URL opening or yanking #681
-convert control keys keyval to standard lowercase, else signals are missing
2022-11-21 18:12:54 +05:30
Vishweshwar Saran Singh Deo 7bbb07c993 [bug 681] Plugin Submission + Generic Plugin Utility Functions & KeyBinding Feature: Mouseless / Mousefree / Keyboard URL opening or yanking #681
- there was a bug wherein the duplicate keybindings from plugins were not throwing the error "Duplicate Key Bindings Are Not Allowed", now while checking they are merged and then final list of keybindings are checked.
2022-11-21 16:24:32 +05:30
Matt Rose 13ff8cdcf5
Merge pull request #683 from mattrose/insert-term-name-plugin
Plugin and Group menu item that inserts the name of the terminal.
2022-11-20 16:11:25 -05:00