67 Commits

Author SHA1 Message Date
Brues 13a08b0ea3 Restore hooksecurefunc 2026-07-09 23:01:52 -05:00
Brues 3fe072c594 Route hooksecurefunc callers through pfUI.hooksecurefunc; global belongs to ClassicAPI
pfUI's Lua hooksecurefunc lived in pfUI.env and shadowed ClassicAPI's C
global for all pfUI code. Replace it with a thin pfUI.hooksecurefunc shim
that keeps the missing-target no-op our call sites rely on (ClassicAPI
errors on a nil target) and delegates the actual hook to _G.hooksecurefunc.

Migrated all 70 internal call sites (modules/libs/skins) to
pfUI.hooksecurefunc; bare hooksecurefunc now resolves to ClassicAPI's C
version everywhere. Dropped the unused prepend path and the orphaned
pfUI.hooks table.
2026-07-05 14:58:26 -05:00
Brues 710be52f35 phase 3 removing tbc
Drop the now-vestigial expansion plumbing.

- Delete modules/thirdparty-tbc.lua + its xml Include
- Strip 10 tbc-tagged CreateConfig calls in modules/gui.lua
- Drop the expansion arg from CreateConfig() signature + the disabled-
  entry rendering path that depended on it
- Drop the showdisabled GUI toggle + its default
- Simplify pfUI:RegisterModule / pfUI:RegisterSkin to (name, func) only
- Strip the leading version arg ("vanilla:tbc", etc.) from all 114
  Register call sites
- Delete the pfUI.expansion variable
2026-05-25 18:50:53 -05:00
Brues ba566cdd53 phase 2 removing tbc
Strip dead pfUI.client > 11200 and pfUI.expansion == "tbc" branches now
that vanilla is the only supported client.

- pfUI.lua: hardcode expansion = "vanilla"; collapse force_region matrix
- compat/vanilla.lua, libs/{libcast,libdebuff,libtotem,libunitscan,
  focus}: drop always-false early-returns
- api/unitframes.lua: delete TargetBuffOnUpdate poller + tbc visibility
  and secure-template branches; click-cast keeps only vanilla path
- api/ui-widgets.lua: unconditional EffectiveScale divide
- env/tables.lua: drop unused focus/focustarget pfValidUnits entries
- modules/actionbar.lua: simplify EnablePaging, drop ButtonSwitch/
  petvisibility, unwrap prowl block, single keybind-remap path
- modules/{castbar,chat,cooldown,loot,questitem,totems}: unwrap
  always-true conditionals
- modules/nameplates.lua: cfg-only fake-cooldown gate, unwrap overlap/
  clickthrough + mouselook blocks
- modules/friends.lua + skins/blizzard/friends.lua: maxtab = 4
- skins/blizzard/{help,game_menu,questlog}: drop tbc-only branches
2026-05-25 18:40:17 -05:00
Meow 1e459db21a hide CooldownStyleAnimation fix
hide CooldownStyleAnimation  fix
2026-01-25 08:44:16 +01:00
Meow 7898895cf4 timer animation fix
timer animation fix
2026-01-24 02:33:17 +01:00
Meow 34f5c3eb02 Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes:
- Fixed 40-yard range check not working for raid/party frames
- Fixed aggro indicator not displaying properly on raid/party frames
- Improved aggro cache to only cache positive results for instant detection
- Fixed HP/Mana not updating with "Use Raid Frames for group" enabled
- Added SuperWoW nil-check for SpellInfo
- Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING

