83 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 60525eec3a Clean up throttle 2026-06-27 19:19:51 -05:00
Brues c3829c2bd2 player: drop talent-side modCastingTime fudge from haste display
The player frame's "Effective Haste" mode was hardcoded talent-position
scrapes: GetTalentInfo(1, 16) for the Mage "Accelerated Arcana"
(flat 5%) and GetTalentInfo(1, 14) for the Warlock "Rapid Deterioration"
(3% per rank), folded into the displayed haste % via
`(1 / (modCastSpeed * modCastingTime) - 1) * 100`.

That's two problems in one:
- Hardcoded talent indices and effect percentages — brittle to any
  Turtle tree reshuffle or retune.
- Conceptually muddled: it folds gear-haste and talent-cast-reduction
  into one number that's hard to read as anything specific. The actual
  effective cast time is already shown on the cast bar via
  C_Spell.UnitCastingInfo (engine helper accounts for SpellMod op 10).

Drop modCastingTime, the LEARNED_SPELL_IN_TAB watcher frame that
maintained it, the per-class talent scrape, and the hasteMode == "2"
display branch. Collapse the now-binary "display_haste" config from a
3-option dropdown to a checkbox. Users on legacy "2" will see the
checkbox unchecked once and can re-enable with a single click.
2026-06-27 19:13:49 -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
Meow c746f391d0 forced reload for spellpower display 2026-03-24 14:31:26 +01:00
pepopo978 3fed9333a0 disable for older nampower 2026-02-28 14:18:27 -08:00
pepopo978 70112e8a04 fix initial PlayerModCastingTime detection 2026-02-28 12:50:56 -08:00
pepopo978 3373751884 add optional sp/haste display to player frame 2026-02-28 12:41:34 -08:00
Meow f43b8f19f8 update for libdebuff
Read the readme!
Version push
2026-02-06 16:32:13 +01:00
Meow 37beca7103 New throttling menu
New throttling menu
2026-02-06 08:07:33 +01:00
Meow 54355c9019 enhanced merge into master
Final release!
2026-02-04 22:48:30 +01:00
Meow 7f93ebefaf Throttles
Added throttle for player castbar, player frame and Raidframes
2026-01-10 14:31:47 +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 7669e64173 core: remove leftover semicolons 2020-08-15 19:29:24 +02:00
shagu 081134979e energytick: add initial manatick support
* add option to enable mana ticks
* move into seperate module
2020-03-16 17:02:26 +01:00
shagu 3334c7469f modules: make all modules aware of the new borders 2019-12-18 18:54:09 +01:00
shagu af85f1b08c player: fix dropdown menu on tbc 2019-10-19 10:42:37 +02:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00
shagu 886284a84f tbc: whitelist player and target frame 2019-04-14 14:48:54 +02:00
shagu 33e32e4368 player: prevent energytick events when possible 2019-03-31 14:59:20 +02:00
shagu acd991cf8b unitframes: add pvp flag icon to all frames 2018-07-07 22:24:59 +02:00
shagu 0f448ad574 player: update energy-spark size on config change 2018-07-03 20:04:52 +02:00
stokbaek d472b07dd6 unitframes: add option to change powerbar width 2017-11-17 17:31:59 +01:00
shagu 11e938ac5e player: replace reset-instances dropdown entry 2017-07-24 13:28:42 +02:00
shagu 587b175e91 player: clean up dropdown code 2017-07-07 18:02:55 +02:00
shagu e926569509 player: locale independent instance reset 2017-07-02 17:42:26 +02:00
shagu 15ae9121fe player: option to show pvp icon 2017-06-16 15:39:47 +02:00
shagu 63da4f7acb api: introduce new unitframes 2017-06-02 18:01:50 +02:00
shagu 72d1132dcc unitframes: add option for custom hp background 2017-03-04 16:17:14 +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 92de8f792f player: always refresh power bar 2017-02-26 18:28:26 +01:00
shagu 6c030db720 unitframes: unify onclick function 2017-02-03 18:18:06 +01:00
shagu c0d33cd024 unitframes: add more click actions 2017-02-03 17:23:04 +01:00
shagu 3f0ff10990 unitframes: show caption in front of portraits 2017-01-07 12:22:13 +01:00
shagu 18fca002ae player: fix typo in energy ticker 2017-01-06 14:49:16 +01:00
shagu 9ec300b917 player: fix spark related error on size change 2017-01-05 02:10:36 +01:00
shagu e3d414093a api: portrait function rewrite 2017-01-05 02:10:36 +01:00
shagu 2cf0033d94 player: fix event for pvp icon 2016-12-30 14:06:55 +01:00
shagu 40789119bd unitframes: add custom healthbar colors 2016-12-27 14:21:36 +01:00
shagu ad4e68d681 api: clean up and documentation 2016-12-24 11:03:47 +01:00
shagu 1d1b099d34 player: use buffid for debuff mechanisms 2016-12-22 14:08:08 +01:00
shagu db4be366b3 player: show energy ticks after entering world 2016-12-20 00:06:10 +01:00
shagu 77f02d9674 fonts: support for non latin gameclients 2016-12-19 18:46:46 +01:00
shagu 2972cc8eab mouseover: introducing mouseover casts 2016-12-18 20:19:29 +01:00
shagu 2a02beb308 unitframes: add tooltips to missing unitframes 2016-12-18 20:15:45 +01:00
shagu 24c83e231c player: add option to display energy ticks 2016-12-17 12:19:21 +01:00
shagu df4be70f18 unitframes: add option to enable global clickcast 2016-12-12 22:45:41 +01:00