Commit Graph

642 Commits

Author SHA1 Message Date
florian.berthold 5e67e7ef9c ci: respect GITHUB_REPOSITORY + tolerate per-asset upload failures
release / release (push) Successful in 13s
5.22.0-coa.1
2026-05-25 12:17:01 +02:00
florian.berthold a842d5b761 ci: add Gitea Actions release workflow (per-addon git-archive zip)
release / release (push) Failing after 12s
2026-05-25 12:01:47 +02:00
florian.berthold 5c369f7886 chore: remove .github/ (upstream templates, not relevant on Gitea) 2026-05-25 11:02:53 +02:00
florian.berthold 40cd0f684f chore: align with Exiles fork-layout convention (standard .gitignore + .gitattributes) 2026-05-25 10:59:33 +02:00
florian.berthold 6078989cb1 fix(login): defer downgrade popup, guard data, include CoA classes
lint / lint (push) Has been cancelled
Three fixes addressing the reported 'auras silently vanish on next save'
bug, plus collateral robustness in the same code path:

1. WeakAuras.lua PLAYER_LOGIN handler (~L1297-1308): the downgrade branch
   fired StaticPopup_Show('WEAKAURAS_CONFIRM_REPAIR', ...) synchronously
   inside the event handler. On the CoA reworked StaticPopup system this
   fires too early and silently fails to show the dialog, which means
   neither OnAccept nor OnCancel ever runs, so Private.Login() is never
   called. With no displays loaded, the next PLAYER_LOGOUT serializes an
   empty table over WeakAurasSaved and the user loses all their auras.
   Wrap the call in C_Timer.After(0, ...) so it fires after the event
   frame stack has unwound and the popup system is ready.

   This is the most likely root cause of the user report 'my auras don't
   save anymore' that surfaced on the PTR last week.

2. WeakAuras.lua WEAKAURAS_CONFIRM_REPAIR popup (~L2263-2277): OnShow and
   OnCancel both unconditionally dereferenced self.data.reason. If the
   popup is ever fired with nil or malformed data this throws and blocks
   Private.Login() from running via the OnCancel fallback. Guard with a
   nil check and default reason to 'unknown' (treated as the automatic /
   downgrade path, which is the safe default that still invokes Login).

3. Types.lua WeakAuras.class_types (~L1187): only populated from
   CLASS_SORT_ORDER, which on CoA contains only the 11 vanilla classes.
   The 21 custom CoA classes were silently missing from every class
   filter dropdown in the options UI. Add a fallback loop over
   LOCALIZED_CLASS_NAMES_MALE for anything CLASS_SORT_ORDER didn't
   already register, mirroring the pattern the spec builder uses at
   ~L3829.
2026-05-24 17:38:22 +02:00
florian.berthold 43b5f05a4c fix: pcall-guard C_ClassInfo.GetSpecInfo in Types.lua spec iteration
lint / lint (push) Has been cancelled
Same CoA client issue as coa-details: GetAllSpecs(class) returns items
that GetSpecInfo rejects with 'Expected string' at arg #2. Wrap the
addSpec(class, GetSpecInfo(class, spec)) call in pcall so bad iterations
skip silently rather than spamming Error.txt.
2026-05-23 00:14:38 +02:00
florian.berthold 8ffee1f781 Add CoAClassColors.lua + bump to 5.22.0
lint / lint (push) Has been cancelled
WeakAuras reads class colours inline at two call sites with the
whole-table-pick pattern — no per-key fallback:

    WeakAuras/Types.lua:15
      local color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[classFilename]
    WeakAuras/AuraEnvironment.lua:108
      local classData = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[class]
      local coloredName = ("|c%s%s|r"):format(classData.colorStr, name)

When !ClassColors is loaded it injects a vanilla-10-only
CUSTOM_CLASS_COLORS, so the 22 CoA tokens silently miss. Types.lua
returns the white fallback; AuraEnvironment.lua:109 *hard-crashes* on
classData.colorStr.

New file mirrors any RAID_CLASS_COLORS entry that CUSTOM_CLASS_COLORS
is missing, when !ClassColors is loaded. Idempotent — only fills nil
keys, so user customisations win. Loaded after Compatibility.lua and
ahead of every Types/AuraEnvironment call site. !ClassColors added to
OptionalDeps so it loads first when installed.

Same pattern as coa-omen, coa-kui-nameplates, and
coa-shadowedunitframes.
5.22.0
2026-05-09 00:44:48 +02:00
florian.berthold 571042122e ci: preserve upstream line endings (CRLF) for clean upstream diffs 2026-05-08 04:03:06 +02:00
andrew6180 5741c0cd6e re-add LibCustomGlow 2026-02-17 05:58:11 -07:00
andrew6180 23b813ef8a use C_ClassInfo for spec ids/info 2026-02-16 12:11:44 -07:00
NoM0Re d494eab111 (fix/Transmission): prevent missing controlledChildren when importing newer groups without their original parent
(cherry picked from commit a8df20ae1f374069d792990fe096e0b788fc0c1c)
2026-02-16 11:48:35 -07:00
NoM0Re a9140e9b9e 5.21.2
(cherry picked from commit 7a8257507e0841523ca39edf7938ddaa6adf7aba)
2026-02-16 11:47:36 -07:00
NoM0Re d9824eb73e (chore/OptionsFrame): Remove Midnight support ending warning
The notice was intentionally kept for two releases to inform users about the
upcoming end of Midnight support. It is now removed, as the message should
have reached users.

