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