2010-12-22  mckenziemc  <mckenziemc>

[3a6004d4eacb] [tip]
* testing/LibBuilderTest/test1.lua:

added some tests


[fbe8cc65a640]
* main/main.lua:

allowed 'false' to be passed as a value for workspace


2010-12-21  mckenziemc  <mckenziemc>

[10468e1ecfde]
* main/main.lua:

added a version field to the shell
added some internal documentation


[d892dd6d08c4]
* main/main.lua:

replaced all " with '


[c5bc40205c06]
* main/main.lua:

NewLib: check for collisions before checking new version info and use closeLib
NewLib: version checking - use 'not tonumber' instead of 'type' for the minor
rewrote shellcall
shellindex now returns the defualtVersion library if key is an empty string


2010-12-20  mckenziemc  <mckenziemc>

[6c6395e58b70]
* .hgtags:

Added tag r29beta for changeset cf6a26212fbe


[cf6a26212fbe] [r29beta]
* main/main.lua:

fixed another stupid mistake (LibStub:NewLibrary). Testing if the error messages work right is nice, but doesn't replace testing if the lib actually works :(


[ac2d95b11d3b]
* main/.docmeta, main/main.lua:

removed the test .pkgmeta
fixed a critical error that prevented the library functions from returning values to the caller


[499de21f1e3c]
* main/.docmeta:

copied .docmeta inside main to troubleshoot the documenter not recognizing it


[c44d8b661cd8]
* .hgtags:

Added tag r25beta for changeset 1a4c9bfb98c1


[1a4c9bfb98c1] [r25beta]
* main/main.lua, testing/LibBuilderTest/load.xml, testing/LibBuilderTest/test10.lua, testing/LibBuilderTest/test7.lua, testing/LibBuilderTest/testOmega.lua:

fixed leftover references to 'self'
fixed the OnUpdate frame
added __index to the shell
minor tweak to the tests


[58a703a07ce4]
* main/LibBuilder.lua, main/load.xml, main/main.lua:

renamed LibBuilder.lua to main.lua
redesigned all fields to use encapsulation via file locals
improved documentation


[67190a447c48]
* main/LibBuilder.lua, testing/LibBuilderTest/test8.lua:

modified shellcall and fixed the following setmetatable to use it
_G.LibBuilder and _G["LibBuilder-1.0"] now refer to the library


[e3850d265950]
* main/LibBuilder.lua, testing/LibBuilderTest/test7.lua:

modified NewLib to optionally register the new library in LibStub
added a "shell" that gets placed in _G
added __call metamethods to the shell and the actual lib
added some tests


2010-12-19  mckenziemc  <mckenziemc>

[dbb537f47a2e]
* .hgtags:

Added tag r20beta for changeset cf9f1ef2e366


[cf9f1ef2e366] [r20beta]
* main/LibBuilder.lua, testing/LibBuilderTest/LibBuilderTest.toc:

modified CloseLib to return the same values as GetLib, for last-second initialization
changed the toc Title of the testing addon


2010-12-18  mckenziemc  <mckenziemc>

[165725229e1d]
* main/LibBuilder.lua:

forgot to add explanation for using OnUpdate in LibBuilder.lua


[a9ede053b70d]
* main/LibBuilder-1.0.toc, main/LibBuilder.lua, main/load.xml, testing/LibBuilderTest/LibBuilderTest.toc, testing/LibBuilderTest/test4.lua, testing/LibBuilderTest/test5.lua, testing/LibBuilderTest/test6.lua:

revised .toc Notes again
condensed NOLIB1 & 2 errors into NOLIB
use OnUpdate instead of ADDON_LOADED for detecting un-closed libraries
cleaned up load.xml
updates to LibBuilderTest


2010-12-17  mckenziemc  <mckenziemc>

[d2eeb180557a]
* .hgtags:

Added tag r16beta for changeset be77e28648f2


[be77e28648f2] [r16beta]
* main/LibBuilder.lua, testing/LibBuilderTest/LibBuilderTest.lua, testing/LibBuilderTest/load.xml, testing/LibBuilderTest/test1.lua, testing/LibBuilderTest/test10.lua, testing/LibBuilderTest/test2.lua, testing/LibBuilderTest/test3.lua, testing/LibBuilderTest/test4.lua, testing/LibBuilderTest/test5.lua, testing/LibBuilderTest/test6.lua, testing/LibBuilderTest/test7.lua, testing/LibBuilderTest/test8.lua, testing/LibBuilderTest/test9.lua:

added tests
added an error if CloseLib is called while no library is open
moved OnEvent (and fixed stuff) and actually registered ADDON_LOADED for the frame
geterrorhandler in NewLib was missing a necessary ()


[72a0195ecec2]
* testing/LibBuilderTest/LibBuilderTest.lua, testing/LibBuilderTest/LibBuilderTest.toc, testing/LibBuilderTest/load.xml:

added some testing code (note: tester not tested)


[ea6339112764]
* .pkgmeta:

fixed another error in the .pkgmeta


[83c39de9539b]
* .pkgmeta:

fixed a tab character in .pkgmeta


[07a6012f1290]
* .pkgmeta, LibBuilder-1.0.toc, LibBuilder.lua, load.xml, main/LibBuilder-1.0.toc, main/LibBuilder.lua, main/load.xml:

rearranged files: current expected path for embedding is http://hg.wowace.com/wow/libbuilder/mainline/main
updated .pkgmeta


[68178772d78c]
* LibBuilder-1.0.toc, LibBuilder.lua:

revised description
watch ADDON_LOADED to check if a library was not closed properly
if a collision is detected in NewLib, it will now create the new library before throwing the collision error


[7d584cd37018]
* LibBuilder.lua:

'not tostring(major)' should be 'type(major) ~= "string"'


2010-12-15  mckenziemc  <mckenziemc>

[301beeca1a35]
* LibBuilder.lua:

added error checking
NewLib can now take an optional argument to reuse as the workspace


2010-12-05  mckenziemc  <mckenziemc>

[427338d4374c]
* LibBuilder-1.0.toc:

tweaked title and made LibBuilder LoadOnDemand


2010-12-01  mckenziemc  <mckenziemc>

[f1c7d244a157]
* .pkgmeta:

removed LibStub from .pkgmeta externals


[f7c0160b28c3]
* LibBuilder.lua:

added documentation


