Commit Graph

11 Commits (566fc32a4e01ed5c85f30d09e12bb3a56f7d6081)

Author SHA1 Message Date
Matthew Wild 1e7d11c689 moduleapi: module:depends(): Load shared modules onto the current host even if they are loaded globally already 14 years ago
Matthew Wild f5b0737446 moduleapi: module:provides(): Add "-provider" onto the key name 14 years ago
Matthew Wild 5f18da1e08 moduleapi: module:provides(): Fix usage of wrong table 14 years ago
Matthew Wild e0a85aed90 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) 14 years ago
Matthew Wild a0549526b8 moduleapi: Add module:send() as an alias for core_post_stanza() from the current host's origin 14 years ago
Matthew Wild 4090846d76 moduleapi: Add module:provides(), a shortcut to add an item with the current module's name 14 years ago
Matthew Wild 0b69252502 moduleapi: Set module.global = true when module:set_global() is called 14 years ago
Matthew Wild befc1f6162 moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules 14 years ago
Matthew Wild 94327cb7b2 moduleapi: Add module:depends(), a way to safely depend upon another module at runtime 14 years ago
Matthew Wild f2a5abecac 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. 14 years ago
Matthew Wild 594d90204c modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) 14 years ago