UI Improvements:
- Share/Hoverbind buttons now show warning when module is disabled
2026-01-08 12:25:18 +01:00
Meow 5d0e195d1e performance update
performance update
2026-01-03 12:58:31 +01:00
shagu e277c501e6 cooldown: add tbc support for custom cooldown font
introduced via: https://github.com/shagu/pfUI/pull/1480
2025-06-24 11:46:44 +02:00
shagu c80830df1f cooldown: slightly increase text layer 2025-06-05 21:04:59 +02:00
dbulatovicx32 85998d81c7 cooldown: add option for custom cooldown fonts 2025-05-25 14:13:08 +02:00
shagu 810fc3ea24 cooldown: allow gcd disabled timers to reset duration 2025-04-21 06:52:21 +02:00
shagu 02443592cd cooldown: use the regular one-line throttle 2024-05-14 08:44:04 +02:00
shagu 0006b9c5d7 cooldown: cache parent name if existing 2024-05-14 08:37:33 +02:00
shagu 70653c7dcf cooldown: only update own alpha if parent changed 2024-05-14 08:35:38 +02:00
shagu f8316228d7 cooldown: a weird fix for weird cooldown issues
Some items with huge cooldowns (like Salt Shaker) send remaining
cooldown times that are way higher than they should be. You often
see a cooldown of 52d and alike. This seems to have "reasons" and
is fixed by this commit. All credits to the guys at:
https://github.com/Stanzilla/WoWUIBugs/issues/47
2022-07-02 21:38:32 +02:00
shagu a6c7b2d6e4 cooldown: use gcd threshold for other frames 2020-12-08 22:31:30 +01:00
shagu 8ce1baf00d cooldown: add option to use dynamic cooldown sizes 2020-10-04 19:45:27 +02:00
shagu 2d78824d06 cooldown: add option to hide foreign animations 2020-10-04 18:56:28 +02:00
shagu e192ccc8f3 cooldown: add support for omnicc disable flag 2020-10-04 18:35:03 +02:00
shagu b558cf7bc2 cooldown: align text to the actual cooldown frame 2020-10-04 18:33:34 +02:00
shagu 6bfd09d0d6 cooldown: use cached parent variable 2020-09-20 20:09:29 +02:00
shagu 5c403d8cc1 cooldown: inherit parent alpha values 2020-09-20 20:00:39 +02:00
shagu 4263e6e292 cooldown: hide cooldown text on hidden cooldowns 2020-09-20 13:45:22 +02:00
shagu 8df9f03436 cooldown: read variables to hide text or animation 2020-09-20 12:46:10 +02:00
shagu d28fe114a3 cooldown: cache parent frame to scoped variable 2020-09-20 12:44:51 +02:00
shagu 7669e64173 core: remove leftover semicolons 2020-08-15 19:29:24 +02:00
shagu e1317763ac cooldown: use different hook destination for tbc 2020-08-14 12:35:27 +02:00
shagu d5a9869417 cooldown: add possibility to use custom font sizes 2020-06-21 18:45:34 +02:00
shagu c90c0ea8ba cooldown: add fontsize option for frametypes 2019-12-04 17:29:07 +01:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00
shagu 7bc60e723d core: whitelist a bunch of modules for tbc 2019-04-07 14:48:58 +02:00
shagu bc5a659470 cooldown: add option to draw on foreign addons 2018-04-09 22:51:43 +02:00
shagu 95dafe25eb cooldown: enhance detection logic 2018-04-08 19:09:51 +02:00
shagu 41e2400bcb cooldown: only draw cd on known frames 2018-04-08 19:04:43 +02:00
shagu 0f7fd4a7b0 api: rework of color api functions 2018-03-18 00:20:17 +01:00
shagu d98c368c38 cooldown: small cooldown position adjustments 2017-07-29 21:16:57 +02:00
shagu 9a2993450e cooldown: add option to change fontsize 2017-06-18 23:24:46 +02:00
shagu bf35a4b982 fonts: integrate upgrade paths 2017-06-08 19:25:53 +02:00
shagu 0754244ee3 cooldown: make use of the new fontsize 2017-06-08 19:25:53 +02:00
shagu c4d5c1902f cooldown: color configuration and caching 2017-06-03 14:14:41 +02:00
shagu 3ef3113a8e cooldown: change color for cd lower than 3 sec 2017-03-01 20:20:39 +01:00
shagu 6402e29b1b api: rename to hooksecurefunc 2017-03-01 19:48:48 +01:00
shagu c83141ee68 cooldown: no break required 2017-02-27 20:14:28 +01:00
shagu 6f7a665ffe api: merge api calls into environment 2017-02-26 20:55:22 +01:00
shagu 1766dd4ba0 api: use C for config 2017-02-26 20:42:08 +01:00
shagu 5a60812786 api: replace getglobal 2017-02-26 20:19:22 +01:00
shagu 059eba3139 cooldown: use generic hook mechanism 2017-02-25 16:13:11 +01:00
shagu 22312b602b cooldown: fix nil index in use with other addons 2017-01-01 15:19:23 +01:00
shagu ad4e68d681 api: clean up and documentation 2016-12-24 11:03:47 +01:00