Commit Graph

6930 Commits

Author SHA1 Message Date
Jeremy Fincher
e4715d4d3f Added length=0 handling to soundex to return the everything. 2003-04-05 11:29:29 +00:00
Jeremy Fincher
b8f2bbb1bb Another go at fixing the looping bug. 2003-04-05 11:25:38 +00:00
Jeremy Fincher
a50643c025 Added soundex to utils (along with a test) and to FunCommands. 2003-04-05 11:23:28 +00:00
Jeremy Fincher
4790d580ef Initial import. 2003-04-05 10:41:08 +00:00
Jeremy Fincher
d708a6f6d4 Re-enabled __slots__ and added __getstate__, __setstate__ 2003-04-05 10:40:36 +00:00
Jeremy Fincher
d0a569eb31 Added rawmsgs, msgs, and getMsgs for easy test messages. 2003-04-05 10:32:14 +00:00
Jeremy Fincher
eed4d68485 Initial import. 2003-04-05 10:31:24 +00:00
Jeremy Fincher
cf5af96ad0 Added __getitem__ and __setitem__ tests, as well as an IterableMap test. 2003-04-05 10:29:16 +00:00
Jeremy Fincher
d6059ac71e Added proper ValueError raising when there's no command in IrcMsg.__init__. 2003-04-05 10:28:30 +00:00
Jeremy Fincher
cf8c5c01cf Changed Channel to make it more in-line with future sets.Set. 2003-04-05 10:27:02 +00:00
Jeremy Fincher
a3c4b9bc0b Lots of updates; most importantly, queue() and set() now take iterables as their single argument. Note that this will cause configuration file breakages. 2003-04-05 10:26:26 +00:00
Jeremy Fincher
bc56b5bcc9 Added comments to denote sections. 2003-04-05 10:25:09 +00:00
Jeremy Fincher
7a3d06a2bb Changed NOTNULL to NOT NULL and the order of the methods (yeah, I'm anal) 2003-04-05 10:24:40 +00:00
Jeremy Fincher
e962cc1d77 Added test for abbrev and fixed a bug it found. 2003-04-04 16:14:58 +00:00
Jeremy Fincher
100d0fa016 Added levenshtein distance 2003-04-04 15:49:24 +00:00
Jeremy Fincher
c88b43122e Initial import. 2003-04-04 09:54:27 +00:00
Jeremy Fincher
ae18871f7f Fixed bug found in IrcChannel.checkCapability 2003-04-04 09:12:42 +00:00
Jeremy Fincher
061f2e0a78 Added __ne__ method to IrcMsg 2003-04-04 09:12:00 +00:00
Jeremy Fincher
9a39417fcf Added more tests. 2003-04-04 09:06:31 +00:00
Jeremy Fincher
b7e11b87c0 Initial import. 2003-04-04 08:32:41 +00:00
Jeremy Fincher
1855bafe45 Added more tests 2003-04-04 08:31:38 +00:00
Jeremy Fincher
a46ce6b109 Changed the way Irc handles unresponded-to PINGs. 2003-04-04 08:30:16 +00:00
Jeremy Fincher
29effdf8cc Made sure the bot responds with uneven quotations or brackets. 2003-04-04 08:29:13 +00:00
Jeremy Fincher
d4d81f09dc Initial import (to fix bug in 2.2 and 2.3) 2003-04-04 08:26:59 +00:00
Jeremy Fincher
8d2ac8c359 Changed nickToLower to toLower (it works for channels too 2003-04-04 07:07:19 +00:00
Jeremy Fincher
40b8eb3956 Changed ircutils.reply to ircutils.replyTo 2003-04-04 06:59:39 +00:00
Jeremy Fincher
20032a089a Added __len__ to set. 2003-04-04 06:15:34 +00:00
Jeremy Fincher
ea787b8441 Fixed bug in printf 2003-04-04 06:08:57 +00:00
Jeremy Fincher
46eb87808f Changed validArgument to isValidArgument 2003-04-04 06:08:36 +00:00
Jeremy Fincher
771f07529f Fixed new bugs caused by assertions 2003-04-04 06:06:33 +00:00
Brett Kelly
b5d47aa811 added numlarts, numinsults, and numexcuses 2003-04-04 02:35:18 +00:00
Jeremy Fincher
ebdd969c7c Added docstrings and assertions. 2003-04-03 22:06:24 +00:00
Jeremy Fincher
33b4aa052c Changed debug.debugMsg to debug.msg. 2003-04-03 10:06:11 +00:00
Jeremy Fincher
e88a5a3ae0 Added logging line to scheduleReconnect 2003-04-03 10:00:29 +00:00
Jeremy Fincher
a30ee6cd0b Changed IrcMsgQueue a bit to make it even more smarter; Added reconnection on ERROR disconnect; Added reconnect on returned PINGs. 2003-04-03 09:59:57 +00:00
Jeremy Fincher
d6087e2906 Added i to _mathEnv 2003-04-03 09:59:05 +00:00
Jeremy Fincher
69cbe9f85a New tests 2003-04-03 09:27:11 +00:00
Jeremy Fincher
689f44028a Had safeArgument logic flipped 2003-04-03 09:17:19 +00:00
Jeremy Fincher
e186cd043d Changed drivers.close() to .die() 2003-04-03 09:17:03 +00:00
Jeremy Fincher
1eb088de21 Added timeElapsed and converted FunCommands to use it. 2003-04-03 09:11:57 +00:00
Jeremy Fincher
eb9e5c87f2 Changed drivers.close() to .die(). 2003-04-03 08:52:41 +00:00
Jeremy Fincher
fa1073787a Initial import 2003-04-03 08:32:56 +00:00
Jeremy Fincher
d5c5e1240b Removed funkyArgument; now we use safeArgument which does the repr() itself. 2003-04-03 08:31:47 +00:00
Jeremy Fincher
10e8965f5d Fixed some bugs found by PyChecker 2003-04-03 08:30:28 +00:00
Jeremy Fincher
36f7c77132 Added needed import and change debug.printfs to debug.debugMsg. 2003-04-03 08:29:21 +00:00
Jeremy Fincher
ea11c0ea5f Whitespace changes 2003-04-03 08:24:52 +00:00
Jeremy Fincher
8fde27d15f Creates better, smarter templates. 2003-04-03 08:23:44 +00:00
Jeremy Fincher
e9a5ad1367 Removed; subsumed by a smarter scripts/newplugin.py 2003-04-03 08:22:58 +00:00
Jeremy Fincher
1dc82ec02c Made set more in line with the sets that will be released in 2.3 2003-04-03 08:17:57 +00:00
Jeremy Fincher
981c21617d Added some asserts. 2003-04-03 08:17:21 +00:00