core/moduleapi.lua
Sat, 27 Apr 2013 19:44:37 +0200 Kim Alvefur moduleapi: in module:provides(), add the name of the module in item._provided_by
Sat, 27 Apr 2013 19:14:22 +0200 Kim Alvefur moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals
Sat, 27 Apr 2013 14:59:00 +0100 Matthew Wild moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set
Sat, 27 Apr 2013 14:57:24 +0100 Matthew Wild moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options.
Fri, 19 Apr 2013 14:42:32 +0200 Kim Alvefur moduleapi: Make module:open_store() open a store named after the calling module by default
Fri, 19 Apr 2013 13:29:47 +0100 Matthew Wild moduleapi: Add module:open_store() as a front-end to storagemanager.open()
Fri, 05 Apr 2013 19:13:46 +0100 Matthew Wild moduleapi: assert() that prosody.core_post_stanza is not nil
Mon, 01 Apr 2013 23:44:28 +0000 Marco Cirillo moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API.
Sat, 23 Mar 2013 02:33:15 +0100 Kim Alvefur core.*: Complete removal of all traces of the "core" section and section-related code.
Sat, 29 Sep 2012 17:07:08 +0100 Matthew Wild moduleapi: Revert previous commit and add comment, it's meant to be this way
Sat, 29 Sep 2012 10:46:03 +0100 Matthew Wild moduleapi: Fix require of modulemanager (thanks mva!)
Fri, 03 Aug 2012 14:07:41 +0100 Matthew Wild moduleapi: Clarify comment
Mon, 30 Jul 2012 00:40:02 +0100 Matthew Wild moduleapi: If path name ends with '-cache' create table as weak (keys and values)
Sat, 28 Jul 2012 01:14:31 +0100 Matthew Wild Merge with Florob
Fri, 08 Jun 2012 05:04:38 +0200 Florian Zeitz Eliminate direct setfenv usage
Thu, 19 Jul 2012 15:35:07 +0100 Matthew Wild moduleapi: Remove unused import of util.multitable
Sat, 19 May 2012 15:39:16 +0100 Matthew Wild modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash)
Fri, 18 May 2012 23:53:02 +0100 Matthew Wild moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash)
Fri, 11 May 2012 18:55:23 +0100 Matthew Wild moduleapi: Don't auto-reload self when already reloading (fixes reload of modules with cyclic dependencies)
Sat, 28 Apr 2012 19:41:04 +0100 Matthew Wild moduleapi: Add module:get_directory() to get module file's directory, and module:load_resource() to load a file relative to that directory
Sat, 28 Apr 2012 02:40:36 +0100 Matthew Wild moduleapi: Import util.timer
Sat, 28 Apr 2012 02:24:41 +0100 Matthew Wild moduleapi: Remove unused variable 'module_items'
Fri, 27 Apr 2012 18:35:33 +0100 Matthew Wild moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza works for compat)
Fri, 27 Apr 2012 18:34:40 +0100 Matthew Wild moduleapi: get_host_type(): Return nil for global modules (no host)
Thu, 26 Apr 2012 14:51:55 +0100 Matthew Wild moduleapi: Fix parameters to unhook_object_event()
Thu, 26 Apr 2012 07:04:59 +0100 Matthew Wild moduleapi: module:depends(): Don't load shared modules onto the current host if the current host is '*'...
Thu, 26 Apr 2012 05:39:27 +0100 Matthew Wild moduleapi: Add module:unhook_object_event()
Mon, 23 Apr 2012 15:38:40 +0100 Matthew Wild moduleapi: Add module:add_timer(delay, callback) - automatically halts the timer on module unload
Mon, 23 Apr 2012 14:15:07 +0100 Matthew Wild moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already
Mon, 23 Apr 2012 14:10:04 +0100 Matthew Wild moduleapi: module:provides(): Add "-provider" onto the key name
Mon, 23 Apr 2012 14:09:35 +0100 Matthew Wild moduleapi: module:provides(): Fix usage of wrong table
Sat, 21 Apr 2012 22:52:15 +0100 Matthew Wild 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)
Thu, 15 Mar 2012 02:53:05 +0000 Matthew Wild moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin
Thu, 15 Mar 2012 02:52:31 +0000 Matthew Wild moduleapi: Add module:provides(), a shortcut to add an item with the current module's name
Wed, 14 Mar 2012 21:33:15 +0000 Matthew Wild moduleapi: Set module.global = true when module:set_global() is called
Sun, 22 Jan 2012 19:48:53 +0000 Matthew Wild moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules
Sun, 22 Jan 2012 19:35:50 +0000 Matthew Wild moduleapi: Add module:depends(), a way to safely depend upon another module at runtime
Sun, 22 Jan 2012 18:49:11 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:41:55 +0000 Matthew Wild modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
less more (0) tip