Commit Graph

1785 Commits

Author SHA1 Message Date
b36121c1c5 Merge github.com:gnome-terminator/terminator into feature/guake-like-functionality 2024-04-12 15:04:16 -05:00
Matt Rose
4e6e293771 Properly parse file:/// URIs
Previously, file URIs were lumped in with full uris that would be
used for HTTP, FTP, etc.  This caused file:/// uri parser to ignore
any file with a root dir that had a character that was not a valid
hostname character to be ignored.
2024-03-11 15:17:51 -04:00
Matt Rose
51e3bd2519
Merge pull request #886 from mattrose/fix-syntaxwarning
fix syntax warnings
2024-02-18 10:30:57 -05:00
Matt Rose
66427862d6
Merge pull request #887 from mattrose/fix-tb
fix traceback in layout_done
2024-02-18 10:30:29 -05:00
Matt Rose
5ef1131791
Merge pull request #856 from vssdeo/852-terminator_py_get_focussed_terminal_always_returns_none
[bug 852] - 852-terminator_py_get_focussed_terminal_always_returns_none
2024-02-18 10:22:32 -05:00
Matt Rose
67e9f3c5c3
Merge pull request #844 from vssdeo/843-Plugin-SaveLastSessionLayout-not-saving-layout-when-user-logs-out-or-shutdown-or-restart
[bug 843] 843-Plugin-SaveLastSessionLayout-not-saving-layout-when-use…
2024-02-17 10:19:03 -05:00
Matt Rose
9b9682be8b
Merge pull request #878 from markdoerr/feature/save-user-session
feat: plugin - Save current user layout of all sessions, fixes #563
2024-02-17 09:58:59 -05:00
mark doerr
5d0904b619 fix: version re-set to 2.1.3 2024-02-16 19:36:41 +01:00
Matt Rose
3bf1a7a5f4
Merge pull request #855 from vssdeo/846-mouseless-keyboard-url-open-fails-to-extract-text-and-clear-search-between-commands
846 mouseless keyboard url open fails to extract text and clear search between commands
2024-02-15 22:30:15 -05:00
Matt Rose
594537f9ed
Merge pull request #849 from vssdeo/835-crash-after-unzooming-a-single-terminal-inside-a-tab
[bug 835] 835-crash-after-unzooming-a-single-terminal-inside-a-tab #835
2024-02-15 22:28:29 -05:00
Matt Rose
3ed6ea7d16
Merge pull request #875 from AtomsForPeace/fix-reload-config
add missing @with_proxy, fixes #850
2024-02-15 22:19:58 -05:00
Matt Rose
7f581fde86 fix traceback in layout_done
Got this while testing layouts.  Easy fix

Traceback (most recent call last):
  File "/home/mattrose/Code/terminator/./terminator", line 137, in <module>
    TERMINATOR.layout_done()
  File "/home/mattrose/Code/terminator/terminatorlib/terminator.py", line 341, in layout_done
    term.ensure_visible_and_focussed()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'ensure_visible_and_focussed'
2024-02-15 22:16:44 -05:00
Matt Rose
36b3602292 fix syntax warnings
Got the following Warnings when running under python 3.12.1

home/mattrose/Code/terminator/terminatorlib/terminal.py:324: SyntaxWarning: invalid escape sequence '\['
  hostchars = "-A-Za-z0-9:\[\]"
/home/mattrose/Code/terminator/terminatorlib/terminal.py:348: SyntaxWarning: invalid escape sequence '\.'
  "(www|ftp)[" + hostchars + "]*\.[" + hostchars +
/home/mattrose/Code/terminator/terminatorlib/terminal.py:354: SyntaxWarning: invalid escape sequence '\.'
  "[a-zA-Z0-9-]*\.[a-zA-Z0-9][a-zA-Z0-9-]+" +
/home/mattrose/Code/terminator/terminatorlib/terminal.py:359: SyntaxWarning: invalid escape sequence '\^'
  """news:[-A-Z\^_a-z{|}~!"#$%&'()*+,./0-9;:=?`]+@""" +

