Log

core/moduleapi.lua @ 4839:4905aed00382

description author age
moduleapi: Add module:get_directory() to get module file's directory, and module:load_resource() to load a file relative to that directory Matthew Wild Sat, 28 Apr 2012 19:41:04 +0100
moduleapi: Import util.timer Matthew Wild Sat, 28 Apr 2012 02:40:36 +0100
moduleapi: Remove unused variable 'module_items' Matthew Wild Sat, 28 Apr 2012 02:24:41 +0100
moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza works for compat) Matthew Wild Fri, 27 Apr 2012 18:35:33 +0100
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