From 58d5f51c1b7b51b1041810428d31c54efaecff38 Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Sat, 9 Mar 2024 00:11:32 -0500 Subject: [PATCH] remove exporter addon code --- ...er is the addon folder, dont change casing | 0 .../.vs/WowSimsExporter/v14/.wowsuo | Bin 37888 -> 0 bytes tools/wowsimsexporter/WowSimsExporter/LICENSE | 21 - .../Libs/AceAddon-3.0/AceAddon-3.0.lua | 653 ------ .../Libs/AceAddon-3.0/AceAddon-3.0.xml | 4 - .../Libs/AceConfig-3.0/AceConfig-3.0.lua | 58 - .../Libs/AceConfig-3.0/AceConfig-3.0.xml | 8 - .../AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 794 ------- .../AceConfigCmd-3.0/AceConfigCmd-3.0.xml | 4 - .../AceConfigDialog-3.0.lua | 2019 ----------------- .../AceConfigDialog-3.0.xml | 4 - .../AceConfigRegistry-3.0.lua | 371 --- .../AceConfigRegistry-3.0.xml | 4 - .../Libs/AceConsole-3.0/AceConsole-3.0.lua | 250 -- .../Libs/AceConsole-3.0/AceConsole-3.0.xml | 4 - .../Libs/AceDB-3.0/AceDB-3.0.lua | 744 ------ .../Libs/AceDB-3.0/AceDB-3.0.xml | 4 - .../AceDBOptions-3.0/AceDBOptions-3.0.lua | 460 ---- .../AceDBOptions-3.0/AceDBOptions-3.0.xml | 4 - .../Libs/AceEvent-3.0/AceEvent-3.0.lua | 126 - .../Libs/AceEvent-3.0/AceEvent-3.0.xml | 4 - .../Libs/AceGUI-3.0/AceGUI-3.0.lua | 1026 --------- .../Libs/AceGUI-3.0/AceGUI-3.0.xml | 28 - .../AceGUIContainer-BlizOptionsGroup.lua | 138 -- .../widgets/AceGUIContainer-DropDownGroup.lua | 157 -- .../widgets/AceGUIContainer-Frame.lua | 318 --- .../widgets/AceGUIContainer-InlineGroup.lua | 103 - .../widgets/AceGUIContainer-ScrollFrame.lua | 215 -- .../widgets/AceGUIContainer-SimpleGroup.lua | 69 - .../widgets/AceGUIContainer-TabGroup.lua | 349 --- .../widgets/AceGUIContainer-TreeGroup.lua | 715 ------ .../widgets/AceGUIContainer-Window.lua | 336 --- .../widgets/AceGUIWidget-Button.lua | 103 - .../widgets/AceGUIWidget-CheckBox.lua | 296 --- .../widgets/AceGUIWidget-ColorPicker.lua | 190 -- .../widgets/AceGUIWidget-DropDown-Items.lua | 471 ---- .../widgets/AceGUIWidget-DropDown.lua | 737 ------ .../widgets/AceGUIWidget-EditBox.lua | 263 --- .../widgets/AceGUIWidget-Heading.lua | 78 - .../AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 140 -- .../widgets/AceGUIWidget-InteractiveLabel.lua | 94 - .../widgets/AceGUIWidget-Keybinding.lua | 249 -- .../AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 179 -- .../widgets/AceGUIWidget-MultiLineEditBox.lua | 366 --- .../widgets/AceGUIWidget-Slider.lua | 284 --- .../Libs/AceHook-3.0/AceHook-3.0.lua | 511 ----- .../Libs/AceHook-3.0/AceHook-3.0.xml | 4 - .../Libs/AceTimer-3.0/AceTimer-3.0.lua | 278 --- .../Libs/AceTimer-3.0/AceTimer-3.0.xml | 4 - .../CallbackHandler-1.0.lua | 212 -- .../CallbackHandler-1.0.xml | 4 - .../Libs/LibParse/ChangeLog.txt | 15 - .../WowSimsExporter/Libs/LibParse/LICENSE.txt | 31 - .../Libs/LibParse/LibParse.lua | 496 ---- .../Libs/LibParse/LibParse.toc | 12 - .../Libs/LibParse/Libs/LibStub.lua | 51 - .../Libs/LibParse/Libs/LibStub.toc | 13 - .../Libs/LibParse/Libs/tests/test.lua | 41 - .../Libs/LibParse/Libs/tests/test2.lua | 27 - .../Libs/LibParse/Libs/tests/test3.lua | 14 - .../Libs/LibParse/Libs/tests/test4.lua | 41 - .../WowSimsExporter/Libs/LibParse/Load.xml | 4 - .../WowSimsExporter/Libs/LibStub/LibStub.lua | 30 - .../wowsimsexporter/WowSimsExporter/README.md | 42 - .../WowSimsExporter/Skins/wowsims.png | Bin 2073 -> 0 bytes .../WowSimsExporter/Skins/wowsims.tga | Bin 4114 -> 0 bytes .../WowSimsExporter-Vanilla.toc | 22 - .../WowSimsExporter/WowSimsExporter-Wrath.toc | 22 - .../WowSimsExporter/WowSimsExporter.lua | 459 ---- .../WowSimsExporter/WowSimsExporter.wowproj | 205 -- .../WowSimsExporter/WowSimsExporter.wowsln | 19 - .../WowSimsExporter/embeds.xml | 20 - .../WowSimsExporter/extras.lua | 114 - 73 files changed, 15131 deletions(-) delete mode 100644 tools/wowsimsexporter/WowSimsExporter is the addon folder, dont change casing delete mode 100644 tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo delete mode 100644 tools/wowsimsexporter/WowSimsExporter/LICENSE delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfig-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfig-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConsole-3.0/AceConsole-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceConsole-3.0/AceConsole-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceDB-3.0/AceDB-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceDB-3.0/AceDB-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceDBOptions-3.0/AceDBOptions-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceDBOptions-3.0/AceDBOptions-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceEvent-3.0/AceEvent-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceEvent-3.0/AceEvent-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/AceGUI-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/AceGUI-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceHook-3.0/AceHook-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceHook-3.0/AceHook-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceTimer-3.0/AceTimer-3.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/AceTimer-3.0/AceTimer-3.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/ChangeLog.txt delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/LICENSE.txt delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/LibParse.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/LibParse.toc delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/LibStub.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/LibStub.toc delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/tests/test.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/tests/test2.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/tests/test3.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Libs/tests/test4.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibParse/Load.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Libs/LibStub/LibStub.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/README.md delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Skins/wowsims.png delete mode 100644 tools/wowsimsexporter/WowSimsExporter/Skins/wowsims.tga delete mode 100644 tools/wowsimsexporter/WowSimsExporter/WowSimsExporter-Vanilla.toc delete mode 100644 tools/wowsimsexporter/WowSimsExporter/WowSimsExporter-Wrath.toc delete mode 100644 tools/wowsimsexporter/WowSimsExporter/WowSimsExporter.lua delete mode 100644 tools/wowsimsexporter/WowSimsExporter/WowSimsExporter.wowproj delete mode 100644 tools/wowsimsexporter/WowSimsExporter/WowSimsExporter.wowsln delete mode 100644 tools/wowsimsexporter/WowSimsExporter/embeds.xml delete mode 100644 tools/wowsimsexporter/WowSimsExporter/extras.lua diff --git a/tools/wowsimsexporter/WowSimsExporter is the addon folder, dont change casing b/tools/wowsimsexporter/WowSimsExporter is the addon folder, dont change casing deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo b/tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo deleted file mode 100644 index ec544797d4fe77ebc9e743e1868f4edbe28c7422..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37888 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 diff --git a/tools/wowsimsexporter/WowSimsExporter/LICENSE b/tools/wowsimsexporter/WowSimsExporter/LICENSE deleted file mode 100644 index c5b1d4ea3b..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 General Wrex - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua b/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua deleted file mode 100644 index 1b63bd1e73..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua +++ /dev/null @@ -1,653 +0,0 @@ ---- **AceAddon-3.0** provides a template for creating addon objects. --- It'll provide you with a set of callback functions that allow you to simplify the loading --- process of your addon.\\ --- Callbacks provided are:\\ --- * **OnInitialize**, which is called directly after the addon is fully loaded. --- * **OnEnable** which gets called during the PLAYER_LOGIN event, when most of the data provided by the game is already present. --- * **OnDisable**, which is only called when your addon is manually being disabled. --- @usage --- -- A small (but complete) addon, that doesn't do anything, --- -- but shows usage of the callbacks. --- local MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- --- function MyAddon:OnInitialize() --- -- do init tasks here, like loading the Saved Variables, --- -- or setting up slash commands. --- end --- --- function MyAddon:OnEnable() --- -- Do more initialization here, that really enables the use of your addon. --- -- Register Events, Hook functions, Create Frames, Get information from --- -- the game that wasn't available in OnInitialize --- end --- --- function MyAddon:OnDisable() --- -- Unhook, Unregister Events, Hide frames that you created. --- -- You would probably only use an OnDisable if you want to --- -- build a "standby" mode, or be able to toggle modules on/off. --- end --- @class file --- @name AceAddon-3.0.lua --- @release $Id: AceAddon-3.0.lua 1238 2020-08-28 16:18:42Z nevcairiel $ - -local MAJOR, MINOR = "AceAddon-3.0", 13 -local AceAddon, oldminor = LibStub:NewLibrary(MAJOR, MINOR) - -if not AceAddon then return end -- No Upgrade needed. - -AceAddon.frame = AceAddon.frame or CreateFrame("Frame", "AceAddon30Frame") -- Our very own frame -AceAddon.addons = AceAddon.addons or {} -- addons in general -AceAddon.statuses = AceAddon.statuses or {} -- statuses of addon. -AceAddon.initializequeue = AceAddon.initializequeue or {} -- addons that are new and not initialized -AceAddon.enablequeue = AceAddon.enablequeue or {} -- addons that are initialized and waiting to be enabled -AceAddon.embeds = AceAddon.embeds or setmetatable({}, {__index = function(tbl, key) tbl[key] = {} return tbl[key] end }) -- contains a list of libraries embedded in an addon - --- Lua APIs -local tinsert, tconcat, tremove = table.insert, table.concat, table.remove -local fmt, tostring = string.format, tostring -local select, pairs, next, type, unpack = select, pairs, next, type, unpack -local loadstring, assert, error = loadstring, assert, error -local setmetatable, getmetatable, rawset, rawget = setmetatable, getmetatable, rawset, rawget - --- Global vars/functions that we don't upvalue since they might get hooked, or upgraded --- List them here for Mikk's FindGlobals script --- GLOBALS: LibStub, IsLoggedIn, geterrorhandler - ---[[ - xpcall safecall implementation -]] -local xpcall = xpcall - -local function errorhandler(err) - return geterrorhandler()(err) -end - -local function safecall(func, ...) - -- we check to see if the func is passed is actually a function here and don't error when it isn't - -- this safecall is used for optional functions like OnInitialize OnEnable etc. When they are not - -- present execution should continue without hinderance - if type(func) == "function" then - return xpcall(func, errorhandler, ...) - end -end - --- local functions that will be implemented further down -local Enable, Disable, EnableModule, DisableModule, Embed, NewModule, GetModule, GetName, SetDefaultModuleState, SetDefaultModuleLibraries, SetEnabledState, SetDefaultModulePrototype - --- used in the addon metatable -local function addontostring( self ) return self.name end - --- Check if the addon is queued for initialization -local function queuedForInitialization(addon) - for i = 1, #AceAddon.initializequeue do - if AceAddon.initializequeue[i] == addon then - return true - end - end - return false -end - ---- Create a new AceAddon-3.0 addon. --- Any libraries you specified will be embeded, and the addon will be scheduled for --- its OnInitialize and OnEnable callbacks. --- The final addon object, with all libraries embeded, will be returned. --- @paramsig [object ,]name[, lib, ...] --- @param object Table to use as a base for the addon (optional) --- @param name Name of the addon object to create --- @param lib List of libraries to embed into the addon --- @usage --- -- Create a simple addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon", "AceEvent-3.0") --- --- -- Create a Addon object based on the table of a frame --- local MyFrame = CreateFrame("Frame") --- MyAddon = LibStub("AceAddon-3.0"):NewAddon(MyFrame, "MyAddon", "AceEvent-3.0") -function AceAddon:NewAddon(objectorname, ...) - local object,name - local i=1 - if type(objectorname)=="table" then - object=objectorname - name=... - i=2 - else - name=objectorname - end - if type(name)~="string" then - error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2) - end - if self.addons[name] then - error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - Addon '%s' already exists."):format(name), 2) - end - - object = object or {} - object.name = name - - local addonmeta = {} - local oldmeta = getmetatable(object) - if oldmeta then - for k, v in pairs(oldmeta) do addonmeta[k] = v end - end - addonmeta.__tostring = addontostring - - setmetatable( object, addonmeta ) - self.addons[name] = object - object.modules = {} - object.orderedModules = {} - object.defaultModuleLibraries = {} - Embed( object ) -- embed NewModule, GetModule methods - self:EmbedLibraries(object, select(i,...)) - - -- add to queue of addons to be initialized upon ADDON_LOADED - tinsert(self.initializequeue, object) - return object -end - - ---- Get the addon object by its name from the internal AceAddon registry. --- Throws an error if the addon object cannot be found (except if silent is set). --- @param name unique name of the addon object --- @param silent if true, the addon is optional, silently return nil if its not found --- @usage --- -- Get the Addon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") -function AceAddon:GetAddon(name, silent) - if not silent and not self.addons[name] then - error(("Usage: GetAddon(name): 'name' - Cannot find an AceAddon '%s'."):format(tostring(name)), 2) - end - return self.addons[name] -end - --- - Embed a list of libraries into the specified addon. --- This function will try to embed all of the listed libraries into the addon --- and error if a single one fails. --- --- **Note:** This function is for internal use by :NewAddon/:NewModule --- @paramsig addon, [lib, ...] --- @param addon addon object to embed the libs in --- @param lib List of libraries to embed into the addon -function AceAddon:EmbedLibraries(addon, ...) - for i=1,select("#", ... ) do - local libname = select(i, ...) - self:EmbedLibrary(addon, libname, false, 4) - end -end - --- - Embed a library into the addon object. --- This function will check if the specified library is registered with LibStub --- and if it has a :Embed function to call. It'll error if any of those conditions --- fails. --- --- **Note:** This function is for internal use by :EmbedLibraries --- @paramsig addon, libname[, silent[, offset]] --- @param addon addon object to embed the library in --- @param libname name of the library to embed --- @param silent marks an embed to fail silently if the library doesn't exist (optional) --- @param offset will push the error messages back to said offset, defaults to 2 (optional) -function AceAddon:EmbedLibrary(addon, libname, silent, offset) - local lib = LibStub:GetLibrary(libname, true) - if not lib and not silent then - error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of %q."):format(tostring(libname)), offset or 2) - elseif lib and type(lib.Embed) == "function" then - lib:Embed(addon) - tinsert(self.embeds[addon], libname) - return true - elseif lib then - error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Library '%s' is not Embed capable"):format(libname), offset or 2) - end -end - ---- Return the specified module from an addon object. --- Throws an error if the addon object cannot be found (except if silent is set) --- @name //addon//:GetModule --- @paramsig name[, silent] --- @param name unique name of the module --- @param silent if true, the module is optional, silently return nil if its not found (optional) --- @usage --- -- Get the Addon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- -- Get the Module --- MyModule = MyAddon:GetModule("MyModule") -function GetModule(self, name, silent) - if not self.modules[name] and not silent then - error(("Usage: GetModule(name, silent): 'name' - Cannot find module '%s'."):format(tostring(name)), 2) - end - return self.modules[name] -end - -local function IsModuleTrue(self) return true end - ---- Create a new module for the addon. --- The new module can have its own embeded libraries and/or use a module prototype to be mixed into the module.\\ --- A module has the same functionality as a real addon, it can have modules of its own, and has the same API as --- an addon object. --- @name //addon//:NewModule --- @paramsig name[, prototype|lib[, lib, ...]] --- @param name unique name of the module --- @param prototype object to derive this module from, methods and values from this table will be mixed into the module (optional) --- @param lib List of libraries to embed into the addon --- @usage --- -- Create a module with some embeded libraries --- MyModule = MyAddon:NewModule("MyModule", "AceEvent-3.0", "AceHook-3.0") --- --- -- Create a module with a prototype --- local prototype = { OnEnable = function(self) print("OnEnable called!") end } --- MyModule = MyAddon:NewModule("MyModule", prototype, "AceEvent-3.0", "AceHook-3.0") -function NewModule(self, name, prototype, ...) - if type(name) ~= "string" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2) end - if type(prototype) ~= "string" and type(prototype) ~= "table" and type(prototype) ~= "nil" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'prototype' - table (prototype), string (lib) or nil expected got '%s'."):format(type(prototype)), 2) end - - if self.modules[name] then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module '%s' already exists."):format(name), 2) end - - -- modules are basically addons. We treat them as such. They will be added to the initializequeue properly as well. - -- NewModule can only be called after the parent addon is present thus the modules will be initialized after their parent is. - local module = AceAddon:NewAddon(fmt("%s_%s", self.name or tostring(self), name)) - - module.IsModule = IsModuleTrue - module:SetEnabledState(self.defaultModuleState) - module.moduleName = name - - if type(prototype) == "string" then - AceAddon:EmbedLibraries(module, prototype, ...) - else - AceAddon:EmbedLibraries(module, ...) - end - AceAddon:EmbedLibraries(module, unpack(self.defaultModuleLibraries)) - - if not prototype or type(prototype) == "string" then - prototype = self.defaultModulePrototype or nil - end - - if type(prototype) == "table" then - local mt = getmetatable(module) - mt.__index = prototype - setmetatable(module, mt) -- More of a Base class type feel. - end - - safecall(self.OnModuleCreated, self, module) -- Was in Ace2 and I think it could be a cool thing to have handy. - self.modules[name] = module - tinsert(self.orderedModules, module) - - return module -end - ---- Returns the real name of the addon or module, without any prefix. --- @name //addon//:GetName --- @paramsig --- @usage --- print(MyAddon:GetName()) --- -- prints "MyAddon" -function GetName(self) - return self.moduleName or self.name -end - ---- Enables the Addon, if possible, return true or false depending on success. --- This internally calls AceAddon:EnableAddon(), thus dispatching a OnEnable callback --- and enabling all modules of the addon (unless explicitly disabled).\\ --- :Enable() also sets the internal `enableState` variable to true --- @name //addon//:Enable --- @paramsig --- @usage --- -- Enable MyModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Enable() -function Enable(self) - self:SetEnabledState(true) - - -- nevcairiel 2013-04-27: don't enable an addon/module if its queued for init still - -- it'll be enabled after the init process - if not queuedForInitialization(self) then - return AceAddon:EnableAddon(self) - end -end - ---- Disables the Addon, if possible, return true or false depending on success. --- This internally calls AceAddon:DisableAddon(), thus dispatching a OnDisable callback --- and disabling all modules of the addon.\\ --- :Disable() also sets the internal `enableState` variable to false --- @name //addon//:Disable --- @paramsig --- @usage --- -- Disable MyAddon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:Disable() -function Disable(self) - self:SetEnabledState(false) - return AceAddon:DisableAddon(self) -end - ---- Enables the Module, if possible, return true or false depending on success. --- Short-hand function that retrieves the module via `:GetModule` and calls `:Enable` on the module object. --- @name //addon//:EnableModule --- @paramsig name --- @usage --- -- Enable MyModule using :GetModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Enable() --- --- -- Enable MyModule using the short-hand --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:EnableModule("MyModule") -function EnableModule(self, name) - local module = self:GetModule( name ) - return module:Enable() -end - ---- Disables the Module, if possible, return true or false depending on success. --- Short-hand function that retrieves the module via `:GetModule` and calls `:Disable` on the module object. --- @name //addon//:DisableModule --- @paramsig name --- @usage --- -- Disable MyModule using :GetModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Disable() --- --- -- Disable MyModule using the short-hand --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:DisableModule("MyModule") -function DisableModule(self, name) - local module = self:GetModule( name ) - return module:Disable() -end - ---- Set the default libraries to be mixed into all modules created by this object. --- Note that you can only change the default module libraries before any module is created. --- @name //addon//:SetDefaultModuleLibraries --- @paramsig lib[, lib, ...] --- @param lib List of libraries to embed into the addon --- @usage --- -- Create the addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- -- Configure default libraries for modules (all modules need AceEvent-3.0) --- MyAddon:SetDefaultModuleLibraries("AceEvent-3.0") --- -- Create a module --- MyModule = MyAddon:NewModule("MyModule") -function SetDefaultModuleLibraries(self, ...) - if next(self.modules) then - error("Usage: SetDefaultModuleLibraries(...): cannot change the module defaults after a module has been registered.", 2) - end - self.defaultModuleLibraries = {...} -end - ---- Set the default state in which new modules are being created. --- Note that you can only change the default state before any module is created. --- @name //addon//:SetDefaultModuleState --- @paramsig state --- @param state Default state for new modules, true for enabled, false for disabled --- @usage --- -- Create the addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- -- Set the default state to "disabled" --- MyAddon:SetDefaultModuleState(false) --- -- Create a module and explicilty enable it --- MyModule = MyAddon:NewModule("MyModule") --- MyModule:Enable() -function SetDefaultModuleState(self, state) - if next(self.modules) then - error("Usage: SetDefaultModuleState(state): cannot change the module defaults after a module has been registered.", 2) - end - self.defaultModuleState = state -end - ---- Set the default prototype to use for new modules on creation. --- Note that you can only change the default prototype before any module is created. --- @name //addon//:SetDefaultModulePrototype --- @paramsig prototype --- @param prototype Default prototype for the new modules (table) --- @usage --- -- Define a prototype --- local prototype = { OnEnable = function(self) print("OnEnable called!") end } --- -- Set the default prototype --- MyAddon:SetDefaultModulePrototype(prototype) --- -- Create a module and explicitly Enable it --- MyModule = MyAddon:NewModule("MyModule") --- MyModule:Enable() --- -- should print "OnEnable called!" now --- @see NewModule -function SetDefaultModulePrototype(self, prototype) - if next(self.modules) then - error("Usage: SetDefaultModulePrototype(prototype): cannot change the module defaults after a module has been registered.", 2) - end - if type(prototype) ~= "table" then - error(("Usage: SetDefaultModulePrototype(prototype): 'prototype' - table expected got '%s'."):format(type(prototype)), 2) - end - self.defaultModulePrototype = prototype -end - ---- Set the state of an addon or module --- This should only be called before any enabling actually happend, e.g. in/before OnInitialize. --- @name //addon//:SetEnabledState --- @paramsig state --- @param state the state of an addon or module (enabled=true, disabled=false) -function SetEnabledState(self, state) - self.enabledState = state -end - - ---- Return an iterator of all modules associated to the addon. --- @name //addon//:IterateModules --- @paramsig --- @usage --- -- Enable all modules --- for name, module in MyAddon:IterateModules() do --- module:Enable() --- end -local function IterateModules(self) return pairs(self.modules) end - --- Returns an iterator of all embeds in the addon --- @name //addon//:IterateEmbeds --- @paramsig -local function IterateEmbeds(self) return pairs(AceAddon.embeds[self]) end - ---- Query the enabledState of an addon. --- @name //addon//:IsEnabled --- @paramsig --- @usage --- if MyAddon:IsEnabled() then --- MyAddon:Disable() --- end -local function IsEnabled(self) return self.enabledState end -local mixins = { - NewModule = NewModule, - GetModule = GetModule, - Enable = Enable, - Disable = Disable, - EnableModule = EnableModule, - DisableModule = DisableModule, - IsEnabled = IsEnabled, - SetDefaultModuleLibraries = SetDefaultModuleLibraries, - SetDefaultModuleState = SetDefaultModuleState, - SetDefaultModulePrototype = SetDefaultModulePrototype, - SetEnabledState = SetEnabledState, - IterateModules = IterateModules, - IterateEmbeds = IterateEmbeds, - GetName = GetName, -} -local function IsModule(self) return false end -local pmixins = { - defaultModuleState = true, - enabledState = true, - IsModule = IsModule, -} --- Embed( target ) --- target (object) - target object to embed aceaddon in --- --- this is a local function specifically since it's meant to be only called internally -function Embed(target, skipPMixins) - for k, v in pairs(mixins) do - target[k] = v - end - if not skipPMixins then - for k, v in pairs(pmixins) do - target[k] = target[k] or v - end - end -end - - --- - Initialize the addon after creation. --- This function is only used internally during the ADDON_LOADED event --- It will call the **OnInitialize** function on the addon object (if present), --- and the **OnEmbedInitialize** function on all embeded libraries. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- @param addon addon object to intialize -function AceAddon:InitializeAddon(addon) - safecall(addon.OnInitialize, addon) - - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedInitialize, lib, addon) end - end - - -- we don't call InitializeAddon on modules specifically, this is handled - -- from the event handler and only done _once_ -end - --- - Enable the addon after creation. --- Note: This function is only used internally during the PLAYER_LOGIN event, or during ADDON_LOADED, --- if IsLoggedIn() already returns true at that point, e.g. for LoD Addons. --- It will call the **OnEnable** function on the addon object (if present), --- and the **OnEmbedEnable** function on all embeded libraries.\\ --- This function does not toggle the enable state of the addon itself, and will return early if the addon is disabled. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- Use :Enable on the addon itself instead. --- @param addon addon object to enable -function AceAddon:EnableAddon(addon) - if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end - if self.statuses[addon.name] or not addon.enabledState then return false end - - -- set the statuses first, before calling the OnEnable. this allows for Disabling of the addon in OnEnable. - self.statuses[addon.name] = true - - safecall(addon.OnEnable, addon) - - -- make sure we're still enabled before continueing - if self.statuses[addon.name] then - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedEnable, lib, addon) end - end - - -- enable possible modules. - local modules = addon.orderedModules - for i = 1, #modules do - self:EnableAddon(modules[i]) - end - end - return self.statuses[addon.name] -- return true if we're disabled -end - --- - Disable the addon --- Note: This function is only used internally. --- It will call the **OnDisable** function on the addon object (if present), --- and the **OnEmbedDisable** function on all embeded libraries.\\ --- This function does not toggle the enable state of the addon itself, and will return early if the addon is still enabled. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- Use :Disable on the addon itself instead. --- @param addon addon object to enable -function AceAddon:DisableAddon(addon) - if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end - if not self.statuses[addon.name] then return false end - - -- set statuses first before calling OnDisable, this allows for aborting the disable in OnDisable. - self.statuses[addon.name] = false - - safecall( addon.OnDisable, addon ) - - -- make sure we're still disabling... - if not self.statuses[addon.name] then - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedDisable, lib, addon) end - end - -- disable possible modules. - local modules = addon.orderedModules - for i = 1, #modules do - self:DisableAddon(modules[i]) - end - end - - return not self.statuses[addon.name] -- return true if we're disabled -end - ---- Get an iterator over all registered addons. --- @usage --- -- Print a list of all installed AceAddon's --- for name, addon in AceAddon:IterateAddons() do --- print("Addon: " .. name) --- end -function AceAddon:IterateAddons() return pairs(self.addons) end - ---- Get an iterator over the internal status registry. --- @usage --- -- Print a list of all enabled addons --- for name, status in AceAddon:IterateAddonStatus() do --- if status then --- print("EnabledAddon: " .. name) --- end --- end -function AceAddon:IterateAddonStatus() return pairs(self.statuses) end - --- Following Iterators are deprecated, and their addon specific versions should be used --- e.g. addon:IterateEmbeds() instead of :IterateEmbedsOnAddon(addon) -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) - -- 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) - -- this might be an issue with recursion - TODO: validate - if event == "ADDON_LOADED" then addon.baseName = arg1 end - AceAddon:InitializeAddon(addon) - tinsert(AceAddon.enablequeue, addon) - end - - if IsLoggedIn() then - while(#AceAddon.enablequeue > 0) do - local addon = tremove(AceAddon.enablequeue, 1) - AceAddon:EnableAddon(addon) - end - end - end -end - -AceAddon.frame:RegisterEvent("ADDON_LOADED") -AceAddon.frame:RegisterEvent("PLAYER_LOGIN") -AceAddon.frame:SetScript("OnEvent", onEvent) - --- upgrade embeded -for name, addon in pairs(AceAddon.addons) do - Embed(addon, true) -end - --- 2010-10-27 nevcairiel - add new "orderedModules" table -if oldminor and oldminor < 10 then - for name, addon in pairs(AceAddon.addons) do - addon.orderedModules = {} - for module_name, module in pairs(addon.modules) do - tinsert(addon.orderedModules, module) - end - end -end diff --git a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml b/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml deleted file mode 100644 index dcf24c707d..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml +++ /dev/null @@ -1,4 +0,0 @@ - -