From da942631f0585db8ce7594fc10142cf04f799c80 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Sat, 23 May 2026 13:42:19 +0200 Subject: [PATCH] chore(libs): sync Ace3 to coa-ace3 (WoWUIDev master @ 52e5f2c) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bring every embedded Ace3 / CallbackHandler / LibStub copy in line with the canonical Exiles/coa-ace3 bundle so LibStub resolution is predictable across all Exiles forks regardless of which addons are enabled. Libraries updated in this fork: AceConfig-3.0 3 (2 → 3) AceConfigCmd-3.0 14 (12 → 14) AceConfigDialog-3.0 92 (48 → 92) AceConfigRegistry-3.0 22 (12 → 22) AceDB-3.0 33 (21 → 33) AceDBOptions-3.0 15 (12 → 15) AceGUI-3.0 41 (33 → 41) CallbackHandler-1.0 8 (5 → 8) LibStub 2 --- .../libs/AceConfig-3.0/AceConfig-3.0.lua | 115 +- .../libs/AceConfig-3.0/AceConfig-3.0.xml | 14 +- .../AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 1574 +++---- .../AceConfigCmd-3.0/AceConfigCmd-3.0.xml | 6 +- .../AceConfigDialog-3.0.lua | 3937 +++++++++-------- .../AceConfigDialog-3.0.xml | 6 +- .../AceConfigRegistry-3.0.lua | 719 +-- .../AceConfigRegistry-3.0.xml | 6 +- .../AceDBOptions-3.0/AceDBOptions-3.0.lua | 876 ++-- .../AceDBOptions-3.0/AceDBOptions-3.0.xml | 6 +- .../libs/AceGUI-3.0/AceGUI-3.0.lua | 1825 ++++---- .../libs/AceGUI-3.0/AceGUI-3.0.xml | 56 +- .../AceGUIContainer-BlizOptionsGroup.lua | 276 +- .../widgets/AceGUIContainer-DropDownGroup.lua | 335 +- .../widgets/AceGUIContainer-Frame.lua | 606 +-- .../widgets/AceGUIContainer-InlineGroup.lua | 241 +- .../widgets/AceGUIContainer-ScrollFrame.lua | 456 +- .../widgets/AceGUIContainer-SimpleGroup.lua | 168 +- .../widgets/AceGUIContainer-TabGroup.lua | 924 ++-- .../widgets/AceGUIContainer-TreeGroup.lua | 1465 +++--- .../widgets/AceGUIContainer-Window.lua | 667 +-- .../widgets/AceGUIWidget-Button.lua | 195 +- .../widgets/AceGUIWidget-CheckBox.lua | 581 +-- .../widgets/AceGUIWidget-ColorPicker.lua | 416 +- .../widgets/AceGUIWidget-DropDown-Items.lua | 936 ++-- .../widgets/AceGUIWidget-DropDown.lua | 1439 +++--- .../widgets/AceGUIWidget-EditBox.lua | 490 +- .../widgets/AceGUIWidget-Heading.lua | 156 +- .../AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 284 +- .../widgets/AceGUIWidget-InteractiveLabel.lua | 195 +- .../widgets/AceGUIWidget-Keybinding.lua | 481 +- .../AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 341 +- .../widgets/AceGUIWidget-MultiLineEditBox.lua | 655 +-- .../widgets/AceGUIWidget-Slider.lua | 562 +-- .../libs/AceDB-3.0/AceDB-3.0.lua | 1525 ++++--- .../libs/AceDB-3.0/AceDB-3.0.xml | 6 +- .../CallbackHandler-1.0.lua | 441 +- .../CallbackHandler-1.0.xml | 6 +- .../CallbackHandler-1.0/LibStub/LibStub.lua | 60 +- 39 files changed, 11911 insertions(+), 11136 deletions(-) diff --git a/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.lua b/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.lua index b66022d..1c9454a 100644 --- a/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.lua +++ b/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.lua @@ -1,57 +1,58 @@ ---- AceConfig-3.0 wrapper library. --- Provides an API to register an options table with the config registry, --- as well as associate it with a slash command. --- @class file --- @name AceConfig-3.0 --- @release $Id: AceConfig-3.0.lua 877 2009-11-02 15:56:50Z nevcairiel $ - ---[[ -AceConfig-3.0 - -Very light wrapper library that combines all the AceConfig subcomponents into one more easily used whole. - -]] - -local MAJOR, MINOR = "AceConfig-3.0", 2 -local AceConfig = LibStub:NewLibrary(MAJOR, MINOR) - -if not AceConfig then return end - -local cfgreg = LibStub("AceConfigRegistry-3.0") -local cfgcmd = LibStub("AceConfigCmd-3.0") -local cfgdlg = LibStub("AceConfigDialog-3.0") ---TODO: local cfgdrp = LibStub("AceConfigDropdown-3.0") - --- Lua APIs -local pcall, error, type, pairs = pcall, error, type, pairs - --- ------------------------------------------------------------------- --- :RegisterOptionsTable(appName, options, slashcmd, persist) --- --- - appName - (string) application name --- - options - table or function ref, see AceConfigRegistry --- - slashcmd - slash command (string) or table with commands, or nil to NOT create a slash command - ---- Register a option table with the AceConfig registry. --- You can supply a slash command (or a table of slash commands) to register with AceConfigCmd directly. --- @paramsig appName, options [, slashcmd] --- @param appName The application name for the config table. --- @param options The option table (or a function to generate one on demand) --- @param slashcmd A slash command to register for the option table, or a table of slash commands. --- @usage --- local AceConfig = LibStub("AceConfig-3.0") --- AceConfig:RegisterOptionsTable("MyAddon", myOptions, {"/myslash", "/my"}) -function AceConfig:RegisterOptionsTable(appName, options, slashcmd) - local ok,msg = pcall(cfgreg.RegisterOptionsTable, self, appName, options) - if not ok then error(msg, 2) end - - if slashcmd then - if type(slashcmd) == "table" then - for _,cmd in pairs(slashcmd) do - cfgcmd:CreateChatCommand(cmd, appName) - end - else - cfgcmd:CreateChatCommand(slashcmd, appName) - end - end -end +--- AceConfig-3.0 wrapper library. +-- Provides an API to register an options table with the config registry, +-- as well as associate it with a slash command. +-- @class file +-- @name AceConfig-3.0 +-- @release $Id$ + +--[[ +AceConfig-3.0 + +Very light wrapper library that combines all the AceConfig subcomponents into one more easily used whole. + +]] + +local cfgreg = LibStub("AceConfigRegistry-3.0") +local cfgcmd = LibStub("AceConfigCmd-3.0") + +local MAJOR, MINOR = "AceConfig-3.0", 3 +local AceConfig = LibStub:NewLibrary(MAJOR, MINOR) + +if not AceConfig then return end + +--TODO: local cfgdlg = LibStub("AceConfigDialog-3.0", true) +--TODO: local cfgdrp = LibStub("AceConfigDropdown-3.0", true) + +-- Lua APIs +local pcall, error, type, pairs = pcall, error, type, pairs + +-- ------------------------------------------------------------------- +-- :RegisterOptionsTable(appName, options, slashcmd) +-- +-- - appName - (string) application name +-- - options - table or function ref, see AceConfigRegistry +-- - slashcmd - slash command (string) or table with commands, or nil to NOT create a slash command + +--- Register a option table with the AceConfig registry. +-- You can supply a slash command (or a table of slash commands) to register with AceConfigCmd directly. +-- @paramsig appName, options [, slashcmd] +-- @param appName The application name for the config table. +-- @param options The option table (or a function to generate one on demand). http://www.wowace.com/addons/ace3/pages/ace-config-3-0-options-tables/ +-- @param slashcmd A slash command to register for the option table, or a table of slash commands. +-- @usage +-- local AceConfig = LibStub("AceConfig-3.0") +-- AceConfig:RegisterOptionsTable("MyAddon", myOptions, {"/myslash", "/my"}) +function AceConfig:RegisterOptionsTable(appName, options, slashcmd) + local ok,msg = pcall(cfgreg.RegisterOptionsTable, self, appName, options) + if not ok then error(msg, 2) end + + if slashcmd then + if type(slashcmd) == "table" then + for _,cmd in pairs(slashcmd) do + cfgcmd:CreateChatCommand(cmd, appName) + end + else + cfgcmd:CreateChatCommand(slashcmd, appName) + end + end +end diff --git a/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.xml b/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.xml index d9eb96a..87972ad 100644 --- a/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.xml +++ b/ShadowedUF_Options/libs/AceConfig-3.0/AceConfig-3.0.xml @@ -1,8 +1,8 @@ - - - - - -