python-irclib / ChangeLog

2005-12-06  Keltus <>
	* (ServerConnection.process_data): Reversed fix from
	2005-05-28. This is strange because there was a bug before and
	now it's gone. Either python changed something, or the IRC
	networks changed something. Confirmed by peter.

2005-11-03  Keltus <>
	* (numeric_events): Renamed numeric code 332 from topic
	to currenttopic (the message when "/topic <chan>" is sent), so it
	doesn't collide with TOPIC (the message when the topic is set).

2005-08-27  Keltus <>
	* (ServerConnection.disconnect): Fixed infinitely
	recursive calls when disconnecting with a failed connection. Bug
	reported by Erik Max Francis.

2005-08-18  Keltus <>
	* Made ServerConnection.disconnect more consistant and
	changed some functions to use it instead of quit. Previously,
	disconnect would ignore the quit message, but now it sends a quit
	message and disconnect. Suggestion by Erik Max Francis.
	* Changed to use ServerConnection.disconnect instead of
	ServerConnection.quit as well.

2005-05-28  Keltus <>
	* (ServerConnection.process_data): Fixed quit arguments
	to return a list rather than a list of a list. Patch from peter.

2005-05-18  Keltus <>
	* Released version 0.4.5.

	* (ServerConnection.__init__): Added self.socket = None
	to be able to process events when ServerConnection is not
	connected to a socket. Patch from alst.

	Preparations for version 0.4.5.

2005-04-26  Keltus <>
	* (IRC.__doc__): Corrected server.process_forever() to
	irc.process_forever(). Suggestion by olecom.

2005-04-17  Keltus <>
	* (ServerConnection.process_data): Moved event
	translation code.
	* (ServerConnection): Reverted the 2005-01-28 change
	because it breaks jump_server().
	* minor comment changes

2005-04-03  Keltus <>
	* (protocol_events): Added "pong" and "invite" events.
	Patch from Adam Mikuta.
	* (ServerConnection.part): Added message parameter.
	Patch from Adam Mikuta.

2005-02-23  Keltus <>
	* Released version 0.4.4.

	Preparations for version 0.4.4.

2005-01-28  Keltus <>
	* (ServerConnection): Moved
	self.irclibobj._remove_connection call from	close() to
	disconnect(). Patch from Alexey Nezhdanov.

2005-01-25  Keltus <>
	* (ServerConnection.connect): closes socket if a
	connection does not occur
	* (ServerConnection.connect): "Changing server" ->
	"Changing servers" (more ubiquitous quit phrase)

2005-01-23  Keltus <>

	* Removed depreciated apply functions. python-irclib is
	now compatible with Python 1.6 and above.
	* Removed redundant extra start() call

2005-01-20  Joel Rosdahl  <>

	* Released version 0.4.3.
	* Makefile: Removed more GNU make specific constructs.

2005-01-19  Joel Rosdahl  <>

	* Makefile: Don't require GNU make.

2005-01-19  Keltus  <>

	* (IRCDict.__iter__): Added __iter__ method for IRCDict.

2005-01-17  Joel Rosdahl  <>

	* (IRCDict.__contains__): Added __contains__method for
	IRCDict. Patch from Keltus.
	(SingleServerIRCBot.on_ctcp): Corrected default decoding of CTCP
	DCC CHAT. Patch from Keltus.

	Preparations for version 0.4.3.

	* debian: Removed Debian package directory since python-irclib is
	in Debian now.

	* (SingleServerIRCBot._on_namreply): Improved comment
	about arguments to the function. Patch from Keltus.
	(Channel.has_allow_external_messages): Renamed from
	has_message_from_outside_protection. Patch from Keltus.

	* (ServerConnection.quit): Added comment about how some
	IRC servers' treat QUIT messages. Patch from Keltus.

	* (SingleServerIRCBot.jump_server): Improved jump_server
	behaviour. Patch from Keltus.

2004-08-04  Joel Rosdahl  <>

	* (ServerConnection.process_data): Added "bonus" action
	event that is triggered on CTCP ACTION messages.

