modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash)
|
Matthew Wild |
Sat, 19 May 2012 15:39:16 +0100 |
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash)
|
Matthew Wild |
Fri, 18 May 2012 23:53:02 +0100 |
modulemanager: Components should inherit mod_s2s from global modules_enabled too
|
Matthew Wild |
Wed, 16 May 2012 20:30:53 +0100 |
modulemanager: Set module.reloading = true when firing module-reloaded event
|
Matthew Wild |
Fri, 11 May 2012 18:54:17 +0100 |
modulemanager: Pass the module's final host (e.g. '*') to the module-loaded event
|
Matthew Wild |
Mon, 30 Apr 2012 00:52:43 +0100 |
modulemanager: Hide deprecation warning for modules loaded on '*' directly (e.g. prosodyctl mod_<command>) (thanks Zash)
|
Matthew Wild |
Sun, 29 Apr 2012 19:36:11 +0100 |
modulemanager: Fixes to handle circular dependencies in module:depends()
|
Matthew Wild |
Sat, 28 Apr 2012 15:47:43 +0100 |
modulemanager: Remove unused function imports
|
Matthew Wild |
Sat, 28 Apr 2012 02:22:42 +0100 |
modulemanager: Remove unused NULL declaration
|
Matthew Wild |
Sat, 28 Apr 2012 02:18:17 +0100 |
modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps)
|
Matthew Wild |
Fri, 27 Apr 2012 22:36:35 +0100 |
modulemanager: Set module.environment before calling add_host, otherwise the module will get the parent's environment (thanks xnyhps and Maranda)
|
Matthew Wild |
Fri, 27 Apr 2012 21:37:45 +0100 |
modulemanager: Set module.loaded = false on unload
|
Matthew Wild |
Mon, 23 Apr 2012 15:38:36 +0100 |
modulemanager: Report errors that happen when loading a shared module onto its original host
|
Matthew Wild |
Mon, 23 Apr 2012 14:11:10 +0100 |
modulemanager: For children of shared modules, set module.environment to the empty environment for that module (useful to expose data or APIs at host.modules[module])
|
Matthew Wild |
Sat, 21 Apr 2012 22:53:22 +0100 |
modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host
|
Matthew Wild |
Sat, 21 Apr 2012 20:37:06 +0100 |
modulemanager: Support for shared modules - function module.add_host(host_module) in a global module
|
Matthew Wild |
Sat, 21 Apr 2012 20:09:03 +0100 |
modulemanager: Make module_has_method and module_call_method use rawget()
|
Matthew Wild |
Sat, 21 Apr 2012 20:04:07 +0100 |
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
|
Matthew Wild |
Sat, 21 Apr 2012 20:02:45 +0100 |
modulemanager: Use api_instance rather than pluginenv.module (same thing)
|
Matthew Wild |
Sat, 21 Apr 2012 20:01:40 +0100 |
modulemanager: Allow loading a module onto "*" (part-fixes #228)
|
Matthew Wild |
Sat, 21 Apr 2012 20:00:30 +0100 |
modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever)
|
Matthew Wild |
Wed, 14 Mar 2012 21:37:00 +0000 |
modulemanager: Use appropriate events object for global modules when firing item-removed on unload
|
Matthew Wild |
Wed, 14 Mar 2012 17:03:48 +0000 |
modulemanager: include mod_c2s and mod_s2s into autoloaded modules.
|
Florian Zeitz |
Fri, 24 Feb 2012 15:14:07 +0000 |
modulemanager: load(): Return and use the correct module object
|
Matthew Wild |
Sun, 22 Jan 2012 19:27:06 +0000 |
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
|
Matthew Wild |
Sun, 22 Jan 2012 18:49:49 +0000 |
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
|
Matthew Wild |
Sun, 22 Jan 2012 18:49:11 +0000 |
modulemanager: Drop unnecessary prosody_events local
|
Matthew Wild |
Sun, 22 Jan 2012 18:47:33 +0000 |
modulemanager: Some reorganisation. Only external change is (should be) that module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead.
|
Matthew Wild |
Sun, 22 Jan 2012 18:46:17 +0000 |
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
|
Matthew Wild |
Sun, 22 Jan 2012 18:41:55 +0000 |
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of)
|
Matthew Wild |
Tue, 13 Dec 2011 13:34:21 +0000 |