1 2003-10-16 Daiki Ueno <ueno@unixuser.org>
3 * riece.el (riece-buffer-alist): Rename from
4 riece-buffer-mode-alist.
6 * riece-misc.el (riece-get-buffer-create): Takes an optional 2nd
7 argument, init-major-mode, which is used to assert the major-mode
10 * riece-naming.el (riece-naming-assert-rename): Merged buffer
11 renaming logic that riece-handle-nick-message was responsible for.
13 * riece-globals.el (riece-server-process-alist): Revive.
14 (riece-process-list): Abolish.
15 (riece-command-buffer): Set default to nil.
16 (riece-dialogue-buffer): Ditto.
17 (riece-others-buffer): Ditto.
18 (riece-channel-list-buffer): Ditto.
19 (riece-user-list-buffer): Ditto.
20 (riece-private-buffer): Abolish.
21 (riece-wallops-buffer): Abolish.
23 * riece-display.el (riece-channel-buffer-format): Moved from
25 (riece-channel-buffer-alist): New variable.
26 (riece-channel-buffer-create): Assert the major-mode of the
27 created buffer is 'riece-channel-mode.
28 (riece-channel-buffer): New function.
29 (riece-switch-to-channel): Use riece-channel-buffer instead of
30 directly using get-buffer.
32 2003-10-14 Daiki Ueno <ueno@unixuser.org>
34 * riece-commands.el (riece-command-toggle-away): Check user away
35 status in the server buffer.
37 (riece-command-names): Use identity prefix
38 instead of formatted identity.
39 (riece-command-who): Ditto.
41 2003-10-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
43 * riece.el (riece-dialogue-mode-map): Bind "N" instead of "\C-n"
44 to `riece-command-name'.
46 2003-10-14 Daiki Ueno <ueno@unixuser.org>
48 * riece-layout.el (riece-reconfigure-windows-predicate): Simplified.
50 2003-10-13 Daiki Ueno <ueno@unixuser.org>
52 * Riece: Version 0.1.3 released.
53 * riece-version.el (riece-version-number): Bump up to 0.1.3.
55 2003-10-13 Daiki Ueno <ueno@unixuser.org>
57 * riece-button.el (riece-button-map-identity-region): Abolish.
58 (riece-user-button-set-operators): Use riece-scan-property-region.
59 (riece-user-button-set-speakers): Ditto.
60 (riece-button-add-identity-button): Ditto.
62 * riece-keyword.el: Require 'riece-message.
63 (riece-keyword-map-region): Abolish.
64 (riece-keyword-scan-region): Use riece-scan-property-region.
66 * riece-misc.el (riece-scan-property-region): New function.
68 2003-10-13 Daiki Ueno <ueno@unixuser.org>
70 * riece-xemacs.el (riece-make-overlay): New alias.
71 (riece-overlay-put): New alias.
72 (riece-overlay-start): New alias.
73 (riece-overlay-buffer): New alias.
75 * riece-emacs.el (riece-make-overlay): New alias.
76 (riece-overlay-put): New alias.
77 (riece-overlay-start): New alias.
78 (riece-overlay-buffer): New alias.
80 * riece-keyword.el: New add-on.
81 * COMPILE (riece-modules): Add riece-keyword.
82 * Makefile.am (EXTRA_DIST): Add riece-keyword.el
84 * riece-message.el (riece-message-filter-functions): New user option.
85 (riece-display-message-1): New function.
86 (riece-display-message): Use it.
88 2003-10-13 Daiki Ueno <ueno@unixuser.org>
90 * riece.el (riece-channel-list-mode): Initialize
91 riece-update-buffer-functions.
92 (riece-user-list-mode): Ditto.
94 * riece-globals.el (riece-channel-indicator): Rename from
95 riece-short-channel-indicator.
96 (riece-long-channel-indicator): Rename from
97 riece-channel-indicator.
99 * riece-display.el (riece-update-buffer-functions): Default to
101 (riece-update-indicator-functions): New variable splitted from
102 riece-update-buffer-functions.
103 (riece-update-channel-indicator): Rename from
104 riece-update-short-channel-indicator.
105 (riece-update-long-channel-indicator): Rename from
106 riece-update-channel-indicator.
107 (riece-update-buffers): Don't set riece-channel-buffer.
108 (riece-switch-to-channel): Set riece-channel-buffer here.
110 * riece-button.el (riece-user-button-popup-menu): Change order.
111 (riece-button-update-buffer): Unify
112 riece-button-update-channel-list-buffer and
113 riece-button-update-user-list-buffer.
115 2003-10-13 Daiki Ueno <ueno@unixuser.org>
117 * riece-history.el (riece-history-insinuate): In
118 riece-after-switch-to-channel-functions, check whether the last
121 * riece-xemacs.el (riece-event-buffer): New alias.
122 (riece-event-point): New alias.
124 * riece-emacs.el (riece-event-buffer): New function.
125 (riece-event-point): New function.
127 * riece-display.el (riece-update-user-list-buffer): Use
128 riece-format-identity to add 'riece-identity property to user
131 * riece-button.el (riece-user-button-popup-menu): New variable.
132 (riece-identity-button): Rename from riece-channel-button.
133 (riece-button-switch-to-identity): Rename from
134 riece-channel-button-action.
135 (riece-identity-button-popup-menu): Rename from
136 riece-channel-button-popup-menu; set point to the position the
138 (riece-user-button-join-partner): New function.
139 (riece-user-button-set-operators): New function.
140 (riece-user-button-set-speakers): New function.
141 (riece-user-button-finger): New function.
142 (riece-make-identity-button-map): New function.
143 (riece-button-map-identity-region): New function; splitted from
144 riece-button-add-identity-button.
145 (riece-button-add-identity-button): Use it.
146 (riece-button-update-user-list-buffer): New function.
147 (riece-button-insinuate): Add riece-button-update-user-list-buffer
148 to riece-update-buffer-functions.
150 2003-10-13 Daiki Ueno <ueno@unixuser.org>
152 * riece-xemacs.el (riece-mouse-2): New variable.
153 (riece-popup-menu-popup): New function.
155 * riece-emacs.el (riece-mouse-2): New variable.
156 (riece-popup-menu-bogus-filter-constructor): New macro.
157 (riece-popup-menu-popup): New function.
159 * riece-commands.el (riece-command-list): Use identity prefix
160 instead of formatted identity.
162 * riece-button.el (riece-channel-button-popup-menu): New variable.
163 (riece-channel-button): Arrange help-echo.
164 (riece-channel-button-switch-to-channel): New function.
165 (riece-channel-button-part): New function.
166 (riece-channel-button-list): New function.
167 (riece-channel-button-map): New variable.
168 (riece-button-add-channel-buttons): Add 'local-map and 'keymap
169 properties on channel buttons.
171 2003-10-13 Daiki Ueno <ueno@unixuser.org>
173 * riece-button.el (riece-button-insinuate): Buttonize channel buffers.
175 * riece-history.el (riece-channel-list-history-face): New face.
176 (riece-history-format-channel-list-line): New function.
177 (riece-history-insinuate): Add ?+ to
178 riece-channel-list-mark-face-alist; add
179 riece-history-format-channel-list-line to
180 riece-format-channel-list-line-functions.
182 * riece-highlight.el (riece-channel-list-current-face): Arrange colors.
184 2003-10-13 Daiki Ueno <ueno@unixuser.org>
186 * riece-unread.el (riece-unread-after-display-message-function):
187 Do nothing when message-target is already in
188 riece-unread-channels; call riece-redisplay-buffers.
189 (riece-unread-update-channel-list-buffer): Abolish.
190 (riece-unread-after-switch-to-channel-function): Don't call
191 riece-unread-update-channel-list-buffer.
192 (riece-unread-format-channel-list-line): New function.
193 (riece-unread-insinuate): Add
194 riece-unread-format-channel-list-line to
195 riece-format-channel-list-line; don't add
196 riece-unread-update-channel-list-buffer to
197 riece-update-buffer-functions.
199 * riece-highlight.el (riece-channel-list-mark-current-channel):
200 Abolish; merged into riece-update-channel-list-buffer.
201 (riece-highlight-insinuate): Don't add
202 riece-channel-list-mark-current-channel to
203 riece-after-switch-to-channel-functions.
205 * riece-display.el (riece-channel-list-changed): Abolish.
206 (riece-update-channel-list-buffer): Always redisplay channel-list
208 (riece-update-channel-list-indicator): Always redisplay
209 channel-list indicator.
210 (riece-format-channel-list-line): New function.
211 (riece-update-buffers): Don't clear riece-channel-list-changed.
212 (riece-join-channel): Don't set riece-channel-list-changed.
213 (riece-part-channel): Ditto.
215 2003-10-13 Daiki Ueno <ueno@unixuser.org>
217 * riece-options.el (riece-addons): Add riece-button.
219 * riece-display.el (riece-update-channel-list-buffer): Avoid to
220 use format to preserve 'riece-identity property.
222 * riece-unread.el (riece-unread-update-channel-list-buffer):
224 (riece-unread-insinuate): Delay adding
225 riece-unread-update-channel-list-buffer to
226 riece-update-buffer-functions.
228 * riece-button.el: New add-on.
229 * COMPILE (riece-modules): Add riece-button.
230 * Makefile.am (EXTRA_DIST): Add riece-button.el
232 2003-10-08 Daiki Ueno <ueno@unixuser.org>
234 * riece-server.el (riece-close-server-process):
235 (riece-quit-server-process): Call riece-close-server-process
236 instead of kill-process; call riece-exit if no process is available.
238 2003-10-07 Daiki Ueno <ueno@unixuser.org>
240 * riece-display.el (riece-channel-buffer-name): Check whether
241 IDENTITY is a member of riece-current-channels.
243 2003-10-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
245 * riece-commands.el (riece-command-kick): Fix completing-read
248 2003-10-05 Daiki Ueno <ueno@unixuser.org>
250 * riece-000.el: Require 'riece-commands.
251 * riece-200.el: Don't require 'riece-commands.
252 * riece-300.el: Ditto.
254 2003-10-05 Daiki Ueno <ueno@unixuser.org>
256 * Riece: Version 0.1.2 released.
257 * riece-version.el (riece-version-number): Bump up to 0.1.2.
259 2003-10-05 Daiki Ueno <ueno@unixuser.org>
261 * riece-filter.el (riece-sentinel): Don't clear
262 riece-reconnect-with-password.
263 * riece-server.el (riece-open-server): Clear
264 riece-reconnect-with-password here.
266 2003-10-04 Daiki Ueno <ueno@unixuser.org>
268 * riece-globals.el (riece-join-channel-candidate): New variable.
269 * riece-commands.el (riece-command-join): Prompt
270 riece-join-channel-candidate.
272 * riece-handle.el (riece-handle-invite-message): Set
273 riece-join-channel-candidate when the user is invited.
274 * riece-naming.el (riece-naming-assert-join): Clear
275 riece-join-channel-candidate.
277 2003-10-04 Daiki Ueno <ueno@unixuser.org>
279 * riece-identity.el (riece-completing-read-identity): Pass 6th &
280 7th arguments to completing-read.
282 * riece-commands.el (riece-command-part): Use 6th argument DEFAULT
283 of riece-completing-read-identity.
285 * riece-handle.el (riece-handle-invite-message): Fix parsing of
288 * riece-display.el (riece-update-channel-list-buffer): Don't clear
289 riece-channel-list-changed.
290 (riece-update-buffers): Clear it.
292 2003-10-01 Daiki Ueno <ueno@unixuser.org>
294 * riece-rdcc.el (riece-rdcc-save-directory): New user option.
296 2003-09-29 Daiki Ueno <ueno@unixuser.org>
298 * riece-000.el (riece-handle-001-message): Parse elements in
299 riece-startup-channel-list.
301 2003-09-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
303 * riece-skk-kakutei.el
304 (riece-skk-kakutei-command-enter-message-as-notice): Fix typo.
306 2003-09-20 Daiki Ueno <ueno@unixuser.org>
308 * riece-options.el (riece-startup-channel-list): Revive.
309 * riece-000.el (riece-handle-001-message): Process
310 riece-startup-channel-list.
312 * riece-server.el (riece-open-server): Display "Logging in to
314 * riece-000.el (riece-handle-001-message): Clear "Logging in to
315 XXX..." message; call riece-after-login-hook.
317 2003-09-07 Daiki Ueno <ueno@unixuser.org>
319 * riece-unread.el (riece-unread-after-display-message-function):
322 2003-09-02 Daiki Ueno <ueno@unixuser.org>
324 * riece-commands.el (riece-command-join): Extract target
325 identity-prefix before applying riece-channel-p; format target.
327 2003-08-30 Daiki Ueno <ueno@unixuser.org>
329 * Riece: Version 0.1.1 released.
330 * riece-version.el (riece-version-number): Bump up to 0.1.1.
332 2003-08-29 Daiki Ueno <ueno@unixuser.org>
334 * riece-guess.el (riece-guess-channel-try-functions): Default to
336 (riece-default-guess-channel): Abolish.
337 (riece-command-guess-switch-to-channel): Reconstruct
338 riece-guess-candidates when it is empty.
340 2003-08-28 Daiki Ueno <ueno@unixuser.org>
342 * riece-highlight.el (riece-dialogue-change-face): Use defvar to
344 (riece-dialogue-notice-face): Ditto.
345 (riece-dialogue-wallops-face): Ditto.
346 (riece-dialogue-error-face): Ditto.
347 (riece-dialogue-info-face): Ditto.
348 (riece-dialogue-server-face): Ditto.
349 (riece-dialogue-prefix-face): Ditto.
350 (riece-channel-list-default-face): Ditto.
351 (riece-channel-list-current-face): Ditto.
353 * riece-unread.el (riece-channel-list-unread-face): Use defvar to
356 2003-08-27 Daiki Ueno <ueno@unixuser.org>
358 * riece-history.el (riece-history-insinuate): Don't set
359 riece-guess-channel-try-functions here.
360 (riece-history-requires): Don't require riece-guess.
362 * riece-unread.el (riece-unread-requires): Don't require
364 (riece-unread-insinuate): Don't set
365 riece-guess-channel-try-functions here.
367 2003-08-27 Daiki Ueno <ueno@unixuser.org>
369 * riece-unread.el (riece-unread-after-display-message-function):
370 Rename from riece-unread-display-message-function.
371 (riece-unread-after-switch-to-channel-function): Rename from
372 riece-unread-channel-switch-hook.
373 (riece-guess-channel-from-unread): New function.
374 (riece-unread-requires): Require 'riece-guess and 'riece-history.
375 (riece-unread-insinuate): Setup riece-guess-channel-try-functions.
377 * riece-options.el (riece-addons): Add riece-guess, riece-history,
380 * riece-layout.el (riece-reconfigure-windows-predicate): Don't
381 check riece-last-channel.
383 * riece-display.el (riece-switch-to-channel): Rename
384 riece-channel-switch-hook to
385 riece-after-switch-to-channel-functions.
386 (riece-switch-to-nearest-channel): Ditto.
388 * riece-guess.el: New add-on.
389 * COMPILE (riece-modules): Add riece-guess.
390 * Makefile.am (EXTRA_DIST): Add riece-guess.el
392 * riece-history.el: New add-on.
393 * COMPILE (riece-modules): Add riece-history.
394 * Makefile.am (EXTRA_DIST): Add riece-history.el
396 2003-08-27 Daiki Ueno <ueno@unixuser.org>
398 * riece-options.el (riece-connection-timeout): Abolish.
400 * riece-server.el (riece-clear-system): Abolish.
401 * riece.el (riece-exit): Merge riece-clear-system.
403 2003-08-26 Daiki Ueno <ueno@unixuser.org>
405 * riece-filter.el (riece-sentinel): Suppress status message when
408 2003-08-26 Daiki Ueno <ueno@unixuser.org>
410 * riece-highlight.el (riece-channel-list-mark-current-channel):
413 * riece-display.el (riece-channel-list-changed): New variable.
414 (riece-update-channel-list-buffer): Check riece-channel-list-changed.
415 (riece-update-channel-list-indicator): Ditto.
417 2003-08-26 Daiki Ueno <ueno@unixuser.org>
419 * riece-options.el (riece-addons): Enable riece-unread by default.
421 * riece-highlight.el (riece-channel-list-current-face): New variable.
422 (riece-channel-list-default-face): New face.
424 * riece-globals.el (riece-channel-list-buffer): Strip leading
427 2003-08-26 Daiki Ueno <ueno@unixuser.org>
429 * riece-unread.el: Require 'riece-highlight when compiling.
430 (riece-unread): New custom group.
431 (riece-channel-list-unread-face): New variable.
432 (riece-channel-list-unread-face): New face.
433 (riece-unread-requires): New function.
434 (riece-unread-insinuate): Add ?! to riece-channel-list-mark-face-alist.
436 * riece-highlight.el: Highlight *Channels* buffer; rename
437 riece-*-face -> riece-dialogue-*-face, riece-highlight-* ->
439 (riece-channel-list-font-lock-keywords): New variable.
440 (riece-channel-list-mark-face-alist): New variable.
442 2003-08-25 Daiki Ueno <ueno@unixuser.org>
444 * riece-unread.el (riece-unread-update-channel-list-buffer):
445 Restore channel marks if exist.
447 * riece-naming.el (riece-naming-assert-join): Don't set
448 riece-redisplay-buffers.
449 (riece-naming-assert-part): Ditto.
450 (riece-naming-assert-rename): Ditto.
452 * riece-display.el (riece-redisplay-buffers): Abolish.
453 (riece-update-user-list-buffer): Don't check
454 riece-redisplay-buffers.
455 (riece-update-channel-list-buffer): Ditto; prefix "*" at the
456 beginning of the current channel.
457 (riece-switch-to-channel): Don't set riece-redisplay-buffers.
458 (riece-join-channel): Ditto.
459 (riece-part-channel): Ditto.
461 2003-08-25 Daiki Ueno <ueno@unixuser.org>
463 * riece-display.el (riece-join-channel): Parse non-nil elements in
464 riece-default-channel-binding.
466 2003-08-25 Daiki Ueno <ueno@unixuser.org>
468 * riece-identity.el (riece-format-identity): Add 'riece-identity
469 property to the resulting string.
471 * riece-misc.el (riece-concat-channel-topic): Don't append ":" if
474 * riece-300.el (riece-handle-322-message): Simplify message.
476 * riece-commands.el (riece-command-change-layout): Call
477 riece-command-configure-windows; Use setq instead of
478 custom-set-variables.
480 2003-08-25 Daiki Ueno <ueno@unixuser.org>
482 * Riece: Version 0.1.0 released.
483 * riece-version.el (riece-version-number): Bump up to 0.1.0.
485 2003-08-25 Daiki Ueno <ueno@unixuser.org>
487 * COMPILE (riece-compile-modules): Ignore errors during byte
489 (riece-install-modules): If there lacks a compiled module, don't
490 attempt to install it.
492 * riece-options.el (riece-quit-timeout): Default to 10.
494 * riece.el (riece-dialogue-mode-map): Bind riece-command-change-layout.
495 (riece): Switch to riece-command-buffer before riece-redisplay-buffers.
497 * riece-unread.el: Require 'riece-commands.
499 * riece-server.el: Require 'riece-identity and 'riece-compat.
501 * riece-ndcc.el: Require 'riece-globals, 'riece-options,
503 (riece-handle-dcc-request): Use riece-channel-buffer-name.
505 * riece-identity.el: Don't require 'riece-server.
507 * riece-doctor.el: Require 'riece-globals, 'riece-identity,
508 'riece-message, and 'riece-server.
510 * riece-ctcp.el: Require 'riece-display.
512 * riece-commands.el: Require 'riece-layout.
513 (riece-command-change-layout): New command.
515 * riece-alias.el: Require 'riece-identity.
517 * riece-layout.el: No longer provided as an add-on.
518 * riece-display.el: Remove window configuration stuff.
520 2003-08-24 Daiki Ueno <ueno@unixuser.org>
522 * riece-rdcc.el (riece-command-dcc-send): Bind
523 process-connection-type to nil.
525 * riece-300.el (riece-handle-319-message): New handler.
527 * riece.el (riece-buffer-mode-alist): Add riece-command-buffer.
528 (riece): Signal an error when a server is opened;
529 No need to initialize riece-command-buffer specially.
531 2003-08-22 TAKAHASHI Kaoru <kaoru@kaisei.org>
533 * riece-display.el (riece-configure-windows-top): Set
534 `truncate-partial-width-windows' nil, when horizontal window
537 2003-08-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
539 * riece-display.el (riece-configure-windows-top): Change
540 user-list-buffer and channel-list-buffer window create logic.
542 * riece-skk-kakutei.el (riece-skk-kakutei-insinuate): Add
543 require riece.el when compile.
545 * riece.el (riece): Use `riece-redisplay-buffers' instead of
546 `riece-configure-windows'.
548 2003-08-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
550 * riece-display.el (riece-configure-windows-top): New function.
551 * riece-layout.el (riece-layout-alist): Add top.
553 * riece-skk-kakutei.el: New add-on.
554 * COMPILE (riece-modules): Add riece-skk-kakutei.
555 * Makefile.am (EXTRA_DIST): Add riece-skk-kakutei.el
557 2003-08-19 Daiki Ueno <ueno@unixuser.org>
559 * riece-layout.el: New add-on.
560 * COMPILE (riece-modules): Add riece-layout.
561 * Makefile.am (EXTRA_DIST): Add riece-layout.el
563 2003-08-17 Daiki Ueno <ueno@unixuser.org>
565 * riece-options.el (riece-quit-timeout): New user option.
566 * riece-server.el (riece-quit-server-process): New function.
567 * riece-commands.el (riece-command-quit): Use it.
568 (riece-command-close-server): Use it.
570 2003-08-17 Daiki Ueno <ueno@unixuser.org>
572 * riece-commands.el (riece-command-previous-channel): Skip nil in
573 riece-current-channels.
575 2003-08-09 Daiki Ueno <ueno@unixuser.org>
577 * riece-rdcc.el (riece-command-dcc-send): Accept output only from
580 * riece-xemacs.el: Don't require 'riece-compat.
582 2003-08-06 Daiki Ueno <ueno@unixuser.org>
584 * riece-unread.el (riece-unread-update-channel-list-buffer): Call
585 riece-parse-identity.
587 2003-08-04 Daiki Ueno <ueno@unixuser.org>
589 * riece-server.el (riece-find-server-name): Abolish.
591 * riece-alias.el: Add usage.
593 2003-08-04 Daiki Ueno <ueno@unixuser.org>
595 * riece-mini.el (riece-mini-send-message): Use
596 riece-completing-read-identity; don't use riece-own-channel-message.
598 * riece-identity.el: Require 'riece-compat.
599 (riece-identity-prefix-case-table): New variable.
600 (riece-abbrev-identity-string-function): New variable.
601 (riece-expand-identity-string-function): New variable.
602 (riece-format-identity): Rename from riece-decode-identity.
603 (riece-parse-identity): Rename from riece-encode-identity.
604 (riece-with-identity-buffer): Abolish.
605 (riece-identity-canonicalize-prefix): Use case-table.
607 * riece-filter.el (riece-handle-numeric-reply): Decode messages.
608 (riece-handle-message): Ditto.
610 * riece-alias.el: New add-on.
611 * COMPILE (riece-modules): Add riece-alias.
612 * Makefile.am (EXTRA_DIST): Add riece-alias.el.
614 * riece-emacs.el (riece-set-case-syntax-pair): New alias.
615 * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
616 * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
618 2003-08-03 Daiki Ueno <ueno@unixuser.org>
620 * Riece: Version 0.0.4 released.
621 * riece-version.el (riece-version-number): Bump up to 0.0.4.
623 2003-06-24 OHASHI Akira <bg66@koka-in.org>
625 * riece-unread.el (riece-unread-display-message-function): Don't check
626 `selected-window'. It doesn't work as expected.
628 2003-06-23 Daiki Ueno <ueno@unixuser.org>
630 * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
632 * riece-300.el: Rewrite using riece-decode-identity.
634 * riece-identity.el (riece-completing-read-identity): Signal an
635 error when the encoded channel name is not matched with
636 riece-channel-regexp.
638 * riece-globals.el (riece-channel-regexp): Moved from
640 (riece-user-regexp): Moved form riece-user.el.
642 2003-06-23 Daiki Ueno <ueno@unixuser.org>
644 * riece-handle.el (riece-handle-join-message): Don't call
645 riece-switch-to-channel.
646 (riece-handle-part-message): Don't decode message if it is empty.
647 (riece-handle-kick-message): Ditto.
648 (riece-handle-quit-message): Ditto.
649 (riece-handle-kill-message): Ditto.
651 * riece-commands.el (riece-command-part): Show the current channel
652 as default candidate.
654 * riece-identity.el (riece-completing-read-identity): Accept
655 optional 5th argument `initial'.
657 * riece-unread.el (riece-unread-update-channel-list-buffer):
660 * riece-filter.el (riece-sentinel): Don't bind
661 riece-inhibit-update-buffers.
663 * riece-display.el (riece-redisplay-buffer): New variable.
664 (riece-inhibit-update-buffers): Abolish.
665 (riece-update-channel-list-buffer): Memorize
666 encoded identity as text property on each line.
668 * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
670 (riece-user-list-mode): Ditto.
672 2003-06-22 Yoichi NAKAYAMA <yoichi@geiin.org>
674 * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
675 Fix example setting, don't use 3rd arg of add-to-list.
677 * riece-coding.el (riece-default-coding-system): Fix default value.
679 2003-06-22 Daiki Ueno <ueno@unixuser.org>
681 * riece-display.el (riece-inhibit-update-buffers): New variable.
682 * riece-filter.el (riece-sentinel): Bind
683 riece-inhibit-update-buffers while removing channels from
684 riece-current-channels.
685 * riece-unread.el (riece-unread-display-message-function): Don't
686 update channel list buffer when riece-inhibit-update-buffers is
688 (riece-unread-channel-switch-hook): Ditto.
689 (riece-unread-insinuate): Add
690 riece-unread-update-channel-list-buffer to
691 riece-update-buffer-functions.
693 * riece-commands.el (riece-command-switch-to-channel): Call
694 riece-redisplay-buffers instead of riece-command-configure-windows.
696 * riece-identity.el (riece-completing-read-identity): Remove nil
697 from riece-current-channels before converting it to an alist.
699 2003-06-17 OHASHI Akira <bg66@koka-in.org>
701 * riece-unread.el (riece-unread-display-message-function): Check a
704 * riece-mini.el: New add-on.
705 * COMPILE (riece-modules): Add `riece-mini'.
706 * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
708 * riece-display.el (riece-channel-buffer-create): Add new hook.
709 * riece-log.el: New add-on for saving irc logs.
710 * COMPILE (riece-modules): Add `riece-log'.
711 * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
713 * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
714 (riece-command-part): Ditto.
716 2003-06-12 Daiki Ueno <ueno@unixuser.org>
718 * riece-naming.el (riece-naming-assert-join): Call
719 riece-update-buffers.
720 (riece-naming-assert-part): Ditto.
722 * riece-filter.el (riece-sentinel): Don't bind
723 riece-overriding-server-name; use riece-part-channel.
725 * riece-display.el (riece-switch-to-channel): Don't set
726 riece-channel-buffer.
727 (riece-update-buffers): Set riece-channel-buffer here.
729 * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
730 (riece-command-close-server): Fixed completion bug.
731 (riece-command-universal-server-name-argument): Ditto.
733 2003-06-12 Daiki Ueno <ueno@unixuser.org>
735 * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
738 * riece-handle.el (riece-handle-nick-message): Use
739 riece-decode-identity to decode user.
740 (riece-handle-join-message): Ditto.
741 (riece-handle-part-message): Ditto.
742 (riece-handle-kick-message): Ditto.
743 (riece-handle-quit-message): Ditto.
744 (riece-handle-kill-message): Ditto.
745 (riece-handle-invite-message): Ditto.
746 (riece-handle-topic-message): Ditto.
747 (riece-handle-mode-message): Ditto.
749 2003-06-12 Daiki Ueno <ueno@unixuser.org>
751 * riece-message.el (riece-own-channel-message): Abolish.
753 * riece-commands.el (riece-command-send-message): Don't use
754 riece-own-channel-message.
756 * riece-doctor.el (riece-doctor-reply): Don't use
757 riece-own-channel-message.
758 (riece-doctor-hello-regexp): New user option.
759 (riece-doctor-bye-regexp): New user option.
761 2003-06-11 Daiki Ueno <ueno@unixuser.org>
763 * riece-identity.el (riece-identity-member-no-server): Abolish.
765 * riece-doctor.el (riece-doctor-patients): Make it global variable.
766 (riece-doctor-after-privmsg-hook): Use riece-identity-member
767 instead of riece-identity-member-no-server.
769 2003-06-11 Daiki Ueno <ueno@unixuser.org>
771 * riece-doctor.el: New add-on.
772 * COMPILE (riece-modules): Add riece-doctor.
773 * Makefile.am (EXTRA_DIST): Add riece-doctor.el
775 2003-06-11 Daiki Ueno <ueno@unixuser.org>
777 * riece-handle.el (riece-handle-nick-message): Follow the change
778 of riece-identity-member.
780 * riece-commands.el (riece-command-next-channel): Use
781 riece-identity-member instead of riece-identity-member-no-server.
782 (riece-command-previous-channel): Ditto.
784 2003-06-11 Daiki Ueno <ueno@unixuser.org>
786 * riece-identity.el (riece-completing-read-identity): Remove nil
787 from channels before completing-read.
789 * riece-message.el (riece-message-make-name): Fix condition for priv.
790 (riece-message-make-global-name): Ditto.
791 (riece-message-buffer): Ditto.
793 * riece-misc.el (riece-current-nickname): Use
794 riece-with-identity-buffer.
796 2003-06-11 Daiki Ueno <ueno@unixuser.org>
798 * riece-message.el (riece-message-parent-buffers): Regard message's
799 speaker as target when priv mode.
801 * riece-display.el (riece-update-channel-indicator): Decode
802 riece-current-channel even in priv mode.
804 * riece-identity.el (riece-decode-identity): Respect prefix-only.
805 (riece-completing-read-identity): Check if illegal characters in
808 2003-06-08 Daiki Ueno <ueno@unixuser.org>
810 * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
811 * riece-globals.el (riece-user-buffer-format): Abolish.
812 (riece-user-list-buffer): Default to " *Users*".
813 * riece-display.el (riece-user-list-buffer-name): Abolish.
814 (riece-user-list-buffer-create): Abolish.
816 2003-06-08 Daiki Ueno <ueno@unixuser.org>
818 * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
819 (riece-handle-message): Ditto.
820 (riece-sentinel): Clear system here.
822 * riece-server.el (riece-server-process-name): New function.
823 (riece-server-process): New function.
824 (riece-close-server): Abolish.
826 * riece-identity.el: Adopt vector object representation for
828 (riece-with-identity-buffer): New macro.
829 (riece-decode-identity): New function.
830 (riece-encode-identity): New function.
832 * riece-globals.el (riece-process-list): New variable.
833 (riece-server-process-alist): Abolish.
834 (riece-channel-buffer-alist): Abolish.
835 (riece-user-list-buffer-alist): Abolish.
836 (riece-short-channel-indicator): New variable.
838 * riece-channel.el: Assume that we are already in the server buffer.
839 * riece-user.el: Likewise.
841 2003-06-06 OHASHI Akira <bg66@koka-in.org>
843 * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
845 * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
848 2003-06-06 Daiki Ueno <ueno@unixuser.org>
850 * riece-channel.el (riece-forget-channel): Fixed.
851 (riece-channel-modeless-regexp): Abolish.
852 (riece-channel-modeless-p): Abolish.
854 2003-06-06 OHASHI Akira <bg66@koka-in.org>
856 * riece-unread.el (riece-unread-display-message-function): Delete the
857 target before adding to list.
858 (riece-unread-switch-to-channel): New function.
859 (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
860 Bind "u" to riece-dialogue-mode-map.
861 Bind "u" to riece-channel-list-mode-map.
863 * riece.el (riece-channel-list-mode-map): Don't bind
864 `riece-command-unread-channel'.
866 2003-06-04 Yoichi NAKAYAMA <yoichi@geiin.org>
868 * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
869 riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
870 riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
871 riece.el: Don't require riece-inlines since it has been removed.
873 2003-06-03 Daiki Ueno <ueno@unixuser.org>
875 * riece-display.el (riece-update-user-list-buffer): Rename from
876 riece-user-list-update-buffer.
877 (riece-update-channel-list-buffer): Rename from
878 riece-channel-list-update-buffer.
880 2003-06-03 Daiki Ueno <ueno@unixuser.org>
882 * riece-identity.el (riece-identity-canonicalize-prefix): Moved
883 from riece-inlines.el; renamed from scandinavian-downcase.
884 (riece-identity-equal-no-server): Moved from riece-inlines.el;
885 renamed from scandinavian-equal-ignore-case.
886 (riece-identity-equal-no-server-safe): New function.
887 (riece-identity-member-no-server): Moved from riece-inlines.el;
888 renamed from scandinavian-member-ignore-case.
889 (riece-identity-member-no-server-safe): New function.
891 * riece-inlines.el: Removed.
892 * COMPILE (riece-modules): Remove riece-inlines.
893 * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
895 2003-06-03 Daiki Ueno <ueno@unixuser.org>
897 * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
899 * riece-ndcc.el: Don't call delete-process explicitly.
900 * riece-server.el (riece-close-server-process): Don't call
901 delete-process explicitly unless riece-debug == t.
903 2003-06-03 Daiki Ueno <ueno@unixuser.org>
905 * riece-inlines.el (scandinavian-downcase): New inline function.
906 (scandinavian-equal-ignore-case): Rename from
907 string-equal-ignore-case.
908 (scandinavian-member-ignore-case): Rename from
909 string-list-member-ignore-case.
911 * riece-identity.el (riece-identity-equal): Rename from
912 riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
913 (riece-identity-equal-safe): Rename from riece-identity-equal.
914 (riece-identity-member): Rename from riece-identity-member-no-server.
915 (riece-identity-member-safe): Rename from riece-identity-member.
916 (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
917 (riece-identity-assoc-safe): Rename from riece-identity-assoc.
919 2003-06-03 Daiki Ueno <ueno@unixuser.org>
921 * riece-rdcc.el: Require 'riece-ctcp.
922 (riece-rdcc-insinuate): Add "DCC" to
923 riece-ctcp-additional-clientinfo.
925 * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
926 (riece-command-ctcp-clientinfo): New command.
927 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
928 (riece-handle-ctcp-clientinfo-request): New handler.
929 (riece-handle-ctcp-clientinfo-response): New handler.
931 * riece-server.el (riece-open-server): No need to use
932 get-buffer-create to reuse process buffer.
934 2003-06-03 Daiki Ueno <ueno@unixuser.org>
936 * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
938 (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
940 * riece-server.el (riece-server-keyword-map): `:coding-system' ->
942 (riece-open-server): Follow the change.
944 * riece-ctcp.el (riece-command-ctcp-action): New command.
945 (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
946 (riece-handle-ctcp-action-request): New handler.
948 * riece.el (riece-command-mode): Enclose status indicators with
949 `{}'; show riece-user-indicator.
950 (riece-channel-mode): Likewise.
951 (riece-dialogue-mode): Enclose status indicators with `{}'.
952 * riece-globals.el (riece-user-indicator): New indicator.
953 (riece-freeze-indicator): Default to "-".
954 * riece-display.el (riece-update-channel-indicator): Don't update
956 (riece-update-status-indicators): Set riece-user-indicator.
957 * riece-300.el (riece-handle-324-message): Update channel indicator.
959 2003-06-02 Daiki Ueno <ueno@unixuser.org>
961 * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
962 (riece-dialogue-mode): Call riece-update-status-indicators.
963 (riece-channel-mode): Add riece-operator-indicator to
964 mode-line-buffer-identification.
965 * riece-user.el (riece-make-user): New attribute `operator'.
966 (riece-user-operator): New function.
967 (riece-user-set-operator): New function.
968 (riece-user-toggle-away): New function.
969 (riece-user-toggle-operator): New function.
970 * riece-misc.el (riece-own-frozen): Revive.
971 * riece-message.el (riece-display-message): Reset riece-freeze if
972 riece-freeze == 'own && (riece-message-own-p message).
973 * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
974 (riece-operator-indicator): New variable.
975 * riece-display.el (riece-update-status-indicators): New function.
976 (riece-update-buffer-functions): Add it.
977 * riece-commands.el (riece-command-toggle-freeze): Don't call
979 (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
980 * riece-300.el (riece-handle-302-message): Use
981 riece-user-toggle-away instead of riece-user-set-away.
982 (riece-handle-301-message): Ditto.
983 (riece-handle-305-message): Ditto.
984 (riece-handle-306-message): Ditto.
985 (riece-handle-352-message): Ditto.
987 2003-06-02 Yoichi NAKAYAMA <yoichi@geiin.org>
989 * riece-commands.el (riece-command-next-channel): Circularly
990 follow the channel list.
991 (riece-command-previous-channel): Ditto.
993 2003-06-02 Daiki Ueno <ueno@unixuser.org>
995 * riece.el (riece-command-mode): Set default value of riece-freeze
997 * riece-options.el (riece-away-message): New user option.
998 * riece-commands.el (riece-command-toggle-away): Query user away
1000 * riece-300.el (riece-handle-301-message): Set user's away status.
1001 (riece-handle-305-message): Ditto.
1002 (riece-handle-306-message): Ditto.
1003 (riece-handle-302-message): Ditto.
1004 (riece-handle-352-message): Ditto.
1006 2003-06-02 Daiki Ueno <ueno@unixuser.org>
1008 * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
1010 (riece-command-dcc-receive): Check the existence of
1011 set-buffer-multibyte.
1013 2003-06-02 Daiki Ueno <ueno@unixuser.org>
1015 * Riece: Version 0.0.3 released.
1016 * riece-version.el (riece-version-number): Bump up to 0.0.3.
1018 * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
1020 (riece-handle-ctcp-response): Ditto.
1022 2003-06-01 Daiki Ueno <ueno@unixuser.org>
1024 * riece-user.el (riece-rename-user): Don't modify entry when
1025 old-name == new-name.
1027 * riece-display.el (riece-configure-windows): Use window-buffer
1028 instead of current-buffer.
1030 * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
1031 (riece-rdcc-ruby-command): New user option.
1032 (riece-rdcc-send-program): New user option.
1033 (riece-rdcc-decode-address-program): New user option.
1034 (riece-rdcc-substitute-variables): New function.
1035 (riece-command-dcc-send): Use it.
1036 (riece-rdcc-decode-address): Use it.
1038 2003-06-01 Daiki Ueno <ueno@unixuser.org>
1040 * riece-rdcc.el: New add-on.
1042 * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
1044 2003-06-01 Daiki Ueno <ueno@unixuser.org>
1046 * riece-ndcc.el: New add-on.
1047 * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
1049 2003-05-31 Daiki Ueno <ueno@unixuser.org>
1051 * riece-server.el (riece-open-server): Simplify message.
1053 * riece-commands.el (riece-command-open-server): Throw an error
1054 when the server is already opened.
1056 * riece-filter.el (riece-sentinel): Simplified.
1058 * riece-display.el (riece-user-list-update-buffer): Check the
1059 existence of riece-user-list-buffer.
1060 (riece-channel-list-update-buffer): Check the existence of
1061 riece-channel-list-buffer.
1062 (riece-set-window-points): Ditto.
1064 * riece-commands.el (riece-command-open-server): Simplified.
1065 (riece-command-toggle-channel-buffer-mode): Set
1066 riece-save-variables-are-dirty to t.
1067 (riece-command-toggle-user-list-buffer-mode): Ditto.
1068 (riece-command-toggle-channel-list-buffer-mode): Ditto.
1070 * riece-server.el (riece-start-server): Abolish.
1071 (riece-open-server): Set riece-server-process-alist and
1072 riece-server-process here.
1074 2003-05-31 Daiki Ueno <ueno@unixuser.org>
1076 * riece-filter.el (riece-sentinel): Close process even if
1077 riece-reconnect-with-password == t.
1078 (riece-handle-message): Catch errors occured in hooks.
1080 * riece-server.el (riece-open-server): Reuse server buffer.
1081 (riece-close-server-process): Delete process even if process is
1084 2003-05-31 Daiki Ueno <ueno@unixuser.org>
1086 * riece-server.el (riece-open-server): No need to reset
1087 riece-reconnect-with-password.
1089 * riece-filter.el (riece-sentinel): Don't call riece when
1090 riece-reconnect-with-password = t and process !=
1091 riece-server-process.
1093 * riece-url.el: Fix usage.
1095 * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
1097 * riece-unread.el: New add-on.
1098 * COMPILE (riece-modules): Add riece-unread.
1099 * Makefile.am (EXTRA_DIST): Add riece-unread.el
1101 * riece-300.el (riece-handle-322-message): New handler.
1102 (riece-handle-323-message): New handler.
1104 2003-05-30 Daiki Ueno <ueno@unixuser.org>
1106 * riece-display.el (riece-configure-windows): Select other window
1107 when minibuffer is active.
1109 * riece-commands.el (riece-command-list): New command.
1110 (riece-command-enter-message-as-notice): New command.
1111 * riece.el (riece-command-mode-map): Bind
1112 riece-command-enter-message-as-notice and riece-command-list.
1114 * riece-server.el (riece-close-server): Skip nil when leaving
1115 channels before closing server.
1117 2003-05-30 Daiki Ueno <ueno@unixuser.org>
1119 * Riece: Version 0.0.2 released.
1120 * riece-version.el (riece-version-number): Bump up to 0.0.2.
1122 * riece.el (riece-load-and-build-addon-dependencies): Fixed.
1123 * riece-url.el (riece-url-requires): Don't assert dependency on
1124 riece-highlight unless it appears in riece-addons.
1126 * riece-url.el: New add-on.
1127 * COMPILE (riece-modules): Add riece-url.
1129 * riece-message.el (riece-message-make-bracket): Abolish.
1130 * riece-highlight.el (riece-highlight-font-lock-keywords):
1131 Give up to fontify "-nick-" or "-nick server-".
1133 * riece-highlight.el (riece-highlight-font-lock-keywords):
1136 * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
1137 (riece-handle-ctcp-response): Ditto.
1139 * riece-highlight.el: Make it an add-on.
1140 (riece-highlight-insinuate): New function.
1141 * riece.el: Don't require 'riece-highlight.
1142 * riece-options.el (riece-addons): Turn on riece-highlight and
1143 riece-ctcp by default.
1145 * riece-display.el (riece-configure-windows-predicate): New function.
1146 (riece-configure-windows-predicate): New user option.
1147 (riece-redisplay-buffers): Use it.
1149 * riece-complete.el: Require 'cl for butlast.
1151 * Makefile.am (elc): Renamed from "compile".
1153 * riece.el (riece-dialogue-mode-map): Bind
1154 riece-command-toggle-channel-list-buffer-mode.
1156 * riece-display.el (riece-configure-windows): Typo fixed.
1158 * riece-user.el (riece-user-toggle-channel): Use member instead of
1161 2003-05-29 Daiki Ueno <ueno@unixuser.org>
1163 * riece-ctcp.el (riece-ctcp-insinuate): New function.
1165 * riece-options.el (riece-addons): New user option.
1166 (riece-addon-directory): New user option.
1168 * riece.el (riece-load-and-build-addon-dependencies): New function.
1169 (riece-insinuate-addons): New function.
1170 (riece): Call riece-insinuate-addons.
1172 * riece-misc.el (riece-get-users-on-server): Moved from
1175 * riece-ctcp.el: New file.
1176 * COMPILE (riece-modules): Add riece-ctcp.
1177 * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
1179 2003-05-29 Daiki Ueno <ueno@unixuser.org>
1181 * Riece: Version 0.0.1 released.
1183 * riece-commands.el (riece-command-names): New command.
1184 (riece-command-who): New command.
1186 * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
1189 * riece-300.el (riece-handle-341-message): New handler.
1190 (riece-handle-352-message): New handler.
1192 * riece-commands.el (riece-command-invite): Don't accept channel
1193 argument; throw an error when user is not on a channel.
1194 (riece-command-kick): New command.