------------------------------------------------------------------------
r60 | curseuser1 | 2010-11-23 22:15:03 +0000 (Tue, 23 Nov 2010) | 1 line
Changed paths:
   M /trunk/posting.lua

- fix for posting.lua error
------------------------------------------------------------------------
r59 | curseuser1 | 2010-11-06 09:59:42 +0000 (Sat, 06 Nov 2010) | 1 line
Changed paths:
   M /trunk/postingUI.lua

- fix for Posting UI: stack size max should be min of available and item type max stack (not just item type max stack)
------------------------------------------------------------------------
r58 | curseuser1 | 2010-11-06 09:31:02 +0000 (Sat, 06 Nov 2010) | 4 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/postingUI.lua

- Posting UI deposit shows 1 stack price (previously all stacks)
- Posting UI bid and buyout now show 1 stack price (previously single item)
- Posting UI strings made localizable
- some debugging print statements removed
------------------------------------------------------------------------
r57 | curseuser1 | 2010-11-06 06:13:35 +0000 (Sat, 06 Nov 2010) | 1 line
Changed paths:
   A /trunk/postingUI.lua

- missing file from last check-in
------------------------------------------------------------------------
r56 | curseuser1 | 2010-11-06 06:13:00 +0000 (Sat, 06 Nov 2010) | 3 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/Capitalist.toc
   M /trunk/PatchStartAuction.lua
   M /trunk/data.lua
   M /trunk/posting.lua
   M /trunk/products.lua
   M /trunk/scanning.lua

- revamp of Posting UI
- CancelAuction is no longer overridden, new name CancelAuctionWithPrompt
- (internal) added ComponentsForSkill and ComponentsForSkillProduct helpers
------------------------------------------------------------------------
r55 | curseuser1 | 2010-11-05 18:48:42 +0000 (Fri, 05 Nov 2010) | 2 lines
Changed paths:
   M /trunk/data.lua

- fix for Enchanting Vellum missing from Component Shopping UI
- fix for Enchanting Vellum missing from Resource Costs if account doesn't have a Scribe with the skill
------------------------------------------------------------------------
r54 | curseuser1 | 2010-11-04 20:03:22 +0000 (Thu, 04 Nov 2010) | 1 line
Changed paths:
   M /trunk/data.lua

- fix for "Enchanting misbehaves if scanned before Scribe (or if you have no Scribe)"
------------------------------------------------------------------------
r53 | curseuser1 | 2010-11-04 07:24:59 +0000 (Thu, 04 Nov 2010) | 1 line
Changed paths:
   M /trunk/costs.lua
   M /trunk/options.lua
   M /trunk/reagentUI.lua

- fix for Component Shopping UI to use Value when Buy Price not set
------------------------------------------------------------------------
r52 | curseuser1 | 2010-11-04 03:22:20 +0000 (Thu, 04 Nov 2010) | 1 line
Changed paths:
   M /trunk/options.lua

- ESC key on Search Term edit box of Profession Filters now clears the search term
------------------------------------------------------------------------
r51 | curseuser1 | 2010-11-03 08:33:55 +0000 (Wed, 03 Nov 2010) | 1 line
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/options.lua

- Search Term in Product Filters is much more predictable (sticky and cross-profession)
------------------------------------------------------------------------
r50 | curseuser1 | 2010-11-03 05:53:44 +0000 (Wed, 03 Nov 2010) | 5 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/PatchStartAuction.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/posting.lua

- added Merchant Valuation option (off by default)
- changed StartAuction global function override to simpler new StartAuctionWithPrompt function (resolves collision with non-Capitalist posting methods)
- fixed options UI to update/add new professions if they are discovered while Options UI is open
- fixed crafting and product count updates updating issue with Options UI open while crafting
- fixed infinite issue with loop criteria in UpdateCombinedValues
------------------------------------------------------------------------
r49 | curseuser1 | 2010-11-01 09:28:17 +0000 (Mon, 01 Nov 2010) | 1 line
Changed paths:
   M /trunk/scanning.lua

- fix for scanning.lua, L307 error for "Scan: failed" case
------------------------------------------------------------------------
r48 | curseuser1 | 2010-11-01 09:19:01 +0000 (Mon, 01 Nov 2010) | 1 line
Changed paths:
   M /trunk/options.lua

- initial attempt at a term searching in Profession Filters
------------------------------------------------------------------------
r47 | curseuser1 | 2010-11-01 02:19:00 +0000 (Mon, 01 Nov 2010) | 4 lines
Changed paths:
   M /trunk/auctionUI.lua
   M /trunk/events.lua

