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