Commit Graph

3345 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
bad3bda058
Merge pull request #898 from arrowd/patch-1
Install manpages to share/man on FreeBSD
2024-03-25 20:32:44 -04:00
Gleb Popov
4062cddb1f
Install manpages to share/man on FreeBSD 2024-03-25 22:22:57 +03:00
Matt Rose
3c0abdf6d6
Merge pull request #895 from mattrose/865-file-links-not-clickable-if-the-root-dir-has-a-underscore
Properly parse file:/// URIs
2024-03-13 21:08:30 -04: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
Matt Rose
ea33815955
Merge pull request #863 from gnome-terminator/translations_po-terminator-pot--master_ru
Updates for file po/terminator.pot in ru
2024-02-17 09:37:51 -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
Matt Rose
d9aaa549c5
Merge pull request #883 from rcalixte/fix_groupwindow
window.py: Fix window group toggle keybind
2024-02-11 15:51:39 -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
9a3b8997db
Merge pull request #884 from mattrose/ask_before_close_gui
Ask before close gui
2024-02-08 20:02:00 -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
94254eecf1
Merge pull request #824 from j-d-r/master
Fix: Add CLI command to reload configuration
2024-02-05 10:43:55 -05:00
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
Matt Rose
e9ef0745af
Merge pull request #753 from nautics889/issue-752-remove-unused-imports
fix: Remove unused imports in several modules #752
2024-02-05 09:48:28 -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
Matt Rose
6d5cd041b3
Merge pull request #756 from gotmax23/no-pytest-runner
remove deprecated pytest-runner
2024-01-26 11:19:21 -05:00
atomsforpeace
a28c5db7cf add missing @with_proxy, fixes #850 2024-01-26 15:17:41 +01:00
transifex-integration[bot]
3e7145034a
Translate po/terminator.pot in ru
100% translated source file: 'po/terminator.pot'
on 'ru'.
2023-11-22 11:24:25 +00: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
Julien Dusser
b935eda987 [bug 827] fix --new-tab and --toggle-visibility
Commit 2e1dd1f add a 'if' between a 'if' and 'else' breaking logic.
2023-09-18 18:15:48 +02:00
Matt Rose
6d225c7aee
Merge pull request #821 from LeoDog896/patch-1
chore: bump ations/checkout (v2 -> v4)
2023-09-15 08:24:00 -04:00
Tristan F
8f8343f95f
ci: bump actions/checkout ~> v4 2023-09-12 18:53:52 -04: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
Tristan F
7fa87058d5
chore: bump ations/checkout (v2 -> v3) 2023-09-03 10:11:00 -04:00