Commit Graph

265 Commits

Author SHA1 Message Date
Jeremy Fincher
54788a643a Some slightly new helper functions and stuff. 2003-04-29 07:37:54 +00:00
Jeremy Fincher
ce6b03d52f Added a few important helper methods. 2003-04-29 07:36:18 +00:00
Jeremy Fincher
6eacfb6c26 Changed IrcState.history to a RingBuffer instead of a MaxLengthQueue. 2003-04-22 11:18:57 +00:00
Jeremy Fincher
ff54eecefc Swapped implementation of MaxLengthQueue. 2003-04-22 11:16:03 +00:00
Jeremy Fincher
fe2f2c1ac0 Swapped implementation of MaxLengthQueue. 2003-04-22 11:15:15 +00:00
Jeremy Fincher
8fa7c95067 Somehow these didn't get updated when I moved queue to structures. 2003-04-22 11:13:03 +00:00
Jeremy Fincher
25daf96a9c Enabled __slots__ on RingBuffer. 2003-04-22 11:02:39 +00:00
Jeremy Fincher
45b4d95184 Moved data structures from fix to structures; changed implementation of MaxLengthQueue to a RingBuffer. 2003-04-22 11:00:28 +00:00
Jeremy Fincher
ca4ad3882f Initial import. 2003-04-22 08:27:11 +00:00
Jeremy Fincher
5aa9beacfb Forgot to import world. 2003-04-21 06:17:19 +00:00
Jeremy Fincher
545f675ae4 Forgot to add prefix to IrcMsg in two functions. 2003-04-21 06:12:57 +00:00
Jeremy Fincher
b8e3396d6b Added some (now commented out) debugging printfs. 2003-04-21 05:54:38 +00:00
Jeremy Fincher
35d0a3cb22 Decreased size of checkCapability by moving some duplicated code out to another function with no good name. 2003-04-21 05:38:13 +00:00
Jeremy Fincher
2456082661 New test-passing implementation of checkCapability with debug.printfs commented out. 2003-04-21 05:23:31 +00:00
Jeremy Fincher
67e072c746 Changed implementation of queue. 2003-04-21 05:17:06 +00:00
Jeremy Fincher
d9ca1637d7 Had to change PING/PONG handling to workaround non-RFC-compliant servers. 2003-04-21 04:37:35 +00:00
Jeremy Fincher
06fe786029 Added .reconnect() method to drivers. 2003-04-21 04:32:42 +00:00
Jeremy Fincher
e1e6b974d6 Had to add and \!owner and \!admin to conf.defaultCapabilities 2003-04-21 03:04:40 +00:00
Jeremy Fincher
96e2a67aa5 Added say command to OwnerCommands. 2003-04-21 01:58:04 +00:00
Jeremy Fincher
8b2ef2403e Removed comment. 2003-04-20 21:56:54 +00:00
Jeremy Fincher
83e8422a44 Whitespace change. 2003-04-20 21:56:41 +00:00
Jeremy Fincher
959459d063 Finally passes all tests. 2003-04-20 21:52:53 +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
2227f5caae Fix for bug in Irc.removeCallback. 2003-04-20 17:18:34 +00:00
Jeremy Fincher
e1dfcbd390 Added partition to facilitate bugfix in irclib.Irc.removeCallback. 2003-04-20 17:17:50 +00:00
Jeremy Fincher
80e4dfbe63 Added world.threadsSpawned, logging of the number of threads spawned, and added the information to cpustats. 2003-04-20 16:15:35 +00:00
Jeremy Fincher
cc61041491 Removed commented out stuff, added help string to superreload. 2003-04-20 15:55:32 +00:00
Jeremy Fincher
b3e6c686a4 Changed nick class not to use __slots__. 2003-04-20 09:34:42 +00:00
Jeremy Fincher
30322c42b6 Changed nick class to use __slots__. 2003-04-20 09:33:41 +00:00
Jeremy Fincher
8bdfe2de97 Added docstrings to all the functions. 2003-04-20 09:32:52 +00:00
Jeremy Fincher
bacbf53386 Lowered the default values for limit on shrinkList and privmsgPayload. 2003-04-20 09:20:49 +00:00
Jeremy Fincher
3188810d21 Added returns after irc.errors. 2003-04-20 08:54:27 +00:00
Jeremy Fincher
674fe77386 Added some asserts to match RFC more. 2003-04-20 07:17:40 +00:00
Jeremy Fincher
c0d511c4f1 Added Driver module attribute. 2003-04-20 07:15:39 +00:00
Jeremy Fincher
29efc019df Added copyright. 2003-04-20 07:12:18 +00:00
Jeremy Fincher
f6392d4806 Added ignoring check in PrivmsgRegexp. Fixed stupid bug stupid stupid bug tyop bug.GRRRRR 2003-04-20 01:35:05 +00:00
Jeremy Fincher
92250ca055 Added ignoring check in PrivmsgRegexp. 2003-04-20 01:28:40 +00:00
Jeremy Fincher
f6488d6071 Prevented deprecation warning and added another logging feature. 2003-04-20 01:18:09 +00:00
Jeremy Fincher
a861941626 Fixed stupid bug. 2003-04-20 01:02:29 +00:00
Jeremy Fincher
0e505d89e1 Some more .__class__.__name__ -> name() conversions. 2003-04-20 00:47:04 +00:00
Jeremy Fincher
eb44d5cfed Added new driverModule attribute for driver independence. 2003-04-19 23:53:47 +00:00
Jeremy Fincher
77ac7c6b4e Added newDriver function for driver-module independence. 2003-04-19 23:52:34 +00:00
Jeremy Fincher
dc8b430754 Fixed reconnects. 2003-04-19 23:51:26 +00:00
Jeremy Fincher
ee74036505 Changed to be driver-module independent. 2003-04-19 23:51:11 +00:00
Jeremy Fincher
e4fd36ffef Fixed 'useless reply on bad arguments' in threaded commands; added/changed Combine class. 2003-04-19 21:42:55 +00:00
Jeremy Fincher
e4591e3d57 Changed list command to use cb.name() instead of cb.__class__.__name__. 2003-04-19 21:41:23 +00:00
Jeremy Fincher
4cb24f7aa4 Added robustness changes and manhole stuff. 2003-04-18 08:24:25 +00:00
Jeremy Fincher
1178536288 Added Combine, a callback to combine two Privmsg callbacks (most often Privmsg and PrivmsgRegexp) 2003-04-18 08:24:04 +00:00
Jeremy Fincher
5adbaf5be4 Made the join command not send the WHO command if the bot is already on the channel. 2003-04-18 08:22:02 +00:00