util.timer: Import all require upvalues.
|
Waqas Hussain |
Wed, 30 Oct 2013 17:58:17 -0400 |
util.timer: Fix another variable name typo (thanks again zash).
|
Waqas Hussain |
Wed, 30 Oct 2013 17:56:00 -0400 |
util.timer: Fix variable name typo.
|
Waqas Hussain |
Wed, 30 Oct 2013 17:51:37 -0400 |
util.timer: Updated to use util.indexedbheap to provide a more complete API. Timers can now be stopped or rescheduled. Callbacks are now pcall'd. Adding/removing timers from within timer callbacks works better. Optional parameter can be passed when creating timer which gets passed to callback, eliminating the need for closures in various timer uses. Timers are now much more lightweight.
|
Waqas Hussain |
Wed, 30 Oct 2013 17:44:42 -0400 |
Remove all trailing whitespace
|
Florian Zeitz |
Fri, 09 Aug 2013 17:48:21 +0200 |
util.timer: Always pass the current time to timer callbacks.
|
Waqas Hussain |
Sat, 12 May 2012 21:46:54 +0500 |
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)
|
Matthew Wild |
Thu, 03 May 2012 18:59:06 +0100 |
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 |
Thu, 03 May 2012 16:48:34 +0100 |
util.timer: Remove unused function imports
|
Matthew Wild |
Sat, 28 Apr 2012 02:41:53 +0100 |
util.timer: Variable name change (func -> callback)
|
Matthew Wild |
Thu, 03 Nov 2011 12:47:52 +0000 |
util.timer: Fix corner case of timer not repeating if it returns <= 0
|
Matthew Wild |
Thu, 22 Sep 2011 15:48:56 +0100 |
util.timer: Activate higher timer precision.
|
Waqas Hussain |
Thu, 02 Dec 2010 22:41:26 +0500 |
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 |
Wed, 07 Apr 2010 21:00:20 +0100 |
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.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash)
|
Matthew Wild |
Thu, 17 Dec 2009 16:52:39 +0000 |
util.timer: Fix libevent timers (event.base doesn't exist...)
|
Matthew Wild |
Sat, 21 Nov 2009 03:16:14 +0000 |
util.timer: Use libevent for lightweight timers if available and configured (use_libevent option)
|
Matthew Wild |
Sat, 21 Nov 2009 02:40:21 +0000 |
util.timer: Pass current_time to timer callbacks
|
Matthew Wild |
Sat, 03 Oct 2009 02:33:33 +0100 |
Remove version number from copyright headers
|
Matthew Wild |
Fri, 10 Jul 2009 03:11:45 +0100 |
0.3->0.4
|
Matthew Wild |
Fri, 20 Mar 2009 20:16:25 +0000 |
util.timer: More small fixes I forgot to commit
|
Matthew Wild |
Thu, 26 Feb 2009 22:17:55 +0000 |
util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when multiple set, and one removed
|
Matthew Wild |
Thu, 26 Feb 2009 21:00:42 +0000 |
Added util/timer.lua - a timer API
|
Waqas Hussain |
Sat, 21 Feb 2009 01:13:53 +0500 |