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