- fix to CHAT_MSG_LOOT handler to correct "restocking not decrementing when crafting" issue
- fix to CHAT_MSG_LOOT handler to decrement the produced count rather than just 1
- adjustment to previous fix: only products with effective count >= 1 are listed in Products Auction UI and restocking

------------------------------------------------------------------------
r46 | curseuser1 | 2010-11-01 01:20:34 +0000 (Mon, 01 Nov 2010) | 16 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/Localization.enUS.lua
   M /trunk/auctionUI.lua
   M /trunk/components.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/posting.lua
   M /trunk/products.lua
   M /trunk/restocking.lua
   M /trunk/scanning.lua

- fixed "profession doesn't show up until /reload" options UI issue
- fixed Value calculations so that pendingComponent value increased are reflected in subsequent pending products 
- revamped the options UI localization
- added overview, footers, and such to options UI to improve clarity of meaning of the various knobs and levers
- added 'pattern' field to the four General options to perform validation of input
- fixed 'pattern' field of Product Count edit boxes to allow more than 1 digit
- fixed Created Products UI to fix "profession collision" issue
- fixed Created Products tracking to account for skills that craft more than one item
- added Used Skills section to options UI
- added some new Data Management options
- Runeforging is no longer included in profession scanning
- Product Auction UI is now sorted by displayed name rather than skillName
- Product Auction UI list is now reconstructed on entry of Auction House rather than every time a page is turned
- fixed various to use ProductGetCount (so that the default is respected when user has not customized)
- fixed/restored implementation of 'missing' command
- removed some debugging usage of print()
------------------------------------------------------------------------
r45 | curseuser1 | 2010-10-31 08:52:47 +0000 (Sun, 31 Oct 2010) | 8 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/costs.lua
   M /trunk/debug.lua
   M /trunk/options.lua

- re-enabled Enforce/Update/Update functions in OnInitialize
- updated 'get' function for "Buy Price" to populate the UI with 'value' if 'buyPrice' is not set
- fixed GetResourceCopperBuyPrice to not interact with value
- corrected missing 'unclaimedValue' updating in UpdateCombinedValuesSkillComponentProcessed
- removed unused UpdateCombinedValues1
- added logging support to UpdateProductComponentValues (pass 2 still needs it)
- added "Log value calculations" to Debug options
- removed unused "Clear & recalc" from Debug options
------------------------------------------------------------------------
r44 | curseuser1 | 2010-10-31 05:00:29 +0000 (Sun, 31 Oct 2010) | 31 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/Localization.enUS.lua
   M /trunk/components.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/products.lua
   M /trunk/reagentUI.lua
   M /trunk/restocking.lua
   M /trunk/scanning.lua

VERY ROUGH CHECK-IN
Going to polish that after it's in.  I've had the files checked out too long.

Highlights
- all cost/price/etc. data in CapitlistDB is now in copper as an integer, rather than in gold as a float
- extracted EnforceProductsCannotHaveCostSetting helper function
- strip cost values from merchant-supplied resources (the buyPrice is used instead)
- trade skill scanning now stores the merchant sell price with products
- introduced the notion of Value, which represents the inherit value of an item as part of a merchant-sellable product
- automatically calculate Value throughout the item hierarchy
- trade skill scanning triggers Value recalculation when changes are discovered
- merchant updating triggers Value recalculation when changes are discovered
- added Data Management tab to option which allows for clearing out DB data
- "all products" profession filter option is now a tri-state checkbox
- profession count options are edit boxes again, and enforce integer values
- component cost options are edit boxes again, and enforce floating point values
- component costs are now split into "Buy price" and "Assumed Cost"; BP affects Component AuctionUI, AC affects price calculations for products
- added "skill caches" to improve performance of skills-to-products and products-to-skills lookups
- corrected bug in Component Auction UI histograms to display properly when Buy Price is zero

Details
- first four General options are now half-sized (better screen use)
- added "Expansion filters" header to General options
- localization issue with the Burning Crusade tooltip
- ApplyFilters no longer calls CostMemoryReset (was unnecessary perf loss)
- added missing link field to Enchanting Vellum data construction

Needs attention
- 'Missing' command has some debugging leftovers
- some temporary Debug tab options soon won't be needed
- stray 'print' statements around "Scan: failed"
------------------------------------------------------------------------
r43 | curseuser1 | 2010-10-28 06:23:05 +0000 (Thu, 28 Oct 2010) | 7 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/auctionUI.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/posting.lua
   M /trunk/scanning.lua

