Commit Graph
178 Commits
Author SHA1 Message Date
Brues 31ff2773b3 Defer macrotweak conflicts; use SetSize
Replace the previous RunNextFrame conflict check with per-addon EventUtil.ContinueOnAddOnLoaded calls in modules/macrotweak.lua so macrotweak is disabled as soon as known conflicting addons load. Simplify variable naming and ensure the disabled flag is set correctly. In skins/blizzard/macro.lua replace separate SetHeight/SetWidth calls with a single SetSize(150,22) for MacroEditButton to tidy UI sizing.
2026-07-15 13:45:06 -05:00
Brues 3faf06141f Skin Arena Frame 2026-07-12 14:49:17 -05:00
Brues 63f0dcbf7a Use GetInventoryItemID instead of parsing link 2026-07-11 13:18:48 -05:00
Brues 0344bff471 cleanup 2026-07-11 12:59:33 -05:00
Brues 2e20a03cbd Restore Inspect UI frame skin
removed during the tbc purge
2026-07-11 12:36:03 -05:00
Brues 13a08b0ea3 Restore hooksecurefunc 2026-07-09 23:01:52 -05:00
Brues 9bcc11e64f removed tbc logic 2026-07-09 22:26:32 -05:00
Brues 967487e283 Utilizing ClassicAPI 1.6.0
commit d63057474083aa67fda2aa28ee6301334ffc4fdf
Author: Brues <5278969+brues-code@users.noreply.github.com>
Date:   Mon Jul 6 00:59:17 2026 -0500

    Use C_Map.GetMapOverlays instead of hardcoded pfMapOverlayData

    ClassicAPI's C_Map.GetMapOverlays reads WorldMapOverlay.dbc directly and
    returns the full overlay list for a zone (explored + unexplored) — the
    data vanilla's GetMapOverlayInfo withholds. mapreveal now iterates it
    straight (named fields: textureName/texturePath/width/height/offsets),
    dropping unpack_hash and the pfMapOverlayData tables entirely.

    Also fixes the explored-check: it compared the full texture path against
    GetMapOverlayInfo's bare-name keys, so the magnifying glass never
    suppressed on explored overlays. Now matches on the bare name.

    Removes ~870 lines of hand-measured overlay data (base + Turtle).

commit ad12c8209a80cd1211fe08e83f7013d24b5efd2d
Author: Brues <5278969+brues-code@users.noreply.github.com>
Date:   Sun Jul 5 23:45:09 2026 -0500

    utilize HookScript from ClassicAPI
2026-07-09 00:56:06 -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 29b948e6fa character cleanup 2026-06-28 00:14:40 -05:00
Brues 5f61f94a24 Texture ArenaFrame 2026-06-27 23:31:02 -05:00
Brues dd9e683da2 utilize GetSendMailItemLink and GetInboxItemLink 2026-06-08 11:04:51 -05:00
Brues 94aee19967 use pfUI's GetColorGradient instead of Fizzle colors 2026-05-29 23:15:35 -05:00
Brues 6af7da55d6 Reputation Frame: Enhance faction standing bars 2026-05-29 18:49:38 -05:00
Brues ed5ecb1f93 character: durability % per inventory slot
Adds a Fizzle-style durability label to each character pane slot.
Renders at the bottom of the slot icon as "N%" colored by the existing
DURABILITY_THRESHOLD_COLORS table (red < orange < yellow < invasion <
green), or hidden when the item has no durability stat (necks, rings,
trinkets) or the slot is empty.

api/api.lua: new pfUI.api.CreateFontString(f, key, layer, size, flags,
font) helper following the CreateBackdrop pattern — idempotent
get-or-create that attaches the FontString to the parent frame as the
named field. Defaults to pfUI.font_default at C.global.font_size with
OUTLINE on the OVERLAY layer.

skins/blizzard/character.lua: scoreText migrated from the inline
"if not frame.scoreText then ..." block to the new helper as a working
example; new durabilityText created the same way at BOTTOM/size 10.
Durability render added to RefreshCharacterSlot — runs on every
PaperDollItemSlotButton_Update so equip/unequip/repair/damage all
refresh automatically.

