ae5f4f1719
Basic TWW support. Don't crash on login.
2024-06-18 23:09:17 -07:00
4ff974168b
Prep for WoW 9.1
2021-06-28 12:57:45 -05:00
2e1214e617
Check method exists before calling it
...
This can happen when a post-CustomClassColors version replaces a
pre-CustomClassColors version.
Fixes #5
2021-04-25 13:37:13 -05:00
0f8ce166e4
Add support for ClassColors mods ( #4 )
...
Fixes #3
2021-04-10 08:56:15 -05:00
c728fe6188
Drastically improve performance by not registering for WoW events that nothing is listening for. ( #1 )
2021-03-21 11:28:04 -05:00
8aae0f894f
Switched to file-date-integer and increased dev version number
2016-05-27 00:21:06 -05:00
c1f15193c6
Replaced SVN keyword substitution
2016-05-26 17:51:22 -05:00
07d77ec9e6
- Recommended change from Cybeloras (thanks!)
2014-05-10 00:53:19 +00:00
87c8e17cc4
- Submitted Cybeloras's fix for "script ran too long" errors. (ticket #23 )
2013-08-05 19:55:31 +00:00
08d9ce4883
Extended a fix that I did a while ago that solved an issue with events not recognizing & matching number arguments to strings of tags with more than one arg checker.
2012-08-26 11:14:22 +00:00
404e83ab61
Fixed some missing upvalues, fixed an error being caused when no kwargs were included with AddFontString
2012-07-27 03:58:19 +00:00
59d651e5ed
Implemented a much more efficient workaround for the kwargsToKwargTypes caching issue.
2012-07-04 22:12:21 +00:00
2617c8cb18
More efficient timer stuff
2012-07-01 07:28:36 +00:00
39d96311da
Fixed the UpdateFontString throttling (broke in 4.3 i think)
...
Events fired with number arguments should now properly match up with tags whose kwargs are defined explicitly in the tag itself.
For example: Tag "Tag" implemented as "[Tag(1, 2)]" with kwargs "arg1" and "arg2" and event handler "EVENT#$arg1#$arg2" should now be properly updated by calling "DogTag:FireEvent("EVENT", 1, 2)". Previously it would only be updated by calling "DogTag:FireEvent("EVENT", tostring(1), tostring(2))"
2012-04-03 06:47:42 +00:00
611d0086e7
Added upvalues
2012-04-03 03:26:51 +00:00
8fa898b845
fix a small memory leak
2009-05-03 19:33:54 +00:00
b539d77699
Small bugfix
2008-10-27 00:14:04 +00:00
c741f93841
WoWAce Post-Processing: Virtually inflate Library Revision numbers for proper upgrade path
2008-10-09 21:52:31 +00:00
cf8a42cd46
- Change the titration time to 1/1000 of a second instead of 1/300 of a second.
2008-07-14 14:25:10 +00:00
5e38e94c1e
- Change the lazy fontstring updating a bit to be a bit more efficient.
2008-06-19 02:01:46 +00:00
2b6f0a190d
- Make fontstring updates somewhat lazy. Don't allow more than 1/300 of a second to be used per-frame.
...
In most situations, this will have absolutely no effect, but this will mostly affect situations where absolutely every fontstring issues an update request, at which point it may take multiple frames to update all your data, but it won't freeze things anymore (hopefully).
2008-06-16 21:28:13 +00:00
2a26b25269
- fix hasEvent to check callbacks
2008-04-05 04:49:07 +00:00
e049b7e77c
- make sure not to clean out the codes of something that has a callback still on it.
...
- don't clear out codes in combat
2008-04-05 03:49:26 +00:00
f087ac4533
- bugfix to callbacks being called more than once
...
- add the ability to supply an extra argument for callbacks
2008-04-04 04:49:15 +00:00
c31174856e
- change callback system internals.
2008-04-04 04:38:14 +00:00
f689d00ec9
- change API so that specifying multiple namespaces is done by a single string separated by semicolons rather than a tuple of strings.
2008-04-04 03:38:58 +00:00
64157d0d19
- every 15 seconds, look for dead functions (i.e. functions not manually evaluated in the last 180 seconds and not registered to any fontstrings) and nil them. This is especially noticeable when you're using the sandbox which creates functions every time a character is pressed.
2008-03-30 05:14:41 +00:00
a21e68c905
- add Autodoc documentation
2008-03-30 00:13:47 +00:00
93882671d0
- fix issue where an event that takes multiple args is used multiple times in one tag sequence, e.g. [HasAura("Blessing of Freedom") or HasAura("Blessing of Protection")]
2008-03-29 00:25:41 +00:00
9bfdf6cfca
- clear codes after adding a tag.
...
- wait 1 frame after the request to clear codes.
2008-03-28 22:02:56 +00:00
9536ce48a9
- make upgrading a lot cleaner and don't horribly break.
2008-03-28 21:15:39 +00:00
03a441a720
- fix an issue with string to number forcing.
...
- add in tests for upgrading, not done yet.
2008-03-28 18:36:13 +00:00
5ecabf2058
- possibly fix a bug with event handling
2008-03-25 20:25:26 +00:00
2e3f0096e6
- add ability to register for events with multiple arguments.
2008-03-23 00:02:54 +00:00
2f2cbb6c2a
- add some helper functions for sublibraries
2008-03-22 16:31:45 +00:00
6de8c35d1c
- add "boolean" type to work with, so tags can specify it as a return or an argument. Will work as expected in most cases. If you specify boolean as a return and return something like nil/1, it will automatically convert to false/true. When showing as a string, it will automatically convert to ''/"True".
...
- add "list-boolean" tuple type.
- make operators "if", "and", "or", and "not" handle booleans cleanly.
- make tags which returned/expected "True"/nil before now use boolean types.
- add priority to :AddTimerHandler, defaults to 5.
2008-03-16 06:49:09 +00:00
0eb7018585
- change the way Update and SlowUpdate run
2008-03-16 01:08:00 +00:00
a6e32851d8
- Add :AddTimerHandler(func) and :RemoveTimerHandler(func)
...
- add fake events FastUpdate (every 0.05 seconds), Update (every 0.15 seconds), and SlowUpdate (every 10 seconds)
2008-03-16 00:43:10 +00:00
07eb50eb7c
- add :AddEventHandler(event, func) :RemoveEventHandler(event, func), and :FireEvent(event, ...), for modules to use.
2008-03-16 00:07:39 +00:00
410726a233
- support a single event multiple times (with different args) on a single tag. Good for MODIFIER_STATE_CHANGED#LALT;MODIFIER_STATE_CHANGED#RALT, which will only register if either of those are arg1, so it won't react to LSHIFT et al.
...
- update Alt, Shift, and Ctrl tags.
- add optimization to Compiler, as well as fixing an error message.
2008-03-15 17:36:49 +00:00
c7b78380ca
- move the code clearing function from Compiler to Helpers, as it does more than just clear the compiled data, and it is used by more than that file.
...
- when an event is fired, check to see if the DogTag namespace can react to that event.
- Add :AddAddonFinder("namespace", "kind", "name", func)
2008-03-15 16:28:54 +00:00
4af35669d9
- remove a lot of unneeded localization data.
...
- make the library creation process a bit simpler
2008-03-14 01:02:58 +00:00
571e31697f
- add some more base tags
...
- some minimal touchups
2008-03-09 16:19:24 +00:00
cafd2efa0c
- assorted refactoring and renaming
...
- random optimizations
- add tags to Math.lua and add TextManip.lua
- add fake global system
- update lib.xml
- fix negative handling by the parser.
2008-03-09 03:08:50 +00:00
0aeeafe5df
- some file cleanup, move general helper functions into Helpers.lua
...
- add basic event support, currently only callbacks work, no FontStrings yet.
- allow tag.events to be a function
- allow events to specify the argument to look at, and that argument can even be dynamic instead of a literal.
2008-03-08 22:40:45 +00:00