(cherry picked from commit f524ab5c840f00d45f771423c9b1b2ecb72bf08f)
2026-02-16 11:45:19 -07:00
NoM0Re afbb6c2a96 (fix/Prototypes) Power: Combo points not updating in vehicle
(cherry picked from commit e2c154de9cde08f15db84b0572a0362be1ff2660)
2026-02-16 11:44:38 -07:00
NoM0Re e254507cc3 (fix/zhCN) fix spec keys for specialization detection
Thanks to @emi_noether

(cherry picked from commit edaa279ee971708da2177246a6bf34e824c5cfa8)
2026-02-16 11:44:33 -07:00
NoM0Re 5eb2db89f7 (fix/texture): Desaturate state lost on SetTexture
Fixes #93
Also normalize SetDesaturated calls to use booleans instead of numeric flags.

(cherry picked from commit 47dce3a9d5ba23c170f002b323a11ed2a5c5e206)
2026-02-16 11:43:50 -07:00
NoM0Re 05f060140a 5.21.0
(cherry picked from commit 0b28c5780e55ac544c1acace487aad0a8d8faf28)
2026-02-16 11:43:44 -07:00
NoM0Re 65ac8d1191 (fix/chore) Remove Types_TBC.lua from TOC file
(cherry picked from commit 57fabed8da3bcc727ccf87c761ec8696625cf007)
2026-02-16 11:40:32 -07:00
NoM0Re 07d9efa49b (chore): Purge TBC
(cherry picked from commit c1424e19f91a90b4f9eb0a0afc63c09ca269970a)
2026-02-16 11:40:01 -07:00
NoM0Re 1836ba84d8 (fix/WeakAuras): Resolve long-standing frame level overflow
Switches frame level assignment to depth-based ordering to avoid overflow
and ensure deterministic ordering. WeakAurasFrame now correctly lives on
FrameStrata MEDIUM without interfering with Blizzard UI elements.

(cherry picked from commit e92edf5700ad70587a71c3a403e5cc672dbc9e8e)
2026-02-16 11:38:32 -07:00
NoM0Re aca47d69fd (fix/WeakAuras) BandAid: Limit frame levels to prevent exceeding UI restrictions
#85
Implemented a hard cap for frame level assignments (max 126) across multiple modules, including WeakAuras core logic and AceGUI widget prototypes.

The WotLK engine utilizes a signed 8-bit integer for frame levels. Values exceeding 127 cause an overflow. Previously, many frames were inadvertently stacked at or beyond 128, which remained largely unnoticed but caused significant rendering overhead. This got introduced on WeakAuras 4.0 with nested groups, years ago. On newer Clients the FrameLevels are capped at 10000 which makes this system operate smoothly on those clients. A larger fix will be needed in the future.

This change prevents the renderer from becoming overwhelmed at maximum depth, particularly when Blizzard UI frames with SetTopLevel(true) are toggled. Capping the values at 126 ensures that there is always a 1-bit buffer before the overflow point, allowing high-priority frames to render smoothly without depth conflicts.

(cherry picked from commit 629a45095b10b801573b2cc84d64b6b5a6c1a890)
2026-02-16 11:37:02 -07:00
NoM0Re 7d4f92e3be remove STATICPOPUP_NUMDIALOGS
(cherry picked from commit 83481dad60e044ccdb1cc948571cf849b704f24e)
2026-02-16 11:36:43 -07:00
andrew6180 5bbf5dcd65 remove minitalent use. not compatible with ascension 2026-02-16 11:32:12 -07:00
NoM0Re 1b5678af13 (feat/Prototypes) use WeakAurasMiniTalent in the Talent Known Trigger
(cherry picked from commit 0d025ff3813119b51a3d57157a18c47b96f9704a)
2026-02-16 08:29:16 -07:00
NoM0Re 46a77128a6 (fix/Currency) options table not correctly initialized only after game start
(cherry picked from commit 0c5b8cdb655a4aba7fd44a6a7fc2d3fd4ebb167b)
2026-02-16 08:28:34 -07:00
NoM0Re 83c8ebe861 5.20.7
(cherry picked from commit 384e558df3ea25bab143ccc4043b91b5e7454e62)
2026-02-16 08:28:24 -07:00
NoM0Re 1879f360fa (fix/BossMods): Handle unsupported DBM state in Unified
This ensures proper fallback to BigWigs when DBM is not supported. So it can't fail.

