SleekFreeBagSlots 7.3.5.0	Authors: 
					sarf and Ulti/Ultinor (Ultimor of EU-Sunstrider)
				Co-Author: 
					Zorched/Infiniterage (Infiniterage of Stormrage)
				Updated for Cataclysm through Legion by:
					DonCorneo/personanongratis <suicide@whoever.com>
					(Donatas of Erader/Doomhammer/+other realms)
						with major help of WowAce.

------------------------------------------------------------------------------
FreeBagSlots shows the number of bag slots which are free and/or the total number of bag slots. It can show this for individual bags, or for the sum of all of your (carried) bags. It can include special purpose bags in the total or disregard them. 

Given that the latest file I've uploaded is Ultimor's except for the WoW client version number, here's his Description, also: 

-What?- Displays number of free and/or total slots per bag or globally with minimal memory and resource usage. It does not open your bags as a single or grouped bag. 


-Why?- Because Ultimor almost ripped his eyes out when he realized how much memory the original Free Bag Slots actually used. 

The original by sarf (KiB usage and seconds to load): 

["mem"] = 1371, 

["time"] = 0.1009999999951106, 

["name"] = "FreeBagSlots", 

sfbs (1.2) by Ultimor: 

["mem"] = 27, 

["time"] = 0.004000000073574483, 

["name"] = "sfbs", 

Source of load data: Warmup (addon by Tekkub) 

(note: values are of course not static, and changes on every load, also depending on both system and other addons, etc.) 


In summary, if you liked FreeBagSlots but don't have unlimited memory, this addon is probably for you. 


-Usage- /sleekfreebagslots or /sfbs toggle|free|total|showammo|countammo|colour|perbag|global toggle - toggles sfbs on/off free - toggles display of free slots total - toggles display of total slots showammo - toggles display on special purpose bag slots colour - toggles colour indication perbag - toggles display per bag global - toggles display globally countammo - toggles inclusion of special purpose bag slots in global 


-Other- Almost forgot, thanks to Eternalight (of EU-Sunstrider) who tested random crap Ultimor sent while he didn't have an active wow-account, almost everything has been rewritten since though. 

Another thank you to Darkrunner (also of EU-Sunstrider) who tested the soul bag support for Ultimor. 

This addon should be compatible with any wow-client (including KR), but it's slash-commands are currently only available in English. 

DO NOTE however, that the ammo/quiver option probably does NOT work until proper localization strings has been entered into sfbs\localization.lua 


-Known issues- None reported. 


[09/14/09]DonCorneo/personanongratis 

I did not write any of the program for SleekFreeBagSlots (also known as FreeBagSlots and sfbs in the WoW addons folder) and do not deserve any credit for it. I am simply managing it while it is working. All the credit goes to the original authors noted above who wrote this addon and fixed it. 

This is going to be my first addon management, so if it breaks, I may not be able to fix it. I will not be able to fix any compatibility problems at this time. I just wanted to take this addon out of the "Abandon" category since I still use it and like it over all the others that I have found, and seeing the downloads for it, it looks like others like it too. 

I will gladly accept the help of any experienced addon author should a fix be needed, for which credit will be given if asked. 

I messaged Ultinor and at this time he has no plans of coming back. I have not received any reply from zorched as of the date of this edit. 

This update is purely to show it works with WoW 3.2, no coding changes otherwise. 



[11/3/2010]DonCorneo/personanongratis 

With help from wowace was able to fix sfbs to work with Cataclysm.


[11/28/2012]

Simple update to make SFBS current for WoW 5.1


[07/27/2013]DonCorneo/personanongratis

Simple update to make SFBS current for WoW 5.3


[10/22/2014]DonCorneo/personanongratis

Simple update to make SFBS current for WoW 6.0


[10/30/2015]DonCorneo/personanongratis

Simple update to make SFBS current for WoW 6.02


[06/27/2017]DonCorneo/personanongratis

Simple update to make SFBS current for WoW 6.02

[01/19/2017]DonCorneo/personanongratis

Simple update to make SFBS current for WoW 7.XX



-Changelog-

version: 7.3.5.0
	-update .toc, .lua for WoW 7.3.5

version: 7.2.5.0
	-update .toc, .lua for WoW 7.2.5

version: 6.0.2.0
	-update .toc, .lua for WoW 6.02

version: 6.0.0.0
	-update .toc, .lua for WoW 6.0

version: 5.3.0.0
	-update .toc, .lua for WoW 5.3

version: 5.1.0.0
	-update .toc, .lua for WoW 5.1

version: 4.0.0.0
	-updated .lua for new "Cataclysm" changes in way Add-ons work with the game.

version 3.x.x.x
	-skipped over 3.x.x.x because no major changes made for "Warth of the Lich King".

version: 2.1.0.2
	-fixed typos and rewrote options details.
	-fixed .toc in attempt to be better identified by Minion and Curse V4.

version: 2.1.0.1
	-updated files because of issue with Curse Client V4 not seeing correct version
	 and trying to update to older version instead of current version.
	
Version: 2.1.0a
	-updated .toc, .lua for WoW 3.0.2

Version: 2.1.0
	-default to not including ammo in global values.
	-more optimization

Version: 2.0.3.3
	-fixed perbag setting took 99 bag updates to take effect on reload.
	-optimization: release initialization code after init.
	-optimization: increased some local variable scope to reduce garbage collection.

Version: 2.0.3.2d
	-fixed error reported after every command, and commands took up to 100
	 bag moves to take effect.

Version: 2.0.3.2c
	-fixed some flaws Ultinor pointed out about my version.  (Stealth mode!)

Version: 2.0.3.2b
	-removed debugging statements from debugged code.

Version: 2.0.3.2
	-various optimizations.  Squeezing blood from stones was too easy.
	-extended ammo/quiver/soul bag detection to include all specialty bags.
	-split 'global' into two options, one toggles per bag, one toggles
	 global.
	-added option 'countammo' (default enabled) to include specialty bags
	 in global count.
	-messed with colours.  Few if any colours are now illegible, but now most
	 of the colours look ugly.

Version: 2.0.3.1
	-Updated for WoW 2.0.3.

Version: FINAL RC01 (1.2b) - 060210
	-Added "colour" to usage info.
	-Removed one line of code I had mistakenly left in.
	-Except for bugs, this will probably be the last update.


Version: 1.2 - 060206
	-Ammo/quiver containers tested and working, soul bags not tested but should work.
	-Colour added, if anyone have a better colour formula let me know. 
		(formula: (0.08/(free/total) = red colour (range 0-1) 
			  (10*(free/total)^2 = green colour (range 0-1))
	-Few more optimizations, some reduntant code removed, the colour function
		(mainly its slashcommand) added a few KiB though (unchanged loading time).
	-Changed some structure and a few evaluations to avoid errors that could arise
		under certain circumstances.

Version: 1.1b - 060205
	-Hopefully fixed ammo/quiver function.
	-Added soul-bag support.
	-Removed an event that was of no real use.

Version: 1.1 - 060203
	-Added ammo/quiver option
	-Added localization comments
		(as far as I know "Ammo Pouch" and "Quiver" has to be localized)
	-A few optimizations, sfbs should use even less ingame resources
		although initial load uses 3KiB more memory in this version.
	-Few things added in order to support the Titan Plugin.
	-Should no longer display numbers on empty bagslots.

Version: 1.0 - 060201
	-Initial public release
