Commit Graph

119 Commits

Author SHA1 Message Date
Jeremy Fincher
eb31db6277 Added memoization optimization to tokenize function. 2003-10-20 04:26:37 +00:00
Jeremy Fincher
68fd496516 Added memoization optimization to tokenize function. 2003-10-20 04:17:14 +00:00
Jeremy Fincher
06cd9ae285 Added memoization optimization to tokenize function. 2003-10-20 04:16:44 +00:00
Jeremy Fincher
8fc200ae1f Removed premature optimization of using the regexp to decide when to tokenize. We'll optimize when we have to, likely by making tokenize memoize. 2003-10-20 03:56:15 +00:00
Jeremy Fincher
63135c4c48 Removed a debugging print. 2003-10-15 06:53:54 +00:00
Jeremy Fincher
aa1b992643 Added error reporting to regexp-based callCommands. 2003-10-13 23:20:15 +00:00
Jeremy Fincher
9eff6d997e Removed/commented out some debug.printfs. 2003-10-12 12:42:43 +00:00
Jeremy Fincher
e96c1359fd Added addressedRegexps set to PrivmsgCommandAndRegexp. 2003-10-09 04:29:37 +00:00
Jeremy Fincher
b0f5674f91 Fixed bug #820262. 2003-10-08 22:38:27 +00:00
Jeremy Fincher
b1495a1718 Added a docstring. 2003-10-05 20:40:45 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
71fcfb8db9 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:29:58 +00:00
Jeremy Fincher
8d620207ea Added lots of docstrings. 2003-10-04 11:34:44 +00:00
Jeremy Fincher
bbbc97c11b Added fix for possible bug in re.finditer. 2003-10-04 09:59:06 +00:00
Jeremy Fincher
1e64fad163 Fixed replyNoCapability messages to be in private. 2003-10-03 10:04:40 +00:00
Jeremy Fincher
41bacaba13 Accepted RFE #812257: Multiple regexp matches in one message. 2003-10-02 22:37:36 +00:00
Jeremy Fincher
31b1abaa59 Forgot to change an IndexError to a ValueError. 2003-09-25 16:09:18 +00:00
Jeremy Fincher
60c00549e1 Fixed Strike's bug: <jemfinch-nw> angryman^^^^^: list would elicit a response from angryman. 2003-09-25 16:07:41 +00:00
Jeremy Fincher
12d707a90f Updated IrcObjectProxyRegexp.reply to match the interface of IrcObjectProxy.reply. 2003-09-23 20:45:00 +00:00
Jeremy Fincher
a1da1ba14d Made IrcObjectProxy.error respect conf.errorReplyPrivate. 2003-09-22 09:45:23 +00:00
Jeremy Fincher
f13aa41e1b Added error reporting for unmet capability checks. 2003-09-19 06:24:38 +00:00
Jeremy Fincher
d6854355be Added error reporting for unmet capability checks. 2003-09-19 05:57:46 +00:00
Jeremy Fincher
3af8f1c790 Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them. 2003-09-18 07:26:21 +00:00
Jeremy Fincher
411289e625 Made privmsgs wrappers stackable. 2003-09-17 23:31:45 +00:00
Jeremy Fincher
70b80f0622 Added configuration variable to determine whether pipe syntax is accepted. 2003-09-17 19:19:38 +00:00
Jeremy Fincher
5ace516fb1 Reworked some callCommand stuff to centralize some code. 2003-09-17 08:12:59 +00:00
Jeremy Fincher
92369c6fde Changed logging of ignorance in PrivmsgRegexp. 2003-09-12 20:20:18 +00:00
Jeremy Fincher
a0e0ca2c5f Forgot to check if conf.replyWhenNotCommand is True before deciding not to respond if there's a non-command in the dealio. 2003-09-12 19:15:33 +00:00
Jeremy Fincher
da8ee2a758 Fixed bug where the bot would respond with 'there is no such command' if it wasn't the canonical name. 2003-09-12 06:59:41 +00:00
Jeremy Fincher
74a9964da2 Updated PrivmsgCommandAndRegexp to also sort its regexps by their method name. 2003-09-11 09:10:42 +00:00
Jeremy Fincher
176b9b30b6 Fix for RFE #801934: Response in case of non-commands. 2003-09-10 08:32:20 +00:00
Jeremy Fincher
61a0142265 Added functionality to protect private commands from being @more <nicked>, and fixed the fact that it doesn't work across the Relay. 2003-09-08 19:43:33 +00:00
Jeremy Fincher
f818efa588 Added better logging of message times and prefixName option to IrcObjectProxy.reply. 2003-09-08 08:44:51 +00:00
Jeremy Fincher
315d8710dc Added pipe syntax. 2003-09-07 09:41:47 +00:00
Jeremy Fincher
5db67b0b2c Changed (more) to show the number of remaining messages. 2003-09-07 05:13:58 +00:00
Jeremy Fincher
92b745f42f Added bold to the (more) that gets appended. 2003-09-07 05:08:07 +00:00
Jeremy Fincher
723ff123e1 Fixed bug in more stuff. 2003-09-07 04:56:26 +00:00
Jeremy Fincher
3873b351f4 Added the more command. 2003-09-07 04:05:34 +00:00
Jeremy Fincher
91de0b066c Fix bug that didn't allow commands without arguments in onStart. 2003-09-06 08:00:46 +00:00
Jeremy Fincher
15c115d028 Added a sanity guard to finalEval and changed a debug.printf to a debug.msg. 2003-09-06 01:07:08 +00:00
Jeremy Fincher
7b3a62eacf Fixed bug with empty [] in command. 2003-09-05 07:26:55 +00:00
Jeremy Fincher
8f475fdcdd The command finder function (I forget the name) would find serendipitously named methods in PrivmsgRegexp, and that's bad. Fixed and added a test for the known case of it. 2003-09-02 07:30:35 +00:00
Jeremy Fincher
ebc00fe4d7 Fixed logging of ignores to actually say who's being ignored. 2003-09-01 18:35:00 +00:00
Jeremy Fincher
85caaf6696 Fixed bug in automatic canonicalNaming of non-commands. 2003-09-01 06:47:22 +00:00
Jeremy Fincher
d1677d4192 Changed regexp in Privmsg to be more flexible. 2003-09-01 05:59:58 +00:00
Jeremy Fincher
89a0d12cce Added tracking of how many commands have been processed. 2003-08-29 07:08:03 +00:00
Jeremy Fincher
a0bf562d7a Redid startup/configuration junk. 2003-08-28 16:33:45 +00:00
Jeremy Fincher
9550971042 Added ability for commands to raise callbacks.CannotNest if they are not nestable. 2003-08-27 07:45:48 +00:00
Jeremy Fincher
51a474dd14 Added verbose log for spawning CommandThreads. 2003-08-27 01:39:58 +00:00
Jeremy Fincher
58d444b571 More documentation. 2003-08-26 17:18:35 +00:00