LibShefkiTimer-1.0

Change log

tag 1.0.0
6e1c9127662c347688c42b39faf97e173f006168
Shefki <shefki@shefki.org>
2010-10-14 23:53:42 -0700

Tagging as 1.0.0, people have been using it in production for ages.

--------------------

Shefki:
    - TOC Bump for 4.0.1
    - Fix for 4.0.1, you can only Stop() or Play() Animations from the AnimationGroup.
    Doing so from the Animation simply fails silently.
    - Bump minor.
    - Avoid a bug with animation objects being put in timerCache too early.
    We must wait until the animation object's callbacks are finished before
    it can be used.  So if CancelTimer() is called within a callback
    followed by a ScheduleTimer() the same animation object is not reused.
    
    I.E. allows this sort of use:
    local ST = LibStub("LibShefkiTimer-1.0")
    local handle
    handle = ST:ScheduleTimer(function() ST:CancelTimer(handle,true)
    ST:ScheduleTimer(function() print("hello") end,1) end, 1)
    - Support zero length delays.
    - Fix indentation and trailing spaces.
    - Switch to using the Animation object as the primary object.
    No point in creating 3 tables (AnimationGroup, Animation, timer) when
    we can get by with 2.
    
    Also do the calculation for the acceptable elapsed duration in the
    creation and use it as the repeat flag.  Saves a multplication on every
    timer call and reduces 2 table lookups to one.
    - Fix a typo that broke TimeLeft().
    - Add throttling for repeating timers.
    When the client is busy the animation system will still call the
    OnFinished function the same number of times as though it had a delay.
    This is different behavior from AceTimer where if more time has elapsed
    than should have since the last fire only one fire will happen.
    - Add tconcat upvalue I missed putting in when I put safecall in.
    - Add .docmeta file.
    - Initial commit

Facts

Uploaded on
Oct 15, 2010
Game version
  • 4.0.1
Filename
LibShefkiTimer-1.0-1.0.0.zip
Size
6.8 KiB
MD5
94f9bc719f1b69c24acc522b3a75117f
Type
Release
Status
Normal
Downloads
442

Authors