- added icons next to entries in Product Auction UI
- clicking the red count on the Product Auction UI now includes restock information account-wide
- implemented 2nd attempt at removing the 4-5 second lag when clicking Scan on the Product Auction UI
- when updating resource prices with Merchant Costing, cached cost calculations are now reset
- glyphs have "Glyph of " removed in Products Auction UI
- added "Bid price at cost" setting (default is off)

------------------------------------------------------------------------
r42 | curseuser1 | 2010-10-27 08:01:59 +0000 (Wed, 27 Oct 2010) | 32 lines
Changed paths:
   M /trunk/auctionUI.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/posting.lua
   M /trunk/products.lua
   M /trunk/restocking.lua
   M /trunk/scanning.lua

Hack for "Glyph of Death Coil" disambiguation

The general approach is to apply " <Warlock>" or " <Death Knight>" suffix
to all skillName, productName, and link output when "Glyph of Death Coil"
is involved.

When interacting with the auction UI, the combination of the available
link information and the glyph name are enough to identify properly when
to apply conversion (in either direction).

When interacting with the crafting UI, the combination of the skill link
information and the glyph name serve the same purpose.

TryRestock required an additional twist which was to change the "have I
found the right skill index" logic to compare the itemLink instead of
comparing the item name.

The following functions needed suffix changes:
- AnalyzeAuctionPage	
- BAG_UPDATE
- BANK_FRAME_CLOSED
- CHAT_MSG_LOOT
- CheckForCancel
- ProductNameFromSkillName
- ProductTextFromSkillName
- ScanFinished
- ScanTradeSkillFrame
- SkillTextFromSkillName
- TryPost
- UpdateAuctionUI

All of the above was tested at least one *except* for CheckForCancel.
------------------------------------------------------------------------
r41 | curseuser1 | 2010-10-27 05:02:37 +0000 (Wed, 27 Oct 2010) | 9 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/options.lua
   M /trunk/products.lua
   M /trunk/reagentUI.lua
   M /trunk/scanning.lua

- fix for "unable to post products for which there is no competition" bug introduced in R31
- fix for scanning perf regression: only enabled products should be included in 'self.list'
- fix to Component Auction UI missing parts that are enabled products (Titanium Bar for enchanting)
- added exception support for "out of range" skill IDs (fixes 2 for enchanting)
- add logic to clear cached cost calculations for Resource Costs changes
- fix for LUA error in UpdateStatistics for virgin accounts (empty CapitalistDB)
- fix in ScanComponents for results that don't match the query (Small Dream Shard when scanning Dream Shard)
- remove unnecessary CostMemoryReset in StartScan

------------------------------------------------------------------------
r40 | curseuser1 | 2010-10-26 08:12:22 +0000 (Tue, 26 Oct 2010) | 3 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/components.lua
   M /trunk/costs.lua
   M /trunk/products.lua

- fix for LUA error at components.lua, L74
- fix for LUA error in costs.lua related to use of resourceCostDefault
- sequence command now outputs unknown product for typos
------------------------------------------------------------------------
r39 | curseuser1 | 2010-10-26 07:30:52 +0000 (Tue, 26 Oct 2010) | 2 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/Localization.enUS.lua

- added version command
- added help command
------------------------------------------------------------------------
r38 | curseuser1 | 2010-10-26 07:17:59 +0000 (Tue, 26 Oct 2010) | 15 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/components.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/products.lua
   M /trunk/reagentUI.lua

terminology change
- resources = raw materials such as ore, herbs, etc.
- parts = crafted items used in production of larger item
- components = resources and parts

functional changes
- many 'component' references in the UI changed to 'resource'
- parts are now included in the Component Auction UI
- Component Auction UI is now alphabetically sorted
- updated tooltips for BurningCrusade and Northrend options

internal
- many cost fetching helper functions now explicitly indicate units (gold vs. copper)
- removed unused ProductComponentsAreVisible()
- removed unused ProductComponentsSetVisible()
------------------------------------------------------------------------
r37 | curseuser1 | 2010-10-26 05:09:48 +0000 (Tue, 26 Oct 2010) | 1 line
Changed paths:
   M /trunk/data.lua

- removed some debugging
------------------------------------------------------------------------
r36 | curseuser1 | 2010-10-26 05:04:01 +0000 (Tue, 26 Oct 2010) | 2 lines
Changed paths:
   M /trunk/data.lua

