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