Log

core/moduleapi.lua @ 4896:27cda15104f2

description author age
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
moduleapi: Don't auto-reload self when already reloading (fixes reload of modules with cyclic dependencies) Matthew Wild Fri, 11 May 2012 18:55:23 +0100
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