- corrected typo in tradeskill workaround from r33
- updated tradeskill scanning logic to only update reagents if all reagent information was fetched (i.e. not missing from cache)
------------------------------------------------------------------------
r35 | curseuser1 | 2010-10-26 05:02:09 +0000 (Tue, 26 Oct 2010) | 1 line
Changed paths:
   M /trunk/events.lua

- fix for events.lua, L98 error
------------------------------------------------------------------------
r34 | curseuser1 | 2010-10-24 22:13:07 +0000 (Sun, 24 Oct 2010) | 2 lines
Changed paths:
   M /trunk/auctionUI.lua
   M /trunk/products.lua

- reimplemented correction for 3 enchanting scrolls that have a typo
- widened lowest auction owner column of Product Auction UI
------------------------------------------------------------------------
r33 | curseuser1 | 2010-10-24 21:21:16 +0000 (Sun, 24 Oct 2010) | 3 lines
Changed paths:
   M /trunk/data.lua
   M /trunk/products.lua

- FindCrafter now "prefers" the current character (affects Sequence command)
- added workaround for hang on tradeskill launch with empty cache (Inscription hang)
- added logic to only update components if count > 0 for tradeskill scanning
------------------------------------------------------------------------
r32 | curseuser1 | 2010-10-24 10:59:56 +0000 (Sun, 24 Oct 2010) | 8 lines
Changed paths:
   M /trunk/Localization.enUS.lua
   M /trunk/auctionUI.lua
   M /trunk/components.lua
   M /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/products.lua
   M /trunk/reagentUI.lua

- added logic to note the cheapest merchant when components are found on them
- updated Component Auction UI to exclude merchant supplied items
- updated Cost command to output merchant for components
- fixed localization typo in merchant scanning message
- fixed auctionUI.lua, L481 error
- fixed options.lua, L396 error
- fixed products.lua, L194 error
- fixed reagantUI.lua, L505 error
------------------------------------------------------------------------
r31 | curseuser1 | 2010-10-24 08:18:18 +0000 (Sun, 24 Oct 2010) | 30 lines
Changed paths:
   M /trunk/Capitalist.lua
   M /trunk/Capitalist.toc
   M /trunk/Localization.enUS.lua
   M /trunk/PatchStartAuction.lua
   M /trunk/auctionUI.lua
   M /trunk/components.lua
   A /trunk/costs.lua
   M /trunk/data.lua
   M /trunk/debug.lua
   M /trunk/events.lua
   M /trunk/options.lua
   M /trunk/posting.lua
   M /trunk/products.lua
   M /trunk/reagentUI.lua
   M /trunk/restocking.lua
   M /trunk/scanning.lua

Features
- corrected bug in UpdateRestockStack with vellum tally
- added itemLink and recipeLink 
- renamed Component Prices to Component Costs
- only "raw components" allow setting of costs by user
- crafted subcomponent costs are calculated
- added logic to remove cost information for components for which a recipe is discovered
- added automatic updating of subcomponent costs when found on merchant NPCs
- reimplemented and generalized expansion filtering for all professions
- reimplemented auction Scanning to better support multiple product types
- rearranged option handling to make the effects felt immediately instead of on /reload
- updated Options UI to support all characters in account
- updated Products Auction UI to support all characters in account
- updated Shopping Auction UI to support all characters in account
- counts in Products Auction UI are now usable buttons
- separated count and text fields so that the numbers nicely line up
- changed wording for counts in Products Auction UI
- added Cost command
- added Missing command
- updated Sequence command to list all non-cyclic paths to product/subcomponents

Internal
- added itemLink field to products data
- removed 'scroll' field from products data, adding generalized 'recipeLink' field
- terminology change: cost is for buying/selling, price is for selling
- added costsMemory to cache cost calculations for perf
- updated throughout to use new ProductNameFromSkillName helper function
- updated throughout to use new SkillNameFromProductName helper function
- added "Glyph of " as another scan bucket to BuildList
- added DebugOutputCallstack helper (only available with TraceFunctions active)
------------------------------------------------------------------------
r30 | markdall | 2010-10-23 08:25:08 +0000 (Sat, 23 Oct 2010) | 1 line
Changed paths:
   M /trunk/scanning.lua

Fix for scanning w/division to handle stacks.
------------------------------------------------------------------------
r29 | curseuser1 | 2010-10-20 17:59:52 +0000 (Wed, 20 Oct 2010) | 2 lines
Changed paths:
   M /trunk/auctionUI.lua

- added and used helper function for text coloring in auction UI
- "0x" entries in the legend for the product auction UI are now very dim
------------------------------------------------------------------------
