From b21631905b8201c50b0de38936b153084a7a304f Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 29 Aug 2012 21:58:45 +0100 Subject: [PATCH] Update libraries --- TomTom.lua | 2 +- TomTom_Corpse.lua | 2 +- TomTom_POIIntegration.lua | 2 +- TomTom_Waypoints.lua | 2 +- libs/AceConfig-3.0/AceConfig-3.0.lua | 114 +- libs/AceConfig-3.0/AceConfig-3.0.xml | 14 +- .../AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 1581 ++++---- .../AceConfigCmd-3.0/AceConfigCmd-3.0.xml | 6 +- .../AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 3887 ++++++++++---------- .../AceConfigDialog-3.0/AceConfigDialog-3.0.xml | 6 +- .../AceConfigRegistry-3.0.lua | 694 ++-- .../AceConfigRegistry-3.0.xml | 6 +- libs/AceDB-3.0/AceDB-3.0.lua | 1461 ++++---- libs/AceDB-3.0/AceDB-3.0.xml | 6 +- libs/AceDBOptions-3.0/AceDBOptions-3.0.lua | 840 ++--- libs/AceDBOptions-3.0/AceDBOptions-3.0.xml | 6 +- libs/AceEvent-3.0/AceEvent-3.0.lua | 252 +- libs/AceEvent-3.0/AceEvent-3.0.xml | 6 +- libs/AceGUI-3.0/AceGUI-3.0.lua | 1610 ++++---- libs/AceGUI-3.0/AceGUI-3.0.xml | 56 +- .../widgets/AceGUIContainer-BlizOptionsGroup.lua | 266 +- .../widgets/AceGUIContainer-DropDownGroup.lua | 314 +- libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua | 611 +-- .../widgets/AceGUIContainer-InlineGroup.lua | 204 +- .../widgets/AceGUIContainer-ScrollFrame.lua | 407 +- .../widgets/AceGUIContainer-SimpleGroup.lua | 138 +- .../widgets/AceGUIContainer-TabGroup.lua | 715 ++-- .../widgets/AceGUIContainer-TreeGroup.lua | 1414 +++---- libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 662 ++-- libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 190 +- libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua | 584 +-- .../widgets/AceGUIWidget-ColorPicker.lua | 372 +- .../widgets/AceGUIWidget-DropDown-Items.lua | 942 ++--- libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 1434 ++++---- libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 512 +-- libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 156 +- libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 288 +- .../widgets/AceGUIWidget-InteractiveLabel.lua | 202 +- .../AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 471 +-- libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 328 +- .../widgets/AceGUIWidget-MultiLineEditBox.lua | 713 ++-- libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 562 +-- libs/Astrolabe/Astrolabe.lua | 736 ++-- libs/Astrolabe/AstrolabeMapMonitor.lua | 2 +- libs/CallbackHandler-1.0/CallbackHandler-1.0.lua | 480 +-- libs/CallbackHandler-1.0/CallbackHandler-1.0.xml | 6 +- libs/LibMapData-1.0/library.lua | 55 +- 47 files changed, 11622 insertions(+), 11695 deletions(-) mode change 100644 => 100755 TomTom_Config.lua mode change 100644 => 100755 TomTom_Corpse.lua mode change 100644 => 100755 TomTom_CrazyArrow.lua mode change 100644 => 100755 TomTom_POIIntegration.lua mode change 100644 => 100755 TomTom_Waypoints.lua mode change 100644 => 100755 libs/AceConfig-3.0/AceConfig-3.0.lua mode change 100644 => 100755 libs/AceConfig-3.0/AceConfig-3.0.xml mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.xml mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.xml mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua mode change 100644 => 100755 libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.xml mode change 100644 => 100755 libs/AceDB-3.0/AceDB-3.0.lua mode change 100644 => 100755 libs/AceDB-3.0/AceDB-3.0.xml mode change 100644 => 100755 libs/AceDBOptions-3.0/AceDBOptions-3.0.lua mode change 100644 => 100755 libs/AceDBOptions-3.0/AceDBOptions-3.0.xml mode change 100644 => 100755 libs/AceEvent-3.0/AceEvent-3.0.lua mode change 100644 => 100755 libs/AceEvent-3.0/AceEvent-3.0.xml mode change 100644 => 100755 libs/AceGUI-3.0/AceGUI-3.0.lua mode change 100644 => 100755 libs/AceGUI-3.0/AceGUI-3.0.xml mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua mode change 100644 => 100755 libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua mode change 100644 => 100755 libs/Astrolabe/Astrolabe.lua mode change 100644 => 100755 libs/Astrolabe/AstrolabeMapMonitor.lua mode change 100644 => 100755 libs/Astrolabe/DongleStub.lua mode change 100644 => 100755 libs/Astrolabe/Load.xml mode change 100644 => 100755 libs/Astrolabe/lgpl.txt mode change 100644 => 100755 libs/CallbackHandler-1.0/CallbackHandler-1.0.lua mode change 100644 => 100755 libs/CallbackHandler-1.0/CallbackHandler-1.0.xml mode change 100644 => 100755 libs/LibDataBroker-1.1/LibDataBroker-1.1.lua mode change 100644 => 100755 libs/LibMapData-1.0/library.lua mode change 100644 => 100755 libs/LibStub/LibStub.lua diff --git a/TomTom.lua b/TomTom.lua index ed6dcc1..1aa8f52 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -7,7 +7,7 @@ -- Simple localization table for messages local L = TomTomLocals local ldb = LibStub("LibDataBroker-1.1") -local astrolabe = DongleStub("TTAstrolabe-1.0") +local astrolabe = DongleStub("Astrolabe-1.0") local lmd = LibStub("LibMapData-1.0") local addonName, addon = ... diff --git a/TomTom_Config.lua b/TomTom_Config.lua old mode 100644 new mode 100755 diff --git a/TomTom_Corpse.lua b/TomTom_Corpse.lua old mode 100644 new mode 100755 index 9a30acb..a5e84ca --- a/TomTom_Corpse.lua +++ b/TomTom_Corpse.lua @@ -12,7 +12,7 @@ eventFrame:RegisterEvent("PLAYER_DEAD") eventFrame:RegisterEvent("PLAYER_UNGHOST") eventFrame:Hide() -local astrolabe = DongleStub("TTAstrolabe-1.0") +local astrolabe = DongleStub("Astrolabe-1.0") -- Local variables to store map, floor, x, y and uid or corpse waypoint local m,f,x,y,uid diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua old mode 100644 new mode 100755 diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua old mode 100644 new mode 100755 index c991a26..0453fe0 --- a/TomTom_POIIntegration.lua +++ b/TomTom_POIIntegration.lua @@ -9,7 +9,7 @@ local modTbl = { } local L = TomTomLocals -local astrolabe = DongleStub("TTAstrolabe-1.0") +local astrolabe = DongleStub("Astrolabe-1.0") -- This function and the related events/hooks are used to automatically -- update the crazy arrow to the closest quest waypoint. diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua old mode 100644 new mode 100755 index 27b5755..f8a72d4 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -8,7 +8,7 @@ -- TomTom:AddZWaypoint() and TomTom:RemoveWaypoint() instead. ----------------------------------------------------------------------------]] -local astrolabe = DongleStub("TTAstrolabe-1.0") +local astrolabe = DongleStub("Astrolabe-1.0") -- Create a tooltip to be used when mousing over waypoints local tooltip = CreateFrame("GameTooltip", "TomTomTooltip", UIParent, "GameTooltipTemplate") diff --git a/libs/AceConfig-3.0/AceConfig-3.0.lua b/libs/AceConfig-3.0/AceConfig-3.0.lua old mode 100644 new mode 100755 index f4a17cb..3bedf8c --- a/libs/AceConfig-3.0/AceConfig-3.0.lua +++ b/libs/AceConfig-3.0/AceConfig-3.0.lua @@ -1,57 +1,57 @@ ---- 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 969 2010-10-07 02:11:48Z shefki $ - ---[[ -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") ---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, 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). 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 +--- 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 969 2010-10-07 02:11:48Z shefki $ + +--[[ +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") +--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, 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). 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/libs/AceConfig-3.0/AceConfig-3.0.xml b/libs/AceConfig-3.0/AceConfig-3.0.xml old mode 100644 new mode 100755 index d9eb96a..87972ad --- a/libs/AceConfig-3.0/AceConfig-3.0.xml +++ b/libs/AceConfig-3.0/AceConfig-3.0.xml @@ -1,8 +1,8 @@ - - - - - -