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