2004-07-09  Joel Rosdahl  <>

	* Released version 0.4.2.

	* debian/rules: Remove built *.pyc files before making package.

	* (DEBUG):
	* debian/changelog:
	Preparations for version 0.4.2.

	* (ServerNotConnectedError): New exception.
	(ServerConnection.send_raw): Fix bug #922446, "Raise
	IllegalStateException in send_raw when disconnected".

2003-10-30  Joel Rosdahl  <>

	* Released version 0.4.1.

	* debian/examples: Added dccreceive and dccsend as example files
	in Debian.

	* Likewise.

2003-10-29  Joel Rosdahl  <>

	* debian: Added Debian packaging files.

	* Create from

	* RPM spec file from Gary Benson.

	* (TestBot.on_nicknameinuse): New method.

	* (ServerConnection.process_data): Record nickname when
	welcome message is sent to trap nickname change triggered in a
	nicknameinuse callback.

	* (SingleServerIRCBot._on_join): Use
	Connection.get_nickname instead of relying on self._nickname.
	(SingleServerIRCBot._on_kick): Likewise.
	(SingleServerIRCBot._on_part): And here too.
	(SingleServerIRCBot._on_nick): No need to remember nickname change

2003-08-31  Joel Rosdahl  <>

	* Released version 0.4.0.

	Implemented DCC support (based on patches from Adam Langley and
	Marco Bettio):

	* (IRC.dcc): New method.
	(DCCConnectionError): New class.
	(DCCConnection): New class.
	(SimpleIRCClient.__init__): Added dcc_connections attribute.
	(SimpleIRCClient._dcc_disconnect): New method.
	(SimpleIRCClient.connect): Added localaddress and
	localport parameters. The socket will be bound accordingly before
	(SimpleIRCClient.dcc_connect): New method.
	(SimpleIRCClient.dcc_listen): New method.
	(ip_numstr_to_quad): New function.
	(ip_quad_to_numstr): New function.

	* (SingleServerIRCBot.on_ctcp): Relay DCC CHAT CTCPs to
	the on_dccchat method.

	* Added support for accepting DCC chats and for
	initiating DCC chats via a "dcc" command.

	* dccreceive: New example program.

	* dccsend: New example program.

	* Makefile: Added dccreceive and dccsend to dist files.

	Other changes:

	* Added.

	* (ServerConnection.connect, ServerConnection.user):
	Send USER command according to RFC 2812.
	(ServerConnection.connect): Added localaddress and
	localport parameters. The socket will be bound accordingly before
	(ServerConnection.process_data): Ignore empty lines from the
	server. (Patch by Jason Wies.)
	(ServerConnection._get_socket): Simplified.
	(ServerConnection.remove_global_handler): Added. (Patch from
	Brandon Beck.)

	* (SingleServerIRCBot.on_ctcp): Prepend VERSION reply
	with VERSION. (Patch from Andrew Gaul.)

	* Makefile: Added to dist files. Also create zip archive.

	* README: Added requirements and installation sections.

2002-03-01  Joel Rosdahl  <>

	* Released version 0.3.4.

	Corrected problems spotted by Markku Hnninen <>:

	* irccat2 (IRCCat.on_welcome): Added missing connection argument.
	(IRCCat.on_join): Likewise.
	(IRCCat.on_disconnect): Likewise.

	* (ServerConnection.ison): Bug fix: Join nicks by space
	instead of commas.

	* (ServerConnection.whowas): Bug fix: Let the max
	argument default to the empty string.

	* (numeric_events): Added new events: traceservice,
	tracereconnect, tryagain, invitelist, endofinvitelist, exceptlist,
	endofexceptlist, unavailresource, nochanmodes, banlistfull,
	restricted and uniqopprivsneeded.

