Version 1.1.6
- bumped version for latest WotLK Classic patch - updated Ace3.0 libraries for latest WotLK Classic patch
This commit is contained in:
		| @@ -7,7 +7,7 @@ local LibStub = LibStub | ||||
| local gui = LibStub("AceGUI-3.0") | ||||
| local reg = LibStub("AceConfigRegistry-3.0") | ||||
|  | ||||
| local MAJOR, MINOR = "AceConfigDialog-3.0", 85 | ||||
| local MAJOR, MINOR = "AceConfigDialog-3.0", 86 | ||||
| local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR) | ||||
|  | ||||
| if not AceConfigDialog then return end | ||||
| @@ -147,6 +147,7 @@ local stringIsLiteral = { | ||||
| 	width = true, | ||||
| 	image = true, | ||||
| 	fontSize = true, | ||||
| 	tooltipHyperlink = true | ||||
| } | ||||
|  | ||||
| --Is Never a function or method | ||||
| @@ -501,6 +502,14 @@ local function OptionOnMouseOver(widget, event) | ||||
| 	local tooltip = AceConfigDialog.tooltip | ||||
|  | ||||
| 	tooltip:SetOwner(widget.frame, "ANCHOR_TOPRIGHT") | ||||
|  | ||||
| 	local tooltipHyperlink = GetOptionsMemberValue("tooltipHyperlink", opt, options, path, appName) | ||||
| 	if tooltipHyperlink then | ||||
| 		tooltip:SetHyperlink(tooltipHyperlink) | ||||
| 		tooltip:Show() | ||||
| 		return | ||||
| 	end | ||||
|  | ||||
| 	local name = GetOptionsMemberValue("name", opt, options, path, appName) | ||||
| 	local desc = GetOptionsMemberValue("desc", opt, options, path, appName) | ||||
| 	local usage = GetOptionsMemberValue("usage", opt, options, path, appName) | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| -- @release $Id$ | ||||
| local CallbackHandler = LibStub("CallbackHandler-1.0") | ||||
|  | ||||
| local MAJOR, MINOR = "AceConfigRegistry-3.0", 20 | ||||
| local MAJOR, MINOR = "AceConfigRegistry-3.0", 21 | ||||
| local AceConfigRegistry = LibStub:NewLibrary(MAJOR, MINOR) | ||||
|  | ||||
| if not AceConfigRegistry then return end | ||||
| @@ -83,6 +83,7 @@ local basekeys={ | ||||
| 		dialogHidden=optmethodbool, | ||||
| 		dropdownHidden=optmethodbool, | ||||
| 	cmdHidden=optmethodbool, | ||||
| 	tooltipHyperlink=optstringfunc, | ||||
| 	icon=optstringnumberfunc, | ||||
| 	iconCoords=optmethodtable, | ||||
| 	handler=opttable, | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| --[[ $Id$ ]] | ||||
| local MAJOR, MINOR = "CallbackHandler-1.0", 7 | ||||
| local MAJOR, MINOR = "CallbackHandler-1.0", 8 | ||||
| local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR) | ||||
|  | ||||
| if not CallbackHandler then return end -- No upgrade needed | ||||
| @@ -7,21 +7,16 @@ if not CallbackHandler then return end -- No upgrade needed | ||||
| local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end} | ||||
|  | ||||
| -- Lua APIs | ||||
| local error = error | ||||
| local securecallfunction, error = securecallfunction, error | ||||
| local setmetatable, rawget = setmetatable, rawget | ||||
| local next, select, pairs, type, tostring = next, select, pairs, type, tostring | ||||
|  | ||||
| local xpcall = xpcall | ||||
|  | ||||
| local function errorhandler(err) | ||||
| 	return geterrorhandler()(err) | ||||
| end | ||||
|  | ||||
| local function Dispatch(handlers, ...) | ||||
| 	local index, method = next(handlers) | ||||
| 	if not method then return end | ||||
| 	repeat | ||||
| 		xpcall(method, errorhandler, ...) | ||||
| 		securecallfunction(method, ...) | ||||
| 		index, method = next(handlers, index) | ||||
| 	until not method | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user