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