1 2003-08-04 Daiki Ueno <ueno@unixuser.org>
3 * riece-server.el (riece-find-server-name): Abolish.
5 * riece-alias.el: Add usage.
7 2003-08-04 Daiki Ueno <ueno@unixuser.org>
9 * riece-mini.el (riece-mini-send-message): Use
10 riece-completing-read-identity; don't use riece-own-channel-message.
12 * riece-identity.el: Require 'riece-compat.
13 (riece-identity-prefix-case-table): New variable.
14 (riece-abbrev-identity-string-function): New variable.
15 (riece-expand-identity-string-function): New variable.
16 (riece-format-identity): Rename from riece-decode-identity.
17 (riece-parse-identity): Rename from riece-encode-identity.
18 (riece-with-identity-buffer): Abolish.
19 (riece-identity-canonicalize-prefix): Use case-table.
21 * riece-filter.el (riece-handle-numeric-reply): Decode messages.
22 (riece-handle-message): Ditto.
24 * riece-alias.el: New add-on.
25 * COMPILE (riece-modules): Add riece-alias.
26 * Makefile.am (EXTRA_DIST): Add riece-alias.el.
28 * riece-emacs.el (riece-set-case-syntax-pair): New alias.
29 * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
30 * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
32 2003-08-03 Daiki Ueno <ueno@unixuser.org>
34 * Riece: Version 0.0.4 released.
35 * riece-version.el (riece-version-number): Bump up to 0.0.4.
37 2003-06-24 OHASHI Akira <bg66@koka-in.org>
39 * riece-unread.el (riece-unread-display-message-function): Don't check
40 `selected-window'. It doesn't work as expected.
42 2003-06-23 Daiki Ueno <ueno@unixuser.org>
44 * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
46 * riece-300.el: Rewrite using riece-decode-identity.
48 * riece-identity.el (riece-completing-read-identity): Signal an
49 error when the encoded channel name is not matched with
52 * riece-globals.el (riece-channel-regexp): Moved from
54 (riece-user-regexp): Moved form riece-user.el.
56 2003-06-23 Daiki Ueno <ueno@unixuser.org>
58 * riece-handle.el (riece-handle-join-message): Don't call
59 riece-switch-to-channel.
60 (riece-handle-part-message): Don't decode message if it is empty.
61 (riece-handle-kick-message): Ditto.
62 (riece-handle-quit-message): Ditto.
63 (riece-handle-kill-message): Ditto.
65 * riece-commands.el (riece-command-part): Show the current channel
68 * riece-identity.el (riece-completing-read-identity): Accept
69 optional 5th argument `initial'.
71 * riece-unread.el (riece-unread-update-channel-list-buffer):
74 * riece-filter.el (riece-sentinel): Don't bind
75 riece-inhibit-update-buffers.
77 * riece-display.el (riece-redisplay-buffer): New variable.
78 (riece-inhibit-update-buffers): Abolish.
79 (riece-update-channel-list-buffer): Memorize
80 encoded identity as text property on each line.
82 * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
84 (riece-user-list-mode): Ditto.
86 2003-06-22 Yoichi NAKAYAMA <yoichi@geiin.org>
88 * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
89 Fix example setting, don't use 3rd arg of add-to-list.
91 * riece-coding.el (riece-default-coding-system): Fix default value.
93 2003-06-22 Daiki Ueno <ueno@unixuser.org>
95 * riece-display.el (riece-inhibit-update-buffers): New variable.
96 * riece-filter.el (riece-sentinel): Bind
97 riece-inhibit-update-buffers while removing channels from
98 riece-current-channels.
99 * riece-unread.el (riece-unread-display-message-function): Don't
100 update channel list buffer when riece-inhibit-update-buffers is
102 (riece-unread-channel-switch-hook): Ditto.
103 (riece-unread-insinuate): Add
104 riece-unread-update-channel-list-buffer to
105 riece-update-buffer-functions.
107 * riece-commands.el (riece-command-switch-to-channel): Call
108 riece-redisplay-buffers instead of riece-command-configure-windows.
110 * riece-identity.el (riece-completing-read-identity): Remove nil
111 from riece-current-channels before converting it to an alist.
113 2003-06-17 OHASHI Akira <bg66@koka-in.org>
115 * riece-unread.el (riece-unread-display-message-function): Check a
118 * riece-mini.el: New add-on.
119 * COMPILE (riece-modules): Add `riece-mini'.
120 * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
122 * riece-display.el (riece-channel-buffer-create): Add new hook.
123 * riece-log.el: New add-on for saving irc logs.
124 * COMPILE (riece-modules): Add `riece-log'.
125 * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
127 * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
128 (riece-command-part): Ditto.
130 2003-06-12 Daiki Ueno <ueno@unixuser.org>
132 * riece-naming.el (riece-naming-assert-join): Call
133 riece-update-buffers.
134 (riece-naming-assert-part): Ditto.
136 * riece-filter.el (riece-sentinel): Don't bind
137 riece-overriding-server-name; use riece-part-channel.
139 * riece-display.el (riece-switch-to-channel): Don't set
140 riece-channel-buffer.
141 (riece-update-buffers): Set riece-channel-buffer here.
143 * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
144 (riece-command-close-server): Fixed completion bug.
145 (riece-command-universal-server-name-argument): Ditto.
147 2003-06-12 Daiki Ueno <ueno@unixuser.org>
149 * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
152 * riece-handle.el (riece-handle-nick-message): Use
153 riece-decode-identity to decode user.
154 (riece-handle-join-message): Ditto.
155 (riece-handle-part-message): Ditto.
156 (riece-handle-kick-message): Ditto.
157 (riece-handle-quit-message): Ditto.
158 (riece-handle-kill-message): Ditto.
159 (riece-handle-invite-message): Ditto.
160 (riece-handle-topic-message): Ditto.
161 (riece-handle-mode-message): Ditto.
163 2003-06-12 Daiki Ueno <ueno@unixuser.org>
165 * riece-message.el (riece-own-channel-message): Abolish.
167 * riece-commands.el (riece-command-send-message): Don't use
168 riece-own-channel-message.
170 * riece-doctor.el (riece-doctor-reply): Don't use
171 riece-own-channel-message.
172 (riece-doctor-hello-regexp): New user option.
173 (riece-doctor-bye-regexp): New user option.
175 2003-06-11 Daiki Ueno <ueno@unixuser.org>
177 * riece-identity.el (riece-identity-member-no-server): Abolish.
179 * riece-doctor.el (riece-doctor-patients): Make it global variable.
180 (riece-doctor-after-privmsg-hook): Use riece-identity-member
181 instead of riece-identity-member-no-server.
183 2003-06-11 Daiki Ueno <ueno@unixuser.org>
185 * riece-doctor.el: New add-on.
186 * COMPILE (riece-modules): Add riece-doctor.
187 * Makefile.am (EXTRA_DIST): Add riece-doctor.el
189 2003-06-11 Daiki Ueno <ueno@unixuser.org>
191 * riece-handle.el (riece-handle-nick-message): Follow the change
192 of riece-identity-member.
194 * riece-commands.el (riece-command-next-channel): Use
195 riece-identity-member instead of riece-identity-member-no-server.
196 (riece-command-previous-channel): Ditto.
198 2003-06-11 Daiki Ueno <ueno@unixuser.org>
200 * riece-identity.el (riece-completing-read-identity): Remove nil
201 from channels before completing-read.
203 * riece-message.el (riece-message-make-name): Fix condition for priv.
204 (riece-message-make-global-name): Ditto.
205 (riece-message-buffer): Ditto.
207 * riece-misc.el (riece-current-nickname): Use
208 riece-with-identity-buffer.
210 2003-06-11 Daiki Ueno <ueno@unixuser.org>
212 * riece-message.el (riece-message-parent-buffers): Regard message's
213 speaker as target when priv mode.
215 * riece-display.el (riece-update-channel-indicator): Decode
216 riece-current-channel even in priv mode.
218 * riece-identity.el (riece-decode-identity): Respect prefix-only.
219 (riece-completing-read-identity): Check if illegal characters in
222 2003-06-08 Daiki Ueno <ueno@unixuser.org>
224 * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
225 * riece-globals.el (riece-user-buffer-format): Abolish.
226 (riece-user-list-buffer): Default to " *Users*".
227 * riece-display.el (riece-user-list-buffer-name): Abolish.
228 (riece-user-list-buffer-create): Abolish.
230 2003-06-08 Daiki Ueno <ueno@unixuser.org>
232 * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
233 (riece-handle-message): Ditto.
234 (riece-sentinel): Clear system here.
236 * riece-server.el (riece-server-process-name): New function.
237 (riece-server-process): New function.
238 (riece-close-server): Abolish.
240 * riece-identity.el: Adopt vector object representation for
242 (riece-with-identity-buffer): New macro.
243 (riece-decode-identity): New function.
244 (riece-encode-identity): New function.
246 * riece-globals.el (riece-process-list): New variable.
247 (riece-server-process-alist): Abolish.
248 (riece-channel-buffer-alist): Abolish.
249 (riece-user-list-buffer-alist): Abolish.
250 (riece-short-channel-indicator): New variable.
252 * riece-channel.el: Assume that we are already in the server buffer.
253 * riece-user.el: Likewise.
255 2003-06-06 OHASHI Akira <bg66@koka-in.org>
257 * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
259 * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
262 2003-06-06 Daiki Ueno <ueno@unixuser.org>
264 * riece-channel.el (riece-forget-channel): Fixed.
265 (riece-channel-modeless-regexp): Abolish.
266 (riece-channel-modeless-p): Abolish.
268 2003-06-06 OHASHI Akira <bg66@koka-in.org>
270 * riece-unread.el (riece-unread-display-message-function): Delete the
271 target before adding to list.
272 (riece-unread-switch-to-channel): New function.
273 (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
274 Bind "u" to riece-dialogue-mode-map.
275 Bind "u" to riece-channel-list-mode-map.
277 * riece.el (riece-channel-list-mode-map): Don't bind
278 `riece-command-unread-channel'.
280 2003-06-04 Yoichi NAKAYAMA <yoichi@geiin.org>
282 * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
283 riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
284 riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
285 riece.el: Don't require riece-inlines since it has been removed.
287 2003-06-03 Daiki Ueno <ueno@unixuser.org>
289 * riece-display.el (riece-update-user-list-buffer): Rename from
290 riece-user-list-update-buffer.
291 (riece-update-channel-list-buffer): Rename from
292 riece-channel-list-update-buffer.
294 2003-06-03 Daiki Ueno <ueno@unixuser.org>
296 * riece-identity.el (riece-identity-canonicalize-prefix): Moved
297 from riece-inlines.el; renamed from scandinavian-downcase.
298 (riece-identity-equal-no-server): Moved from riece-inlines.el;
299 renamed from scandinavian-equal-ignore-case.
300 (riece-identity-equal-no-server-safe): New function.
301 (riece-identity-member-no-server): Moved from riece-inlines.el;
302 renamed from scandinavian-member-ignore-case.
303 (riece-identity-member-no-server-safe): New function.
305 * riece-inlines.el: Removed.
306 * COMPILE (riece-modules): Remove riece-inlines.
307 * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
309 2003-06-03 Daiki Ueno <ueno@unixuser.org>
311 * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
313 * riece-ndcc.el: Don't call delete-process explicitly.
314 * riece-server.el (riece-close-server-process): Don't call
315 delete-process explicitly unless riece-debug == t.
317 2003-06-03 Daiki Ueno <ueno@unixuser.org>
319 * riece-inlines.el (scandinavian-downcase): New inline function.
320 (scandinavian-equal-ignore-case): Rename from
321 string-equal-ignore-case.
322 (scandinavian-member-ignore-case): Rename from
323 string-list-member-ignore-case.
325 * riece-identity.el (riece-identity-equal): Rename from
326 riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
327 (riece-identity-equal-safe): Rename from riece-identity-equal.
328 (riece-identity-member): Rename from riece-identity-member-no-server.
329 (riece-identity-member-safe): Rename from riece-identity-member.
330 (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
331 (riece-identity-assoc-safe): Rename from riece-identity-assoc.
333 2003-06-03 Daiki Ueno <ueno@unixuser.org>
335 * riece-rdcc.el: Require 'riece-ctcp.
336 (riece-rdcc-insinuate): Add "DCC" to
337 riece-ctcp-additional-clientinfo.
339 * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
340 (riece-command-ctcp-clientinfo): New command.
341 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
342 (riece-handle-ctcp-clientinfo-request): New handler.
343 (riece-handle-ctcp-clientinfo-response): New handler.
345 * riece-server.el (riece-open-server): No need to use
346 get-buffer-create to reuse process buffer.
348 2003-06-03 Daiki Ueno <ueno@unixuser.org>
350 * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
352 (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
354 * riece-server.el (riece-server-keyword-map): `:coding-system' ->
356 (riece-open-server): Follow the change.
358 * riece-ctcp.el (riece-command-ctcp-action): New command.
359 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
360 (riece-handle-ctcp-action-request): New handler.
362 * riece.el (riece-command-mode): Enclose status indicators with
363 `{}'; show riece-user-indicator.
364 (riece-channel-mode): Likewise.
365 (riece-dialogue-mode): Enclose status indicators with `{}'.
366 * riece-globals.el (riece-user-indicator): New indicator.
367 (riece-freeze-indicator): Default to "-".
368 * riece-display.el (riece-update-channel-indicator): Don't update
370 (riece-update-status-indicators): Set riece-user-indicator.
371 * riece-300.el (riece-handle-324-message): Update channel indicator.
373 2003-06-02 Daiki Ueno <ueno@unixuser.org>
375 * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
376 (riece-dialogue-mode): Call riece-update-status-indicators.
377 (riece-channel-mode): Add riece-operator-indicator to
378 mode-line-buffer-identification.
379 * riece-user.el (riece-make-user): New attribute `operator'.
380 (riece-user-operator): New function.
381 (riece-user-set-operator): New function.
382 (riece-user-toggle-away): New function.
383 (riece-user-toggle-operator): New function.
384 * riece-misc.el (riece-own-frozen): Revive.
385 * riece-message.el (riece-display-message): Reset riece-freeze if
386 riece-freeze == 'own && (riece-message-own-p message).
387 * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
388 (riece-operator-indicator): New variable.
389 * riece-display.el (riece-update-status-indicators): New function.
390 (riece-update-buffer-functions): Add it.
391 * riece-commands.el (riece-command-toggle-freeze): Don't call
393 (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
394 * riece-300.el (riece-handle-302-message): Use
395 riece-user-toggle-away instead of riece-user-set-away.
396 (riece-handle-301-message): Ditto.
397 (riece-handle-305-message): Ditto.
398 (riece-handle-306-message): Ditto.
399 (riece-handle-352-message): Ditto.
401 2003-06-02 Yoichi NAKAYAMA <yoichi@geiin.org>
403 * riece-commands.el (riece-command-next-channel): Circularly
404 follow the channel list.
405 (riece-command-previous-channel): Ditto.
407 2003-06-02 Daiki Ueno <ueno@unixuser.org>
409 * riece.el (riece-command-mode): Set default value of riece-freeze
411 * riece-options.el (riece-away-message): New user option.
412 * riece-commands.el (riece-command-toggle-away): Query user away
414 * riece-300.el (riece-handle-301-message): Set user's away status.
415 (riece-handle-305-message): Ditto.
416 (riece-handle-306-message): Ditto.
417 (riece-handle-302-message): Ditto.
418 (riece-handle-352-message): Ditto.
420 2003-06-02 Daiki Ueno <ueno@unixuser.org>
422 * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
424 (riece-command-dcc-receive): Check the existence of
425 set-buffer-multibyte.
427 2003-06-02 Daiki Ueno <ueno@unixuser.org>
429 * Riece: Version 0.0.3 released.
430 * riece-version.el (riece-version-number): Bump up to 0.0.3.
432 * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
434 (riece-handle-ctcp-response): Ditto.
436 2003-06-01 Daiki Ueno <ueno@unixuser.org>
438 * riece-user.el (riece-rename-user): Don't modify entry when
439 old-name == new-name.
441 * riece-display.el (riece-configure-windows): Use window-buffer
442 instead of current-buffer.
444 * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
445 (riece-rdcc-ruby-command): New user option.
446 (riece-rdcc-send-program): New user option.
447 (riece-rdcc-decode-address-program): New user option.
448 (riece-rdcc-substitute-variables): New function.
449 (riece-command-dcc-send): Use it.
450 (riece-rdcc-decode-address): Use it.
452 2003-06-01 Daiki Ueno <ueno@unixuser.org>
454 * riece-rdcc.el: New add-on.
456 * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
458 2003-06-01 Daiki Ueno <ueno@unixuser.org>
460 * riece-ndcc.el: New add-on.
461 * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
463 2003-05-31 Daiki Ueno <ueno@unixuser.org>
465 * riece-server.el (riece-open-server): Simplify message.
467 * riece-commands.el (riece-command-open-server): Throw an error
468 when the server is already opened.
470 * riece-filter.el (riece-sentinel): Simplified.
472 * riece-display.el (riece-user-list-update-buffer): Check the
473 existence of riece-user-list-buffer.
474 (riece-channel-list-update-buffer): Check the existence of
475 riece-channel-list-buffer.
476 (riece-set-window-points): Ditto.
478 * riece-commands.el (riece-command-open-server): Simplified.
479 (riece-command-toggle-channel-buffer-mode): Set
480 riece-save-variables-are-dirty to t.
481 (riece-command-toggle-user-list-buffer-mode): Ditto.
482 (riece-command-toggle-channel-list-buffer-mode): Ditto.
484 * riece-server.el (riece-start-server): Abolish.
485 (riece-open-server): Set riece-server-process-alist and
486 riece-server-process here.
488 2003-05-31 Daiki Ueno <ueno@unixuser.org>
490 * riece-filter.el (riece-sentinel): Close process even if
491 riece-reconnect-with-password == t.
492 (riece-handle-message): Catch errors occured in hooks.
494 * riece-server.el (riece-open-server): Reuse server buffer.
495 (riece-close-server-process): Delete process even if process is
498 2003-05-31 Daiki Ueno <ueno@unixuser.org>
500 * riece-server.el (riece-open-server): No need to reset
501 riece-reconnect-with-password.
503 * riece-filter.el (riece-sentinel): Don't call riece when
504 riece-reconnect-with-password = t and process !=
505 riece-server-process.
507 * riece-url.el: Fix usage.
509 * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
511 * riece-unread.el: New add-on.
512 * COMPILE (riece-modules): Add riece-unread.
513 * Makefile.am (EXTRA_DIST): Add riece-unread.el
515 * riece-300.el (riece-handle-322-message): New handler.
516 (riece-handle-323-message): New handler.
518 2003-05-30 Daiki Ueno <ueno@unixuser.org>
520 * riece-display.el (riece-configure-windows): Select other window
521 when minibuffer is active.
523 * riece-commands.el (riece-command-list): New command.
524 (riece-command-enter-message-as-notice): New command.
525 * riece.el (riece-command-mode-map): Bind
526 riece-command-enter-message-as-notice and riece-command-list.
528 * riece-server.el (riece-close-server): Skip nil when leaving
529 channels before closing server.
531 2003-05-30 Daiki Ueno <ueno@unixuser.org>
533 * Riece: Version 0.0.2 released.
534 * riece-version.el (riece-version-number): Bump up to 0.0.2.
536 * riece.el (riece-load-and-build-addon-dependencies): Fixed.
537 * riece-url.el (riece-url-requires): Don't assert dependency on
538 riece-highlight unless it appears in riece-addons.
540 * riece-url.el: New add-on.
541 * COMPILE (riece-modules): Add riece-url.
543 * riece-message.el (riece-message-make-bracket): Abolish.
544 * riece-highlight.el (riece-highlight-font-lock-keywords):
545 Give up to fontify "-nick-" or "-nick server-".
547 * riece-highlight.el (riece-highlight-font-lock-keywords):
550 * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
551 (riece-handle-ctcp-response): Ditto.
553 * riece-highlight.el: Make it an add-on.
554 (riece-highlight-insinuate): New function.
555 * riece.el: Don't require 'riece-highlight.
556 * riece-options.el (riece-addons): Turn on riece-highlight and
557 riece-ctcp by default.
559 * riece-display.el (riece-configure-windows-predicate): New function.
560 (riece-configure-windows-predicate): New user option.
561 (riece-redisplay-buffers): Use it.
563 * riece-complete.el: Require 'cl for butlast.
565 * Makefile.am (elc): Renamed from "compile".
567 * riece.el (riece-dialogue-mode-map): Bind
568 riece-command-toggle-channel-list-buffer-mode.
570 * riece-display.el (riece-configure-windows): Typo fixed.
572 * riece-user.el (riece-user-toggle-channel): Use member instead of
575 2003-05-29 Daiki Ueno <ueno@unixuser.org>
577 * riece-ctcp.el (riece-ctcp-insinuate): New function.
579 * riece-options.el (riece-addons): New user option.
580 (riece-addon-directory): New user option.
582 * riece.el (riece-load-and-build-addon-dependencies): New function.
583 (riece-insinuate-addons): New function.
584 (riece): Call riece-insinuate-addons.
586 * riece-misc.el (riece-get-users-on-server): Moved from
589 * riece-ctcp.el: New file.
590 * COMPILE (riece-modules): Add riece-ctcp.
591 * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
593 2003-05-29 Daiki Ueno <ueno@unixuser.org>
595 * Riece: Version 0.0.1 released.
597 * riece-commands.el (riece-command-names): New command.
598 (riece-command-who): New command.
600 * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
603 * riece-300.el (riece-handle-341-message): New handler.
604 (riece-handle-352-message): New handler.
606 * riece-commands.el (riece-command-invite): Don't accept channel
607 argument; throw an error when user is not on a channel.
608 (riece-command-kick): New command.