LibStub-r47506
Details
-
FilenameLibStub-r47506.zip
-
Uploaded by
-
UploadedAug 26, 2007
-
Size17.76 KB
-
Downloads1,897
-
MD57279952ad3f555f4d29f80b9a9b37b17
Supported WoW Retail Versions
- 2.1.3
Changelog
------------------------------------------------------------------------
r47506 | ckknight | 2007-08-27 04:35:36 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/tests/test.lua
M /trunk/LibStub/tests/test2.lua
LibStub (tests) - add comments to test.lua and test2.lua also change some =='s into rawequal's.
------------------------------------------------------------------------
r47505 | ckknight | 2007-08-27 04:15:08 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
A /trunk/LibStub/tests/test3.lua
LibStub - add test to try to break :NewLibrary and :GetLibrary by passing in garbage data.
------------------------------------------------------------------------
r47503 | ckknight | 2007-08-27 04:13:20 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/tests/test.lua
LibStub (test) - check if minor versions that are strings that include numbers go through properly.
------------------------------------------------------------------------
r47502 | ckknight | 2007-08-27 04:08:36 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
A /trunk/LibStub/tests/test2.lua
LibStub - add another test which checks whether :GetLibrary works, whether it errors if the library doesn't exist, and whether :IterateLibraries works properly.
------------------------------------------------------------------------
r47501 | ckknight | 2007-08-27 04:03:35 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/tests/test.lua
LibStub - make test more comprehensive, test creation, updating.
------------------------------------------------------------------------
r47500 | ckknight | 2007-08-27 03:56:34 -0400 (Mon, 27 Aug 2007) | 3 lines
Changed paths:
A /trunk/LibStub/tests
A /trunk/LibStub/tests/test.lua
LibStub - add tests folder with a sample test file.
- there should be one test per file.
- tests are meant to be run out of WoW, not in it.
------------------------------------------------------------------------
r47499 | ammo | 2007-08-27 03:51:33 -0400 (Mon, 27 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS
- Fix spaces -> tabs (again)
------------------------------------------------------------------------
r47490 | ckknight | 2007-08-27 01:46:05 -0400 (Mon, 27 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub - fix a typo
------------------------------------------------------------------------
r47489 | kaelten | 2007-08-27 01:13:03 -0400 (Mon, 27 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
M /trunk/LibStub/LibStub.toc
LibStub: LS-8
- fixed oversite in minor return on NewLibrary
------------------------------------------------------------------------
r47487 | kaelten | 2007-08-27 00:59:45 -0400 (Mon, 27 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- Added minor version number as a second return value to GetLibrary and NewLibrary
------------------------------------------------------------------------
r47478 | nevcairiel | 2007-08-26 19:43:50 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- change the quote back, because blizzard thinks its cool, and since my last commit aimed for consistency .. we go consistent with them
------------------------------------------------------------------------
r47477 | nevcairiel | 2007-08-26 19:36:03 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- consistency among error message quotes
------------------------------------------------------------------------
r47467 | ckknight | 2007-08-26 15:16:34 -0400 (Sun, 26 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub - changed the error statements slightly.
------------------------------------------------------------------------
r47466 | nevcairiel | 2007-08-26 15:04:49 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- improved readability of the GetLibrary func
------------------------------------------------------------------------
r47465 | nevcairiel | 2007-08-26 14:04:17 -0400 (Sun, 26 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- removed 2 leftover spaces
- some comment wording changes
------------------------------------------------------------------------
r47446 | ckknight | 2007-08-26 05:04:32 -0400 (Sun, 26 Aug 2007) | 1 line
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub - small optimization.
------------------------------------------------------------------------
r47445 | mikk | 2007-08-26 05:01:25 -0400 (Sun, 26 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-15
- Optimize errorchecking further
- Optimize initialization a bit more
------------------------------------------------------------------------
r47441 | nevcairiel | 2007-08-26 04:04:02 -0400 (Sun, 26 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-8
- some indentation and wording changes
- keep the newline at eof ffs :P
------------------------------------------------------------------------
r47439 | kaelten | 2007-08-26 03:58:27 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-
- bah damned spaces
------------------------------------------------------------------------
r47438 | kaelten | 2007-08-26 03:57:38 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-
- Improved error message inside of GetLibrary
------------------------------------------------------------------------
r47437 | kaelten | 2007-08-26 03:49:11 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-
- changed spaces to tabs
------------------------------------------------------------------------
r47436 | kaelten | 2007-08-26 03:40:54 -0400 (Sun, 26 Aug 2007) | 5 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-14 LS-11 LS-12 LS-13 LS-15
- Drop of callback support
- Reworks and tweaks, line count at 50
- Dropped some of the error messages.
- Split up internal registry
------------------------------------------------------------------------
r47433 | ammo | 2007-08-26 02:58:24 -0400 (Sun, 26 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS
- spaces -> tabs
------------------------------------------------------------------------
r47429 | kaelten | 2007-08-26 01:44:52 -0400 (Sun, 26 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-10
- Added :IterateLibraries()
------------------------------------------------------------------------
r47426 | kaelten | 2007-08-26 01:35:25 -0400 (Sun, 26 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
M /trunk/LibStub/LibStub.toc
LibStub: LS-13 LS-15
- Shifted Error messages to asserts.
- Supports Revision string minor version numbers in much less code.
------------------------------------------------------------------------
r47394 | nevcairiel | 2007-08-25 05:15:31 -0400 (Sat, 25 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- minimal comment/indentation changes
------------------------------------------------------------------------
r47366 | kaelten | 2007-08-24 18:58:21 -0400 (Fri, 24 Aug 2007) | 5 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS
- Changed GetInstance to GetLibrary
- Tweaks
------------------------------------------------------------------------
r47365 | kaelten | 2007-08-24 18:45:55 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS
- Fixed documentation
------------------------------------------------------------------------
r47364 | kaelten | 2007-08-24 18:25:22 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub
- Small Fix
- Readability Improvements
------------------------------------------------------------------------
r47361 | kaelten | 2007-08-24 17:45:16 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
- Line count reduction
------------------------------------------------------------------------
r47360 | kaelten | 2007-08-24 17:35:33 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
- Fixed short cutting so that it can be inserted at the top of the file for libs.
------------------------------------------------------------------------
r47348 | nevcairiel | 2007-08-24 13:50:26 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- some comment and indentation changes
------------------------------------------------------------------------
r47347 | nevcairiel | 2007-08-24 13:36:33 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub
M /trunk/LibStub/LibStub.lua
LibStub: LS-7
- Added optional "silent" flag to GetInstance to turn off the error msg when the requested library was not found and return nil
- removed HasInstance
- removed Embed() and the exports parameter from FinalizeLibrary
------------------------------------------------------------------------
r47341 | nevcairiel | 2007-08-24 12:28:51 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- use .minor for storing the version, at least consistent throughout the stub now
------------------------------------------------------------------------
r47336 | ammo | 2007-08-24 11:49:06 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- Add API comments
------------------------------------------------------------------------
r47335 | ammo | 2007-08-24 11:38:21 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.toc
LibStub: LS-1
- .toc corrections
------------------------------------------------------------------------
r47332 | nevcairiel | 2007-08-24 11:18:53 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- pass-through the first return value in safecall()
------------------------------------------------------------------------
r47331 | cladhaire | 2007-08-24 11:18:12 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-2
* Added an initial implementation of :Embed().
* Added :HasInstance() so we can check without erroring.
------------------------------------------------------------------------
r47328 | ammo | 2007-08-24 11:11:49 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- Fix error message for exports
- Actually check for unregister of callback
------------------------------------------------------------------------
r47326 | cladhaire | 2007-08-24 11:06:13 -0400 (Fri, 24 Aug 2007) | 6 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
* Added some comments to clarify intent/API
* Clarified the manual creation/upgrade process
* Added safecall()
* Fixed error checking in :FinalizeLibrary()
------------------------------------------------------------------------
r47325 | ammo | 2007-08-24 10:40:40 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-5
- First implementation of FinalizeLibrary
- Upgrading embeds is still in the todo
------------------------------------------------------------------------
r47324 | nevcairiel | 2007-08-24 10:36:22 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub
LibStub: LS-1
- update logtemplate so that us tortoise users dont forget to set the LS- thingy
------------------------------------------------------------------------
r47319 | ammo | 2007-08-24 09:50:10 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- Store new _minor when upgrading
------------------------------------------------------------------------
r47318 | nevcairiel | 2007-08-24 09:46:12 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-4
- raise error on level 2 ( so we blame the faulty lib, not us )
------------------------------------------------------------------------
r47317 | nevcairiel | 2007-08-24 09:31:41 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
- LIBSTUB_MINOR is now a manually increased number, no revision string anymore
- added metatable for LibStub("Library-1.0") support
------------------------------------------------------------------------
r47315 | nevcairiel | 2007-08-24 09:15:14 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
- added a check for an early return if our version is older
- moved the upgrade code around a bit
------------------------------------------------------------------------
r47314 | nevcairiel | 2007-08-24 09:09:02 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-1
- Store _minor so version upgrading will actually work
- Don't clear the LS Object when not upgrading
------------------------------------------------------------------------
r47312 | cladhaire | 2007-08-24 09:03:07 -0400 (Fri, 24 Aug 2007) | 4 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub:
* Minor change to error checking in :NewLibrary()
* Converted space indentation to tabs for consistency
------------------------------------------------------------------------
r47311 | nevcairiel | 2007-08-24 08:36:56 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-7
- Initial version of GetInstance
------------------------------------------------------------------------
r47310 | nevcairiel | 2007-08-24 08:06:06 -0400 (Fri, 24 Aug 2007) | 2 lines
Changed paths:
M /trunk/LibStub
M /trunk/LibStub/LibStub.lua
LibStub: LS-4
- We can return from NewLibrary aswell, if we call with the same minor
------------------------------------------------------------------------
r47291 | kaelten | 2007-08-24 01:10:34 -0400 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/LibStub/LibStub.lua
LibStub: LS-4
-Basic self update framework
-First draft of NewLibrary
------------------------------------------------------------------------
r47287 | kaelten | 2007-08-23 22:57:45 -0400 (Thu, 23 Aug 2007) | 2 lines
Changed paths:
A /trunk/LibStub
A /trunk/LibStub/LibStub.lua
A /trunk/LibStub/LibStub.toc
LibStub: LS-1
- Initial Import
------------------------------------------------------------------------