From 396e140102476f7340b1b384034f7381b46bf1b1 Mon Sep 17 00:00:00 2001 From: Lothar Buchholz Date: Wed, 18 Jan 2023 19:47:04 +0100 Subject: [PATCH] Version 1.1.6 - bumped version for latest WotLK Classic patch - updated Ace3.0 libraries for latest WotLK Classic patch --- CHANGELOG.md | 6 ++++++ Grichelde.toc | 4 ++-- Grichelde_Vanilla.toc | 6 ++++-- Grichelde_Wrath.toc | 4 ++-- .../AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 11 ++++++++++- .../AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua | 3 ++- Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua | 11 +++-------- 7 files changed, 29 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f75d7fe..acfceb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Version 1.1.6 - 2023-01-18 +### Changed +- bumped version for latest WotLK Classic patch +### Fixed +- updated Ace3.0 libraries for latest WotLK Classic patch + ## Version 1.1.5 - 2022-12-04 ### Fixed - updated Ace3 libraries for Dragonflight diff --git a/Grichelde.toc b/Grichelde.toc index 6e370f6..c825cc5 100644 --- a/Grichelde.toc +++ b/Grichelde.toc @@ -3,13 +3,13 @@ ## Title: Grichelde ## Notes: Replaces characters of your chat input line before sending. ## Notes-de: Ersetzt eingegebene Zeichen in der Chat-Zeile vor dem Versenden. -## Version: 1.1.5 +## Version: 1.1.6 ## Author: Teilzeit-Jedi ## eMail: tj@teilzeit-jedi.de ## X-Build: Retail ## X-Compatible: 11403 -## X-Compatible: 30400 +## X-Compatible: 30401 ## X-Curse-Project-ID: 385480 ## X-License: GPLv3 diff --git a/Grichelde_Vanilla.toc b/Grichelde_Vanilla.toc index bab7b53..5ff1ef8 100644 --- a/Grichelde_Vanilla.toc +++ b/Grichelde_Vanilla.toc @@ -3,12 +3,12 @@ ## Title: Grichelde ## Notes: Replaces characters of your chat input line before sending. ## Notes-de: Ersetzt eingegebene Zeichen in der Chat-Zeile vor dem Versenden. -## Version: 1.1.5 +## Version: 1.1.6 ## Author: Teilzeit-Jedi ## eMail: tj@teilzeit-jedi.de ## X-Build: Classic -## X-Compatible: 30400 +## X-Compatible: 30401 ## X-Compatible: 100002 ## X-Curse-Project-ID: 385480 @@ -45,3 +45,5 @@ GricheldeUpgrade.lua GricheldeOptions.lua GricheldeMinimap.lua GricheldeChat.lua + +GricheldeTest.lua \ No newline at end of file diff --git a/Grichelde_Wrath.toc b/Grichelde_Wrath.toc index 4460341..9635022 100644 --- a/Grichelde_Wrath.toc +++ b/Grichelde_Wrath.toc @@ -1,9 +1,9 @@ -## Interface: 30400 +## Interface: 30401 ## Title: Grichelde ## Notes: Replaces characters of your chat input line before sending. ## Notes-de: Ersetzt eingegebene Zeichen in der Chat-Zeile vor dem Versenden. -## Version: 1.1.5 +## Version: 1.1.6 ## Author: Teilzeit-Jedi ## eMail: tj@teilzeit-jedi.de diff --git a/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua b/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua index 7bde6c1..4446f4c 100644 --- a/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua +++ b/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua @@ -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) diff --git a/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua b/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua index 8aea52e..7d0d108 100644 --- a/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua +++ b/Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua @@ -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, diff --git a/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua index 7720b29..6a31c8a 100644 --- a/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua +++ b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua @@ -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