To fix this, I changed the strings to raw strings to pass to the regex
2024-02-15 21:47:11 -05:00
Matt Rose
750a9be85a
Merge pull request #882 from vssdeo/760-working-directory-feature-is-broken
[bug 760] working directory feature is broken
2024-02-14 21:34:29 -05:00
Rick Calixte
46f956613f
window.py: Fix window group toggle keybind
The current conditional always evaluates to False, resulting in the
ungroup_win() function never being called
2024-02-09 18:39:37 -05:00
Matt Rose
5c6fda2513
Merge pull request #841 from vssdeo/706-Favorites-Bookmarks-Plugin
706 favorites bookmarks plugin
2024-02-08 21:02:20 -05:00
Matt Rose
aa03c235b6 wired up preferences GUI 2024-02-08 16:34:02 -05:00
Matt Rose
305f6b2881 GUI designed 2024-02-08 16:02:41 -05:00
Matt Rose
b47f7d073e
Merge pull request #834 from Vulcalien/ask-before-closing
Ask before closing, even if there is only one terminal
2024-02-08 15:49:18 -05:00
Vishweshwar Saran Singh Deo
4519b3e631 [bug 760] working directory feature is broken
- as per the bug the layout does not get updated when "Save" button in layout is pressed
- it does get updated if the window is closed by pressing top x close icon.
- on pressing Save, it seems that the prefseditor takes this from current_layout = terminator.describe_layout() and saves it in config
- whereas the current changes are done per key stroke and config is updated
- this patch copies the parameters like directory and command when Save is press and on_layoutrefreshbutton_clicked() is called
- Hence working dir and command are copied when Save is pressed using uuid to match terminals.
- If there is a command registered then the terminal runs the command and exits. so one is not able to see the results.
2024-02-05 22:35:26 +05:30
Matt Rose
b13d35649b
Merge pull request #822 from vssdeo/802-Ability-to-undo-or-restore-changes-to-the-preferences
[bug 802] - Ability to undo or restore changes to the preferences #802
2024-02-05 10:32:21 -05:00
mark doerr
d36f148a26 feat: plugin - save current user layout 2024-02-03 12:26:15 +01:00
nautics889
6651b30fde fix: Remove unused imports in several modules #752
Removed unused imports in:
* terminator
* terminatorlib/plugins/dir_open.py
* terminatorlib/terminal.py
* terminatorlib/terminal_popup_menu.py
* terminatorlib/terminator.py
* tests/test_signalman.py
2024-01-26 20:20:19 +02:00
atomsforpeace
a28c5db7cf add missing @with_proxy, fixes #850 2024-01-26 15:17:41 +01:00
Vishweshwar Saran Singh Deo
03e5769bd1 [bug 852] - 852-terminator_py_get_focussed_terminal_always_returns_none
- added get_vte().has_focus() for a valid focussed terminal to return
2023-10-26 23:38:59 +05:30
Vishweshwar Saran Singh Deo
b052da7efc [bug 846] 846-mouseless-keyboard-url-open-fails-to-extract-text-and-clear-search-between-commands #846
- this includes the changes in #835 since its required to decouple
- made plugin dependent on focus-in and removed tab-change
- plugin is now decoupled from main terminator code
2023-10-24 11:34:03 +05:30
Vishweshwar Saran Singh Deo
c7c9fd0d4b [bug 835] 835-crash-after-unzooming-a-single-terminal-inside-a-tab #835
- removing the tab-change event dependency and having a simpler solution with focus-in
2023-10-24 10:14:19 +05:30
Vishweshwar Saran Singh Deo
ff45920874 [bug 835] 835-crash-after-unzooming-a-single-terminal-inside-a-tab #835
-removed previous code to start fresh
-added event type for tab-change since other way of identifying zoomed widget was not simple and clear
-emit tab-change is done at a single point now in notebook.py
2023-10-20 23:50:25 +05:30
Vishweshwar Saran Singh Deo
9000327973 [bug 843] 843-Plugin-SaveLastSessionLayout-not-saving-layout-when-user-logs-out-or-shutdown-or-restart #843
- fixed Plugin SaveLastSessionLayout not saving layout when user logs out or shutdown or restart
- signals added
2023-10-17 19:49:57 +05:30
Vishweshwar Saran Singh Deo
a5ddcbe255 [bug 706] 706-Favorites-Bookmarks-Plugin #706
- the dialog window taking command for bookmark via shortcut keybinding will have focus on OK Button for faster interaction
- fixed a transient window issue for loading pref window via shortcut and context menu
- filed new command text area  was getting filled with last command
- fixed list store init
2023-10-17 01:11:21 +05:30
Vulcalien
8c0c7ceb4f Add a setting to specify when to ask to confirm before closing
'ask_before_closing' replaces 'suppress_multiple_term_dialog'.
The function 'Container.construct_confirm_close' was significantly
modified. The terminator_config manpage has been updated.
2023-10-10 17:03:21 +02:00
Vulcalien
8911723518 Window: always ask confirmation to close, even with only one terminal 2023-10-10 15:47:39 +02:00
Vishweshwar Saran Singh Deo
86337ad326 [bug 706] 706-Favorites-Bookmarks-Plugin #706
- modified custom command plugin to have bookmarks
- added keybindings for directly adding or launch the custom command menu
- made name parsing of the custom command optional
2023-10-08 12:40:19 +05:30
9248fc9340 Re-adding guake like functionality comit after bungled merge 2023-09-18 21:49:07 -05:00
Vishweshwar Saran Singh Deo
6fc6d7f658 [bug 802] 802-Ability-to-undo-or-restore-changes-to-the-preferences #802
- fixed the errors in case of missing configs
- restore file is stored in writable path
2023-09-11 18:30:02 +05:30
Vishweshwar Saran Singh Deo
2fe3ad8b08 [bug 802] - Ability to undo or restore changes to the preferences #802
- added basic config restore option from preferences window
 - changes to glade made in addition to addition of destory signal
 - minor cleaup in config to have a single function return confilg filename via get_config_filename
2023-09-04 17:21:37 +05:30
Matt Rose
a6a0eca553
Merge pull request #736 from rkashinin/issue-676
Fix for issue #676: title field not seem to be working with JSON profile
2023-08-26 21:49:12 -04:00
Matthew Rose
3c2d1ef047 Merge branch 'feature/add-command-line-command-to-reload-configuration' of https://github.com/dantecalderon/terminator into dantecalderon-feature/add-command-line-command-to-reload-configuration 2023-08-26 21:39:29 -04:00
Matt Rose
f3841c640f
Merge pull request #741 from nautics889/minor-fixes-configjson
fix: Minor fixes in terminatorlib/configjson.py
2023-08-26 21:21:23 -04:00
Matt Rose
cb4d84d52d
Merge pull request #770 from Tyler-Hardin/master
Enable sixel support in VTE if it's available.
2023-08-26 21:14:15 -04:00
Matt Rose
00ec42c7d2
Merge pull request #797 from j-d-r/master
Add command line option --toggle-visibility
2023-08-26 13:50:45 -04:00
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