114 Commits

Author SHA1 Message Date
b17582afab Remove all the old right-click menu hackery
Evidently this isn't needed anymore on any current client, 11.x, Classic-era, et al.
2024-07-25 22:32:29 -05:00
e94138d201 Restore context menus for Health and Info modules
Apparently we don't have to do any of this anymore (and might not have had to do it for a long time, but I missed the memo) so if we can, just use the built-in menuing stuff. Setting focus doesn't trigger taint with this.
2024-07-25 22:25:55 -05:00
6c2e759f45 Basic TWW compatibility 2024-06-22 18:07:42 -05:00
40fc8187fd Add ability to adjust strata globally
Submitted by slowkerd from Curseforge (thanks!)
2023-08-02 08:16:12 -05:00
b32f090644 using table.remove to not leave a hole in the array (#36) 2023-07-23 23:57:22 -05:00
e313e679ae Basic Classic-BC support
This has been tested on Classic PTR and Retail, but only with a Rogue
character. Don't have a ton of time to do more exhaustive tests right now.

Fixes #11
2021-05-09 12:04:23 -05:00
9cfa00227f Fixed indentation to match the rest of the file (spaces/tabs) 2019-09-10 23:16:08 -05:00
09d9a9c6f7 Add cooldowns support on target buffs/debuffs (#4)
* Add cooldowns support on target buffs/debuffs

Duration and expiration times are not set on target buffs/debuffs
when using UnitAura. This change looks up the spellID in
LibClassicDurations and sets the duration and expiry using that
source.

This change enables the cooldown sweep that allows OmniCC to properly
display the countdown of time remaining on the buff/debuff.

Note that this only adds the cooldown on buff/debuffs applied
to the target by the player.

* set LibStub to silently fail if library is missing

Support for cooldown durations on Classic WoW is provided by
LibClassicDurations, which comes with the ClassicAuraDurations
addon. This change prevents IceHUD throwing an error if the
library is missing.
2019-09-04 17:50:33 -05:00
ba8748ecca First batch of WoW Classic compatibility updates
This has been tested on Classic with a Rogue up to level 5 using various modules and casually checked against a few level 1 classes. I'm sure there's a lot more to do here. I also made sure to test on Live.

Where possible I tried to check for API availability rather than specific client versions or program IDs. There are many cases where that's impractical, however, so version/program ID checks were used.

This was tested with:
* Ace3 @r1225
* AceGUI-3.0-SharedMediaWidgets @r61
* LibDBIcon-1.0 @v8.2.0
* LibDogTag-3.0 @v80200.1
* LibDogTag-Unit-3.0 @v80200.1-2-g93a898d-alpha
* LibRangeCheck-2.0 @v4.2.3 (with a couple of local changes)
* LibSharedMedia-3.0 @r113-alpha
2019-08-11 23:21:06 -05:00
89ef91b9b3 Initial dump of BfA compatibility
Updated for:
- SPELL_POWER_* constants becoming Enum.PowerType.*
- Rank no longer existing in return values for UnitAura, UnitBuff, UnitDebuff, UnitCastingInfo, UnitChannelInfo
- UNIT_POWER event becoming UNIT_POWER_UPDATE
- UnitPopupFrames no longer existing
- Removed events: PLAYER_PET_CHANGED, UNIT_MAXPOWER, PET_BAR_CHANGED, UNIT_DYNAMIC_FLAGS
- Texture return value from UnitAura type changing (name -> id)
- All Warlock specializations using soul shards
- Death Knight rune changes

Haven't tested all classes/specializations yet, so I'm sure I missed some stuff.
Probably need to add support for the new circular cooldown wipe flourish added in the base client.
Saw a problem with cooldown flashes being delayed on DK runes becoming available that probably need to be fixed.
2018-06-06 22:57:35 -05:00
6c4e815b9e Added raid icon toggle to Info modules 2017-08-30 23:29:20 -05:00
e36b87a407 Fixed TargetInfo debuffs not having the same frame as buffs 2016-08-31 23:07:54 -05:00
d05c1dac18 Updated my previous change to re-enable the "tapped" feature with the new Legion API 2016-05-29 14:18:51 -05:00
b328ad0739 Changed how cooldowns are started (ticket #205) 2016-05-26 23:49:22 -05:00
9b5df60efa Removed UnitIsTapped usage for Legion 2016-05-24 00:50:14 -05:00
d9571c6636 Worked around a bug Blizzard created in 6.0 with cooldown wipes not updating alpha with their parent frame. See http://www.wowinterface.com/forums/showthread.php?t=49950 for discussion. 2014-11-07 00:41:26 -06:00
7258f037ee Info modules now display a random stack count from 1 to 5 when in configuration mode for easier Stack Font Size configuring. 2014-10-23 20:53:44 -05:00
1a4cf9a403 - Maybe fixed a PetInfo/TargetInfo buff error that I can't reproduce. 2012-09-19 05:05:05 +00:00
c60a44ee94 - Fixed a couple of places that I forgot to declare the variable _ as a local which was causing taint due to Blizzard also forgetting to declare _ as a global in the glyph frame. 2012-08-29 02:52:21 +00:00
b5350965a7 - Round 1 of WoW 5.0 fixes. 2012-06-30 19:57:12 +00:00
6e4b194900 - added missing "end" for TargetInfo change from earlier today 2011-12-03 01:31:48 +00:00
1003078da4 - drycoded a toggle to enable tooltips when mousing over an Info module to help diagnose a reported error from wowinterface 2011-12-02 23:53:19 +00:00
ed9ec9389a - minor initialization order fixups in the alternate power bar
- added new option (enabled by default) to have buffs and debuffs in Info modules sorted by expiration time instead of the order the game returns them in (application time?)
2011-03-14 00:26:48 +00:00
2e462e259d - hopefully "fixed" (read: worked around) crash that IceHUD was triggering in the client by implementing a Lua-only version of UnitSelectionColor(). the crash was triggered by having DogTags disabled, TargetInfo enabled, and leaving an instance while in combat with one of the instance's mobs targeted (ticket #110) 2011-01-04 08:36:49 +00:00
34ca35cc59 - another attempt at fixing stack overflow related to dropdown menus for secure frames 2010-12-28 06:42:34 +00:00
db060f490c - split the "buffs per row" setting to exist in both buffs and debuffs sub-groups instead of being a module-wide setting (ticket #103) 2010-12-14 06:07:01 +00:00
64e7e7cc87 - fixed debuffs on info modules not drawing the proper colored border for the type of debuff
- fixed buffs not displaying the stealable border for mages if they were stealable
2010-12-14 05:11:37 +00:00
405ec76bb8 - fixed the TargetInfo fixup code to only run once per profile instead of every time 2010-11-11 15:58:48 +00:00
878585e6fe - fixed buffs tiling in the wrong direction 2010-11-05 02:33:37 +00:00
a93bcaf190 - pedantically replaced sets of spaces with tabs. i'm that guy. 2010-11-05 01:48:46 +00:00
93c70c545e - Fixed not being able to set icon sizes for debuffs
- Rearranged the config screen for Info modules
2010-11-05 01:30:36 +00:00
2645a6292a - made all buffs/debuffs display on the info modules when in configuration mode
- compressed buffs/debuffs on the info modules so that they will not make room for a large buff if the previous row never had a large buff on it. this fixes every row being separated by enough vertical space to make room for the larger of "buff size" and "own buff size" settings
2010-10-31 03:51:28 +00:00
7abe2276fb - Never skip resizing player's own auras on redraw. Stops them resetting to normal aura icon size on UI reload. 2010-10-30 13:58:56 +00:00
fecfe8b586 - shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports! 2010-10-30 04:40:12 +00:00
2401ed2295 - Erroneous white space? I don't know what you're talking about... ¬.¬ 2010-10-30 04:25:21 +00:00
b9feaae590 - Aura handling cleanup. Duplication is evil! 2010-10-30 04:21:00 +00:00
53ff0bfae9 - extended vertical offset min/max for info modules (ticket #92) 2010-10-26 00:14:40 +00:00
e003fab854 - removed most of the rest of the garbage that was being generated during combat or when changing targets
- reduced cpu usage by 33%-50% across the board (and more in some cases) by changing how updates are registered and how often they run. now the 'update period' slider actually matters. it defaults to 0.033 meaning that frames update about 30 times a second instead of every frame
- fixed the "always" display mode for cooldown bars to respect alpha settings (ooc/with target/in combat/etc.)
2010-10-25 02:05:58 +00:00
a59c99d91f - added option for non-dogtag users to hide each line of text on the TargetInfo module individually 2010-10-17 21:37:36 +00:00
3af07ee30d - removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone) 2010-10-17 05:46:54 +00:00
1f2738432b - more fixes for compatibility between clique and the info modules 2010-10-16 19:35:42 +00:00
8a980e45eb - setup clique unregistration for whenever the new clique changes go live 2010-10-16 19:23:58 +00:00
5d68b2f6eb - fixed certain buffs not displaying a tooltip on mouseover in the info modules 2010-10-16 04:19:56 +00:00
3f3eabf8df - more fixes to frame reparenting (from r644 - attempts to fix text when bars are rotated) 2010-10-14 02:26:10 +00:00
272f0fd42d - fixed text getting rotated along with bars when choosing the "rotate 90 degrees" option 2010-10-14 01:31:47 +00:00
0186185192 - added user-requested option to specify the space between each buff/debuff on the info modules 2010-10-09 05:04:16 +00:00
8c865351f9 - added highlighting around buffs on the targetinfo module (and other *info modules) that are spellstealable if the player is a mage 2010-10-05 00:23:43 +00:00
d01d3587a0 - allowed pvp and party role icons to be offset more 2010-10-02 21:56:43 +00:00
08861ecfe7 - first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however. 2010-09-26 05:14:42 +00:00
36d2592e78 - minor cleanup of unused stuff in IceCore
- fixed the GCD to update its bar color as the user changes it instead of requiring re-enabling the module or reloading the ui
- clarified some tooltip text on the TargetInfo module's text blocks
- added DogTag support to the ToT module by request
2010-09-19 04:10:31 +00:00