Quantcast

- Upgrade of Ace3 library to 9.0.1 release.

HonorGoG [10-18-20 - 03:15]
- Upgrade of Ace3 library to 9.0.1 release.
- Promoted to release for 9.0.1 pre-patch.
Filename
Titan/libs/Ace3.toc
Titan/libs/AceAddon-3.0/AceAddon-3.0.lua
Titan/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
Titan/libs/CHANGES.txt
Titan/libs/changelog.txt
diff --git a/Titan/libs/Ace3.toc b/Titan/libs/Ace3.toc
index d2db37e..ca7367a 100755
--- a/Titan/libs/Ace3.toc
+++ b/Titan/libs/Ace3.toc
@@ -1,4 +1,4 @@
-## Interface: 80300
+## Interface: 90001

 ## Title: Lib: Ace3
 ## Notes: AddOn development framework
diff --git a/Titan/libs/AceAddon-3.0/AceAddon-3.0.lua b/Titan/libs/AceAddon-3.0/AceAddon-3.0.lua
index 791bc77..46fde43 100755
--- a/Titan/libs/AceAddon-3.0/AceAddon-3.0.lua
+++ b/Titan/libs/AceAddon-3.0/AceAddon-3.0.lua
@@ -28,9 +28,9 @@
 -- end
 -- @class file
 -- @name AceAddon-3.0.lua
--- @release $Id: AceAddon-3.0.lua 1202 2019-05-15 23:11:22Z nevcairiel $
+-- @release $Id: AceAddon-3.0.lua 1238 2020-08-28 16:18:42Z nevcairiel $

-local MAJOR, MINOR = "AceAddon-3.0", 12
+local MAJOR, MINOR = "AceAddon-3.0", 13
 local AceAddon, oldminor = LibStub:NewLibrary(MAJOR, MINOR)

 if not AceAddon then return end -- No Upgrade needed.
@@ -601,10 +601,20 @@ function AceAddon:IterateAddonStatus() return pairs(self.statuses) end
 function AceAddon:IterateEmbedsOnAddon(addon) return pairs(self.embeds[addon]) end
 function AceAddon:IterateModulesOfAddon(addon) return pairs(addon.modules) end

+-- Blizzard AddOns which can load very early in the loading process and mess with Ace3 addon loading
+local BlizzardEarlyLoadAddons = {
+	Blizzard_DebugTools = true,
+	Blizzard_TimeManager = true,
+	Blizzard_BattlefieldMap = true,
+	Blizzard_MapCanvas = true,
+	Blizzard_SharedMapDataProviders = true,
+	Blizzard_CombatLog = true,
+}
+
 -- Event Handling
 local function onEvent(this, event, arg1)
