Commit Graph

3320 Commits

Author SHA1 Message Date
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
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
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
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
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
43c5c55c35 Merge branch 'dantecalderon-feature/add-command-line-command-to-reload-configuration' 2023-08-26 21:40:21 -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
Matt Rose
f537eaabe5
Merge pull request #798 from gnome-terminator/translations_po-terminator-pot--master_zh_CN
Updates for file po/terminator.pot in zh_CN on branch master
2023-08-26 13:40:11 -04:00
Matt Rose
1806e583a8
Merge pull request #807 from xuezhixin/master
Document syntax error
2023-08-26 13:38:47 -04:00
Matt Rose
bf103c2e94
Merge pull request #810 from vssdeo/681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open
681 Plugin submission mouseless keyboard url open decoupled code
2023-08-26 13:37:56 -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
Matt Rose
27814c2386
Merge pull request #819 from mattrose/fix_insert_term_name2
Fix Insert Term Name Plugin error
2023-08-26 09:38:54 -04:00
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
Matt Rose
2dd7b8ea17
Merge pull request #809 from vssdeo/808-Plugins-dont-receive-keboard-signals-on-newly-opened-windows
[bug 808] Plugins-dont-receive-keboard-signals-on-newly-opened-windows
2023-08-25 20:51:02 -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
xuezhixin
fdfaa80907 Document syntax error
Signed-off-by: xuezhixin <xuezhixin@uniontech.com>
2023-08-09 17:33:12 +08:00
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
transifex-integration[bot]
98659bdd8d
Translate po/terminator.pot in zh_CN
100% translated source file: 'po/terminator.pot'
on 'zh_CN'.
2023-07-21 08:55:55 +00:00
transifex-integration[bot]
368666c0af
Translate po/terminator.pot in zh_CN
100% translated source file: 'po/terminator.pot'
on 'zh_CN'.
2023-07-21 08:55:44 +00:00
transifex-integration[bot]
7173bb1c38
Translate po/terminator.pot in zh_CN
100% translated source file: 'po/terminator.pot'
on 'zh_CN'.
2023-07-21 08:54:43 +00:00
Julien Dusser
e61fc1ce60 Add command line option --toggle-visibility
Useful for Wayland where global shortcuts are not available. Use window
manager to bind "terminator --toggle-visibilty" to a keyboard shortcut.
2023-07-20 17:38:37 +02:00