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