Commit Graph

91 Commits

Author SHA1 Message Date
James Vega
c0a8f5e45d commands.reversed => commands.reverse 2004-10-24 03:53:56 +00:00
James Vega
4dafdcdd57 Massive updates. %r -> %s, some commands.wrap updates. Factoids is broke
until we get some stuff working in commands.py
2004-10-23 22:07:50 +00:00
Jeremy Fincher
1a6b4aaa95 Removed an old comment that wouldn't ever work. 2004-10-23 21:22:55 +00:00
Jeremy Fincher
1a73603e22 Added httpUrl converter. 2004-10-23 20:54:28 +00:00
Jeremy Fincher
e3bdd34f3f Allow ids to have # in front of them. 2004-10-23 20:32:29 +00:00
Jeremy Fincher
410569708c Fixed bugz0r. 2004-10-22 19:50:32 +00:00
Jeremy Fincher
c943ab77bb Made commands.wrap stop doing decorators, exposed thread and urlSnarfer, and changed plugins accordingly. 2004-10-22 05:56:55 +00:00
Jeremy Fincher
2179548da9 Added an XXX. 2004-10-19 16:43:09 +00:00
Jeremy Fincher
803997ee78 Somehow the p-testing was removed. 2004-10-19 12:13:41 +00:00
Jeremy Fincher
e960bad9d1 Fixed #1049958. 2004-10-19 12:01:33 +00:00
Jeremy Fincher
eb5531034c Handle properly state.allowExtra in context. 2004-10-19 11:56:34 +00:00
Jeremy Fincher
9d0fa5e3ff Changed callerInChannel to callerInGivenChannel; added nickInChannel, added matches, and raised a subclass of KeyError from getConverter so we get prettier tracebacks. 2004-10-19 03:10:58 +00:00
Jeremy Fincher
6d62500a07 Allow wrappers to set the allowExtra value. 2004-10-19 01:43:58 +00:00
Jeremy Fincher
edc1e70648 Fixed empty types. 2004-10-15 11:18:55 +00:00
Jeremy Fincher
e720f46a5a Not completely working, but tests pass (for what's expected to pass). 2004-10-14 08:41:08 +00:00
James Vega
85780543aa Add some (hopefully) elucidating comments. If anyone (*cough*jemfinch*cough)
thinks they are ambiguous or could be better worded, please adjust.
2004-10-13 14:57:25 +00:00
James Vega
aeed361d4c We actually want the state that the spec call gives us. Also, let's check
whether our default is callable and return the value of calling it, if so.
2004-10-13 14:37:52 +00:00
Jeremy Fincher
477ec6ead7 Fix0red the failure. 2004-10-12 11:58:08 +00:00
Jeremy Fincher
4eafd9b779 New tests, and new implementation (though a test still fails). 2004-10-12 00:41:40 +00:00
James Vega
edc698e48b Fix testing for positiveInt and nonNegativeInt. 2004-10-06 04:32:03 +00:00
Jeremy Fincher
7ddf8eb257 Forgot an implication of requireExtra. 2004-10-03 22:38:10 +00:00
Jeremy Fincher
4c31e63ff8 Updated to use __all__, etc. 2004-10-03 09:03:34 +00:00
Jeremy Fincher
4dd07b1690 Converted to use commands. 2004-10-02 20:12:48 +00:00
Jeremy Fincher
54b6880a80 Changed noExtra to allowExtra and kept the default False. 2004-10-02 17:46:03 +00:00
Jeremy Fincher
51c0fb4cc1 Updated _int to accept other bases. 2004-10-02 17:31:58 +00:00
Jeremy Fincher
21ef10f831 Commented out a debug log, change inChannel and checkChannelCapability to automatically run getChannel if there is no state.channel, and perhaps a few other minor tweaks. 2004-10-02 16:52:26 +00:00
Jeremy Fincher
dc55a330fa Fixed bugs in getopt handling with arguments. 2004-10-02 03:07:19 +00:00
Jeremy Fincher
0e3f7fe527 Added wildcard support. 2004-10-02 02:21:26 +00:00
Jeremy Fincher
83af5aa6c0 Oops, left a print in. 2004-10-02 00:49:08 +00:00
Jeremy Fincher
567f0b0001 Fixed a bugz0r. 2004-10-01 22:33:02 +00:00
Jeremy Fincher
8afad62691 A now type and a text type. 2004-10-01 21:27:22 +00:00
Jeremy Fincher
786d2f07fc removed some bugginess and added getUrl. 2004-09-30 09:57:17 +00:00
Jeremy Fincher
a2e43fe367 Added a few more types. 2004-09-30 07:43:24 +00:00
Jeremy Fincher
75ef036569 Super, and subclass SupyThread. 2004-09-30 04:14:44 +00:00
Jeremy Fincher
4b5909331a Updated completely. 2004-09-28 07:10:27 +00:00
James Vega
3740c74aa9 Ooops. left in some debugging print statements. 2004-09-23 16:58:39 +00:00
James Vega
e381f11e12 Update src/Channels.py to use commands.wrap. Added some more converters to
ease the process. Hopefully this doesn't break anything. The tests passed!
2004-09-23 16:13:00 +00:00
Jeremy Fincher
356745d353 Variable name change. 2004-09-22 22:43:23 +00:00
Jeremy Fincher
7558a437e1 Factored out the args component of wrap into its own function, so it can be used in more situations. 2004-09-22 11:51:06 +00:00
Jeremy Fincher
8f97cccb1a Updated, added getPlugin, getSomething, validChannel, etc. 2004-09-21 18:36:40 +00:00
Jeremy Fincher
09e60502cf Initial checkin of commands, and conversion of Admin to use it. 2004-09-21 03:31:19 +00:00