56 Commits

Author SHA1 Message Date
1776c21ee7 fix: LoadAddOn deprecated 2024-06-22 14:36:17 -07:00
0f8ce166e4 Add support for ClassColors mods (#4)
Fixes #3
2021-04-10 08:56:15 -05:00
2d28173870 Update to use project-date-integer 2021-03-23 13:46:51 -05:00
7b03c51d45 Update comment header 2021-03-22 21:37:21 -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
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
7b9f525405 Implemented a big performance boost in DogTag:AddFontString() 2012-07-04 21:15:24 +00:00
aa995f13a5 Added a new tag property: noDoc. Set it true if you wish for a tag not to be listed in the help frame. 2012-06-05 06:27:32 +00:00
f8bff67979 Added a universal error handler func for tag errors (DogTag.tagError) 2012-05-02 21:27:40 +00:00
00c0f5ac47 Added upvalues 2012-04-03 03:25:43 +00:00
bb9f81addd Added a Monochrome outline tag
FontString outline is now only changed if something changed (performance increase)
2012-04-02 23:07:16 +00:00
4ab7ef150e Cleanup unused code 2012-04-02 22:36:16 +00:00
a9a04a218f Replaced convoluted xpcall implementations with much simple pcall implementations. 2012-04-02 22:33:55 +00:00
c741f93841 WoWAce Post-Processing: Virtually inflate Library Revision numbers for proper upgrade path 2008-10-09 21:52:31 +00:00
0dc73eb33d - add runicPower color 2008-08-16 05:41:37 +00:00
5e38e94c1e - Change the lazy fontstring updating a bit to be a bit more efficient. 2008-06-19 02:01:46 +00:00
9a1be381d7 - fix a bug that caused an assertion error at line 298 2008-06-16 22:18:00 +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
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
5ac29c7857 - verify the form that examples are in.
- fix the Contains example
2008-03-30 15:40:32 +00:00
a21e68c905 - add Autodoc documentation 2008-03-30 00:13:47 +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
bca34b3d92 - add :ClearNamespace, which will be used by sublibraries when upgrading. 2008-03-28 21:32:51 +00:00
9536ce48a9 - make upgrading a lot cleaner and don't horribly break. 2008-03-28 21:15:39 +00:00
27a9672ddb - make the Alpha tag saner.
- add the Outline and ThickOutline tags. They now no longer need to be at the start and you can use if statements and all that fun stuff on them. e.g. [IsPlayer ? Outline]
2008-03-28 00:54:49 +00:00
20f04f1557 - remove opacity hack
- properly reset opacity
2008-03-27 03:33:15 +00:00
974b7225c2 quick hack to fix alpha issues. 2008-03-27 02:41:24 +00:00
47b716b0b9 - fix tags without proper documentation
- add checks for documentation
2008-03-26 23:37:39 +00:00
d41ab01dda added color entry for tapped units. 2008-03-26 01:40:47 +00:00
f74f30546c - add colors I forgot about 2008-03-25 20:52:04 +00:00
fd855d18c6 - replace the assertion error with a much nicer error that can give me real info. 2008-03-25 20:06:46 +00:00
47c8cc6cee - fix issues with AddonFinders
- trim leading and trailing spaces
2008-03-23 17:43:18 +00:00
e15e275054 - allow if statements within other if statements without requiring grouping brackets. This also allows for [if 1 then 2 else if 3 then 4 else 5]-style statements. 2008-03-23 07:35:21 +00:00
3011591c50 - fix a nil bug
- compile in a safer manner
- handle kwargs in aliases in a way that doesn't fail
- add :UpdateFontString and :UpdateAllForFrame
2008-03-23 04:37:29 +00:00
53ecac1610 - try to load requested libraries automatically 2008-03-23 02:22:19 +00:00
2f2cbb6c2a - add some helper functions for sublibraries 2008-03-22 16:31:45 +00:00
34fb0f00cf - add ability to register tags that have functions which return other functions (good for optional library support) 2008-03-19 18:59:40 +00:00
7ce5e4870d - fix a memory leak with static functions 2008-03-19 15:45:30 +00:00
5e65914e11 - (following changes cut CPU usage roughly 25% and memory usage roughly 20%
- instead of registering tags as strings, they will be registered as functions.
- add ability to mark tags as static, which means if all args are literal or static (or there are no args), then the function will be run on compiletime rather than runtime
- remove number flattening in parser (e.g. 1/4 => 0.25)
- remove globals field and FakeGlobal system
- make a lot of error messages better
2008-03-19 09:12:09 +00:00
4bbda31fe5 - tweaks to the Append tag.
- add static color support (for things like minHP and the like). This will likely change.
2008-03-16 16:23:15 +00:00
6b7aafb17c - instead of going with list-whatever, go with tuple-whatever, since it makes more sense and fits in better. 2008-03-16 07:13:46 +00:00
51acee2d46 - no longer tie tuples to just number or strings, they can take on any type and intermix types without issue. 2008-03-16 07:10:30 +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
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
7a98c715f7 - add support for undef arguments, which are different from nil, only difference being if you specify it, it is nil, if you don't, it's undef. They act the same in most cases
- add support for aliases.
- fix a bug with the standardize function.
- when standardizing { "unm", someNumber }, turn it into -someNumber.
2008-03-11 14:40:30 +00:00
571e31697f - add some more base tags
- some minimal touchups
2008-03-09 16:19:24 +00:00