Log

core/modulemanager.lua @ 4767:8c33490b22c3

description author age
modulemanager: Remove unused function imports Matthew Wild 2012-04-28
modulemanager: Remove unused NULL declaration Matthew Wild 2012-04-28
modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps) Matthew Wild 2012-04-27
modulemanager: Set module.environment before calling add_host, otherwise the module will get the parent's environment (thanks xnyhps and Maranda) Matthew Wild 2012-04-27
modulemanager: Set module.loaded = false on unload Matthew Wild 2012-04-23
modulemanager: Report errors that happen when loading a shared module onto its original host Matthew Wild 2012-04-23
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 2012-04-21
modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host Matthew Wild 2012-04-21
modulemanager: Support for shared modules - function module.add_host(host_module) in a global module Matthew Wild 2012-04-21
modulemanager: Make module_has_method and module_call_method use rawget() Matthew Wild 2012-04-21
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") Matthew Wild 2012-04-21
modulemanager: Use api_instance rather than pluginenv.module (same thing) Matthew Wild 2012-04-21
modulemanager: Allow loading a module onto "*" (part-fixes #228) Matthew Wild 2012-04-21
modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever) Matthew Wild 2012-03-14
modulemanager: Use appropriate events object for global modules when firing item-removed on unload Matthew Wild 2012-03-14
modulemanager: include mod_c2s and mod_s2s into autoloaded modules. Florian Zeitz 2012-02-24
modulemanager: load(): Return and use the correct module object Matthew Wild 2012-01-22
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. Matthew Wild 2012-01-22
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 2012-01-22
modulemanager: Drop unnecessary prosody_events local Matthew Wild 2012-01-22
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 2012-01-22
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild 2012-01-22
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) Matthew Wild 2011-12-13
modulemanager: Fix undefined global access in handling of module.save error handling. Waqas Hussain 2011-09-20
modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload. Waqas Hussain 2011-09-17
modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host Matthew Wild 2011-08-29
modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events Matthew Wild 2011-08-14
core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions Kim Alvefur 2011-08-08
modulemanager: Added module.path to the plugin API to let plugins determine their load path. Waqas Hussain 2011-02-20
modulemanager: Fix disabling a module on a single host Paul Aurich 2011-02-02