TBag-Shefki

20081015-242

Change log

------------------------------------------------------------------------
r242 | shefki | 2008-10-15 22:10:42 +0000 (Wed, 15 Oct 2008) | 3 lines
Changed paths:
   A /tags/20081015-242 (from /trunk:241)

- Tag 20081015-242 for release.

------------------------------------------------------------------------
r241 | shefki | 2008-10-15 22:10:07 +0000 (Wed, 15 Oct 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

- Update Changelog.txt for release.

------------------------------------------------------------------------
r240 | shefki | 2008-10-15 22:09:01 +0000 (Wed, 15 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBagItemInfo.lua

- Fix for MergeReagents error.

------------------------------------------------------------------------
r238 | shefki | 2008-10-15 19:29:25 +0000 (Wed, 15 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Changelog.txt

- Helps to use the right date in the Changelog.

------------------------------------------------------------------------
r237 | shefki | 2008-10-15 19:27:49 +0000 (Wed, 15 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Changelog.txt

- Update changelog for release, remove the beta that didn't belong on last release.

------------------------------------------------------------------------
r236 | shefki | 2008-10-15 19:26:16 +0000 (Wed, 15 Oct 2008) | 3 lines
Changed paths:
   M /trunk/TInv.lua
   M /trunk/Tokens.lua

- Hopefully avoid an issue where token update events happen before
  variables are loaded.

------------------------------------------------------------------------
r234 | shefki | 2008-10-15 00:07:30 +0000 (Wed, 15 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Changelog.txt

- Update changelog for release.

------------------------------------------------------------------------
r233 | shefki | 2008-10-15 00:06:12 +0000 (Wed, 15 Oct 2008) | 2 lines
Changed paths:
   M /trunk/localization.enUS.lua

- Don't complain about untranslated strings in release versions.

------------------------------------------------------------------------
r232 | shefki | 2008-10-07 20:53:29 +0000 (Tue, 07 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBag.toc

- Update the interface version to 30000.

------------------------------------------------------------------------
r230 | shefki | 2008-10-06 22:24:04 +0000 (Mon, 06 Oct 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

Update Changelog for release.

------------------------------------------------------------------------
r229 | shefki | 2008-10-06 22:12:43 +0000 (Mon, 06 Oct 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua

- Oops the Pet item family is 4096.  Apparently I've known this since I
  discovered this item family but wrote th code with 2048.

------------------------------------------------------------------------
r228 | dessa | 2008-10-06 21:43:28 +0000 (Mon, 06 Oct 2008) | 1 line
Changed paths:
   M /trunk/localization.deDE.lua

deDE update
------------------------------------------------------------------------
r227 | shefki | 2008-10-06 21:32:36 +0000 (Mon, 06 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Add support for Inscription Bags.

------------------------------------------------------------------------
r226 | dessa | 2008-10-06 20:35:10 +0000 (Mon, 06 Oct 2008) | 1 line
Changed paths:
   M /trunk/localization.deDE.lua
   M /trunk/localization.template.lua

update deDE and fix a tradeskill naming fail
------------------------------------------------------------------------
r225 | shefki | 2008-10-04 07:18:17 +0000 (Sat, 04 Oct 2008) | 3 lines
Changed paths:
   M /trunk/TBagTest.lua

- Add another exception to the tests for the beta realms.

------------------------------------------------------------------------
r224 | shefki | 2008-10-04 02:46:57 +0000 (Sat, 04 Oct 2008) | 3 lines
Changed paths:
   M /trunk/Buttons.lua
   M /trunk/Events.lua
   M /trunk/Hooks.lua
   M /trunk/TBag.lua
   M /trunk/TBagCmd.lua
   M /trunk/TBagItemInfo.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBnk.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/Tokens.lua
   M /trunk/Tokens.xml

- No more getglobal.  Use _G instead.  Don't use either if it's a constant.
- Upvalue _G with getfenv(0) anywhere we use it.

------------------------------------------------------------------------
r223 | shefki | 2008-10-04 01:48:16 +0000 (Sat, 04 Oct 2008) | 3 lines
Changed paths:
   M /trunk/localization.enUS.lua

- Simplify the fallback code.  The keys are always enUS so there's
  no reason to check the enUS table.  

------------------------------------------------------------------------
r222 | shefki | 2008-10-04 00:15:10 +0000 (Sat, 04 Oct 2008) | 3 lines
Changed paths:
   M /trunk/localization.deDE.lua

- Fix comment indentation in deDE that I missed.

------------------------------------------------------------------------
r221 | shefki | 2008-10-04 00:12:14 +0000 (Sat, 04 Oct 2008) | 6 lines
Changed paths:
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Rework the localization design.  enUS will always just be set to true.
  Entries set to false are untranslated and TBag will tell the translater
  to translate them.  Duplicate entries will emit warnings now.
- Remove some duplicate translations.
- Set a BOM on the localization files to force them to be recognized as Unicode.

------------------------------------------------------------------------
r220 | shefki | 2008-10-03 21:31:01 +0000 (Fri, 03 Oct 2008) | 2 lines
Changed paths:
   M /trunk/localization.template.lua

- Update localization template to fill in a value I didn't have yet.

------------------------------------------------------------------------
r219 | shefki | 2008-10-03 21:17:42 +0000 (Fri, 03 Oct 2008) | 3 lines
Changed paths:
   M /trunk/Tokens.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Alter the text and tooltip slightly for the Show on Backpack checkbox in
  the TokenUI to reflect how it impacts TBag rather than the Backpack.

------------------------------------------------------------------------
r218 | shefki | 2008-10-03 20:42:09 +0000 (Fri, 03 Oct 2008) | 3 lines
Changed paths:
   M /trunk/Events.lua
   M /trunk/TBag.lua
   M /trunk/Tokens.lua

- Cache the faction of the player
- Use the cached faction to set the icon for honor points token correctly.

------------------------------------------------------------------------
r217 | shefki | 2008-10-02 23:52:48 +0000 (Thu, 02 Oct 2008) | 5 lines
Changed paths:
   M /trunk/TBagTrade.lua

- Make TBag recognize Inscription as a Profession and not a Skill.
- Fix Profession caching to actually work in non-enUS locales.
- Fix Profession caching to work when the header for Professions
  is collapsed in the Skill tab of the character window.

------------------------------------------------------------------------
r216 | dessa | 2008-10-01 21:52:43 +0000 (Wed, 01 Oct 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

deDE update for the new beta build

------------------------------------------------------------------------
r214 | shefki | 2008-09-30 04:26:22 +0000 (Tue, 30 Sep 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

Update for Changelog for release.

------------------------------------------------------------------------
r213 | dessa | 2008-09-30 00:45:09 +0000 (Tue, 30 Sep 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

- update deDE (now even without breaking anything else :P )

------------------------------------------------------------------------
r212 | shefki | 2008-09-30 00:04:52 +0000 (Tue, 30 Sep 2008) | 2 lines
Changed paths:
   M /trunk/Tokens.lua

Deal with not showing the TokenFrame for characters we don't have a TokenCache for.

------------------------------------------------------------------------
r211 | shefki | 2008-09-29 23:43:39 +0000 (Mon, 29 Sep 2008) | 2 lines
Changed paths:
   M /trunk/Tokens.xml

Gah missed a file again.

------------------------------------------------------------------------
r210 | shefki | 2008-09-29 23:38:41 +0000 (Mon, 29 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   M /trunk/Tokens.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Tokens are now cached, watched tokens are shown when viewing another character
and tokens are now shown in the search results.

------------------------------------------------------------------------
r209 | shefki | 2008-09-29 23:36:35 +0000 (Mon, 29 Sep 2008) | 2 lines
Changed paths:
   M /trunk/defaults.lua

Really fix Engineer's ink.  Helps if you actually commit the file.

------------------------------------------------------------------------
r208 | shefki | 2008-09-29 23:34:02 +0000 (Mon, 29 Sep 2008) | 9 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Bad Dessa, run the testsuite on live and beta both...
- Fix Engineer's Ink to sort with Engineering.
- Remove duplicate Parts entries from the enUS and template locales.
- Move the Parts entry in deDE to match the position in enUS.
- Fix typoed itemid for druid reagent.
- Add test for Corpse Dust
- Add new Wrath reagent tests to the ignore list for non-Wrath clients.

------------------------------------------------------------------------
r207 | dessa | 2008-09-29 17:00:41 +0000 (Mon, 29 Sep 2008) | 4 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- update deDE
- add tests for some new reagents, excluding DK for now
- added missing string to the translation

------------------------------------------------------------------------
r206 | shefki | 2008-09-29 00:45:05 +0000 (Mon, 29 Sep 2008) | 2 lines
Changed paths:
   M /trunk/Events.lua
   M /trunk/MainFrame.lua
   M /trunk/TBagTest.lua

Couple places I missed adding the Id tag.

------------------------------------------------------------------------
r205 | shefki | 2008-09-29 00:38:34 +0000 (Mon, 29 Sep 2008) | 2 lines
Changed paths:
   M /trunk/Bindings.xml
   M /trunk/Buttons.lua
   M /trunk/Buttons.xml
   M /trunk/Changelog.txt
   M /trunk/Hooks.lua
   M /trunk/MainFrame.xml
   M /trunk/Readme.deDE.txt
   M /trunk/Readme.txt
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   M /trunk/TBagItemInfo.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTest.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/ToDo.txt
   M /trunk/Tokens.lua
   M /trunk/Tokens.xml
   M /trunk/defaults.lua
   M /trunk/dist.sh
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua
   M /trunk/scrape-wowhead.perl
   M /trunk/stub.lua

Changelog update and force fix eol-style for everything.  Tired of CRLF's.

------------------------------------------------------------------------
r204 | shefki | 2008-09-28 05:54:19 +0000 (Sun, 28 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Hide Tokens when viewing a different character for now.

------------------------------------------------------------------------
r203 | shefki | 2008-09-28 04:24:51 +0000 (Sun, 28 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add some toys I missed.

------------------------------------------------------------------------
r202 | shefki | 2008-09-28 01:37:26 +0000 (Sun, 28 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add a category for Glyphs.

------------------------------------------------------------------------
r201 | shefki | 2008-09-28 01:26:02 +0000 (Sun, 28 Sep 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Update categorization for trade skills for WoTLK.  In particular this in the
first pass at Inscription support.

------------------------------------------------------------------------
r200 | dessa | 2008-09-27 11:46:49 +0000 (Sat, 27 Sep 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

deDE update, small cosmetic fix

------------------------------------------------------------------------
r199 | shefki | 2008-09-27 07:10:14 +0000 (Sat, 27 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Don't close the menu when changing what items are shown.  Still closes for the
Player Dropdown though, because the OnHide for them closes all menus.  *sigh*

------------------------------------------------------------------------
r198 | shefki | 2008-09-27 06:56:01 +0000 (Sat, 27 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add ability to hide Tokens and have the window size and their positioning adjust
like the other UI elements.

------------------------------------------------------------------------
r197 | dessa | 2008-09-26 21:46:32 +0000 (Fri, 26 Sep 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

deDE update

------------------------------------------------------------------------
r196 | shefki | 2008-09-26 19:57:04 +0000 (Fri, 26 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add Titanium Seal of Dalaran to TOYS.

------------------------------------------------------------------------
r195 | shefki | 2008-09-26 11:04:22 +0000 (Fri, 26 Sep 2008) | 2 lines
Changed paths:
   M /trunk/MainFrame.xml
   M /trunk/TBag.toc
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   A /trunk/Tokens.lua
   A /trunk/Tokens.xml

First stab at adding tokens to the frames like the new Backpack in Wrath.

------------------------------------------------------------------------
r194 | shefki | 2008-09-26 04:53:32 +0000 (Fri, 26 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Brewfest Pony Keg and Goblin Gumbo Kettle really didn't need their own rules.

------------------------------------------------------------------------
r193 | shefki | 2008-09-25 23:45:55 +0000 (Thu, 25 Sep 2008) | 19 lines
Changed paths:
   M /trunk/Buttons.lua
   M /trunk/Events.lua
   M /trunk/Hooks.lua
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua

Deal with the changes to itemlinks.  They now have a level parameter for dealing with
Heirloom items.

* Events.lua
  Track the players level for use in itemlinks.

* TBagTest.lua
  Use level 80 for all tests.

* TBag.lua
  Search: Need the playerid in AddSearchResult for MakeHyperlink
  MakeHyperlink: Take the level for the link.
  SetInventoryItem: Add the level to the link.

* Hooks.lua
* Buttons.lua
  Use level for MakeHyperlink.

------------------------------------------------------------------------
r192 | dessa | 2008-09-25 22:22:39 +0000 (Thu, 25 Sep 2008) | 3 lines
Changed paths:
   M /trunk/localization.deDE.lua

- update deDE
- some unit tests still fail due to beeing untranslated, need to look at them again with a newer build.

------------------------------------------------------------------------
r191 | shefki | 2008-09-25 20:06:42 +0000 (Thu, 25 Sep 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagOpt.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Remove the obsolete show_blizzard_frames option completely.  It's now
cleaned from the config files as well.

------------------------------------------------------------------------
r190 | shefki | 2008-09-25 20:02:18 +0000 (Thu, 25 Sep 2008) | 4 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Revert the support for the Scourgestone that was the DeathKnight
Hearthstone that has been removed from the game.

------------------------------------------------------------------------
r189 | shefki | 2008-09-25 10:05:37 +0000 (Thu, 25 Sep 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Categorization update
  - COMBATPETS, COSTUMES, FIREWORKS and TOYS are new categories.
  - MINIPET now catches items for use with MINIPETS not just the
    pets themselves.
  - Deal with the Toasting Goblen for New Years.
  - Deal with Gumbo and Pony Kegs.

------------------------------------------------------------------------
r188 | shefki | 2008-09-25 08:40:24 +0000 (Thu, 25 Sep 2008) | 16 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagCmd.lua
   M /trunk/TBagTest.lua

Test suite improvements.

* TBagCmd.lua
  Add a new command /tbag getcat itemid usable only on Alpha or Beta versions.
  May take more than one run to actually get the category of an item if it is
  not currently in the itemcache.

* TBagTest.lua
  Add functionality to allow an item to match multiple categories.  Some items
  tooltips differ when viewing an item you don't have this deals with that.
  Add the function for the getcat command.
  Remove pointless attempts to force an item into the item cache.

* TBag.lua
  Small speed up to the tooltip scanning by using the upvalue.

------------------------------------------------------------------------
r187 | shefki | 2008-09-24 19:41:02 +0000 (Wed, 24 Sep 2008) | 2 lines
Changed paths:
   M /trunk/TBagCmd.lua
   M /trunk/TBagTest.lua

Make unit tests quieter unless asked for e.g. /tbag tests verbose

------------------------------------------------------------------------
r185 | shefki | 2008-09-23 23:27:21 +0000 (Tue, 23 Sep 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt Update for next Alpha release.

------------------------------------------------------------------------
r184 | shefki | 2008-09-23 22:57:33 +0000 (Tue, 23 Sep 2008) | 10 lines
Changed paths:
   A /trunk/.pkgmeta
   M /trunk/TBag.lua

Changes to allow curseforge to package.

* TBag.lua
  VERSION can now be set by the curseforge packager.
  The tag for a release should contain the full version wanted.

* .pkgmeta
  Instructions to tell the curseforge packager how to package
  this addon.

------------------------------------------------------------------------
r183 | dessa | 2008-09-20 09:19:26 +0000 (Sat, 20 Sep 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

update deDE

------------------------------------------------------------------------
r182 | shefki | 2008-09-20 04:01:57 +0000 (Sat, 20 Sep 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag:Stack): Function returns true if it tried to sort, false if
    it bailed early.

------------------------------------------------------------------------
r181 | shefki | 2008-09-19 21:55:45 +0000 (Fri, 19 Sep 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua

Always scan the mailbox, the count is not a reliable way to shortcircuit it.

------------------------------------------------------------------------
r180 | shefki | 2008-09-19 21:51:08 +0000 (Fri, 19 Sep 2008) | 12 lines
Changed paths:
   M /trunk/Events.lua
   M /trunk/TBag.xml

Bugfixes to the new event handling.

* Events.lua
  No reason to watch UPDATE_INVENTORY_ALERTS, we're not tracking durability.
  Should have registered MAIL_INBOX_UPDATE.
  Scan the equipment on login rather than waiting for an item to change.
  Typo, UPDATE_INVENTORY_CHANGED should be UNIT_INVENTORY_CHANGED.

* TBag.xml
  Events.lua needs to be after TBagTrade in order to have access to the
  tradeskill code.

------------------------------------------------------------------------
r179 | shefki | 2008-09-19 21:10:32 +0000 (Fri, 19 Sep 2008) | 28 lines
Changed paths:
   A /trunk/Events.lua
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/stub.lua

Rework the event handling to a single event handler rather than
split handlers for the inventory and bank windows.  This also
results in some stacking improvements.  It should remember when
we need stacking but defer it until the window is opened.

* Events.lua
  New event handler code.

* TBag.lua
  (TBag:Stack): Defer stacking if cursor has an item.

* TBnk.xml
* TInv.xml
  Remove event handler code.

* stub.lua
  (TBag): Is now a frame to get the events.

* TInv.lua
* TBnk.lua
  Remove event handler code.
  (Inv.UpdateWindow Only clear the stack_once flag when we've actually
    stacked.

* TBag.xml
  Add Events.lua

------------------------------------------------------------------------
r178 | shefki | 2008-09-19 06:52:44 +0000 (Fri, 19 Sep 2008) | 6 lines
Changed paths:
   A /trunk/MainFrame.lua
   A /trunk/MainFrame.xml

* MainFrame.lua
* MainFrame.xml
  Commit them, including the fix that always raises the frame when
  it is shown.

------------------------------------------------------------------------
r177 | shefki | 2008-09-19 06:51:45 +0000 (Fri, 19 Sep 2008) | 3 lines
Changed paths:
   M /trunk/Buttons.xml

* Buttons.xml
  (ItemAnim): Remove the Anchor it's redundent.

------------------------------------------------------------------------
r176 | shefki | 2008-08-30 07:21:05 +0000 (Sat, 30 Aug 2008) | 8 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua

Fix Raw Greater Sagefish and add to the test suite.

* TBagTest.lua
  Add to test for Raw Greater Sagefish

* defaults.lau
  Add rule to catch food marked as Trade Good that does health and mana.

------------------------------------------------------------------------
r175 | shefki | 2008-08-26 08:11:30 +0000 (Tue, 26 Aug 2008) | 6 lines
Changed paths:
   M /trunk/TBag.lua

BOE items were sometimes getting sorted in with Soulbound items.

* TBag.lua
  (TBag:SortItmCache): Be sure to always set the soulbound flag.

------------------------------------------------------------------------
r174 | shefki | 2008-08-21 21:06:35 +0000 (Thu, 21 Aug 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt Tag it with the proper release number.

------------------------------------------------------------------------
r173 | shefki | 2008-08-21 21:05:56 +0000 (Thu, 21 Aug 2008) | 4 lines
Changed paths:
   M /trunk/Bindings.xml
   A /trunk/Buttons.lua
   A /trunk/Buttons.xml
   M /trunk/Changelog.txt
   D /trunk/DAB_CooldownFont.ttf
   A /trunk/Hooks.lua (from /trunk/TInvHooks.lua:172
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   D /trunk/TBagHook.lua
   M /trunk/TBagItemInfo.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTest.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   D /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   D /trunk/TInvHooks.lua
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua
   A /trunk/stub.lua

Massive refactoring of the addon.  Should have committed sooner
but I didn't.

------------------------------------------------------------------------
r165 | shefki | 2008-06-13 00:34:49 +0000 (Fri, 13 Jun 2008) | 33 lines
Changed paths:
   M /trunk/TBag.xml
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml

Remove most of the uses of this and argn from the event handling.
Blizzard replaced this style with explicit args with 2.0 and
will be removing support for the old style with 3.0.

* TBnk.xml
* TInv.xml
* TBag.xml
  Pass pararameters and use self instead of this.

* TInv.lua
  (TInv_OnEvent): Use passed parameters.
  (TInv_StartMoving,Tinv_StopMoving): frame -> self
  (TInv_OnMouseDown): Reverse the args to match the event.
  (TInv_ItemButton_OnLeave): Use self.
  (TInv_ItemButton_OnClick): Use explicit args.
  (TInv_SlotTargetButton_OnClick): Use explicit args.
  (TInv_SlotTargetButton_OnLeave): Use self.
  (TInv_RightclickMenu_OnLoad): Use self.
  (TInv_Userdropdown_OnLoad): Use self.

* TBnk.lua
  (TBnk_OnEvent): Use passed parameters.
  (TBnk_StartMoving,TBnk_StopMoving): frame -> self
  (TBnk_OnMouseDown): Reverse the args to match the event.
  (TBnk_ItemButton_OnLeave): Use self.
  (TBnk_ItemButton_OnClick): Use explicit args.
  (TBnkFrameBagBank_OnClick): Use self.
  (TBnk_SlotTargetButton_OnClick): Use explicit args.
  (TBnk_SlotTargetButton_OnLeave): Use self.
  (TBnkFrame_RightClickMenu_OnLoad): Use self.
  (TBnk_UserDropdown_OnLoad): Use self.

------------------------------------------------------------------------
r164 | shefki | 2008-06-12 07:36:56 +0000 (Thu, 12 Jun 2008) | 9 lines
Changed paths:
   M /trunk/TBnkHooks.lua
   M /trunk/TInvHooks.lua

Remove dead hook functions.

* TBnkHooks.lua
  (TBnkHooks_ToggleDropDownMenu): No longer used.

* TInvHooks.lua
  (TInvHooks_ToggleDropDownMenU): No longer used.

------------------------------------------------------------------------
r163 | shefki | 2008-06-11 21:16:02 +0000 (Wed, 11 Jun 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt Update for release.

------------------------------------------------------------------------
r162 | shefki | 2008-06-11 21:13:16 +0000 (Wed, 11 Jun 2008) | 8 lines
Changed paths:
   M /trunk/TBagTrade.lua

Fix error with opening the Pet Training window.

* TBagTrade.lua
  (TBag_Craft): Only do translation lookups on the trade
    name when the tradename isn't nil to avoid errors
    from the Hunter Pet training window.

------------------------------------------------------------------------
r161 | shefki | 2008-05-27 23:37:14 +0000 (Tue, 27 May 2008) | 9 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/localization.enUS.lua

Prep for release 20080527-r161.

* Changelog.txt
  Set proper version.

* localization.enUS.lua
  Turn off localization debugging outside of enUS.

------------------------------------------------------------------------
r160 | shefki | 2008-05-27 23:16:54 +0000 (Tue, 27 May 2008) | 22 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInvOpts.xml
   M /trunk/localization.deDE.lua
   M /trunk/localization.template.lua

Fix \n's in patterns in the config boxes, width on buttons in config windows.
Typo in the deDE translation.  And update the locale template for the reverses.

* TBagOpt.lua
  (TBagOpt_GetItemSearch): Escape newlines.
  (TBagOpt_AssignItemSearch): UnEscape newlines.

* TBag.lua
  (TBag_EscapeNL): Function to escape newline chars.
  (TBag_UnEscapeNL): Function to remove the escaping.

* TBnkOpts.xml
* TInvOpts.xml
  Increase width of buttons for deDE.

* localization.template.lua
  Add section for reverse translations.

* localization.deDE.lua
  Fix translation of Alchemy.

------------------------------------------------------------------------
r159 | shefki | 2008-05-27 22:07:42 +0000 (Tue, 27 May 2008) | 17 lines
Changed paths:
   M /trunk/TBagItemInfo.lua
   M /trunk/TBagTrade.lua
   M /trunk/localization.deDE.lua
   M /trunk/scrape-wowhead.perl

Fix trade localization support.

* TBagItemInfo.lua
* scrape-wowhead.perl
  Remove the errant localization attempt from r158.

* localization.deDE.lua
  Add trade names reverse entries.

* TBagTrade.lua
  (TBag_GetTradeType): Always work with enUS strings now.
  (TBag_Craft) Reverse local craft name to enUS for conf file.
  (TBag_Trade) Reverse local craft name to enUS for conf file.
  (TBag_MakeTradeReagentKeywords): Localize the category name.
  (TBag_MakeAllTradeKeywords): Localize the category name.
  

------------------------------------------------------------------------
r158 | shefki | 2008-05-27 21:13:23 +0000 (Tue, 27 May 2008) | 29 lines
Changed paths:
   M /trunk/Changelog.txt
   A /trunk/Readme.deDE.txt
   M /trunk/Readme.txt
   M /trunk/TBagItemInfo.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/scrape-wowhead.perl

Variety of localization fixes and documentation typo fixes.

* defaults.lua
  Move Argent Dawn and Zandalar toekens ahead of Enchants to avoid them
    matching the deDE enchant test.
  Add some rules and types for the enchants to avoid matching recipes.

* TBagItemInfo.lua
  Localize.  Oops.

* TBagTest.lua
  Add some more enchant tests.

* Changelog.txt
  Typo fixes from Dessa.

* Readme.txt
  Typo fxies from Dessa.

* Readme.deDE.txt
  Translation from Dessa first commit.

* localization.deDE.lua
  Fixes from Dessa and myself.

* scrape-wowhead.perl
  Fix to localize the TBagItemInfo.lua file.

------------------------------------------------------------------------
r157 | shefki | 2008-05-27 19:23:33 +0000 (Tue, 27 May 2008) | 15 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Few more rule fixes.

* defaults.lua
* localization.enUS.lua
* localization.template.lua
  Pickup Gives the Imbiber as well as Allows the Imbiber.

* TBagTest.lua
  More tests.

* localization.deDE.lua
  Fix the poison and the removes effect patterns.
  Change key for imbiber change.

------------------------------------------------------------------------
r156 | shefki | 2008-05-27 10:45:45 +0000 (Tue, 27 May 2008) | 26 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Variety of sorting fixes.

* defaults.lua
  Don't be lazy actually have rules for the Hellfire PVP tokens.
  Rework the slot rules to use a leading \n instead of a trailing
    %s+.
  Reorder drink to follow combo to avoid some problems.
  Escape periods meant to be literal.

* TBagTest.lua
  Add a few more tests.

* TBag.lua
  (TBag_MakeToolTipStr): Join lines with \n instead of spaces.

* localization.enUS.lua
* localization.template.lua
  Update strings for changes above.
  Add missing Junk string.

* localization.deDE.lua
  Add missing junk string.
  Update strings for changs above.
  Fix some patterns that were wrong.

------------------------------------------------------------------------
r155 | shefki | 2008-05-27 01:13:54 +0000 (Tue, 27 May 2008) | 9 lines
Changed paths:
   M /trunk/TBag.toc
   M /trunk/localization.deDE.lua

deDE update from Dessa.

* TBag.toc
  Set the Notes-de tag.

* localization.deDE.lua
  Fixes from unit testing.

------------------------------------------------------------------------
r154 | shefki | 2008-05-26 23:14:58 +0000 (Mon, 26 May 2008) | 12 lines
Changed paths:
   M /trunk/TBagTest.lua
   M /trunk/defaults.lua

Fix enchanting mats going into Blacksmithing instead of Enchanting cat.

* defaults.lua
  Move the Blacksmithing test after the enchanting exceptions.
  Add Trade Goods, Enchanting requirements to the Shards to avoid
    avoid matching a couple blacksmithing items.

* TBagTest.lua
  Add tests for the 2 blacksmithing items and some of the enchanting
  items that were going into blacksmithing incorrectly.

------------------------------------------------------------------------
r153 | shefki | 2008-05-26 20:51:58 +0000 (Mon, 26 May 2008) | 4 lines
Changed paths:
   M /trunk/localization.deDE.lua

* localization.deDE.lua
  Update from Dessa.

------------------------------------------------------------------------
r152 | shefki | 2008-05-26 20:48:00 +0000 (Mon, 26 May 2008) | 33 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   A /trunk/TBagTest.lua
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add unit tests and fix a few sorting issues.

* TBagCmd.lua
  (TInv_cmd,TBnk_cmd): Add tests command.

* defaults.lua
  Remove Miscellaneous category from enchants to catch more of
    them.
  Remove the Uncatalogued Species test, item starts a quest so
    ends up in ACT_ON.
  Blinding Powder is gray and no longer a reagent so remove it.
  Primal Nether isn't elemental so needs its own test.

* TBagTest.lua
  First commit of unit tests.

* TBag.xml
  Add TBagTest.lua

* TBag.lua
  (TBag_UpdateHearth): Small update to deal with if a player
    doesn't exist so it doesn't throw lua errors when running
    the test harness.

* localization.enUS.lua
* localization.template.lua
  Fix a typo in EXPLOSIVES.
  Add strings for the unit tests.
  Remove Uncatalogued Species, no longer used.
  Remove Blinding Powder, no longer used.
  Add Primal Nether for new test.

------------------------------------------------------------------------
r151 | shefki | 2008-05-25 23:02:16 +0000 (Sun, 25 May 2008) | 5 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt
  Bump rev a bit.
  Fix a typo.

------------------------------------------------------------------------
r150 | shefki | 2008-05-25 22:47:39 +0000 (Sun, 25 May 2008) | 5 lines
Changed paths:
   M /trunk/TBagItemInfo.lua

* TBagItemInfo.lua
  Update from wowhead.com, mostly just a few corrections and two new
  recipes from 2.4.2.

------------------------------------------------------------------------
r149 | shefki | 2008-05-25 20:50:00 +0000 (Sun, 25 May 2008) | 4 lines
Changed paths:
   M /trunk/localization.deDE.lua

* localization.deDE.lua
  Bring it up to date with changes I just made.

------------------------------------------------------------------------
r148 | shefki | 2008-05-25 20:45:41 +0000 (Sun, 25 May 2008) | 5 lines
Changed paths:
   M /trunk/localization.deDE.lua

* localization.deDE.lua
  Add Dessa's email address.
  Merge in his changes.

------------------------------------------------------------------------
r147 | shefki | 2008-05-25 20:43:00 +0000 (Sun, 25 May 2008) | 20 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Sort fixes and removal of some unnecessary entries.

* localization.enUS.lua
* localization.template.lua
  Obsidian Warbeards -> Obsidian Warbeads
  Remove several unused entries.

* defaults.lua
  A number of items have changed from categories to Quest.
  Rabbit's Foot doesn't need a sort it's a gray item.
  Add category entries to Primal Hakkari to help DEde only pickup
    the right items.
  Add a Consumeable entry to Darkrune to pickup one of the items.
  Pages are now Quest items so don't need rules to pick them up.
  Un'Goro Soil is also a quest item now.

* Changes.txt
  Make the entry about sort changes more generic.

------------------------------------------------------------------------
r146 | shefki | 2008-05-25 09:47:12 +0000 (Sun, 25 May 2008) | 5 lines
Changed paths:
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

* localization.enUS.lua
* localization.template.lua
  Fix a typo.

------------------------------------------------------------------------
r145 | shefki | 2008-05-25 09:08:16 +0000 (Sun, 25 May 2008) | 5 lines
Changed paths:
   M /trunk/Readme.txt

* Readme.txt
  Update the todo list and the URL for tickets now that tickets
  are at curseforge instead of just curse.

------------------------------------------------------------------------
r144 | shefki | 2008-05-25 08:45:53 +0000 (Sun, 25 May 2008) | 4 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt
  Write the Changelog for the next release.

------------------------------------------------------------------------
r143 | shefki | 2008-05-25 07:49:40 +0000 (Sun, 25 May 2008) | 16 lines
Changed paths:
   M /trunk/TBag.toc
   A /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua

Commit deDE translation.

* TBag.toc
  Add the deDE translation.
  Remove the extra space after the Interface.
  Update the TOC with some optional tags.
  Add a Notes tag for deDE, still needs the German text though.

* localization.enUS.lua
  Add a comment pointing people to the template file to start
  new translations.

* localization.deDE.lua
  Initial commit of the German translation from Dessa.

------------------------------------------------------------------------
r142 | shefki | 2008-05-25 02:40:30 +0000 (Sun, 25 May 2008) | 44 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Implementing highlighting of search results and fix the spelling of
highlighting at least as much as the users can see.  "hilight.."
still is all over the code and the config but at least it doesn't
look horrid to the end user.

* TInv.xml
* TBnk.xml
  Update highlight button tooltips.

* localization.enUS.lua
* localization.template.lua
  Update strings.

* TBag.lua
  (TBag_SrchText): New variable to hold the current search text.
    Avoid calling string.lower multiple times.
    Update the windows after we're done searching.
  (TBag_ClearSearch): New function to clear the search hilighting
    and TBag_SrchText and set the text box back to the default.
  (TBag_UpdateButton): Take parameter for the search text.
    If there's search text highlight those buttons.

* TInv.lua
  (TInv_Button_HighlightToggle_OnClick):
    Add support for clearing the search if we're in search mode.
    Update the tooltip text.
  (TInv_RightClickMenu_populate): Hilight -> Highlight.
    Make the Highlight Toggle menu show as Clear Search when we're
    in search mode.  We also won't set the checkbox on it.
  (TInv_UpdateWindow): Pass TBag_SrchText to TBag_UpdateButton().

* TBag.xml
  Use TBag_ClearSearch() to reset the search text.

* TBnk.lua
  (TBnk_Button_HighlightToggle_OnClick):
    Add support for clearing the search if we're in search mode.
    Update the tooltip text.
  (TBnk_RightClickMenu_populate): Hilight -> Highlight.
    Make the Highlight Toggle menu show as Clear Search when we're
    in search mode.  We also won't set the checkbox on it.
  (TBnk_UpdateWindow): Pass TBag_SrchText to TBag_UpdateButton().
  

------------------------------------------------------------------------
r141 | shefki | 2008-05-24 21:40:43 +0000 (Sat, 24 May 2008) | 19 lines
Changed paths:
   M /trunk/TBag.xml
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml

Avoid the tooltip from the userdropdown from showing over the buttons on the right.

* TInv.xml
* TBnk.xml
  Adjust anchor offsets for the highlight button to reflect this change.

* TInv.lua
  (TInv_SetTopLeftButton_Anchors): Offset for first button changed to not overlap.
  (TInv_UserDropdown_OnLoad): Extra call to SetWidth to shave 25 width off the dropdown.

* TBag.xml
  (TBag_UserDropdownTemplate): Remove the Label layer that's never used.

* TBnk.lua
  (TBnk_SetTopLeftButton_Anchors): Offset for first button changed to not overlap.
  (TBnk_UserDropdown_OnLoad): Extra call to SetWidth to shave 25 width off the dropdown.
   

------------------------------------------------------------------------
r140 | shefki | 2008-05-24 03:57:55 +0000 (Sat, 24 May 2008) | 44 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TBnkHooks.lua
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Improve tooltip text and make tooltips that change do so after clicking
without leaving the button and coming back in.

* TInv.xml
  Various string updates.
  The MoveLock button apparently didn't have localized text.
  Remove some unnecessary button SetText calls.

* localization.enUS.lua
* localization.template.lua
  Remove unused strings.
  Change a number of strings.

* TBnk.xml
  Various string updates.
  The MoveLock button apparently didn't have localized text.
  Remove some unnecessary button SetText calls.
 
* TInv.lua
  (TInv_Button_HighlightToggle_OnClick):
    Update the tooltip if we own it.
  (TInv_Button_MoveLockToggle_OnClick):
    Update the tooltip if we own it.
  (TInvFrame_RightClickMenu_populate): Update a couple strings.
  (TInv_UserDropdown_OnLoad): Update the tooltip.

* TInvHooks.lua
  (TInv_Open): Remove unnessary SetText call.

* TBnk.lua
  (TBnk_init): Remove some unnessary SetText calls.
  (TBnk_Button_HighlightToggle_OnClick):
    Remove some unnecessary SetText calls.
    Update the tooltip if we own it.
  (TBnk_Button_ChangeEditMode_OnClick):
    Remove some unnecessary SetText calls.
  (TBnk_Button_ShowPurchase_OnClick):
    Remove some unnecessary SetText calls.
  (TBnk_Button_MoveLockToggle_OnClick);
    Update the tooltip if we own it.
  (TBnkFrame_RightClickMenu_populate): Update a couple strings.
  (TBnk_UserDropdown_OnLoad): Update the tooltip.

------------------------------------------------------------------------
r139 | shefki | 2008-05-24 01:14:46 +0000 (Sat, 24 May 2008) | 6 lines
Changed paths:
   M /trunk/TInv.xml
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

* TInv.xml
* localization.enUS.lua
* localization.template.lua
  "View Bank" -> "Toggle Bank"

------------------------------------------------------------------------
r138 | shefki | 2008-05-24 01:02:39 +0000 (Sat, 24 May 2008) | 10 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Reorder the menus to match the layout of the windows.

* TInv.lua
  (TInv_RightClickMenu_populate): Put the menus to hide things in
    the order they appear in the new layout.

* TBnk.lua
  (TBnk_RightClickMenu_populate): Put the menus to hide things in
    the order they appear in the new layout.

------------------------------------------------------------------------
r137 | shefki | 2008-05-24 00:49:28 +0000 (Sat, 24 May 2008) | 27 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml

Make the column add and decrease buttons be inside and centered on the
bottom of the window.

* TInv.xml
  (TInv_Button_ColumnsAdd,TInv_Button_ColumnsDel): Better anchors.

* TBag.lua
  (TBag_LayoutWindow): Add an extra row in edit mode for the buttons.

* TBnk.xml
  (TBnk_Button_ColumnsAdd,TInv_Button_ColumnsDel): Better anchors.

* TInv.lua
  (TInv_SetBottomLeftButton_Anchors): Leave room for the row at the
    bottom when in edit mode.
  (TInv_SetBottomRightButton_Anchors): New function to move money
    up for edit mode.
  (TInv_SetButton_Anchors): Call TInv_SetBottomRightButton_Anchors().

* TBnk.lua
  (TBnk_SetBottomLeftButton_Anchors): Leave room for the row at the
    bottom when in edit mode.
  (TBnk_SetBottomRightButton_Anchors): New function to move money
    up for edit mode.
  (TBnk_SetButton_Anchors): Call TInv_SetBottomRightButton_Anchors().

------------------------------------------------------------------------
r136 | shefki | 2008-05-23 23:40:07 +0000 (Fri, 23 May 2008) | 12 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Remove cooldown bleedthru from the current character to the character we're viewing.

* TBag.lua
  (TBag_UpdateButton): Set the cooldown to zero if viewing a cached characters
    info.  Added another parameter to say if this is an online or cached view.

* TInv.lua
  (TInv_UpdateWindow): Pass the extra parameter to TBag_UpdateButton().

* TBnk.lua
  (TBnk_UpdateWindow): Pass the extra parameter to TBag_UpdateButton().

------------------------------------------------------------------------
r135 | shefki | 2008-05-23 23:37:27 +0000 (Fri, 23 May 2008) | 4 lines
Changed paths:
   M /trunk/TBagTrade.lua

* TBagTrade.lua
  (TBag_MakeTradeCreationKeyword): Comment out the extremley chatty debug
    messages.

------------------------------------------------------------------------
r134 | shefki | 2008-05-23 22:46:50 +0000 (Fri, 23 May 2008) | 12 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Fix cooldowns.  Apparently sometimes BAG_UPDATE_COOLDOWN doesn't other to
give us an argument at all.  Ohh joy.

* TInv.lua
  (TInv_OnEvent): If there's no arg to BAG_UPDATE_COOLDOWN do a window update
    anyway.

* TBnk.lua
  (TBnk_OnEvent): If there's no arg to BAG_UPDATE_COOLDOWN do a window update
    anyway.

------------------------------------------------------------------------
r133 | shefki | 2008-05-23 22:09:19 +0000 (Fri, 23 May 2008) | 17 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add menu to set the anchor point for the window.

* localization.enUS.lua
* localization.template.lua
  Strings for the Anchor menu.

* TBag.lua
  (TBag_SetFrameAnchor): Function for the menu to call to
    set the anchors.

* TInv.lua
  (TInvFrame_RightClickMenu_populate): Add anchor menu.

* TBnk.lua
  (TBnkFrame_RightClickMenu_populate): Add anchor menu.

------------------------------------------------------------------------
r132 | shefki | 2008-05-23 19:23:19 +0000 (Fri, 23 May 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_UpdateHearth): Tighten up the match for the hearthstone some and
    also handle Ruby Slippers.

------------------------------------------------------------------------
r131 | shefki | 2008-05-23 18:45:12 +0000 (Fri, 23 May 2008) | 6 lines
Changed paths:
   M /trunk/TBag.lua

Fix another typo with r129.  *sigh*

* TBag.lua
  (TBag_ScanMail): Typo fix.

------------------------------------------------------------------------
r130 | shefki | 2008-05-23 18:37:12 +0000 (Fri, 23 May 2008) | 10 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Fix typo in r129 and the localization strings I forgot to commit.

* localization.enUS.lua
* localization.template.lua
  Add strings for Charges support.

* TBag.lua
  (TBag_ScanEquipped): Fix a typo.

------------------------------------------------------------------------
r129 | shefki | 2008-05-23 18:26:24 +0000 (Fri, 23 May 2008) | 26 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Track charges on items and display them in the tooltip when offline viewing.

* TBag.lua
  (TBAG_I_CHARGES): New key for the charge count.
  (TBag_MakeToolTipStr): Switch to using a non-inherited GameTooltip for a
      small performance gain.
    Create the tooltip frame if needed and always ClearLines().
    Update to handle slot ids and inbox items.
    Rewrite the loop as a for loop rather than a repeat until.
    No need to call Hide().
  (TBag_GetItmCharges): Find out the charges on an item from the tooltip.
  (TBag_UpdateItmCache): Grab the charges on an item and put them in the cache.
    Being careful not to chew a bunch of CPU time needlessly scanning tooltips.
  (TBag_ScanEquipped): Update to grab charges on items and cache them.
  (TBag_ScanMail): Update to grab charges on items and cache them.

* TInv.lua
  (TInv_ItemButton_OnEnter): Set the charges on the tooltip when offline viewing.

* TBag.xml
  Remove the TBag_tt from the XML, made in Lua code now.

* TBnk.lua
  (TBnk_ItemButton_OnEnter): Set the charges on the tooltip when offline viewing.

------------------------------------------------------------------------
r128 | shefki | 2008-05-23 18:04:57 +0000 (Fri, 23 May 2008) | 24 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Update tooltips on Hearthstones when offline viewing another characters
inventory or bank to show that characters bind point rather than the
current characters.

* TInv.xml
  Register to get PLAYER_LEAVING_WORLD

* localization.enUS.lua
* localization.template.lua
  Add the strings for the feature.

* TBag.lua
  (TBAG_S_HEARTH): New key to store hearth in.
  (TBag_Init): Set the hearth.
  (TBag_UpdateHearth): If we're looking at a hearthstone of another character
    update the tooltip to show the proper bind point.
  (TBag_SetInventoryItem): When setting a hyperlink be sure to update the
    bind point on hearthstones.

* TInv.lua
  (TInv_OnEvent): Process PLAYER_LEAVING_WORLD and grab the bind point
    for the character to have it cached.

------------------------------------------------------------------------
r127 | shefki | 2008-05-22 22:53:46 +0000 (Thu, 22 May 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

No longer show bars and by extension the borders on them that resulted in lines
through the window for empty bars.  This has been a long standing ugliness
issue.

* TBag.lua
  (TBag_LayoutWindow): When t

Facts

Uploaded on
15 Oct 2008
Game version
  • 3.0.2
Filename
TBag-20081015-242.zip
Size
190.4 KiB
MD5
23fed794c4ba7e18b3b376ec4ac6157a
Type
Release
Status
Normal

Authors