diff LibFarmbuyer.lua @ 73:32eb24fb2ebf

- This code is not quite ready for prime time. Do not run it yet. - Loot events have associated unique IDs, enabling some new actions over the network. These IDs are preserved as part of realm history. As a result, the stored history format has completely changed (and requires less memory as a bonus). - "Prescan for faster handling" option, default off. - "Mark as <x>" now broadcast to other trackers. Older versions can't receive the message, of course. Future: Broadcast reassigning loot. - New options controlling whether (and where) to print a message when another player broadcasts those kinds of changes to existing loot. - Names colored by class when that data is available; CUSTOM_CLASS_COLORS supported. - Metric boatloads of minor tweaks and optimizations throughout.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 29 May 2012 22:50:09 +0000
parents 8442272a8418
children 01cfbfa96dd6
line wrap: on
line diff
--- a/LibFarmbuyer.lua	Sat May 12 11:08:23 2012 +0000
+++ b/LibFarmbuyer.lua	Tue May 29 22:50:09 2012 +0000
@@ -9,9 +9,10 @@
 
 - tableprint(t[,f])
   A single print() call to the contents of T, including nils; strings are
-  cleaned up with respect to embedded '|'/control chars.  If a function F is
-  passed, calls that instead of print().  Returns the accumulated string and
-  either T or the returned values of F, depending on which was used.
+  cleaned up with respect to embedded '|'/control chars.  A single space
+  is used during concatenation of T.  If a function F is passed, calls that
+  instead of print().  Returns the accumulated string and either T or the
+  returned values of F, depending on which was used.
 
 - safeprint(...)
   Same as tableprint() on the argument list.  Returns the results of tableprint.
@@ -54,7 +55,7 @@
   Ditto for table recycling.
 ]]
 
-local MAJOR, MINOR = "LibFarmbuyer", 17
+local MAJOR, MINOR = "LibFarmbuyer", 18
 assert(LibStub,MAJOR.." requires LibStub")
 local lib = LibStub:NewLibrary(MAJOR, MINOR)
 if not lib then return end
@@ -245,7 +246,8 @@
 	_G.safeprint = lib.safeprint
 	_G.safeiprint = lib.safeiprint
 	function lib.tabledump(t)
-		_G.UIParentLoadAddOn("Blizzard_DebugTools")
+		-- Should instead load this and then call the subcommands directly.
+		--_G.UIParentLoadAddOn("Blizzard_DebugTools")
 		_G.LibF_DEBUG = t
 		_G.SlashCmdList.DUMP("LibF_DEBUG")
 	end