Commit Graph

836 Commits

Author SHA1 Message Date
Jeremy Fincher
2c87c183b2 Optimized IrcMsg.__str__ slightly. 2003-08-11 05:08:33 +00:00
Jeremy Fincher
5f7656c781 Made throttling properly respect world.testing. 2003-08-11 05:07:07 +00:00
Jeremy Fincher
1bbcfa9a5e Added a semi-accurate refcount measure to objects. 2003-08-11 05:06:41 +00:00
Jeremy Fincher
0cf850dfc1 Made to use new PrivmsgCommandAndRegexp callback. 2003-08-11 03:37:15 +00:00
Jeremy Fincher
f203bca787 Added ability to define regexp callbacks in a mostly-Privmsg environment. 2003-08-11 03:34:54 +00:00
Jeremy Fincher
60fa81c268 Removed nick hack in IrcMsg; I never liked it anyway. 2003-08-10 11:25:03 +00:00
Jeremy Fincher
936effb2bc Removed since the bug was fixed in 2.3. 2003-08-10 11:23:49 +00:00
Jeremy Fincher
d7990d874e Added first plugin test case, mostly for example. 2003-08-10 11:22:53 +00:00
Jeremy Fincher
84b96108b5 Added TestCase subclass for testing plugins. (Also removed Cmd class from previous attempt) 2003-08-10 11:22:18 +00:00
Jeremy Fincher
f9e6777f08 Added more docstrings. 2003-08-10 10:45:44 +00:00
Jeremy Fincher
90ec43d449 Removed since the 2.3 cgitb does what I want. 2003-08-07 10:15:42 +00:00
Jeremy Fincher
58453cc480 Added a minimal test for schedule. 2003-08-07 10:10:23 +00:00
Jeremy Fincher
abd94e32fb *Really* optimized objects command. 2003-08-07 09:19:40 +00:00
Jeremy Fincher
02ce886b55 Added relaysay command. 2003-08-07 08:20:23 +00:00
Jeremy Fincher
6dded57ea2 A few minor optimizations to take advantage of itertools. 2003-08-07 06:25:33 +00:00
Jeremy Fincher
031c81e937 Added ilen, a function to return the length of an iterator. 2003-08-07 06:13:11 +00:00
Jeremy Fincher
36996dd3cf Updated stuff for 2.3 to break 2.2 compatibility :) 2003-08-07 02:48:44 +00:00
Jeremy Fincher
b4633370ce Forgot to add the % name to the 'no user' gkstats response. 2003-08-05 05:02:21 +00:00
Jeremy Fincher
29f0b638b2 Added some more documentation. 2003-08-02 16:48:43 +00:00
Jeremy Fincher
ade9514212 Added more documentation. 2003-08-02 06:22:13 +00:00
Jeremy Fincher
5ec5b997ca Made safeArgument handle colors correctly. 2003-08-01 23:48:02 +00:00
Jeremy Fincher
a4b6ee2028 Added caching for __str__, __repr__, and __len__. 2003-08-01 14:23:54 +00:00
Jeremy Fincher
6e19d921c8 Forget this with the other 2.3 upgrade stuff. 2003-08-01 02:58:29 +00:00
Jeremy Fincher
3b5825ebe3 Removed use of eval from the tokenizer. 2003-07-31 06:45:03 +00:00
Jeremy Fincher
80b04b4d09 Added encode and decode commands. 2003-07-31 06:43:19 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
b7cb48b19b Added flip function. 2003-07-30 21:47:21 +00:00
Jeremy Fincher
a6f8ddab18 Fixed googleinfo updating. 2003-07-30 20:07:25 +00:00
Jeremy Fincher
1230769fe0 Added googlefight command and cleaned up the output of metagoogle command. 2003-07-30 19:39:58 +00:00
Jeremy Fincher
f7637bd19c Added metagoogle command. 2003-07-30 19:08:05 +00:00
Jeremy Fincher
ad3fb443a6 Bugfix in mircColor. 2003-07-30 11:04:59 +00:00
Jeremy Fincher
c6a8cebc2d Slight optimization in getCallback. 2003-07-30 11:04:29 +00:00
Jeremy Fincher
33f2818398 Made Relay use ircutils.canonicalColor. 2003-07-30 11:01:44 +00:00
Jeremy Fincher
1891a46894 Fixed bug in deepthought. 2003-07-29 12:48:54 +00:00
Jeremy Fincher
51ab17ad98 One line fix that's been in my code for awhile but not committed. 2003-07-29 00:58:57 +00:00
Jeremy Fincher
7a281d5e4b Fixed some mircColors indiscretions and added a test for the new (proper) behavior. 2003-07-25 04:00:38 +00:00
Jeremy Fincher
fb730d72a1 Fixed bug in acronym; why did it blindly remove the first and last responses? 2003-07-24 13:33:31 +00:00
Jeremy Fincher
b64e0d5730 Added a set of deepthoughts so lookup is faster if the queue gets large. 2003-07-24 10:09:50 +00:00
Jeremy Fincher
5644c8da57 Changed some mircColor stuff. 2003-07-23 15:24:05 +00:00
Jeremy Fincher
7c34d8b449 Minor formatting change. 2003-07-23 15:14:14 +00:00
Jeremy Fincher
2a52871fcc Tweaked mircColor (yeah, I'm anal beyond all reason) 2003-07-23 15:13:30 +00:00
Jeremy Fincher
d346d877c9 Tweaked deblookup and changed its named to debversion. 2003-07-23 15:10:41 +00:00
Daniel DiPaolo
d3268414e3 * added preliminary version of deblookup module (basically a straight copy of
moobot's deblookup with some minor tweaks)
2003-07-23 06:40:05 +00:00
Daniel DiPaolo
0e16b70f8b * added mircColor() function to ircutils as well as mircColors dict
* added test cases for this function
* implemented nick coloring for Relay
2003-07-23 05:29:16 +00:00
Jeremy Fincher
ebc3533275 This file was hanging back on protocol since it's been less used. 2003-07-23 02:16:06 +00:00
Jeremy Fincher
50bcc22e24 Made unmorse handle underscores in addition to dashes (as longs) 2003-07-23 02:14:39 +00:00
Jeremy Fincher
c8fbb4581b Made the part command behave sensibly in the face of an empty argument list. 2003-07-23 02:12:17 +00:00
Jeremy Fincher
3fe182b9c3 Must've forgotten an older commit... 2003-07-23 01:45:48 +00:00
Jeremy Fincher
a7daba5eb7 Added some more documentation (though the work is probably not done). 2003-07-21 06:10:35 +00:00
Jeremy Fincher
194eb12b26 Added a module to remove bold outgoing from the bot. 2003-07-21 03:59:34 +00:00