Daniel Folkinshteyn
fb8d0d320a
fix alias bug https://sourceforge.net/tracker/?func=detail&aid=2987147&group_id=58965&atid=489447
...
add tests for appropriate behavior
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8d64d08645
)
2010-08-24 19:45:48 -04:00
James Vega
54dda880d4
Add a pluginCommands kwarg to Commands.listCommands.
...
Plugins which implement their own listCommands method should pass their
non-typically discoverable commands to Commands.listCommands via this
mechanism. This means that the de-duplication of commands is performed in one
spot instead of having each plugin implement it on their on in their
listCommands method.
This reverts commits 0ce829af6215b97e725f4d6d580d1151950be869 and
09fb0e6fc974445a3414fb03a94625f8538d4570.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-22 18:52:15 -04:00
James Vega
4e8dde4994
Alias: Add a useful README
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 22:13:42 -04:00
James Vega
20dd2a0782
No need to define Alias.listCommands.
...
Doing so can actually result in duplicate alias listings.
2009-03-11 13:37:27 -04:00
James Vega
afc78317c7
plugins/Alias: Update Alias.lock and Alias.unlock to work now that aliases are no longer attributes of the plugin.
2006-04-27 22:11:30 +00:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
4baff174a5
plugins/Alias: Stop using attributes for aliases.
2005-05-29 19:41:49 +00:00
James Vega
994cff5c05
Update a couple missed changeFunctionName calls.
2005-05-16 03:25:43 +00:00
James Vega
c6007b320f
plugins/Alias: Fix a test failure.
2005-05-11 00:56:49 +00:00
James Vega
3e07d76dcd
Alias names can coincide with plugin names now.
2005-04-21 01:56:07 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Jeremy Fincher
bd23fd647b
Fixed to make the tests run again with the new refactoring.
2005-02-18 07:31:51 +00:00
Jeremy Fincher
b0cb616709
Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin.
2005-02-09 07:04:04 +00:00
Jeremy Fincher
a656fd0693
Removed recursive alias detection; it was imperfect and our nesting limit will catch issues now.
2005-02-04 02:35:39 +00:00
Jeremy Fincher
75d45b9305
Added Alias in the new plugin format.
2005-02-02 21:48:04 +00:00