Commit Graph

102 Commits

Author SHA1 Message Date
Jeremy Fincher
aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Jeremy Fincher
e4d9f6ded2 Added some asserts to the pluralized power message functions. 2003-12-03 20:48:44 +00:00
Jeremy Fincher
7f3cafbfbd Fixed ops, deops, halfops, dehalfops, voices, and devoices. 2003-12-03 20:17:13 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
966a09437c Fixed bug in isAction. 2003-11-21 22:13:18 +00:00
Jeremy Fincher
df88fc99d3 Removed an assertion that was asserting a condition that didn't need to be true. 2003-11-07 18:44:18 +00:00
Jeremy Fincher
ee24accaf7 Fixed bug in default argument for IrcMsg.__init__ -- args should default to (), not None. 2003-10-16 13:11:46 +00:00
Jeremy Fincher
6150a21ba3 Added an assert to unAction. 2003-10-14 00:39:54 +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
43e41f4c51 Minor updates. 2003-10-04 12:31:59 +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
9092fb7b83 Fixed bug with lines not ending in \n because of the optimization added earlier, storing the original string form as originally received. 2003-09-22 11:04:39 +00:00
Jeremy Fincher
41339e80e7 Added an exception for malformed IRC messages and a little more error checking to the string parsing for IrcMsgs. 2003-09-17 18:21:35 +00:00
Jeremy Fincher
288f6179d6 Fixed a bug in the handling of the msg keyword argument in IrcMsg. 2003-09-17 07:53:11 +00:00
Jeremy Fincher
e02589c204 Added small optimization. 2003-09-17 07:32:02 +00:00
Jeremy Fincher
f95a804fe9 Changed asserts to show the repr() if they fail. 2003-09-09 20:44:58 +00:00
Jeremy Fincher
071f3916f8 Most IrcMsg.__hash__ were returning 0, because I was using & instead of ^ 2003-09-08 20:29:02 +00:00
Jeremy Fincher
c45e38b537 Added ability to send empty topic messages to get the current topic. 2003-09-06 01:28:12 +00:00
Jeremy Fincher
ed92fcad2b Changed to make 'too long a message' error messages less inaccurate. 2003-08-26 15:03:34 +00:00
Jeremy Fincher
e18bc38676 Fixed asserts to use the new 'all' predicate in fix.py. 2003-08-23 12:11:46 +00:00
Jeremy Fincher
710dcd71c6 Added the capability to specify a mask for the whois helper. 2003-08-21 16:53:19 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
2dd5a522d3 Changed nick/user/host of server hostmask to be the hostmask itself. Also disabled _ircmsg import for the time being. 2003-08-12 19:12:44 +00:00
Jeremy Fincher
39cce9c3af Changed from 's.find(x) != -1' to 'x in s' 2003-08-11 17:16:03 +00:00
Jeremy Fincher
eb6fb90801 Removed the immutability checks in IrcMsg. 2003-08-11 06:57:17 +00:00
Jeremy Fincher
2c87c183b2 Optimized IrcMsg.__str__ slightly. 2003-08-11 05:08:33 +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
ade9514212 Added more documentation. 2003-08-02 06:22:13 +00:00
Jeremy Fincher
a4b6ee2028 Added caching for __str__, __repr__, and __len__. 2003-08-01 14:23:54 +00:00
Jeremy Fincher
d810fe37b0 TypoError. 2003-06-04 04:45:46 +00:00
Jeremy Fincher
bbb46497b5 TypoError. 2003-06-04 04:44:19 +00:00
Jeremy Fincher
93df6be0c3 TypoError. 2003-06-04 04:42:32 +00:00
Jeremy Fincher
f2ae4b5f34 Finally found the underlying cause of the relaynames bug. 2003-06-04 03:56:59 +00:00
Jeremy Fincher
c0c5101cd3 Changed to only strip \r\n from right side of last argument. 2003-05-21 17:52:23 +00:00
Jeremy Fincher
545f675ae4 Forgot to add prefix to IrcMsg in two functions. 2003-04-21 06:12:57 +00:00
Jeremy Fincher
9fee5f17a9 Again, run tests before committing. 2003-04-20 17:57:16 +00:00
Jeremy Fincher
df66715089 Oops...should run the tests before submitting new assertions :) 2003-04-20 17:28:26 +00:00
Jeremy Fincher
674fe77386 Added some asserts to match RFC more. 2003-04-20 07:17:40 +00:00
Jeremy Fincher
e3e7ce4625 Made assertions more useful. 2003-04-14 05:13:21 +00:00
Jeremy Fincher
33f76608fa Fixed removal of leading whitespace on last argument in parsing messages. 2003-04-14 04:45:01 +00:00
Jeremy Fincher
67cbd8327d Closed bug 715763, 'Several JOIN commands don't allow specification of a key' 2003-04-10 07:56:41 +00:00
Jeremy Fincher
584237d818 Added exception list support for ban and bans; changed the order of arguments in user; added password command 2003-04-06 12:26:35 +00:00
Jeremy Fincher
d708a6f6d4 Re-enabled __slots__ and added __getstate__, __setstate__ 2003-04-05 10:40:36 +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
061f2e0a78 Added __ne__ method to IrcMsg 2003-04-04 09:12:00 +00:00
Jeremy Fincher
771f07529f Fixed new bugs caused by assertions 2003-04-04 06:06:33 +00:00
Jeremy Fincher
ebdd969c7c Added docstrings and assertions. 2003-04-03 22:06:24 +00:00
Jeremy Fincher
2ce7729916 Fixed minor style bug 2003-03-31 09:27:15 +00:00
Jeremy Fincher
848ec442c6 Whitespace normalization 2003-03-28 17:29:48 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00