summaryrefslogtreecommitdiff
path: root/lib/rbot/ircsocket.rb
AgeCommit message (Collapse)Author
2008-08-19IRC Socket: documentation cleanupGiuseppe Bilotta
2008-08-19IRC socket: minor flood_send logic fixesGiuseppe Bilotta
2008-08-19IRC socket: get rid of delay/burstGiuseppe Bilotta
The penalty system should be enough to prevent the bot from being disconnected because of excess flood, making the old sendq delay/burst code unnecessary. So get rid of the latter altogether. (If the penalty system as implemented ever happens to be insufficient as implemented, it should just get fixed rather than rely on the sendq delay/burst assistance.)
2008-06-24ircsocket.rb: use syswrite since ruby's buffered io is racyGiuseppe Bilotta
In some situations a PRIVMSG could be output twice in sequence with no intervening newline when using the Socket#puts function. Use syswrite to skip Ruby's buffered IO.
2007-10-11* (ircsocket) inconsistent socket state after ssl exceptions in connect(), fixedDmitry Kim
2007-09-12Irc::IrcSocket -> Irc::SocketGiuseppe Bilotta
2007-09-01* (ircsocket) removed timer, added writer thread, refactored writer logic a bitDmitry Kim
2007-08-30*** (timer) new timer implementationDmitry Kim
2007-08-28ircsocket: raise errors occurred while spooling so that bot is aware of themGiuseppe Bilotta
2007-04-11use pretty printing with Logger (debug, info, warning and error messages)Giuseppe Bilotta
2007-03-19* duh, operator precedence error in serverlist patchDmitry Kim
2007-03-17+ added support for multiple servers to try (round-robin) for unreliable ircnetsDmitry Kim
* changed server.name/port to server.list (with config upgrade automation, too)
2007-03-14Socket IO filtering: rbot can now assume UTF-8 internally.Giuseppe Bilotta
2007-02-11Start work on preferring size to length: it's the same for arrays, and will ↵Giuseppe Bilotta
be more correct in most cases when proper support for multibyte strings will be implemented (via package or because of ruby 2)
2007-01-02Fix reconnect errorsGiuseppe Bilotta
2006-12-20Fix 'Unknown command' being received from serverGiuseppe Bilotta
2006-11-01SSL supportGiuseppe Bilotta
2006-10-28Move irc_send_penalty method of string in ircsocket.rb, and rework flood ↵Giuseppe Bilotta
control to be more reactive while still preventing excessive flood disconnections
2006-10-27Penalty-based flood protectionGiuseppe Bilotta
2006-10-15Better flood controlGiuseppe Bilotta
2006-08-16Some error handling cleanupGiuseppe Bilotta
2006-07-21Fix private messages not working and default channel names for the message queueGiuseppe Bilotta
2006-07-21Fix message queue lengthGiuseppe Bilotta
2006-07-21Implement new message queue system. Messages in ring 0 have top priority, ↵Giuseppe Bilotta
other messages are satisfied round-robin
2006-07-21Small improvement on the byterate-based throttling codeGiuseppe Bilotta
2006-07-21Better byterate-based throttling code. We really need the separate queues thoughGiuseppe Bilotta
2006-07-20All lib/rbot files are now upgraded to the new logging featureGiuseppe Bilotta
2006-07-19Fine-tune byterate throttling flood prevention. Better than before, but ↵Giuseppe Bilotta
still not there.
2006-07-19Implement byterate-based flood protectionGiuseppe Bilotta
2006-07-18Improve SIG(INT|TERM|HUP) handling and shutting down sequenceGiuseppe Bilotta
2006-07-13Prevent a traceback when network is down and clearq is called. Don't know if ↵Giuseppe Bilotta
it's better this way or by adding an {{{if @socket.connected?}}} at {{{ircbot.rb:373}}}
2006-07-05Improve debug output for multiline error messages. Improve exception ↵Giuseppe Bilotta
handling for socket and connection problems. Stop sending pings when disconnected.
2006-06-28Fix issue #101Giuseppe Bilotta
2006-06-08Output {{{gets}}} exceptions on debugGiuseppe Bilotta
2006-06-01giuseppe.bilotta's patch: "Fix exception when connection with server times out"Chris Gahan
2005-09-05better failure to connect behaviourTom Gilbert
2005-07-28Thu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Reworked the Timer module. The Timer now has a smart thread manager to start/stop the tick() thread. This means the timer isn't called every 0.1 seconds to see what needs doing, which is much more efficient * reworked the ircsocket queue mechanism to use a Timer * reworked the nickserv plugin to use maps * made server.reconnect_wait configurable * added Class tracing mechanism to bin/rbot, use --trace Classname for debugging
2005-07-27move rbot into lib - still rearranging for packaging/installationTom Gilbert