Log

util/timer.lua @ 5209:f5d121846d53

description author age
util.timer: Always pass the current time to timer callbacks. Waqas Hussain 2012-05-12
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani) Matthew Wild 2012-05-03
net.server, net.timer, net.server_select: Rearrange dependencies between these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani) Matthew Wild 2012-05-03
util.timer: Remove unused function imports Matthew Wild 2012-04-28
util.timer: Variable name change (func -> callback) Matthew Wild 2011-11-03
util.timer: Fix corner case of timer not repeating if it returns <= 0 Matthew Wild 2011-09-22
util.timer: Activate higher timer precision. Waqas Hussain 2010-12-02
util.timer: When using libevent hold onto the event handle to stop it being collected (and the timer stopping). Fixes BOSH ghosts, thanks Flo, niekie, waqas. Matthew Wild 2010-04-07
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash) Matthew Wild 2009-12-17
util.timer: Fix libevent timers (event.base doesn't exist...) Matthew Wild 2009-11-21
util.timer: Use libevent for lightweight timers if available and configured (use_libevent option) Matthew Wild 2009-11-21
util.timer: Pass current_time to timer callbacks Matthew Wild 2009-10-03
Remove version number from copyright headers Matthew Wild 2009-07-10
0.3->0.4 Matthew Wild 2009-03-20
util.timer: More small fixes I forgot to commit Matthew Wild 2009-02-26
util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when multiple set, and one removed Matthew Wild 2009-02-26
Added util/timer.lua - a timer API Waqas Hussain 2009-02-20