2002-02-17  Joel Rosdahl  <>

	* Released version 0.3.3.

	* Makefile, README, .cvsignore: Removed documentation generated by
	pythondoc.  Use pydoc instead.

	* servermap: Removed some excess whitespace.

	* README: Mention

	* Makefile (dist): Changed archive name from irclib-* to

	Changed license from GPL 2 to LGPL 2.1:

	* COPYING: New license text.

	*,, servermap: New license header.

2001-10-21  Joel Rosdahl  <>

	* Released version 0.3.2.

	* (_parse_modes): Fixed problem found by Tom Morton: the
	mode parsing code bailed out if a unary mode character didn't have
	a corresponding argument.

	* (_alpha): Fixed bug found by Tom Morton: w was missing
	in the alphabet used by irc_lower().

	* Removed redundant import of is_channel.

	* servermap: Clarified copyright and license.

	* irccat: Ditto.

	* irccat2: Ditto.

2000-12-11  Joel Rosdahl  <>

	* Released version 0.3.1.

	* (IRC.process_once): Work-around for platform-dependent
	select() on Windows systems.

	* Clarification of SingleServerIRCBot doc string.

2000-11-26  Joel Rosdahl  <>

	* Released version 0.3.0.

	* Makefile (dist): Include again.

	* README: Updated.

	* (ServerConnection.get_nickname): Renamed from
	(ServerConnection._get_socket): Return None if not connected.

2000-11-25  Joel Rosdahl  <>

	* (ServerConnection.process_data): all_raw_messages
	instead of allrawmessages.
	(IRC._handle_event): Added "all_events" event type.
	(nm_to_n): Renamed from nick_from_nickmask.
	(nm_to_uh): Renamed from userhost_from_nickmask.
	(nm_to_h): Renamed from host_from_nickmask.
	(nm_to_u): Renamed from user_from_nickmask.
	(SimpleIRCClient): Created.

2000-11-22  Joel Rosdahl  <>

	* (lower_irc_string): Use translation instead.
	(ServerConnection.process_data): Split non-RFC-compliant lines a
	bit more intelligently.
	(ServerConnection.process_data): Removed unnecessary try/except
	(ServerConnection.get_server_name): Return empty server if
	(_rfc_1459_command_regexp): Tweaked a bit.

	* Rewritten.

2000-11-21  Joel Rosdahl  <>

	* (IRC.process_forever): Default to processing a bit
	more often.

2000-10-29  Joel Rosdahl  <>

	* Released version 0.2.4.

	* Makefile (dist): Include generated documentation in

	* Makefile (doc): Make documentation.

	* Updated documentation.

	* (is_channel): Included "!" as channel prefix.

2000-10-02  Joel Rosdahl  <>

	* Released version 0.2.3.

	* (ServerConnection.connect): Make socket.connect() work
	for Python >= 1.6.

2000-09-26  Joel Rosdahl  <>

	* Released version 0.2.2.

	* (ServerConnection.user): Fixed erroneous format

2000-09-24  Joel Rosdahl  <>

	* Released version 0.2.1.

	* (ServerConnection.process_data): Bug fix (didn't keep
	track of nick name).
	(IRC.process_once): New method.
	(ServerConnection.process_data): Bug fix.
	(IRC.disconnect_all): Created.
	(IRC.exit): Removed.
	(ServerConnection.exit): Removed.
	(ServerConnection.connect): Follow RFC closer.
	(ServerConnection.user): Follow RFC closer.

	* Removed.

	* irccat (on_disconnect): Just sys.exit(0).

	* servermap (on_disconnect): Just sys.exit(0).

	* Various documentation and some clean-ups.

1999-08-21  Joel Rosdahl  <>

	* Released version 0.2.0.

	* servermap: Updated to work with irclib 0.2.0.

	* irccat: Updated to work with irclib 0.2.0.

	* Updated to work with irclib 0.2.0.  The bot now
 	checks every minute that it is connected.  If it's not, it

	* Changes in how to create a ServerConnection object.
  	Made the code for handling disconnection hopefully more robust.
  	Renamed connect() to sconnect().

1999-06-19  Joel Rosdahl  <>

	* Released 0.1.0.