changeset 169:8cc187143acd

Strip out obsolete revision tracking
author Flick <flickerstreak@gmail.com>
date Tue, 19 Oct 2010 17:20:16 +0000
parents 07c76dbc0236
children 0030201b5fc2
files ReAction.lua classes/ActionButton.lua classes/BagButton.lua classes/Bar.lua classes/Button.lua classes/MultiCastButton.lua classes/Overlay.lua classes/PetActionButton.lua classes/StanceButton.lua classes/VehicleExitButton.lua modules/Action.lua modules/ConfigUI.lua modules/HideBlizzard.lua modules/PetAction.lua modules/State.lua modules/VehicleExit.lua
diffstat 16 files changed, 1 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
--- 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 } )
--- 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 ----
--- 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
--- 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
--- 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
 --
--- 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
--- 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
 --
--- 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
 --
--- 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
--- 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"
 
--- 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 )
--- 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 )
--- 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" )
--- 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 )