Sync from upstream ERC
[bpt/emacs.git] / lisp / erc / ChangeLog
CommitLineData
b6675b2d
MO
12007-10-29 Michael Olson <mwolson@gnu.org>
2
3 * erc-ibuffer.el (erc-modified-channels-alist): Use
4 eval-when-compile, and explain why we are doing this..
5
6 * erc-track.el: Make sure that the state of erc-track-minor-mode
7 is not preserved when using desktop.el. Thanks to Levin for the
8 report.
9
0bde6a03
DN
102007-10-25 Dan Nicolaescu <dann@ics.uci.edu>
11
12 * erc-ibuffer.el (erc-modified-channels-alist): Pacify
13 byte-compiler.
14
e2cfa9af
GM
152007-10-13 Glenn Morris <rgm@gnu.org>
16
17 * erc-track.el (erc-modified-channels-update): Use mapc rather
18 than mapcar.
19
b6675b2d
MO
202007-10-12 Diane Murray <disumu@x3y2z1.net>
21
22 * erc.el (erc-join-channel): Prompt for channel key if C-u or
23 another prefix-arg was typed.
24
25 * NEWS: Noted this change.
26
272007-10-07 Michael Olson <mwolson@gnu.org>
28
29 * erc.el (erc-cmd-ME'S): New command that handles the case where
30 someone types "/me's". It concatenates the text " 's" to the
31 beginning of the input and then sends the result like a normal
32 "/me" command.
33 (erc-command-regexp): Permit single-quote character.
34
352007-09-30 Aidan Kehoe <kehoea@parhasard.net> (tiny change)
36
37 * erc-log.el (erc-save-buffer-in-logs): Prevent spurious warnings
38 when looking at a log file and concurrently saving to it.
39
402007-09-18 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
d20cf916
MO
41
42 * erc.texi (Special-Features): Fix small typo.
43
442007-09-16 Michael Olson <mwolson@gnu.org>
45
46 * erc-track.el (erc-track-switch-direction): Mention
47 erc-track-faces-priority-list. Thanks to Leo for the suggestion.
48
bab41d38 492007-09-11 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
d20cf916
MO
50
51 * erc-sound.el: Fix typo in setting up instructions.
52
532007-09-10 Michael Olson <mwolson@gnu.org>
54
55 * Makefile (elpa): Copy dir template rather than echoing a few
56 lines. The reason for this is that the ELPA package for ERC was
57 getting a corrupt dir entry.
58
59 * dir-template: Template for the ELPA dir file.
60
3b55829a
MO
612007-09-08 Michael Olson <mwolson@gnu.org>
62
d20cf916
MO
63 * erc-log.el (erc-log-filter-function): New option that specifies
64 the function to call for filtering text before writing it to a log
65 file. Thanks to David O'Toole for the suggestion.
66 (erc-save-buffer-in-logs): Use erc-log-filter-function. Make sure
67 we carry along the value of coding-system-for-write, because this
68 could potentially be shadowed by the temporary buffer.
69
3b55829a
MO
70 * erc.el (erc-version-string): Update to 5.3, development version.
71
645e533a
GM
722007-09-07 Glenn Morris <rgm@gnu.org>
73
74 * erc.el (erc-toggle-debug-irc-protocol): Fix call to
75 erc-view-mode-enter.
76
ab2d877d
GM
772007-08-08 Glenn Morris <rgm@gnu.org>
78
79 * erc-log.el, erc.el: Replace `iff' in doc-strings and comments.
80
3b55829a
MO
812007-09-03 Michael Olson <mwolson@gnu.org>
82
83 * erc.el (erc-default-port): Make this an integer value rather
84 than a string. Thanks to Luca Capello for the report.
85
862007-08-27 Michael Olson <mwolson@gnu.org>
87
88 * erc.el (erc-cmd-GQUIT): If erc-kill-queries-on-quit is non-nil,
89 kill all query buffers after 4 seconds.
90
912007-08-16 Michael Olson <mwolson@gnu.org>
92
93 * NEWS: Add ERC 5.3 changes section, and mention jbms' erc-track
94 compatibility note.
95
96 * erc-track.el (erc-track-list-changed-hook): Turn this into a
97 customizable option.
98 (erc-track-switch-direction): Add 'importance option.
99 (erc-modified-channels-display): If erc-track-switch-direction is
100 'importance, call erc-track-sort-by-importance.
101 (erc-track-face-priority): New function that returns a number
102 indicating the position of a face in
103 erc-track-faces-priority-list.
104 (erc-track-sort-by-importance): New function that sorts
105 erc-modified-channels-list according to erc-track-face-priority.
106 (erc-track-get-active-buffer): Make 'oldest a rough opposite of
107 'importance.
108
1092007-08-14 Jeremy Maitin-Shepard <jbms@cmu.edu>
110
111 * erc-track.el (erc-track-remove-disconnected-buffers): New
112 variable which controls whether buffers associated with a server
113 that is disconnected should be removed from
114 `erc-modified-channels-alist'. Existing behavior is to
115 unconditionally remove such buffers, which is achieved by setting
116 `erc-track-removed-disconnected-buffers' to t. When set to t,
117 which is the new default value, such buffers remain in the list,
118 which I think is often the desired behavior, since the user may
119 likely wish to find out about activity that occurred in a channel
120 prior to it being disconnected.
121 (erc-track-list-changed-hook): New hook that is run whenever the
122 contents of `erc-modified-channels-alist' changes; it is useful
123 for users such as myself that don't use the default mode-line
124 notification but instead use a separate mechanism (which is tied
125 to my window manager) to provide notification of channel activity.
126 (erc-track-get-buffer-window): New function that acts as a wrapper
127 around `get-buffer-window' that handles the `selected-visible'
128 option of `erc-track-visibility'; previously, the value of
129 `erc-track-visibility' was passed directly to `get-buffer-window',
130 which does not support `selected-visible'; consequently,
131 `selected-visible' was not properly supported.
132 (erc-track-modified-channels): Fix a bug in the logic for removing
133 buffers from the list in certain cases.
134 (erc-track-position-in-mode-line): Add a supported value that
135 specifies that the tracking information should not be added to the
136 mode line at all. The value of nil is used to indicate that the
137 information should not be added at all to the mode line.
138 (erc-track-add-to-mode-line): Check for position eq to t, rather
139 than non-nil.
140 (erc-buffer-visible): Use erc-track-get-buffer-window.
141 (erc-modified-channels-update): Take
142 erc-track-remove-disconnected-buffers into account.
143 (erc-modified-channels-display): Run
144 `erc-track-list-changed-hook'.
145
146 * erc.el (erc-reuse-frames): New option that determines whether
147 new frames are always created. Defaults to t. This only has an
148 effect when erc-join-buffer is set to 'frame.
149 (erc-setup-buffer): Use it.
150
1512007-08-14 Michael Olson <mwolson@gnu.org>
152
153 * erc-backend.el (erc-server-reconnect): If the server buffer has
154 been killed, use the current buffer instead. If the current
155 buffer is not an ERC buffer, give an error. This fixes a bug when
156 /reconnect is run from a channel buffer whose server buffer has
157 been deleted. Thanks to jbms for the report.
158 (erc-process-sentinel-1): Take server buffer as an argument, so
159 that we can make sure that it is current.
160 (erc-process-sentinel): Pass buffer to erc-process-sentinel-1.
161 (erc-process-sentinel-2): New function split from
162 erc-process-sentinel-1. If server buffer is deleted during a
163 reconnect attempt, stop trying to reconnect. Fix bug where
164 reconnect was not happening when erc-server-reconnect-attempts was
165 t. Call erc-server-reconnect-p only once each time. If we are
166 instructed to try connecting indefinitely, tell the user that they
167 can stop this by killing the server buffer. Call the process
168 sentinel by means of run-at-time, so that there is time to kill
169 the buffer if need be; this also removes the need for a while
170 loop. Refuse to reconnect again if erc-server-reconnect-timeout
171 is not an number.
172
173 * erc.el (erc-command-no-process-p): Fix bug: the return value of
174 erc-extract-command-from-line is a list rather than a single
175 symbol. Thanks to jbms for the report.
176 (erc-cmd-RECONNECT): Use simpler logic, and use buffer-live-p
177 rather than bufferp.
178 (erc-send-current-line, erc-display-command, erc-display-msg):
179 Handle case where erc-server-process is nil, so that /reconnect
180 works.
181
1822007-08-12 Michael Olson <mwolson@gnu.org>
183
184 * erc-identd.el (erc-identd-filter): Instead of sending an EOF
185 character, which now confuses freenode, stop the server process,
186 so that no new connections are accepted, and kill the current
187 client process.
188
f83b90a6
MB
1892007-07-30 Michael Olson <mwolson@gnu.org>
190
191 * erc-nicklist.el: Remove from the Emacs source tree. This file
192 is not release quality, and relies heavily on a module which
193 cannot be distributed with ERC due to licensing reasons.
194
3b55829a
MO
1952007-07-29 Michael Olson <mwolson@gnu.org>
196
197 * erc-list.el: Relicense to GPLv3. Since the file was already
198 licensed under version 2 or later, it turns out that we do not
199 need the permission of all of the authors in order to proceed.
200
cacc7b51
GM
2012007-07-25 Glenn Morris <rgm@gnu.org>
202
203 * Relicense all FSF files to GPLv3 or later.
204
3b55829a
MO
2052007-07-13 Michael Olson <mwolson@gnu.org>
206
207 * erc-goodies.el (erc-get-bg-color-face, erc-get-fg-color-face):
208 Use erc-error rather than message and beep.
209
210 * erc-sound.el: Indentation fix.
211
212 * erc.el (erc-command-no-process-p): New function that determines
213 if its argument is an ERC command that can be run when the server
214 process is not alive.
215 (erc-cmd-SET, erc-cmd-CLEAR, erc-cmd-COUNTRY, erc-cmd-HELP)
216 (erc-cmd-LASTLOG, erc-cmd-QUIT, erc-cmd-GQUIT)
217 (erc-cmd-RECONNECT, erc-cmd-SERVER): Denote that these commands
218 can be run even when the server process is not alive.
219 (erc-send-current-line): Call erc-command-no-process-p if the
220 server process is not alive, to determine if we have a command
221 that can be run anyway. Thanks to Tom Tromey for the bug report.
222 (erc-error): New function that either displays a message or throws
223 an error, depending on whether debug-on-error is non-nil.
224 (erc-cmd-SERVER, erc-send-current-line): Use it.
225
2262007-07-10 Michael Olson <mwolson@gnu.org>
227
228 * Relicense all FSF-assigned code to GPLv3.
229
2302007-06-25 Michael Olson <mwolson@gnu.org>
231
232 * erc.texi (Options): Fix typo.
233 (Getting Help and Reporting Bugs): Update webpage URL. Make Gmane
234 part more readable.
235
2362007-06-20 Michael Olson <mwolson@gnu.org>
237
238 * erc-stamp.el (erc-timestamp-format-left): New option that
239 specifies the left timestamp to use for
240 erc-insert-timestamp-left-and-right.
241 (erc-timestamp-format-right): New option that specifies the right
242 timestamp to use for erc-insert-timestamp-left-and-right.
243 (erc-insert-timestamp-function): Change default to
244 erc-insert-timestamp-left-and-right.
245 (erc-insert-away-timestamp-function): Ditto.
246 (erc-timestamp-last-inserted-left)
247 (erc-timestamp-last-inserted-right): New variables to keep track
248 of data for erc-insert-timestamp-left-and-right.
249 (erc-insert-timestamp-left-and-right): New function that places
250 timestamps on both the left and right sides of the screen, but
251 only if each timestamp has changed since it was last computed.
252 Thanks to offby1 for urging me to merge this.
253
254 * erc.el (erc-open-ssl-stream): Display informative error when
255 ssl.el not found.
256 (erc-tls): New function to connect using tls.el.
257 (erc-open-tls-stream): New function to initiate tls connection.
258 Display informative error when tls.el not found.
259
2602007-06-19 Michael Olson <mwolson@gnu.org>
261
262 * erc-log.el: Update header with accurate instructions.
263
2642007-06-17 Michael Olson <mwolson@gnu.org>
265
266 * erc-pkg.el: Update description to match what is currently in
267 ELPA.
268
c2e5c939
JB
2692007-06-14 Juanma Barranquero <lekktu@gmail.com>
270
271 * erc-goodies.el (erc-scroll-to-bottom): Remove redundant check.
272
3b55829a
MO
2732007-06-13 Michael Olson <mwolson@gnu.org>
274
275 * erc-compat.el (erc-with-selected-window): New compatibility
276 macro that implements `with-selected-window'.
277
278 * erc-goodies.el (erc-scroll-to-bottom): Use it. This fixes a bug
279 with buffer ordering where ERC buffers would move to the top.
280 Thanks to Ivan Kanis for the patch.
281
2822007-06-10 Michael Olson <mwolson@gnu.org>
283
284 * erc-log.el (erc-logging-enabled): Fix a bug that occurred when
285 `erc-log-channels-directory' had the name of a function.
286
61eefda8
JB
2872007-06-06 Juanma Barranquero <lekktu@gmail.com>
288
e699d13e
JB
289 * erc.el (erc-show-channel-key-p, erc-startup-file-list):
290 Fix typo in docstring.
61eefda8 291
3b55829a
MO
2922007-06-03 Michael Olson <mwolson@gnu.org>
293
294 * erc-compat.el (erc-view-mode-enter): Make this its own function,
295 in order to document what we do, and provide sane fallback
296 behavior.
297
298 * erc.el (erc-toggle-debug-irc-protocol): Don't pass any arguments
299 to erc-view-mode-enter, since we don't do anything special with
300 the exit function. This fixes a bug with Emacs 21 and Emacs 22.
301 Thanks to Leo for noticing.
302
3032007-05-30 Michael Olson <mwolson@gnu.org>
304
305 * erc-compat.el (erc-user-emacs-directory): New variable that
306 determines where to find user-specific Emacs settings. For Emacs,
307 this is usually ~/.emacs.d, and for XEmacs this is usually
308 ~/.xemacs.
309
310 * erc.el (erc-startup-file-list): Use erc-user-emacs-directory.
311
3122007-05-28 Michael Olson <mwolson@gnu.org>
313
314 * erc-button.el (erc-button-url-regexp): Recognize parentheses as
315 part of URLs. Thanks to Lawrence Mitchell for the fix.
316
3172007-05-26 Michael Olson <mwolson@gnu.org>
318
319 * erc.texi (Modules): Fix references to completion modules.
320
3212007-05-21 Michael Olson <mwolson@gnu.org>
322
323 * Makefile (SOURCE): Remove erc-pkg.el.
324 (debclean): New rule to clean old Debian packages of ERC.
325 (debprepare): Don't modify the released tarball, but copy it as
326 the .orig.tar.gz file.
327 (debrelease. debrevision): Remove.
328 (debinstall): New target that copies the generated Debian file to
329 a distro-specific location.
330 (deb): New rule that chains together the stages in building a
331 Debian package.
332 (EXTRAS): Add erc-nicklist.el, since it is not release-quality.
333 (extras): Copy images directory.
334
335 * erc-nicklist.el (erc-nicklist-icons-directory): Use
336 locate-library to find the "images" directory. This should be
337 more failsafe. Thanks to Tom Tromey for the idea.
338
3392007-05-19 Michael Olson <mwolson@gnu.org>
340
341 * Makefile (ELPA): New variable that contains the location of my
342 local ELPA repository.
343 (elpa): New rule that makes an ELPA package for ERC.
344
3452007-04-19 Michael Olson <mwolson@gnu.org>
346
347 * erc.el (erc-parse-prefix): New function that retrieves the
348 PREFIX server parameter from the current server and returns an
349 alist of prefix type to prefix character.
350 (erc-channel-receive-names): Use `erc-parse-prefix' to determine
351 whether the first character of a nick is a prefix character or
352 not. This should fix a bug reported by bromine about needing to
353 type "%" first to complete nicks of people who are "hops" on
354 Slashnet. This should also support for very exotic IRC server
355 setups, if any exist.
356 (erc-update-current-channel-member): Indentation.
357
3582007-04-15 Michael Olson <mwolson@gnu.org>
359
360 * erc-log.el (erc-generate-log-file-name-function): Docfix.
361 Mention how to deal with the case for putting log files in
362 different directories. Change a customization type from `symbol'
363 to `function'.
364 (erc-log-channels-directory): Allow this to contain a function
365 name, which is called with the same args as in
366 `erc-generate-log-file-name-function'. Thanks to andrewy for the
367 report and use case.
368 (erc-current-logfile): Detect if `erc-log-channels-directory' is a
369 function and call it with arguments if so.
370
3712007-04-12 Michael Olson <mwolson@gnu.org>
372
373 * erc-backend.el (define-erc-response-handler): Mention that hook
374 processing stops when the function returns non-nil. This should
375 help avoid a nasty "gotcha" when making custom functions. Thanks
376 to John Sullivan for the report.
377
3782007-04-08 Diane Murray <disumu@x3y2z1.net>
379
380 * erc-nicklist.el (erc-nicklist-voiced-position): Fixed
381 customization mismatch.
382
ff59d266
MB
3832007-04-01 Michael Olson <mwolson@gnu.org>
384
385 * erc.el (erc-version-string): Release ERC 5.2.
386
387 * erc-auto.in, erc-chess.el, erc-list.el, erc-speak.el:
388 * erc-viper.el: Update copyright notices.
389
390 * erc.texi: Make Emacs Lisp source code in this document
391 essentially public domain. Update version to 5.2.
392 (Obtaining ERC): Mention extras tarball.
393 (Releases): Mention local GNU mirror.
394 (Sample Configuration): Remove notice.
395
396 * FOR-RELEASE (5.3): Add item for erc-nicklist.
397 Mark NEWS as done. Mark extras tarball as done.
398
399 * Makefile (VERSION): Increment to 5.2.
400 (TESTING): Remove.
401 (EXTRAS): New variable containing the contents of our "Emacs 22
402 extras" tarball.
403 (SOURCE): Remove $(TESTING).
404 (MISC): Add COPYING and ChangeLog.06. Fix ChangeLog.NNNN ->
405 ChangeLog.NN.
406 (release): Use $(SNAPDIR) instead of erc-$(VERSION).
407 (extras): New rule which implements the building of the extras
408 tarball.
409 (upload-extras): New rule to upload the extras tarball. It's
410 yucky to replicate upload, but oh well.
3b55829a
MO
411 (DISTRIBUTOR): New variable used to differentiate between building
412 packages for Ubuntu and Debian.
413 (debrelease, debrevision): Use it.
414 (debbuild): Run linda in addition to lintian.
ff59d266
MB
415
416 * NEWS: Mention extras tarball. Note which files have been
417 renamed. Note that erc-list is enabled by default, except in
418 Emacs 22.
419
420 * README.extras: New file which serves as a README for the extras
421 tarball.
422
4232007-03-31 Michael Olson <mwolson@gnu.org>
424
425 * NEWS: Update for the 5.2 release.
426
427 * FOR-RELEASE: Finish up 5.2 manual item. Add documentation item
428 for 5.3.
429
430 * erc.texi (Sample Session): Flesh out. Mention #erc.
431 (Modules): Defer to 5.3 release.
432 (Advanced Usage): Move Sample Configuration chapter ahead of
433 unfinished chapters.
434 (Sample Configuration): Write.
435 (Options): Mention how to see available ERC options. Defer to 5.3
436 release.
437 (Tips and Tricks): Remove, since it seems better to just include
438 tips and tricks in the sample configuration, commented out.
439
440 * erc-bbdb.el (erc-bbdb-search-name-and-create): Make prompt more
441 informative about how to skip merging.
442 (erc-bbdb-insinuate-and-show-entry-1): Move contents of
443 erc-bbdb-insinuate-and-show-entry here.
444 (erc-bbdb-insinuate-and-show-entry): Run
445 erc-bbdb-insinuate-and-show-entry-1 "outside" of the calling
446 function, so that we can avoid triggering a process-filter error
447 if the user hits C-g.
448
4492007-03-30 Michael Olson <mwolson@gnu.org>
450
451 * FOR-RELEASE: Solve C-c C-SPC keybinding dilemma.
452
453 * erc-autoaway.el (erc-autoaway-idle-method): Use `if' rather than
454 `cond' and `set' rather than `set-default'.
455
456 * erc-log.el: Avoid compiler warning by requiring erc-network
457 during compilation.
458 (erc-generate-log-file-name-function): Add tag to each option.
459 Add erc-generate-log-file-name-network.
460 (erc-generate-log-file-name-network): New function which generates
461 a log file name that uses network name rather than server name,
462 when possible.
463
464 * erc-track.el (track): Assimilate track-when-inactive module,
465 since there's no need to have two modules in one file -- an option
466 will do. Remove track-modified-channels alias. Call
467 erc-track-minor-mode-maybe, and tear down the minor mode when
468 disabling.
469 (erc-track-when-inactive): New option which determines whether to
470 track visible buffers when inactive. The default is not to do so.
471 (erc-track-visibility): Mention erc-track-when-inactive.
472 (erc-buffer-visible): Use erc-track-when-inactive.
473 (erc-track-enable-keybindings): New option which determines
474 whether to enable the global-level tracking keybindings. The
475 default is to do so, unless they would override another binding,
476 in which case we prompt the user about it.
477 (erc-track-minor-mode-map): Move global keybindings here.
478 (erc-track-minor-mode): New minor mode which only enables the
479 keybindings and does nothing else.
480 (erc-track-minor-mode-maybe): New function which starts
481 erc-track-minor-mode, but only if it hasn't already been started,
482 an ERC buffer exists, and the user OK's it, depending on the value
483 of `erc-track-enable-keybindings'.
484 (erc-track-switch-buffer): Display a message if someone calls this
485 without first enabling erc-track-mode.
486
4872007-03-17 Michael Olson <mwolson@gnu.org>
488
489 * erc.texi (Development): Mention ErcDevelopment page on
490 emacswiki.
491 (Getting Started): Mention ~/.emacs.d/.ercrc.el and the Customize
492 interface.
493 (Sample Session): New section that has a very rough draft for a
494 sample ERC session.
495 (Special Features): New section that explains some of the special
496 features of ERC. Taken from ErcFeatures on emacswiki, with
497 enhancements.
498
4992007-03-12 Diane Murray <disumu@x3y2z1.net>
500
501 * erc-autoaway.el (erc-autoaway-idle-method): When setting the new
502 value, disable and re-enable `erc-autoaway-mode' only if it was
503 already enabled. This fixes a bug where autoaway was enabled just
504 by loading the file.
505
5062007-03-10 Diane Murray <disumu@x3y2z1.net>
507
508 * erc-capab.el: Added more information to the Usage section.
509 (erc-capab-identify-prefix): Doc fix.
510 (erc-capab-identify-unidentified): New face.
511 (290): Removed. Definition moved to erc-backend.el.
512 (erc-capab-identify-send-messages): Renamed from
513 `erc-capab-send-identify-messages'.
514 (erc-capab-identify-setup): Use it.
515 (erc-capab-identify-get-unidentified-nickname): Renamed from
516 `erc-capab-get-unidentified-nickname'.
517 (erc-capab-identify-add-prefix): Use it. Use
518 `erc-capab-identify-unidentified' as the face.
519
520 * erc-backend.el (290): Moved here from erc-capab.el.
521
522 * erc.el (erc-select): Added an autoload cookie.
523 (erc-message-type-member, erc-restore-text-properties): Use
524 `erc-get-parsed-vector'.
525 (erc-auto-query): Set the default to 'bury since many new users
526 expect private messages from others to be in dedicated query
527 buffers, not the server buffer.
528 (erc-common-server-suffixes): Use "freenode" for freenode.net, not
529 "OPN". Added oftc.net.
530
531 * NEWS: Added note about erc-auto-query's new default setting.
532
5332007-03-03 Michael Olson <mwolson@gnu.org>
534
535 * erc.el (erc-open, erc): Docfixes.
536
5372007-03-02 Michael Olson <mwolson@gnu.org>
538
539 * FOR-RELEASE: Make section for 5.3 release and move erc-backend
540 cleanup there. Awaiting discussion before doing other things.
541 Add tasks for merging filename changes from the 5.2 release
542 branch, and for making a tarball of modules not in Emacs 22. Add
543 item to remind me to update NEWS. Mark backtab entry as done.
544
545 * erc-button.el (button): Add call to `erc-button-add-keys'.
546 (erc-button-keys-added): New variable tracking whether we've added
547 the keys yet.
548 (erc-button-add-keys): New function that adds the <backtab> key to
549 erc-mode-map.
550
551 * erc.texi: Change version to 5.2 (pre-release).
552
5532007-02-15 Michael Olson <mwolson@gnu.org>
554
555 * CREDITS: Update.
556
557 * erc-backend.el (erc-server-send-ping-interval): Change to use a
558 default of 30 seconds. Improve customize interface.
559 (erc-server-send-ping-timeout): New option that determines when to
560 consider a connection stalled and restart it. The default is
561 after 120 seconds.
562 (erc-server-send-ping): Use erc-server-send-ping-timeout instead
563 of erc-server-send-ping-interval. If
564 erc-server-send-ping-timeout is nil, do not ever kill and restart
565 a hung IRC process.
566
567 * erc.el (erc-modules): Include the name of the module in its
568 description. This should make it easier for people to find and
569 enable a particular module.
570
5712007-02-15 Vivek Dasmohapatra <vivek@etla.org>
572
573 * erc.el (erc-cmd-RECONNECT): Kill old process if it is still
574 alive.
575 (erc-message-english-PART): Properly escape "%" characters in
576 reason.
577
578 * erc-backend.el (erc-server-reconnecting): New variable that is
579 set when the user requests a reconnect, but the old process is
580 still alive. This forces the reconnect to work even though the
581 process is killed manually during reconnect.
582 (erc-server-connect): Initialize it.
583 (erc-server-reconnect-p): Use it.
584 (erc-process-sentinel-1): Set it to nil after the first reconnect
585 attempt.
586
5872007-02-07 Diane Murray <disumu@x3y2z1.net>
588
589 * erc-menu.el (erc-menu-definition): Fixed so that the separator
590 is between "Current channel" and "Pals, fools and other keywords",
591 not at the bottom of the "Current channel" submenu.
592
5932007-01-25 Diane Murray <disumu@x3y2z1.net>
594
595 * erc-networks.el (erc-server-alist): Removed SSL server for now
596 since `erc-server-select' doesn't know to use `erc-ssl'.
597
598 * erc-networks.el (erc-server-alist, erc-networks-alist): Added
599 definitions for oftc.net.
600
601 * erc-services.el (erc-nickserv-alist): Fixed OFTC message regexp.
602
6032007-01-22 Michael Olson <mwolson@gnu.org>
604
605 * erc-backend.el (erc-server-error-occurred): New variable that
606 indicates when an error has been signaled by the server. This
607 should fix an infinite reconnect bug when giving some servers a
608 bogus :full-name. Thanks to Angelina Carlton for the report.
609 (erc-server-connect): Initialize erc-server-error-occurred.
610 (erc-server-reconnect-p): Use it.
611 (ERROR): Set it.
612
613 * erc-services.el (erc-nickserv-alist): Alphabetize and add Ars
614 and QuakeNet. Standardize look of entries. Fix type mismatch
615 error in customize interface.
616 (erc-nickserv-passwords): Alphabetize and add missing entries from
617 erc-nickserv-alist.
618
6192007-01-21 Michael Olson <mwolson@gnu.org>
620
621 * erc.el (erc-header-line-format): Document how to disable the
622 header line, and add a customization type for it. Also, make the
623 changes take effect immediately.
624
6252007-01-19 Michael Olson <mwolson@gnu.org>
626
627 * erc.texi (Modules): Document new menu module. Thanks to Leo
628 for noticing.
629
6302007-01-16 Diane Murray <disumu@x3y2z1.net>
631
632 * erc-stamp.el (erc-insert-timestamp-left): Fixed so that the
633 whitespace string filler is hidden correctly when timestamps are
634 hidden.
635 (erc-toggle-timestamps): New function to use instead of
636 `erc-show-timestamps' and `erc-hide-timestamps'.
637
638 * erc.el (erc-restore-text-properties): Moved here from
639 erc-fill.el since it could be useful in general.
640
641 * erc-fill.el (erc-restore-text-properties): Removed.
642
6904f7fe
MB
6432007-01-13 Michael Olson <mwolson@gnu.org>
644
645 * erc.el (erc-command-regexp): New variable that is used to match
646 a command.
647 (erc-send-input): Use it. This fixes a bug where paths --
648 "/usr/bin/foo", for example -- were being displayed as commands,
649 but still sent correctly.
650 (erc-extract-command-from-line): Use it.
651
652 * erc.texi (Modules): Document erc-capab-identify.
653
6542007-01-11 Diane Murray <disumu@x3y2z1.net>
655
656 * erc.el (erc-find-parsed-property): Moved here from erc-track.el
657 since it can be useful in general.
658
659 * erc-track.el (erc-find-parsed-property): Removed.
660
661 * erc-capab.el (erc-capab-find-parsed): Removed.
662 (erc-capab-identify-add-prefix): Use `erc-find-parsed-property'.
663
664 * erc.el (erc-open): Run `erc-before-connect' hook here. This
665 makes sure the hook always gets called before a connection is
666 made, as some functions, like `erc-handle-irc-url', use `erc-open'
667 instead of `erc'.
668 (erc): Removed `erc-before-connect' hook.
669
670 * erc-menu.el (erc-menu-definition): Put items specific to
671 channels in a "Current channel" submenu.
672
673 * erc-backend.el (321, 323): Display channel list in server buffer
674 when not using the channel list module.
675
676 * erc.el: Updated copyright years.
677 (erc-version-string): Set to 5.2 (devel).
678 (erc-format-lag-time): Fixed to work when `erc-server-lag' is nil.
679 (erc-update-mode-line-buffer): Set the header face.
680
6812007-01-11 Michael Olson <mwolson@gnu.org>
682
683 * erc-bbdb.el (erc-bbdb-popup-type): Fix customization type and
684 documentation.
685
686 * erc-services.el (erc-nickserv-identify-mode): Improve
687 documentation for nick-change option and move higher to fix
688 compiler warning. Avoid a recursive load error.
689 (erc-nickserv-alist): Add simple entry for BitlBee, to avoid
690 "NickServ is AWAY: User is offline" error. Oddly enough, bitlbee
691 was smart enough to recognize that as an authentication request
692 and log in regardless, which is why I didn't notice this earlier.
693 (erc-nickserv-alist-sender, erc-nickserv-alist-regexp)
694 (erc-nickserv-alist-nickserv, erc-nickserv-alist-ident-keyword)
695 (erc-nickserv-alist-use-nick-p)
696 (erc-nickserv-alist-ident-command): New accessors for
697 erc-nickserv-alist. Using nth is unwieldy.
698 (erc-nickserv-identify-autodetect)
699 (erc-nickserv-identify-on-connect)
700 (erc-nickserv-identify-on-nick-change, erc-nickserv-identify): Use
701 the new accessors.
702
7032007-01-11 Diane Murray <disumu@x3y2z1.net>
704
705 * NEWS: Added note for `erc-my-nick-face'. Fixed capab-identify
706 wording.
707
7082007-01-10 Diane Murray <disumu@x3y2z1.net>
709
710 * erc.el (erc-mode-line-format): Added %l to documentation.
711 (erc-header-line-format): Removed "[IRC]". Use the new %l
712 replacement character. Doc fix.
713 (erc-format-channel-modes): Removed lag code. Removed parentheses
714 from mode string.
715 (erc-format-lag-time): New function.
716 (erc-update-mode-line-buffer): Use it.
717
ff59d266
MB
7182007-01-10 Michael Olson <mwolson@gnu.org>
719
720 * erc.el: Fix typo in url-irc-function instructions.
721
6904f7fe
MB
7222007-01-09 Michael Olson <mwolson@gnu.org>
723
724 * erc.el (erc-system-name): New option that determines the system
725 name to use when logging in. The default is to figure this out by
726 calling `system-name'.
727 (erc-login): Use it.
728
7292007-01-07 Michael Olson <mwolson@gnu.org>
730
731 * erc.el (erc-modules): Add the menu module. This should fix a
732 bug with incorrect ERC submenus being displayed.
733
734 * erc-menu.el: Turn this into a module.
735 (erc-menu-add, erc-menu-remove): New functions that add and remove
736 the ERC menu.
737
597993cf 738
ff59d266 739See ChangeLog.06 for earlier changes.
597993cf 740
ff59d266 741 Copyright (C) 2007 Free Software Foundation, Inc.
5b87ad55
GM
742
743 This file is part of GNU Emacs.
744
745 GNU Emacs is free software; you can redistribute it and/or modify
746 it under the terms of the GNU General Public License as published by
e0085d62 747 the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
748 any later version.
749
750 GNU Emacs is distributed in the hope that it will be useful,
751 but WITHOUT ANY WARRANTY; without even the implied warranty of
752 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
753 GNU General Public License for more details.
754
755 You should have received a copy of the GNU General Public License
756 along with GNU Emacs; see the file COPYING. If not, write to the
757 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
758 Boston, MA 02110-1301, USA.
597993cf 759
19750a72
MB
760;; Local Variables:
761;; coding: utf-8
33462dfa 762;; add-log-time-zone-rule: t
19750a72
MB
763;; End:
764
ff59d266 765;; arch-tag: 3369b6e5-96b1-4b32-96cd-9a905c747496