python-irclib / ChangeLog

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
2008-09-11  Keltus <keltus@users.sourceforge.net>
    * ircbot.py: Reverted a leftover testing fragment that broke ircbot.py

2008-08-29  Keltus <keltus@users.sourceforge.net>
    * irclib.py: Reverted changes in irclib that don't really belong in the core lib
    * irclib.py: Add support for ssl
    * irclib.py: Add support for ipv6
	* python-irclib now requires python 2.3 and above (for ssl and ipv6)

2006-03-09  Keltus <keltus@users.sourceforge.net>
	* README: Minor update

2005-12-24  Keltus <keltus@users.sourceforge.net>
	* Released version 0.4.6.

	* irclib.py (VERSION):
	* python-irclib.spec.in:
	Preparations for version 0.4.6.

2005-12-23  Keltus <keltus@users.sourceforge.net>
	* dccsend:
	* dccreceive:
	* irclib.py:
	* ircbot.py:
	* irccat:
	* irccat2:
	* servermap:
	* testbot.py:
	Code modernization - String methods used instead of deprecated
	string functions, keyword 'in' used for membership testing instead
	of 'has_key' method, etc.

2005-12-06  Keltus <keltus@users.sourceforge.net>
	* irclib.py (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 <keltus@users.sourceforge.net>
	* irclib.py (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 <keltus@users.sourceforge.net>
	* irclib.py (ServerConnection.disconnect): Fixed infinitely
	recursive calls when disconnecting with a failed connection. Bug
	reported by Erik Max Francis.

2005-08-18  Keltus <keltus@users.sourceforge.net>
	* irclib.py: 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.
	* ircbot.py: Changed to use ServerConnection.disconnect instead of
	ServerConnection.quit as well.

2005-05-28  Keltus <keltus@users.sourceforge.net>
	* irclib.py (ServerConnection.process_data): Fixed quit arguments
	to return a list rather than a list of a list. Patch from peter.

2005-05-18  Keltus <keltus@users.sourceforge.net>
	* Released version 0.4.5.

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

	* irclib.py (VERSION):
	* python-irclib.spec.in:
	Preparations for version 0.4.5.

2005-04-26  Keltus <keltus@users.sourceforge.net>
	* irclib.py (IRC.__doc__): Corrected server.process_forever() to
	irc.process_forever(). Suggestion by olecom.

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

2005-04-03  Keltus <keltus@users.sourceforge.net>
	* irclib.py (protocol_events): Added "pong" and "invite" events.
	Patch from Adam Mikuta.
	* irclib.py (ServerConnection.part): Added message parameter.
	Patch from Adam Mikuta.

2005-02-23  Keltus <keltus@users.sourceforge.net>
	* Released version 0.4.4.

	* irclib.py (VERSION):
	* python-irclib.spec.in:
	Preparations for version 0.4.4.

2005-01-28  Keltus <keltus@users.sourceforge.net>
	* irclib.py: (ServerConnection): Moved
	self.irclibobj._remove_connection call from	close() to
	disconnect(). Patch from Alexey Nezhdanov.

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

2005-01-23  Keltus <keltus@users.sourceforge.net>

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

2005-01-20  Joel Rosdahl  <joel@rosdahl.net>

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

2005-01-19  Joel Rosdahl  <joel@rosdahl.net>

	* Makefile: Don't require GNU make.

2005-01-19  Keltus  <keltus@users.sourceforge.net>

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

2005-01-17  Joel Rosdahl  <joel@rosdahl.net>

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

	* irclib.py (VERSION):
	* python-irclib.spec.in:
	Preparations for version 0.4.3.

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

	* ircbot.py (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.

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

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

2004-08-04  Joel Rosdahl  <joel@rosdahl.net>

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

2004-07-09  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.4.2.

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

	* irclib.py (DEBUG):
	* debian/changelog:
	* python-irclib.spec.in:
	Preparations for version 0.4.2.

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

2003-10-30  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.4.1.

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

	* python-irclib.spec.in: Likewise.

2003-10-29  Joel Rosdahl  <joel@rosdahl.net>

	* debian: Added Debian packaging files.

	* setup.py.in: Create setup.py from setup.py.in.

	* python-irclib.spec.in: RPM spec file from Gary Benson.

	* testbot.py (TestBot.on_nicknameinuse): New method.

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

	* ircbot.py (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
	here.

2003-08-31  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.4.0.

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

	* irclib.py (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
	connecting.
	(SimpleIRCClient.dcc_connect): New method.
	(SimpleIRCClient.dcc_listen): New method.
	(ip_numstr_to_quad): New function.
	(ip_quad_to_numstr): New function.

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

	* testbot.py: 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:

	* setup.py: Added.

	* irclib.py (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
	connecting.
	(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.)

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

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

	* README: Added requirements and installation sections.

2002-03-01  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.3.4.

	Corrected problems spotted by Markku H�nninen <hmm@iki.fi>:

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

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

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

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

2002-02-17  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.3.3.

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

	* servermap: Removed some excess whitespace.

	* README: Mention http://python-irclib.sourceforge.net.

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

	Changed license from GPL 2 to LGPL 2.1:

	* COPYING: New license text.

	* irclib.py, ircbot.py, servermap: New license header.

2001-10-21  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.3.2.

	* irclib.py (_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.

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

	* ircbot.py: Removed redundant import of is_channel.

	* servermap: Clarified copyright and license.

	* irccat: Ditto.

	* irccat2: Ditto.

2000-12-11  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.3.1.

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

	* ircbot.py: Clarification of SingleServerIRCBot doc string.

2000-11-26  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.3.0.

	* Makefile (dist): Include ircbot.py again.

	* README: Updated.

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

2000-11-25  Joel Rosdahl  <joel@rosdahl.net>

	* irclib.py (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  <joel@rosdahl.net>

	* irclib.py (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
	block.
	(ServerConnection.get_server_name): Return empty server if
	unknown.
	(_rfc_1459_command_regexp): Tweaked a bit.

	* ircbot.py: Rewritten.

2000-11-21  Joel Rosdahl  <joel@rosdahl.net>

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

2000-10-29  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.2.4.

	* Makefile (dist): Include generated documentation in
	distribution.

	* Makefile (doc): Make documentation.

	* irclib.py: Updated documentation.

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

2000-10-02  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.2.3.

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

2000-09-26  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.2.2.

	* irclib.py (ServerConnection.user): Fixed erroneous format
	string.

2000-09-24  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.2.1.

	* irclib.py (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.

	* ircbot.py: Removed.

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

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

	* irclib.py: Various documentation and some clean-ups.

1999-08-21  Joel Rosdahl  <joel@rosdahl.net>

	* Released version 0.2.0.

	* servermap: Updated to work with irclib 0.2.0.

	* irccat: Updated to work with irclib 0.2.0.

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

	* irclib.py: 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  <joel@rosdahl.net>

	* irclib.py: Released 0.1.0.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.