1 2006-02-11 Michael Olson <mwolson@gnu.org>
3 * erc.el (erc-update-modules): Make some requirements shorter, so
4 that it's easier to see why they are needed.
6 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
7 `erc-timestamp-right-align-by-pixel'. Set the default based on
8 whether we are in Emacs 22, and using X. Improve documentation.
9 (erc-insert-aligned): Remove calculation of offset, since
10 :align-to pos works after all. Unlike the previous solution, this
11 one works when erc-stamp.el is compiled.
12 (erc-insert-timestamp-right): Don't add length of string, and then
13 later remove its displayed width. This puts timestamps after
14 erc-fill-column when erc-timestamp-right-column is nil, rather
15 than before it. It also fixes a subtle bug. Remove use of
16 `current-window', since there is no variable by that name in
17 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
18 `erc-fill-column' is non-nil before using it.
20 2006-02-11 Diane Murray <disumu@x3y2z1.net>
22 * erc-list.el: Define `list' module which sets the alias
23 `erc-cmd-LIST' to `erc-list-channels' when enabled and
24 `erc-list-channels-simple' when disabled.
25 (erc-list-channels): Was `erc-cmd-LIST', renamed.
26 (erc-list-channels-simple): New function.
28 * erc.el (erc-modules): Added `list' to enabled modules. Moved
29 customization options left in source code.
31 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
33 * erc-spelling.el (define-erc-module): Make sure there's a buffer
34 before calling `with-current-buffer'.
36 2006-02-10 Michael Olson <mwolson@gnu.org>
38 * Makefile (debbuild): Split from debrelease.
39 (debrevision-mwolson): New rule that causes a Debian revision to
42 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
44 (erc-modules): Change use of 'pcomplete to 'completion.
46 2006-02-09 Diane Murray <disumu@x3y2z1.net>
48 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
49 (erc-get-parsed-vector-type): Moved here from erc-match.el.
51 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
52 (erc-get-parsed-vector-type): Moved these functions to erc.el
53 since they can be useful outside of the text matching module.
55 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
58 2006-02-07 Michael Olson <mwolson@gnu.org>
60 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
61 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
64 * erc-goodies.el: Comment fix.
66 * erc-hecomplete.el: Rename from erc-complete.el. Update
67 commentary. Use define-erc-module so that it's possible to
69 (erc-hecomplete): Rename function from `erc-complete'.
70 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
72 * erc-join.el: Rename from erc-autojoin.el.
74 * erc-networks.el: Rename from erc-nets.el.
76 * erc-services.el: Rename from erc-nickserv.el.
78 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
79 the simpler `indent-to' function when
80 `erc-timestamp-right-align-by-pixel' is nil.
81 (erc-insert-timestamp-right): If the timestamp goes on the
82 following line, don't add timestamp properties to the spaces in
85 * erc.el (erc-migrate-modules): New function that eases migration
87 (erc-modules): Call erc-migrate-modules in the :get accessor.
88 (erc-modules, erc-update-modules): Update for new modules names.
89 (erc-cmd-SMV): Remove, since this does not give useful output due
90 to the version strings being removed from ERC modules.
92 2006-02-05 Michael Olson <mwolson@gnu.org>
94 * erc-spelling.el (erc-spelling-init): If
95 `erc-spelling-dictionaries' is nil, do not set
96 ispell-local-dictionary. Before, it was being set to nil, which
97 was causing a long delay while the ispell process restarted.
98 (erc-spelling-unhighlight-word): New function that removes
99 flyspell properties from a spell-checked word.
100 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
101 that have '/' before them.
103 2006-02-04 Michael Olson <mwolson@gnu.org>
105 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
107 * erc-complete.el (erc-nick-completion-exclude-myself)
108 (erc-try-complete-nick): Use better function for getting list of
111 * erc-goodies.el: Docfix.
113 * erc-stamp.el: Use new arch tagline, since the other one wasn't
114 being treated properly.
116 * erc.el (erc-version-string): Release ERC 5.1.1
118 2006-02-03 Zhang Wei <id.brep@gmail.com> (tiny change)
120 * erc.el (erc-version-string): Don't hard-code Emacs version.
121 (erc-version): Use emacs-version.
123 2006-01-31 Michael Olson <mwolson@gnu.org>
125 * erc-stamp.el: Update copyright years.
127 2006-01-30 Simon Josefsson <jas@extundo.com>
129 * erc.el (erc-open-ssl-stream): Use tls.el.
131 2006-01-30 Michael Olson <mwolson@gnu.org>
133 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
134 that determines whether to use pixel values to align right
135 timestamps. The default is not to do so, since it only works with
136 Emacs22 on X, and even then some people have trouble.
137 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
139 2006-01-29 Michael Olson <mwolson@gnu.org>
141 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
142 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
143 earlier changes. Use utf-8 encoding. Fix some accent typos.
145 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
147 (erc-speedbar-goto-buffer): Fix compiler warning.
149 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
150 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
151 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
152 work without compiler warnings.
154 * man/erc.texi (Obtaining ERC, Installation): Note that these
155 sections may be skipped if using the version of ERC that comes
158 2006-01-29 Edward O'Connor <ted@oconnor.cx>
160 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
161 work-arounds live in Viper itself.
163 2006-01-28 Michael Olson <mwolson@gnu.org>
165 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
168 * erc-*.el: Space out copyright years like the rest of Emacs. Use
169 the Emacs copyright statement. Refer to ourselves as ERC rather
170 than "Emacs IRC Client", since there are now several IRC clients
173 * erc-compat.el (erc-emacs-build-time): Define as a variable.
175 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
177 * erc-ibuffer.el: Require 'erc.
179 * erc-stamp.el (erc-insert-aligned): Only use the special text
180 property when window-system is X.
182 * erc.texi: Adapt for inclusion in Emacs.
184 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
186 * erc.el (erc-format-message): More `cl' breakage; don't use
189 2006-01-27 Michael Olson <mwolson@gnu.org>
191 * debian/changelog: Update for new release.
193 * debian/control (Description): Update.
195 * debian/rules: Concatenate ChangeLog for 2005.
197 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
198 (debrelease, release): Copy images directory.
200 * NEWS: Spelling fixes. Add items for recent changes.
202 * erc.el (erc): Move call to erc-update-modules before the call to
203 erc-mode. This should fix a timestamp display issue.
204 (erc-version-string): Release ERC 5.1.
206 2006-01-26 Michael Olson <mwolson@gnu.org>
208 * erc-stamp.el (erc-insert-aligned): New function that inserts
209 text in an perfectly-aligned way relative to the right margin. It
210 only works well with Emacs22. A sane fallback is provided for
211 other versions of Emacs.
212 (erc-insert-timestamp-right): Use the new function.
214 2006-01-25 Edward O'Connor <ted@oconnor.cx>
216 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
217 before `erc-match-mode'.
219 * erc-match.el (match): Append `erc-match-message' to
220 `erc-insert-modify-hook'.
222 2006-01-25 Michael Olson <mwolson@gnu.org>
224 * FOR-RELEASE: Mark last release requirement as done.
226 * Makefile (realclean, distclean): Remove docs.
228 * erc.texi: Take care of all pre-5.1 items.
230 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
231 `process-send-string' in `condition-case' to avoid an error when
234 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
235 variable-width characters in the timestamp and on the same line.
236 The latter is a kludge, but it seems to work with most of the
237 input I've thrown at it so far. It's certainly better than going
238 past the end of line consistently when we have variable-width
239 characters on the same line. When `erc-timestamp-intangible' is
240 non-nil, add intangible properties to the whitespace as well, so
241 that hitting <end> does what you'd expect.
243 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
244 this to only use boolean values for `erc-flood-protect'. Update
246 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
247 that any QUIT-related messages go there.
248 (erc): Try to be more clever about re-using channel buffers when
249 automatically re-connecting. Thanks to e1f for noticing.
251 2006-01-23 Michael Olson <mwolson@gnu.org>
253 * ChangeLog.2005: Remove erroneous line.
255 * FOR-RELEASE: Make that the Makefile tweaking is complete.
256 (NEWS): Mark as done.
258 * Makefile (MANUAL): New option indicating the name of the manual.
259 (PREFIX, ELISPDIR, INFODIR): New options that specify the
260 directories to install lisp code and info manuals to. PREFIX is
261 used only by ELISPDIR and INFODIR.
262 (all): Call `lisp' and create the manual.
263 (lisp): Compile lisp code.
264 (%.info, %.html): New rules that make Info files and HTML files,
265 respectively, from a TexInfo source.
266 (doc): Create both the Info and HTML versions of the manual. This
267 is for the user -- we never call it automatically.
268 (install-info): Install Info files.
269 (install-bin): Install compiled and source Lisp files.
270 (todo): Remove, since it seems pointless.
274 * README: Add Installation instructions. Tweak layout.
276 * erc.texi: Work on some pre-5.1 items.
278 * erc-stamp.el, erc-track.el: Move some functions and options in
279 order to get rid of a few compiler warnings.
281 * erc.el (erc-modules): Enable readonly by default. This will
282 prevent new users from accidentally removing old messages, which
283 could be disconcerting. Also enable stamp by default, since
284 timestamps are a fairly standard feature among IRC clients.
286 * erc-button.el: Munge whitespace.
288 * erc-identd.el (erc-identd-start): Instead of throwing an error,
289 just try to use the obsolete function.
291 2006-01-22 Michael Olson <mwolson@gnu.org>
293 * erc-backend.el (erc-decode-string-from-target): Make sure that
294 we have a string as an argument. If not, coerce it to the empty
295 string. Hopefully, this will work painlessly around an edge case
296 related to quitting ERC around the same time a message comes in.
298 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
300 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
302 (erc-find-parsed-property): Simplify.
303 (erc-track-get-active-buffer): Fix logic. Simplify.
304 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
306 * erc-speak.el: Doc fixes.
307 (erc-speak-region): `propertize' --> `erc-propertize'.
309 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
312 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
313 account when wrapping URLs.
315 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
317 * erc-backend.el (define-erc-response-handler): Doc fix.
319 2006-01-22 Michael Olson <mwolson@gnu.org>
321 * erc.el (erc-update-modules): Use `require' instead of `load',
322 but prevent it from causing errors, in order to preserve the
325 2006-01-21 Michael Olson <mwolson@gnu.org>
327 * FOR-RELEASE (Source): Mark cl task as done.
329 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
331 (erc-auto.el, %.elc): Don't show command, just its output.
333 * NEWS: Add items from 2005-01-01 to 2005-08-13.
335 * debian/copyright (Copyright): Update.
337 * erc-auto.in (erc-generate-autoloads): Rename from
340 * erc.el, erc-autoaway.el, erc-backend.el: Use
341 erc-server-process-alive instead of erc-process-alive.
343 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
344 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
345 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
346 Use (eval-when-compile (require 'cl)), so that compilation doesn't
349 * erc-fill.el, erc-truncate.el: Whitespace munging.
351 * erc.el: Update copyright notice. Remove eval-after-load code.
352 (erc-with-buffer): Docfix.
353 (erc-once-with-server-event, erc-once-with-server-event-global)
354 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
356 (erc-banlist-update): Use erc-delete-if instead of delete-if.
357 (erc): Call `erc-update-modules' here.
359 * erc-backend.el: Require 'erc-compat to minimize compiler
361 (erc-decode-parsed-server-response): Docfix.
362 (erc-server-process-alive): Move here from erc.el and rename from
364 (erc-server-send, erc-remove-channel-users): Make sure process is
365 alive before sending data to it.
367 * erc-bbdb.el: Update copyright years.
368 (erc-bbdb-whois): Remove overexuberant comment.
370 * erc-button.el: Require erc-fill, since we make liberal use of
373 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
374 functions, the latter of which provides an `assert' equivalent.
375 (erc-remove-if-not): New function that provides a simple
376 implementation of `remove-if-not'.
377 (erc-gensym): New function that provides a simple implementation
379 (erc-delete-if): New function that provides a simple
380 implementation of `delete-if'.
381 (erc-member-if): New function that provides a simple
382 implementation of `member-if'.
383 (field-end): Remove this, since it is unused, and later versions
384 of XEmacs have this function already.
385 (erc-function-arglist): Moved here from erc.el.
386 (erc-delete-dups): New compatibility function for dealing with
388 (erc-subseq): New function copied from cl-extra.el.
390 * erc-dcc.el: Require pcomplete during compilation to avoid
392 (erc-unpack-int, erc-dcc-send-filter)
393 (erc-dcc-get-filter): Use erc-assert instead of assert.
394 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
397 * erc-match.el (erc-log-matches): Fix compiler warning.
399 * erc-nicklist.el: Update copyright notice.
400 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
401 (erc-nicklist-bitlbee-connected-p): Remove.
402 (erc-nicklist-insert-medium-name-or-icon): Accept channel
403 argument. Use it to determine whether we are on bitlbee. Now
404 that bitlbee names its channel "&bitlbee", this is trivial.
405 (erc-nicklist-insert-contents): Pass channel as specified above.
406 Don't try to determine whether we are on bitlbee here.
407 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
409 (erc-nicklist-search-for-nick): Use erc-member-if instead of
412 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
413 partially-evaluated lambda expression instead of `delete' and
416 * erc-track.el: Use erc-assert.
417 (erc-track-modified-channels): Remove use of `return'.
418 (erc-track-modified-channels): Use `cadr' instead of `second',
419 since otherwise we would need yet another eval-when-compile line.
421 2006-01-19 Michael Olson <mwolson@gnu.org>
423 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
424 detect SIGPIPE, since it doesn't work.
426 2006-01-10 Diane Murray <disumu@x3y2z1.net>
428 * erc-spelling.el: Updated copyright years.
429 (define-erc-module): Enable/disable `flyspell-mode' for all open
431 (erc-spelling-dictionaries): Reworded customize description.
433 * erc.el (erc-command-symbol): New function.
434 (erc-extract-command-from-line): Use `erc-command-symbol'. This
435 fixes a bug where "Symbol's function definition is void:
436 erc-cmd-LIST" would be shown after typing /list at the prompt (the
437 command was interned because erc-menu.el uses it and is enabled by
438 default whereas erc-list.el is not).
440 * NEWS: Started a list of renamed variables.
442 * erc.el: Reworded the message sent when defining variable
444 (erc-command-indicator-face): Doc fix.
445 (erc-modules): Enable the match module by default which makes
446 current nickname highlighting on as the default.
448 * erc-button.el: Updated copyright years.
449 (erc-button): New face.
450 (erc-button-face): Use `erc-button'.
451 (erc-button-nickname-face): New customizable variable.
452 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
453 new argument to `erc-button-add-button'.
454 (erc-button-add-button): Doc fix. Added new argument to function
455 definition, NICK-P. If it's a nickname, use
456 `erc-button-nickname-face', otherwise use `erc-button-face'. This
457 makes channel tracking and buttons work better together when
458 `erc-button-buttonize-nicks' is enabled, since there is a nickname
459 on just about every line.
461 * erc-track.el (erc-track-use-faces): Doc fix.
462 (erc-track-faces-priority-list): Added `erc-button' to list.
463 (erc-track-priority-faces-only): Doc fix.
465 2006-01-09 Diane Murray <disumu@x3y2z1.net>
467 * erc-button.el (erc-button-url-regexp): Use `concat' so the
468 regexp is not one long line.
469 (erc-button-alist): Fixed so that customizing works correctly.
470 Reorganized. Removed lambda functions with more than two lines.
472 (erc-button-describe-symbol, erc-button-beats-to-time): New
473 functions. Moved from `erc-button-alist'.
475 2006-01-07 Michael Olson <mwolson@gnu.org>
477 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
478 process if a SIGPIPE occurs. This happens when a new message
479 comes in at the same time a /quit is requested.
480 (erc-process-sentinel): Use string-match rather than string= to do
481 these comparisons. Matching literal newlines makes me nervous.
483 * erc-track.el (erc-track-remove-from-mode-line): Handle case
484 where global-mode-string is not a list. Emacs22 permits this.
487 See ChangeLog.05 for earlier changes.
489 Copyright (C) 2006 Free Software Foundation, Inc.
490 Copying and distribution of this file, with or without modification,
491 are permitted provided the copyright notice and this notice are preserved.
497 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a