Skip to content

Commit

Permalink
Merge branch 'release/v2.43-Release' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumsebrum committed Oct 30, 2024
2 parents b0674ad + 8fa3740 commit 68f2f9b
Show file tree
Hide file tree
Showing 21 changed files with 669 additions and 723 deletions.
17 changes: 11 additions & 6 deletions Gladdy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ local LibStub = LibStub

---------------------------

local MAJOR, MINOR = "Gladdy", 17
local MAJOR, MINOR = "Gladdy", 18
local Gladdy = LibStub:NewLibrary(MAJOR, MINOR)
local L
Gladdy.version_major_num = 2
Gladdy.version_minor_num = 0.42
Gladdy.version_minor_num = 0.43
Gladdy.version_num = Gladdy.version_major_num + Gladdy.version_minor_num
Gladdy.version_releaseType = RELEASE_TYPES.release
Gladdy.version = PREFIX .. string.format("%.2f", Gladdy.version_num) .. "-" .. Gladdy.version_releaseType
Expand Down Expand Up @@ -86,11 +86,16 @@ Gladdy.events.registered = {}
Gladdy.events:RegisterEvent("PLAYER_LOGIN")
Gladdy.events:RegisterEvent("PLAYER_LOGOUT")
Gladdy.events:RegisterEvent("CVAR_UPDATE")
hooksecurefunc("VideoOptionsFrameOkay_OnClick", function(self, button, down, apply)
if (self:GetName() == "VideoOptionsFrameApply") then
Gladdy:PixelPerfectScale(true)
end
hooksecurefunc(SettingsPanel, "Commit", function()
Gladdy:PixelPerfectScale(true)
end)
hooksecurefunc(SettingsPanel, "RevertSettings", function()
Gladdy:PixelPerfectScale(true)
end)
hooksecurefunc(SettingsPanel, "SetAllSettingsToDefaults", function()
Gladdy:PixelPerfectScale(true)
end)

Gladdy.events:SetScript("OnEvent", function(self, event, ...)
if (event == "PLAYER_LOGIN") then
Gladdy:OnInitialize()
Expand Down
2 changes: 1 addition & 1 deletion Gladdy.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title: Gladdy |cFFFF0000 game client not supported|r
## Version: 2.40-Release
## Version: 2.43-Release
## Notes: The most powerful arena AddOn for WoW Classic TBC/WotLK
## Author: XiconQoo, DnB_Junkee, Knall
## X-Email: contact me on discord Knall#1751
Expand Down
2 changes: 1 addition & 1 deletion Gladdy_BCC.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 20504
## Title: Gladdy - TBC
## Version: 2.40-Release
## Version: 2.43-Release
## Notes: The most powerful arena AddOn for WoW 2.5.4
## Author: XiconQoo, DnB_Junkee, Knall
## X-Email: contact me on discord Knall#1751
Expand Down
6 changes: 3 additions & 3 deletions Gladdy_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 40400
## Interface: 40401
## Title: Gladdy - Cata
## Version: 2.40-Release
## Notes: The most powerful arena AddOn for WoW 4.4.0
## Version: 2.43-Release
## Notes: The most powerful arena AddOn for WoW 4.4.1
## Author: XiconQoo, DnB_Junkee, Knall
## X-Email: contact me on discord Knall#1751
## X-Curse-Project-ID: 482332
Expand Down
2 changes: 1 addition & 1 deletion Gladdy_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 30402
## Title: Gladdy - WotLK
## Version: 2.32-Beta
## Version: 2.43-Release
## Notes: The most powerful arena AddOn for WoW 3.4.2
## Author: XiconQoo, DnB_Junkee, Knall
## X-Email: contact me on discord Knall#1751
Expand Down
10 changes: 5 additions & 5 deletions Libs/AceComm-3.0/AceComm-3.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
-- make into AceComm.
-- @class file
-- @name AceComm-3.0
-- @release $Id: AceComm-3.0.lua 1284 2022-09-25 09:15:30Z nevcairiel $
-- @release $Id: AceComm-3.0.lua 1333 2024-05-05 16:24:39Z nevcairiel $

--[[ AceComm-3.0
Expand All @@ -20,7 +20,7 @@ TODO: Time out old data rotting around from dead senders? Not a HUGE deal since
local CallbackHandler = LibStub("CallbackHandler-1.0")
local CTL = assert(ChatThrottleLib, "AceComm-3.0 requires ChatThrottleLib")

local MAJOR, MINOR = "AceComm-3.0", 12
local MAJOR, MINOR = "AceComm-3.0", 14
local AceComm,oldminor = LibStub:NewLibrary(MAJOR, MINOR)

if not AceComm then return end
Expand Down Expand Up @@ -93,12 +93,12 @@ function AceComm:SendCommMessage(prefix, text, distribution, target, prio, callb

local textlen = #text
local maxtextlen = 255 -- Yes, the max is 255 even if the dev post said 256. I tested. Char 256+ get silently truncated. /Mikk, 20110327
local queueName = prefix..distribution..(target or "")
local queueName = prefix

local ctlCallback = nil
if callbackFn then
ctlCallback = function(sent)
return callbackFn(callbackArg, sent, textlen)
ctlCallback = function(sent, sendResult)
return callbackFn(callbackArg, sent, textlen, sendResult)
end
end

Expand Down
Loading

0 comments on commit 68f2f9b

Please sign in to comment.