Commit Graph

25 Commits

Author SHA1 Message Date
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