summaryrefslogtreecommitdiff
path: root/src/plugin_manager.py
AgeCommit message (Collapse)Author
2014-04-04Remove unused importsmathieui
(thanks eijebong)
2013-08-10Fix potential issues with import pathsmathieui
2013-08-10Fix #2337 (search the themes the same way than plugins)mathieui
- Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer
2013-08-04Add the name of the plugin when loading it failsmathieui
2013-08-01Fix #2049 (get the current completed argument)mathieui
A command argument can now be completed even if it isn’t the last one in the input. - Add a new method Input.new_completion Almost like the old auto_completion method, except taht it takes another argument: argument_position, which is the argument to be completed. - Methods using the old completion method still work - All completion methods in poezio now use the new one if necessary - Further details can be found in the docstring of new_completion
2013-06-19Revert 9eaffe1369f2be177576402f20edcd114a1eaa9d because of 3.1 compatmathieui
2013-06-09Fix the os.makedirs calls so that they don’t traceback for nothingmathieui
2013-05-26Update setup.py to use distutilsmathieui
(use new default directory, install the plugins as a separate python module…)
2013-05-24Fix a traceback (plugin_manager)Florent Le Coz
2013-05-11Reverse the plugin loading pathmathieui
2013-04-16Use importlib for python 3.3 to load pluginsmathieui
(also probably fix the I/O operation on closed file issue when using imp)
2013-03-10Disable plugins on exitmathieui
2013-03-06Introduce a new way for plugins to interact with poeziomathieui
- Try to reduce the use of the “core” object in the plugins - New “api” member for each BasePlugin which is a wrapper around the unique PluginAPI object. (instead of having the methods directly in BasePlugin and then calling the PluginManager) - Documented methods with rst (for sphinx)
2013-03-03Add a plugins_conf_dir optionmathieui
2013-01-18Use the new command scheme in plugins toomathieui
(while staying backwards-compatible)
2012-11-22Revert "Fix #2151 (cannot reload the OTR plugin)"mathieui
Importlib is utterly broken in python < 3.3, So revert for now This reverts commit a1c3d0dcdf0b202cbf861c27b04cb8630b68f89f. Conflicts: src/plugin_manager.py
2012-11-21Hack to make importlib work on python < 3.3mathieui
2012-11-18Fix #2154mathieui
2012-11-18For some reasons, importlib.machinery does not work on some platformsmathieui
2012-11-17Changes to the plugin_dir option are now taken into account on runtimemathieui
2012-11-17Fix #2151 (cannot reload the OTR plugin)mathieui
We were using the deprecated imp methods, now we use importlib
2012-05-21Docstrings, and small cleanupmathieui
2012-04-19Do not quote the plugins on completionmathieui
2012-03-31Do not show the traceback if unloading a plugin failedmathieui
2012-03-28Fixes #2347mathieui
2012-03-09Fix a bug in plugin unloading (commands/keys not deleted properly)mathieui
2011-11-16Use os.path.expanduser to interpret '~' for _dir config optionsmathieui
2011-11-13Add a way for a plugin to add a keybind only for a type of tabmathieui
2011-11-13Allow a plugin to add a keybindingmathieui
2011-11-13Fix add_tab_command (and remove)mathieui
2011-11-10Autoload plugins in session_start instead of core.__init__mathieui
2011-11-10Add per_tab_type commands for the pluginsmathieui
2011-11-09Add messages on plugin load/unloadmathieui
2011-11-09Remove poezio_event_handler to keep only event_handlermathieui
2011-11-07Remove first&last and only use "position" in plugins eventsmathieui
2011-11-06New type of events to be used with the pluginsmathieui
2011-10-02Adds a way to delete the commands without reloading the pluginmathieui
2011-10-01Added a connect() function to the plugins API, for internal eventmathieui
2011-09-27Fix loading already loaded pluginsTodd Eisenberger
2011-09-25[teisenbe] Fix a bug in case of XDG_CONFIG_HOME not setmathieui
2011-09-25Add a config file to the plugins by defaultmathieui
2011-09-24Completion for load and unload commandsFlorent Le Coz
2011-09-24[teisenbe] Use the imp module to import modules.Florent Le Coz
Also add a simple translator module
2011-09-23[teisenbe] first attempt at a plugin system.Florent Le Coz