------------------------------------------------------------------------
r276 | shefki | 2008-11-13 01:12:40 +0000 (Thu, 13 Nov 2008) | 3 lines
Changed paths:
   A /tags/20081112-276 (from /trunk:275)

Tag 20081112-276 for release.


------------------------------------------------------------------------
r275 | shefki | 2008-11-13 01:11:18 +0000 (Thu, 13 Nov 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

- Update for release.


------------------------------------------------------------------------
r274 | shefki | 2008-11-13 01:01:00 +0000 (Thu, 13 Nov 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Fix search to not separate items by level of the character except for
  Bound to account items.

------------------------------------------------------------------------
r273 | shefki | 2008-11-12 09:11:16 +0000 (Wed, 12 Nov 2008) | 3 lines
Changed paths:
   M /trunk/Hooks.lua
   M /trunk/MainFrame.lua

- Fix the OpenAllBags hook to actually be fully implemented.
  Closes ticket 14.

------------------------------------------------------------------------
r272 | shefki | 2008-11-12 09:05:51 +0000 (Wed, 12 Nov 2008) | 2 lines
Changed paths:
   M /trunk/MainFrame.lua

- Force the window to be recalculated after bags are hidden.

------------------------------------------------------------------------
r271 | shefki | 2008-11-12 09:02:24 +0000 (Wed, 12 Nov 2008) | 3 lines
Changed paths:
   M /trunk/TBnk.lua

- Properly show items in hidden bank bags when they are clicked on.


------------------------------------------------------------------------
r270 | shefki | 2008-11-12 08:59:12 +0000 (Wed, 12 Nov 2008) | 3 lines
Changed paths:
   M /trunk/Hooks.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

- Remove more 2.4.x compatability code.


------------------------------------------------------------------------
r269 | shefki | 2008-11-12 06:48:56 +0000 (Wed, 12 Nov 2008) | 2 lines
Changed paths:
   M /trunk/Buttons.lua

- Fix a bug that caused cooldowns to remain on empty slots.

------------------------------------------------------------------------
r268 | shefki | 2008-11-11 01:53:24 +0000 (Tue, 11 Nov 2008) | 3 lines
Changed paths:
   M /trunk/TBnkOpts.lua

- Fix a bug that caused some settings to not update on the bank until it was
  closed and reopened.

------------------------------------------------------------------------
r267 | shefki | 2008-11-11 01:31:36 +0000 (Tue, 11 Nov 2008) | 3 lines
Changed paths:
   M /trunk/MainFrame.lua

- Fix ticket 16.  Temporarily turn off toplevel during drags to prevent wow freezes
  when dragging frames across other frames with a large number of children.

------------------------------------------------------------------------
r266 | shefki | 2008-11-08 03:52:14 +0000 (Sat, 08 Nov 2008) | 3 lines
Changed paths:
   M /trunk/TBnk.lua

- Fix a syntax error.


------------------------------------------------------------------------
r265 | shefki | 2008-10-27 11:14:23 +0000 (Mon, 27 Oct 2008) | 2 lines
Changed paths:
   M /trunk/defaults.lua
   M /trunk/localization.deDE.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

- Fix sorting of rogue poisons.

------------------------------------------------------------------------
r264 | shefki | 2008-10-24 20:42:23 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

- We're not a UIPanelWindow either.

------------------------------------------------------------------------
r263 | shefki | 2008-10-24 20:39:26 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBnk.xml
   M /trunk/TInv.xml

- Remove adding TBag frames to UISpecialFrames, it's pointless.

------------------------------------------------------------------------
r262 | shefki | 2008-10-24 20:36:00 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

- Update deDE

------------------------------------------------------------------------
r261 | shefki | 2008-10-24 20:35:08 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Buttons.lua
   M /trunk/Buttons.xml
   M /trunk/Hooks.lua
   M /trunk/MainFrame.xml
   M /trunk/TBag.lua
   M /trunk/TBagTest.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/Tokens.lua
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua
   M /trunk/stub.lua

- Remove 2.4.x compat code.

------------------------------------------------------------------------
r259 | shefki | 2008-10-24 08:09:32 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Changelog.txt

- Update Changelog for release.

------------------------------------------------------------------------
r258 | shefki | 2008-10-24 07:58:41 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/MainFrame.xml

- Possible fix for money type not set errors.

------------------------------------------------------------------------
r257 | shefki | 2008-10-24 07:33:42 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Buttons.lua

- Correctly hide items on bars that are configured to be hidden.

------------------------------------------------------------------------
r256 | shefki | 2008-10-24 07:12:14 +0000 (Fri, 24 Oct 2008) | 10 lines
Changed paths:
   M /trunk/TBag.lua

- Correctly hide bars that do not fit within the given number of horizontal bars.
  Note: This may very well not be the behavior that users expect.  Only the
  bars that will fit evenly in the selected number of horizontal bars is intended
  to show.  bars_visible = ceil(32/horiz_bars) * horiz_bars
  e.g. 3 horizontal bars leads  to only 30 of the maximum 32 bars visible.
  If a user has things assigned to bars 31 or 32 these items will be hidden.
  This will need to change becuase it will likely confuse the hell out of users.
  However, for the time being it's better to not have overlapping buttons and
  correct behavior even if it is confusing.

------------------------------------------------------------------------
r255 | shefki | 2008-10-24 02:26:52 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBag.lua

- Deal with corruption more gracefully in one more spot.

------------------------------------------------------------------------
r254 | shefki | 2008-10-24 02:15:33 +0000 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Buttons.lua
   M /trunk/TBag.lua

- Deal with corrupted SV files more gracefully.

------------------------------------------------------------------------
r253 | shefki | 2008-10-24 00:36:11 +0000 (Fri, 24 Oct 2008) | 4 lines
Changed paths:
   M /trunk/Buttons.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Fix the problem with keyring button positioning and hide empty keyring slots
- Relink the buttonmap for all buttons not just the ones assigned to bars
- Hide empty keyring buttons when updating the buttons per config.

------------------------------------------------------------------------
r252 | shefki | 2008-10-23 23:33:11 +0000 (Thu, 23 Oct 2008) | 2 lines
Changed paths:
   M /trunk/Buttons.lua

- Fix a small error that caused unnecessary window updates.

------------------------------------------------------------------------
r251 | shefki | 2008-10-23 21:44:35 +0000 (Thu, 23 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TInv.lua

- Remove some dead code.

------------------------------------------------------------------------
r250 | shefki | 2008-10-23 20:35:49 +0000 (Thu, 23 Oct 2008) | 3 lines
Changed paths:
   M /trunk/MainFrame.lua
   M /trunk/TBag.lua
   M /trunk/TInv.lua

- Remove code to change the default keybindings as it is really unnecessary now.


------------------------------------------------------------------------
r249 | shefki | 2008-10-23 20:26:17 +0000 (Thu, 23 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBnkOpts.xml
   M /trunk/TInvOpts.xml

- Fix Assign Cats button under Advanced Config.  It was erroring out.

------------------------------------------------------------------------
r248 | shefki | 2008-10-20 23:43:54 +0000 (Mon, 20 Oct 2008) | 3 lines
Changed paths:
   M /trunk/TBagTest.lua

- Remove some more lines that were there for Silver Ink.
- Add a way to have tests that only run on actual beta servers.

------------------------------------------------------------------------
r247 | dessa | 2008-10-20 23:26:42 +0000 (Mon, 20 Oct 2008) | 2 lines
Changed paths:
   M /trunk/localization.deDE.lua

update deDE

------------------------------------------------------------------------
r246 | shefki | 2008-10-20 23:20:20 +0000 (Mon, 20 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBagTest.lua

- Remove Silver Ink since it was removed from the game.

------------------------------------------------------------------------
r245 | shefki | 2008-10-20 20:42:12 +0000 (Mon, 20 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBag.lua

- Missed IN_INSC_BAG bar assignment as well.

------------------------------------------------------------------------
r244 | shefki | 2008-10-20 20:18:53 +0000 (Mon, 20 Oct 2008) | 2 lines
Changed paths:
   M /trunk/TBag.lua

- Fix for Inscription Bag bug.  Forgot to add a category for them.

------------------------------------------------------------------------
r243 | shefki | 2008-10-20 05:03:53 +0000 (Mon, 20 Oct 2008) | 2 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 Rickety Magic Broom to MOUNTS.

------------------------------------------------------------------------
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 the bar has no buttons in it don't draw it
    except of course in edit mode.

------------------------------------------------------------------------
r126 | shefki | 2008-05-22 21:55:25 +0000 (Thu, 22 May 2008) | 47 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml

Update the Bank to have the same UI layout and functionality as given to the
Inventory window.  Additionally the bank has been setup to no longer allow
buttons on the bottom row to overlap by making a second row for the slow
purchase controls and/or the bag buttons if the number of columns is set
low enough.

* TBag.lua
  (TBag_LayoutWindow): Properly calculate the amount of padding needed for the 
    window based on control visibility and anchoring.

* TBnk.xml
  (TBnk_Button_Close): Convert to graphical button and move to top right.
  (TBnk_Button_MoveLockToggle): Convert to graphical button and move to top right.
  (TBnk_UserDropdown): Move up higher in the xml to allow the anchoring we need
    as well as moving the dropdown inside the topleft of the window.
  (TBnk_Button_HighlightToggle): Convert to graphic button.
  (TBnk_Button_ChangeEditMode): Convert to graphic button.
  (TBnk_Button_ShowPurchase): Convert to graphic button.
  (TBnk_Button_Reload): Convert to graphic button.
  (TBnk_Button_Reload): Convert to graphic button.
  (TBnk_SlotcostFrame): Adjust anchoring for new layout.
  (TBnk_PurchaseButton): Adjust size to match Blizzard UI by default and via
    and an OnLoad handler.

* TBnk.xml
  (TBNK_BUTTONS): Unneeded variable.
  (TBnk_init): Remove setting button text and replace with graphics.
    Actually hide the bag buttons on load.  Oops.
  (TBnk_Button_ShowPurchase_OnClick): Need to call TBnk_SetButton_Anchors to
    handle if the purchase controls need an extra row.
  (TBnk_Button_MoveLockToggle_OnClick): Convert text names to graphic changes.
  (TBnk_SetTopLeftButton_Anchors): New function to handle the buttons in the top
    left of the window.
  (TBnk_SetTopRightButton_Anchors): New function to handle the buttons in the top
    right of the window.
  (TBnk_SetBottomLeftButton_Anchors): New function to handle the buttons in the
    bottom left of the window.
  (TBnk_SetButton_Anchors): Just call the other setbutton functions and then call
    TBag_LayoutWindow to force the window size to adjust.
  (TBnk_Toggle_CloseButton): Needs to call TBnk_SetButton_Anchors().
  (TBnk_Toggle_Money): Needs to call TBnk_SetButton_Anchors().
  (TBnk_Toggle_BagSlotButtons): Needs to call TBnk_SetButton_Anchors().
  (TBnk_Toggle_Total): Needs to call TBnk_SetButton_Anchors().
  (TBnk_Toggle_Purchase): Should only show the purchase controls when we're not
    at the bank and not full already.  Oops. 


------------------------------------------------------------------------
r125 | shefki | 2008-05-19 21:39:58 +0000 (Mon, 19 May 2008) | 62 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBnkHooks.lua
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/images/ButtonBkgr.tga
   A /trunk/images/LockButton-Locked-Down.blp
   A /trunk/images/LockButton-Locked-Up.blp
   A /trunk/images/LockButton-Unlocked-Down.blp
   A /trunk/images/LockButton-Unlocked-Up.blp

Rework the UI on the Inventory window.  Buttons are now in more logical places.
Search is at the bottom.  Hiding buttons now removes the padding for them.
Text buttons are replaced with graphics.

* TInv.xml
  (TInv_Button_Close): Move to the top right and use the Blizzard graphic.
  (TInv_Button_MoveLockToggle): Move to the top right and use the graphic
    copied from Atlas with permission per the email from Daniel Gilbert
    on May 16, 2008.
  (TInv_UserDropdown): Move up in the XML file for anchoring reasons,
    Anchors in the top left corner of the window as opposed to outside
    the window.
  (TInv_Button_ChangeEditMode): Convert to graphical button using an ingame icon.
  (TInv_Button_ShowBank): Convert to graphical button using an ingame icon.
  (TInv_Button_Reload): Convert to graphical button using an ingame icon.
  (TInv_Button_SearchBox): Move to the bottom left of the window, also no
    longer outside the window.  The new position creates a new anchoring.

* TBnkHooks.lua
  (TBnk_Open,TBnk_Close): Remove unnessary calls to TInv_SynchShowBank since
    there is no longer a text button.

* TBag.lua
  (TBAG_PAD_BOTTOM_SEARCH,TBAG_PAD_BOTTOM_SPACER): New globals for determining
    padding for controls at the bottom of the window.
  (TBag_LayoutWindow):  Support removing the padding for controls if they're
    hidden.  Only implemented for Inventory window atm.

* TInv.lua
  (TINV_BUTTONS): No longer needed.
  (TInv_init): Remove initialization of text buttons and replace them with the
    proper SetTexture calls.
  (TInv_SynchShowBank): Removed since it's no longer needed.
  (TInv_Button_ShowBank_OnClick): Remove call to TInv_SynchShowBank.
  (TInv_Button_MoveLockToggle_OnClick): Set textures instead of text.
  (TInv_SetTopLeftButton_Anchors): Handle anchoring for top left buttons.
  (TInv_SetTopRightButton_Anchors): Handle anchoring for top right buttons.
  (TInv_SetBottomLeftButton_Anchors): Handle anchoring for bottom left buttons.
  (TInv_SetButton_Anchors): Call the new anchor functions and then redo the
    window layout to allow resizing based on hidden frames.
  (TInv_Toggle_SearchBox): Have to call TInv_SetButton_Anchors for this toggle now.
  (TInv_Toggle_UserDropdown): Have to call TInv_SetButton_Anchors for this toggle now.
  (TInv_Toggle_Money): Have to call TInv_SetButton_Anchors for this toggle now.
  (TInv_Toggle_BagSlotButtons): Have to call TInv_SetButton_Anchors for this toggle now.
  (TInv_Toggle_Total): Have to call TInv_SetButton_Anchors for this toggle now.
  (TInv_UpdateWindow): No longer need to call TInv_SynchShowBank().

* images/LockButton-Locked-Up.blp
* images/LockButton-Locked-Down.blp
* images/LockButton-Unlocked-Up.blp
* images/LockButton-Unlocked-Down.blp
  Lock and unlock images added with permission from Daniel Gilbert via email
  on May 16, 2008.

* images/ButtonBkgr.tga
  Set the mime-type to image/x-tga

* TBag.xml
  (TBag_SearchBoxTemplate): Increase the width of the serach box to 190 to
    be more visually appealing.


------------------------------------------------------------------------
r124 | shefki | 2008-05-19 21:11:55 +0000 (Mon, 19 May 2008) | 6 lines
Changed paths:
   M /trunk/TBag.xml
   A /trunk/images (from /trunk/skin:123)
   D /trunk/skin

Rename skin to images.

* TBag.xml
  Change reference to file in skin to images.


------------------------------------------------------------------------
r123 | shefki | 2008-05-16 22:07:33 +0000 (Fri, 16 May 2008) | 6 lines
Changed paths:
   M /trunk/TInv.lua

Another one bites the dust, more uunnecessary variables.

* Tinv.lua
  (TINV_FRAMENAME,TINV_SLOTTARGET): Unused.


------------------------------------------------------------------------
r122 | shefki | 2008-05-16 22:01:41 +0000 (Fri, 16 May 2008) | 8 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Remove some unnecessary and unused constants.

* TInv.lua
  (TINV_PAD_TOP_GFX,TINV_PAD_TOP_NORM,TINV_BORDER): Unused goodbye.

* TBnk.lua
  (TBNK_PAD_TOP_GFX,TBNK_PAD_TOP_NORM,TBNK_BORDER): Unused goodbye.

------------------------------------------------------------------------
r121 | shefki | 2008-05-16 21:19:15 +0000 (Fri, 16 May 2008) | 7 lines
Changed paths:
   M /trunk/TBag.lua

Do not try to put quivers inside other quivers.

* TBag.lua
  (TBag_InsertItemInCompArr,TBag_Stack): Items of type Quiver also
    return the type of item they hold not just Containers (oops).


------------------------------------------------------------------------
r120 | shefki | 2008-05-16 21:12:28 +0000 (Fri, 16 May 2008) | 12 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Handle class names properly for localization.

* localization.enUS.lua
* localization.template.lua
  Remove the mixed case class names that aren't used anyway.

* TBag.lua
  (TBag_SetClassCats): The class names we store from UnitClass aren't 
    localized by the game.  So we have to do so for the categories ourselves.



------------------------------------------------------------------------
r119 | shefki | 2008-04-22 02:13:55 +0000 (Tue, 22 Apr 2008) | 50 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Fix the ability to categorize individual items in edit mode by right clicking on them.

* TInv.xml
* TBnk.xml
  Add a _EditButton frame that will be shown only when in edit mode.  This lets us
  intercept clicks without causing tainting issues while in edit mode.

* localization.enUS.lua
* localization.template.lua
  Add strings for the tooltips.
  In the enUS file remove an extra space.

* TBag.lua
  (TBag_GetItmFromFrame): Rework to deal with finding the itm from the EditButtons.
    Function now takes the actual frame as a parameter not the name.
  (TBag_UpdateButton): Show the EditButton frame when in edit mode and hide it otherwise.
  
* TInv.lua
  (TInv_ItemButton_OnEnter): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
    Turn on the tooltip additions again with modifications for localization
      and some fixes.
    Remove a redundent test for edit mode and move the function call above.
    Be sure to call GameTooltip:Show() so the tooltip size gets calculated.
  (TInv_ItemButton_OnLeave): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
  (TInv_ItemButton_OnClick): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
    After reassinging a category UpdateWindow needs to be called with 
      TBAG_REQ_MUST.

* TInvHooks.lua
  (TInvHooks_ContainerFrameItemButton_OnModifiedClick): Update to use to new
     calling mechanism for TBag_GetItmFromFrame.
 
* TBnk.lua
  (TBnk_ItemButton_OnEnter): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
    Turn on the tooltip additions again with modifications for localization
      and some fixes.
    Remove a redundent test for edit mode and move the function call above.
    Be sure to call GameTooltip:Show() so the tooltip size gets calculated.
  (TBnk_ItemButton_OnLeave): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
  (TBnk_ItemButton_OnClick): Update to use to new calling mechanism for
      TBag_GetItmFromFrame.
    After reassinging a category UpdateWindow needs to be called with 
      TBAG_REQ_MUST.


------------------------------------------------------------------------
r118 | shefki | 2008-04-22 00:37:02 +0000 (Tue, 22 Apr 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Fix a performance issue with the bank in edit mode.  We were forcing a resort
everytime we moused over a button while in edit mode.  Which was utterly 
unnecessary.

* TBag.lua
  (TBag_UpdateItmCache): When not at the bank return TBAG_REQ_NONE.


------------------------------------------------------------------------
r117 | shefki | 2008-04-20 22:48:43 +0000 (Sun, 20 Apr 2008) | 8 lines
Changed paths:
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

* defaults.lua
  Fix default sort for Netherwing Crystal there's no plural in the in-game name.

* localization.enUS.lua
* localization.template.lua
  Fix the localization strings too.


------------------------------------------------------------------------
r116 | shefki | 2008-04-03 07:49:37 +0000 (Thu, 03 Apr 2008) | 8 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Two more unused functions removed.

* TInv.lua
  (TInv_RightClick_PickupItem): unused, removed.

* TBnk.lua
  (TBnk_RightClick_PickupItem): unused, removed.

------------------------------------------------------------------------
r115 | shefki | 2008-04-03 07:47:44 +0000 (Thu, 03 Apr 2008) | 9 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Remove two unused functions

* TInv.lua
  (TInv_UserDropdown_GetValue): unused, removed.

* TBnk.lua
  (TBnk_UserDropdown_GetValue): unused, removed.


------------------------------------------------------------------------
r114 | shefki | 2008-04-01 01:37:59 +0000 (Tue, 01 Apr 2008) | 4 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt
  Write entry for 20080331-r114.


------------------------------------------------------------------------
r113 | shefki | 2008-03-30 01:40:01 +0000 (Sun, 30 Mar 2008) | 9 lines
Changed paths:
   M /trunk/defaults.lua

Add rules to allow Nightmare Seed and Giant Sunfish to sort into 
BUFF and HEALTH_RESTORE respectively.  Both are in Trade Goods even
though they're really a Consumeable.  /sigh at Blizzard's inconsistent
categorization.

* defaults.lua
  Two new rules.


------------------------------------------------------------------------
r112 | shefki | 2008-03-30 01:22:38 +0000 (Sun, 30 Mar 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Fix a possible odd race condition. Seems that the Item Family for an item may not
ben in the item cache yet for an item you just received.

* TBag.lua
  (TBag_InsertItemInCompArr): Check for nil itmfamily which implies the game doesn't
    know which itmfamily something is.


------------------------------------------------------------------------
r111 | shefki | 2008-03-28 07:18:23 +0000 (Fri, 28 Mar 2008) | 5 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua 
  Avoid possible taint issues for the workaround for FluidFrames.  Borrowed from
  code posted by sag_ich_nicht on the EngBags curse page.


------------------------------------------------------------------------
r110 | shefki | 2008-03-25 22:03:48 +0000 (Tue, 25 Mar 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt
  Update changelog for 20080325-r110 release.

------------------------------------------------------------------------
r109 | shefki | 2008-03-25 21:40:05 +0000 (Tue, 25 Mar 2008) | 7 lines
Changed paths:
   M /trunk/scrape-wowhead.perl

Remove code that generates TBag_ContainterItems{} as it is uneeded now.

* scrap-wowhead.perl
  (%bag_types,%TBag_ContainerItems,%output_containter_items,handle_bag_type,
   scrape_container_items): Remove they are obsolete.


------------------------------------------------------------------------
r108 | shefki | 2008-03-25 21:35:18 +0000 (Tue, 25 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBagItemInfo.lua

* TBagItemInfo.lua
  Update for 2.4.0 items.


------------------------------------------------------------------------
r107 | shefki | 2008-03-25 21:04:38 +0000 (Tue, 25 Mar 2008) | 11 lines
Changed paths:
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add default rule for Sunmotes.  So that they go into REAGENT since they are used
by several trade skills.

* localization.enUS.lua
* localization.template.lua
  Add to strings table.

* defaults.lua
  Add new rule for Sunmote.


------------------------------------------------------------------------
r106 | shefki | 2008-03-25 19:45:21 +0000 (Tue, 25 Mar 2008) | 7 lines
Changed paths:
   M /trunk/TInv.lua

Couple more spots where we need to deal with string BAGTYPE's.

* TInv.lua
  (TInv_UpdateBagGfx): Rename the variable bagtype to avoid trouncing on
    the built in type() function.  Deal with string BAGTYPE's.


------------------------------------------------------------------------
r105 | shefki | 2008-03-25 19:42:45 +0000 (Tue, 25 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_Stack): Typo fix, yay for drycoding when realms are down.


------------------------------------------------------------------------
r104 | shefki | 2008-03-25 18:42:26 +0000 (Tue, 25 Mar 2008) | 18 lines
Changed paths:
   M /trunk/TBag.lua

Remove TBAG_I_BAGTYPE from cache for actual items and only cache it for the
bags themselves.  Additionally, provide better handling for the old style
string BAGTYPE which we should only handle whhen we are looking at another
character's info that we haven't logged into since updating to this version.

* TBag.lua
  (TBag_InsertEmptyInCompArr): Use TBag_GetBagType() to get the bag
    type since it's not cached anymore per item.
  (TBag_InsertItemInCompArr): Use TBag_GetBagType() to get the bag
    type since it's not cached anymore per item.
  (TBag_UpdateItmCache): Don't bother to store TBAG_I_BAGTYPE for
    items anymore.  Also only use the TBAG_I_ITEMLINK to determine
    an item has changed.
  (TBag_PickBar): Use TBag_GetBagType() to get the bag type and
    handle both the new numeric format and the old string format.
  (TBag_Stack): Use TBag_GetBagType() to get the bag type.


------------------------------------------------------------------------
r103 | shefki | 2008-03-25 18:06:24 +0000 (Tue, 25 Mar 2008) | 6 lines
Changed paths:
   M /trunk/TBnk.lua

BAGTYPE is numeric now.  Should default to 0.

* TBnk.lua
  (TBnk_UpdateBagGfx): Use zero for TBAG_I_BAGTYPE's default.


------------------------------------------------------------------------
r102 | shefki | 2008-03-25 18:04:55 +0000 (Tue, 25 Mar 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Remove TBag_GetItemTexture which is obsolted by Blizzard's GetItemIcon().

* TBag.lua
  (TBag_GetItemTexture): Remove.
  (TBag_GetBagTexture): Use GetItemIcon() instead of TBag_GetItemTexture().
  (TBag_UpdateButton): Use GetItemIcon() instead of TBag_GetItemTexture().


------------------------------------------------------------------------
r101 | shefki | 2008-03-25 18:02:53 +0000 (Tue, 25 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.toc

* TBag.toc
  Bump to interface to 20400.


------------------------------------------------------------------------
r100 | shefki | 2008-03-25 17:59:56 +0000 (Tue, 25 Mar 2008) | 5 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TInv.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Merge r72, r73 and r75 from /branches/2.4.  Skipping the merge for r74 for now to
see if we can't remove BAGTYPE from most of the itmcache and obliviate the need
for it.


------------------------------------------------------------------------
r99 | shefki | 2008-03-25 17:56:14 +0000 (Tue, 25 Mar 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagItemInfo.lua

Merge r71 from /branches/2.4.


------------------------------------------------------------------------
r98 | shefki | 2008-03-23 20:57:26 +0000 (Sun, 23 Mar 2008) | 33 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Reuse stackarr and comparr.  Comparr replaces emptyspec and specitems
in the code.  Also results in a slight change in data structures.  We're
actually storing the itmcache entry for the comparr tables.  No reason not
to since it's just a copy of a table that has to exist anyway.

* TBag.lua
  (TBAG_COMP_EMPTY,TBAG_COMP_ITEM): New constants and documentation for the
    data structures they are used in.
  (TBag_InsertEmptySpec): Refactored into TBag_InsertEmptyInCompArr.
  (TBag_InsertSpecItem): Refactored into TBag_InsertItemInCompArr.
  (TBag_InsertStackArr): Just do nothing if the stackarr is empty.
    All of the 3 new functions behave this way to allow us to use
    TBag_UpdateItmCache when we don't want to stack without building
    the arguments to TBag_Stack.
  (TBag_UpdateItmCache): stackarr and comparr are now passed in instead
    of built by this function.  They're also no longer returned.  Pass
    nil if you don't need them built (i.e. not intending to call TBag_Stack).
  (TBag_StackArr,TBag_CreateStackArr): local and function to handle the setup
    to reuse the stackarr.
  (TBag_CompArr,TBag_CreateCompArr): local and function to handle the setup
    to reuse the comparr.
  (TBag_Stack): emptyspec and specitems are replaced by comparr, refactor code
    to deal with this different data layout.

* TInv.lua
  (TInv_UpdateWindow): Setup stackarr and comparr and pass them into 
    TBag_UpdateItmCache and then onto TBag_Stack.
  
* TBnk.lua
  (TBnk_UpdateWindow): Setup stackarr and comparr and pass them into 
    TBag_UpdateItmCache and then onto TBag_Stack.


------------------------------------------------------------------------
r97 | shefki | 2008-03-23 06:17:01 +0000 (Sun, 23 Mar 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Need to clear some keys from the itmcache when bags change.  Otherwise we'll
end up with some entries that are completely empty.

* TBag.lua
  (TBag_UpdateItmCache): If a smaller bag is placed where a larger bag
    was remove the keys from the higher numbered slots.


------------------------------------------------------------------------
r96 | shefki | 2008-03-23 06:11:42 +0000 (Sun, 23 Mar 2008) | 7 lines
Changed paths:
   M /trunk/TBnk.lua

Clear the comp skip list when someone clicks the reload button on the bank
windows.  Somehow this never got noticed.

* TBnk.lua
  (TBnk_Button_Reload_OnClick): Call TBag_ClearCompSkip.


------------------------------------------------------------------------
r95 | shefki | 2008-03-23 01:16:31 +0000 (Sun, 23 Mar 2008) | 10 lines
Changed paths:
   M /trunk/TBag.lua

Fix a stacking bug, introduced in r91 when removing the old stacking algorithm.
Removed the wrong end to get rid of the if then else for the old stacking which
caused the compression to run with every pass of the stacking algorithm.
Amazingly it still mostly worked even with this bug.

* TBag.lua
  (TBag_Stack): Remove the proper end statement and insert the old one back in.
    Requires reindentation...


------------------------------------------------------------------------
r94 | shefki | 2008-03-22 23:27:12 +0000 (Sat, 22 Mar 2008) | 39 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Stop caching the itemid seperately.  We already have the itemstring (which is
oddly called ITEMLINK even though it's not really any itemlink) which
includes the itemid.  It's trivial to get the id out of the itemstring so
we can save some memory this way.

* TBag.lua
  (TBag_GatherSearchResults): Use ITEMLINK to determine empty slots.
  (TBag_GetBagType): Remove the ITEMID from the tables by always nil'ing it.
  (TBag_InsertSpecItem): Add an id parameter. 
  (TBag_InsertStackArr): Add an id parameter. 
  (TBag_UpdateItmCache): Don't store the itemid in the cache, instead put
    it in a local variable for the InsertSpecItem and InsertStackArr calls.
  (TBag_PickBar): Use TBag_GetItemID() to get the itemid store it in a local
    variable and then use it anytime we would use the cached value.
  (TBag_ScanEquipped): Don't store the itemid in the cache.
  (TBag_ScanMail): Don't store the itemid in the cache.
  (TBag_Stack): Use TBag_GetItemID() to get the itemid when stacking.
  
* TInv.lua
  (TInv_RightClick_DeleteItemOverride):  Use TBag_GetItemID() to get the itemid.
  (TInv_RightClick_SetItemOverride):  Use TBag_GetItemID() to get the itemid.
  (TInvFrame_RightClickMenu_populate): Use TBag_GetItemID() to get the itemid and
    store it in a local var for use when building the menu.

* TBagTrade.lua
  (TBag_MakeTradeCreationKeyword): Add an id parameter to get the itemid.
  (TBag_MakeTradeReagentKeyword): Add an id parameter to get the itemid.
  (TBag_MakeAllTradeKeywords): Remove an unnecessary local var.  Use
    TBag_GetItemID() to get the itemid and pass it through to the keyword
    functions.

* TBnk.lua
  (TBnk_RightClick_DeleteItemOverride):  Use TBag_GetItemID() to get the itemid.
  (TBnk_RightClick_SetItemOverride):  Use TBag_GetItemID() to get the itemid.
  (TBnkFrame_RightClickMenu_populate): Use TBag_GetItemID() to get the itemid and
    store it in a local var for use when building the menu.

   

------------------------------------------------------------------------
r93 | shefki | 2008-03-22 07:07:58 +0000 (Sat, 22 Mar 2008) | 7 lines
Changed paths:
   M /trunk/TBag.lua

Workaround an API bug in GetInboxItem() which doesn't give the correct
quality of an item.

* TBag.lua
  (TBag_ScanMail): If the quality is -1 use GetItemInfo() to get the correct
    quality.

------------------------------------------------------------------------
r92 | shefki | 2008-03-21 23:38:08 +0000 (Fri, 21 Mar 2008) | 31 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TInv.lua

Rather than creating new tables clear tables to avoid memory churn.
Added some debugging code that is left in commented out.

* TBag.lua
  (TBag_ClearItmCache): Rewrite to leave the table structure in place
    and just clear the data.  Requires a special case since the skip
    lists uses this function even though they aren't exactly itmcaches.
  (TBag_BuildBarClassList): Just clear the entries for each bar leaving
    the general bar list in place.  Still leaves some churn in place
    but this doesn't happen very often and is probably fine.
  (TBag_Itm): New local to reuse for TBag_UpdateItmCache as a temporary
    place to build new itm tables.
  (TBag_CreateItm): New function to get TBag_Itm and prep it for reuse.
  (TBag_UpdateItmCache): Add memory profiling debugging code.
  (TBag_UpdateItmCache): Use the new temp variable to avoid a ton of
    memory churn.  This means when we're done we have to clear the
    itmcache entry and copy the new values in.  The stackarr,specitems
    and emptyspec tables have to be filled with the itmcache entry
    not the temp entry now to make them work.
  (TBag_SortItmCache): Add memory profiling debugging code.
  (TBag_SortItmCache): Maintain the bar position tables and just
    clear data out of them to avoid memory churn.
  (TBag_PickBar): When clearing the keyword table just wipe the keys
    don't make a new table.
  (TBag_CalcBarLayout): Just wipe calc_dat to avoid making extra
    unneeded tables.
  (TBag_Stack): Add memory profiling debugging code.

* TInv.lua
  (TInv_UpdateWindow): Add memory profiling debugging code.

------------------------------------------------------------------------
r91 | shefki | 2008-03-21 00:57:09 +0000 (Fri, 21 Mar 2008) | 9 lines
Changed paths:
   M /trunk/TBag.lua

Remove the old stack algorithm.  The new one has been stable for a long
time now.

* TBag.lua
  (TBAG_NEW_STACK): Remove unneeded constant.
  (TBag_InsertStackArr): Remove support for the old stack algorithm.
  (TBag_Stack): Remove the old stack algorithm.


------------------------------------------------------------------------
r90 | shefki | 2008-03-20 19:39:07 +0000 (Thu, 20 Mar 2008) | 6 lines
Changed paths:
   M /trunk/TBag.lua

Revert r82.  Causes a problem initializing a default config and removing the aliasing
problem isn't the best way because I forgot the some tradeskill items get sorted
from rules.  So removing the aliasing creates a chicken/egg issue.  Looks like
I need to just implement a setting to turn it off.


------------------------------------------------------------------------
r89 | shefki | 2008-03-20 05:43:33 +0000 (Thu, 20 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_RealmDropdown_Init): Removed, Unused.


------------------------------------------------------------------------
r88 | shefki | 2008-03-20 05:38:06 +0000 (Thu, 20 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_ExtractTooltip): Removed, unused.


------------------------------------------------------------------------
r87 | shefki | 2008-03-20 05:15:12 +0000 (Thu, 20 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_GetCooldownString): Removed, unused.


------------------------------------------------------------------------
r86 | shefki | 2008-03-20 05:14:33 +0000 (Thu, 20 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_SetGfx): Removed, unused.


------------------------------------------------------------------------
r85 | shefki | 2008-03-20 05:09:00 +0000 (Thu, 20 Mar 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_CreateLayer): Remove unused function.


------------------------------------------------------------------------
r84 | shefki | 2008-03-20 05:05:15 +0000 (Thu, 20 Mar 2008) | 7 lines
Changed paths:
   M /trunk/TBag.lua

Remove TBag_Trim which is just an extra function call for string.trim().

* TBag.lua
  (TBag_Trim): Unnecessary function.
  (TBag_Split): Just use string.trim instead of TBag_Trim.


------------------------------------------------------------------------
r83 | shefki | 2008-03-20 04:19:55 +0000 (Thu, 20 Mar 2008) | 16 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Remove a retarded function that should never have been added in the first
place.  Since you can remove keys in a table with just:
table[key] = nil

* TBag.lua:
  (TBag_Table_RemoveKey): Function written by a retard that we can delete.

* TInv.lua
  (TInv_RightClick_DeleteItemOverride): Replace call to TBag_Table_RemoveKey
    with the correct way to remove a key.

* TBnk.lua
  (TBnk_RightClick_DeleteItemOverride): Replace call to TBag_Table_RemoveKey
    with the correct way to remove a key.


------------------------------------------------------------------------
r82 | shefki | 2008-03-19 03:21:30 +0000 (Wed, 19 Mar 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Stop aliasing bars for TRADE1, TRADE2, TRADE1_CREATED, and TRADE2_CREATED.
This made it hard to disable the feature for users, which sucks.

* TBag.lua
  (TBag_CleanConfig): Undo the alias from existing configss.
  (TBag_PickBar): Remove the alias code.


------------------------------------------------------------------------
r81 | shefki | 2008-03-19 00:31:49 +0000 (Wed, 19 Mar 2008) | 6 lines
Changed paths:
   M /trunk/TInv.lua

Remove an unused function.

* TInv.lua
  (TInv_SetBarFromClass): Unused function.  TBag_SetBarFromClass already exists
    and everything already uses it.

------------------------------------------------------------------------
r80 | shefki | 2008-03-18 06:27:24 +0000 (Tue, 18 Mar 2008) | 10 lines
Changed paths:
   M /trunk/defaults.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Add the statues from Jewelcrafting to the default configuration.

* defaults.lua
  Add a new rule for the statues.

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


------------------------------------------------------------------------
r79 | shefki | 2008-03-18 03:43:20 +0000 (Tue, 18 Mar 2008) | 10 lines
Changed paths:
   M /trunk/TInvHooks.lua

Fix an issue where TBag and Auctioneer were disagreeing over alt key auto
pickup.  Auctioneer has a much more advanced implementation but TBag was
causing it to never be called.  Now if Auctioneer is loaded TBag will
simply ignore our own implementation.

* (TInvHooks_ContainerFrameItemButton_OnModifiedClick):
  Do nothing for alt_pickup if auctioneer is running but always do
  alt_panel regardless since Auctioneer has no such feature.


------------------------------------------------------------------------
r78 | shefki | 2008-03-17 23:32:58 +0000 (Mon, 17 Mar 2008) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt: Update Changelog.txt for the release.


------------------------------------------------------------------------
r77 | shefki | 2008-03-08 02:07:28 +0000 (Sat, 08 Mar 2008) | 10 lines
Changed paths:
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Fix an error when closing the gemming interface.  ITEM_LOCK_CHANGED gets called
with a different 2nd argument in this case and the event handlers weren't written
to know about this.

* TInv.lua
  (TInv_OnEvent): Check if arg2 is a number so we only handle bag/slot combos.

* TBnk.lua
  (TBnk_OnEvent): Check if arg2 is a number so we only handle bag/slot combos.

------------------------------------------------------------------------
r76 | shefki | 2008-03-08 00:50:35 +0000 (Sat, 08 Mar 2008) | 12 lines
Changed paths:
   M /trunk/TBag.lua

Fix some issues where searches could still result in nil values for the itemlink.

* TBag.lua
  (TBag_AddSearchResult): Check that the itemlink is valid.  We'll just
    ignore results that we can't get a good itemlink for.
  (TBag_MakeHyperlink): Fall back on GetItemInfo() if due to old versions
    of the cached data we don't have enough info to build the link ourself.
    It may still fail but it'll make it less likely.
  (TBag_ScanEquipped): Cache item rarity for items on a characters body.
  (TBag_ScanMail): Cache item rarity for items in a characters mailbox.


------------------------------------------------------------------------
r69 | shefki | 2008-03-02 01:15:46 +0000 (Sun, 02 Mar 2008) | 15 lines
Changed paths:
   M /trunk/TBagOpt.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInvOpts.xml
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Localize strings in the configuration windows that were missed previously.

* TBagOpt.lua
  (TBagOpt_MakeCheck): Localize Yes and No.
  (TBagOpt_MakeItemSearchHeader): Localize the column headers for the search list.

* localization.enUS.lua
* localization.template.lua
  Add the strings to the localization tables.

* TInvOpts.xml
* TBnkOpts.xml
  Localize the button text.
  

------------------------------------------------------------------------
r68 | shefki | 2008-02-26 23:06:43 +0000 (Tue, 26 Feb 2008) | 18 lines
Changed paths:
   M /trunk/TInv.lua
   M /trunk/TInvOpts.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Fix a cosmetic error where when the current character had a soul bag equipped
the count of soul shards would show when changing views to another character.
Also add an option to toggle this display entirely.

* localization.enUS.lua:
* localization.template.lua:
  Add string for new option.

* TInv.lua
  (TInv_InitDefVals): Add a default value for show_soulshard_count.
  (TInv_UpdateBagGfx): Call SetItemButtonCount() for bags to update the count
    properly.

* TInvOpts.lua
  (TInvOpt_CreateCfgOpt): Add the show_soulshard_count option to the config
    window.


------------------------------------------------------------------------
r67 | shefki | 2008-02-26 11:41:18 +0000 (Tue, 26 Feb 2008) | 17 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnkHooks.lua
   M /trunk/TInvHooks.lua

Fix some calls to TBag_MakeHyperlink() to use the new arguments.

* TBnkHooks.lua:
  (TBnkHooks_BankFrameItemButtonBag_Pickup):
    Use the proper args to TBag_MakeHyperlink().

* TBag.lua
  (TBAG_I_RARITY): Has to be global now.
  (TBag_GetBagType): Set the rarity in our cache for bags.

* TInvHooks.lua
  (TInvHooks_BagSlotButton_OnModifiedClick):
    Use the proper args to TBag_MakeHyperlink().
  (TInvHooks_ContainerFrameItemButton_OnModifiedClick):
    Use the proper args to TBag_MakeHyperlink().
  

------------------------------------------------------------------------
r66 | shefki | 2008-02-26 10:42:32 +0000 (Tue, 26 Feb 2008) | 16 lines
Changed paths:
   M /trunk/TBag.lua

Can't rely on GetItemInfo() to give us the hyperlink when working on data
from other characters.  So refactor the search code so we don't end up with
nil hyperlinks.

* TBag.lua
  (TBag_AddSearchResult): Just pass the itm table into it.
    Generate the hyperlink here and use it as the key so we
    can have the cached data rather than having to pass the
    itm table all the way through.
  (TBag_DisplaySearchResult): No longer need to call TBag_MakeHyperlink()
    the itemlink is already formated for us.
  (TBag_MakeHyperlink): Function now generates a link from cached info
    rather than a call to GetItemInfo().  However, rather than hardcoded
    colors use GetItemQualityColor().


------------------------------------------------------------------------
r65 | shefki | 2008-02-19 03:11:00 +0000 (Tue, 19 Feb 2008) | 3 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_GetItemTexture): Add backwards compatability to this function for 2.3.x.

------------------------------------------------------------------------
r64 | shefki | 2008-02-18 02:40:59 +0000 (Mon, 18 Feb 2008) | 3 lines
Changed paths:
   M /trunk/Readme.txt

* Readme.txt: Remove line about implementing a resetpos command.


------------------------------------------------------------------------
r63 | shefki | 2008-02-18 02:40:19 +0000 (Mon, 18 Feb 2008) | 24 lines
Changed paths:
   M /trunk/TBagCmd.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   M /trunk/localization.enUS.lua
   M /trunk/localization.template.lua

Implement /tinv resetpos and /tbnk resetpos to allow users to put windows back in 
their default positions so they don't have to reset all settings to get them back.

* TBagCmd.lua
  (TBNK_HELP,TINV_HELP): Add help strings for the new commands.
  (TBnk_cmd,TInv_cmd): Add new command.

* localization.enUS.lua
* localization.tempalte.lua
  Add localization strings.

* TInv.lua
  (TInv_SetDefPos): Code refactored out of TInv_InitDefVals() to put the window
    back in its default position.
  (TInv_InitDefVals): Moved some code out into TInv_SetDefPos() and replaced it
    with a call to TInv_SetDefPos().

* TBnk.lua
  (TBnk_SetDefPos): Code refactored out of TBnk_InitDefVals() to put the window
    back in its default position.
  (TBnk_InitDefVals): Moved some code out into TBnk_SetDefPos() and replaced it
    with a call to TBnk_SetDefPos().


------------------------------------------------------------------------
r62 | shefki | 2008-02-18 01:04:13 +0000 (Mon, 18 Feb 2008) | 2 lines
Changed paths:
   M /trunk/dist.sh

* dist.sh: Versioning info moved to TBag.lua so update dist.sh to match.

------------------------------------------------------------------------
r61 | shefki | 2008-02-17 23:49:53 +0000 (Sun, 17 Feb 2008) | 11 lines
Changed paths:
   M /trunk/TBag.lua

Code cleanups.

* TBag.lua
  (TBag_GetBagIdxName): Remove elseif blocks that are redundent since they do
    the same thing as the else block.
  (TBag_GetBagNumName): BACKPACK_CONTAINER is a member of TInv_Bags so it's
    redundent to have a separate elseif block.
  (TBag_GetMoney): No need to fetch the money from the cache when we already
    have it and just set the cache.


------------------------------------------------------------------------
r60 | shefki | 2008-02-17 23:38:16 +0000 (Sun, 17 Feb 2008) | 4 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_SetRarityColor): Simplify by using GetItemQualityColor rather than
    hardcoding colors.

------------------------------------------------------------------------
r59 | shefki | 2008-02-17 22:40:00 +0000 (Sun, 17 Feb 2008) | 3 lines
Changed paths:
   M /trunk/Readme.txt

* Readme.txt: Update todo list to note that the localization cleanup is done.


------------------------------------------------------------------------
r58 | shefki | 2008-02-17 22:26:29 +0000 (Sun, 17 Feb 2008) | 59 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBagCmd.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/TInvOpts.lua
   A /trunk/defaults.lua (from /trunk/localization.lua:53)
   A /trunk/localization.enUS.lua
   D /trunk/localization.lua
   A /trunk/localization.template.lua
   D /trunk/localization.xml

Implement support for localization.

* TBagOpt.lua
* TBnkOpts.lua
* TInv.lua
* TInvOpts.lua
* TInv.xml
* TBnkHooks.lua
* TInvHooks.lua
* TBagTrade.lua
* TBnk.lua
  L local for TBAG_LOCALE.
  Mark strings for localization.

* TBagCmd.lua:
  L local for TBAG_LOCALE.
  Mark strings for localization.
  Move TBNK_HELP and TINV_HELP from the old
    localization.lua to here.
  
* defaults.lua
* localization.lua
  Renamed from localization.lua
  L local for TBAG_LOCALE.
  Mark strings for localization.
  Remove lines for TBAG_VERSION.
  Remove TBAG_LOC.
  Remove TBODY constants that are no longer used.
  Remove TBag_Loc.
  Remove TBag_Cat.
  Remove TBag_Localize.

* TBnk.xml
  Mark strings for localization.

* TBag.lua
  Move the lines for TBAG_VERSION from defaults.lua.
  L local for TBAG_LOCALE.
  Mark strings for localization.
  (TBag_PlacePrep): Do more of the formating in this function to
    make localization easier.
  (TBag_ResetSorts): Remove the loop to localize since this
    is now done at the source of the table.
  Move the TBag_Cat() function here from defaults.lua and don't
    run the catagories through the localization system.

* TBag.toc
  Remove localization.xml, replacing it with localization.enUS.lua.
  Add defaults.lua.
 
* localization.enUS.lua
  Implement the default localization table.

* localization.template.lua
  Template for anyone wanting to start a new translation.  
  
* localization.xml
  Removed, obsolete file.

------------------------------------------------------------------------
r57 | shefki | 2008-02-17 11:46:25 +0000 (Sun, 17 Feb 2008) | 7 lines
Changed paths:
   M /trunk/TBag.lua

Change to using a colon rather than a full stop to separate bag and slots in
merged strings to avoid a localization issue.

* TBag.lua
  (TBag_BagSlotToString,TBag_StringToBagSlot): '.' -> ':'


------------------------------------------------------------------------
r56 | shefki | 2008-02-17 11:41:52 +0000 (Sun, 17 Feb 2008) | 3 lines
Changed paths:
   M /trunk/TBnk.lua

* TBnk.lua: Fix an indentation error.


------------------------------------------------------------------------
r55 | shefki | 2008-02-17 11:40:18 +0000 (Sun, 17 Feb 2008) | 6 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

* TBag.lua
* TInv.lua
* TBnk.lua
  Switch from using message() to TBag_PrintDEBUG().  message() doesn't display unless
  you turn on lua errors now anyway.

------------------------------------------------------------------------
r54 | shefki | 2008-02-16 23:56:11 +0000 (Sat, 16 Feb 2008) | 7 lines
Changed paths:
   M /trunk/TBagTrade.lua

Fix a typo that caused trade reagent keywords not to be properly set for TRADE2.

* TBagTrade.lua
  (TBag_MakeTradeReagentKeywords,TBag_MakeAllTradeKeywods):
    trade should have been trade2 


------------------------------------------------------------------------
r53 | shefki | 2008-02-16 10:10:04 +0000 (Sat, 16 Feb 2008) | 13 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

Remove TBAG_BAGSIZE_MAX in favor of using Blizzard's MAX_CONTAINER_ITEMS
constant.

* TBag.lua
  (TBAG_BAGSIZE_MAX): Removed
  (TBag_CreateDummyBag): TBAG_BAGSIZE_MAX -> MAX_CONTAINER_ITEMS

* TInv.lua
  (TInv_UpdateWindow): TBAG_BAGSIZE_MAX -> MAX_CONTAINER_ITEMS

* TBnk.lua
  (TBnk_UpdateWindow): TBAG_BAGSIZE_MAX -> MAX_CONTAINER_ITEMS

------------------------------------------------------------------------
r52 | shefki | 2008-02-16 10:03:15 +0000 (Sat, 16 Feb 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInvHooks.lua

Try to find cases of specifying bag ids directly and replace them with the
proper constants.

* TBag.lua
* TInvHooks.lua
* TBnk.lua


------------------------------------------------------------------------
r51 | shefki | 2008-02-14 05:09:09 +0000 (Thu, 14 Feb 2008) | 10 lines
Changed paths:
   M /trunk/TBnk.xml
   M /trunk/TInv.xml

Move the column add and delete buttons that appear while in edit mode
outside the normal frame so that the bag and money frames don't end up
overlapping.

* TInv.xml
  (TInv_Button_ColumnsAdd,TInv_Button_ColumnsDel): y offset to -22.

* TBnk.xml
  (TBnk_Button_ColumnsAdd,TBnk_Button_ColumnsDel): y offset to -22.

------------------------------------------------------------------------
r50 | shefki | 2008-02-14 04:06:25 +0000 (Thu, 14 Feb 2008) | 7 lines
Changed paths:
   M /trunk/TBag.lua

Remove some unnecessary code.

* TBag.lua
  (TBag_MakeHyperlink): Rename itemlink to itemstring.  Just use the
  return from GetItemInfo for the itemlink.  No reason to generate
  the links ourselves when there's an API to do it.

------------------------------------------------------------------------
r49 | shefki | 2008-02-14 04:04:05 +0000 (Thu, 14 Feb 2008) | 8 lines
Changed paths:
   M /trunk/TBag.lua

Fix the consolidation of search results.  

* TBag.lua
  (TBag_AddSearchResult): Rename itemid to itemstring to be more accurate.
    Strip the unique id from the itemstring.  This allows equipment items
    to show as multiple different results while not having every stack
    of various other items show up as separate results.

------------------------------------------------------------------------
r48 | shefki | 2008-02-13 03:45:15 +0000 (Wed, 13 Feb 2008) | 23 lines
Changed paths:
   M /trunk/TBnk.xml
   M /trunk/TBnkHooks.lua
   M /trunk/TInvHooks.lua

Really fix the problem causing the double links in chat boxes.  It also
caused shift click on a stacked item in a bank item slot to bring up the
stack split box.  Ultimately, I was misusing PostClick.  Apparently 
setting another PostClick script does not override the inherrited one.
So we have to hook the normal function Blizzard uses and replace it.

* TBnkHooks.lua
  (TBnkHooks_savedfuncs): Add an entry for
    BankFrameItemButtonGeneric_OnModifiedClick.
  (TBnkHooks_BankFrameItemButtonGeneric_OnModifiedClick):
    New hook function to let us control modified clicks on the bank
    items.

* TBnk.xml
  (TBnk_BankItemButtonTemplate): Remove PostClick script.

* TInvHooks.lua
  (TInvHooks_ContainerFrameItemButton_OnModifiedClick):
    Put back in the call to Blizzard's code we removed
    in r47.  However, must use the stored copy of it
    from the TBnkHook since we've hooked it.


------------------------------------------------------------------------
r47 | shefki | 2008-02-13 00:09:39 +0000 (Wed, 13 Feb 2008) | 5 lines
Changed paths:
   M /trunk/TInvHooks.lua

* TInvHooks.lua
  TInvHooks_ContainerFrameItemButton_OnModifiedClick():
    Stop calling BankFrameItemButtonGeneric_OnModifiedClick() when at the bank.
    This is causing the event to be processed twice for some reason.

------------------------------------------------------------------------
r46 | shefki | 2008-02-12 03:49:19 +0000 (Tue, 12 Feb 2008) | 6 lines
Changed paths:
   M /trunk/TBag.lua

* TBag.lua
  (TBag_GetItemTexture): Use GetItemIcon() instead of GetItemInfo().  GetItemInfo() will
    return nothing if the icon isn't in the WDB cache yet.  While GetItemIcon() will
    always return the icon.  So after a major update inventory items will continue to show.
    Though the sorting may be wrong.  GetItemIcon() Requires 2.4.0 or newer.

------------------------------------------------------------------------
r45 | shefki | 2007-11-28 23:50:43 +0000 (Wed, 28 Nov 2007) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt: Bump rev to match release version.


------------------------------------------------------------------------
r44 | shefki | 2007-11-28 23:49:14 +0000 (Wed, 28 Nov 2007) | 3 lines
Changed paths:
   M /trunk/Readme.txt

* Readme.txt: Add window positioning to todo list.


------------------------------------------------------------------------
r43 | shefki | 2007-11-28 23:47:29 +0000 (Wed, 28 Nov 2007) | 9 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/localization.lua

* Changelog.txt
  Update for various changes.

* localization.lua 
  Gem was wrong, most of them really should have been
  Miscellaneous, Reagent.  Darkmoonfaire cards are now
  Quest items.  


------------------------------------------------------------------------
r42 | shefki | 2007-11-16 23:37:22 +0000 (Fri, 16 Nov 2007) | 11 lines
Changed paths:
   M /trunk/TBnkHooks.lua
   M /trunk/TInvHooks.lua

Prevent taint problems when CloseAllWindows() is called.

* TBnkHooks.lua: Switch to a secure hook.
  TBnkHooks_funcs: Remove CloseAllWindows from normal hooking.
  TBnkHooks_CloseAllWindows(): Remove some useless code.

* TInvHooks.lua: Switch to a secure hook.
  TInvHooks_funcs: Remove CloseAllWindows from normal hooking.
  TInvHooks_CloseAllWindows(): Remove some useless code.


------------------------------------------------------------------------
r40 | shefki | 2007-11-14 01:46:53 +0000 (Wed, 14 Nov 2007) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt: Bump rev.


------------------------------------------------------------------------
r39 | shefki | 2007-11-14 01:46:32 +0000 (Wed, 14 Nov 2007) | 27 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBagItemInfo.lua
   M /trunk/localization.lua
   M /trunk/scrape-wowhead.perl

Various 2.3.0 updates.

* TBagItemInfo.lua
  Update item info for 2.3.0, there may be some errors in the
  list of items that can go in what container because of a change in
  the formatting the game uses for that information.

* TBag.lua
  TBag_SetDefLayout(): Add categories for Leatherworking bags.
  TBag_GetBagType(): Add support for Leatherworking bags.

* TBag.toc
  Update toc for 2.3.0

* Changelog.txt
  Update to current.

* localization.lua
  Update default sorts for the removal of the "Reagent" item type.
  You'll need to do /tinv resetsorts and /tbnk resetsorts to get
  the new sorts.

* scrape-wowhead.perl
  Fetch data for Leatherworking bags.
  Update poison filter to match wowhead changes.


------------------------------------------------------------------------
r37 | shefki | 2007-10-31 00:16:25 +0000 (Wed, 31 Oct 2007) | 4 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/dist.sh

* dist.sh: Make the files really not get included in the zip.
* Changelog.txt: bump rev


------------------------------------------------------------------------
r36 | shefki | 2007-10-31 00:12:52 +0000 (Wed, 31 Oct 2007) | 4 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/dist.sh

* dist.sh: Forgot \ on a line.
* Changelog.txt: bump rev


------------------------------------------------------------------------
r35 | shefki | 2007-10-31 00:11:11 +0000 (Wed, 31 Oct 2007) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt: update and bump rev.


------------------------------------------------------------------------
r34 | shefki | 2007-10-31 00:10:18 +0000 (Wed, 31 Oct 2007) | 3 lines
Changed paths:
   M /trunk/dist.sh

* dist.sh: Don't include svn files in zip file.


------------------------------------------------------------------------
r32 | shefki | 2007-10-30 23:52:22 +0000 (Tue, 30 Oct 2007) | 3 lines
Changed paths:
   M /trunk/Changelog.txt

* Changelog.txt: Update to note version number changes and bump version number.


------------------------------------------------------------------------
r31 | shefki | 2007-10-30 23:50:15 +0000 (Tue, 30 Oct 2007) | 3 lines
Changed paths:
   M /trunk/dist.sh

* dist.sh: Take the first arg as the release type e.g. (-Alpha, -Beta).
  No arg means normal release.

------------------------------------------------------------------------
r30 | shefki | 2007-10-30 23:40:05 +0000 (Tue, 30 Oct 2007) | 3 lines
Changed paths:
   M /trunk/dist.sh

* dist.sh: Update to use calced versions.


------------------------------------------------------------------------
r29 | shefki | 2007-10-30 22:24:03 +0000 (Tue, 30 Oct 2007) | 7 lines
Changed paths:
   M /trunk/TBag.lua
   M /trunk/localization.lua

Remove function TBag_GetVersion, inline code in localization.lua.

* TBag.lua
  (TBag_GetVersion): Remove function.

* localization.lua: Build TBAG_VERSION automatically.

------------------------------------------------------------------------
r28 | shefki | 2007-10-30 22:12:03 +0000 (Tue, 30 Oct 2007) | 6 lines
Changed paths:
   M /trunk/TBag.lua

Add function for getting version.

* TBag.lua
  (TBag_GetVersion): New function.


------------------------------------------------------------------------
r27 | shefki | 2007-10-30 10:56:30 +0000 (Tue, 30 Oct 2007) | 5 lines
Changed paths:
   M /trunk/Changelog.txt

Standardize on one format and bump to match.

* Changelog.txt


------------------------------------------------------------------------
r26 | shefki | 2007-10-30 10:54:32 +0000 (Tue, 30 Oct 2007) | 6 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/localization.lua

Change format in Changelog too and bump.

* Changelog.txt
* localization.lua


------------------------------------------------------------------------
r25 | shefki | 2007-10-30 10:53:27 +0000 (Tue, 30 Oct 2007) | 6 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/localization.lua

Slight change in version number format and bump of version.

* Changelog.txt
* localization.lua


------------------------------------------------------------------------
r24 | shefki | 2007-10-30 10:49:46 +0000 (Tue, 30 Oct 2007) | 6 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/localization.lua

Bump version.

* Changelog.txt
* localization.lua


------------------------------------------------------------------------
r23 | shefki | 2007-10-30 10:49:01 +0000 (Tue, 30 Oct 2007) | 3 lines
Changed paths:
   M /trunk/dist.sh

* dist.sh: Update to use svnversion and change filename format slightly.


------------------------------------------------------------------------
r22 | shefki | 2007-10-30 10:43:25 +0000 (Tue, 30 Oct 2007) | 21 lines
Changed paths:
   M /trunk/Bindings.xml
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   M /trunk/TBagHook.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/dist.sh
   M /trunk/scrape-wowhead.perl

Third time is the charm, make Id work.

* TInv.xml
* TBagOpt.lua
* TBagCmd.lua
* TBnkHooks.lua
* TBnkOpts.lua
* TInvOpts.xml
* Bindings.xml
* TBag.lua
* TInv.lua
* TBnkOpts.xml
* TInvHooks.lua
* TInvOpts.lua
* scrape-wowhead.perl
* TBag.xml
* dist.sh
* TBagTrade.lua
* TBnk.lua
* TBagHook.lua

------------------------------------------------------------------------
r21 | shefki | 2007-10-30 10:38:00 +0000 (Tue, 30 Oct 2007) | 21 lines
Changed paths:
   M /trunk/Bindings.xml
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   M /trunk/TBagHook.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/dist.sh
   M /trunk/scrape-wowhead.perl

Fix the Id keyword so it actually works.  Oops.

* TInv.xml
* TBagOpt.lua
* TBagCmd.lua
* TBnkHooks.lua
* TBnkOpts.lua
* TInvOpts.xml
* Bindings.xml
* TBag.lua
* TInv.lua
* TBnkOpts.xml
* TInvHooks.lua
* TInvOpts.lua
* scrape-wowhead.perl
* TBag.xml
* dist.sh
* TBagTrade.lua
* TBnk.lua
* TBagHook.lua

------------------------------------------------------------------------
r20 | shefki | 2007-10-30 10:32:40 +0000 (Tue, 30 Oct 2007) | 22 lines
Changed paths:
   M /trunk/Bindings.xml
   M /trunk/TBag.lua
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   M /trunk/TBagHook.lua
   M /trunk/TBagOpt.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/TInvOpts.lua
   M /trunk/TInvOpts.xml
   M /trunk/dist.sh
   M /trunk/scrape-wowhead.perl

Add $ Id $ Keyword.

* TInv.xml
* TBagOpt.lua
* TBagCmd.lua
* TBnkHooks.lua
* TBnkOpts.lua
* TInvOpts.xml
* Bindings.xml
* TBag.lua
* TInv.lua
* TBnkOpts.xml
* TInvHooks.lua
* TInvOpts.lua
* scrape-wowhead.perl
* TBag.xml
* dist.sh
* TBagTrade.lua
* TBnk.lua
* TBagHook.lua


------------------------------------------------------------------------
r19 | shefki | 2007-10-29 20:27:21 +0000 (Mon, 29 Oct 2007) | 13 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBnk.lua
   M /trunk/TInv.lua

The user dropdown boxes would go out of sync with the current status of the window
if their hidden status was turned off.  In particular the selection would be
wrong and multiple characters would have checkboxes.

* TInv.lua
  (TInv_UserDropdown_OnLoad()): Set the dropdown to the correct selected value.

* TBnk.lua
  (TBnk_UserDropdown_OnLoad()): Set the dropdown to the correct selected value.

* Changelog.txt: Add entry for this fix.


------------------------------------------------------------------------
r18 | shefki | 2007-10-29 20:23:54 +0000 (Mon, 29 Oct 2007) | 10 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua

Fixed bug that caused viewing bags on characters who didn't have cached
info for a given bag to show the wrong items.

* TBag.lua
  (TBag_UpdateItmCache()): Update the cache regardless of the show status
    of the bag.  However, don't force resorts on hidden bags.

* Changelog.txt: Add entry for this fix.


------------------------------------------------------------------------
r17 | shefki | 2007-10-29 20:20:07 +0000 (Mon, 29 Oct 2007) | 3 lines
Changed paths:
   M /trunk/localization.lua

* localization.lua: Bump version.


------------------------------------------------------------------------
r9 | shefki | 2007-10-24 23:16:26 +0000 (Wed, 24 Oct 2007) | 22 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua
   M /trunk/TBnk.lua
   M /trunk/TInv.lua
   M /trunk/localization.lua

Make TBag stack both the bank and the inventory when moving between the two.

* TBag.lua
  (TBAG_STACK_BNK,TBAG_STACK_INV): Globals for specifying what wer're stacking.
  (TBAG_ISSTACKING): table value with two entries one for inventory one for bank now.
  (TBag_IsStacking()): Takes a where parameter now.
  (TBag_Stack): Takes a where parameters now, uses them for setting the isstacking flag.
  (TBag__ItemMover_main): Clear both isstacking flags now.

* TInv.lua
  (TInv_OnEvent): Use where parameter when calling TBag_IsStacking().
  (TInv_UpdateWindow): use where parameter when calling TBag_Stack().

* Changelog.txt: Add entry for this fix.

* localization.lua: Bump version.

* TBnk.lua
  (TBnk_OnEvent): Use where parameter when calling TBag_IsStacking().
  (TBnk_UpdateWindow): use where parameter when calling TBag_Stack().


------------------------------------------------------------------------
r8 | shefki | 2007-10-24 23:06:34 +0000 (Wed, 24 Oct 2007) | 146 lines
Changed paths:
   M /trunk
   M /trunk/Bindings.xml
   M /trunk/Changelog.txt
   M /trunk/Readme.txt
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBag.xml
   M /trunk/TBagCmd.lua
   A /trunk/TBagItemInfo.lua
   M /trunk/TBagOpt.lua
   D /trunk/TBagTooltip.lua
   M /trunk/TBagTrade.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TBnkHooks.lua
   M /trunk/TBnkOpts.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/TInvOpts.xml
   A /trunk/dist.sh
   M /trunk/localization.lua
   A /trunk/scrape-wowhead.perl
   D /trunk/skin/Blend.tga
   D /trunk/skin/BottomCenter.tga
   D /trunk/skin/BottomLeft.tga
   D /trunk/skin/BottomRight.tga
   D /trunk/skin/Center.tga
   D /trunk/skin/Left.tga
   D /trunk/skin/Portait.tga
   D /trunk/skin/Right.tga
   D /trunk/skin/TopCenter.tga
   D /trunk/skin/TopLeft.tga
   D /trunk/skin/TopRight.tga

* 2007-10-22-Shefki
  NOTE: THIS IS A MAJOR UPDATE.  YOU MUST DELETE THE TBag FOLDER IN YOUR 
  ADDONS FOLDER AND REPLACE IT WITH A NEW ONE.  SOME FILES HAVE BEEN
  DELETED AND NEW ONES ADDED.  YOU MUST ALSO COMPLETELY QUIT WOW.
  BACKING UP YOUR WTF FOLDER IS RECOMMENDED FOR THIS RELEASE.
  SOME OF THE ENHANCEMENTS IN THIS UPDATE ONLY APPLY TO THE DEFAULT
  CONFIGURATION.  YOU CAN KEEP MOST OF YOUR CONFIGURATION AND ONLY 
  RESET THE SEARCH LIST THAT IS NEEDED TO GET THESE ENCHANCEMENTS BY DOING
  /tinv resetsorts
  /tbnk resetsorts
  YOU MAY WISH TO SCREENSHOT YOUR SORT SETTINGS UNDER ADVANCED CONFIGURATION
  IF YOU HAVE CUSTOMIZED THEM AS THIS WILL WIPE THEM.

  PERFORMANCE & MEMORY USE:
  - Noticeable optimization has been done to the event handling.  Items
    when received should display slightly faster than in the past.
    Users using addons to swap large amounts of gear should notice
    almost no lag over the default UI when swapping large amounts of gear.
    The inventory window will also display quicker than before most of the 
    time.  The same optimizations also will lower memory usage some in 
    cases, though not necessarily by a huge amount.
  - Reviewed all entries output in the config file and removed obsolete
    entries.  These obsolete entries will be cleaned from every config
    file when TBag loads which should lower memory use, though probably
    not to a noticeable degree.
  - Removed code for portraits and window frames that was no longer
    functional.  Also removed the graphics that were shipped with the
    addon for this that were not being used.  Since these won't be loaded
    should help lower some memory usage.

  UI IMPROVEMENTS:
  - You can now set a bar to be hidden.  This will allow you to hide any
    categories assigned to the bar (e.g. empty bag slots).  Go into edit mode
    right click on a numbered slot and choose the hide option.  Note slots
    that have had their contents changed will be shown despite the setting
    until the next full resort occurs.  This means hidden empty slots will
    show their contents when you put stuff in them and when the resort happens
    they'll get reassigned to a bar and will be visible based upon that bars
  - The button to toggle the interface for buying new bag slots in the bank
    will only appear when at the bank (though the setting is still
    available from the right click menu away from the bank).  It
    will also never appear for characters that have already 
    purchased all the bank slots.
  - All UI elements in the inventory and bank windows can be hidden from
    the right click menu for the given frame.
  - You can select the character to display inventory or bank items from
    the right click menu.
  - Added option in Advanced Configuration to turn off rarity coloring.
  - Search box now show Search until you click on it like the search boxes
    for trade skills to make the UI a little more obvious.
  - Hidden bags/keychains will show the blizzard frames when the bag icon
    is clicked on regardless of the show blizzard frames setting.
  - Allow bags in the bank or inventory to be linked by shift clicking on them
    while typing in a chat box again, blizzard removed this from their UI
    which removed it from mine but we like it so implement it ourselves.
  - Added /tinv printchars and /tinv deletechar to allow users to remove
    caches for characters they no longer have.  deletechar takes two arguments
    the character and the realm separated by a space just like printchars
    outputs them.    

  SORTING & STACKING:
  - Rewrote the stacking algorithm to be more efficient.  The new algorithm
    should result in fewer moves to complete the stack, will always end
    in full stack with a single pass and will prefer moving items into larger
    stacks and profession bags (if they can go into such bags).
  - Stacking will also now compress your inventory maximizing the number of
    slots that are empty.  This means items that can go in special bags
    (e.g. herb bags, mining bags, engineering bags, enchanting bags) will be
    moved there if there are empty slots.  
  - When moving items while stacking in your inventory is now done in a safe
    way.  Previously the addon would not check the locked state of items.  While
    this would never cause the loss of an item it could cause an item to be
    stuck in locked state until the UI was reloaded.  The problem wasn't very
    common because it required a lot of small stacks that needed combining to
    show up but did present itself ocassionally when taking AH purchases from
    the mailbox.
  - Updated the categorization rules to include a number of new items and
    added categories for various "collectables" for various factions.
  - Added new categories for each armor slot to to default categorization
    list that makes the armor items sort by slot as well as by name now.
    This should make it easier to find armor items.  As well as giving
    a much more organized look.
  - Profession bags now have their own category for each type of Profession
    bag.  This allows people with multiple profession bags of differing
    professions to keep them more orgaanized.
  - Quivers and Ammmo pouches are now categorized separately.  Again should
    allow people with both to have things more organized.
  - The item information on which items belong to which tradeskills has
    been updated to be current.  It has been restructured to allow automated
    updated from a data file included with future releases that will merge
    with any locally collected data from your own tradeskills.  This should
    result in categorization for items used in crafting that stays current.
  - Reagents for crafting no longer receive the keyword for every craft
    they are used for.  This prevents leather from sorting into tailoring
    and gems from sorting into say alchemy simply becuase a few recipes
    from these crafts happen to use these items and these trades were
    the last to be categorized.  Keywords are now set by the  craft that
    uses an item in the most recipes.  If multiple trades use the item
    the same number of times both keywords will be set.
  - Added explicit rules for some reagents that are used by many trades
    (e.g. motes and primals) so that they don't get pushed into a particular
    trade.
  - Added two new command line options to drop the sort rules and replace
    them by the default included one.  /tinv resetsorts and /tbnk resetsorts
    Highly recommend users backup their configs before doing this in case
    they missed something they liked.  This will not clear any other
    configuration.

  MISC:
  - Updated mail item cache to work with 2.3 mailboxes.  This changes is
    backwards compatable with older versions of the mailbox API and as
    a result this will still work with 2.2.  However, the format of the
    mailbox cache has changed as so you will have to reopen mailboxes on
    all characters to refresh the data.
  - Remove some items from the ToDo list and add others.

  BUG FIXES:
  - Fixed: New categories that are user created will now show on the right
    click menu for the slot box in edit mode without forcing a reload of the
    UI.
  - Fixed: Improper tooltip display while in edit mode on the bank window
    and mousing over the slot target buttons.  2.2.0 compatabilty issue
    I missed.
  - Fixed: Properly cache mailbox itemlinks.  TBag was guessing an items link
    from the name which could cause the game to crash when linking mailbox
    items shown in the item link or for items in the mailbox to show incorrect
    info when searched.  Should improve performance when opening the mailboox
    too because it was brute force searching all items looking for one that
    had the same name.  
  - Fixed: New tags were at times turning themselves on for no apparent
    reason.  The wrong function to retrieve the time had been used for
    setting timestamps which was creating odd behavior at times between
    sessions.  Some of this may still happen until the bad timestamps
    are cleared (reset NEW tag from right click menu) or replaced by new
    timestamps through normal operation.  Could also show up as items that
    are not new hilighting.
  - Fixed: The highlight around the backpack button on the main menu bar
    will now stay in sync properly.  Yay for Blizzard for finally changing
    their code so I could fix this.
  - Fixed: An extra header entry in the Bindings.xml that was causing an error
    output in the Logs/FrameXML.log file.  TBag is now officially free of any
    FrameXML.log error outputs. Hurray.
  - Fixed: The sub menus under the right click menu will no longer disappear
    making them difficult to click on.


------------------------------------------------------------------------
r7 | shefki | 2007-10-24 22:55:46 +0000 (Wed, 24 Oct 2007) | 19 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   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.lua

* 2007-09-25-Shefki
  - Bump interface version to match 2.2.0.
  - Changes required to make tooltips function properly with 2.2.0.
  - Fixes to the bank due to changes in the Blizzard bank implementation.
  - Do not open the bank bag frames when not actually at the bank on
    OpenAllBags().
  - Try to avoid sound lag issues from multiple blizzard bag frames
    opening.  Caused by an apparent bug in the 2.2.0 sound system,
    which I've reported, but at least try to avoid excercising the bug.
  - Upped max bag size to 40 slots since there are now 36 slot bags
    on the PTR (at least for premades).
  - Fixed: When show blizzard bag frames was enabled and you were viewing
    another characters inventory clicking on a bag button would open the
    bag even though it was the current characters bag not the character
    you were viewing.
  - Rework processing of clicks due to the new modifier key system in
    2.2.0.


------------------------------------------------------------------------
r6 | shefki | 2007-10-24 22:53:57 +0000 (Wed, 24 Oct 2007) | 27 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/TBag.lua
   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.lua

* 2007-06-26-Shefki
  - Fixed: When the bag or bank is closed in edit mode and then
    reopened the edit mode button text would be out of sync and
    say view when it should say edit.
  - Fixed: When viewing inventory of another character, the bag
    icons would sometimes revert to the current character's bag
    icons.
  - Moved the dropdown, search and various buttons at the
    top of the inventory and bank windows to the left side and
    reversed their order.  This avoids the user drop down menu
    from cutting off the screen when a window is positioned at
    the far right of the screen.  Really only had to move the
    user drop down menu but it looked bad if I didn't move the rest.
  - Fixed: Clicking on bag slots when viewing another character's
    inventory will no longer pickup items on the current character.
  - Fixed: Lua error when shift or ctrl clicking an empty slot
    while viewing another character's bags or bank.
  - Fixed: TBag would remove character specific keybindings on
    the first run.
  - Fixed: Lua errors when mousing over a bag slot that had
    no bag in it.
  - Fixed: The FluidFrames addon would prevent the right click
    menu on the inventory or bank window from coming up and
    if you moved the inventory or bank window it would not
    remember it's location.


------------------------------------------------------------------------
r5 | shefki | 2007-10-24 22:52:21 +0000 (Wed, 24 Oct 2007) | 20 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/Readme.txt
   M /trunk/TBag.lua
   M /trunk/TBagCmd.lua
   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.lua

* 2007-06-19-Shefki
  - Fixed: Ability to split stacks in bank.
  - Fixed: Backpack button not opening inventory window.
  - Fixed: Bag spotlights weren't clearing when closing inventory
    window in some cases.
  - Fixed: Other mods using OpenAllBags() were causing the blizzard
    frames to open.  BulkMail2 was an example of such an addon.
  - Fixed: When the Keyring is set to show in the inventory window,
    clicking on the keys allows you to properly interact with them.
    Previously, you'd pickup inventory items rather than keys or
    nothing would happen.
  - Fixed: /tinv show, /tinv hide, /tbnk show, /tbnk hide were not
    working.  Fixed them.
  - /tbag is now an alias for /tinv.
  - Shift clicking on bag/backpack/bankbag buttons now produces a
    consistent result.  In particular shift clicking on the backpack
    button will no longer close the inventory window.
  - Removed the Talos from the header on the keybindings.


------------------------------------------------------------------------
r4 | shefki | 2007-10-24 22:49:58 +0000 (Wed, 24 Oct 2007) | 10 lines
Changed paths:
   M /trunk/Changelog.txt
   M /trunk/Readme.txt
   M /trunk/TBag.lua
   M /trunk/TBnk.xml
   M /trunk/localization.lua

* 2007-06-10-Shefki
  - Right clicking on an item in a built in bank slot wasn't moving
    the item to the bag.  Somehow the frame wasn't inheriting 
    the proper events, added them back in.
  - Hopefully fixed the stacking problem where the item would get
    stuck in the cursor.  Stacking is still somewhat slow but it
    shouldn't get stuck anymore.  Removed the issue from the
    Todo/Known issues list.


------------------------------------------------------------------------
r3 | shefki | 2007-10-24 22:48:02 +0000 (Wed, 24 Oct 2007) | 28 lines
Changed paths:
   A /trunk/Changelog.txt
   A /trunk/Readme.txt
   D /trunk/Save.txt
   M /trunk/TBag.lua
   M /trunk/TBag.toc
   M /trunk/TBagOpt.lua
   M /trunk/TBnk.lua
   M /trunk/TBnk.xml
   M /trunk/TBnkHooks.lua
   D /trunk/TBody.lua
   D /trunk/TBody.xml
   M /trunk/TInv.lua
   M /trunk/TInv.xml
   M /trunk/TInvHooks.lua
   M /trunk/ToDo.txt
   M /trunk/localization.lua

* 2007-06-09-Shefki
  - Fix crash from items with cooldowns in some bank slots.
  - Offline (not at bank) viewing now properly displays items with
    random enchants.
  - Search results of items that have random enchants now show the
    full name and the proper link.
  - Icon for the built in bank slots is no longer a candy sack but
    a more appropriate footlocker like icon.
  - Added an option to disable showing the blizzard bag frames when
    clicking on bag icons.  (Defaults to not showing them).
  - Added support for linking items in chat and using the dressing
    room for offline (not at bank or inventory of other characters).
    Normal shift click and ctrl click behavior to access this
    functionality is available.
  - Added support for Item Comparisons added with WoW 2.1.  Holding
    down shift while hovering over an item will show you what you
    have equiped in the same slots as that item.  Works for
    the bank (offline or online) and bags (current character or not).
    Note: Some items this will not work with.  This is a Blizzard bug,
    if it is not properly set to Class: Armor the comparison tooltips
    will not display.
  - Removed unused files: TBody.xml, TBody.lua, and Save.txt.
  - Added Readme.txt and Changelog.txt.
  - Updated TOC file.  Interface is now set to the current release
    interface.  Removed the ugly color Talos from the Title.
    Added my name to the author line.


------------------------------------------------------------------------
r2 | shefki | 2007-10-24 22:42:25 +0000 (Wed, 24 Oct 2007) | 3 lines
Changed paths:
   A /trunk/Bindings.xml
   A /trunk/DAB_CooldownFont.ttf
   A /trunk/Save.txt
   A /trunk/TBag.lua
   A /trunk/TBag.toc
   A /trunk/TBag.xml
   A /trunk/TBagCmd.lua
   A /trunk/TBagHook.lua
   A /trunk/TBagOpt.lua
   A /trunk/TBagTooltip.lua
   A /trunk/TBagTrade.lua
   A /trunk/TBnk.lua
   A /trunk/TBnk.xml
   A /trunk/TBnkHooks.lua
   A /trunk/TBnkOpts.lua
   A /trunk/TBnkOpts.xml
   A /trunk/TBody.lua
   A /trunk/TBody.xml
   A /trunk/TInv.lua
   A /trunk/TInv.xml
   A /trunk/TInvHooks.lua
   A /trunk/TInvOpts.lua
   A /trunk/TInvOpts.xml
   A /trunk/ToDo.txt
   A /trunk/localization.lua
   A /trunk/localization.xml
   A /trunk/skin
   A /trunk/skin/Blend.tga
   A /trunk/skin/BottomCenter.tga
   A /trunk/skin/BottomLeft.tga
   A /trunk/skin/BottomRight.tga
   A /trunk/skin/ButtonBkgr.tga
   A /trunk/skin/Center.tga
   A /trunk/skin/Left.tga
   A /trunk/skin/Portait.tga
   A /trunk/skin/Right.tga
   A /trunk/skin/TopCenter.tga
   A /trunk/skin/TopLeft.tga
   A /trunk/skin/TopRight.tga

Initial import of TBag 070123.


------------------------------------------------------------------------
r1 | root | 2008-09-20 01:34:50 +0000 (Sat, 20 Sep 2008) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"tbag-shefki/mainline: Initial Import"
------------------------------------------------------------------------
