WoWInterface SVN LanguageCycle

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 6 to Rev 5
    Reverse comparison

Rev 6 → Rev 5

trunk/LanguageCycle.lua.bak File deleted \ No newline at end of file
trunk/.pkgmeta File deleted \ No newline at end of file
trunk/LanguageCycle.lua
1,3 → 1,6
-- Language cycle script
-- Version 5.0.4.a
 
local ButtonTexture = "Interface\\Addons\\LanguageCycle\\media\\LanguageCycleIcon"
local addonName = "LanguageCycle"
 
32,7 → 35,7
LC_player_id = nil;
LC_panel_height = 0;
LC_panel_width = 0;
LC_version = "5.3.0c, by Halya, Argent Dawn, EU";
LC_version = "4.2.2, by Halya, Argent Dawn, EU";
LC_Help_Text={};
LC_Help_Text[0]="Language Cycle will respond to the following commands:";
LC_Help_Text[1]="- /lc : Toggles spoken language between racial/common";
trunk/LanguageCycle.toc
9,9 → 9,4
## X-Maintainers: Halya of Argent Dawn EU, Aenott of Earthen Ring EU.
## SavedVariables: LANGUAGE_CYCLE
 
Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua
Libs\LibDataBroker-1.1\LibDataBroker-1.1.lua
Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua
 
LanguageCycle.xml
\ No newline at end of file +LanguageCycle.xml
trunk/Libs/LibDBIcon-1.0/LibDBIcon-1.0.toc File deleted
trunk/Libs/LibDataBroker-1.1/README.textile File deleted
trunk/Libs/LibStub/LibStub.toc File deleted
trunk/Libs/LibStub/LibStub.lua
1,22 → 1,13
-- $Id: LibStub.lua 76 2007-09-03 01:50:17Z mikk $
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain
-- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
local LibStub = _G[LIBSTUB_MAJOR]
 
-- Check to see is this version of the stub is obsolete
if not LibStub or LibStub.minor < LIBSTUB_MINOR then
LibStub = LibStub or {libs = {}, minors = {} }
_G[LIBSTUB_MAJOR] = LibStub
LibStub.minor = LIBSTUB_MINOR
 
-- LibStub:NewLibrary(major, minor)
-- major (string) - the major version of the library
-- minor (string or number ) - the minor version of the library
--
-- returns nil if a newer or same version of the lib is already present
-- returns empty library object or old library object if upgrade is needed
function LibStub:NewLibrary(major, minor)
assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)")
minor = assert(tonumber(strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.")
27,12 → 18,6
return self.libs[major], oldminor
end
 
-- LibStub:GetLibrary(major, [silent])
-- major (string) - the major version of the library
-- silent (boolean) - if true, library is optional, silently return nil if its not found
--
-- throws an error if the library can not be found (except silent is set)
-- returns the library object if found
function LibStub:GetLibrary(major, silent)
if not self.libs[major] and not silent then
error(("Cannot find a library instance of %q."):format(tostring(major)), 2)
40,12 → 25,6
return self.libs[major], self.minors[major]
end
 
-- LibStub:IterateLibraries()
--
-- Returns an iterator for the currently registered libraries
function LibStub:IterateLibraries()
return pairs(self.libs)
end
 
function LibStub:IterateLibraries() return pairs(self.libs) end
setmetatable(LibStub, { __call = LibStub.GetLibrary })
end
trunk/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
1,5 → 1,5
--[[ $Id: CallbackHandler-1.0.lua 14 2010-08-09 00:43:38Z mikk $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 6
--[[ $Id: CallbackHandler-1.0.lua 895 2009-12-06 16:28:55Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 5
local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)
 
if not CallbackHandler then return end -- No upgrade needed
147,9 → 147,9
regfunc = function(...) self[method](self,...) end
end
else
-- function ref with self=object or self="addonId" or self=thread
if type(self)~="table" and type(self)~="string" and type(self)~="thread" then
error("Usage: "..RegisterName.."(self or \"addonId\", eventname, method): 'self or addonId': table or string or thread expected.", 2)
-- function ref with self=object or self="addonId"
if type(self)~="table" and type(self)~="string" then
error("Usage: "..RegisterName.."(self or \"addonId\", eventname, method): 'self or addonId': table or string expected.", 2)
end
 
if select("#",...)>=1 then -- this is not the same as testing for arg==nil!
trunk/readme.txt
1,4 → 1,4
LanguageCycle
LanguageCycle v4.2
 
 
---What this mod does---
54,7 → 54,7
/lc group
/lc guild
/lc toggle
Any of the above commands will do the same thing. Each is the same as clicking the checkbox in the pop-up panel.
Any of the above commands will do the same thing. Each is the same as clicking the checkbox in the pop-up panel (or toggling the Titan Panel auto-translate option).
 
 
To hide or show the visual UI, use:
79,3 → 79,78
At this time, there are no other known issues with either the standard WoW UI or any other third-party mods.
 
 
---Version History---
-4.2.2
Minimap icon should now save its position
Added slashcommand to hide the minimap button
LDB libs are now embedded
-4.2
Updated toc version
Added LDB support
-4.0.1
Fixed depreciated code usage and updated toc
-3.2
Updated toc version for 3.2.2. No code changes, mod still fully functional.
-3.1.0
Updated toc version for patch 3.1, mod still fully functional.
 
-3.0.3
Updated toc version and various comments/texts including this file.
 
-3.0.2d
After getting some help the default UI button works again.
 
-3.0.2c
Stripped all non-functional code to make the mod functional for Patch 3.0.2. UI functionality disabled.
 
-2.03 - Apr. 7, 2008:
Fixed an issue where Blizzard had corrected a typoed function call so LanguageCycle can find the proper function again.
 
-2.02 - Dec. 31, 2006:
Integrated the Titan panel plugin into the core (LanguageCycle) mod rather than keeping it a seperate one, for people who are directory concious.
Integrated a new FuBar plugin so LanguageCycle now supports that aswell. Added a few ACE libraries because of this integration.
Removed old additional TitanPanel plugin as it is no longer needed.
 
-2.01 - Dec. 31, 2006:
Added a few other new channels to the auto-translate feature (battlegrounds for one)
Fixed and Readded the Titanpanel plugin as it seems to be working now.
 
-2.00 - Dec. 26, 2006:
Updated for WoW client 2.x.
Changed a few inner works to ensure playing nicely with Blizzard's new protected calls.
Removed the Titanpanel plugin for now until it can be tested with 2.x.
 
-1.1.10900 - Jan. 5, 2006:
Update TOC number to 10900 for WoW client patch 1.9.0
No other changes
 
-1.1.1800 - Oct. 16, 2005:
Update TOC number to 1800 for WoW client patch 1.8.0
Added Guild Officer channel to auto-translate feature.
 
-1.1.1700 - Sept. 13, 2005:
Update TOC number to 1700 for WoW client patch 1.7.0
No other changes
 
-1.1.1600 - July 12, 2005:
Updated TOC number to 1600 for WoW client patch 1.6.0.
No other changes.
 
-1.1.1500 - June 15, 2005:
Added MyAddons support.
Added Titan Panel plugin.
 
-1.0.1 - June 7, 2005:
Updated TOC number to 1500 for WoW client patch 1.5.0.
Added Raid channel to auto-translation.
 
-1.0.0 - April 11, 2005:
First released version.
 
 
---Contact info---
 
Questions and concerns may be sent to:
aghokala@gmail.com
 
---EOF---