(cherry picked from commit 8a70954db0a57217ab28badaae1e1d025f23bb01)
2026-02-16 08:26:28 -07:00
NoM0Re 345ed78b0d (fix/BossMods): prevent BossMods nil access when no BossMod is initialized and releafe all restrictions
Restores correct fallback behavior on 3.3.5 where BossMods.Generic
remained nil if no boss mod was present during initialization.
This caused errors when Boss Mod Timer or Stage triggers attempted
to call methods on Generic.

Outdated restriction logic was removed as it no longer applies and
was only warning users unnecessarily.

Fixes #82

(cherry picked from commit 12c007969cb28ab869ef8691bd72bdf7e59445e8)
2026-02-16 08:26:23 -07:00
NoM0Re 8384fc0926 add another special check for DBM-Frostmourne so newest version uses newest Methods
(cherry picked from commit 9a37172fa6cb4ecf3ce5af73264ccd8fcc797e2d)
2026-02-16 08:25:58 -07:00
NoM0Re a67f324b91 (fix/SpellCache): correct rebuild condition to avoid constant rebuilding
(cherry picked from commit 08b47ad7ad3848054e4764bec9dae2dc22b24aa3)
2026-02-16 08:25:53 -07:00
NoM0Re a886634cce (fix/ProgressTexture): regression uninitialized inverse option caused progress to mirror or ignore inversion
(cherry picked from commit 19c75e2c3ceddc23340367f3a77357fb9c04968f)
2026-02-16 08:25:35 -07:00
NoM0Re a4764e7d48 (fix/GenericTrigger): change nameplate detection object from WatchNameplates
- Fixes #80
Replaces the nameplate overlay texture with the border texture in nameplate detection logic to improve compatibility.

(cherry picked from commit a39f956b11a624da84d802871b7476b8bad55d8d)
2026-02-16 08:25:11 -07:00
NoM0Re 8f17b7f3c1 add special check for DBM-Frostmourne so it works properly
(cherry picked from commit 69d029a7f55a5f2818db654f88c1372cb2da5814)
2026-02-16 08:24:36 -07:00
NoM0Re 8e19bd2546 (feat/Prototypes) Add prefix negation also to zoneId and encounterId load checks
(cherry picked from commit 666d59ccc86b7f2c34fe032e4f6a57c3689fdf9f)
2026-02-16 08:23:23 -07:00
NoM0Re 2a85906a75 (fix/WeakAuras) encounterid load option checking wrong variable
(cherry picked from commit 9fb568d1f6465eed585c5661a93f67cf62f01227)
2026-02-16 08:22:58 -07:00
NoM0Re aaef2a5227 encounter drop inCombat check for now
(cherry picked from commit 8d4d397c6273f5d7b5088bd89a0cc3606f0e0a3c)
2026-02-16 08:22:45 -07:00
NoM0Re 97a26222d0 (feat/MoverSizer): Rework Magnetic Edit
(cherry picked from commit 49badc3c83d222d6fa2bb8b0c13c861163e0e25d)
2026-02-16 08:22:22 -07:00
NoM0Re a43a6f1fae fix scope of QueueResize
(cherry picked from commit 3311c44376fbd920f41a3a2423d4d2da9a421833)
2026-02-16 08:21:59 -07:00
NoM0Re c260d4033e (fix/DynamicGroup): delay Resize to next frame to fix child positioning
(cherry picked from commit 01121291e8a486bd74568e71e4aebe8442e54de4)
2026-02-16 08:21:28 -07:00
NoM0Re 909a0e97f9 (fix/Prototypes) Add inRange trigger properly to Prototypes too
(cherry picked from commit ade6cb124a76fbb5ebd1a91936f1cb188d70789f)
2026-02-16 08:21:25 -07:00
NoM0Re be4564b8a0 rename profiling event
(cherry picked from commit fcaed3c4a23e6396a1c0db8aa8f75bffc2e56024)
2026-02-16 08:21:21 -07:00
NoM0Re a1a6c76992 (feat/BT2): Introduce inRange trigger and fix missing polling for ignoreInvisible (#78)
(cherry picked from commit 67057d6fddb444dc8c205dc99163e9a1e4056326)
2026-02-16 08:20:36 -07:00
NoM0Re 205567502a 5.20.6
(cherry picked from commit eab1d48d6c69b02d61644eaaa837cbb2c4b021e8)
2026-02-16 08:20:31 -07:00
andrew6180 a2eb1460aa non hero racials are a different ID 2025-10-26 13:24:54 -07:00
andrew6180 3eea13ff9e fix missing load events 2025-10-20 13:21:46 -07:00
andrew6180 7c2caecc19 manastorm -> tristate 2025-10-20 13:19:16 -07:00
andrew6180 3ab4893039 static popup timeout causes taint 2025-10-20 13:18:14 -07:00
andrew6180 64d20262db link to ascension discord. Move support link 2025-10-20 13:08:08 -07:00
andrew6180 d0340b4cef add X-IconTexture 2025-10-20 12:45:33 -07:00
andrew6180 7b731540c1 absorb tracking 2025-10-20 11:06:04 -07:00