WoWInterface SVN NeedToKnow-Updated

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 127 to Rev 128
    Reverse comparison

Rev 127 → Rev 128

trunk/NeedToKnow/NeedToKnow.lua
111,7 → 111,7
}
-- NEEDTOKNOW = {} is defined in the localization file, which must be loaded before this file
 
NEEDTOKNOW.VERSION = "4.0.14"
NEEDTOKNOW.VERSION = "4.0.16"
local c_UPDATE_INTERVAL = 0.05
local c_MAXBARS = 20
 
307,7 → 307,7
--Chars = "Chr",
--Specs = "Spc",
--Locked = "Lck",
--name = "nam",
--name can't be compressed since it's used even when not the active profile
--nGroups = "nGr",
--Groups = "Grp",
--BarTexture = "Tex",
678,8 → 678,12
-- Some obsolete setting, or perhaps bUncompressed
return true
end
-- Never want to compress name since it's read from inactive profiles
-- Note: k was just for debugging, so it's got a leading space as part
-- of how the debugging string was built. This mechanism should probably
-- be revisited.
if type(t) ~= "table" then
return t == def
return ((k~=" name") and (t == def))
end
 
if #t > 0 then
1051,6 → 1055,8
if vS.bUncompressed then
NeedToKnow.CompressProfile(vS)
end
-- Although name should never be compressed, it could have been prior to 4.0.16
if not vS.name then vS.name = "Default" end
local cur = tonumber(iS:sub(2))
if ( cur > maxKey ) then maxKey = cur end
NeedToKnow_Profiles[iS] = vS
1061,6 → 1067,8
print("NeedToKnow error encountered, both", vS.name, "and", NeedToKnow_Profiles[iS].name, "collided. Some specs may be mapped to one that should have been mapped to the other.");
iS = NeedToKnow.AllocateProfileKey();
end
-- Although name should never be compressed, it could have been prior to 4.0.16
if not vS.name then vS.name = "Default" end
local cur = tonumber(iS:sub(2))
if ( cur > maxKey ) then maxKey = cur end
NeedToKnow_Profiles[iS] = vS
2275,7 → 2283,6
local barSpell = entry.id or entry.name
local cur, max, charge_start, recharge = GetSpellCharges(barSpell)
if ( cur ~= max ) then
trace(barSpell, cur, max, charge_start, recharge, g_GetTime()-charge_start)
local start, cd_len, enable, spellName, spellIconPath
if ( cur == 0 ) then
start, cd_len, enable, spellName, spellIconPath = mfn_GetSpellCooldown(bar, entry)
trunk/NeedToKnow/NeedToKnow.toc
1,7 → 1,7
## Interface: 050300
## Title: NeedToKnow
## Author: Kitjan, lieandswell
## Version: 4.0.14
## Version: 4.0.16
## Notes: Timer bars for buffs, debuffs, cooldowns, etc.
## X-Credits: Bilt, Fxfighter EU-Echsenkessel, metalchoir, sp00n, Vlakarados, wowui.cn
## X-Category: Buffs, Combat