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