Commit ae012471 authored by Ivaria's avatar Ivaria
Browse files

Merge branch 'master' into wotlkc

parents 79fea5e5 29a7b320
This diff is collapsed.
......@@ -2,9 +2,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
<Script file="LibStub\LibStub.lua"/>
<Script file="LibStub\LibStub.lua" />
<Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml"/>
<Include file="Taintless\Taintless.xml" />
<Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml" />
<Include file="AceAddon-3.0\AceAddon-3.0.xml" />
<Include file="AceGUI-3.0\AceGUI-3.0.xml" />
<Include file="AceConfig-3.0\AceConfig-3.0.xml" />
......@@ -12,12 +13,12 @@
<Include file="AceLocale-3.0\AceLocale-3.0.xml" />
<Include file="AceSerializer-3.0\AceSerializer-3.0.xml" />
<Include file="AceTimer-3.0\AceTimer-3.0.xml" />
<Script file="LibDataBroker-1.1\LibDataBroker-1.1.lua"/>
<Script file="LibDataBroker-1.1\LibDataBroker-1.1.lua" />
<Include file="LibSharedMedia-3.0\lib.xml" />
<Script file="LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
<Script file="UTF8\utf8.lua" />
<Script file="UTF8\utf8data.lua" />
<Include file="LibCompress\lib.xml"/>
<Include file="LibCompress\lib.xml" />
<Script file="LibBase64-1.0\LibBase64-1.0.lua" />
<Include file="LibCustomGlow-1.0\LibCustomGlow-1.0.xml" />
<Include file="NickTag-1.0\NickTag-1.0.xml" />
......
<Ui><Script><![CDATA[--[[
TaintLess [20-10-19]
https://www.townlong-yak.com/addons/taintless
All rights reserved.
Permission is hereby granted to distribute unmodified copies of this file.
]]
local function purgeKey(t, k)
t[k] = nil
local c = 42
repeat
if t[c] == nil then
t[c] = nil
end
c = c + 1
until issecurevariable(t, k)
end
-- https://www.townlong-yak.com/bugs/Mx7CWN-RefreshOverread
if (tonumber(UIDD_REFRESH_OVERREAD_PATCH_VERSION) or 0) < 3 then
UIDD_REFRESH_OVERREAD_PATCH_VERSION = 3
hooksecurefunc("UIDropDownMenu_InitializeHelper", function()
if UIDD_REFRESH_OVERREAD_PATCH_VERSION ~= 3 then
return
end
for i=1, UIDROPDOWNMENU_MAXLEVELS do
for j=1+_G["DropDownList" .. i].numButtons, UIDROPDOWNMENU_MAXBUTTONS do
local b, _ = _G["DropDownList" .. i .. "Button" .. j]
_ = issecurevariable(b, "checked") or purgeKey(b, "checked")
_ = issecurevariable(b, "notCheckable") or purgeKey(b, "notCheckable")
end
end
end)
end
-- https://www.townlong-yak.com/bugs/Kjq4hm-DisplayModeTaint
if (tonumber(UIDROPDOWNMENU_OPEN_PATCH_VERSION) or 0) < 1 then
UIDROPDOWNMENU_OPEN_PATCH_VERSION = 1
hooksecurefunc("UIDropDownMenu_InitializeHelper", function(frame)
if UIDROPDOWNMENU_OPEN_PATCH_VERSION ~= 1 then
return
end
if UIDROPDOWNMENU_OPEN_MENU and UIDROPDOWNMENU_OPEN_MENU ~= frame
and not issecurevariable(UIDROPDOWNMENU_OPEN_MENU, "displayMode") then
purgeKey(_G, "UIDROPDOWNMENU_OPEN_MENU")
end
end)
end
-- https://www.townlong-yak.com/bugs/gXwH4P-IOFrameSelection
if (tonumber(IOFRAME_SELECTION_PATCH_VERSION) or 0) < 1 then
IOFRAME_SELECTION_PATCH_VERSION = 1
InterfaceOptionsFrame:HookScript("OnHide", function()
if IOFRAME_SELECTION_PATCH_VERSION == 1 then
InterfaceOptionsFrameCategories.selection = nil
end
end)
end
]]></Script></Ui>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment