Custom Buttons² ChangeLog
==============

Version 2.0.5.8			2007-11-08	132 KB

	Bump Version for Add-ons release.

Version 2.0.5.7.1b05		2007-11-07	132 KB

	Added Swedish Translation
	Commented out testing alerts left from mod testing.

Version 2.0.5.7.1b04		2007-11-03	132 KB

	Modified Import a Button to Update on an Extension Update

Version 2.0.5.7.1b03		2007-10-31	132 KB

	Added Import a Button as a hard coded custombutton-button0
	Modified min_button_number to skip custombutton-button0
	Bug Fix repaired several issues regarding toolbar decoration

Version 2.0.5.7.1b02		2007-10-25	127 KB

	Added Dutch Translation

Version 2.0.5.7		2007-10-05	127 KB

	Bump Version for Add-ons release.

Version 2.0.5.7b03		2007-10-05	127 KB

	Added bffmode property as boolean true = Minefield
	Added code to invoke places for bookmark button in Minefield
	Added code to disable Customize... till re-start when installing buttons.
	Bug Fix corrected variable typo.

Version 2.0.5.7b02		2007-10-05	127 KB

	Moved Add New Button menuitem placement script to Cb2_overlay.js
	Bug Fix Minefield dialog for install button missing button name Completed.

Version 2.0.5.7b01		2007-09-27	127 KB

	Added close method to close open edit dialogs on shutdown any new work
		will be lost.
	Added removeEventListeners to recover memory on browser shutdown.
	Added code to hide the customize menu option once a button is
		successfully added. Customize... returns on Re-Start.
	Bug Fix Minefield dialog for install button missing button name.
	Re-configured the "Button Successfully Installed" dialog.

Version 2.0.5.6		2007-09-27	126 KB

	Bump Version for Add-ons release.

Version 2.0.5.6b05		2007-09-26	125 KB

	Modified the functions that split and create buttons to streamline code.
		splitButtonURI Deprecated use oSplitButtonURI which on success
		returns an object verses an array, on fail it returns false

Version 2.0.5.6b04		2007-09-26	125 KB

	Removed the Apply button from the Add New editor dialog

Version 2.0.5.6b03		2007-09-25	125 KB

	Modified the button installation method for Minefield to hack away at
	their button install bug.

Version 2.0.5.5		2007-09-24	125 KB

	Bump Version for Add-ons release.

Version 2.0.5.5b02	2007-09-21	125 KB

	Bug Fix - Re-configured to support JavaScript 1.7
		Caused a conflict with AiOS.
		Fixed after more re-structuring

Version 2.0.5.5b01	2007-09-18	125 KB

	Re-configured to support JavaScript 1.7
		buttonsoverlay.js removed
		CbDeprecated.js Added
		buttonsoverlay.xul removed un-used script statement.
	Updated gClipboard to the process suggested my MDC.
	Updated gCounter - we now support passing parameters for count and step.
		count is the initial count to start from.
		step is the iteration step value.
		inc/dec return both pre and post action value as [pre, post].
	Bug Fix - Not all legal cuttombutton uri's deCompiling correctly

Version 2.0.5.4		2007-09-17	125 KB

	Bump Version for Add-ons release.

Version 2.0.5.4b16	2007-09-14	125 KB

	Bug Fix - fixField method returning a null when nothing to fix.
		Now returns the arg as passed

Version 2.0.5.4b15	2007-09-12	125 KB

	Bug Fix - Fixed a failure to test for oBtn.mObj prior to referencing it.

Version 2.0.5.4b14	2007-09-10	125 KB

	Bug Fix - Inserted code to call fixFields when creating old style links.

Version 2.0.5.4b13	2007-09-10	125 KB

	Added Update Confirm Dialog and made others consistent

Version 2.0.5.4b12	2007-09-09	125 KB

	Bug Fix - Sub-Menu Disabled status not staying synced.

Version 2.0.5.4b11	2007-09-09	125 KB

	Bug Fix - Delete Button leaving orphaned menuitems. Now cleaned up.

Version 2.0.5.4b10	2007-09-08	124 KB

	Bug Fix - Menuitems showing in the primary context when no longer in the
		Sum-menu mode.

Version 2.0.5.4b09	2007-09-07	124 KB

	Bug Fix - Terminating comma in last method of gCount.
	Bug Fix - Inconsistant behavior of the disable checked property.
	NOTE: This build intended for Addons release.

Version 2.0.5.4b08	2007-09-06	124 KB

	Bug Fix - Context Images missing.

Version 2.0.5.4b07	2007-09-06	124 KB

	Bug Fix - Context listener was bleeding thru to other buttons.
	Updated - Hyperlink to add space between the image and the link.

Version 2.0.5.4b06	2007-09-06	124 KB

	Bug Fix - Button split loosing the /*Initialization Code*/ field.
		Added User notification of the error encountered
	Added Feature - Counter Object for author use in counting.
			custombuttons.gCounter()
	Added Feature - Debug output to the focused window.
			custombuttons.gMyPrn( sStr );
	Major Upgrade - Created a context menu object which will manage a second
		Context menu as a sumbenu of the primary.

