Log

util/events.lua @ 12245:dfa3cac981bc

description author age
util.events: Add set_debug_hook() method Matthew Wild 2020-09-03
Merge 0.10->trunk Matthew Wild 2018-04-24
util.events: Fix loop construct (negative step required) Matthew Wild 2018-04-24
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
util: Various minor changes to please [luacheck] Kim Alvefur 2017-11-10
util.events: Fix comparison of event_name with nil instead of false (fixes #554) Matthew Wild 2016-05-12
util.events: Document data structures Matthew Wild 2015-12-23
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
Merge Matthew Wild 2015-05-06
util.events: Add get_handlers() method Matthew Wild 2015-05-06
util.events: Add local reference to table.remove (fixes traceback) Kim Alvefur 2015-05-04
util.events: Change from nil to false to indicate adding a global wrapper Matthew Wild 2015-04-28
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 2015-04-28
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.events: Remove varargs, event handlers can now only accept a single parameter Matthew Wild 2013-07-15
util.events: Remove an event's table when it has no more handlers. Waqas Hussain 2010-12-18
util.events: Event handler indices are now built lazily (faster server startup for large number of hosts). Waqas Hussain 2010-09-19
util.events: Create new index on handler change instead of modifying existing one (this makes util.events fully reentrant). Waqas Hussain 2010-09-16
util.events: Fixed the exposed API for adding/removing sets of event handlers. Waqas Hussain 2010-09-16
util.events: Removed dispatcher creation functions (these weren't being used). Waqas Hussain 2010-09-16
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively Matthew Wild 2009-12-31
Add copyright header to those files missing one Matthew Wild 2009-07-10
util.events: Convert from Windows line endings Matthew Wild 2009-07-09
util.events: Replaced ipairs with slightly faster numeric for loop - #optimization Waqas Hussain 2009-06-26
util.events: Dispatch code now accepts a variable number of arguments Waqas Hussain 2009-05-16
util.events: Much more efficient index building Waqas Hussain 2009-05-16
util.events: handler priorities Waqas Hussain 2009-05-16
util.events: event handlers can now return a result, which also interrupts further handling of the event Waqas Hussain 2009-05-15
Added: util/events.lua: An event handling library Waqas Hussain 2009-03-29