Log

core/moduleapi.lua @ 4718:a9f6088a83e3

description author age
moduleapi: get_host_type(): Return nil for global modules (no host) Matthew Wild Fri, 27 Apr 2012 18:34:40 +0100
moduleapi: Fix parameters to unhook_object_event() Matthew Wild Thu, 26 Apr 2012 14:51:55 +0100
moduleapi: module:depends(): Don't load shared modules onto the current host if the current host is '*'... Matthew Wild Thu, 26 Apr 2012 07:04:59 +0100
moduleapi: Add module:unhook_object_event() Matthew Wild Thu, 26 Apr 2012 05:39:27 +0100
moduleapi: Add module:add_timer(delay, callback) - automatically halts the timer on module unload Matthew Wild Mon, 23 Apr 2012 15:38:40 +0100
moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already Matthew Wild Mon, 23 Apr 2012 14:15:07 +0100
moduleapi: module:provides(): Add "-provider" onto the key name Matthew Wild Mon, 23 Apr 2012 14:10:04 +0100
moduleapi: module:provides(): Fix usage of wrong table Matthew Wild Mon, 23 Apr 2012 14:09:35 +0100
moduleapi: Have modules internally store a reference to shared tables they use, to ensure they don't get collected while any module that had access to that table is still loaded (thanks Zash) Matthew Wild Sat, 21 Apr 2012 22:52:15 +0100
moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin Matthew Wild Thu, 15 Mar 2012 02:53:05 +0000
moduleapi: Add module:provides(), a shortcut to add an item with the current module's name Matthew Wild Thu, 15 Mar 2012 02:52:31 +0000
moduleapi: Set module.global = true when module:set_global() is called Matthew Wild Wed, 14 Mar 2012 21:33:15 +0000
moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules Matthew Wild Sun, 22 Jan 2012 19:48:53 +0000
moduleapi: Add module:depends(), a way to safely depend upon another module at runtime Matthew Wild Sun, 22 Jan 2012 19:35:50 +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: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild Sun, 22 Jan 2012 18:41:55 +0000