Quantcast

Tracked down the CPU issue.

Scott Sibley [08-18-10 - 23:29]
Tracked down the CPU issue.
Filename
StarTip.lua
StarTip.toc
config.lua
embeds.xml
diff --git a/StarTip.lua b/StarTip.lua
index ab217f9..06a758d 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -192,20 +192,6 @@ do

 		return t
 	end
-	--[[
-	function StarTip.newDict(...)
-		local t = next(pool)
-		if t then
-			pool[t] = nil
-		else
-			t = {}
-		end
-		for i=1, select("#", ...), 2 do
-			t[select(i, ...)] = select(i+1, ...)
-		end
-		t.__starref__ = true
-		return t
-	end	]]
 	function StarTip.del(...)
 		local t = select(1, ...)
 		if type(t) ~= "table" or not t.__starref__ then return end
diff --git a/StarTip.toc b/StarTip.toc
index caed89d..b8510e1 100644
--- a/StarTip.toc
+++ b/StarTip.toc
@@ -8,7 +8,7 @@
 ## X-License: BSD-2.0
 ## X-Credits: ckknight for CowTip and DogTags, haste for oUF
 ## X-StarTip-Version: @project-version@
-## OptionalDeps: Ace3, LibTalentQuery-1.0, LibMobHealth-4.0, DBM-Core, BigWigs
+## OptionalDeps: Ace3, LibTalentQuery-1.0, LibMobHealth-4.0, DBM-Core, BigWigs, StarLibs-1.0
 ## SavedVariables: StarTipDB

 Localization\enUS.lua
@@ -16,8 +16,6 @@ Localization\enUS.lua
 Libs\LibStub\LibStub.lua
 Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua

-Libs\StarLibs-1.0\StarLibs-1.0.xml
-
 embeds.xml

 StarTip.lua
diff --git a/config.lua b/config.lua
index 3e4ff4f..7618363 100644
--- a/config.lua
+++ b/config.lua
@@ -1,4 +1,5 @@
 StarTip.config = [[
+
 ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG = 1, 2, 3, 4, 5, 6
 SCROLL_RIGHT, SCROLL_LEFT = 1, 2

diff --git a/embeds.xml b/embeds.xml
index 339c4df..67ef9ed 100644
--- a/embeds.xml
+++ b/embeds.xml
@@ -1,6 +1,8 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
 ..\FrameXML\UI.xsd">

+<Include file = "Libs\StarLibs-1.0\StarLibs-1.0.xml"/>
+
 <Include file = "Libs\AceAddon-3.0\AceAddon-3.0.xml"/>
 <Include file = "Libs\AceEvent-3.0\AceEvent-3.0.xml"/>
 <Include file = "Libs\AceHook-3.0\AceHook-3.0.xml"/>
@@ -11,11 +13,11 @@
 <Include file = "Libs\AceLocale-3.0\AceLocale-3.0.xml"/>
 <Include file = "Libs\AceConfig-3.0\AceConfig-3.0.xml"/>
 <Include file = "Libs\AceTimer-3.0\AceTimer-3.0.xml"/>
+
 <Include file = "Libs\LibSharedMedia-3.0\lib.xml"/>
 <Include file = "Libs\LibMobHealth-4.0\lib.xml"/>
 <Script file = "Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua"/>
 <Script file = "Libs\LibDatabroker-1.1\LibDatabroker-1.1.lua"/>
 <Script file = "Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
-<Script file = "Libs\LibQtip-1.0\LibQtip-1.0.lua"/>

 </Ui>