Sun, 08 Jul 2018 00:37:01 +0200 |
Kim Alvefur |
util.{async,timer}: Move sleep() to reduce dependencies of util.timer
|
file |
diff |
annotate
|
Sun, 29 Apr 2018 21:43:39 +0100 |
Matthew Wild |
util.timer: Ensure we don't try to schedule negative timeouts (which rightly upset libevent). Fixes #1135
|
file |
diff |
annotate
|
Fri, 23 Mar 2018 21:18:15 +0100 |
Kim Alvefur |
util.timer: Move sleep() here from util.async
|
file |
diff |
annotate
|
Wed, 28 Feb 2018 20:06:26 +0100 |
Kim Alvefur |
vairious: Add annotation when an empty environment is set [luacheck]
|
file |
diff |
annotate
|
Mon, 20 Mar 2017 03:11:27 +0100 |
Kim Alvefur |
Merge 0.10->trunk
|
file |
diff |
annotate
|
Mon, 20 Mar 2017 00:48:28 +0100 |
Kim Alvefur |
util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time
|
file |
diff |
annotate
|
Wed, 23 Dec 2015 11:43:39 +0100 |
Kim Alvefur |
util.timer: Reschedule timers from stop() if the next pending event is stopped
|
file |
diff |
annotate
|
Sun, 22 Nov 2015 17:25:44 +0100 |
Kim Alvefur |
util.timer: If possible, close the existing timer handle in order to have only one
|
file |
diff |
annotate
|
Sun, 22 Nov 2015 17:20:20 +0100 |
Kim Alvefur |
util.timer: Expire timer instance if another instance is already set to take care of the next scheduled event
|
file |
diff |
annotate
|
Sun, 22 Nov 2015 17:18:29 +0100 |
Kim Alvefur |
util.timer: Keep count of how many timer instances are active
|
file |
diff |
annotate
|
Fri, 18 Sep 2015 16:08:35 +0200 |
Kim Alvefur |
util.timer: Fix indentation
|
file |
diff |
annotate
|
Thu, 20 Aug 2015 13:05:22 +0200 |
Kim Alvefur |
Merge 0.10->trunk
|
file |
diff |
annotate
|
Sat, 21 Feb 2015 10:36:37 +0100 |
Kim Alvefur |
util.*: Remove use of module() function, make all module functions local and return them in a table at the end
|
file |
diff |
annotate
|
Mon, 20 Oct 2014 16:13:24 -0400 |
daurnimator |
Move timer code out of util.timer and into relevant net.server backends
|
file |
diff |
annotate
|
Wed, 06 Nov 2013 12:56:18 -0500 |
daurnimator |
util/timer: Re-set params when timer is rescheduled
|
file |
diff |
annotate
|
Wed, 30 Oct 2013 17:58:17 -0400 |
Waqas Hussain |
util.timer: Import all require upvalues.
|
file |
diff |
annotate
|
Wed, 30 Oct 2013 17:56:00 -0400 |
Waqas Hussain |
util.timer: Fix another variable name typo (thanks again zash).
|
file |
diff |
annotate
|
Wed, 30 Oct 2013 17:51:37 -0400 |
Waqas Hussain |
util.timer: Fix variable name typo.
|
file |
diff |
annotate
|
Wed, 30 Oct 2013 17:44:42 -0400 |
Waqas Hussain |
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.
|
file |
diff |
annotate
|
Fri, 09 Aug 2013 17:48:21 +0200 |
Florian Zeitz |
Remove all trailing whitespace
|
file |
diff |
annotate
|
Sat, 12 May 2012 21:46:54 +0500 |
Waqas Hussain |
util.timer: Always pass the current time to timer callbacks.
|
file |
diff |
annotate
|
Thu, 03 May 2012 18:59:06 +0100 |
Matthew Wild |
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)
|
file |
diff |
annotate
|
Thu, 03 May 2012 16:48:34 +0100 |
Matthew Wild |
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)
|
file |
diff |
annotate
|
Sat, 28 Apr 2012 02:41:53 +0100 |
Matthew Wild |
util.timer: Remove unused function imports
|
file |
diff |
annotate
|
Thu, 03 Nov 2011 12:47:52 +0000 |
Matthew Wild |
util.timer: Variable name change (func -> callback)
|
file |
diff |
annotate
|
Thu, 22 Sep 2011 15:48:56 +0100 |
Matthew Wild |
util.timer: Fix corner case of timer not repeating if it returns <= 0
|
file |
diff |
annotate
|
Thu, 02 Dec 2010 22:41:26 +0500 |
Waqas Hussain |
util.timer: Activate higher timer precision.
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 21:00:20 +0100 |
Matthew Wild |
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.
|
file |
diff |
annotate
|
Mon, 22 Mar 2010 17:24:55 +0000 |
Matthew Wild |
Merge 0.6->0.7
|
file |
diff |
annotate
|
Mon, 22 Mar 2010 17:06:15 +0000 |
Matthew Wild |
Update copyright headers for 2010
|
file |
diff |
annotate
|
Thu, 17 Dec 2009 16:52:39 +0000 |
Matthew Wild |
util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash)
|
file |
diff |
annotate
|
Sat, 21 Nov 2009 03:16:14 +0000 |
Matthew Wild |
util.timer: Fix libevent timers (event.base doesn't exist...)
|
file |
diff |
annotate
|
Sat, 21 Nov 2009 02:40:21 +0000 |
Matthew Wild |
util.timer: Use libevent for lightweight timers if available and configured (use_libevent option)
|
file |
diff |
annotate
|
Sat, 03 Oct 2009 02:33:33 +0100 |
Matthew Wild |
util.timer: Pass current_time to timer callbacks
|
file |
diff |
annotate
|
Fri, 10 Jul 2009 03:11:45 +0100 |
Matthew Wild |
Remove version number from copyright headers
|
file |
diff |
annotate
|
Fri, 20 Mar 2009 20:16:25 +0000 |
Matthew Wild |
0.3->0.4
|
file |
diff |
annotate
|
Thu, 26 Feb 2009 22:17:55 +0000 |
Matthew Wild |
util.timer: More small fixes I forgot to commit
|
file |
diff |
annotate
|
Thu, 26 Feb 2009 21:00:42 +0000 |
Matthew Wild |
util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when multiple set, and one removed
|
file |
diff |
annotate
|
Sat, 21 Feb 2009 01:13:53 +0500 |
Waqas Hussain |
Added util/timer.lua - a timer API
|
file |
diff |
annotate
|