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