Log

util/events.lua @ 7696:1c410b4f3a58

description author age
util.events: Fix comparison of event_name with nil instead of false (fixes #554) Matthew Wild Thu, 12 May 2016 18:45:30 +0100
util.events: Document data structures Matthew Wild Wed, 23 Dec 2015 11:17:26 +0000
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
Merge Matthew Wild Wed, 06 May 2015 19:21:29 +0100
util.events: Add get_handlers() method Matthew Wild Wed, 06 May 2015 19:21:18 +0100
util.events: Add local reference to table.remove (fixes traceback) Kim Alvefur Tue, 05 May 2015 00:41:39 +0200
util.events: Change from nil to false to indicate adding a global wrapper Matthew Wild Tue, 28 Apr 2015 14:19:28 +0100
util.events: Add support for event wrappers, functions which can wrap the calling of event handlers to run code before/after an event (for debugging, statistics, logging purposes, etc.) Matthew Wild Tue, 28 Apr 2015 13:42:59 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.events: Remove varargs, event handlers can now only accept a single parameter Matthew Wild Mon, 15 Jul 2013 12:15:51 +0100
util.events: Remove an event's table when it has no more handlers. Waqas Hussain Sun, 19 Dec 2010 00:53:19 +0500
util.events: Event handler indices are now built lazily (faster server startup for large number of hosts). Waqas Hussain Sun, 19 Sep 2010 17:51:00 +0500
util.events: Create new index on handler change instead of modifying existing one (this makes util.events fully reentrant). Waqas Hussain Fri, 17 Sep 2010 04:09:59 +0500
util.events: Fixed the exposed API for adding/removing sets of event handlers. Waqas Hussain Fri, 17 Sep 2010 04:09:58 +0500
util.events: Removed dispatcher creation functions (these weren't being used). Waqas Hussain Fri, 17 Sep 2010 04:09:58 +0500