1 2003-08-06 Daiki Ueno <ueno@unixuser.org>
3 * riece-unread.el (riece-unread-update-channel-list-buffer): Call
6 2003-08-04 Daiki Ueno <ueno@unixuser.org>
8 * riece-server.el (riece-find-server-name): Abolish.
10 * riece-alias.el: Add usage.
12 2003-08-04 Daiki Ueno <ueno@unixuser.org>
14 * riece-mini.el (riece-mini-send-message): Use
15 riece-completing-read-identity; don't use riece-own-channel-message.
17 * riece-identity.el: Require 'riece-compat.
18 (riece-identity-prefix-case-table): New variable.
19 (riece-abbrev-identity-string-function): New variable.
20 (riece-expand-identity-string-function): New variable.
21 (riece-format-identity): Rename from riece-decode-identity.
22 (riece-parse-identity): Rename from riece-encode-identity.
23 (riece-with-identity-buffer): Abolish.
24 (riece-identity-canonicalize-prefix): Use case-table.
26 * riece-filter.el (riece-handle-numeric-reply): Decode messages.
27 (riece-handle-message): Ditto.
29 * riece-alias.el: New add-on.
30 * COMPILE (riece-modules): Add riece-alias.
31 * Makefile.am (EXTRA_DIST): Add riece-alias.el.
33 * riece-emacs.el (riece-set-case-syntax-pair): New alias.
34 * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
35 * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
37 2003-08-03 Daiki Ueno <ueno@unixuser.org>
39 * Riece: Version 0.0.4 released.
40 * riece-version.el (riece-version-number): Bump up to 0.0.4.
42 2003-06-24 OHASHI Akira <bg66@koka-in.org>
44 * riece-unread.el (riece-unread-display-message-function): Don't check
45 `selected-window'. It doesn't work as expected.
47 2003-06-23 Daiki Ueno <ueno@unixuser.org>
49 * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
51 * riece-300.el: Rewrite using riece-decode-identity.
53 * riece-identity.el (riece-completing-read-identity): Signal an
54 error when the encoded channel name is not matched with
57 * riece-globals.el (riece-channel-regexp): Moved from
59 (riece-user-regexp): Moved form riece-user.el.
61 2003-06-23 Daiki Ueno <ueno@unixuser.org>
63 * riece-handle.el (riece-handle-join-message): Don't call
64 riece-switch-to-channel.
65 (riece-handle-part-message): Don't decode message if it is empty.
66 (riece-handle-kick-message): Ditto.
67 (riece-handle-quit-message): Ditto.
68 (riece-handle-kill-message): Ditto.
70 * riece-commands.el (riece-command-part): Show the current channel
73 * riece-identity.el (riece-completing-read-identity): Accept
74 optional 5th argument `initial'.
76 * riece-unread.el (riece-unread-update-channel-list-buffer):
79 * riece-filter.el (riece-sentinel): Don't bind
80 riece-inhibit-update-buffers.
82 * riece-display.el (riece-redisplay-buffer): New variable.
83 (riece-inhibit-update-buffers): Abolish.
84 (riece-update-channel-list-buffer): Memorize
85 encoded identity as text property on each line.
87 * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
89 (riece-user-list-mode): Ditto.
91 2003-06-22 Yoichi NAKAYAMA <yoichi@geiin.org>
93 * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
94 Fix example setting, don't use 3rd arg of add-to-list.
96 * riece-coding.el (riece-default-coding-system): Fix default value.
98 2003-06-22 Daiki Ueno <ueno@unixuser.org>
100 * riece-display.el (riece-inhibit-update-buffers): New variable.
101 * riece-filter.el (riece-sentinel): Bind
102 riece-inhibit-update-buffers while removing channels from
103 riece-current-channels.
104 * riece-unread.el (riece-unread-display-message-function): Don't
105 update channel list buffer when riece-inhibit-update-buffers is
107 (riece-unread-channel-switch-hook): Ditto.
108 (riece-unread-insinuate): Add
109 riece-unread-update-channel-list-buffer to
110 riece-update-buffer-functions.
112 * riece-commands.el (riece-command-switch-to-channel): Call
113 riece-redisplay-buffers instead of riece-command-configure-windows.
115 * riece-identity.el (riece-completing-read-identity): Remove nil
116 from riece-current-channels before converting it to an alist.
118 2003-06-17 OHASHI Akira <bg66@koka-in.org>
120 * riece-unread.el (riece-unread-display-message-function): Check a
123 * riece-mini.el: New add-on.
124 * COMPILE (riece-modules): Add `riece-mini'.
125 * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
127 * riece-display.el (riece-channel-buffer-create): Add new hook.
128 * riece-log.el: New add-on for saving irc logs.
129 * COMPILE (riece-modules): Add `riece-log'.
130 * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
132 * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
133 (riece-command-part): Ditto.
135 2003-06-12 Daiki Ueno <ueno@unixuser.org>
137 * riece-naming.el (riece-naming-assert-join): Call
138 riece-update-buffers.
139 (riece-naming-assert-part): Ditto.
141 * riece-filter.el (riece-sentinel): Don't bind
142 riece-overriding-server-name; use riece-part-channel.
144 * riece-display.el (riece-switch-to-channel): Don't set
145 riece-channel-buffer.
146 (riece-update-buffers): Set riece-channel-buffer here.
148 * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
149 (riece-command-close-server): Fixed completion bug.
150 (riece-command-universal-server-name-argument): Ditto.
152 2003-06-12 Daiki Ueno <ueno@unixuser.org>
154 * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
157 * riece-handle.el (riece-handle-nick-message): Use
158 riece-decode-identity to decode user.
159 (riece-handle-join-message): Ditto.
160 (riece-handle-part-message): Ditto.
161 (riece-handle-kick-message): Ditto.
162 (riece-handle-quit-message): Ditto.
163 (riece-handle-kill-message): Ditto.
164 (riece-handle-invite-message): Ditto.
165 (riece-handle-topic-message): Ditto.
166 (riece-handle-mode-message): Ditto.
168 2003-06-12 Daiki Ueno <ueno@unixuser.org>
170 * riece-message.el (riece-own-channel-message): Abolish.
172 * riece-commands.el (riece-command-send-message): Don't use
173 riece-own-channel-message.
175 * riece-doctor.el (riece-doctor-reply): Don't use
176 riece-own-channel-message.
177 (riece-doctor-hello-regexp): New user option.
178 (riece-doctor-bye-regexp): New user option.
180 2003-06-11 Daiki Ueno <ueno@unixuser.org>
182 * riece-identity.el (riece-identity-member-no-server): Abolish.
184 * riece-doctor.el (riece-doctor-patients): Make it global variable.
185 (riece-doctor-after-privmsg-hook): Use riece-identity-member
186 instead of riece-identity-member-no-server.
188 2003-06-11 Daiki Ueno <ueno@unixuser.org>
190 * riece-doctor.el: New add-on.
191 * COMPILE (riece-modules): Add riece-doctor.
192 * Makefile.am (EXTRA_DIST): Add riece-doctor.el
194 2003-06-11 Daiki Ueno <ueno@unixuser.org>
196 * riece-handle.el (riece-handle-nick-message): Follow the change
197 of riece-identity-member.
199 * riece-commands.el (riece-command-next-channel): Use
200 riece-identity-member instead of riece-identity-member-no-server.
201 (riece-command-previous-channel): Ditto.
203 2003-06-11 Daiki Ueno <ueno@unixuser.org>
205 * riece-identity.el (riece-completing-read-identity): Remove nil
206 from channels before completing-read.
208 * riece-message.el (riece-message-make-name): Fix condition for priv.
209 (riece-message-make-global-name): Ditto.
210 (riece-message-buffer): Ditto.
212 * riece-misc.el (riece-current-nickname): Use
213 riece-with-identity-buffer.
215 2003-06-11 Daiki Ueno <ueno@unixuser.org>
217 * riece-message.el (riece-message-parent-buffers): Regard message's
218 speaker as target when priv mode.
220 * riece-display.el (riece-update-channel-indicator): Decode
221 riece-current-channel even in priv mode.
223 * riece-identity.el (riece-decode-identity): Respect prefix-only.
224 (riece-completing-read-identity): Check if illegal characters in
227 2003-06-08 Daiki Ueno <ueno@unixuser.org>
229 * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
230 * riece-globals.el (riece-user-buffer-format): Abolish.
231 (riece-user-list-buffer): Default to " *Users*".
232 * riece-display.el (riece-user-list-buffer-name): Abolish.
233 (riece-user-list-buffer-create): Abolish.
235 2003-06-08 Daiki Ueno <ueno@unixuser.org>
237 * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
238 (riece-handle-message): Ditto.
239 (riece-sentinel): Clear system here.
241 * riece-server.el (riece-server-process-name): New function.
242 (riece-server-process): New function.
243 (riece-close-server): Abolish.
245 * riece-identity.el: Adopt vector object representation for
247 (riece-with-identity-buffer): New macro.
248 (riece-decode-identity): New function.
249 (riece-encode-identity): New function.
251 * riece-globals.el (riece-process-list): New variable.
252 (riece-server-process-alist): Abolish.
253 (riece-channel-buffer-alist): Abolish.
254 (riece-user-list-buffer-alist): Abolish.
255 (riece-short-channel-indicator): New variable.
257 * riece-channel.el: Assume that we are already in the server buffer.
258 * riece-user.el: Likewise.
260 2003-06-06 OHASHI Akira <bg66@koka-in.org>
262 * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
264 * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
267 2003-06-06 Daiki Ueno <ueno@unixuser.org>
269 * riece-channel.el (riece-forget-channel): Fixed.
270 (riece-channel-modeless-regexp): Abolish.
271 (riece-channel-modeless-p): Abolish.
273 2003-06-06 OHASHI Akira <bg66@koka-in.org>
275 * riece-unread.el (riece-unread-display-message-function): Delete the
276 target before adding to list.
277 (riece-unread-switch-to-channel): New function.
278 (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
279 Bind "u" to riece-dialogue-mode-map.
280 Bind "u" to riece-channel-list-mode-map.
282 * riece.el (riece-channel-list-mode-map): Don't bind
283 `riece-command-unread-channel'.
285 2003-06-04 Yoichi NAKAYAMA <yoichi@geiin.org>
287 * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
288 riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
289 riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
290 riece.el: Don't require riece-inlines since it has been removed.
292 2003-06-03 Daiki Ueno <ueno@unixuser.org>
294 * riece-display.el (riece-update-user-list-buffer): Rename from
295 riece-user-list-update-buffer.
296 (riece-update-channel-list-buffer): Rename from
297 riece-channel-list-update-buffer.
299 2003-06-03 Daiki Ueno <ueno@unixuser.org>
301 * riece-identity.el (riece-identity-canonicalize-prefix): Moved
302 from riece-inlines.el; renamed from scandinavian-downcase.
303 (riece-identity-equal-no-server): Moved from riece-inlines.el;
304 renamed from scandinavian-equal-ignore-case.
305 (riece-identity-equal-no-server-safe): New function.
306 (riece-identity-member-no-server): Moved from riece-inlines.el;
307 renamed from scandinavian-member-ignore-case.
308 (riece-identity-member-no-server-safe): New function.
310 * riece-inlines.el: Removed.
311 * COMPILE (riece-modules): Remove riece-inlines.
312 * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
314 2003-06-03 Daiki Ueno <ueno@unixuser.org>
316 * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
318 * riece-ndcc.el: Don't call delete-process explicitly.
319 * riece-server.el (riece-close-server-process): Don't call
320 delete-process explicitly unless riece-debug == t.
322 2003-06-03 Daiki Ueno <ueno@unixuser.org>
324 * riece-inlines.el (scandinavian-downcase): New inline function.
325 (scandinavian-equal-ignore-case): Rename from
326 string-equal-ignore-case.
327 (scandinavian-member-ignore-case): Rename from
328 string-list-member-ignore-case.
330 * riece-identity.el (riece-identity-equal): Rename from
331 riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
332 (riece-identity-equal-safe): Rename from riece-identity-equal.
333 (riece-identity-member): Rename from riece-identity-member-no-server.
334 (riece-identity-member-safe): Rename from riece-identity-member.
335 (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
336 (riece-identity-assoc-safe): Rename from riece-identity-assoc.
338 2003-06-03 Daiki Ueno <ueno@unixuser.org>
340 * riece-rdcc.el: Require 'riece-ctcp.
341 (riece-rdcc-insinuate): Add "DCC" to
342 riece-ctcp-additional-clientinfo.
344 * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
345 (riece-command-ctcp-clientinfo): New command.
346 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
347 (riece-handle-ctcp-clientinfo-request): New handler.
348 (riece-handle-ctcp-clientinfo-response): New handler.
350 * riece-server.el (riece-open-server): No need to use
351 get-buffer-create to reuse process buffer.
353 2003-06-03 Daiki Ueno <ueno@unixuser.org>
355 * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
357 (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
359 * riece-server.el (riece-server-keyword-map): `:coding-system' ->
361 (riece-open-server): Follow the change.
363 * riece-ctcp.el (riece-command-ctcp-action): New command.
364 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
365 (riece-handle-ctcp-action-request): New handler.
367 * riece.el (riece-command-mode): Enclose status indicators with
368 `{}'; show riece-user-indicator.
369 (riece-channel-mode): Likewise.
370 (riece-dialogue-mode): Enclose status indicators with `{}'.
371 * riece-globals.el (riece-user-indicator): New indicator.
372 (riece-freeze-indicator): Default to "-".
373 * riece-display.el (riece-update-channel-indicator): Don't update
375 (riece-update-status-indicators): Set riece-user-indicator.
376 * riece-300.el (riece-handle-324-message): Update channel indicator.
378 2003-06-02 Daiki Ueno <ueno@unixuser.org>
380 * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
381 (riece-dialogue-mode): Call riece-update-status-indicators.
382 (riece-channel-mode): Add riece-operator-indicator to
383 mode-line-buffer-identification.
384 * riece-user.el (riece-make-user): New attribute `operator'.
385 (riece-user-operator): New function.
386 (riece-user-set-operator): New function.
387 (riece-user-toggle-away): New function.
388 (riece-user-toggle-operator): New function.
389 * riece-misc.el (riece-own-frozen): Revive.
390 * riece-message.el (riece-display-message): Reset riece-freeze if
391 riece-freeze == 'own && (riece-message-own-p message).
392 * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
393 (riece-operator-indicator): New variable.
394 * riece-display.el (riece-update-status-indicators): New function.
395 (riece-update-buffer-functions): Add it.
396 * riece-commands.el (riece-command-toggle-freeze): Don't call
398 (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
399 * riece-300.el (riece-handle-302-message): Use
400 riece-user-toggle-away instead of riece-user-set-away.
401 (riece-handle-301-message): Ditto.
402 (riece-handle-305-message): Ditto.
403 (riece-handle-306-message): Ditto.
404 (riece-handle-352-message): Ditto.
406 2003-06-02 Yoichi NAKAYAMA <yoichi@geiin.org>
408 * riece-commands.el (riece-command-next-channel): Circularly
409 follow the channel list.
410 (riece-command-previous-channel): Ditto.
412 2003-06-02 Daiki Ueno <ueno@unixuser.org>
414 * riece.el (riece-command-mode): Set default value of riece-freeze
416 * riece-options.el (riece-away-message): New user option.
417 * riece-commands.el (riece-command-toggle-away): Query user away
419 * riece-300.el (riece-handle-301-message): Set user's away status.
420 (riece-handle-305-message): Ditto.
421 (riece-handle-306-message): Ditto.
422 (riece-handle-302-message): Ditto.
423 (riece-handle-352-message): Ditto.
425 2003-06-02 Daiki Ueno <ueno@unixuser.org>
427 * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
429 (riece-command-dcc-receive): Check the existence of
430 set-buffer-multibyte.
432 2003-06-02 Daiki Ueno <ueno@unixuser.org>
434 * Riece: Version 0.0.3 released.
435 * riece-version.el (riece-version-number): Bump up to 0.0.3.
437 * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
439 (riece-handle-ctcp-response): Ditto.
441 2003-06-01 Daiki Ueno <ueno@unixuser.org>
443 * riece-user.el (riece-rename-user): Don't modify entry when
444 old-name == new-name.
446 * riece-display.el (riece-configure-windows): Use window-buffer
447 instead of current-buffer.
449 * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
450 (riece-rdcc-ruby-command): New user option.
451 (riece-rdcc-send-program): New user option.
452 (riece-rdcc-decode-address-program): New user option.
453 (riece-rdcc-substitute-variables): New function.
454 (riece-command-dcc-send): Use it.
455 (riece-rdcc-decode-address): Use it.
457 2003-06-01 Daiki Ueno <ueno@unixuser.org>
459 * riece-rdcc.el: New add-on.
461 * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
463 2003-06-01 Daiki Ueno <ueno@unixuser.org>
465 * riece-ndcc.el: New add-on.
466 * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
468 2003-05-31 Daiki Ueno <ueno@unixuser.org>
470 * riece-server.el (riece-open-server): Simplify message.
472 * riece-commands.el (riece-command-open-server): Throw an error
473 when the server is already opened.
475 * riece-filter.el (riece-sentinel): Simplified.
477 * riece-display.el (riece-user-list-update-buffer): Check the
478 existence of riece-user-list-buffer.
479 (riece-channel-list-update-buffer): Check the existence of
480 riece-channel-list-buffer.
481 (riece-set-window-points): Ditto.
483 * riece-commands.el (riece-command-open-server): Simplified.
484 (riece-command-toggle-channel-buffer-mode): Set
485 riece-save-variables-are-dirty to t.
486 (riece-command-toggle-user-list-buffer-mode): Ditto.
487 (riece-command-toggle-channel-list-buffer-mode): Ditto.
489 * riece-server.el (riece-start-server): Abolish.
490 (riece-open-server): Set riece-server-process-alist and
491 riece-server-process here.
493 2003-05-31 Daiki Ueno <ueno@unixuser.org>
495 * riece-filter.el (riece-sentinel): Close process even if
496 riece-reconnect-with-password == t.
497 (riece-handle-message): Catch errors occured in hooks.
499 * riece-server.el (riece-open-server): Reuse server buffer.
500 (riece-close-server-process): Delete process even if process is
503 2003-05-31 Daiki Ueno <ueno@unixuser.org>
505 * riece-server.el (riece-open-server): No need to reset
506 riece-reconnect-with-password.
508 * riece-filter.el (riece-sentinel): Don't call riece when
509 riece-reconnect-with-password = t and process !=
510 riece-server-process.
512 * riece-url.el: Fix usage.
514 * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
516 * riece-unread.el: New add-on.
517 * COMPILE (riece-modules): Add riece-unread.
518 * Makefile.am (EXTRA_DIST): Add riece-unread.el
520 * riece-300.el (riece-handle-322-message): New handler.
521 (riece-handle-323-message): New handler.
523 2003-05-30 Daiki Ueno <ueno@unixuser.org>
525 * riece-display.el (riece-configure-windows): Select other window
526 when minibuffer is active.
528 * riece-commands.el (riece-command-list): New command.
529 (riece-command-enter-message-as-notice): New command.
530 * riece.el (riece-command-mode-map): Bind
531 riece-command-enter-message-as-notice and riece-command-list.
533 * riece-server.el (riece-close-server): Skip nil when leaving
534 channels before closing server.
536 2003-05-30 Daiki Ueno <ueno@unixuser.org>
538 * Riece: Version 0.0.2 released.
539 * riece-version.el (riece-version-number): Bump up to 0.0.2.
541 * riece.el (riece-load-and-build-addon-dependencies): Fixed.
542 * riece-url.el (riece-url-requires): Don't assert dependency on
543 riece-highlight unless it appears in riece-addons.
545 * riece-url.el: New add-on.
546 * COMPILE (riece-modules): Add riece-url.
548 * riece-message.el (riece-message-make-bracket): Abolish.
549 * riece-highlight.el (riece-highlight-font-lock-keywords):
550 Give up to fontify "-nick-" or "-nick server-".
552 * riece-highlight.el (riece-highlight-font-lock-keywords):
555 * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
556 (riece-handle-ctcp-response): Ditto.
558 * riece-highlight.el: Make it an add-on.
559 (riece-highlight-insinuate): New function.
560 * riece.el: Don't require 'riece-highlight.
561 * riece-options.el (riece-addons): Turn on riece-highlight and
562 riece-ctcp by default.
564 * riece-display.el (riece-configure-windows-predicate): New function.
565 (riece-configure-windows-predicate): New user option.
566 (riece-redisplay-buffers): Use it.
568 * riece-complete.el: Require 'cl for butlast.
570 * Makefile.am (elc): Renamed from "compile".
572 * riece.el (riece-dialogue-mode-map): Bind
573 riece-command-toggle-channel-list-buffer-mode.
575 * riece-display.el (riece-configure-windows): Typo fixed.
577 * riece-user.el (riece-user-toggle-channel): Use member instead of
580 2003-05-29 Daiki Ueno <ueno@unixuser.org>
582 * riece-ctcp.el (riece-ctcp-insinuate): New function.
584 * riece-options.el (riece-addons): New user option.
585 (riece-addon-directory): New user option.
587 * riece.el (riece-load-and-build-addon-dependencies): New function.
588 (riece-insinuate-addons): New function.
589 (riece): Call riece-insinuate-addons.
591 * riece-misc.el (riece-get-users-on-server): Moved from
594 * riece-ctcp.el: New file.
595 * COMPILE (riece-modules): Add riece-ctcp.
596 * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
598 2003-05-29 Daiki Ueno <ueno@unixuser.org>
600 * Riece: Version 0.0.1 released.
602 * riece-commands.el (riece-command-names): New command.
603 (riece-command-who): New command.
605 * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
608 * riece-300.el (riece-handle-341-message): New handler.
609 (riece-handle-352-message): New handler.
611 * riece-commands.el (riece-command-invite): Don't accept channel
612 argument; throw an error when user is not on a channel.
613 (riece-command-kick): New command.