-	-- 2011-08-17 nevcairiel - ignore the load event of Blizzard_DebugTools, so a potential startup error isn't swallowed up
-	if (event == "ADDON_LOADED"  and arg1 ~= "Blizzard_DebugTools") or event == "PLAYER_LOGIN" then
+	-- 2020-08-28 nevcairiel - ignore the load event of Blizzard addons which occur early in the loading process
+	if (event == "ADDON_LOADED"  and (arg1 == nil or not BlizzardEarlyLoadAddons[arg1])) or event == "PLAYER_LOGIN" then
 		-- if a addon loads another addon, recursion could happen here, so we need to validate the table on every iteration
 		while(#AceAddon.initializequeue > 0) do
 			local addon = tremove(AceAddon.initializequeue, 1)
diff --git a/Titan/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua b/Titan/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
index c795910..94c5ded 100755
--- a/Titan/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
+++ b/Titan/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
@@ -1,4 +1,4 @@
---[[ $Id: AceGUIWidget-DropDown.lua 1237 2020-07-17 22:50:38Z nevcairiel $ ]]--
+--[[ $Id: AceGUIWidget-DropDown.lua 1239 2020-09-20 10:22:02Z nevcairiel $ ]]--
 local AceGUI = LibStub("AceGUI-3.0")

 -- Lua APIs
@@ -39,7 +39,7 @@ end

 do
 	local widgetType = "Dropdown-Pullout"
-	local widgetVersion = 4
+	local widgetVersion = 5

 	--[[ Static data ]]--

@@ -193,12 +193,7 @@ do

 		local height = 8
 		for i, item in pairs(items) do
-			if i == 1 then
-				item:SetPoint("TOP", itemFrame, "TOP", 0, -2)
-			else
-				item:SetPoint("TOP", items[i-1].frame, "BOTTOM", 0, 1)
-			end
-
+			item:SetPoint("TOP", itemFrame, "TOP", 0, -2 + (i - 1) * -16)
 			item:Show()

 			height = height + 16
diff --git a/Titan/libs/CHANGES.txt b/Titan/libs/CHANGES.txt
index 71203fe..db1f937 100755
--- a/Titan/libs/CHANGES.txt
+++ b/Titan/libs/CHANGES.txt
@@ -1,4 +1,25 @@
 ------------------------------------------------------------------------
+r1240 | nevcairiel | 2020-10-13 07:59:32 +0000 (Tue, 13 Oct 2020) | 1 line
+Changed paths:
+   M /trunk/Ace3.toc
+   M /trunk/changelog.txt
+
+Update changelog and TOC
+------------------------------------------------------------------------
+r1239 | nevcairiel | 2020-09-20 10:22:02 +0000 (Sun, 20 Sep 2020) | 1 line
+Changed paths:
+   M /trunk/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
+
+AceGUI-3.0: DropDown: Anchor all items to the dropdown frame instead of chaining anchors, fixes anchoring on WoW 9.0 with many items
+------------------------------------------------------------------------
+r1238 | nevcairiel | 2020-08-28 16:18:42 +0000 (Fri, 28 Aug 2020) | 3 lines
+Changed paths:
+   M /trunk/AceAddon-3.0/AceAddon-3.0.lua
+
+AceAddon-3.0: Blacklist more Blizzard addons from triggering Ace3 load events
+
+These addons can be loaded very early by UIParent, which causes issues with loading certain addons
+------------------------------------------------------------------------
 r1237 | nevcairiel | 2020-07-17 22:50:38 +0000 (Fri, 17 Jul 2020) | 1 line
 Changed paths:
    M /trunk/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua
diff --git a/Titan/libs/changelog.txt b/Titan/libs/changelog.txt
index 04a92ec..d9a75ff 100755
--- a/Titan/libs/changelog.txt
+++ b/Titan/libs/changelog.txt
@@ -1,3 +1,11 @@
+Ace3 Release - Revision r1241 (October 13th, 2020)
+--------------------------------------------------
+- AceAddon-3.0: Suppress more Blizzard addon load events from activating Ace3 addons "too early", causing loading issues.
+- AceGUI-3.0: Updated for Backdrop changes in WoW 9.0
+- AceGUI-3.0: Re-structured widget releasing to avoid recursive release in some circumstances
+- AceGUI-3.0: Label: Anchors are being refreshed when the font is changed (Ticket #540)
+- AceGUI-3.0: Dropdown: Initialize the widget with an empty list so that AddItem can be used on a fresh dropdown (Ticket #542)
+
 Ace3 Release - Revision r1227 (August 12th, 2019)
 -------------------------------------------------
 - AceConfigDialog-3.0: Fixed an issue with a missing template on WoW Classic (Ticket #517)
@@ -205,7 +213,7 @@ Ace3 Release - Revision r900 (December 8th, 2009)
 - AceGUI-3.0: TreeGroup: Allow iconCoords to be passed for the tree elements. (Ticket #59)
 - AceGUI-3.0: Slider: Add a more visible backdrop/border around the manual input area (Ticket #98, #46)
 - AceGUI-3.0: Allow displaying a image in front of the checkbox label. (Ticket #82)
-- AceConfig-3.0: Added an experimental "descStyle" member to all option table nodes that allows you to control the way the description is presented.
+- AceConfig-3.0: Added an experimental "descStyle" member to all option table nodes that allows you to control the way the description is presented.
                  Supported values are "tooltip" for the old behaviour, and "inline" for a inline display of the description, pending support in AceGUI-3.0 widgets.
 - AceConfigCmd-3.0: Properly parse functions and methods supplied for the "hidden" option table member. (Ticket #96)
 - AceConfigDialog-3.0: Fix the unpacking of the basepath arguments when internally calling :Open (Ticket #90)
@@ -424,4 +432,4 @@ Ace3 Beta - Revision 60545 (Feb 7th, 2008)

 Ace3 Beta - Revision 60163 (Feb 3rd, 2008)
 ---------------------------------------------
-- Initial Beta release
\ No newline at end of file
+- Initial Beta release