# HG changeset patch # User Flick # Date 1287508816 0 # Node ID 8cc187143acdc01d63d0b218417a80b6336bb350 # Parent 07c76dbc023699070037ed2982ddedd64e4c34f9 Strip out obsolete revision tracking diff -r 07c76dbc0236 -r 8cc187143acd ReAction.lua --- a/ReAction.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/ReAction.lua Tue Oct 19 17:20:16 2010 +0000 @@ -32,7 +32,6 @@ "AceConsole-3.0", "AceEvent-3.0" ) -ReAction.revision = tonumber(("$Revision$"):match("%d+")) ------ GLOBALS ------ _G["ReAction"] = ReAction @@ -218,7 +217,7 @@ elseif option == "kb" then self:SetKeybindMode(true) else - self:Print(("%3.1f.%d"):format(version,self.revision)) + self:Print(("%3.1f"):format(version)) self:Print("/rxn config") self:Print("/rxn edit") self:Print("/rxn lock") @@ -288,12 +287,6 @@ ------ API ------ -function ReAction:UpdateRevision(str) - local revision = tonumber(str:match("%d+")) - if revision and revision > ReAction.revision then - ReAction.revision = revision - end -end function ReAction:UserError(msg) -- any user errors should be flashed to the UIErrorsFrame diff -r 07c76dbc0236 -r 8cc187143acd classes/ActionButton.lua --- a/classes/ActionButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/ActionButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -23,8 +23,6 @@ local InCombatLockdown = InCombatLockdown local HasAction = HasAction -ReAction:UpdateRevision("$Revision: 154 $") - -- -- Secure snippets -- These are run within the context of the bar's sandbox, as the diff -r 07c76dbc0236 -r 8cc187143acd classes/BagButton.lua --- a/classes/BagButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/BagButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -13,8 +13,6 @@ local PickupBagFromSlot = PickupBagFromSlot local CursorCanGoInSlot = CursorCanGoInSlot -ReAction:UpdateRevision("$Revision: 154 $") - -- class declarations local Super = ReAction.Button local BagBase = setmetatable( { }, { __index = Super } ) diff -r 07c76dbc0236 -r 8cc187143acd classes/Bar.lua --- a/classes/Bar.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/Bar.lua Tue Oct 19 17:20:16 2010 +0000 @@ -6,8 +6,6 @@ local fmod = math.fmod local format = string.format -ReAction:UpdateRevision("$Revision$") - local KB = LibStub("LibKeyBound-1.0") ---- Secure snippets ---- diff -r 07c76dbc0236 -r 8cc187143acd classes/Button.lua --- a/classes/Button.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/Button.lua Tue Oct 19 17:20:16 2010 +0000 @@ -10,8 +10,6 @@ local GetBindingKey = GetBindingKey local format = string.format -ReAction:UpdateRevision("$Revision: 154 $") - -- libraries local KB = LibStub("LibKeyBound-1.0") local LBF = LibStub("LibButtonFacade",true) -- optional diff -r 07c76dbc0236 -r 8cc187143acd classes/MultiCastButton.lua --- a/classes/MultiCastButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/MultiCastButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -20,9 +20,6 @@ local GetActionTexture = GetActionTexture local GetMultiCastTotemSpells = GetMultiCastTotemSpells -ReAction:UpdateRevision("$Revision: 154 $") - - --[[ Blizzard Constants: - NUM_MULTI_CAST_BUTTONS_PER_PAGE = 4 diff -r 07c76dbc0236 -r 8cc187143acd classes/Overlay.lua --- a/classes/Overlay.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/Overlay.lua Tue Oct 19 17:20:16 2010 +0000 @@ -20,9 +20,6 @@ local KB = LibStub("LibKeyBound-1.0") -ReAction:UpdateRevision("$Revision$") - - -- -- Wrap some of the bar manipulators to make them state-aware -- diff -r 07c76dbc0236 -r 8cc187143acd classes/PetActionButton.lua --- a/classes/PetActionButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/PetActionButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -14,8 +14,6 @@ local CooldownFrame_SetTimer = CooldownFrame_SetTimer local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor -ReAction:UpdateRevision("$Revision: 154 $") - -- -- Secure snippets -- These are run within the context of the bar's sandbox, as the diff -r 07c76dbc0236 -r 8cc187143acd classes/StanceButton.lua --- a/classes/StanceButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/StanceButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -12,8 +12,6 @@ local IsUsableSpell = IsUsableSpell local GetSpellInfo = GetSpellInfo -ReAction:UpdateRevision("$Revision: 154 $") - -- -- private -- diff -r 07c76dbc0236 -r 8cc187143acd classes/VehicleExitButton.lua --- a/classes/VehicleExitButton.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/classes/VehicleExitButton.lua Tue Oct 19 17:20:16 2010 +0000 @@ -1,8 +1,6 @@ local ReAction = ReAction local format = string.format -ReAction:UpdateRevision("$Revision: 154 $") - -- -- VExitButton Button class -- diff -r 07c76dbc0236 -r 8cc187143acd modules/Action.lua --- a/modules/Action.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/Action.lua Tue Oct 19 17:20:16 2010 +0000 @@ -5,8 +5,6 @@ local format = string.format local wipe = wipe -ReAction:UpdateRevision("$Revision$") - local weak = { __mode="k" } -- module declaration diff -r 07c76dbc0236 -r 8cc187143acd modules/ConfigUI.lua --- a/modules/ConfigUI.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/ConfigUI.lua Tue Oct 19 17:20:16 2010 +0000 @@ -11,8 +11,6 @@ local AceConfigReg = LibStub("AceConfigRegistry-3.0") local AceConfigDialog = LibStub("AceConfigDialog-3.0") -ReAction:UpdateRevision("$Revision$") - -- some constants local configName = "ReAction" diff -r 07c76dbc0236 -r 8cc187143acd modules/HideBlizzard.lua --- a/modules/HideBlizzard.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/HideBlizzard.lua Tue Oct 19 17:20:16 2010 +0000 @@ -10,8 +10,6 @@ local ReAction = ReAction local L = ReAction.L -ReAction:UpdateRevision("$Revision$") - -- module declaration local moduleID = "HideBlizzard" local module = ReAction:NewModule( moduleID ) diff -r 07c76dbc0236 -r 8cc187143acd modules/PetAction.lua --- a/modules/PetAction.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/PetAction.lua Tue Oct 19 17:20:16 2010 +0000 @@ -13,8 +13,6 @@ local CreateFrame = CreateFrame local format = string.format -ReAction:UpdateRevision("$Revision$") - -- module declaration local moduleID = "PetAction" local module = ReAction:NewModule( moduleID ) diff -r 07c76dbc0236 -r 8cc187143acd modules/State.lua --- a/modules/State.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/State.lua Tue Oct 19 17:20:16 2010 +0000 @@ -11,8 +11,6 @@ local InCombatLockdown = InCombatLockdown local RegisterStateDriver = RegisterStateDriver -ReAction:UpdateRevision("$Revision$") - -- module declaration local moduleID = "State" local module = ReAction:NewModule( moduleID, "AceEvent-3.0" ) diff -r 07c76dbc0236 -r 8cc187143acd modules/VehicleExit.lua --- a/modules/VehicleExit.lua Tue Oct 19 17:08:48 2010 +0000 +++ b/modules/VehicleExit.lua Tue Oct 19 17:20:16 2010 +0000 @@ -11,8 +11,6 @@ local ReAction = ReAction local L = ReAction.L -ReAction:UpdateRevision("$Revision: 200 $") - -- module declaration local moduleID = "VehicleExit" local module = ReAction:NewModule( moduleID )