api/config.lua + modules/gui.lua: new C.character.inventory.durability
toggle (default "1"). GUI lives under a new top-level "Character" tab
→ "Inventory" sub-tab, leaving room for future "Reputation" / "Skills"
sub-tabs at the same level.
2026-05-29 18:31:58 -05:00
Brues 1fd7895ca7 move away from RAID_CLASS_COLORS dependency 2026-05-28 13:06:00 -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
Brues 58609b8c5c phase 1 removing tbc 2026-05-25 18:16:02 -05:00
Brues b18e6ffa67 refresh buff durations on player 2026-05-21 02:35:46 -05:00
Meow 76eb08adf6 Possible fix for "You can't inspect that unit" 2026-04-02 04:36:47 +02:00
Meow fe09495c55 Some adjustments for LFT reskinning 2026-03-31 20:42:24 +02:00
Meow 206d085026 possible fix for LFT frame 2026-03-30 16:34:55 +02:00
Meow 6b2cda55ae talent inspection fix 2026-03-23 15:43:25 +01:00
Meow 754be808fd removed 2 untested skins 2026-03-21 21:39:54 +01:00
Meow 823153220a Some fixes for the transmog vendor... 2026-03-21 21:31:15 +01:00
Meow b0b5a69a36 some fixes for unitframes shown if pfui unitframes are active. 2026-03-21 21:13:55 +01:00
Meow ed6904f021 new pfui skins by jrc13245 2026-03-21 21:03:00 +01:00
Meow a8eb4a26c4 fixed profession tab for enchanting 2026-03-21 16:01:51 +01:00
Meow b5296ec391 possible nil value crashfix for non-english clients 2026-03-20 23:07:40 +01:00
Meow a1311d997e raidframe fixes 2026-03-20 21:02:13 +01:00
Meow 28f7240e7c fixed raidframes and inspect 2026-03-20 19:05:51 +01:00
Meow 6c4af1c92c several fixes for inspect with new patch
Note:  Seeing talents of other players is a thing from t-wow side, this doesn't work until fixed by turtle-wow
2026-03-20 18:08:16 +01:00
Meow 0917caa80e Update for patch 1.18.1 2026-03-20 05:33:35 +01:00
Meow 807e120a95 Revert "update - read description"
This reverts commit 233cd182cd.
2026-03-12 12:02:39 +01:00
Meow 233cd182cd update - read description
Improve inspect/character item display using Nampower APIs
2026-03-12 12:02:12 +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 73561eda4a compat: make hooksecurefunc append by default 2025-07-30 20:18:52 +02:00
shagu d9bd93d3a7 skins: check for close button in interface options 2025-07-25 20:32:34 +02:00
shagu 1ab6cb799f skins: center profession input box text 2025-02-02 19:40:29 +01:00
shagu 8d35a13d7e skins: do not recreate existing profession buttons 2024-07-21 18:33:19 +02:00
shagu 5dda502912 skins: check score and quality before comparing 2024-04-21 12:33:47 +02:00
shagu 196e6e6d55 skin: ignore unknown quality in character frame 2024-02-27 18:12:17 +01:00
Artur Morozov afcf45f404 character frame: add red quality color for broken items 2024-02-26 17:35:42 +01:00
shagu 754b4d53fa skins/bags: move item score to topright position
Move score to topright position to avoid conflicts with item count.
2022-11-14 13:31:40 +01:00
shagu 788ea6669a skins: remove increased letter count from mail
Some servers refuse to send mails with a higher length
than the usual. It's inconvenient to guess the maximum
length if the mail window doesn't make you stop typing
2022-09-26 01:42:19 +02:00
shagu fde80d5d8e skins: do not recreate existing questlog buttons 2021-12-31 11:26:23 +01:00
shagu eaa106b032 skins: align quest level display to pfquest 2021-01-16 11:44:05 +01:00
shagu dddaf75315 skins: avoid ui taints of the spellbook skin 2020-12-28 20:55:51 +01:00