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