diff --git a/WeakAuras/AuraWarnings.lua b/WeakAuras/AuraWarnings.lua
index 70b42e7..f8bb689 100644
--- a/WeakAuras/AuraWarnings.lua
+++ b/WeakAuras/AuraWarnings.lua
@@ -54,10 +54,10 @@ local severityLevel = {
}
local icons = {
- info = { path = [[Interface\FriendsFrame\InformationIcon]] },
- sound = { path = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\ChatFrame", texCoords = {0.757812, 0.871094, 0.0078125, 0.234375} },
- warning = { path = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\ServicesAtlas", texCoords = {0.000976562, 0.0419922, 0.961914, 0.998047} },
- error = { path = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\HelpIcon-Bug" },
+ info = [[Interface\FriendsFrame\InformationIcon]],
+ sound = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\ChatFrame",
+ warning = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\ServicesAtlas",
+ error = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\HelpIcon-Bug",
}
local titles = {
@@ -76,13 +76,7 @@ local function AddMessages(result, messages, icon, mixedSeverity)
result = result .. "\n\n"
end
if mixedSeverity then
- local iconPath = icon.path
- local texCoords = icon.texCoords
- if texCoords then
- result = result .. string.format("|T%s:12:12:0:0:64:64:%d:%d:%d:%d|t", iconPath, texCoords[1] * 64, texCoords[2] * 64, texCoords[3] * 64, texCoords[4] * 64)
- else
- result = result .. string.format("|T%s:12:12:0:0:64:64:4:60:4:60|t", iconPath)
- end
+ result = result .. "|T" .. icon .. ":12:12:0:0:64:64:4:60:4:60|t"
end
result = result .. message
end
diff --git a/WeakAuras/DiscordList.lua b/WeakAuras/DiscordList.lua
index 776801e..18e9d2a 100644
--- a/WeakAuras/DiscordList.lua
+++ b/WeakAuras/DiscordList.lua
@@ -28,6 +28,7 @@ Private.DiscordList = {
[=[Ifor]=],
[=[Ipwnturkeys]=],
[=[Ironi]=],
+ [=[Jiberish]=],
[=[Jods]=],
[=[kanegasi]=],
[=[Koxy]=],
@@ -41,9 +42,9 @@ Private.DiscordList = {
[=[Mynze]=],
[=[Nona]=],
[=[NostraDumAzz]=],
+ [=[Ocelots]=],
[=[Oi]=],
[=[Ora]=],
- [=[ParkSaeRoyi]=],
[=[phoenix7700]=],
[=[Pseiko]=],
[=[reggie]=],
diff --git a/WeakAuras/Init.lua b/WeakAuras/Init.lua
index 3832bf9..912165c 100644
--- a/WeakAuras/Init.lua
+++ b/WeakAuras/Init.lua
@@ -8,7 +8,7 @@ WeakAuras.halfWidth = WeakAuras.normalWidth / 2
WeakAuras.doubleWidth = WeakAuras.normalWidth * 2
local versionStringFromToc = GetAddOnMetadata("WeakAuras", "Version")
-local versionString = "5.19.0 Beta"
+local versionString = "5.19.1 Beta"
local buildTime = "20250127040000"
local isAwesomeEnabled = C_NamePlate and C_NamePlate.GetNamePlateForUnit and true or false
diff --git a/WeakAuras/LibGroupTalentsWrapper.lua b/WeakAuras/LibGroupTalentsWrapper.lua
index 09ac918..322a9ec 100644
--- a/WeakAuras/LibGroupTalentsWrapper.lua
+++ b/WeakAuras/LibGroupTalentsWrapper.lua
@@ -3,7 +3,7 @@ if not WeakAuras.IsLibsOK() then return end
local AddonName, Private = ...
-- Lua APIs
-local unpack = unpack
+local unpack, wipe = unpack, wipe
-- WoW APIs
local UnitName, UnitIsUnit, UnitClass, GetNumGroupMembers = UnitName, UnitIsUnit, UnitClass, GetNumGroupMembers
@@ -39,23 +39,15 @@ if LibGroupTalents then
local ownName = UnitName("player")
local numMembers = GetNumGroupMembers()
- local units
- if IsInRaid() then
- units = WeakAuras.raidUnits
- else
- units = WeakAuras.partyUnits
- end
+ local units = IsInRaid() and WeakAuras.raidUnits or WeakAuras.partyUnits
+ nameToUnitMap = { [ownName] = "player" }
for i = 1, numMembers do
- local groupUnit = units[i]
- if groupUnit then
- local groupUnitName = UnitName(groupUnit)
- if groupUnitName then
- nameToUnitMap[groupUnitName] = groupUnit
- end
+ local groupUnitName = UnitName(units[i])
+ if groupUnitName then
+ nameToUnitMap[groupUnitName] = groupUnit
end
end
- nameToUnitMap[ownName] = "player"
for storedName in pairs(nameToSpecMap) do
if not nameToUnitMap[storedName] then
@@ -66,21 +58,18 @@ if LibGroupTalents then
end
local specInfo = { LibGroupTalents:GetUnitTalentSpec(unit) }
- if specInfo and #specInfo > 0 then
- local class = select(2, UnitClass(unit))
- if specInfo and #specInfo > 0 and class then
- nameToSpecMap[unitName] = {
- class .. specInfo[1], unpack(specInfo)
- }
- end
+ local class = select(2, UnitClass(unit))
+ if specInfo and #specInfo > 0 and class then
+ nameToSpecMap[unitName] = {
+ class .. specInfo[1], unpack(specInfo)
+ }
end
nameToUnitRole[unitName] = LibGroupTalents:GetUnitRole(unit)
- local glyphs = { LibGroupTalents:GetUnitGlyphs(unit) }
- if glyphs and #glyphs > 0 then
- nameToGlyphs[unitName] = {}
- for _, glyphId in ipairs(glyphs) do
+ nameToGlyphs[unitName] = {}
+ for _, glyphId in ipairs({ LibGroupTalents:GetUnitGlyphs(unit) }) do
+ if glyphId then
nameToGlyphs[unitName][glyphId] = true
end
end
@@ -153,9 +142,9 @@ if LibGroupTalents then
local glyphs = { LibGroupTalents:GetUnitGlyphs(unit) }
if glyphs then
for _, id in ipairs(glyphs) do
- if id == glyphId then
- return true
- end
+ if id == glyphId then
+ return true
+ end
end
end
end
diff --git a/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.lua b/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.lua
index 88f3a54..d8618b0 100644
--- a/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.lua
+++ b/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.lua
@@ -237,10 +237,8 @@ function CacheMonitorMixin:CalcRemoved()
end
end
function CacheMonitorMixin:WriteCache()
- local tmp = self.data
- self.data = self.cache
- self.cache = tmp
- wipe(self.cache)
+ wipe(self.data)
+ self.data, self.cache = self.cache, {}
end
function CacheMonitorMixin:Reset()
if self.makeDiff then
@@ -693,7 +691,6 @@ function lib.GetUnitNameplate(unit)
return nameplate.UnitFrame.Name
-- elvui someday
elseif nameplate.unitFrame and nameplate.unitFrame.Health and nameplate.unitFrame.Health:IsShown() then
-
return nameplate.unitFrame.Health
elseif nameplate.unitFrame and nameplate.unitFrame.Name and nameplate.unitFrame.Name:IsShown() then
return nameplate.unitFrame.Name
diff --git a/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.xml b/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.xml
index 9655921..ec68612 100644
--- a/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.xml
+++ b/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.xml
@@ -2,6 +2,6 @@
..\FrameXML\UI.xsd">
-
+
diff --git a/WeakAuras/Media/Textures/ChatFrame.blp b/WeakAuras/Media/Textures/ChatFrame.blp
index 3965108..9f8239f 100644
Binary files a/WeakAuras/Media/Textures/ChatFrame.blp and b/WeakAuras/Media/Textures/ChatFrame.blp differ
diff --git a/WeakAuras/Media/Textures/ServicesAtlas.blp b/WeakAuras/Media/Textures/ServicesAtlas.blp
index ea8c207..957b21e 100644
Binary files a/WeakAuras/Media/Textures/ServicesAtlas.blp and b/WeakAuras/Media/Textures/ServicesAtlas.blp differ
diff --git a/WeakAuras/WeakAuras.toc b/WeakAuras/WeakAuras.toc
index 99121fa..3a6bee6 100644
--- a/WeakAuras/WeakAuras.toc
+++ b/WeakAuras/WeakAuras.toc
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras
## Author: The WeakAuras Team
-## Version: 5.19.0
+## Version: 5.19.1
## Notes: A powerful, comprehensive utility for displaying graphics and information based on buffs, debuffs, and other triggers.
## Notes-esES: Potente y completa aplicación que te permitirá mostrar por pantalla múltiples diseños, basados en beneficios, perjuicios y otros activadores.
## Notes-deDE: Ein leistungsfähiges, umfassendes Addon zur grafischen Darstellung von Informationen von Auren, Cooldowns, Timern und vielem mehr.
diff --git a/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua b/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua
index fbefd5b..c9fa6bd 100644
--- a/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua
+++ b/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua
@@ -1381,10 +1381,7 @@ local methods = {
iconButton:SetSize(16, 16)
end
iconButton.prio = prio
- iconButton:SetNormalTexture(icon.path)
- if icon.texCoords then
- iconButton:GetNormalTexture():SetTexCoord(unpack(icon.texCoords))
- end
+ iconButton:SetNormalTexture(icon)
if title then
iconButton:SetScript("OnEnter", function()
Show_Tooltip(
@@ -1510,7 +1507,7 @@ local methods = {
self:SortStatusIcons()
end,
["SetLoaded"] = function(self, prio, color, title, description)
- self:UpdateStatusIcon("load", prio, {path="Interface\\AddOns\\WeakAuras\\Media\\Textures\\loaded"}, title, description, nil, color)
+ self:UpdateStatusIcon("load", prio, "Interface\\AddOns\\WeakAuras\\Media\\Textures\\loaded", title, description, nil, color)
self:SortStatusIcons()
end,
["IsLoaded"] = function(self)
diff --git a/WeakAurasOptions/Changelog.lua b/WeakAurasOptions/Changelog.lua
index 5ddfdea..8419ff3 100644
--- a/WeakAurasOptions/Changelog.lua
+++ b/WeakAurasOptions/Changelog.lua
@@ -10,80 +10,44 @@ local AddonName = ...
---@class OptionsPrivate
local OptionsPrivate = select(2, ...)
OptionsPrivate.changelog = {
- versionString = '5.19.0',
- dateString = '2025-01-20',
- fullChangeLogUrl = 'https://github.com/WeakAuras/WeakAuras2/compare/5.18.1...5.19.0',
+ versionString = '5.19.1',
+ dateString = '2025-01-30',
+ fullChangeLogUrl = 'https://github.com/WeakAuras/WeakAuras2/compare/5.19.0...5.19.1',
highlightText = [==[
-- Some Important changes:
- - 🚨🚨 WeakAuras no longer dispatches COMBAT_LOG_EVENT_UNFILTERED to custom triggers, unless the event list specifies at least one subevent. 🚨🚨 You will need to make changes to these auras to get them to function properly.
- - Actions: For performance reasons, "On Init" custom code for auras with an encounter ID load option is not as eager to load as previous. We don't anticipate this should cause any problems, but if it does please get in touch!
-- Many new features:
- - This changelog is now viewable in game, via the changelog button (if you're reading this from the in game changelog, hi!)
- - New Region Type: Empty region is now available, for "displays" which either don't need a visual component (e.g. 'play a sound when i get 5 buffs from roll the bones'), and for wacky custom designs.
- - New Trigger: Player Money can now be tracked in the builtins, & a coin string formatting option is avaialable for text patterns. (thanks Boneshock!)
- - New sub element: Stop Motion is now available as a subregion to add to texture, progress texture, icon, progress bar, text, & empty retion types.
- - Linear/Circular Progress elements now support min/max progress properties.
- - Classic (Cataclysm): Spell Power is now tracked in the Character Stats trigger.
- - Chat Message Events: sourceGUID is now exposed in Other Events - Chat Message triggers. Note that some message types don't have a source & thuse don't provide sourceGUID either.
- - New Media: "Heartbeat Single" (try playing it on a loop) is now provided in the builtin media. (thanks Jake!)
- - Aura Trigger: new match selectors based on spell ID are now avaialble.]==], commitText = [==[Boneshock (1):
+This is mainly a release to bump the TOC version for classic.
-- Add Money Formatting Option and Add Player Money to Currency Trigger (#5586)
+Some minor features:
-InfusOnWoW (23):
+- Empty region learned how to take an icon to display in the left side options pane (no more transparent squares!)
+- Circular & Linear Progress Texture subregions learned the inverse option
+- Unit Characteristics Trigger now allows "Assigned Role" for non-group units
+- In game changelog (hi again!) is less prone to producing text boxes that tower over the edge of your screen
-- Update Atlas File List from wago.tools
-- Update Discord List
-- Templates Classic: Fix Paladin templates
-- Classic: Enable UnitGroupRoleAssigned options
-- Bufftrigger 2: Add match selectors that work on spell ids
-- Make StopMotion sub elements's color work
-- Update Discord List
-- Texture Sub Element: Fix ordering of input and browse button
-- Stop Motion: Properly fix GetColor function
-- Fix description of Stop Motion sub element
-- Add Thank you Role to allowed roles
-- Add a Changelog button
-- Add an Empty RegionType
-- Fix lua error for color animation on Stop Motion
-- Add min/max progress for Linear/CircularProgress and StopMotion sub elements
-- Remove left over TODOs that are actually done
-- Fix regressions in Textures refactor
-- Cata: Add Spell Power to Character Stats
-- Introduce sub elements for circular/linear Textures
-- Texture Sub Element
-- StopMotion: Introduce a StopMotion sub element
-- Update Atlas File List from wago.tools
-- Update Discord List
+And some bug fiixes:
-Jake G (1):
+- Expanding the options for Glow/Border subregions should no longer produce errors
+- Classic: "Clipped Progress" option for model subregions should function identically to retail now
+- WeakAuras.ScanEvents is less prone to vomiting if called with garbage data
+- Designing a TSU trigger to populate state with garbage timed progress data should no longer brick Options]==], commitText = [==[InfusOnWoW (10):
-- Add Sound Heartbeat Single (#5600)
+- Tweak Changelog display
+- Modernize: Fix lua error if there are no authorOptions
+- Also remove "Clipped Progress" on Classic
+- Empty Base Region: Add a thumbnail icon
+- Sanity check WeakAuras.ScanEvents event's type
+- CircularProgressTexture: Add inverse option
+- Linear Progress Texture: Add an inverse setting
+- Fix Glow/Border anchor_area lua error in Options
+- Guard against expirationTime/duration being strings in various places
+- Unit Characteristics: Allow "Assigned Role" check for non-group units
-Stanzilla (4):
+Stanzilla (1):
-- Update WeakAurasModelPaths from wago.tools
-- Update bug_report.yml
-- Update WeakAurasModelPaths from wago.tools
- Update WeakAurasModelPaths from wago.tools
-emptyrivers (2):
+mrbuds (1):
-- drop nomerge headers
-- add sourceGUID to chat msg trigger state
-
-github-actions[bot] (1):
-
-- Update Atlas File List from wago.tools (#5618)
-
-mrbuds (2):
-
-- Don't pre-load in raid init scripts for auras with an encounterId load option
-- Disable CLEU triggers without filters
-
-nullKomplex (1):
-
-- Default discord-update to not run on forks
+- classic_era toc update
]==]
-}
\ No newline at end of file
+}
diff --git a/WeakAurasOptions/WeakAurasOptions.toc b/WeakAurasOptions/WeakAurasOptions.toc
index 2dc0f98..27083cb 100644
--- a/WeakAurasOptions/WeakAurasOptions.toc
+++ b/WeakAurasOptions/WeakAurasOptions.toc
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras Options
## Author: The WeakAuras Team
-## Version: 5.19.0
+## Version: 5.19.1
## Notes: Options for WeakAuras
## Notes-esES: Opciones para WeakAuras
## Notes-deDE: Optionen für WeakAuras