* riece-log.el (riece-log-file-name-coding-system): New user option.
[riece] / lisp / ChangeLog
1 2003-12-17  Daiki Ueno  <ueno@unixuser.org>
2
3         * riece-log.el (riece-log-file-name-coding-system): New user option.
4         (riece-log-display-message-function): Bind file-name-coding-system.
5         (riece-log-flashback): Ditto.
6
7         * riece-log.el (riece-log-flashback): Use
8         riece-match-string-no-properties instead of match-string-no-properties.
9
10         * riece-xemacs.el (riece-match-string-no-properties): New function.
11         * riece-emacs.el (riece-match-string-no-properties): New alias.
12
13         * riece-identity.el: Don't require 'riece-compat.
14         (riece-identity-prefix-case-table): Abolish.
15         (riece-identity-prefix-case-pair-alist): New constant.
16         (riece-identity-canonicalize-prefix): Don't use case-table.
17
18         * riece-emacs.el (riece-set-case-syntax-pair): Abolish.
19         (riece-copy-case-table): Abolish.
20         * riece-xmacs.el (riece-set-case-syntax-pair): Abolish.
21         (riece-copy-case-table): Abolish.
22
23 2003-12-15  Daiki Ueno  <ueno@unixuser.org>
24
25         * riece-options.el: Require 'riece-version.
26         (riece-quit-message): Set default to (riece-extended-version).
27         (riece-away-message): Set default to "Gone".
28
29         * riece-commands.el: Don't require 'riece-version.
30         (riece-command-quit): Don't check riece-quit-message.
31         (riece-command-close-server): Ditto.
32         (riece-command-toggle-away): Always supply a parameter to the AWAY
33         command when the user is not away.  Thanks to Yuki Fujimura
34         <fujimura@wakhok.ac.jp>
35         [cf. <Liece:00139>]
36
37 2003-12-14  Daiki Ueno  <ueno@unixuser.org>
38
39         * riece.el (riece): Connect to servers in riece-startup-server-list.
40
41         * riece-000.el (riece-handle-001-message): Ignore entries in
42         riece-startup-channel-list which doesn't match riece-server-name. 
43
44         * riece-options.el (riece-startup-server-list): New user option.
45
46         * riece-async.el (riece-async-max-buffer-size): New user option.
47         (riece-async-server-program): Use io/nonblock & IO#syswrite to
48         check whether the write end of pipe (i.e. input to emacs process)
49         would block.
50
51 2003-12-13  Daiki Ueno  <ueno@unixuser.org>
52
53         * riece-options.el (riece-default-open-connection-function): New
54         user option.
55
56         * riece-server.el (riece-server-keyword-map): Use
57         riece-default-open-connection-function.
58
59         * riece-async.el: New add-on.
60         * COMPILE (riece-modules): Add riece-async.
61         * Makefile.am (EXTRA_DIST): Add riece-async.el
62
63 2003-12-09  OHASHI Akira  <bg66@koka-in.org>
64
65         * riece-mini.el (riece-mini-display-message-function): Don't set
66         riece-mini-last-channel when message is not a privmsg.
67
68 2003-12-04  OHASHI Akira  <bg66@koka-in.org>
69
70         * riece-server.el (riece-with-server-buffer): Store 'edebug-form-spec
71         property.
72
73 2003-12-03  OHASHI Akira  <bg66@koka-in.org>
74
75         * riece-log.el (riece-log-requires): New function.
76         (riece-log-flashback): Revert 'riece-identity property and button.
77
78 2003-11-28  OHASHI Akira  <bg66@koka-in.org>
79
80         * riece-unread.el (riece-unread-after-display-message-function):
81         Do nothing when message is not a privmsg.
82
83 2003-11-22  Daiki Ueno  <ueno@unixuser.org>
84
85         * riece-log.el (riece-log-coding-system): New user option.
86         (riece-log-display-message-function): Bind
87         coding-system-for-write; don't create temp buffer.
88
89         * riece-rdcc.el (riece-rdcc-filter): Use write-region instead of
90         append-to-file to suppress "Wrote file" messages.
91
92 2003-11-10  Daiki Ueno  <ueno@unixuser.org>
93
94         * Riece: Version 0.1.6 released.
95         * riece-version.el (riece-version-number): Bump up to 0.1.6.
96
97 2003-11-08  Daiki Ueno  <ueno@unixuser.org>
98
99         * riece-ctcp.el (riece-command-ctcp-action): Display channel names
100         in "*Others*" buffer.
101
102 2003-11-05  OHASHI Akira  <bg66@koka-in.org>
103
104         * riece-unread.el (riece-unread-switch-to-channel): Protect
105         switching to the channel not existing.
106
107 2003-10-29  OHASHI Akira  <bg66@koka-in.org>
108
109         * riece-log.el (riece-log-get-directory): Support riece-identity
110         for mapping.
111
112 2003-10-28  Daiki Ueno  <ueno@unixuser.org>
113
114         * riece-layout.el (riece-set-window-points): Move point in
115         the channel-buffer's window.
116
117         * riece-ctcp.el (riece-command-ctcp-version): Prompt to select
118         an identity on the current server.
119         (riece-command-ctcp-ping): Ditto.
120         (riece-command-ctcp-clientinfo): Ditto.
121         (riece-command-ctcp-action): Ditto.
122
123         * riece-commands.el (riece-command-change-mode): Prompt to select
124         an identity on the current server.
125         (riece-command-join): Ditto.
126
127 2003-10-27  Daiki Ueno  <ueno@unixuser.org>
128
129         * riece-keyword.el (riece-keywords): Change custom spec.
130         (riece-keyword-message-filter): Normalize riece-keywords.
131
132         * riece-identity.el (riece-identity-prefix-case-table): Use
133         riece-copy-case-table to define.
134
135         * riece-xemacs.el (riece-set-case-syntax-pair): Workaround for
136         XEmacs 21.1.
137         (riece-copy-case-table): Ditto.
138
139         * riece-emacs.el (riece-copy-case-table): New alias.
140
141         * riece-globals.el (riece-channel-regexp): Use
142         riece-make-interval-regexp to define.
143         (riece-user-regexp): Ditto.
144
145         * riece-compat.el (riece-make-interval-regexp): New function.
146
147         * riece-icon.el (riece-icon-available-p): Check
148         the existence of image-type-available-p.
149
150 2003-10-27  OHASHI Akira  <bg66@koka-in.org>
151
152         * riece-log.el (riece-log-get-directory): Fix for server name and
153         private messages handling.
154
155 2003-10-26  Daiki Ueno  <ueno@unixuser.org>
156
157         * riece-xemacs.el (riece-run-with-idle-timer): Pass an integer to
158         the RESTART argument of start-itimer.
159
160         * riece-commands.el (riece-command-user-list-scroll-down): Rename
161         from riece-command-nick-scroll-down.
162         (riece-command-user-list-scroll-up): Rename from
163         riece-command-nick-scroll-up.
164         (riece-command-scroll-down): Check if riece-current-channel is bound.
165         (riece-command-scroll-up): Ditto.
166         (riece-command-quit): Clean up if no server process is available.
167
168 2003-10-25  Daiki Ueno  <ueno@unixuser.org>
169
170         * riece-rdcc.el: Bind temporary-file-directory.
171         (riece-rdcc-send-program): Allow block-size to be controlled from
172         elisp.
173         (riece-rdcc-block-size): New user option.
174         (riece-rdcc-temp-file): New variable.
175         (riece-rdcc-received-size): New variable.
176         (riece-rdcc-filter): Don't keep received bytes in the process
177         buffer; use riece-rdcc-format-size to display progress.
178         (riece-command-dcc-receive): Create a temporary directory which
179         holds a received file.
180
181 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
182
183         * riece-options.el (riece-gather-channel-modes): Default to nil.
184         * riece-handle.el (riece-handle-join-message): Send MODE if
185         riece-gather-channel-modes is non-nil.
186
187         * riece-url.el: Add autoload setting for 'browse-url.
188
189         * riece-menu.el: Require 'riece-options, 'riece-globals,
190         'riece-identity, 'riece-layout, and 'riece-server; bind
191         riece-command-mode-map.
192
193         * riece-history.el: Require 'riece-options, 'riece-globals,
194         'riece-highlight, and 'riece-identity.
195
196         * riece-naming.el (riece-naming-assert-rename): Fixed.
197
198 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
199
200         * Riece: Version 0.1.5 released.
201         * riece-version.el (riece-version-number): Bump up to 0.1.5.
202
203 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
204
205         * riece-ctcp.el (riece-command-ctcp-action): If the current
206         command line is not empty, insert it into the minibuffer before
207         reading input.  Thanks to Akinori MUSHA  <knu@iDaemons.org>
208         [cf. <Liece:00123>]
209
210         * riece.el: Add autoload setting for derived-mode-class.
211         (riece-shrink-buffer-idle-timer): New variable.
212         (riece): Set idle timer to shrink channel buffers.
213         (riece-shrink-buffer): New function.
214
215         * riece-xemacs.el (riece-overlays-in): New function.
216         (riece-delete-overlay): New alias.
217         (riece-kill-all-overlays): New function.
218
219         * riece-server.el (riece-quit-server-process): Don't set timer if
220         riece-quit-timeout is nil.
221
222         * riece-options.el (riece-quit-timeout): Change custom type.
223         (riece-shrink-buffer-idle-time-delay): New user option.
224         (riece-max-buffer-size): New user option.
225
226         * riece-icon.el (riece-icon-add-image-region) [XEmacs]: Delete
227         extents if already exists.
228
229         * riece-emacs.el (riece-overlays-in): New alias.
230         (riece-delete-overlay): New alias.
231         (riece-kill-all-overlays): New function.
232         (riece-run-with-idle-timer): New alias.
233         (riece-cancel-timer): New alias.
234
235         * riece-display.el (riece-update-user-list-buffer): Kill all
236         overlays in buffer.
237         (riece-update-channel-list-buffer): Ditto.
238
239         * riece-commands.el (riece-command-set-operators): Reset group.
240         (riece-command-set-speakers): Ditto.
241
242 2003-10-23  Daiki Ueno  <ueno@unixuser.org>
243
244         * riece-naming.el (riece-naming-assert-rename): Follow the
245         change of riece-channel.el.
246
247         * riece-message.el (riece-message-external-p): Follow the
248         change of riece-channel.el.
249
250         * riece-display.el (riece-update-user-list-buffer): Follow the
251         change of riece-channel.el.
252
253         * riece-commands.el (riece-command-kick): Follow the change of
254         riece-channel.el.
255         (riece-command-set-operators): Ditto.
256         (riece-command-set-speakers): Ditto.
257
258         * riece-button.el (riece-user-button-set-operators): Follow the
259         change of riece-channel.el.
260         (riece-user-button-set-speakers): Ditto.
261
262         * riece-channel.el (riece-make-channel): Abolish 2nd and 3rd
263         arguments.
264         (riece-get-channel): Follow the change of riece-make-channel.
265         (riece-channel-operators): Abolish.
266         (riece-channel-speakers): Abolish.
267         (riece-channel-set-operators): Abolish.
268         (riece-channel-set-speakers): Abolish.
269         (riece-channel-get-operators): Abolish.
270         (riece-channel-get-speakers): Abolish.
271         (riece-channel-toggle-user): Follow the change of the return type
272         of riece-channel-users.
273         (riece-channel-toggle-operator): Ditto.
274         (riece-channel-toggle-speaker): Ditto.
275         (riece-channel-operator-p): Abolish.
276         (riece-channel-speaker-p): Abolish.
277         (riece-channel-intern-user): Abolish.
278
279 2003-10-23  Daiki Ueno  <ueno@unixuser.org>
280
281         * riece-identity.el (riece-identity-member): Take an optional 3rd
282         argument to instruct to use riece-identity-equal-no-server.
283         (riece-identity-assoc): Ditto.
284
285         * riece-display.el (riece-update-user-list-buffer): Use
286         riece-channel-operator-p and riece-channel-speaker-p.
287
288         * riece-button.el (riece-user-button-set-operators): Use
289         riece-channel-operator-p.
290         (riece-user-button-set-speakers): Use riece-channel-speaker-p.
291
292         * riece-channel.el (riece-channel-intern-user): New function.
293         (riece-channel-toggle-operator): Use it.
294         (riece-channel-toggle-speaker): Use it.
295         (riece-channel-operator-p): New function.
296         (riece-channel-speaker-p): New function.
297
298 2003-10-23  OHASHI Akira  <bg66@koka-in.org>
299
300         * riece-log.el (riece-log-get-directory): Follow the change of
301         `riece-channel-regexp'.
302
303 2003-10-22  Daiki Ueno  <ueno@unixuser.org>
304
305         * riece-identity.el (riece-format-identity): Return copied strings.
306
307 2003-10-22  OHASHI Akira  <bg66@koka-in.org>
308
309         * riece.el (riece): When riece server was opened, Do
310         `riece-command-configure-windows' instead of signaling.
311
312 2003-10-22  Daiki Ueno  <ueno@unixuser.org>
313
314         * riece-rdcc.el (riece-rdcc-send-program): Flush $stdout before
315         accepting a connection.
316         (riece-command-dcc-send): Use riece-completing-read-identity; take
317         an identity object in the 1st argument.
318         (riece-rdcc-format-size): New function.
319         (riece-handle-dcc-request): Use it.
320
321         * riece-ndcc.el (riece-command-dcc-send): Use
322         riece-completing-read-identity; take an identity object in the 1st
323         argument.
324
325         * riece-display.el (riece-update-buffers): Run
326         riece-update-buffer-hook.
327
328         * riece-button.el (riece-user-button-finger): Pass an identity
329         object instead of the prefix.
330
331         * riece-ctcp.el: Require 'riece-highlight.
332         (riece-ctcp-action-face): New face.
333         (riece-ctcp-action-face): New variable.
334         (riece-ctcp-action-prefix): New variable.
335         (riece-ctcp-requires): Require 'riece-highlight if it is enabled.
336         (riece-ctcp-insinuate): Modify riece-dialogue-font-lock-keywords
337         if 'riece-highlight is enabled.
338         (riece-handle-ctcp-action-request): Prepend
339         riece-ctcp-action-prefix instead of riece-change-prefix.
340         (riece-command-ctcp-action): Ditto.
341
342         * riece-server.el (riece-quit-server-process): Use riece-run-at-time.
343         * riece-xemacs.el (riece-run-at-time): New function.
344         * riece-emacs.el (riece-run-at-time): New alias.
345
346         * riece-misc.el (riece-get-identities-on-server): New function.
347         (riece-get-users-on-server): Use it.
348
349         * riece-ctcp.el (riece-ctcp-completing-read-identity): Abolish.
350         (riece-command-ctcp-version): Use riece-completing-read-identity
351         and riece-get-identities-on-server.
352         (riece-command-ctcp-ping): Ditto.
353         (riece-command-ctcp-clientinfo): Ditto.
354         (riece-command-ctcp-action): Ditto.
355
356         * riece-commands.el (riece-command-finger): Pass the current
357         server name to riece-get-users-on-server; use
358         riece-completing-read-identity.
359         (riece-command-invite): Ditto.
360         (riece-command-enter-message-to-user): Ditto.
361
362         * riece-000.el (riece-handle-001-message): Register myself with
363         riece-obarray.
364
365 2003-10-21  Daiki Ueno  <ueno@unixuser.org>
366
367         * riece-ctcp.el (riece-ctcp-completing-read-identity): New
368         function.
369         (riece-command-ctcp-version): Use it.
370         (riece-command-ctcp-ping): Ditto.
371         (riece-command-ctcp-clientinfo): Ditto.
372         (riece-command-ctcp-action): Ditto; don't encode CHANNEL identity
373         twice.
374
375 2003-10-20  Daiki Ueno  <ueno@unixuser.org>
376
377         * riece-xemacs.el (riece-xemacs-mode-line-buffer-identification):
378         Abolish.
379         (riece-mode-line-buffer-identification): Don't define alias.
380
381         * riece-server.el (riece-open-server): Handle errors occurred
382         during reading password.
383
384         * riece-options.el (riece-addons): Add riece-icon.
385
386         * riece-layout.el (riece-configure-windows-top): Collect arguments.
387
388         * riece-icon.el: New add-on.
389         * COMPILE (riece-modules): Add riece-icon.
390         * Makefile.am (EXTRA_DIST): Add riece-icon.el
391
392 2003-10-20  Daiki Ueno  <ueno@unixuser.org>
393
394         * riece-options.el (riece-saved-forms): Add riece-layout.
395
396         * riece-layout.el (riece-layout-alist): Change format.
397         (riece-configure-windows): Take 2 args to specify the position of
398         the command buffer window.
399
400         * riece-commands.el (riece-command-change-layout): Set
401         riece-save-variables-are-dirty.
402
403 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
404
405         * Riece: Version 0.1.4 released.
406         * riece-version.el (riece-version-number): Bump up to 0.1.4.
407
408 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
409
410         * riece-server.el (riece-server-process-opened): Return t.
411
412         * riece.el (riece-dialogue-mode-map): Bind "p" to
413         riece-command-enter-message-to-user.
414
415         * riece-misc.el (riece-current-nickname): Use
416         riece-current-server-name.
417         (riece-get-users-on-server): Ditto.
418
419         * riece-server.el (riece-current-server-name): New function.
420         (riece-send-string): Use it.
421
422         * riece-commands.el (riece-command-enter-message-to-user): New command.
423
424 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
425
426         * riece-menu.el (riece-menu-create-layouts-menu): New function.
427         (riece-menu-items): Use it.
428
429         * riece-server.el (riece-server-process-opened): New function.
430         (riece-server-opened): Use it.
431
432         * riece-url.el: Require 'riece-menu.
433         (riece-url-insinuate): Add "Open URL..." menu in
434         riece-command-mode-hook.
435
436         * riece-options.el (riece-addons): Add riece-menu.
437
438         * riece-menu.el: New add-on.
439         * COMPILE (riece-modules): Add riece-menu.
440         * Makefile.am (EXTRA_DIST): Add riece-menu.el
441
442 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
443
444         * riece-version.el (riece-extended-version): Remove interactive spec.
445         (riece-version): New command.
446         * riece.el (riece-command-map): Bind "V" to riece-version.
447
448         * riece-options.el (riece-command-prefix): New user option.
449         (riece-tab-stop-list): Abolish.
450
451         * riece.el (riece-define-keys-1): If keymap is a list, eval the
452         2nd element of it.
453         (riece-select-keys): Use riece-command-prefix instead of "\C-c".
454         (riece-command-map): Ditto.
455         (riece-dialogue-mode): Don't set tab-stop-list.
456
457 2003-10-18  Daiki Ueno  <ueno@unixuser.org>
458
459         * riece-keyword.el (riece-keyword-message-filter): Ignore messages
460         which belongs to myself.
461
462         * riece-commands.el (riece-command-topic): Use
463         riece-check-channel-commands-are-usable.
464         (riece-command-invite): Ditto.
465         (riece-command-kick): Ditto.
466         (riece-command-change-mode): Ditto.
467         (riece-command-set-operators): Ditto.
468         (riece-command-set-speakers): Ditto.
469         (riece-command-send-message): Ditto.
470         (riece-command-part): Ditto.
471
472         * riece-misc.el (riece-get-users-on-server): If
473         riece-current-channel is not set, check the default server.
474         (riece-check-channel-commands-are-usable): New function.
475
476         * riece-globals.el (riece-channel-regexp): Accept channel names
477         beginning with "!!".
478
479 2003-10-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
480
481         * riece-commands.el (riece-command-universal-server-name-argument):
482         Fix parenthesis.
483
484 2003-10-16  Daiki Ueno  <ueno@unixuser.org>
485
486         * riece.el (riece-buffer-alist): Rename from
487         riece-buffer-mode-alist.
488
489         * riece-misc.el (riece-get-buffer-create): Takes an optional 2nd
490         argument, init-major-mode, which is used to assert the major-mode
491         of the created buffer.
492
493         * riece-naming.el (riece-naming-assert-rename): Merged buffer
494         renaming logic that riece-handle-nick-message was responsible for.
495
496         * riece-globals.el (riece-server-process-alist): Revive.
497         (riece-process-list): Abolish.
498         (riece-command-buffer): Set default to nil.
499         (riece-dialogue-buffer): Ditto.
500         (riece-others-buffer): Ditto.
501         (riece-channel-list-buffer): Ditto.
502         (riece-user-list-buffer): Ditto.
503         (riece-private-buffer): Abolish.
504         (riece-wallops-buffer): Abolish.
505
506         * riece-display.el (riece-channel-buffer-format): Moved from
507         riece-globals.
508         (riece-channel-buffer-alist): New variable.
509         (riece-channel-buffer-create): Assert the major-mode of the
510         created buffer is 'riece-channel-mode.
511         (riece-channel-buffer): New function.
512         (riece-switch-to-channel): Use riece-channel-buffer instead of
513         directly using get-buffer.
514
515 2003-10-14  Daiki Ueno  <ueno@unixuser.org>
516
517         * riece-commands.el (riece-command-toggle-away): Check user away
518         status in the server buffer.
519         [cf. <Liece:00119>]
520         (riece-command-names): Use identity prefix
521         instead of formatted identity.
522         (riece-command-who): Ditto.
523
524 2003-10-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
525
526         * riece.el (riece-dialogue-mode-map): Bind "N" instead of "\C-n"
527         to `riece-command-name'.
528
529 2003-10-14  Daiki Ueno  <ueno@unixuser.org>
530
531         * riece-layout.el (riece-reconfigure-windows-predicate): Simplified.
532
533 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
534
535         * Riece: Version 0.1.3 released.
536         * riece-version.el (riece-version-number): Bump up to 0.1.3.
537
538 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
539
540         * riece-button.el (riece-button-map-identity-region): Abolish.
541         (riece-user-button-set-operators): Use riece-scan-property-region.
542         (riece-user-button-set-speakers): Ditto.
543         (riece-button-add-identity-button): Ditto.
544
545         * riece-keyword.el: Require 'riece-message.
546         (riece-keyword-map-region): Abolish.
547         (riece-keyword-scan-region): Use riece-scan-property-region.
548
549         * riece-misc.el (riece-scan-property-region): New function.
550
551 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
552
553         * riece-xemacs.el (riece-make-overlay): New alias.
554         (riece-overlay-put): New alias.
555         (riece-overlay-start): New alias.
556         (riece-overlay-buffer): New alias.
557
558         * riece-emacs.el (riece-make-overlay): New alias.
559         (riece-overlay-put): New alias.
560         (riece-overlay-start): New alias.
561         (riece-overlay-buffer): New alias.
562
563         * riece-keyword.el: New add-on.
564         * COMPILE (riece-modules): Add riece-keyword.
565         * Makefile.am (EXTRA_DIST): Add riece-keyword.el
566
567         * riece-message.el (riece-message-filter-functions): New user option.
568         (riece-display-message-1): New function.
569         (riece-display-message): Use it.
570
571 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
572
573         * riece.el (riece-channel-list-mode): Initialize
574         riece-update-buffer-functions.
575         (riece-user-list-mode): Ditto.
576
577         * riece-globals.el (riece-channel-indicator): Rename from
578         riece-short-channel-indicator.
579         (riece-long-channel-indicator): Rename from
580         riece-channel-indicator.
581
582         * riece-display.el (riece-update-buffer-functions): Default to
583         nil.
584         (riece-update-indicator-functions): New variable splitted from
585         riece-update-buffer-functions.
586         (riece-update-channel-indicator): Rename from
587         riece-update-short-channel-indicator.
588         (riece-update-long-channel-indicator): Rename from
589         riece-update-channel-indicator.
590         (riece-update-buffers): Don't set riece-channel-buffer.
591         (riece-switch-to-channel): Set riece-channel-buffer here.
592
593         * riece-button.el (riece-user-button-popup-menu): Change order.
594         (riece-button-update-buffer): Unify
595         riece-button-update-channel-list-buffer and
596         riece-button-update-user-list-buffer.
597
598 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
599
600         * riece-history.el (riece-history-insinuate): In
601         riece-after-switch-to-channel-functions, check whether the last
602         channel is nil.
603
604         * riece-xemacs.el (riece-event-buffer): New alias.
605         (riece-event-point): New alias.
606
607         * riece-emacs.el (riece-event-buffer): New function.
608         (riece-event-point): New function.
609
610         * riece-display.el (riece-update-user-list-buffer): Use
611         riece-format-identity to add 'riece-identity property to user
612         names.
613
614         * riece-button.el (riece-user-button-popup-menu): New variable.
615         (riece-identity-button): Rename from riece-channel-button.
616         (riece-button-switch-to-identity): Rename from
617         riece-channel-button-action.
618         (riece-identity-button-popup-menu): Rename from
619         riece-channel-button-popup-menu; set point to the position the
620         event occurred.
621         (riece-user-button-join-partner): New function.
622         (riece-user-button-set-operators): New function.
623         (riece-user-button-set-speakers): New function.
624         (riece-user-button-finger): New function.
625         (riece-make-identity-button-map): New function.
626         (riece-button-map-identity-region): New function; splitted from
627         riece-button-add-identity-button.
628         (riece-button-add-identity-button): Use it.
629         (riece-button-update-user-list-buffer): New function.
630         (riece-button-insinuate): Add riece-button-update-user-list-buffer
631         to riece-update-buffer-functions.
632
633 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
634
635         * riece-xemacs.el (riece-mouse-2): New variable.
636         (riece-popup-menu-popup): New function.
637
638         * riece-emacs.el (riece-mouse-2): New variable.
639         (riece-popup-menu-bogus-filter-constructor): New macro.
640         (riece-popup-menu-popup): New function.
641
642         * riece-commands.el (riece-command-list): Use identity prefix
643         instead of formatted identity.
644
645         * riece-button.el (riece-channel-button-popup-menu): New variable.
646         (riece-channel-button): Arrange help-echo.
647         (riece-channel-button-switch-to-channel): New function.
648         (riece-channel-button-part): New function.
649         (riece-channel-button-list): New function.
650         (riece-channel-button-map): New variable.
651         (riece-button-add-channel-buttons): Add 'local-map and 'keymap
652         properties on channel buttons.
653
654 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
655
656         * riece-button.el (riece-button-insinuate): Buttonize channel buffers.
657
658         * riece-history.el (riece-channel-list-history-face): New face.
659         (riece-history-format-channel-list-line): New function.
660         (riece-history-insinuate): Add ?+ to
661         riece-channel-list-mark-face-alist; add
662         riece-history-format-channel-list-line to
663         riece-format-channel-list-line-functions.
664
665         * riece-highlight.el (riece-channel-list-current-face): Arrange colors.
666
667 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
668
669         * riece-unread.el (riece-unread-after-display-message-function):
670         Do nothing when message-target is already in
671         riece-unread-channels; call riece-redisplay-buffers.
672         (riece-unread-update-channel-list-buffer): Abolish.
673         (riece-unread-after-switch-to-channel-function): Don't call
674         riece-unread-update-channel-list-buffer.
675         (riece-unread-format-channel-list-line): New function.
676         (riece-unread-insinuate): Add
677         riece-unread-format-channel-list-line to
678         riece-format-channel-list-line; don't add
679         riece-unread-update-channel-list-buffer to
680         riece-update-buffer-functions.
681
682         * riece-highlight.el (riece-channel-list-mark-current-channel):
683         Abolish; merged into riece-update-channel-list-buffer.
684         (riece-highlight-insinuate): Don't add
685         riece-channel-list-mark-current-channel to
686         riece-after-switch-to-channel-functions.
687
688         * riece-display.el (riece-channel-list-changed): Abolish.
689         (riece-update-channel-list-buffer): Always redisplay channel-list
690         buffer.
691         (riece-update-channel-list-indicator): Always redisplay
692         channel-list indicator.
693         (riece-format-channel-list-line): New function.
694         (riece-update-buffers): Don't clear riece-channel-list-changed.
695         (riece-join-channel): Don't set riece-channel-list-changed.
696         (riece-part-channel): Ditto.
697
698 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
699
700         * riece-options.el (riece-addons): Add riece-button.
701
702         * riece-display.el (riece-update-channel-list-buffer): Avoid to
703         use format to preserve 'riece-identity property.
704
705         * riece-unread.el (riece-unread-update-channel-list-buffer):
706         Simplified.
707         (riece-unread-insinuate): Delay adding
708         riece-unread-update-channel-list-buffer to
709         riece-update-buffer-functions.
710
711         * riece-button.el: New add-on.
712         * COMPILE (riece-modules): Add riece-button.
713         * Makefile.am (EXTRA_DIST): Add riece-button.el
714
715 2003-10-08  Daiki Ueno  <ueno@unixuser.org>
716
717         * riece-server.el (riece-close-server-process): 
718         (riece-quit-server-process): Call riece-close-server-process
719         instead of kill-process; call riece-exit if no process is available.
720
721 2003-10-07  Daiki Ueno  <ueno@unixuser.org>
722
723         * riece-display.el (riece-channel-buffer-name): Check whether
724         IDENTITY is a member of riece-current-channels.
725
726 2003-10-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
727
728         * riece-commands.el (riece-command-kick): Fix completing-read
729         collection argument.
730
731 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
732
733         * riece-000.el: Require 'riece-commands.
734         * riece-200.el: Don't require 'riece-commands.
735         * riece-300.el: Ditto.
736
737 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
738
739         * Riece: Version 0.1.2 released.
740         * riece-version.el (riece-version-number): Bump up to 0.1.2.
741
742 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
743
744         * riece-filter.el (riece-sentinel): Don't clear
745         riece-reconnect-with-password.
746         * riece-server.el (riece-open-server): Clear
747         riece-reconnect-with-password here.
748
749 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
750
751         * riece-globals.el (riece-join-channel-candidate): New variable.
752         * riece-commands.el (riece-command-join): Prompt
753         riece-join-channel-candidate.
754
755         * riece-handle.el (riece-handle-invite-message): Set
756         riece-join-channel-candidate when the user is invited.
757         * riece-naming.el (riece-naming-assert-join): Clear
758         riece-join-channel-candidate.
759
760 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
761
762         * riece-identity.el (riece-completing-read-identity): Pass 6th &
763         7th arguments to completing-read.
764
765         * riece-commands.el (riece-command-part): Use 6th argument DEFAULT
766         of riece-completing-read-identity.
767
768         * riece-handle.el (riece-handle-invite-message): Fix parsing of
769         parameters.
770
771         * riece-display.el (riece-update-channel-list-buffer): Don't clear
772         riece-channel-list-changed.
773         (riece-update-buffers): Clear it.
774
775 2003-10-01  Daiki Ueno  <ueno@unixuser.org>
776
777         * riece-rdcc.el (riece-rdcc-save-directory): New user option.
778
779 2003-09-29  Daiki Ueno  <ueno@unixuser.org>
780
781         * riece-000.el (riece-handle-001-message): Parse elements in
782         riece-startup-channel-list.
783
784 2003-09-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
785
786         * riece-skk-kakutei.el
787         (riece-skk-kakutei-command-enter-message-as-notice): Fix typo.
788
789 2003-09-20  Daiki Ueno  <ueno@unixuser.org>
790
791         * riece-options.el (riece-startup-channel-list): Revive.
792         * riece-000.el (riece-handle-001-message): Process
793         riece-startup-channel-list.
794
795         * riece-server.el (riece-open-server): Display "Logging in to
796         XXX..." message.
797         * riece-000.el (riece-handle-001-message): Clear "Logging in to
798         XXX..." message; call riece-after-login-hook.
799
800 2003-09-07  Daiki Ueno  <ueno@unixuser.org>
801
802         * riece-unread.el (riece-unread-after-display-message-function):
803         Simplified.
804
805 2003-09-02  Daiki Ueno  <ueno@unixuser.org>
806
807         * riece-commands.el (riece-command-join): Extract target
808         identity-prefix before applying riece-channel-p; format target.
809
810 2003-08-30  Daiki Ueno  <ueno@unixuser.org>
811
812         * Riece: Version 0.1.1 released.
813         * riece-version.el (riece-version-number): Bump up to 0.1.1.
814
815 2003-08-29  Daiki Ueno  <ueno@unixuser.org>
816
817         * riece-guess.el (riece-guess-channel-try-functions): Default to
818         nil.
819         (riece-default-guess-channel): Abolish.
820         (riece-command-guess-switch-to-channel): Reconstruct
821         riece-guess-candidates when it is empty.
822
823 2003-08-28  Daiki Ueno  <ueno@unixuser.org>
824
825         * riece-highlight.el (riece-dialogue-change-face): Use defvar to
826         define.
827         (riece-dialogue-notice-face): Ditto.
828         (riece-dialogue-wallops-face): Ditto.
829         (riece-dialogue-error-face): Ditto.
830         (riece-dialogue-info-face): Ditto.
831         (riece-dialogue-server-face): Ditto.
832         (riece-dialogue-prefix-face): Ditto.
833         (riece-channel-list-default-face): Ditto.
834         (riece-channel-list-current-face): Ditto.
835
836         * riece-unread.el (riece-channel-list-unread-face): Use defvar to
837         define.
838
839 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
840
841         * riece-history.el (riece-history-insinuate): Don't set
842         riece-guess-channel-try-functions here.
843         (riece-history-requires): Don't require riece-guess.
844
845         * riece-unread.el (riece-unread-requires): Don't require
846         riece-guess.
847         (riece-unread-insinuate): Don't set
848         riece-guess-channel-try-functions here.
849
850 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
851
852         * riece-unread.el (riece-unread-after-display-message-function):
853         Rename from riece-unread-display-message-function.
854         (riece-unread-after-switch-to-channel-function): Rename from
855         riece-unread-channel-switch-hook.
856         (riece-guess-channel-from-unread): New function.
857         (riece-unread-requires): Require 'riece-guess and 'riece-history.
858         (riece-unread-insinuate): Setup riece-guess-channel-try-functions.
859
860         * riece-options.el (riece-addons): Add riece-guess, riece-history,
861         and riece-url.
862
863         * riece-layout.el (riece-reconfigure-windows-predicate): Don't
864         check riece-last-channel.
865
866         * riece-display.el (riece-switch-to-channel): Rename
867         riece-channel-switch-hook to
868         riece-after-switch-to-channel-functions.
869         (riece-switch-to-nearest-channel): Ditto.
870
871         * riece-guess.el: New add-on.
872         * COMPILE (riece-modules): Add riece-guess.
873         * Makefile.am (EXTRA_DIST): Add riece-guess.el
874
875         * riece-history.el: New add-on.
876         * COMPILE (riece-modules): Add riece-history.
877         * Makefile.am (EXTRA_DIST): Add riece-history.el
878
879 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
880
881         * riece-options.el (riece-connection-timeout): Abolish.
882
883         * riece-server.el (riece-clear-system): Abolish.
884         * riece.el (riece-exit): Merge riece-clear-system.
885
886 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
887
888         * riece-filter.el (riece-sentinel): Suppress status message when
889         riece-debug is nil.
890
891 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
892
893         * riece-highlight.el (riece-channel-list-mark-current-channel):
894         New function.
895
896         * riece-display.el (riece-channel-list-changed): New variable.
897         (riece-update-channel-list-buffer): Check riece-channel-list-changed.
898         (riece-update-channel-list-indicator): Ditto.
899
900 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
901
902         * riece-options.el (riece-addons): Enable riece-unread by default.
903
904         * riece-highlight.el (riece-channel-list-current-face): New variable.
905         (riece-channel-list-default-face): New face.
906
907         * riece-globals.el (riece-channel-list-buffer): Strip leading
908         whitespace.
909
910 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
911
912         * riece-unread.el: Require 'riece-highlight when compiling.
913         (riece-unread): New custom group.
914         (riece-channel-list-unread-face): New variable.
915         (riece-channel-list-unread-face): New face.
916         (riece-unread-requires): New function.
917         (riece-unread-insinuate): Add ?! to riece-channel-list-mark-face-alist.
918
919         * riece-highlight.el: Highlight *Channels* buffer; rename
920         riece-*-face -> riece-dialogue-*-face, riece-highlight-* ->
921         riece-dialogue-*.
922         (riece-channel-list-font-lock-keywords): New variable.
923         (riece-channel-list-mark-face-alist): New variable.
924
925 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
926
927         * riece-unread.el (riece-unread-update-channel-list-buffer):
928         Restore channel marks if exist.
929
930         * riece-naming.el (riece-naming-assert-join): Don't set
931         riece-redisplay-buffers.
932         (riece-naming-assert-part): Ditto.
933         (riece-naming-assert-rename): Ditto.
934
935         * riece-display.el (riece-redisplay-buffers): Abolish.
936         (riece-update-user-list-buffer): Don't check
937         riece-redisplay-buffers.
938         (riece-update-channel-list-buffer): Ditto; prefix "*" at the
939         beginning of the current channel.
940         (riece-switch-to-channel): Don't set riece-redisplay-buffers.
941         (riece-join-channel): Ditto.
942         (riece-part-channel): Ditto.
943
944 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
945
946         * riece-display.el (riece-join-channel): Parse non-nil elements in
947         riece-default-channel-binding.
948
949 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
950
951         * riece-identity.el (riece-format-identity): Add 'riece-identity
952         property to the resulting string.
953
954         * riece-misc.el (riece-concat-channel-topic): Don't append ":" if
955         topic is "".
956
957         * riece-300.el (riece-handle-322-message): Simplify message.
958
959         * riece-commands.el (riece-command-change-layout): Call
960         riece-command-configure-windows; Use setq instead of
961         custom-set-variables.
962
963 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
964
965         * Riece: Version 0.1.0 released.
966         * riece-version.el (riece-version-number): Bump up to 0.1.0.
967
968 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
969
970         * COMPILE (riece-compile-modules): Ignore errors during byte
971         compilation.
972         (riece-install-modules): If there lacks a compiled module, don't
973         attempt to install it.
974
975         * riece-options.el (riece-quit-timeout): Default to 10.
976
977         * riece.el (riece-dialogue-mode-map): Bind riece-command-change-layout.
978         (riece): Switch to riece-command-buffer before riece-redisplay-buffers.
979
980         * riece-unread.el: Require 'riece-commands.
981
982         * riece-server.el: Require 'riece-identity and 'riece-compat.
983
984         * riece-ndcc.el: Require 'riece-globals, 'riece-options,
985         'riece-display.
986         (riece-handle-dcc-request): Use riece-channel-buffer-name.
987
988         * riece-identity.el: Don't require 'riece-server.
989
990         * riece-doctor.el: Require 'riece-globals, 'riece-identity,
991         'riece-message, and 'riece-server.
992
993         * riece-ctcp.el: Require 'riece-display.
994
995         * riece-commands.el: Require 'riece-layout.
996         (riece-command-change-layout): New command.
997
998         * riece-alias.el: Require 'riece-identity.
999
1000         * riece-layout.el: No longer provided as an add-on.
1001         * riece-display.el: Remove window configuration stuff.
1002
1003 2003-08-24  Daiki Ueno  <ueno@unixuser.org>
1004
1005         * riece-rdcc.el (riece-command-dcc-send): Bind
1006         process-connection-type to nil.
1007
1008         * riece-300.el (riece-handle-319-message): New handler.
1009
1010         * riece.el (riece-buffer-mode-alist): Add riece-command-buffer.
1011         (riece): Signal an error when a server is opened;
1012         No need to initialize riece-command-buffer specially.
1013
1014 2003-08-22  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1015
1016         * riece-display.el (riece-configure-windows-top): Set
1017         `truncate-partial-width-windows' nil, when horizontal window
1018         split.
1019
1020 2003-08-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1021
1022         * riece-display.el (riece-configure-windows-top): Change
1023         user-list-buffer and channel-list-buffer window create logic.
1024
1025         * riece-skk-kakutei.el (riece-skk-kakutei-insinuate): Add
1026         require riece.el when compile.
1027
1028         * riece.el (riece): Use `riece-redisplay-buffers' instead of
1029         `riece-configure-windows'.
1030
1031 2003-08-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1032
1033         * riece-display.el (riece-configure-windows-top): New function.
1034         * riece-layout.el (riece-layout-alist): Add top.
1035
1036         * riece-skk-kakutei.el: New add-on.
1037         * COMPILE (riece-modules): Add riece-skk-kakutei.
1038         * Makefile.am (EXTRA_DIST): Add riece-skk-kakutei.el
1039
1040 2003-08-19  Daiki Ueno  <ueno@unixuser.org>
1041
1042         * riece-layout.el: New add-on.
1043         * COMPILE (riece-modules): Add riece-layout.
1044         * Makefile.am (EXTRA_DIST): Add riece-layout.el
1045
1046 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
1047
1048         * riece-options.el (riece-quit-timeout): New user option.
1049         * riece-server.el (riece-quit-server-process): New function.
1050         * riece-commands.el (riece-command-quit): Use it.
1051         (riece-command-close-server): Use it.
1052
1053 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
1054
1055         * riece-commands.el (riece-command-previous-channel): Skip nil in
1056         riece-current-channels.
1057
1058 2003-08-09  Daiki Ueno  <ueno@unixuser.org>
1059
1060         * riece-rdcc.el (riece-command-dcc-send): Accept output only from
1061         the ruby process.
1062
1063         * riece-xemacs.el: Don't require 'riece-compat.
1064
1065 2003-08-06  Daiki Ueno  <ueno@unixuser.org>
1066
1067         * riece-unread.el (riece-unread-update-channel-list-buffer): Call
1068         riece-parse-identity.
1069
1070 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
1071
1072         * riece-server.el (riece-find-server-name): Abolish.
1073
1074         * riece-alias.el: Add usage.
1075
1076 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
1077
1078         * riece-mini.el (riece-mini-send-message): Use
1079         riece-completing-read-identity; don't use riece-own-channel-message.
1080
1081         * riece-identity.el: Require 'riece-compat.
1082         (riece-identity-prefix-case-table): New variable.
1083         (riece-abbrev-identity-string-function): New variable.
1084         (riece-expand-identity-string-function): New variable.
1085         (riece-format-identity): Rename from riece-decode-identity.
1086         (riece-parse-identity): Rename from riece-encode-identity.
1087         (riece-with-identity-buffer): Abolish.
1088         (riece-identity-canonicalize-prefix): Use case-table.   
1089
1090         * riece-filter.el (riece-handle-numeric-reply): Decode messages.
1091         (riece-handle-message): Ditto.
1092
1093         * riece-alias.el: New add-on.
1094         * COMPILE (riece-modules): Add riece-alias.
1095         * Makefile.am (EXTRA_DIST): Add riece-alias.el.
1096
1097         * riece-emacs.el (riece-set-case-syntax-pair): New alias.
1098         * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
1099         * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
1100
1101 2003-08-03  Daiki Ueno  <ueno@unixuser.org>
1102
1103         * Riece: Version 0.0.4 released.
1104         * riece-version.el (riece-version-number): Bump up to 0.0.4.
1105
1106 2003-06-24  OHASHI Akira  <bg66@koka-in.org>
1107
1108         * riece-unread.el (riece-unread-display-message-function): Don't check
1109         `selected-window'. It doesn't work as expected.
1110
1111 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
1112
1113         * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
1114
1115         * riece-300.el: Rewrite using riece-decode-identity.
1116
1117         * riece-identity.el (riece-completing-read-identity): Signal an
1118         error when the encoded channel name is not matched with
1119         riece-channel-regexp.
1120
1121         * riece-globals.el (riece-channel-regexp): Moved from
1122         riece-channel.el.
1123         (riece-user-regexp): Moved form riece-user.el.
1124
1125 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
1126
1127         * riece-handle.el (riece-handle-join-message): Don't call
1128         riece-switch-to-channel.
1129         (riece-handle-part-message): Don't decode message if it is empty.
1130         (riece-handle-kick-message): Ditto.
1131         (riece-handle-quit-message): Ditto.
1132         (riece-handle-kill-message): Ditto.
1133
1134         * riece-commands.el (riece-command-part): Show the current channel
1135         as default candidate.
1136
1137         * riece-identity.el (riece-completing-read-identity): Accept
1138         optional 5th argument `initial'.
1139
1140         * riece-unread.el (riece-unread-update-channel-list-buffer):
1141         Simplified.
1142
1143         * riece-filter.el (riece-sentinel): Don't bind
1144         riece-inhibit-update-buffers.
1145
1146         * riece-display.el (riece-redisplay-buffer): New variable.
1147         (riece-inhibit-update-buffers): Abolish.
1148         (riece-update-channel-list-buffer): Memorize
1149         encoded identity as text property on each line. 
1150
1151         * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
1152         buffer local.
1153         (riece-user-list-mode): Ditto.
1154
1155 2003-06-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
1156
1157         * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
1158         Fix example setting, don't use 3rd arg of add-to-list.
1159
1160         * riece-coding.el (riece-default-coding-system): Fix default value.
1161
1162 2003-06-22  Daiki Ueno  <ueno@unixuser.org>
1163
1164         * riece-display.el (riece-inhibit-update-buffers): New variable.
1165         * riece-filter.el (riece-sentinel): Bind
1166         riece-inhibit-update-buffers while removing channels from
1167         riece-current-channels.
1168         * riece-unread.el (riece-unread-display-message-function): Don't
1169         update channel list buffer when riece-inhibit-update-buffers is
1170         non-nil.
1171         (riece-unread-channel-switch-hook): Ditto.
1172         (riece-unread-insinuate): Add
1173         riece-unread-update-channel-list-buffer to
1174         riece-update-buffer-functions.
1175
1176         * riece-commands.el (riece-command-switch-to-channel): Call
1177         riece-redisplay-buffers instead of riece-command-configure-windows.
1178
1179         * riece-identity.el (riece-completing-read-identity): Remove nil
1180         from riece-current-channels before converting it to an alist.
1181
1182 2003-06-17  OHASHI Akira  <bg66@koka-in.org>
1183
1184         * riece-unread.el (riece-unread-display-message-function): Check a
1185         `selected-window'.
1186
1187         * riece-mini.el: New add-on.
1188         * COMPILE (riece-modules): Add `riece-mini'.
1189         * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
1190
1191         * riece-display.el (riece-channel-buffer-create): Add new hook.
1192         * riece-log.el: New add-on for saving irc logs.
1193         * COMPILE (riece-modules): Add `riece-log'.
1194         * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
1195
1196         * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
1197         (riece-command-part): Ditto.
1198
1199 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
1200
1201         * riece-naming.el (riece-naming-assert-join): Call
1202         riece-update-buffers.
1203         (riece-naming-assert-part): Ditto.
1204
1205         * riece-filter.el (riece-sentinel): Don't bind
1206         riece-overriding-server-name; use riece-part-channel.
1207
1208         * riece-display.el (riece-switch-to-channel): Don't set
1209         riece-channel-buffer.
1210         (riece-update-buffers): Set riece-channel-buffer here.
1211
1212         * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
1213         (riece-command-close-server): Fixed completion bug.
1214         (riece-command-universal-server-name-argument): Ditto.
1215
1216 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
1217
1218         * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
1219         doctor-read-print.
1220
1221         * riece-handle.el (riece-handle-nick-message): Use
1222         riece-decode-identity to decode user.
1223         (riece-handle-join-message): Ditto.
1224         (riece-handle-part-message): Ditto.
1225         (riece-handle-kick-message): Ditto.
1226         (riece-handle-quit-message): Ditto.
1227         (riece-handle-kill-message): Ditto.
1228         (riece-handle-invite-message): Ditto.
1229         (riece-handle-topic-message): Ditto.
1230         (riece-handle-mode-message): Ditto.
1231
1232 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
1233
1234         * riece-message.el (riece-own-channel-message): Abolish.
1235
1236         * riece-commands.el (riece-command-send-message): Don't use
1237         riece-own-channel-message.
1238
1239         * riece-doctor.el (riece-doctor-reply): Don't use
1240         riece-own-channel-message.
1241         (riece-doctor-hello-regexp): New user option.
1242         (riece-doctor-bye-regexp): New user option.
1243
1244 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
1245
1246         * riece-identity.el (riece-identity-member-no-server): Abolish.
1247
1248         * riece-doctor.el (riece-doctor-patients): Make it global variable.
1249         (riece-doctor-after-privmsg-hook): Use riece-identity-member
1250         instead of riece-identity-member-no-server.
1251
1252 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
1253
1254         * riece-doctor.el: New add-on.
1255         * COMPILE (riece-modules): Add riece-doctor.
1256         * Makefile.am (EXTRA_DIST): Add riece-doctor.el
1257
1258 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
1259
1260         * riece-handle.el (riece-handle-nick-message): Follow the change
1261         of riece-identity-member.
1262
1263         * riece-commands.el (riece-command-next-channel): Use
1264         riece-identity-member instead of riece-identity-member-no-server.
1265         (riece-command-previous-channel): Ditto.
1266
1267 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
1268
1269         * riece-identity.el (riece-completing-read-identity): Remove nil
1270         from channels before completing-read.
1271
1272         * riece-message.el (riece-message-make-name): Fix condition for priv.
1273         (riece-message-make-global-name): Ditto.
1274         (riece-message-buffer): Ditto.
1275
1276         * riece-misc.el (riece-current-nickname): Use
1277         riece-with-identity-buffer.
1278
1279 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
1280
1281         * riece-message.el (riece-message-parent-buffers): Regard message's
1282         speaker as target when priv mode.
1283
1284         * riece-display.el (riece-update-channel-indicator): Decode
1285         riece-current-channel even in priv mode.
1286
1287         * riece-identity.el (riece-decode-identity): Respect prefix-only.
1288         (riece-completing-read-identity): Check if illegal characters in
1289         channel name.
1290
1291 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
1292
1293         * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
1294         * riece-globals.el (riece-user-buffer-format): Abolish.
1295         (riece-user-list-buffer): Default to " *Users*".
1296         * riece-display.el (riece-user-list-buffer-name): Abolish.
1297         (riece-user-list-buffer-create): Abolish.
1298
1299 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
1300
1301         * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
1302         (riece-handle-message): Ditto.
1303         (riece-sentinel): Clear system here.
1304
1305         * riece-server.el (riece-server-process-name): New function.
1306         (riece-server-process): New function.
1307         (riece-close-server): Abolish.
1308
1309         * riece-identity.el: Adopt vector object representation for
1310         identity objects.
1311         (riece-with-identity-buffer): New macro.
1312         (riece-decode-identity): New function.
1313         (riece-encode-identity): New function.
1314
1315         * riece-globals.el (riece-process-list): New variable.
1316         (riece-server-process-alist): Abolish.
1317         (riece-channel-buffer-alist): Abolish.
1318         (riece-user-list-buffer-alist): Abolish.
1319         (riece-short-channel-indicator): New variable.
1320
1321         * riece-channel.el: Assume that we are already in the server buffer.
1322         * riece-user.el: Likewise.
1323
1324 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
1325
1326         * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
1327
1328         * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
1329         `add-to-list'.
1330
1331 2003-06-06  Daiki Ueno  <ueno@unixuser.org>
1332
1333         * riece-channel.el (riece-forget-channel): Fixed.
1334         (riece-channel-modeless-regexp): Abolish.
1335         (riece-channel-modeless-p): Abolish.
1336
1337 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
1338
1339         * riece-unread.el (riece-unread-display-message-function): Delete the
1340         target before adding to list.
1341         (riece-unread-switch-to-channel): New function.
1342         (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
1343         Bind "u" to riece-dialogue-mode-map.
1344         Bind "u" to riece-channel-list-mode-map.
1345
1346         * riece.el (riece-channel-list-mode-map): Don't bind
1347         `riece-command-unread-channel'.
1348
1349 2003-06-04  Yoichi NAKAYAMA  <yoichi@geiin.org>
1350
1351         * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
1352         riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
1353         riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
1354         riece.el: Don't require riece-inlines since it has been removed.
1355
1356 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1357
1358         * riece-display.el (riece-update-user-list-buffer): Rename from
1359         riece-user-list-update-buffer.
1360         (riece-update-channel-list-buffer): Rename from
1361         riece-channel-list-update-buffer.
1362
1363 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1364
1365         * riece-identity.el (riece-identity-canonicalize-prefix): Moved
1366         from riece-inlines.el; renamed from scandinavian-downcase.
1367         (riece-identity-equal-no-server): Moved from riece-inlines.el;
1368         renamed from scandinavian-equal-ignore-case.
1369         (riece-identity-equal-no-server-safe): New function.
1370         (riece-identity-member-no-server): Moved from riece-inlines.el;
1371         renamed from scandinavian-member-ignore-case.
1372         (riece-identity-member-no-server-safe): New function.
1373
1374         * riece-inlines.el: Removed.
1375         * COMPILE (riece-modules): Remove riece-inlines.
1376         * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
1377
1378 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1379
1380         * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
1381         explicitly.
1382         * riece-ndcc.el: Don't call delete-process explicitly.
1383         * riece-server.el (riece-close-server-process): Don't call
1384         delete-process explicitly unless riece-debug == t.
1385
1386 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1387
1388         * riece-inlines.el (scandinavian-downcase): New inline function.
1389         (scandinavian-equal-ignore-case): Rename from
1390         string-equal-ignore-case.
1391         (scandinavian-member-ignore-case): Rename from
1392         string-list-member-ignore-case.
1393
1394         * riece-identity.el (riece-identity-equal): Rename from
1395         riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
1396         (riece-identity-equal-safe): Rename from riece-identity-equal.
1397         (riece-identity-member): Rename from riece-identity-member-no-server.
1398         (riece-identity-member-safe): Rename from riece-identity-member.
1399         (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
1400         (riece-identity-assoc-safe): Rename from riece-identity-assoc.
1401
1402 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1403
1404         * riece-rdcc.el: Require 'riece-ctcp.
1405         (riece-rdcc-insinuate): Add "DCC" to
1406         riece-ctcp-additional-clientinfo.
1407
1408         * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
1409         (riece-command-ctcp-clientinfo): New command.
1410         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
1411         (riece-handle-ctcp-clientinfo-request): New handler.
1412         (riece-handle-ctcp-clientinfo-response): New handler.
1413
1414         * riece-server.el (riece-open-server): No need to use
1415         get-buffer-create to reuse process buffer.
1416
1417 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
1418
1419         * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
1420         DCC process.
1421         (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
1422
1423         * riece-server.el (riece-server-keyword-map): `:coding-system' ->
1424         `:coding'.
1425         (riece-open-server): Follow the change.
1426
1427         * riece-ctcp.el (riece-command-ctcp-action): New command.
1428         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
1429         (riece-handle-ctcp-action-request): New handler.
1430
1431         * riece.el (riece-command-mode): Enclose status indicators with
1432         `{}'; show riece-user-indicator.
1433         (riece-channel-mode): Likewise.
1434         (riece-dialogue-mode): Enclose status indicators with `{}'.
1435         * riece-globals.el (riece-user-indicator): New indicator.
1436         (riece-freeze-indicator): Default to "-".
1437         * riece-display.el (riece-update-channel-indicator): Don't update
1438         modeline.
1439         (riece-update-status-indicators): Set riece-user-indicator.
1440         * riece-300.el (riece-handle-324-message): Update channel indicator.
1441
1442 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
1443
1444         * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
1445         (riece-dialogue-mode): Call riece-update-status-indicators.
1446         (riece-channel-mode): Add riece-operator-indicator to
1447         mode-line-buffer-identification.
1448         * riece-user.el (riece-make-user): New attribute `operator'.
1449         (riece-user-operator): New function.
1450         (riece-user-set-operator): New function.
1451         (riece-user-toggle-away): New function.
1452         (riece-user-toggle-operator): New function.
1453         * riece-misc.el (riece-own-frozen): Revive.
1454         * riece-message.el (riece-display-message): Reset riece-freeze if
1455         riece-freeze == 'own && (riece-message-own-p message).
1456         * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
1457         (riece-operator-indicator): New variable.
1458         * riece-display.el (riece-update-status-indicators): New function.
1459         (riece-update-buffer-functions): Add it.
1460         * riece-commands.el (riece-command-toggle-freeze): Don't call
1461         riece-freeze.
1462         (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
1463         * riece-300.el (riece-handle-302-message): Use
1464         riece-user-toggle-away instead of riece-user-set-away.
1465         (riece-handle-301-message): Ditto.
1466         (riece-handle-305-message): Ditto.
1467         (riece-handle-306-message): Ditto.
1468         (riece-handle-352-message): Ditto.
1469
1470 2003-06-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1471
1472         * riece-commands.el (riece-command-next-channel): Circularly
1473         follow the channel list.
1474         (riece-command-previous-channel): Ditto.
1475
1476 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
1477
1478         * riece.el (riece-command-mode): Set default value of riece-freeze
1479         & riece-own-freeze.
1480         * riece-options.el (riece-away-message): New user option.
1481         * riece-commands.el (riece-command-toggle-away): Query user away
1482         message.
1483         * riece-300.el (riece-handle-301-message): Set user's away status.
1484         (riece-handle-305-message): Ditto.
1485         (riece-handle-306-message): Ditto.
1486         (riece-handle-302-message): Ditto.
1487         (riece-handle-352-message): Ditto.
1488
1489 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
1490
1491         * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
1492         and riece-identity.
1493         (riece-command-dcc-receive): Check the existence of
1494         set-buffer-multibyte.
1495
1496 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
1497
1498         * Riece: Version 0.0.3 released.
1499         * riece-version.el (riece-version-number): Bump up to 0.0.3.
1500
1501         * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
1502         in hooks.
1503         (riece-handle-ctcp-response): Ditto.
1504
1505 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
1506
1507         * riece-user.el (riece-rename-user): Don't modify entry when
1508         old-name == new-name.
1509
1510         * riece-display.el (riece-configure-windows): Use window-buffer
1511         instead of current-buffer.
1512
1513         * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
1514         (riece-rdcc-ruby-command): New user option.
1515         (riece-rdcc-send-program): New user option.
1516         (riece-rdcc-decode-address-program): New user option.
1517         (riece-rdcc-substitute-variables): New function.
1518         (riece-command-dcc-send): Use it.
1519         (riece-rdcc-decode-address): Use it.
1520
1521 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
1522
1523         * riece-rdcc.el: New add-on.
1524
1525         * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
1526
1527 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
1528
1529         * riece-ndcc.el: New add-on.
1530         * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
1531
1532 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
1533
1534         * riece-server.el (riece-open-server): Simplify message.
1535
1536         * riece-commands.el (riece-command-open-server): Throw an error
1537         when the server is already opened.
1538
1539         * riece-filter.el (riece-sentinel): Simplified.
1540
1541         * riece-display.el (riece-user-list-update-buffer): Check the
1542         existence of riece-user-list-buffer.
1543         (riece-channel-list-update-buffer): Check the existence of
1544         riece-channel-list-buffer.
1545         (riece-set-window-points): Ditto.
1546
1547         * riece-commands.el (riece-command-open-server): Simplified.
1548         (riece-command-toggle-channel-buffer-mode): Set
1549         riece-save-variables-are-dirty to t.
1550         (riece-command-toggle-user-list-buffer-mode): Ditto.
1551         (riece-command-toggle-channel-list-buffer-mode): Ditto.
1552
1553         * riece-server.el (riece-start-server): Abolish.
1554         (riece-open-server): Set riece-server-process-alist and
1555         riece-server-process here.
1556
1557 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
1558
1559         * riece-filter.el (riece-sentinel): Close process even if
1560         riece-reconnect-with-password == t.
1561         (riece-handle-message): Catch errors occured in hooks.
1562
1563         * riece-server.el (riece-open-server): Reuse server buffer.
1564         (riece-close-server-process): Delete process even if process is
1565         not running.
1566
1567 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
1568
1569         * riece-server.el (riece-open-server): No need to reset
1570         riece-reconnect-with-password.
1571
1572         * riece-filter.el (riece-sentinel): Don't call riece when
1573         riece-reconnect-with-password = t and process !=
1574         riece-server-process.
1575
1576         * riece-url.el: Fix usage.
1577
1578         * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
1579
1580         * riece-unread.el: New add-on.
1581         * COMPILE (riece-modules): Add riece-unread.
1582         * Makefile.am (EXTRA_DIST): Add riece-unread.el
1583
1584         * riece-300.el (riece-handle-322-message): New handler.
1585         (riece-handle-323-message): New handler.
1586
1587 2003-05-30  Daiki Ueno  <ueno@unixuser.org>
1588
1589         * riece-display.el (riece-configure-windows): Select other window
1590         when minibuffer is active.
1591
1592         * riece-commands.el (riece-command-list): New command.
1593         (riece-command-enter-message-as-notice): New command.
1594         * riece.el (riece-command-mode-map): Bind
1595         riece-command-enter-message-as-notice and riece-command-list.
1596
1597         * riece-server.el (riece-close-server): Skip nil when leaving
1598         channels before closing server.
1599
1600 2003-05-30  Daiki Ueno  <ueno@unixuser.org>
1601
1602         * Riece: Version 0.0.2 released.
1603         * riece-version.el (riece-version-number): Bump up to 0.0.2.
1604
1605         * riece.el (riece-load-and-build-addon-dependencies): Fixed.
1606         * riece-url.el (riece-url-requires): Don't assert dependency on
1607         riece-highlight unless it appears in riece-addons.
1608
1609         * riece-url.el: New add-on.
1610         * COMPILE (riece-modules): Add riece-url.
1611
1612         * riece-message.el (riece-message-make-bracket): Abolish.
1613         * riece-highlight.el (riece-highlight-font-lock-keywords):
1614         Give up to fontify "-nick-" or "-nick server-".
1615
1616         * riece-highlight.el (riece-highlight-font-lock-keywords):
1617         Simplified regexp.
1618
1619         * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
1620         (riece-handle-ctcp-response): Ditto.
1621
1622         * riece-highlight.el: Make it an add-on.
1623         (riece-highlight-insinuate): New function.
1624         * riece.el: Don't require 'riece-highlight.
1625         * riece-options.el (riece-addons): Turn on riece-highlight and
1626         riece-ctcp by default.
1627
1628         * riece-display.el (riece-configure-windows-predicate): New function.
1629         (riece-configure-windows-predicate): New user option.
1630         (riece-redisplay-buffers): Use it.
1631
1632         * riece-complete.el: Require 'cl for butlast.
1633
1634         * Makefile.am (elc): Renamed from "compile".
1635
1636         * riece.el (riece-dialogue-mode-map): Bind
1637         riece-command-toggle-channel-list-buffer-mode.
1638
1639         * riece-display.el (riece-configure-windows): Typo fixed.
1640
1641         * riece-user.el (riece-user-toggle-channel): Use member instead of
1642         memq.
1643
1644 2003-05-29  Daiki Ueno  <ueno@unixuser.org>
1645
1646         * riece-ctcp.el (riece-ctcp-insinuate): New function.
1647
1648         * riece-options.el (riece-addons): New user option.
1649         (riece-addon-directory): New user option.
1650
1651         * riece.el (riece-load-and-build-addon-dependencies): New function.
1652         (riece-insinuate-addons): New function.
1653         (riece): Call riece-insinuate-addons.
1654
1655         * riece-misc.el (riece-get-users-on-server): Moved from
1656         riece-commands.el.
1657
1658         * riece-ctcp.el: New file.
1659         * COMPILE (riece-modules): Add riece-ctcp.
1660         * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
1661
1662 2003-05-29  Daiki Ueno  <ueno@unixuser.org>
1663
1664         * Riece: Version 0.0.1 released.
1665
1666         * riece-commands.el (riece-command-names): New command.
1667         (riece-command-who): New command.
1668
1669         * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
1670         riece-command-who.
1671
1672         * riece-300.el (riece-handle-341-message): New handler.
1673         (riece-handle-352-message): New handler.
1674
1675         * riece-commands.el (riece-command-invite): Don't accept channel
1676         argument; throw an error when user is not on a channel.
1677         (riece-command-kick): New command.