643f6235162492723eb07824ab7b16459a423610
[riece] / lisp / ChangeLog
1 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2
3         * riece.el (riece-channel-list-mode): Initialize
4         riece-update-buffer-functions.
5         (riece-user-list-mode): Ditto.
6
7         * riece-globals.el (riece-channel-indicator): Rename from
8         riece-short-channel-indicator.
9         (riece-long-channel-indicator): Rename from
10         riece-channel-indicator.
11
12         * riece-display.el (riece-update-buffer-functions): Default to
13         nil.
14         (riece-update-indicator-functions): New variable splitted from
15         riece-update-buffer-functions.
16         (riece-update-channel-indicator): Rename from
17         riece-update-short-channel-indicator.
18         (riece-update-long-channel-indicator): Rename from
19         riece-update-channel-indicator.
20         (riece-update-buffers): Don't set riece-channel-buffer.
21         (riece-switch-to-channel): Set riece-channel-buffer here.
22
23         * riece-button.el (riece-user-button-popup-menu): Change order.
24         (riece-button-update-buffer): Unify
25         riece-button-update-channel-list-buffer and
26         riece-button-update-user-list-buffer.
27
28 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
29
30         * riece-history.el (riece-history-insinuate): In
31         riece-after-switch-to-channel-functions, check whether the last
32         channel is nil.
33
34         * riece-xemacs.el (riece-event-buffer): New alias.
35         (riece-event-point): New alias.
36
37         * riece-emacs.el (riece-event-buffer): New function.
38         (riece-event-point): New function.
39
40         * riece-display.el (riece-update-user-list-buffer): Use
41         riece-format-identity to add 'riece-identity property to user
42         names.
43
44         * riece-button.el (riece-user-button-popup-menu): New variable.
45         (riece-identity-button): Rename from riece-channel-button.
46         (riece-button-switch-to-identity): Rename from
47         riece-channel-button-action.
48         (riece-identity-button-popup-menu): Rename from
49         riece-channel-button-popup-menu; set point to the position the
50         event occurred.
51         (riece-user-button-join-partner): New function.
52         (riece-user-button-set-operators): New function.
53         (riece-user-button-set-speakers): New function.
54         (riece-user-button-finger): New function.
55         (riece-make-identity-button-map): New function.
56         (riece-button-map-identity-region): New function; splitted from
57         riece-button-add-identity-button.
58         (riece-button-add-identity-button): Use it.
59         (riece-button-update-user-list-buffer): New function.
60         (riece-button-insinuate): Add riece-button-update-user-list-buffer
61         to riece-update-buffer-functions.
62
63 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
64
65         * riece-xemacs.el (riece-mouse-2): New variable.
66         (riece-popup-menu-popup): New function.
67
68         * riece-emacs.el (riece-mouse-2): New variable.
69         (riece-popup-menu-bogus-filter-constructor): New macro.
70         (riece-popup-menu-popup): New function.
71
72         * riece-commands.el (riece-command-list): Use identity prefix
73         instead of formatted identity.
74
75         * riece-button.el (riece-channel-button-popup-menu): New variable.
76         (riece-channel-button): Arrange help-echo.
77         (riece-channel-button-switch-to-channel): New function.
78         (riece-channel-button-part): New function.
79         (riece-channel-button-list): New function.
80         (riece-channel-button-map): New variable.
81         (riece-button-add-channel-buttons): Add 'local-map and 'keymap
82         properties on channel buttons.
83
84 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
85
86         * riece-button.el (riece-button-insinuate): Buttonize channel buffers.
87
88         * riece-history.el (riece-channel-list-history-face): New face.
89         (riece-history-format-channel-list-line): New function.
90         (riece-history-insinuate): Add ?+ to
91         riece-channel-list-mark-face-alist; add
92         riece-history-format-channel-list-line to
93         riece-format-channel-list-line-functions.
94
95         * riece-highlight.el (riece-channel-list-current-face): Arrange colors.
96
97 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
98
99         * riece-unread.el (riece-unread-after-display-message-function):
100         Do nothing when message-target is already in
101         riece-unread-channels; call riece-redisplay-buffers.
102         (riece-unread-update-channel-list-buffer): Abolish.
103         (riece-unread-after-switch-to-channel-function): Don't call
104         riece-unread-update-channel-list-buffer.
105         (riece-unread-format-channel-list-line): New function.
106         (riece-unread-insinuate): Add
107         riece-unread-format-channel-list-line to
108         riece-format-channel-list-line; don't add
109         riece-unread-update-channel-list-buffer to
110         riece-update-buffer-functions.
111
112         * riece-highlight.el (riece-channel-list-mark-current-channel):
113         Abolish; merged into riece-update-channel-list-buffer.
114         (riece-highlight-insinuate): Don't add
115         riece-channel-list-mark-current-channel to
116         riece-after-switch-to-channel-functions.
117
118         * riece-display.el (riece-channel-list-changed): Abolish.
119         (riece-update-channel-list-buffer): Always redisplay channel-list
120         buffer.
121         (riece-update-channel-list-indicator): Always redisplay
122         channel-list indicator.
123         (riece-format-channel-list-line): New function.
124         (riece-update-buffers): Don't clear riece-channel-list-changed.
125         (riece-join-channel): Don't set riece-channel-list-changed.
126         (riece-part-channel): Ditto.
127
128 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
129
130         * riece-options.el (riece-addons): Add riece-button.
131
132         * riece-display.el (riece-update-channel-list-buffer): Avoid to
133         use format to preserve 'riece-identity property.
134
135         * riece-unread.el (riece-unread-update-channel-list-buffer):
136         Simplified.
137         (riece-unread-insinuate): Delay adding
138         riece-unread-update-channel-list-buffer to
139         riece-update-buffer-functions.
140
141         * riece-button.el: New add-on.
142         * COMPILE (riece-modules): Add riece-button.
143         * Makefile.am (EXTRA_DIST): Add riece-button.el
144
145 2003-10-08  Daiki Ueno  <ueno@unixuser.org>
146
147         * riece-server.el (riece-close-server-process): 
148         (riece-quit-server-process): Call riece-close-server-process
149         instead of kill-process; call riece-exit if no process is available.
150
151 2003-10-07  Daiki Ueno  <ueno@unixuser.org>
152
153         * riece-display.el (riece-channel-buffer-name): Check whether
154         IDENTITY is a member of riece-current-channels.
155
156 2003-10-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
157
158         * riece-commands.el (riece-command-kick): Fix completing-read
159         collection argument.
160
161 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
162
163         * riece-000.el: Require 'riece-commands.
164         * riece-200.el: Don't require 'riece-commands.
165         * riece-300.el: Ditto.
166
167 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
168
169         * Riece: Version 0.1.2 released.
170         * riece-version.el (riece-version-number): Bump up to 0.1.2.
171
172 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
173
174         * riece-filter.el (riece-sentinel): Don't clear
175         riece-reconnect-with-password.
176         * riece-server.el (riece-open-server): Clear
177         riece-reconnect-with-password here.
178
179 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
180
181         * riece-globals.el (riece-join-channel-candidate): New variable.
182         * riece-commands.el (riece-command-join): Prompt
183         riece-join-channel-candidate.
184
185         * riece-handle.el (riece-handle-invite-message): Set
186         riece-join-channel-candidate when the user is invited.
187         * riece-naming.el (riece-naming-assert-join): Clear
188         riece-join-channel-candidate.
189
190 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
191
192         * riece-identity.el (riece-completing-read-identity): Pass 6th &
193         7th arguments to completing-read.
194
195         * riece-commands.el (riece-command-part): Use 6th argument DEFAULT
196         of riece-completing-read-identity.
197
198         * riece-handle.el (riece-handle-invite-message): Fix parsing of
199         parameters.
200
201         * riece-display.el (riece-update-channel-list-buffer): Don't clear
202         riece-channel-list-changed.
203         (riece-update-buffers): Clear it.
204
205 2003-10-01  Daiki Ueno  <ueno@unixuser.org>
206
207         * riece-rdcc.el (riece-rdcc-save-directory): New user option.
208
209 2003-09-29  Daiki Ueno  <ueno@unixuser.org>
210
211         * riece-000.el (riece-handle-001-message): Parse elements in
212         riece-startup-channel-list.
213
214 2003-09-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
215
216         * riece-skk-kakutei.el
217         (riece-skk-kakutei-command-enter-message-as-notice): Fix typo.
218
219 2003-09-20  Daiki Ueno  <ueno@unixuser.org>
220
221         * riece-options.el (riece-startup-channel-list): Revive.
222         * riece-000.el (riece-handle-001-message): Process
223         riece-startup-channel-list.
224
225         * riece-server.el (riece-open-server): Display "Logging in to
226         XXX..." message.
227         * riece-000.el (riece-handle-001-message): Clear "Logging in to
228         XXX..." message; call riece-after-login-hook.
229
230 2003-09-07  Daiki Ueno  <ueno@unixuser.org>
231
232         * riece-unread.el (riece-unread-after-display-message-function):
233         Simplified.
234
235 2003-09-02  Daiki Ueno  <ueno@unixuser.org>
236
237         * riece-commands.el (riece-command-join): Extract target
238         identity-prefix before applying riece-channel-p; format target.
239
240 2003-08-30  Daiki Ueno  <ueno@unixuser.org>
241
242         * Riece: Version 0.1.1 released.
243         * riece-version.el (riece-version-number): Bump up to 0.1.1.
244
245 2003-08-29  Daiki Ueno  <ueno@unixuser.org>
246
247         * riece-guess.el (riece-guess-channel-try-functions): Default to
248         nil.
249         (riece-default-guess-channel): Abolish.
250         (riece-command-guess-switch-to-channel): Reconstruct
251         riece-guess-candidates when it is empty.
252
253 2003-08-28  Daiki Ueno  <ueno@unixuser.org>
254
255         * riece-highlight.el (riece-dialogue-change-face): Use defvar to
256         define.
257         (riece-dialogue-notice-face): Ditto.
258         (riece-dialogue-wallops-face): Ditto.
259         (riece-dialogue-error-face): Ditto.
260         (riece-dialogue-info-face): Ditto.
261         (riece-dialogue-server-face): Ditto.
262         (riece-dialogue-prefix-face): Ditto.
263         (riece-channel-list-default-face): Ditto.
264         (riece-channel-list-current-face): Ditto.
265
266         * riece-unread.el (riece-channel-list-unread-face): Use defvar to
267         define.
268
269 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
270
271         * riece-history.el (riece-history-insinuate): Don't set
272         riece-guess-channel-try-functions here.
273         (riece-history-requires): Don't require riece-guess.
274
275         * riece-unread.el (riece-unread-requires): Don't require
276         riece-guess.
277         (riece-unread-insinuate): Don't set
278         riece-guess-channel-try-functions here.
279
280 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
281
282         * riece-unread.el (riece-unread-after-display-message-function):
283         Rename from riece-unread-display-message-function.
284         (riece-unread-after-switch-to-channel-function): Rename from
285         riece-unread-channel-switch-hook.
286         (riece-guess-channel-from-unread): New function.
287         (riece-unread-requires): Require 'riece-guess and 'riece-history.
288         (riece-unread-insinuate): Setup riece-guess-channel-try-functions.
289
290         * riece-options.el (riece-addons): Add riece-guess, riece-history,
291         and riece-url.
292
293         * riece-layout.el (riece-reconfigure-windows-predicate): Don't
294         check riece-last-channel.
295
296         * riece-display.el (riece-switch-to-channel): Rename
297         riece-channel-switch-hook to
298         riece-after-switch-to-channel-functions.
299         (riece-switch-to-nearest-channel): Ditto.
300
301         * riece-guess.el: New add-on.
302         * COMPILE (riece-modules): Add riece-guess.
303         * Makefile.am (EXTRA_DIST): Add riece-guess.el
304
305         * riece-history.el: New add-on.
306         * COMPILE (riece-modules): Add riece-history.
307         * Makefile.am (EXTRA_DIST): Add riece-history.el
308
309 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
310
311         * riece-options.el (riece-connection-timeout): Abolish.
312
313         * riece-server.el (riece-clear-system): Abolish.
314         * riece.el (riece-exit): Merge riece-clear-system.
315
316 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
317
318         * riece-filter.el (riece-sentinel): Suppress status message when
319         riece-debug is nil.
320
321 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
322
323         * riece-highlight.el (riece-channel-list-mark-current-channel):
324         New function.
325
326         * riece-display.el (riece-channel-list-changed): New variable.
327         (riece-update-channel-list-buffer): Check riece-channel-list-changed.
328         (riece-update-channel-list-indicator): Ditto.
329
330 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
331
332         * riece-options.el (riece-addons): Enable riece-unread by default.
333
334         * riece-highlight.el (riece-channel-list-current-face): New variable.
335         (riece-channel-list-default-face): New face.
336
337         * riece-globals.el (riece-channel-list-buffer): Strip leading
338         whitespace.
339
340 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
341
342         * riece-unread.el: Require 'riece-highlight when compiling.
343         (riece-unread): New custom group.
344         (riece-channel-list-unread-face): New variable.
345         (riece-channel-list-unread-face): New face.
346         (riece-unread-requires): New function.
347         (riece-unread-insinuate): Add ?! to riece-channel-list-mark-face-alist.
348
349         * riece-highlight.el: Highlight *Channels* buffer; rename
350         riece-*-face -> riece-dialogue-*-face, riece-highlight-* ->
351         riece-dialogue-*.
352         (riece-channel-list-font-lock-keywords): New variable.
353         (riece-channel-list-mark-face-alist): New variable.
354
355 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
356
357         * riece-unread.el (riece-unread-update-channel-list-buffer):
358         Restore channel marks if exist.
359
360         * riece-naming.el (riece-naming-assert-join): Don't set
361         riece-redisplay-buffers.
362         (riece-naming-assert-part): Ditto.
363         (riece-naming-assert-rename): Ditto.
364
365         * riece-display.el (riece-redisplay-buffers): Abolish.
366         (riece-update-user-list-buffer): Don't check
367         riece-redisplay-buffers.
368         (riece-update-channel-list-buffer): Ditto; prefix "*" at the
369         beginning of the current channel.
370         (riece-switch-to-channel): Don't set riece-redisplay-buffers.
371         (riece-join-channel): Ditto.
372         (riece-part-channel): Ditto.
373
374 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
375
376         * riece-display.el (riece-join-channel): Parse non-nil elements in
377         riece-default-channel-binding.
378
379 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
380
381         * riece-identity.el (riece-format-identity): Add 'riece-identity
382         property to the resulting string.
383
384         * riece-misc.el (riece-concat-channel-topic): Don't append ":" if
385         topic is "".
386
387         * riece-300.el (riece-handle-322-message): Simplify message.
388
389         * riece-commands.el (riece-command-change-layout): Call
390         riece-command-configure-windows; Use setq instead of
391         custom-set-variables.
392
393 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
394
395         * Riece: Version 0.1.0 released.
396         * riece-version.el (riece-version-number): Bump up to 0.1.0.
397
398 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
399
400         * COMPILE (riece-compile-modules): Ignore errors during byte
401         compilation.
402         (riece-install-modules): If there lacks a compiled module, don't
403         attempt to install it.
404
405         * riece-options.el (riece-quit-timeout): Default to 10.
406
407         * riece.el (riece-dialogue-mode-map): Bind riece-command-change-layout.
408         (riece): Switch to riece-command-buffer before riece-redisplay-buffers.
409
410         * riece-unread.el: Require 'riece-commands.
411
412         * riece-server.el: Require 'riece-identity and 'riece-compat.
413
414         * riece-ndcc.el: Require 'riece-globals, 'riece-options,
415         'riece-display.
416         (riece-handle-dcc-request): Use riece-channel-buffer-name.
417
418         * riece-identity.el: Don't require 'riece-server.
419
420         * riece-doctor.el: Require 'riece-globals, 'riece-identity,
421         'riece-message, and 'riece-server.
422
423         * riece-ctcp.el: Require 'riece-display.
424
425         * riece-commands.el: Require 'riece-layout.
426         (riece-command-change-layout): New command.
427
428         * riece-alias.el: Require 'riece-identity.
429
430         * riece-layout.el: No longer provided as an add-on.
431         * riece-display.el: Remove window configuration stuff.
432
433 2003-08-24  Daiki Ueno  <ueno@unixuser.org>
434
435         * riece-rdcc.el (riece-command-dcc-send): Bind
436         process-connection-type to nil.
437
438         * riece-300.el (riece-handle-319-message): New handler.
439
440         * riece.el (riece-buffer-mode-alist): Add riece-command-buffer.
441         (riece): Signal an error when a server is opened;
442         No need to initialize riece-command-buffer specially.
443
444 2003-08-22  TAKAHASHI Kaoru  <kaoru@kaisei.org>
445
446         * riece-display.el (riece-configure-windows-top): Set
447         `truncate-partial-width-windows' nil, when horizontal window
448         split.
449
450 2003-08-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
451
452         * riece-display.el (riece-configure-windows-top): Change
453         user-list-buffer and channel-list-buffer window create logic.
454
455         * riece-skk-kakutei.el (riece-skk-kakutei-insinuate): Add
456         require riece.el when compile.
457
458         * riece.el (riece): Use `riece-redisplay-buffers' instead of
459         `riece-configure-windows'.
460
461 2003-08-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
462
463         * riece-display.el (riece-configure-windows-top): New function.
464         * riece-layout.el (riece-layout-alist): Add top.
465
466         * riece-skk-kakutei.el: New add-on.
467         * COMPILE (riece-modules): Add riece-skk-kakutei.
468         * Makefile.am (EXTRA_DIST): Add riece-skk-kakutei.el
469
470 2003-08-19  Daiki Ueno  <ueno@unixuser.org>
471
472         * riece-layout.el: New add-on.
473         * COMPILE (riece-modules): Add riece-layout.
474         * Makefile.am (EXTRA_DIST): Add riece-layout.el
475
476 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
477
478         * riece-options.el (riece-quit-timeout): New user option.
479         * riece-server.el (riece-quit-server-process): New function.
480         * riece-commands.el (riece-command-quit): Use it.
481         (riece-command-close-server): Use it.
482
483 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
484
485         * riece-commands.el (riece-command-previous-channel): Skip nil in
486         riece-current-channels.
487
488 2003-08-09  Daiki Ueno  <ueno@unixuser.org>
489
490         * riece-rdcc.el (riece-command-dcc-send): Accept output only from
491         the ruby process.
492
493         * riece-xemacs.el: Don't require 'riece-compat.
494
495 2003-08-06  Daiki Ueno  <ueno@unixuser.org>
496
497         * riece-unread.el (riece-unread-update-channel-list-buffer): Call
498         riece-parse-identity.
499
500 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
501
502         * riece-server.el (riece-find-server-name): Abolish.
503
504         * riece-alias.el: Add usage.
505
506 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
507
508         * riece-mini.el (riece-mini-send-message): Use
509         riece-completing-read-identity; don't use riece-own-channel-message.
510
511         * riece-identity.el: Require 'riece-compat.
512         (riece-identity-prefix-case-table): New variable.
513         (riece-abbrev-identity-string-function): New variable.
514         (riece-expand-identity-string-function): New variable.
515         (riece-format-identity): Rename from riece-decode-identity.
516         (riece-parse-identity): Rename from riece-encode-identity.
517         (riece-with-identity-buffer): Abolish.
518         (riece-identity-canonicalize-prefix): Use case-table.   
519
520         * riece-filter.el (riece-handle-numeric-reply): Decode messages.
521         (riece-handle-message): Ditto.
522
523         * riece-alias.el: New add-on.
524         * COMPILE (riece-modules): Add riece-alias.
525         * Makefile.am (EXTRA_DIST): Add riece-alias.el.
526
527         * riece-emacs.el (riece-set-case-syntax-pair): New alias.
528         * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
529         * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
530
531 2003-08-03  Daiki Ueno  <ueno@unixuser.org>
532
533         * Riece: Version 0.0.4 released.
534         * riece-version.el (riece-version-number): Bump up to 0.0.4.
535
536 2003-06-24  OHASHI Akira  <bg66@koka-in.org>
537
538         * riece-unread.el (riece-unread-display-message-function): Don't check
539         `selected-window'. It doesn't work as expected.
540
541 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
542
543         * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
544
545         * riece-300.el: Rewrite using riece-decode-identity.
546
547         * riece-identity.el (riece-completing-read-identity): Signal an
548         error when the encoded channel name is not matched with
549         riece-channel-regexp.
550
551         * riece-globals.el (riece-channel-regexp): Moved from
552         riece-channel.el.
553         (riece-user-regexp): Moved form riece-user.el.
554
555 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
556
557         * riece-handle.el (riece-handle-join-message): Don't call
558         riece-switch-to-channel.
559         (riece-handle-part-message): Don't decode message if it is empty.
560         (riece-handle-kick-message): Ditto.
561         (riece-handle-quit-message): Ditto.
562         (riece-handle-kill-message): Ditto.
563
564         * riece-commands.el (riece-command-part): Show the current channel
565         as default candidate.
566
567         * riece-identity.el (riece-completing-read-identity): Accept
568         optional 5th argument `initial'.
569
570         * riece-unread.el (riece-unread-update-channel-list-buffer):
571         Simplified.
572
573         * riece-filter.el (riece-sentinel): Don't bind
574         riece-inhibit-update-buffers.
575
576         * riece-display.el (riece-redisplay-buffer): New variable.
577         (riece-inhibit-update-buffers): Abolish.
578         (riece-update-channel-list-buffer): Memorize
579         encoded identity as text property on each line. 
580
581         * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
582         buffer local.
583         (riece-user-list-mode): Ditto.
584
585 2003-06-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
586
587         * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
588         Fix example setting, don't use 3rd arg of add-to-list.
589
590         * riece-coding.el (riece-default-coding-system): Fix default value.
591
592 2003-06-22  Daiki Ueno  <ueno@unixuser.org>
593
594         * riece-display.el (riece-inhibit-update-buffers): New variable.
595         * riece-filter.el (riece-sentinel): Bind
596         riece-inhibit-update-buffers while removing channels from
597         riece-current-channels.
598         * riece-unread.el (riece-unread-display-message-function): Don't
599         update channel list buffer when riece-inhibit-update-buffers is
600         non-nil.
601         (riece-unread-channel-switch-hook): Ditto.
602         (riece-unread-insinuate): Add
603         riece-unread-update-channel-list-buffer to
604         riece-update-buffer-functions.
605
606         * riece-commands.el (riece-command-switch-to-channel): Call
607         riece-redisplay-buffers instead of riece-command-configure-windows.
608
609         * riece-identity.el (riece-completing-read-identity): Remove nil
610         from riece-current-channels before converting it to an alist.
611
612 2003-06-17  OHASHI Akira  <bg66@koka-in.org>
613
614         * riece-unread.el (riece-unread-display-message-function): Check a
615         `selected-window'.
616
617         * riece-mini.el: New add-on.
618         * COMPILE (riece-modules): Add `riece-mini'.
619         * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
620
621         * riece-display.el (riece-channel-buffer-create): Add new hook.
622         * riece-log.el: New add-on for saving irc logs.
623         * COMPILE (riece-modules): Add `riece-log'.
624         * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
625
626         * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
627         (riece-command-part): Ditto.
628
629 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
630
631         * riece-naming.el (riece-naming-assert-join): Call
632         riece-update-buffers.
633         (riece-naming-assert-part): Ditto.
634
635         * riece-filter.el (riece-sentinel): Don't bind
636         riece-overriding-server-name; use riece-part-channel.
637
638         * riece-display.el (riece-switch-to-channel): Don't set
639         riece-channel-buffer.
640         (riece-update-buffers): Set riece-channel-buffer here.
641
642         * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
643         (riece-command-close-server): Fixed completion bug.
644         (riece-command-universal-server-name-argument): Ditto.
645
646 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
647
648         * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
649         doctor-read-print.
650
651         * riece-handle.el (riece-handle-nick-message): Use
652         riece-decode-identity to decode user.
653         (riece-handle-join-message): Ditto.
654         (riece-handle-part-message): Ditto.
655         (riece-handle-kick-message): Ditto.
656         (riece-handle-quit-message): Ditto.
657         (riece-handle-kill-message): Ditto.
658         (riece-handle-invite-message): Ditto.
659         (riece-handle-topic-message): Ditto.
660         (riece-handle-mode-message): Ditto.
661
662 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
663
664         * riece-message.el (riece-own-channel-message): Abolish.
665
666         * riece-commands.el (riece-command-send-message): Don't use
667         riece-own-channel-message.
668
669         * riece-doctor.el (riece-doctor-reply): Don't use
670         riece-own-channel-message.
671         (riece-doctor-hello-regexp): New user option.
672         (riece-doctor-bye-regexp): New user option.
673
674 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
675
676         * riece-identity.el (riece-identity-member-no-server): Abolish.
677
678         * riece-doctor.el (riece-doctor-patients): Make it global variable.
679         (riece-doctor-after-privmsg-hook): Use riece-identity-member
680         instead of riece-identity-member-no-server.
681
682 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
683
684         * riece-doctor.el: New add-on.
685         * COMPILE (riece-modules): Add riece-doctor.
686         * Makefile.am (EXTRA_DIST): Add riece-doctor.el
687
688 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
689
690         * riece-handle.el (riece-handle-nick-message): Follow the change
691         of riece-identity-member.
692
693         * riece-commands.el (riece-command-next-channel): Use
694         riece-identity-member instead of riece-identity-member-no-server.
695         (riece-command-previous-channel): Ditto.
696
697 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
698
699         * riece-identity.el (riece-completing-read-identity): Remove nil
700         from channels before completing-read.
701
702         * riece-message.el (riece-message-make-name): Fix condition for priv.
703         (riece-message-make-global-name): Ditto.
704         (riece-message-buffer): Ditto.
705
706         * riece-misc.el (riece-current-nickname): Use
707         riece-with-identity-buffer.
708
709 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
710
711         * riece-message.el (riece-message-parent-buffers): Regard message's
712         speaker as target when priv mode.
713
714         * riece-display.el (riece-update-channel-indicator): Decode
715         riece-current-channel even in priv mode.
716
717         * riece-identity.el (riece-decode-identity): Respect prefix-only.
718         (riece-completing-read-identity): Check if illegal characters in
719         channel name.
720
721 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
722
723         * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
724         * riece-globals.el (riece-user-buffer-format): Abolish.
725         (riece-user-list-buffer): Default to " *Users*".
726         * riece-display.el (riece-user-list-buffer-name): Abolish.
727         (riece-user-list-buffer-create): Abolish.
728
729 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
730
731         * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
732         (riece-handle-message): Ditto.
733         (riece-sentinel): Clear system here.
734
735         * riece-server.el (riece-server-process-name): New function.
736         (riece-server-process): New function.
737         (riece-close-server): Abolish.
738
739         * riece-identity.el: Adopt vector object representation for
740         identity objects.
741         (riece-with-identity-buffer): New macro.
742         (riece-decode-identity): New function.
743         (riece-encode-identity): New function.
744
745         * riece-globals.el (riece-process-list): New variable.
746         (riece-server-process-alist): Abolish.
747         (riece-channel-buffer-alist): Abolish.
748         (riece-user-list-buffer-alist): Abolish.
749         (riece-short-channel-indicator): New variable.
750
751         * riece-channel.el: Assume that we are already in the server buffer.
752         * riece-user.el: Likewise.
753
754 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
755
756         * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
757
758         * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
759         `add-to-list'.
760
761 2003-06-06  Daiki Ueno  <ueno@unixuser.org>
762
763         * riece-channel.el (riece-forget-channel): Fixed.
764         (riece-channel-modeless-regexp): Abolish.
765         (riece-channel-modeless-p): Abolish.
766
767 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
768
769         * riece-unread.el (riece-unread-display-message-function): Delete the
770         target before adding to list.
771         (riece-unread-switch-to-channel): New function.
772         (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
773         Bind "u" to riece-dialogue-mode-map.
774         Bind "u" to riece-channel-list-mode-map.
775
776         * riece.el (riece-channel-list-mode-map): Don't bind
777         `riece-command-unread-channel'.
778
779 2003-06-04  Yoichi NAKAYAMA  <yoichi@geiin.org>
780
781         * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
782         riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
783         riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
784         riece.el: Don't require riece-inlines since it has been removed.
785
786 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
787
788         * riece-display.el (riece-update-user-list-buffer): Rename from
789         riece-user-list-update-buffer.
790         (riece-update-channel-list-buffer): Rename from
791         riece-channel-list-update-buffer.
792
793 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
794
795         * riece-identity.el (riece-identity-canonicalize-prefix): Moved
796         from riece-inlines.el; renamed from scandinavian-downcase.
797         (riece-identity-equal-no-server): Moved from riece-inlines.el;
798         renamed from scandinavian-equal-ignore-case.
799         (riece-identity-equal-no-server-safe): New function.
800         (riece-identity-member-no-server): Moved from riece-inlines.el;
801         renamed from scandinavian-member-ignore-case.
802         (riece-identity-member-no-server-safe): New function.
803
804         * riece-inlines.el: Removed.
805         * COMPILE (riece-modules): Remove riece-inlines.
806         * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
807
808 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
809
810         * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
811         explicitly.
812         * riece-ndcc.el: Don't call delete-process explicitly.
813         * riece-server.el (riece-close-server-process): Don't call
814         delete-process explicitly unless riece-debug == t.
815
816 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
817
818         * riece-inlines.el (scandinavian-downcase): New inline function.
819         (scandinavian-equal-ignore-case): Rename from
820         string-equal-ignore-case.
821         (scandinavian-member-ignore-case): Rename from
822         string-list-member-ignore-case.
823
824         * riece-identity.el (riece-identity-equal): Rename from
825         riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
826         (riece-identity-equal-safe): Rename from riece-identity-equal.
827         (riece-identity-member): Rename from riece-identity-member-no-server.
828         (riece-identity-member-safe): Rename from riece-identity-member.
829         (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
830         (riece-identity-assoc-safe): Rename from riece-identity-assoc.
831
832 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
833
834         * riece-rdcc.el: Require 'riece-ctcp.
835         (riece-rdcc-insinuate): Add "DCC" to
836         riece-ctcp-additional-clientinfo.
837
838         * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
839         (riece-command-ctcp-clientinfo): New command.
840         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
841         (riece-handle-ctcp-clientinfo-request): New handler.
842         (riece-handle-ctcp-clientinfo-response): New handler.
843
844         * riece-server.el (riece-open-server): No need to use
845         get-buffer-create to reuse process buffer.
846
847 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
848
849         * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
850         DCC process.
851         (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
852
853         * riece-server.el (riece-server-keyword-map): `:coding-system' ->
854         `:coding'.
855         (riece-open-server): Follow the change.
856
857         * riece-ctcp.el (riece-command-ctcp-action): New command.
858         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
859         (riece-handle-ctcp-action-request): New handler.
860
861         * riece.el (riece-command-mode): Enclose status indicators with
862         `{}'; show riece-user-indicator.
863         (riece-channel-mode): Likewise.
864         (riece-dialogue-mode): Enclose status indicators with `{}'.
865         * riece-globals.el (riece-user-indicator): New indicator.
866         (riece-freeze-indicator): Default to "-".
867         * riece-display.el (riece-update-channel-indicator): Don't update
868         modeline.
869         (riece-update-status-indicators): Set riece-user-indicator.
870         * riece-300.el (riece-handle-324-message): Update channel indicator.
871
872 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
873
874         * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
875         (riece-dialogue-mode): Call riece-update-status-indicators.
876         (riece-channel-mode): Add riece-operator-indicator to
877         mode-line-buffer-identification.
878         * riece-user.el (riece-make-user): New attribute `operator'.
879         (riece-user-operator): New function.
880         (riece-user-set-operator): New function.
881         (riece-user-toggle-away): New function.
882         (riece-user-toggle-operator): New function.
883         * riece-misc.el (riece-own-frozen): Revive.
884         * riece-message.el (riece-display-message): Reset riece-freeze if
885         riece-freeze == 'own && (riece-message-own-p message).
886         * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
887         (riece-operator-indicator): New variable.
888         * riece-display.el (riece-update-status-indicators): New function.
889         (riece-update-buffer-functions): Add it.
890         * riece-commands.el (riece-command-toggle-freeze): Don't call
891         riece-freeze.
892         (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
893         * riece-300.el (riece-handle-302-message): Use
894         riece-user-toggle-away instead of riece-user-set-away.
895         (riece-handle-301-message): Ditto.
896         (riece-handle-305-message): Ditto.
897         (riece-handle-306-message): Ditto.
898         (riece-handle-352-message): Ditto.
899
900 2003-06-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
901
902         * riece-commands.el (riece-command-next-channel): Circularly
903         follow the channel list.
904         (riece-command-previous-channel): Ditto.
905
906 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
907
908         * riece.el (riece-command-mode): Set default value of riece-freeze
909         & riece-own-freeze.
910         * riece-options.el (riece-away-message): New user option.
911         * riece-commands.el (riece-command-toggle-away): Query user away
912         message.
913         * riece-300.el (riece-handle-301-message): Set user's away status.
914         (riece-handle-305-message): Ditto.
915         (riece-handle-306-message): Ditto.
916         (riece-handle-302-message): Ditto.
917         (riece-handle-352-message): Ditto.
918
919 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
920
921         * riece-rdcc.el: Require riece-globals, riece-misc, riece-channel,
922         and riece-identity.
923         (riece-command-dcc-receive): Check the existence of
924         set-buffer-multibyte.
925
926 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
927
928         * Riece: Version 0.0.3 released.
929         * riece-version.el (riece-version-number): Bump up to 0.0.3.
930
931         * riece-ctcp.el (riece-handle-ctcp-request): Catch errors occured
932         in hooks.
933         (riece-handle-ctcp-response): Ditto.
934
935 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
936
937         * riece-user.el (riece-rename-user): Don't modify entry when
938         old-name == new-name.
939
940         * riece-display.el (riece-configure-windows): Use window-buffer
941         instead of current-buffer.
942
943         * riece-rdcc.el (riece-rdcc-server-address): Default to nil.
944         (riece-rdcc-ruby-command): New user option.
945         (riece-rdcc-send-program): New user option.
946         (riece-rdcc-decode-address-program): New user option.
947         (riece-rdcc-substitute-variables): New function.
948         (riece-command-dcc-send): Use it.
949         (riece-rdcc-decode-address): Use it.
950
951 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
952
953         * riece-rdcc.el: New add-on.
954
955         * Makefile.am (EXTRA_DIST): Add riece-rdcc.el
956
957 2003-06-01  Daiki Ueno  <ueno@unixuser.org>
958
959         * riece-ndcc.el: New add-on.
960         * Makefile.am (EXTRA_DIST): Add riece-ndcc.el
961
962 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
963
964         * riece-server.el (riece-open-server): Simplify message.
965
966         * riece-commands.el (riece-command-open-server): Throw an error
967         when the server is already opened.
968
969         * riece-filter.el (riece-sentinel): Simplified.
970
971         * riece-display.el (riece-user-list-update-buffer): Check the
972         existence of riece-user-list-buffer.
973         (riece-channel-list-update-buffer): Check the existence of
974         riece-channel-list-buffer.
975         (riece-set-window-points): Ditto.
976
977         * riece-commands.el (riece-command-open-server): Simplified.
978         (riece-command-toggle-channel-buffer-mode): Set
979         riece-save-variables-are-dirty to t.
980         (riece-command-toggle-user-list-buffer-mode): Ditto.
981         (riece-command-toggle-channel-list-buffer-mode): Ditto.
982
983         * riece-server.el (riece-start-server): Abolish.
984         (riece-open-server): Set riece-server-process-alist and
985         riece-server-process here.
986
987 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
988
989         * riece-filter.el (riece-sentinel): Close process even if
990         riece-reconnect-with-password == t.
991         (riece-handle-message): Catch errors occured in hooks.
992
993         * riece-server.el (riece-open-server): Reuse server buffer.
994         (riece-close-server-process): Delete process even if process is
995         not running.
996
997 2003-05-31  Daiki Ueno  <ueno@unixuser.org>
998
999         * riece-server.el (riece-open-server): No need to reset
1000         riece-reconnect-with-password.
1001
1002         * riece-filter.el (riece-sentinel): Don't call riece when
1003         riece-reconnect-with-password = t and process !=
1004         riece-server-process.
1005
1006         * riece-url.el: Fix usage.
1007
1008         * riece-inlines.el (string-list-member-ignore-case): Remove docstring.
1009
1010         * riece-unread.el: New add-on.
1011         * COMPILE (riece-modules): Add riece-unread.
1012         * Makefile.am (EXTRA_DIST): Add riece-unread.el
1013
1014         * riece-300.el (riece-handle-322-message): New handler.
1015         (riece-handle-323-message): New handler.
1016
1017 2003-05-30  Daiki Ueno  <ueno@unixuser.org>
1018
1019         * riece-display.el (riece-configure-windows): Select other window
1020         when minibuffer is active.
1021
1022         * riece-commands.el (riece-command-list): New command.
1023         (riece-command-enter-message-as-notice): New command.
1024         * riece.el (riece-command-mode-map): Bind
1025         riece-command-enter-message-as-notice and riece-command-list.
1026
1027         * riece-server.el (riece-close-server): Skip nil when leaving
1028         channels before closing server.
1029
1030 2003-05-30  Daiki Ueno  <ueno@unixuser.org>
1031
1032         * Riece: Version 0.0.2 released.
1033         * riece-version.el (riece-version-number): Bump up to 0.0.2.
1034
1035         * riece.el (riece-load-and-build-addon-dependencies): Fixed.
1036         * riece-url.el (riece-url-requires): Don't assert dependency on
1037         riece-highlight unless it appears in riece-addons.
1038
1039         * riece-url.el: New add-on.
1040         * COMPILE (riece-modules): Add riece-url.
1041
1042         * riece-message.el (riece-message-make-bracket): Abolish.
1043         * riece-highlight.el (riece-highlight-font-lock-keywords):
1044         Give up to fontify "-nick-" or "-nick server-".
1045
1046         * riece-highlight.el (riece-highlight-font-lock-keywords):
1047         Simplified regexp.
1048
1049         * riece-ctcp.el (riece-handle-ctcp-request): Don't bind user.
1050         (riece-handle-ctcp-response): Ditto.
1051
1052         * riece-highlight.el: Make it an add-on.
1053         (riece-highlight-insinuate): New function.
1054         * riece.el: Don't require 'riece-highlight.
1055         * riece-options.el (riece-addons): Turn on riece-highlight and
1056         riece-ctcp by default.
1057
1058         * riece-display.el (riece-configure-windows-predicate): New function.
1059         (riece-configure-windows-predicate): New user option.
1060         (riece-redisplay-buffers): Use it.
1061
1062         * riece-complete.el: Require 'cl for butlast.
1063
1064         * Makefile.am (elc): Renamed from "compile".
1065
1066         * riece.el (riece-dialogue-mode-map): Bind
1067         riece-command-toggle-channel-list-buffer-mode.
1068
1069         * riece-display.el (riece-configure-windows): Typo fixed.
1070
1071         * riece-user.el (riece-user-toggle-channel): Use member instead of
1072         memq.
1073
1074 2003-05-29  Daiki Ueno  <ueno@unixuser.org>
1075
1076         * riece-ctcp.el (riece-ctcp-insinuate): New function.
1077
1078         * riece-options.el (riece-addons): New user option.
1079         (riece-addon-directory): New user option.
1080
1081         * riece.el (riece-load-and-build-addon-dependencies): New function.
1082         (riece-insinuate-addons): New function.
1083         (riece): Call riece-insinuate-addons.
1084
1085         * riece-misc.el (riece-get-users-on-server): Moved from
1086         riece-commands.el.
1087
1088         * riece-ctcp.el: New file.
1089         * COMPILE (riece-modules): Add riece-ctcp.
1090         * Makefile.am (EXTRA_DIST): Add riece-ctcp.el
1091
1092 2003-05-29  Daiki Ueno  <ueno@unixuser.org>
1093
1094         * Riece: Version 0.0.1 released.
1095
1096         * riece-commands.el (riece-command-names): New command.
1097         (riece-command-who): New command.
1098
1099         * riece.el (riece-dialogue-mode-map): Bind riece-command-names and
1100         riece-command-who.
1101
1102         * riece-300.el (riece-handle-341-message): New handler.
1103         (riece-handle-352-message): New handler.
1104
1105         * riece-commands.el (riece-command-invite): Don't accept channel
1106         argument; throw an error when user is not on a channel.
1107         (riece-command-kick): New command.