From 3bf257227f28a023b9d402d7f3794f4fef04e8b1 Mon Sep 17 00:00:00 2001 From: tekkub Date: Tue, 8 Mar 2011 21:17:50 -0700 Subject: [PATCH 1/8] Some people don't even know what honor points are Closes #24 --- GnomishVendorShrinker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index 7936476..a78cf66 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -102,7 +102,7 @@ local function SetValue(self, text, icon, link) local id = link and link:match("item:(%d+)") self.link, self.index, self.itemIndex = nil if id then self.link = link end - if id and GetItemCount(id) < text or link and not id and GetCurencyCount(link) < text then + if id and (GetItemCount(id) or 0) < text or link and not id and (GetCurencyCount(link) or 0) < text then color = "|cffff9999" end self.text:SetText(color..text) From 37964ab3759ff5399f5b06e579ad2a72b73ef94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=80?= Date: Sun, 3 Apr 2011 05:00:29 -0600 Subject: [PATCH 2/8] Weekly build 4.0.0.10-Beta --- GnomishVendorShrinker.toc | 2 +- README.textile | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 README.textile diff --git a/GnomishVendorShrinker.toc b/GnomishVendorShrinker.toc index 30a3e25..790791c 100644 --- a/GnomishVendorShrinker.toc +++ b/GnomishVendorShrinker.toc @@ -3,7 +3,7 @@ ## Title: GnomishVendorShrinker ## Notes: Compact scrolling vendor frame ## Author: Tekkub Stoutwrithe -## Version: Alpha +## Version: 4.0.0.10 ## X-Website: http://www.tekkub.net/ ## X-Email: tekkub-wow@googlegroups.com ## X-Category: Misc diff --git a/README.textile b/README.textile deleted file mode 100644 index 4e7553d..0000000 --- a/README.textile +++ /dev/null @@ -1,22 +0,0 @@ -GnomishVendorShrinker creates a simple, compact vendor frame, made to compliment GnomishAuctionShrinker. GVS brings an interface similar to Auctioneer's "CompactUI" to the vendor frame. - -h2. Features - -* Simple one-line-per-item interface -* Scrolling list, none of that "paging" crap that makes navigation slow -* Clicking an item simply buys it, instead of picking up the item -* Alt-click buys a full stack (or as close to a full stack as is possible for limited-stock items) -* Ctrl- and shift-click behave as default (dress-up and paste link, respectively) -* Recipes you do not yet know are highlighted in blue -* Items you cannot use are highlighted in red -* Search box to help you find that item you're after on a vendor with hundreds of items - -h2. Un-features - -* No support for split-stack purchases, I'm not convinced it's needed. - -h2. Links - -Visit "my site":http://tekkub.net/ for more great addons
-Please report all bugs and feature requests to my "Github tracker":http://github.com/tekkub/GnomishVendorShrinker/issues
-Please direct all feedback and questions to my "Google Groups":http://groups-beta.google.com/group/tekkub-wow mailinglist.
From 72e91937ba5f662595f1481289c8ae2330f9989f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=80?= Date: Sun, 3 Apr 2011 05:00:29 -0600 Subject: [PATCH 3/8] Update changelog for 4.0.0.10-Beta --- changelog.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.txt b/changelog.txt index 31011eb..65f6661 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +4.0.0.10-Beta + Some people don't even know what honor points are + 4.0.0.9-Beta Make price text red if we can't afford an item From ce0f418ca8717335d8c9ba6abb62fe3f3ffec4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=80?= Date: Sun, 8 May 2011 02:51:13 -0600 Subject: [PATCH 4/8] Updating TOC to 40100 --- GnomishVendorShrinker.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.toc b/GnomishVendorShrinker.toc index 30a3e25..c9843fd 100644 --- a/GnomishVendorShrinker.toc +++ b/GnomishVendorShrinker.toc @@ -1,4 +1,4 @@ -## Interface: 40000 +## Interface: 40100 ## Title: GnomishVendorShrinker ## Notes: Compact scrolling vendor frame From 051f3eecd19bbf15a959c162b5c606df17aff8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=80?= Date: Sun, 8 May 2011 02:51:27 -0600 Subject: [PATCH 5/8] Weekly build 4.1.0.11-Release --- GnomishVendorShrinker.toc | 2 +- README.textile | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 README.textile diff --git a/GnomishVendorShrinker.toc b/GnomishVendorShrinker.toc index c9843fd..d065126 100644 --- a/GnomishVendorShrinker.toc +++ b/GnomishVendorShrinker.toc @@ -3,7 +3,7 @@ ## Title: GnomishVendorShrinker ## Notes: Compact scrolling vendor frame ## Author: Tekkub Stoutwrithe -## Version: Alpha +## Version: 4.1.0.11 ## X-Website: http://www.tekkub.net/ ## X-Email: tekkub-wow@googlegroups.com ## X-Category: Misc diff --git a/README.textile b/README.textile deleted file mode 100644 index 4e7553d..0000000 --- a/README.textile +++ /dev/null @@ -1,22 +0,0 @@ -GnomishVendorShrinker creates a simple, compact vendor frame, made to compliment GnomishAuctionShrinker. GVS brings an interface similar to Auctioneer's "CompactUI" to the vendor frame. - -h2. Features - -* Simple one-line-per-item interface -* Scrolling list, none of that "paging" crap that makes navigation slow -* Clicking an item simply buys it, instead of picking up the item -* Alt-click buys a full stack (or as close to a full stack as is possible for limited-stock items) -* Ctrl- and shift-click behave as default (dress-up and paste link, respectively) -* Recipes you do not yet know are highlighted in blue -* Items you cannot use are highlighted in red -* Search box to help you find that item you're after on a vendor with hundreds of items - -h2. Un-features - -* No support for split-stack purchases, I'm not convinced it's needed. - -h2. Links - -Visit "my site":http://tekkub.net/ for more great addons
-Please report all bugs and feature requests to my "Github tracker":http://github.com/tekkub/GnomishVendorShrinker/issues
-Please direct all feedback and questions to my "Google Groups":http://groups-beta.google.com/group/tekkub-wow mailinglist.
From 2ad89e5386258406dfc81ca1f34c5001a4b6c00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=80?= Date: Sun, 8 May 2011 02:51:27 -0600 Subject: [PATCH 6/8] Update changelog for 4.1.0.11-Release --- changelog.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.txt b/changelog.txt index 65f6661..778250a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +4.1.0.11-Release + Tagging stable version + 4.0.0.10-Beta Some people don't even know what honor points are From f5b9f7ef8e20139cb3aed20cda6864ece0b9686c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=82?= Date: Tue, 24 May 2011 04:14:05 -0600 Subject: [PATCH 7/8] Add AddonLoader LoadOn-InterfaceOptions support --- GnomishVendorShrinker.toc | 2 ++ tekKonfig/tekKonfigAboutPanel.lua | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.toc b/GnomishVendorShrinker.toc index c9843fd..571aa0d 100644 --- a/GnomishVendorShrinker.toc +++ b/GnomishVendorShrinker.toc @@ -7,9 +7,11 @@ ## X-Website: http://www.tekkub.net/ ## X-Email: tekkub-wow@googlegroups.com ## X-Category: Misc +## X-Icon: Interface\Icons\INV_Misc_Toy_07 ## LoadManagers: AddonLoader ## X-LoadOn-Merchant: true +## X-LoadOn-InterfaceOptions: GnomishVendorShrinker tekFunks\gsc.lua tekKonfig\tekKonfig.xml diff --git a/tekKonfig/tekKonfigAboutPanel.lua b/tekKonfig/tekKonfigAboutPanel.lua index f7ea166..80f0a7c 100644 --- a/tekKonfig/tekKonfigAboutPanel.lua +++ b/tekKonfig/tekKonfigAboutPanel.lua @@ -1,9 +1,10 @@ -local lib, oldminor = LibStub:NewLibrary("tekKonfig-AboutPanel", 5) +local lib, oldminor = LibStub:NewLibrary("tekKonfig-AboutPanel", 6) if not lib then return end function lib.new(parent, addonname) + if not parent and AddonLoader and AddonLoader.RemoveInterfaceOptions then AddonLoader:RemoveInterfaceOptions(addonname) end local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer) frame.name, frame.parent, frame.addonname = parent and "About" or addonname, parent, addonname frame:Hide() From 5c3cfa00edd0ff1177f40211511172277a43db59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=82?= Date: Tue, 28 Jun 2011 19:01:06 -0600 Subject: [PATCH 8/8] I love when they change returns like this. Who uses the hex color without the "|c"? NOONE THAT'S WHO Fixes #28 --- GnomishVendorShrinker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index a78cf66..125fa18 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -249,7 +249,7 @@ local grads = setmetatable({ }, {__index = function(t,i) t[i] = default_grad return default_grad end}) local _, _, _, _, _, _, RECIPE = GetAuctionItemClasses() local quality_colors = setmetatable({}, {__index = function() return "|cffffffff" end}) -for i=1,7 do quality_colors[i] = select(4, GetItemQualityColor(i)) end +for i=1,7 do quality_colors[i] = "|c".. select(4, GetItemQualityColor(i)) end local offset = 0 local searchstring local function Refresh()