Commit Graph

31 Commits

Author SHA1 Message Date
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
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Jean-Sebastien Trottier 352fdfe279 URLHandler.unload: Fix check for handler_name being set 2020-11-18 20:24:42 -05:00
Markus Frosch e4cd22b7bd tests: Update suite for pytest 2020-05-09 10:24:20 +02:00
Markus Frosch 23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +02:00
Emilio Pozuelo Monfort a3a67385fd Adopt patch "python3" from Debian
https://bugs.launchpad.net/terminator/+bug/1662544
2020-04-05 14:07:13 +02:00
Stephen Boddy da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy 0e2f170032 Fix warning trying to import the __init__.py file as a plugin 2015-11-28 18:58:47 +01:00
Chris Jones cd5c4c1056 Allow plugins to override the open/copy menu items in the terminal context menu. Also set these values for all of the default plugins. When copying a URL, run it through the URL preparer - this means wusers will get the resulting URI on their clipboard, rather than the original text sometimes and the URI some other times, depending on the type of URI 2012-01-14 20:09:25 +00:00
Chris Jones b13d7fc43c Remove a spurious print 2010-06-23 07:30:59 +01:00
Chris Jones 45a9c26cf2 Switch the plugin prefs pane back to live loading/unloading of plugins without silly compromises 2010-06-23 00:48:06 +01:00
Chris Jones 51fe811b85 Add a method for determining if a plugin is permanent - i.e. if it cannot be unloaded 2010-06-20 23:56:11 +01:00
Chris Jones 80289911f1 Some plugins can't ever be disabled. Detect and obey 2010-06-20 22:56:19 +01:00
Chris Jones c649da9949 Partially populate the Plugin tab in the prefs UI so plugins can be enabled and disabled 2010-06-20 22:41:55 +01:00
Chris Jones 69e4ae1875 Switch plugins from being enabled by default to being disabled by default. An annoying change to have to make, but since almost nobody is using them yet, hopefully nobody will notice 2010-06-18 13:07:02 +01:00
Chris Jones 6dce92b1a0 Make pylint happier with plugins 2010-06-10 16:56:17 +01:00
Chris Jones 41897508e1 pylint cleaning 2010-01-22 19:08:12 +00:00
Chris Jones 949dc81574 Clear up some import errors found by pyflakes 2010-01-11 20:03:54 +00:00
Chris Jones 68ade515eb Add support for disabling modules and add CustomCommandsMenu and TestPlugin to it 2010-01-06 00:27:58 +00:00
Chris Jones 0b5cf876ba Move the base plugin classes to plugin.py for cleaner importing in additional plugins 2010-01-05 22:22:13 +00:00
Chris Jones 8141a3496d call sys.exit() with doctest failure results 2009-12-30 11:26:22 +00:00
Chris Jones a13581a4c8 Handle exceptions in a way that doesn't make python 2.5 really angry 2009-12-30 01:50:47 +00:00
Chris Jones 60a1b085b4 Add a utility function for finding ~/.config/terminator and use it in PLuginRegistry to load plugins from the user's homedir 2009-12-24 21:35:07 +00:00
Chris Jones 9ce380ef90 port to new borg __init__() 2009-12-22 00:25:25 +00:00
Chris Jones a6a1acd26d Clear up the position re licencing of the two external sources of code in our refactoring 2009-12-19 15:07:22 +00:00
Chris Jones 48e8637ca5 Add a FIXME 2009-12-18 09:24:23 +00:00
Chris Jones 603da6ec16 Since PluginRegistry is a borg we can easily track if we have been loaded before and if so, not load plugins again. 2009-12-17 23:16:42 +00:00
Chris Jones 01bb454d90 stop (ab)using __subclasses__ isntead interrogating the imported plugin modules for a predefined list of the plugin classes they contain, and always instantiate them when they are imported. Add a test plugin only useful for doctest 2009-12-17 13:51:55 +00:00
Chris Jones 6088084fdf handle import failures and add some very borked doctesting 2009-12-17 12:54:42 +00:00
Chris Jones 2660d0795f Add a first run at a plugin system 2009-12-17 01:07:01 +00:00