Version 2.0.5.4b05	2007-08-31	122 KB

	Bug Fix - Install button from web fails.
		Modified CustomButtonProtocol.js to comply with my more rigid
			  testing specifications.

Version 2.0.5.4b04	2007-08-29	122 KB

	Bug Fix - Update not correctly handling hyper, and BBCode links.
		  Corrected splitButtonURI.
	Added -   Mockup of Context Menu mods

Version 2.0.5.4b03	2007-08-29	122 KB

	Bug Fix - Replaced second argument ("this" removed in version 2.0.5.4b01)
		  in onclick for backward compatibility.
	Bug Fix - Corrected a regression in createButton function.
	Added   - Update Button to the Context menu.
		  [Copy the new link into the clipboard then select Update Button
		  in the target button's context menu.] The Name, Image, Code, &
		  Init code fields will be replaced. The button retains it's ID.

Version 2.0.5.4b02	2007-08-29	122 KB

	Bug Fix - In Save this Button.
		  (Missing closing curly brace)
	Bug Fix	- Bookmark this Button failed.
		  (Missing namespace identifier "this.").

Version 2.0.5.4b01	2007-08-28	122 KB

	overlay.js
	Added comments for each Function, Method, and Object
	Standardized most of the coding.
	Added Default strings to set the code fields to at least the default
		first comment.
	Added option to pass a button to the createLinks method.
	Streamlined code in bookmarkButton Method
	Modified getNumber method to use replace vs substring.
	Moved the mouse handler code into the custombuttons object The original
		functions are still present and call the code in custombuttons obj.
	Modified the createButton Method to honor the button ID pref

	editor.js
	Updated homepage.
	Added Alt Click functions.
	Removed cButton from onclick event as redundant. event.target is the same.
	Added Default strings to set the code fields to at least the default
		first comment.

	custombuttons.properties
	Added Default strings to set the code fields to at least the default
		first comment.
	Updated homepage string.
	Added Alt key strings.

	options.xul
	Added an option to include the button ID # in the tooltip.

Version 2.0.5.3		2007-24-21	118 KB

	Bump Version for Add-ons release.

Version 2.0.5.3b02	2007-08-21	118 KB

	Bug Fix	typo rRret > rRet
	Bug Fix	Reversed the sequence for checking the button decode separator
		Cleaned up the code for efficiency.

Version 2.0.5.3b01	2007-08-08	119 KB

	Bug Fix	Menus graying on exit
		Added code to skip adjusting opacity when the mouse is in a menu.
	Added additional button separator constants.

Version 2.0.5.2		2007-08-03	119 KB

	Bug Fix
		Reduced version compatibility due to a Minefield issue with Customize...
		and custombuttons prior to a Re-start.
	Bug Fix
		Modified removeButton Method to improve toolbar stability.
		Modified cloneButton Method to improve toolbar stability.
		Modified createButton function to improve toolbar stability and
		accept an additional arg btn.
	Bug Fix
		Removed a dup statement from setButtonParameters Method which prevented
		the correct sorting of buttonsoverlay.xul
	Added
		Method commitTbChanges to consolidate localstore.rdf maintenance to 1 method
	Bug Fix
		Method commitTbChanges corrected variable naming error
	Modified
		disableButton Method to accept args btn and state in prep. for future changes.
	================================================================
	Bug Fix - Reverted the Following:
		2007-06-08
			Re-wrote removeButton:function() to fix issues with other
			chrome elements disappearing following a Custom Buttons
			delete.
			Modified saveButtonsToProfile:function() to skip deleted
			buttons when writing buttonsoverlay.xul on deletion and
			shutdown.
		2007-07-15 - 2.0.5.1
			Added lReStart Property Booleen,
			Added createdButtonPalette Array,
			Added doItNow Method
			Modified saveThisButton Method - inserted style to
			replace deprecated hspace property.
			Modified setButtonParameters: = Due to issues with
			Minefield. Re-designed strategy for installing buttons to
			FireFox. Now for New and Web
				installed buttons the new button is buffered in
				an array and written to buttonsoverlay.xul rather
				than being directly inserted
				into gToolbox.palette. Changed Prompt box to
				confirmex to offer Re-Start on button install.
			Modified installWebButton Method to call doitNow Method
			for Re-Start.
			Added argument oNewButt to saveButtonsToProfile
			Method - this is the button to be buffered. Modified code
			to buffer this new arg. Added a flush statement to ensure
			the dta was written prior to a re-start.
		2007-06-08 - 2.0.03.3b001
			Bug Chrome elements not persistent when a Custombutton
				is deleted.
			Fix Modified the delete strategy to let FF set the chrome
				on re-start. The button is removed from
				buttonsoverlay.xul.
	Returned to old behavior due to button ID's getting duplicated.
	================================================================
	End Reversion:
	Bug Fix
		Added code to imageLoadListener Method to eliminate an
		exception being thrown when converting an image to base64.
	Modified saveButtonsToProfile Method
		to sort buttons prior to writing the buttonsoverlay.xul files.
		Buttons now appear in Id order ascending.
	Modified Tooltip default
		to button ID and button label in the format [##:Label]
	================================================================
	Modified editor.js
		Changed the tooltiptext statement as follows
		- this.tooltipText =  this.label + "";
		+ // this.tooltipText += "";
	Modified custombuttons.properties
		Removed the Re-Start text from the install button alert
	Deprecated OvrlyReStartButton = Re-Start
		Due to the new button install strategy being faulty.
	Modified codeeditor.XML
		Changed keyword canBubble => bubbles 7/30/2007

Version 2.0.5.1		2007-07-15	118 KB

	Changed Button install strategy - Now the button is buffered and saved in buttonsoverlay.xul.and NOT
		inserted directly into gToolbox.palette fixing a minefield issue.
	Modified editor.js
		Changed the rightclick default function to call the context menu, and added comments to help coders

Version 2.0.5		2007-07-13	118 KB

	Bump Version for Add-ons release.

Version 2.0.5b03	2007-07-09	118 KB

	Provide a BBcode button link for posting to the new Forum.
	Incorporated new button split strategy in the save functions.
		This version is now complete for release to Addons. with no code changes and a version bump.

Version 2.0.5b02	2007-07-08	118 KB

	Removed deprecated hspace attribute from createLinks method
	Removed Thunderbird references from install.rdf.
	Incorporated new button split strategy.
		This interim version is provided for those wanting to
		save Buttons in the old format and still retrieve new format Buttons.

Version 2.0.4		2007-06-21	117 KB

	Bump Version for Add-ons release.

Version 2.0.4b05	2007-06-21	117 KB

	Neutered BBCode menu item till new Board goes live.

Version 2.0.4b04	2007-06-20	115 KB

	Replaced missing image created in a cleanup attempt.

Version 2.0.4b01	2007-06-20	115 KB

	Fixed Bug in View Codes listener caused by attempts to get Thunderbird running.

Version 2.0.4b01	2007-06-20	115 KB

	Fixed Bug in View Codes listener caused by attempts to get Thunderbird running.

Version 2.0.3.3b06	2007-06-19	120 KB

	Fixed undefined error when home page attribute was missing.
	Fixed up some minor console warning issues.
	  Moved bgbundleString from custombuttons to cb2sup.
	Made changes to install.rdf to accommodate Thunderbird
	  Modified custombuttons.init() to skip the addlistner for viewcodes in TBird
	  Re-configured links section of custombuttons & incorporated createLinks Method
	  which does all the linkification of buttons. The separate methods now call this new method.
		Consider the following methods deprecated:
		   1. custombuttons.copyHyperlink
		   2. custombuttons.copyURI

	Moved the Add New Button menu item to be above the Customize item.
	Added Copy as BBCode Link menuitem to button Context menu and code to produce the link.
	Added Disable button menu Item to button Context menu & the code to dis/re-enable the button.
	  Added 2 methods to custombuttons ButtonBrt & ButtonDim for inclusion in the mouseover/out
	  show focus process. They must be passed the mouse event.

Version 2.0.03.3b05		2007-06-13	188 KB

	Re-format the extension to jar format.
	updated install.rdf to "http://www.w3.org/1999/02/22-rdf-syntax-ns#"

Version 2.0.03.3b04		2007-06-10	127 KB

	Moved all localized strings in overlay.js to cb2Strings Object.
	Also moved 10 constants cb2const object.

Version 2.0.03.3b03d		2007-06-09	126 KB

	Added custombuttons method fixField(arg_string) > returns a string from the code each field with ][ modified to ] [.
	This is to hack the issue where buttons with ][ in their code fail to decode correctly in getButtonParameters2 etc.
	Code goes missing. This is a hack & not the correct fix

Version 2.0.03.3b002		2007-06-09	126 KB

	Added button ID to the help alert title bar.

Version 2.0.03.3b001		2007-06-08	140 KB

	Bug Chrome elements not persistent when a Custombutton is deleted.
	Fix Modified the delete strategy to let FF set the chrome on re-start.
		The button is removed from buttonsoverlay.xul.

Version 2.0.03.2	2007-06-07	124 KB

	Bug Install Issues.
	Fix New Package created & tested more thoroughly.
	Bug Browse for Image button broken, Clicking it did nothing.
		Regression due to Localization process.
	Fix Corrected missing reference.
	Bug Minor - Double link produced in html doc produced by
		"Backup This button" option in the Button Context Menu.
		(I believe - normal behavior for html when alt image tag is used &
		no image is present.)
	Fix Now the Default Image is inserted in to the button Image field when
		a new button is created. (Original Behavior option will still leave
		the Image field empty as expected.)
	Added Features:
		Option to show/hide the Edit Dialog Apply Button.
		Added "Add New Button" Option to the "Tool Bar Context Menu"
		Added Custom Buttons� logo to "Add New Button" options in the context menus.
		Changed Custom Buttons� logo.

Version 2.0.03.1	2007-06-05	140 KB

	Tested in FF 3.oa6 & found compatible.
	No code changes.
