Log

util/events.lua @ 6641:b44ebfe81c73

description author age
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
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively Matthew Wild Thu, 31 Dec 2009 02:39:40 +0000
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
util.events: Convert from Windows line endings Matthew Wild Thu, 09 Jul 2009 22:57:32 +0100
util.events: Replaced ipairs with slightly faster numeric for loop - #optimization Waqas Hussain Fri, 26 Jun 2009 08:52:26 +0500
util.events: Dispatch code now accepts a variable number of arguments Waqas Hussain Sun, 17 May 2009 04:50:32 +0500
util.events: Much more efficient index building Waqas Hussain Sun, 17 May 2009 02:06:35 +0500
util.events: handler priorities Waqas Hussain Sat, 16 May 2009 15:56:45 +0500
util.events: event handlers can now return a result, which also interrupts further handling of the event Waqas Hussain Fri, 15 May 2009 06:23:55 +0500
Added: util/events.lua: An event handling library Waqas Hussain Mon, 30 Mar 2009 03:58:59 +0500