LibSlash

v2.1-release

Change log

------------------------------------------------------------------------
r32 | aiiane | 2008-10-02 18:12:17 +0000 (Thu, 02 Oct 2008) | 1 line
Changed paths:
   A /tags/v2.1-release (from /trunk:31)

------------------------------------------------------------------------
r31 | aiiane | 2008-10-02 18:11:48 +0000 (Thu, 02 Oct 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Update for 1.01 patch.
------------------------------------------------------------------------
r29 | aiiane | 2008-09-28 10:59:46 +0000 (Sun, 28 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Added global function slash() to allow invocation of slash commands from /script (for easier usage of LibSlash slash commands in macros). Simply pass it the text in quotes (or L"" for wstring input) that would normally follow the / - for instance, the slash command '/blah test' would become '/script slash("blah test")' for a macro.
------------------------------------------------------------------------
r27 | aiiane | 2008-09-26 19:24:36 +0000 (Fri, 26 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Fixed leaked globals from hook handler.
------------------------------------------------------------------------
r25 | aiiane | 2008-09-23 09:32:16 +0000 (Tue, 23 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Add option to register a slash command to receive wstring input instead of string input (via RegisterWSlashCmd).
------------------------------------------------------------------------
r23 | aiiane | 2008-09-23 02:41:33 +0000 (Tue, 23 Sep 2008) | 2 lines
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

The principle of the matter.
~lart ckknight
------------------------------------------------------------------------
r21 | aiiane | 2008-09-13 22:35:46 +0000 (Sat, 13 Sep 2008) | 2 lines
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Added more informative debug error message for developers.
Slash commands are now case-insensitive.
------------------------------------------------------------------------
r19 | aiiane | 2008-09-11 08:50:16 +0000 (Thu, 11 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

BugFix - forced LibSlash to only check for slash commands at the start of chat entry, and not in the middle of chat.
------------------------------------------------------------------------
r17 | aiiane | 2008-09-09 18:51:56 +0000 (Tue, 09 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.mod

Added /addon and /uimod as default slash commands to open the mods window.
------------------------------------------------------------------------
r16 | aiiane | 2008-09-09 18:50:29 +0000 (Tue, 09 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua

Added /addon and /uimod as default slash commands to open the mods window.
------------------------------------------------------------------------
r14 | aiiane | 2008-09-02 02:43:19 +0000 (Tue, 02 Sep 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.lua
   M /trunk/LibSlash.mod

Use pcall() to invoke registered slash handlers, so we can fail gracefully if a handler errors out.
------------------------------------------------------------------------
r12 | aiiane | 2008-08-23 07:40:28 +0000 (Sat, 23 Aug 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.mod

Dep EASystem_LayoutEditor so that ChatWindow won't error out because it doesn't properly dep it itself. FFS Mythic.
------------------------------------------------------------------------
r10 | aiiane | 2008-08-20 06:19:24 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   M /trunk/LibSlash.mod

Bump to 1.1, let's make the addon name as WAR sees it match the addon name as we see it.
------------------------------------------------------------------------
r7 | aiiane | 2008-08-20 05:49:49 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   D /trunk/LibSlash
   A /trunk/LibSlash.lua
   A /trunk/LibSlash.mod

Fix paths :|
------------------------------------------------------------------------
r5 | aiiane | 2008-08-20 05:40:52 +0000 (Wed, 20 Aug 2008) | 6 lines
Changed paths:
   A /trunk/.pkgmeta
   M /trunk/LibSlash/LibSlash.lua
   M /trunk/LibSlash/LibSlash.mod

Working commit. Basic addon to register slash commands.
- LibSlash.RegisterSlashCmd(string, function)
- LibSlash.UnregisterSlashCmd(string)
- LibSlash.IsSlashCmdRegistered(string)

The handler function is passed a string with everything after the command itself.
------------------------------------------------------------------------
r4 | aiiane | 2008-08-20 05:03:44 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   A /trunk/LibSlash
   A /trunk/LibSlash/LibSlash.lua
   A /trunk/LibSlash/LibSlash.mod

------------------------------------------------------------------------
r3 | aiiane | 2008-08-20 05:02:33 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   D /trunk/LibSlash.lua
   D /trunk/LibSlash.mod

------------------------------------------------------------------------
r2 | aiiane | 2008-08-20 04:59:44 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   A /trunk/LibSlash.lua
   A /trunk/LibSlash.mod

------------------------------------------------------------------------
r1 | root | 2008-08-20 04:54:12 +0000 (Wed, 20 Aug 2008) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"libslash/mainline: Initial Import"
------------------------------------------------------------------------

Facts

Uploaded on
02 Oct 2008
Game version
  • Beta 3.0
Filename
LibSlash-v2.1-release.zip
Size
3.1 KiB
MD5
eff90a18b33c175a0c78eb3ded47d668
Type
Release
Status
Normal

Authors