3.0.9-1.2.3

Details

  • Filename
    Revelation-3.0.9-1.2.3.zip
  • Uploaded by
  • Uploaded
    Mar 14, 2009
  • Size
    92.05 KB
  • Downloads
    120
  • MD5
    f2b1fd91205860a4b86f0f8d5f491a35

Supported WoW Retail Versions

  • 3.0.9

Changelog

------------------------------------------------------------------------
r86 | torhal | 2009-03-15 00:36:02 +0000 (Sun, 15 Mar 2009) | 1 line
Changed paths:
   A /tags/3.0.9-1.2.3 (from /trunk:85)

Tagging as 3.0.9-1.2.3
------------------------------------------------------------------------
r85 | torhal | 2009-03-15 00:24:46 +0000 (Sun, 15 Mar 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

In AddRecipe(): Only call AcquireTable() for sub_menu when there will actually be a sub menu.
Merged SetTradeSkill() into CraftItem(), as its functionality was only ever used there.
Re-ordered some things in a more logical manner, and grouped some functions which only ever interacted with one another into do blocks.
------------------------------------------------------------------------
r84 | torhal | 2009-03-14 22:40:40 +0000 (Sat, 14 Mar 2009) | 2 lines
Changed paths:
   M /trunk/embeds.xml

Fixed LibStub entry.

------------------------------------------------------------------------
r83 | torhal | 2009-03-14 07:11:01 +0000 (Sat, 14 Mar 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Upvalued GetSpellName().
Removed last closure from AddRecipe() - each call now generates only 0.035 KiB of garbage, no matter the number of entries in the menu.
------------------------------------------------------------------------
r82 | torhal | 2009-03-14 04:14:45 +0000 (Sat, 14 Mar 2009) | 6 lines
Changed paths:
   M /trunk/Revelation.lua

Upvalued a plethora of globals.
Added constants PROF_ENCHANTING, PROF_INSCRIPTION, PROF_RUNEFORGING rather than calling GetSpellInfo() repeatedly.
Removed several closures, thereby significantly reducing garbage generation.
Added caching for icon textures, rather than calling GetItemInfo() or GetTradeSkillIcon() repeatedly.
Added local refs where appropriate to reduce table lookups.

------------------------------------------------------------------------
r81 | torhal | 2009-03-05 23:32:18 +0000 (Thu, 05 Mar 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Replaced 7411 with ENCHANTING_IDX to make the context of some code clearer.

------------------------------------------------------------------------
r80 | torhal | 2009-03-05 23:23:35 +0000 (Thu, 05 Mar 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

EnchantLevel table is only defined if IterEnchant() is called, saving roughly 3k of memory for non-Enchanters.
Removed GetKnown() and ReleaseTables(), placing their code directly into Revelation:Menu().

------------------------------------------------------------------------
r79 | torhal | 2009-03-04 03:40:21 +0000 (Wed, 04 Mar 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Compartmentalized certain tables, variables, and functions in do blocks.
Added table-recycling to significantly reduce memory footprint.
------------------------------------------------------------------------
r77 | torhal | 2009-02-20 08:43:40 +0000 (Fri, 20 Feb 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Removed a debug print()

------------------------------------------------------------------------
r76 | torhal | 2009-02-20 08:38:08 +0000 (Fri, 20 Feb 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Added 42 enchantment IDs to the EnchantLevel table. Methinks these were the only ones missing.
------------------------------------------------------------------------
r75 | torhal | 2009-02-13 23:10:46 +0000 (Fri, 13 Feb 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Fixed parentheses in the strfind() I added in last revision.

------------------------------------------------------------------------
r74 | torhal | 2009-02-13 12:02:57 +0000 (Fri, 13 Feb 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Changed an equality check for "Weapon" to a strfind() as a possible fix for the ruRU locale.
------------------------------------------------------------------------
r71 | torhal | 2009-02-10 06:00:38 +0000 (Tue, 10 Feb 2009) | 4 lines
Changed paths:
   M /trunk/Revelation.lua

Changed how modifier keys were checked to fix a bug where setting one to NONE would evaluate as being pressed.
Added 18 enchantments to the level-checker table.
Added support for weapon and armor vellums. Translations required.

------------------------------------------------------------------------
r70 | torhal | 2009-02-10 02:41:26 +0000 (Tue, 10 Feb 2009) | 5 lines
Changed paths:
   M /trunk/Revelation.lua

Added EnchantLevel table with 68 entries to cross-reference item min-levels.
In IterTrade, IterEnchant, and Scan: Added level parameter.
Added check to ensure that 2H weapons can also be enchanted with non-2H-specific enchantments.
Added code to extract enchantment ID for use in the EnchantLevel table to make sure the weapon/armor meets the level requirements.
Converted all camelCase variables to underscore_variables.
------------------------------------------------------------------------
r69 | torhal | 2009-02-09 19:30:38 +0000 (Mon, 09 Feb 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Added INVTYPE_WEAPON to accompany INVTYPE_WEAPONMAINHAND and INVTYPE_WEAPONOFFHAND as a check to suppress two-handed weapon enchantments.
Replaced "MenuButton" with "ButtonName" in configuration menu, so the localizations will work there.

------------------------------------------------------------------------
r67 | torhal | 2009-02-09 08:45:04 +0000 (Mon, 09 Feb 2009) | 4 lines
Changed paths:
   A /trunk/Libs/LibDataBroker-1.1.lua
   M /trunk/Revelation.lua
   M /trunk/Revelation.toc

Added configuration options for primary and secondary modifier keys as well as which mouse button will display the menu.
Added LDB launcher for config panel.
Embedded LibDataBroker-1.1
New phrases for configuration need to be localized.
------------------------------------------------------------------------
r66 | torhal | 2009-02-09 08:41:50 +0000 (Mon, 09 Feb 2009) | 1 line
Changed paths:
   M /trunk/.pkgmeta
   M /trunk/embeds.xml

Added LibStub, CallbackHandler-1.0, AceDB-3.0, AceConfig-3.0
------------------------------------------------------------------------
r65 | torhal | 2009-02-09 04:22:22 +0000 (Mon, 09 Feb 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Replaced long list of amounts with an editbox stating 1 - numAvailable.

------------------------------------------------------------------------
r64 | torhal | 2009-02-08 10:24:00 +0000 (Sun, 08 Feb 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Changed "trivial", "easy", and "optimal" colors to match those in Blizzard_TradeSkillUI.lua and removed "difficult", as it doesn't exist.

------------------------------------------------------------------------
r63 | torhal | 2009-02-06 01:31:56 +0000 (Fri, 06 Feb 2009) | 2 lines
Changed paths:
   M /trunk/Localization/enUS.lua

Added fourth argument to NewLocale().

------------------------------------------------------------------------
r61 | torhal | 2009-01-26 19:24:16 +0000 (Mon, 26 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Removed tooltip scanning code in favor of having Dewdrop handle GameTooltip directly.
------------------------------------------------------------------------
r60 | torhal | 2009-01-26 11:24:31 +0000 (Mon, 26 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Added detailed tooltips for items/enchants.

------------------------------------------------------------------------
r59 | torhal | 2009-01-26 04:50:21 +0000 (Mon, 26 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Tooltips no longer show difficulty color.
Added menu icons for enchantments.

------------------------------------------------------------------------
r58 | torhal | 2009-01-25 23:32:53 +0000 (Sun, 25 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Minor tooltip display fix.
Added item icon next to recipe name where applicable.

------------------------------------------------------------------------
r56 | torhal | 2009-01-24 02:07:50 +0000 (Sat, 24 Jan 2009) | 5 lines
Changed paths:
   M /trunk/Revelation.lua

Smelting now works - I was using the spellID for Blacksmithing...
Updated some localization strings.
Added tooltip for singular crafts.
Added support for Runeforging.

------------------------------------------------------------------------
r55 | torhal | 2009-01-24 00:22:00 +0000 (Sat, 24 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Added scanning for Inscription shoulder enchants. No idea if this works, as I don't have a Scribe.
------------------------------------------------------------------------
r53 | torhal | 2009-01-23 01:00:25 +0000 (Fri, 23 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Added check on weapon type to disallow matching on INVTYPE_2HWEAPON for INVTYPE_WEAPONMAINHAND and INVTYPE_WEAPONOFFHAND.
Removed "Bracers" from equipment slot list as it is no longer needed.

------------------------------------------------------------------------
r52 | torhal | 2009-01-22 22:09:39 +0000 (Thu, 22 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Removed enchantment-parsing code to allow for easier localization. This does, however, break the distinction between "2H Weapon" and "Weapon" in English, French, and Spanish. WTB fix!
------------------------------------------------------------------------
r51 | torhal | 2009-01-21 20:08:11 +0000 (Wed, 21 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Localization/deDE.lua
   M /trunk/Localization/esES.lua
   M /trunk/Localization/esMX.lua
   M /trunk/Localization/frFR.lua
   M /trunk/Localization/koKR.lua
   M /trunk/Localization/ruRU.lua
   M /trunk/Localization/zhCN.lua
   M /trunk/Localization/zhTW.lua

Made enUS the only default locale. Damn copy/paste.

------------------------------------------------------------------------
r50 | torhal | 2009-01-21 19:26:23 +0000 (Wed, 21 Jan 2009) | 2 lines
Changed paths:
   A /trunk/Localization/deDE.lua
   M /trunk/Localization/enUS.lua
   A /trunk/Localization/esES.lua
   A /trunk/Localization/esMX.lua
   A /trunk/Localization/frFR.lua
   A /trunk/Localization/koKR.lua
   A /trunk/Localization/ruRU.lua
   A /trunk/Localization/zhCN.lua
   A /trunk/Localization/zhTW.lua
   M /trunk/Revelation.toc

Changed enUS.lua to use keyword substitutions.
Added deDE, esES, esMX, frFR, koKR, ruRU, zhCN, zhTW locale files and updates TOC to reflect this.
------------------------------------------------------------------------
r49 | torhal | 2009-01-15 21:48:50 +0000 (Thu, 15 Jan 2009) | 3 lines
Changed paths:
   M /trunk/.pkgmeta
   M /trunk/Libs
   A /trunk/Localization
   A /trunk/Localization/enUS.lua
   M /trunk/Revelation.lua
   M /trunk/Revelation.toc
   M /trunk/embeds.xml

Updated .pkgmeta and embeds.xml to include AceLocale-3.0.
Modified appropriate sections of code for localization.
Added enUS translation file.
------------------------------------------------------------------------
r47 | torhal | 2009-01-14 07:10:43 +0000 (Wed, 14 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Reverted a table change to un-break recipe menu.

------------------------------------------------------------------------
r46 | torhal | 2009-01-14 06:44:28 +0000 (Wed, 14 Jan 2009) | 4 lines
Changed paths:
   M /trunk/Revelation.lua

Made enchanting recipes not have quantity sub-menus since queuing multiple enchants is not possible.
Removed some unused locals.
More table optimizations.

------------------------------------------------------------------------
r45 | torhal | 2009-01-14 05:20:32 +0000 (Wed, 14 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Changed some table usage to minimize garbage creation.
Now using wipe() as well.

------------------------------------------------------------------------
r44 | torhal | 2009-01-14 04:36:51 +0000 (Wed, 14 Jan 2009) | 4 lines
Changed paths:
   M /trunk/Revelation.lua

Changed how enchanting recipe matches were done so that 2H weapon enchants would not match on 1H weapons.
Fixed enchanting matches to not be broken with difficulty colors.
Small refactorings.

------------------------------------------------------------------------
r43 | torhal | 2009-01-12 03:57:06 +0000 (Mon, 12 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Changed erroneous global function to a local one.
Added difficulty colors to recipe menu.

------------------------------------------------------------------------
r42 | torhal | 2009-01-09 02:20:27 +0000 (Fri, 09 Jan 2009) | 3 lines
Changed paths:
   M /trunk/.pkgmeta
   M /trunk/Revelation.lua
   M /trunk/Revelation.toc
   M /trunk/embeds.xml

Re-structured code layout.
Now using AceAddon and AceHook.

------------------------------------------------------------------------
r41 | torhal | 2009-01-06 04:11:06 +0000 (Tue, 06 Jan 2009) | 1 line
Changed paths:
   M /trunk/.pkgmeta

Changed .pkgmeta again
------------------------------------------------------------------------
r40 | torhal | 2009-01-06 04:07:32 +0000 (Tue, 06 Jan 2009) | 1 line
Changed paths:
   M /trunk/.pkgmeta
   M /trunk/embeds.xml

Updated .pkgmeta and embeds.xml
------------------------------------------------------------------------
r38 | torhal | 2009-01-06 01:00:12 +0000 (Tue, 06 Jan 2009) | 1 line
Changed paths:
   M /trunk/embeds.xml

Updated embeds.xml
------------------------------------------------------------------------
r37 | torhal | 2009-01-06 00:56:58 +0000 (Tue, 06 Jan 2009) | 2 lines
Changed paths:
   M /trunk/.pkgmeta
   D /trunk/Libs/AceLibrary
   D /trunk/Libs/Dewdrop-2.0
   D /trunk/Libs/LibStub

Updated .pkgmeta, removed embedded libs.

------------------------------------------------------------------------
r36 | torhal | 2009-01-06 00:22:48 +0000 (Tue, 06 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Completely removed frame-name-checking code. This allows clicks on silly shit but, as Shefki pointed out, prevents Revelation from breaking on an unknown bag AddOn.
------------------------------------------------------------------------
r35 | torhal | 2009-01-05 23:40:06 +0000 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Fixed Bagnon support.
Added OneBag3 support.
Further streamlining.
------------------------------------------------------------------------
r33 | torhal | 2009-01-03 03:54:52 +0000 (Sat, 03 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.toc

Updated OptDeps in TOC.

------------------------------------------------------------------------
r32 | torhal | 2009-01-02 05:52:05 +0000 (Fri, 02 Jan 2009) | 3 lines
Changed paths:
   M /trunk/Revelation.lua

Loopified a huge if-mess for frames.
Removed unnecessary top-level menu which was essentially what the user already knew: The name of the item they clicked on.

------------------------------------------------------------------------
r31 | torhal | 2009-01-02 04:19:32 +0000 (Fri, 02 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Moved a couple of variable settings to fix right-clicks from getting through.
------------------------------------------------------------------------
r29 | torhal | 2009-01-02 02:42:26 +0000 (Fri, 02 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Resolved issue with items being linked to the wrong tradeskill.

------------------------------------------------------------------------
r27 | torhal | 2009-01-01 22:50:31 +0000 (Thu, 01 Jan 2009) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Re-factored some code.
Completely converted to using spellID.
------------------------------------------------------------------------
r26 | torhal | 2009-01-01 22:06:48 +0000 (Thu, 01 Jan 2009) | 5 lines
Changed paths:
   M /trunk/Revelation.lua

Added profession scanning so Revelation knows what tradeskills the user has.
With above addition, completely removed huge if-else block of code in favor of brute-force method which works nearly as fast.
Moved "isHandled" check to fix double-scanning issue.
Made IsValidFrame() local (D'oh)
Completely re-worked menu-building so multiple tradeskills will show up for items.
------------------------------------------------------------------------
r24 | torhal | 2009-01-01 04:13:54 +0000 (Thu, 01 Jan 2009) | 4 lines
Changed paths:
   M /trunk/Revelation.lua

Added tooltips for items using GetTradeSkillDescription() which, oddly enough, apparently only works for enchantments.
Added local version of tinsert.
Minor code cleanup.

------------------------------------------------------------------------
r23 | torhal | 2009-01-01 00:08:22 +0000 (Thu, 01 Jan 2009) | 1 line
Changed paths:
   M /trunk/Revelation.lua

In Revelation:Menu(): Fixed borked IsAltKeyDown()
------------------------------------------------------------------------
r21 | torhal | 2008-12-31 18:48:29 +0000 (Wed, 31 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

In IsValidFrame(): Split the five strfind() calls into five if checks from one. No sense checking them all if one is valid.

------------------------------------------------------------------------
r20 | torhal | 2008-12-31 18:33:55 +0000 (Wed, 31 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

In IterEnchant(): Reversed strfind() arguments for correct effect.

------------------------------------------------------------------------
r18 | torhal | 2008-12-31 07:08:31 +0000 (Wed, 31 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Changed click register for trade frame button to be AnyUp, as LeftButtonUp did nothing.

------------------------------------------------------------------------
r17 | torhal | 2008-12-31 07:03:36 +0000 (Wed, 31 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Re-added hook on HandleModifiedItemClick, as this is the only way to get to the "Will not be traded" slot in trade. Since the other two hooks call this function internally, I have it check for isHandled before passing info to the menu generator.
Re-instated usage of GetMouseFocus() only for calls from HandleModifiedItemClick()
------------------------------------------------------------------------
r16 | torhal | 2008-12-30 22:10:52 +0000 (Tue, 30 Dec 2008) | 1 line
Changed paths:
   D /trunk/Libs/LibQTipClick-1.0
   M /trunk/embeds.xml

Removed all references to LibQTipClick.
------------------------------------------------------------------------
r15 | torhal | 2008-12-28 18:44:59 +0000 (Sun, 28 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Inlined some local variables, moved ATSW-handler from its own function to the Scan() function.

------------------------------------------------------------------------
r14 | torhal | 2008-12-28 17:20:17 +0000 (Sun, 28 Dec 2008) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Streamlined function hooks.
------------------------------------------------------------------------
r12 | torhal | 2008-12-28 09:04:03 +0000 (Sun, 28 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Removed a rather needless check against frame names. Fixes Baggins/Bagnon issues so Zhinjio will quit QQing - well, to prevent anyone using these or other custom bag addons from QQing...

------------------------------------------------------------------------
r11 | torhal | 2008-12-28 07:53:01 +0000 (Sun, 28 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Retooled to not rely on GetMouseFocus() due to simultaneous suggestions from Arrowmaster and ckknight.

------------------------------------------------------------------------
r10 | torhal | 2008-12-28 07:36:13 +0000 (Sun, 28 Dec 2008) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Fixing function hooks: Attempt #2 using advice from Arrowmaster and Zhinjio.
------------------------------------------------------------------------
r9 | torhal | 2008-12-28 06:26:04 +0000 (Sun, 28 Dec 2008) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Hopefully fixed errors Zhinjio was having with function hooks, courtesy of ckknight.
------------------------------------------------------------------------
r7 | torhal | 2008-12-28 02:22:05 +0000 (Sun, 28 Dec 2008) | 1 line
Changed paths:
   M /trunk/Revelation.lua

Minor code cleanup. Added pacification for AdvancedTradeSkillWindow.
------------------------------------------------------------------------
r6 | torhal | 2008-12-28 01:02:47 +0000 (Sun, 28 Dec 2008) | 2 lines
Changed paths:
   M /trunk/Revelation.lua

Fixed function hook on PaperDoll frame.

------------------------------------------------------------------------
r4 | torhal | 2008-12-26 21:12:45 +0000 (Fri, 26 Dec 2008) | 1 line
Changed paths:
   A /trunk/Libs/LibStub
   A /trunk/Libs/LibStub/LibStub.lua
   M /trunk/Revelation.toc
   M /trunk/embeds.xml

Added LibStub to Libs, modified embeds.xml and TOC
------------------------------------------------------------------------
r3 | torhal | 2008-12-26 21:05:00 +0000 (Fri, 26 Dec 2008) | 1 line
Changed paths:
   A /trunk/.pkgmeta
   A /trunk/Libs
   A /trunk/Libs/AceLibrary
   A /trunk/Libs/AceLibrary/AceLibrary.lua
   A /trunk/Libs/Dewdrop-2.0
   A /trunk/Libs/Dewdrop-2.0/Dewdrop-2.0.lua
   A /trunk/Libs/LibQTipClick-1.0
   A /trunk/Libs/LibQTipClick-1.0/LibQTip-1.0.lua
   A /trunk/Libs/LibQTipClick-1.0/LibQTipClick-1.0.lua
   A /trunk/Libs/LibQTipClick-1.0/lib.xml
   A /trunk/Revelation.lua
   A /trunk/Revelation.toc
   A /trunk/embeds.xml

Initial commit.
------------------------------------------------------------------------
r1 | root | 2008-12-26 14:56:26 +0000 (Fri, 26 Dec 2008) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"revelation/mainline: Initial Import"
------------------------------------------------------------------------

Additional Files

Type Name Size Uploaded Game Version Downloads
19.19 KB Mar 14, 2009 3.0.9 23