1 2003-08-09 Daiki Ueno <ueno@unixuser.org>
3 * riece-rdcc.el (riece-command-dcc-send): Accept output only from
6 * riece-xemacs.el: Don't require 'riece-compat.
8 2003-08-06 Daiki Ueno <ueno@unixuser.org>
10 * riece-unread.el (riece-unread-update-channel-list-buffer): Call
13 2003-08-04 Daiki Ueno <ueno@unixuser.org>
15 * riece-server.el (riece-find-server-name): Abolish.
17 * riece-alias.el: Add usage.
19 2003-08-04 Daiki Ueno <ueno@unixuser.org>
21 * riece-mini.el (riece-mini-send-message): Use
22 riece-completing-read-identity; don't use riece-own-channel-message.
24 * riece-identity.el: Require 'riece-compat.
25 (riece-identity-prefix-case-table): New variable.
26 (riece-abbrev-identity-string-function): New variable.
27 (riece-expand-identity-string-function): New variable.
28 (riece-format-identity): Rename from riece-decode-identity.
29 (riece-parse-identity): Rename from riece-encode-identity.
30 (riece-with-identity-buffer): Abolish.
31 (riece-identity-canonicalize-prefix): Use case-table.
33 * riece-filter.el (riece-handle-numeric-reply): Decode messages.
34 (riece-handle-message): Ditto.
36 * riece-alias.el: New add-on.
37 * COMPILE (riece-modules): Add riece-alias.
38 * Makefile.am (EXTRA_DIST): Add riece-alias.el.
40 * riece-emacs.el (riece-set-case-syntax-pair): New alias.
41 * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
42 * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
44 2003-08-03 Daiki Ueno <ueno@unixuser.org>
46 * Riece: Version 0.0.4 released.
47 * riece-version.el (riece-version-number): Bump up to 0.0.4.
49 2003-06-24 OHASHI Akira <bg66@koka-in.org>
51 * riece-unread.el (riece-unread-display-message-function): Don't check
52 `selected-window'. It doesn't work as expected.
54 2003-06-23 Daiki Ueno <ueno@unixuser.org>
56 * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
58 * riece-300.el: Rewrite using riece-decode-identity.
60 * riece-identity.el (riece-completing-read-identity): Signal an
61 error when the encoded channel name is not matched with
64 * riece-globals.el (riece-channel-regexp): Moved from
66 (riece-user-regexp): Moved form riece-user.el.
68 2003-06-23 Daiki Ueno <ueno@unixuser.org>
70 * riece-handle.el (riece-handle-join-message): Don't call
71 riece-switch-to-channel.
72 (riece-handle-part-message): Don't decode message if it is empty.
73 (riece-handle-kick-message): Ditto.
74 (riece-handle-quit-message): Ditto.
75 (riece-handle-kill-message): Ditto.
77 * riece-commands.el (riece-command-part): Show the current channel
80 * riece-identity.el (riece-completing-read-identity): Accept
81 optional 5th argument `initial'.
83 * riece-unread.el (riece-unread-update-channel-list-buffer):
86 * riece-filter.el (riece-sentinel): Don't bind
87 riece-inhibit-update-buffers.
89 * riece-display.el (riece-redisplay-buffer): New variable.
90 (riece-inhibit-update-buffers): Abolish.
91 (riece-update-channel-list-buffer): Memorize
92 encoded identity as text property on each line.
94 * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
96 (riece-user-list-mode): Ditto.
98 2003-06-22 Yoichi NAKAYAMA <yoichi@geiin.org>
100 * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
101 Fix example setting, don't use 3rd arg of add-to-list.
103 * riece-coding.el (riece-default-coding-system): Fix default value.
105 2003-06-22 Daiki Ueno <ueno@unixuser.org>
107 * riece-display.el (riece-inhibit-update-buffers): New variable.
108 * riece-filter.el (riece-sentinel): Bind
109 riece-inhibit-update-buffers while removing channels from
110 riece-current-channels.
111 * riece-unread.el (riece-unread-display-message-function): Don't
112 update channel list buffer when riece-inhibit-update-buffers is
114 (riece-unread-channel-switch-hook): Ditto.
115 (riece-unread-insinuate): Add
116 riece-unread-update-channel-list-buffer to
117 riece-update-buffer-functions.
119 * riece-commands.el (riece-command-switch-to-channel): Call
120 riece-redisplay-buffers instead of riece-command-configure-windows.
122 * riece-identity.el (riece-completing-read-identity): Remove nil
123 from riece-current-channels before converting it to an alist.
125 2003-06-17 OHASHI Akira <bg66@koka-in.org>
127 * riece-unread.el (riece-unread-display-message-function): Check a
130 * riece-mini.el: New add-on.
131 * COMPILE (riece-modules): Add `riece-mini'.
132 * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
134 * riece-display.el (riece-channel-buffer-create): Add new hook.
135 * riece-log.el: New add-on for saving irc logs.
136 * COMPILE (riece-modules): Add `riece-log'.
137 * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
139 * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
140 (riece-command-part): Ditto.
142 2003-06-12 Daiki Ueno <ueno@unixuser.org>
144 * riece-naming.el (riece-naming-assert-join): Call
145 riece-update-buffers.
146 (riece-naming-assert-part): Ditto.
148 * riece-filter.el (riece-sentinel): Don't bind
149 riece-overriding-server-name; use riece-part-channel.
151 * riece-display.el (riece-switch-to-channel): Don't set
152 riece-channel-buffer.
153 (riece-update-buffers): Set riece-channel-buffer here.
155 * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
156 (riece-command-close-server): Fixed completion bug.
157 (riece-command-universal-server-name-argument): Ditto.
159 2003-06-12 Daiki Ueno <ueno@unixuser.org>
161 * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
164 * riece-handle.el (riece-handle-nick-message): Use
165 riece-decode-identity to decode user.
166 (riece-handle-join-message): Ditto.
167 (riece-handle-part-message): Ditto.
168 (riece-handle-kick-message): Ditto.
169 (riece-handle-quit-message): Ditto.
170 (riece-handle-kill-message): Ditto.
171 (riece-handle-invite-message): Ditto.
172 (riece-handle-topic-message): Ditto.
173 (riece-handle-mode-message): Ditto.
175 2003-06-12 Daiki Ueno <ueno@unixuser.org>
177 * riece-message.el (riece-own-channel-message): Abolish.
179 * riece-commands.el (riece-command-send-message): Don't use
180 riece-own-channel-message.
182 * riece-doctor.el (riece-doctor-reply): Don't use
183 riece-own-channel-message.
184 (riece-doctor-hello-regexp): New user option.
185 (riece-doctor-bye-regexp): New user option.
187 2003-06-11 Daiki Ueno <ueno@unixuser.org>
189 * riece-identity.el (riece-identity-member-no-server): Abolish.
191 * riece-doctor.el (riece-doctor-patients): Make it global variable.
192 (riece-doctor-after-privmsg-hook): Use riece-identity-member
193 instead of riece-identity-member-no-server.
195 2003-06-11 Daiki Ueno <ueno@unixuser.org>
197 * riece-doctor.el: New add-on.
198 * COMPILE (riece-modules): Add riece-doctor.
199 * Makefile.am (EXTRA_DIST): Add riece-doctor.el
201 2003-06-11 Daiki Ueno <ueno@unixuser.org>
203 * riece-handle.el (riece-handle-nick-message): Follow the change
204 of riece-identity-member.
206 * riece-commands.el (riece-command-next-channel): Use
207 riece-identity-member instead of riece-identity-member-no-server.
208 (riece-command-previous-channel): Ditto.
210 2003-06-11 Daiki Ueno <ueno@unixuser.org>
212 * riece-identity.el (riece-completing-read-identity): Remove nil
213 from channels before completing-read.
215 * riece-message.el (riece-message-make-name): Fix condition for priv.
216 (riece-message-make-global-name): Ditto.
217 (riece-message-buffer): Ditto.
219 * riece-misc.el (riece-current-nickname): Use
220 riece-with-identity-buffer.
222 2003-06-11 Daiki Ueno <ueno@unixuser.org>
224 * riece-message.el (riece-message-parent-buffers): Regard message's
225 speaker as target when priv mode.
227 * riece-display.el (riece-update-channel-indicator): Decode
228 riece-current-channel even in priv mode.
230 * riece-identity.el (riece-decode-identity): Respect prefix-only.
231 (riece-completing-read-identity): Check if illegal characters in
234 2003-06-08 Daiki Ueno <ueno@unixuser.org>
236 * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
237 * riece-globals.el (riece-user-buffer-format): Abolish.
238 (riece-user-list-buffer): Default to " *Users*".
239 * riece-display.el (riece-user-list-buffer-name): Abolish.
240 (riece-user-list-buffer-create): Abolish.
242 2003-06-08 Daiki Ueno <ueno@unixuser.org>
244 * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
245 (riece-handle-message): Ditto.
246 (riece-sentinel): Clear system here.
248 * riece-server.el (riece-server-process-name): New function.
249 (riece-server-process): New function.
250 (riece-close-server): Abolish.
252 * riece-identity.el: Adopt vector object representation for
254 (riece-with-identity-buffer): New macro.
255 (riece-decode-identity): New function.
256 (riece-encode-identity): New function.
258 * riece-globals.el (riece-process-list): New variable.
259 (riece-server-process-alist): Abolish.
260 (riece-channel-buffer-alist): Abolish.
261 (riece-user-list-buffer-alist): Abolish.
262 (riece-short-channel-indicator): New variable.
264 * riece-channel.el: Assume that we are already in the server buffer.
265 * riece-user.el: Likewise.
267 2003-06-06 OHASHI Akira <bg66@koka-in.org>
269 * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
271 * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
274 2003-06-06 Daiki Ueno <ueno@unixuser.org>
276 * riece-channel.el (riece-forget-channel): Fixed.
277 (riece-channel-modeless-regexp): Abolish.
278 (riece-channel-modeless-p): Abolish.
280 2003-06-06 OHASHI Akira <bg66@koka-in.org>
282 * riece-unread.el (riece-unread-display-message-function): Delete the
283 target before adding to list.
284 (riece-unread-switch-to-channel): New function.
285 (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
286 Bind "u" to riece-dialogue-mode-map.
287 Bind "u" to riece-channel-list-mode-map.
289 * riece.el (riece-channel-list-mode-map): Don't bind
290 `riece-command-unread-channel'.
292 2003-06-04 Yoichi NAKAYAMA <yoichi@geiin.org>
294 * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
295 riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
296 riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
297 riece.el: Don't require riece-inlines since it has been removed.
299 2003-06-03 Daiki Ueno <ueno@unixuser.org>
301 * riece-display.el (riece-update-user-list-buffer): Rename from
302 riece-user-list-update-buffer.
303 (riece-update-channel-list-buffer): Rename from
304 riece-channel-list-update-buffer.
306 2003-06-03 Daiki Ueno <ueno@unixuser.org>
308 * riece-identity.el (riece-identity-canonicalize-prefix): Moved
309 from riece-inlines.el; renamed from scandinavian-downcase.
310 (riece-identity-equal-no-server): Moved from riece-inlines.el;
311 renamed from scandinavian-equal-ignore-case.
312 (riece-identity-equal-no-server-safe): New function.
313 (riece-identity-member-no-server): Moved from riece-inlines.el;
314 renamed from scandinavian-member-ignore-case.
315 (riece-identity-member-no-server-safe): New function.
317 * riece-inlines.el: Removed.
318 * COMPILE (riece-modules): Remove riece-inlines.
319 * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
321 2003-06-03 Daiki Ueno <ueno@unixuser.org>
323 * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
325 * riece-ndcc.el: Don't call delete-process explicitly.
326 * riece-server.el (riece-close-server-process): Don't call
327 delete-process explicitly unless riece-debug == t.
329 2003-06-03 Daiki Ueno <ueno@unixuser.org>
331 * riece-inlines.el (scandinavian-downcase): New inline function.
332 (scandinavian-equal-ignore-case): Rename from
333 string-equal-ignore-case.
334 (scandinavian-member-ignore-case): Rename from
335 string-list-member-ignore-case.
337 * riece-identity.el (riece-identity-equal): Rename from
338 riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
339 (riece-identity-equal-safe): Rename from riece-identity-equal.
340 (riece-identity-member): Rename from riece-identity-member-no-server.
341 (riece-identity-member-safe): Rename from riece-identity-member.
342 (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
343 (riece-identity-assoc-safe): Rename from riece-identity-assoc.
345 2003-06-03 Daiki Ueno <ueno@unixuser.org>
347 * riece-rdcc.el: Require 'riece-ctcp.
348 (riece-rdcc-insinuate): Add "DCC" to
349 riece-ctcp-additional-clientinfo.
351 * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
352 (riece-command-ctcp-clientinfo): New command.
353 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
354 (riece-handle-ctcp-clientinfo-request): New handler.
355 (riece-handle-ctcp-clientinfo-response): New handler.
357 * riece-server.el (riece-open-server): No need to use
358 get-buffer-create to reuse process buffer.
360 2003-06-03 Daiki Ueno <ueno@unixuser.org>
362 * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
364 (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
366 * riece-server.el (riece-server-keyword-map): `:coding-system' ->
368 (riece-open-server): Follow the change.
370 * riece-ctcp.el (riece-command-ctcp-action): New command.
371 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
372 (riece-handle-ctcp-action-request): New handler.
374 * riece.el (riece-command-mode): Enclose status indicators with
375 `{}'; show riece-user-indicator.
376 (riece-channel-mode): Likewise.
377 (riece-dialogue-mode): Enclose status indicators with `{}'.
378 * riece-globals.el (riece-user-indicator): New indicator.
379 (riece-freeze-indicator): Default to "-".
380 * riece-display.el (riece-update-channel-indicator): Don't update
382 (riece-update-status-indicators): Set riece-user-indicator.
383 * riece-300.el (riece-handle-324-message): Update channel indicator.
385 2003-06-02 Daiki Ueno <ueno@unixuser.org>
387 * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
388 (riece-dialogue-mode): Call riece-update-status-indicators.
389 (riece-channel-mode): Add riece-operator-indicator to
390 mode-line-buffer-identification.
391 * riece-user.el (riece-make-user): New attribute `operator'.
392 (riece-user-operator): New function.
393 (riece-user-set-operator): New function.
394 (riece-user-toggle-away): New function.
395 (riece-user-toggle-operator): New function.
396 * riece-misc.el (riece-own-frozen): Revive.
397 * riece-message.el (riece-display-message): Reset riece-freeze if
398 riece-freeze == 'own && (riece-message-own-p message).
399 * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
400 (riece-operator-indicator): New variable.
401 * riece-display.el (riece-update-status-indicators): New function.
402 (riece-update-buffer-functions): Add it.
403 * riece-commands.el (riece-command-toggle-freeze): Don't call
405 (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
406 * riece-300.el (riece-handle-302-message): Use
407 riece-user-toggle-away instead of riece-user-set-away.
408 (riece-handle-301-message): Ditto.
409 (riece-handle-305-message): Ditto.
410 (riece-handle-306-message): Ditto.
411 (riece-handle-352-message): Ditto.
413 2003-06-02 Yoichi NAKAYAMA <yoichi@geiin.org>
415 * riece-commands.el (riece-command-next-channel): Circularly
416 follow the channel list.
417 (riece-command-previous-channel): Ditto.
419 2003-06-02 Daiki Ueno <ueno@unixuser.org>
421 * riece.el (riece-command-mode): Set default value of riece-freeze
423 * riece-options.el (riece-away-message): New user option.
424 * riece-commands.el (riece-command-toggle-away): Query user away
426 * riece-300.el (riece-handle-301-message): Set user's away status.
427 (riece-handle-305-message): Ditto.
428 (riece-handle-306-message): Ditto.
429 (riece-handle-302-message): Ditto.
430 (riece-handle-352-message): Ditto.
432 2003-06-02 Daiki Ueno <ueno@unixuser.org>
434 * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
436 (riece-command-dcc-receive): Check the existence of
437 set-buffer-multibyte.
439 2003-06-02 Daiki Ueno <ueno@unixuser.org>
441 * Riece: Version 0.0.3 released.
442 * riece-version.el (riece-version-number): Bump up to 0.0.3.
444 * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
446 (riece-handle-ctcp-response): Ditto.
448 2003-06-01 Daiki Ueno <ueno@unixuser.org>
450 * riece-user.el (riece-rename-user): Don't modify entry when
451 old-name == new-name.
453 * riece-display.el (riece-configure-windows): Use window-buffer
454 instead of current-buffer.
456 * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
457 (riece-rdcc-ruby-command): New user option.
458 (riece-rdcc-send-program): New user option.
459 (riece-rdcc-decode-address-program): New user option.
460 (riece-rdcc-substitute-variables): New function.
461 (riece-command-dcc-send): Use it.
462 (riece-rdcc-decode-address): Use it.
464 2003-06-01 Daiki Ueno <ueno@unixuser.org>
466 * riece-rdcc.el: New add-on.
468 * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
470 2003-06-01 Daiki Ueno <ueno@unixuser.org>
472 * riece-ndcc.el: New add-on.
473 * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
475 2003-05-31 Daiki Ueno <ueno@unixuser.org>
477 * riece-server.el (riece-open-server): Simplify message.
479 * riece-commands.el (riece-command-open-server): Throw an error
480 when the server is already opened.
482 * riece-filter.el (riece-sentinel): Simplified.
484 * riece-display.el (riece-user-list-update-buffer): Check the
485 existence of riece-user-list-buffer.
486 (riece-channel-list-update-buffer): Check the existence of
487 riece-channel-list-buffer.
488 (riece-set-window-points): Ditto.
490 * riece-commands.el (riece-command-open-server): Simplified.
491 (riece-command-toggle-channel-buffer-mode): Set
492 riece-save-variables-are-dirty to t.
493 (riece-command-toggle-user-list-buffer-mode): Ditto.
494 (riece-command-toggle-channel-list-buffer-mode): Ditto.
496 * riece-server.el (riece-start-server): Abolish.
497 (riece-open-server): Set riece-server-process-alist and
498 riece-server-process here.
500 2003-05-31 Daiki Ueno <ueno@unixuser.org>
502 * riece-filter.el (riece-sentinel): Close process even if
503 riece-reconnect-with-password == t.
504 (riece-handle-message): Catch errors occured in hooks.
506 * riece-server.el (riece-open-server): Reuse server buffer.
507 (riece-close-server-process): Delete process even if process is
510 2003-05-31 Daiki Ueno <ueno@unixuser.org>
512 * riece-server.el (riece-open-server): No need to reset
513 riece-reconnect-with-password.
515 * riece-filter.el (riece-sentinel): Don't call riece when
516 riece-reconnect-with-password = t and process !=
517 riece-server-process.
519 * riece-url.el: Fix usage.
521 * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
523 * riece-unread.el: New add-on.
524 * COMPILE (riece-modules): Add riece-unread.
525 * Makefile.am (EXTRA_DIST): Add riece-unread.el
527 * riece-300.el (riece-handle-322-message): New handler.
528 (riece-handle-323-message): New handler.
530 2003-05-30 Daiki Ueno <ueno@unixuser.org>
532 * riece-display.el (riece-configure-windows): Select other window
533 when minibuffer is active.
535 * riece-commands.el (riece-command-list): New command.
536 (riece-command-enter-message-as-notice): New command.
537 * riece.el (riece-command-mode-map): Bind
538 riece-command-enter-message-as-notice and riece-command-list.
540 * riece-server.el (riece-close-server): Skip nil when leaving
541 channels before closing server.
543 2003-05-30 Daiki Ueno <ueno@unixuser.org>
545 * Riece: Version 0.0.2 released.
546 * riece-version.el (riece-version-number): Bump up to 0.0.2.
548 * riece.el (riece-load-and-build-addon-dependencies): Fixed.
549 * riece-url.el (riece-url-requires): Don't assert dependency on
550 riece-highlight unless it appears in riece-addons.
552 * riece-url.el: New add-on.
553 * COMPILE (riece-modules): Add riece-url.
555 * riece-message.el (riece-message-make-bracket): Abolish.
556 * riece-highlight.el (riece-highlight-font-lock-keywords):
557 Give up to fontify "-nick-" or "-nick server-".
559 * riece-highlight.el (riece-highlight-font-lock-keywords):
562 * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
563 (riece-handle-ctcp-response): Ditto.
565 * riece-highlight.el: Make it an add-on.
566 (riece-highlight-insinuate): New function.
567 * riece.el: Don't require 'riece-highlight.
568 * riece-options.el (riece-addons): Turn on riece-highlight and
569 riece-ctcp by default.
571 * riece-display.el (riece-configure-windows-predicate): New function.
572 (riece-configure-windows-predicate): New user option.
573 (riece-redisplay-buffers): Use it.
575 * riece-complete.el: Require 'cl for butlast.
577 * Makefile.am (elc): Renamed from "compile".
579 * riece.el (riece-dialogue-mode-map): Bind
580 riece-command-toggle-channel-list-buffer-mode.
582 * riece-display.el (riece-configure-windows): Typo fixed.
584 * riece-user.el (riece-user-toggle-channel): Use member instead of
587 2003-05-29 Daiki Ueno <ueno@unixuser.org>
589 * riece-ctcp.el (riece-ctcp-insinuate): New function.
591 * riece-options.el (riece-addons): New user option.
592 (riece-addon-directory): New user option.
594 * riece.el (riece-load-and-build-addon-dependencies): New function.
595 (riece-insinuate-addons): New function.
596 (riece): Call riece-insinuate-addons.
598 * riece-misc.el (riece-get-users-on-server): Moved from
601 * riece-ctcp.el: New file.
602 * COMPILE (riece-modules): Add riece-ctcp.
603 * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
605 2003-05-29 Daiki Ueno <ueno@unixuser.org>
607 * Riece: Version 0.0.1 released.
609 * riece-commands.el (riece-command-names): New command.
610 (riece-command-who): New command.
612 * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
615 * riece-300.el (riece-handle-341-message): New handler.
616 (riece-handle-352-message): New handler.
618 * riece-commands.el (riece-command-invite): Don't accept channel
619 argument; throw an error when user is not on a channel.
620 (riece-command-kick): New command.