* riece-options.el (riece-data-directory): Use load-file-name.
[riece] / lisp / ChangeLog
1 2005-08-16  Daiki Ueno  <ueno@unixuser.org>
2
3         * riece-options.el (riece-data-directory): Use load-file-name.
4
5 2005-08-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6
7         * riece-options.el (riece-data-directory): Avoid compile time
8         error when locate-data-directory undefined.
9
10 2005-08-15  Daiki Ueno  <ueno@unixuser.org>
11
12         * riece-options.el (riece-quit-timeout): Set default to 1.
13
14         * riece-irc.el (riece-irc-quit-server-process): Display message
15         before/after sending QUIT.
16
17 2005-08-14  Daiki Ueno  <ueno@unixuser.org>
18
19         * riece.el (riece-addons-insinuated): Abolished.
20         (riece): Don't check riece-addons-insinuated.
21
22         * riece-addon.el (riece-insinuate-addon): Put
23         'riece-addon-insinuated property on add-on feature.
24
25 2005-08-13  Daiki Ueno  <ueno@unixuser.org>
26
27         * COMPILE (riece-install-package): Install *.xpm and *.rb in etc/riece.
28
29         * riece-async.el (riece-async-open-network-stream): Locate Ruby
30         script files in riece-data-directory.
31         * riece-toolbar.el (riece-make-toolbar-from-menu): Locate icon
32         files in riece-data-directory.
33         * riece-ruby.el (riece-ruby-execute): Locate Ruby script files in
34         riece-data-directory.
35         * riece-options.el (riece-data-directory): New user option.
36
37 2005-08-12  Daiki Ueno  <ueno@unixuser.org>
38
39         * riece-ruby.el (riece-ruby-filter): Pass timestamp of output
40         event to output-handler.
41
42 2005-08-12  Daiki Ueno  <ueno@unixuser.org>
43
44         * riece-button.el (riece-user-button-popup-menu): Simplified
45         menu item titles.
46
47         * COMPILE (riece-compile-module): New function.
48         (riece-examine): New function.
49
50         * Makefile.am (compile-individually): New rule.
51
52         * riece-log.el (riece-log-file-name-regexp): New constant.
53         (riece-log-get-file): Add 2nd argument coding-system.
54         (riece-log-get-files): Add 2nd argument time.
55         (riece-log-insert): Simplified; determine coding-system from
56         suffix of each log file.
57         (riece-log-dired): Renamed from riece-log-open-directory.
58         (riece-log-open-directory-function): Abolished.
59         (riece-log-make-file-name): Renamed from riece-log-get-file.
60         (riece-log-list-files): Renamed from riece-log-get-files.
61         (riece-log-directory): Renamed from riece-log-get-directory.
62
63         * Makefile.am (EXTRA_DIST): Added aproxy.rb.
64
65         * COMPILE (riece-scripts): Added "aproxy.rb".
66
67         * riece-async.el (riece-async-buffer-size): Renamed from
68         riece-async-max-buffer-size.
69         (riece-async-backup-file): New user option.
70         (riece-async-server-program): New variable.
71         (riece-async-server-program-arguments): New variable.
72         (riece-async-open-network-stream): Use aproxy.rb.
73
74         * aproxy.rb: New file.
75
76         * riece-ruby.el (riece-ruby-out-file): New user option.
77         (riece-ruby-err-file): New user option.
78         (riece-ruby-log-file): New user option..
79         (riece-ruby-server-program-arguments): New variable.
80         (riece-ruby-filter): Call output-handler within
81         riece-debug-with-backtrace; erase process output.
82         (riece-ruby-run-exit-handler): Call exit-handler within
83         riece-debug-with-backtrace.
84
85         * server.rb: Don't bind @err in execution environment;
86         added logging feature.
87
88 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
89
90         * server.rb: Connect $stdout and $stderr to StringIO objects.
91
92         * riece-async.el: Use riece-ruby (partially).
93
94         * riece-eval-ruby.el (riece-eval-ruby-prefix-regexp): New user option.
95         (riece-eval-ruby-exit-handler): Print "nil".
96
97 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
98
99         * riece-hangman.el (riece-hangman-hello-regexp): Changed regexp.
100         (riece-hangman-bye-regexp): Ditto.
101
102         * riece-doctor.el (riece-doctor-hello-regexp): Changed regexp.
103         (riece-doctor-bye-regexp): Ditto.
104
105         * riece-ruby.el: Moved add-on stuff to riece-eval-ruby.el.
106
107         * riece-eval-ruby.el: New add-on.
108         * COMPILE (riece-modules): Add riece-eval-ruby.
109         * Makefile.am (EXTRA_DIST): Add riece-eval-ruby.el.
110
111 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
112
113         * server.rb (Server::unescape): Fixed.
114
115         * riece-ruby.el: Implement add-on API.
116         (riece-ruby-filter): Fixed regexp; fixed argument order of
117         output-handler.
118         (riece-ruby-run-exit-handler): Remove exit-handler entry before
119         running it to avoid recursion; call riece-ruby-clear if
120         exit-handler is specified.
121         (riece-ruby-exit-handler): Don't call riece-ruby-clear.
122
123         * riece-rdcc.el: Use riece-ruby.
124
125 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
126
127         * riece-ruby.el (riece-ruby-property-alist): New variable
128         (riece-ruby-set-property): New function.
129         (riece-ruby-property): New function.
130         (riece-ruby-execute): Locate server.rb from load-path.
131
132         * Makefile.am (EXTRA_DIST): Added riece-ruby.el and server.rb.
133
134         * COMPILE (riece-modules): Added riece-ruby.
135         (riece-icons): Use filename instead of symbol.
136         (riece-scripts): New variable.
137         (riece-install-icons): Use filename instead of symbol.
138         (riece-install-scripts): New function.
139         (riece-install): Call riece-install-scripts.
140         (riece-install-package): Ditto.
141
142 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
143
144         * riece-ruby.el: Add docs for variables.
145         (riece-ruby-substitute-variables): Substitute multiple variables.
146         (riece-ruby-filter): Call output-handler/exit-handler with program
147         name.
148
149 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
150
151         * server.rb: Renamed from rubyserv.rb; s/RubyServ/Server/.
152         * riece-ruby.el (riece-ruby-server-program): Follow the filename
153         change.
154         (riece-ruby-set-output-handler): New function.
155
156 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
157
158         * riece-ruby.el: Fixed example.
159         (riece-ruby-server-program): New variable.
160         (riece-ruby-status-alist): New variable.
161         (riece-ruby-status): Abolished.
162         (riece-ruby-escaped-data): Renamed from riece-ruby-input.
163         (riece-ruby-reset-process-buffer): New function.
164         (riece-ruby-send-exit): New function.
165         (riece-ruby-filter): Call riece-ruby-run-exit-handler if the
166         program is exited.
167         (riece-ruby-run-exit-handler): New function.
168         (riece-ruby-execute): Don't expect program name.
169         (riece-ruby-clear): New function.
170         (riece-ruby-set-exit-handler): New function.
171
172         * rubyserv.rb (RubyServ::dispatch_eval): Don't expect program
173         name; eval under the binding of RubyServ::C.
174         (RubyServ::dispatch_poll): Don't clear @thr.
175         (RubyServ::dispatch_exit): New method.
176
177 2005-08-10  Daiki Ueno  <ueno@unixuser.org>
178
179         * riece-ruby.el: New file.
180         * rubyserv.rb: Rewrite.
181
182 2005-08-09  Daiki Ueno  <ueno@unixuser.org>
183
184         * riece-mini.el (riece-mini-message-no-log): Defined as a
185         function.
186         (riece-mini-requires): Fixed indent.
187
188 2005-08-08  Daiki Ueno  <ueno@unixuser.org>
189
190         * riece.el (riece-dialogue-mode-map): Bind
191         riece-command-toggle-others-buffer-mode.
192
193         * riece-commands.el (riece-command-toggle-others-buffer-mode): New
194         command.
195
196         * riece-layout.el (riece-configure-windows): Hide
197         riece-others-buffer if riece-others-buffer-mode is nil.
198
199         * riece-options.el (riece-saved-forms): Add
200         riece-others-buffer-mode and riece-channel-list-buffer-mode.
201         (riece-others-buffer-mode): New user option.
202
203 2005-08-06  Daiki Ueno  <ueno@unixuser.org>
204
205         * riece-alias.el (riece-alias-alternate-separator): Set to "@".
206
207 2005-07-28  Daiki Ueno  <ueno@unixuser.org>
208
209         * riece-debug.el: Don't bind unused variable; prepend time to
210         debug message.
211
212 2005-07-19  Daiki Ueno  <ueno@unixuser.org>
213
214         * riece-unread.el (riece-guess-channel-from-unread): Return
215         reversed copy of riece-unread-channels.
216
217         * riece-server.el (riece-server-parse-string): Use
218         string-to-number instead of string-to-int.
219
220 2005-07-07  Daiki Ueno  <ueno@unixuser.org>
221
222         * riece-display.el (riece-channel-buffer): Return nil when
223         channel-buffer is killed.
224
225         * riece-debug.el (riece-debug-1): New function.
226         (riece-debug): Always return nil.
227
228 2005-06-03  Daiki Ueno  <ueno@unixuser.org>
229
230         * riece-ruby.el: New file.
231
232 2005-04-04  Daiki Ueno  <ueno@unixuser.org>
233
234         * riece-misc.el (riece-get-channels-on-server): New function.
235         (riece-get-users-on-server): Don't use riece-user-p.
236         (riece-get-identities-on-server): Call
237         riece-get-channels-on-server and riece-get-users-on-server.
238
239         * riece-identity.el (riece-completing-read-identity): Don't signal
240         an error when input string does not match riece-channel-regexp nor
241         riece-user-regexp.
242
243         * riece-300.el (riece-handle-366-message): Don't use riece-user-regexp.
244         (riece-handle-302-message): Ditto.
245         (riece-handle-313-message): Ditto.
246
247 2005-03-22  Daiki Ueno  <ueno@unixuser.org>
248
249         * rubyserv.rb: New file.
250
251 2005-03-20  Daiki Ueno  <ueno@unixuser.org>
252
253         * riece-toolbar.el [XEmacs] (riece-make-toolbar-from-menu):
254         Pick up toolbar icons from etc/riece/.
255
256 2005-03-12  Daiki Ueno  <ueno@unixuser.org>
257
258         * riece.el (riece-buffer-alist): Init riece-debug-buffer.
259         (riece-submit-bug-report): Insert content of riece-debug-buffer.
260
261         * riece-globals.el (riece-debug-buffer): New variable.
262         * riece-filter.el (riece-sentinel): Use riece-debug.
263         * riece-display.el (riece-channel-buffer-name): Use riece-debug.
264         * riece-button.el (riece-identity-button-click): Use riece-debug.
265         * riece-debug.el (riece-debug): New function.
266         (riece-ignore-errors): Use it.
267
268         * riece-filter.el (riece-filter): Removed (eobp) check.
269
270 2005-03-06  Daiki Ueno  <ueno@unixuser.org>
271
272         * Riece: Version 1.0.8 released.
273         * riece-version.el (riece-version-number): Bump up to 1.0.8.
274
275 2005-03-06  Daiki Ueno  <ueno@unixuser.org>
276
277         * COMPILE (riece-compile-modules): Print summary.
278
279 2005-03-05  Daiki Ueno  <ueno@unixuser.org>
280
281         * riece-version.el: Bind emacs-program-version.
282         * riece-debug.el: Require 'riece-options for riece-debug.
283
284         * riece-log.el (riece-log-insinuate): Use user-uid instead of
285         user-login-name and escape system-name for riece-log-lock-file.
286
287 2005-03-02  Daiki Ueno  <ueno@unixuser.org>
288
289         * riece-log.el (riece-log-lock-file): Define with defvar.
290         (riece-log-display-message-function): Use riece-log-lock-file as
291         LOCKNAME of write-region.
292         (riece-log-insinuate): Generate name for riece-log-lock-file.
293
294 2005-02-27  Daiki Ueno  <ueno@unixuser.org>
295
296         * riece-300.el (riece-handle-317-message): Format idle seconds in
297         human readable form.
298         (riece-handle-301-message): Don't use riece-user-regexp.
299         (riece-handle-311-message): Ditto.
300         (riece-handle-312-message): Ditto.
301         (riece-handle-317-message): Ditto.
302         (riece-handle-319-message): Ditto.
303
304         * riece-ctcp.el (riece-handle-ctcp-action-request): Prepend target.
305         (riece-command-ctcp-action): Ditto.
306
307 2005-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
308
309         * riece-globals.el (riece-obarray-size, riece-obarray): Abolish.
310         (riece-channel-obarray-size, riece-user-obarray-size)
311         (riece-channel-obaary, riece-user-obarray): New variables.
312         * riece-user.el (riece-find-user, riece-forget-user)
313         (riece-rename-user, riece-get-user): Use `riece-user-obarray'
314         instead of `riece-user-obarray'.
315         * riece-channel.el (riece-find-channel, riece-forget-channel)
316         (riece-get-channel): Use `riece-channel-obarray' instead of
317         `riece-obarray'.
318         * riece-misc.el (riece-get-identities-on-server): Ditto.
319         * riece-server.el (riece-reset-process-buffer): Ditto.
320
321 2005-02-24  Daiki Ueno  <ueno@unixuser.org>
322
323         * riece-unread.el (riece-unread-after-switch-to-channel-function):
324         Clear riece-unread-channels case insensitively.
325
326         * riece-300.el (riece-handle-353-message): Use
327         riece-identity-assoc to pick an entry from
328         riece-353-message-alist.
329         (riece-handle-366-message): Ditto.
330         Reported by Steve Youngs <steve@sxemacs.org>.
331
332 2005-02-19  Daiki Ueno  <ueno@unixuser.org>
333
334         * riece-debug.el (riece-funcall-ignore-errors): New function.
335         * riece-signal.el (riece-emit-signal): Use riece-funcall-ignore-errors.
336         * riece-filter.el (riece-handle-numeric-reply): Use
337         riece-funcall-ignore-errors.
338         (riece-handle-message): Ditto.
339         * riece-ctcp.el (riece-handle-ctcp-request): Use
340         riece-funcall-ignore-errors.
341
342 2005-02-18  Steve Youngs  <steve@sxemacs.org>
343
344         * riece-ctcp.el (riece-handle-ctcp-time-request): New.
345         (riece-handle-ctcp-time-response): New.
346         (riece-command-ctcp-time): New.
347         (riece-ctcp-enable): Add `riece-command-ctcp-time'.
348         (riece-ctcp-disable): Ditto.
349         
350         * riece-layout.el (riece-layout-alist): Minor doc string fix --
351         escape a couple of parens.
352         
353         * riece-version.el: defvar sxemacs-codename at compile time.
354         (riece-extended-version): Simplify the XEmacs section, add support
355         for SXEmacs.
356
357 2005-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
358
359         * riece-addon.el (riece-resolve-addons): Fixed
360         avoid add directory to addons condition.
361
362 2005-02-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
363
364         * riece-addon.el (riece-resolve-addons): Don't add directory to
365         addons.
366
367 2005-02-09  Yoichi NAKAYAMA  <yoichi@geiin.org>
368
369         * riece-commands.el (riece-command-part): Fix argument.
370
371 2005-02-07  Daiki Ueno  <ueno@unixuser.org>
372
373         * riece-filter.el (riece-filter): Simplified.
374
375         * riece-addon.el (riece-resolve-addons): Check the existence of
376         riece-addon-directory.
377
378 2005-02-06  Daiki Ueno  <ueno@unixuser.org>
379
380         * riece-filter.el (riece-filter): Modified regexp.
381
382 2005-02-05  Daiki Ueno  <ueno@unixuser.org>
383
384         * riece.el (riece-exit): Clear riece-window-configuration frame
385         parameter.
386         * riece-commands.el (riece-command-suspend-resume): Don't attempt
387         to restore window-configuration if the cdr of
388         riece-window-configuration frame parameter is nil.
389
390         * riece-filter.el (riece-chomp-string): New function.
391         (riece-filter): Use it.
392
393 2005-02-05  Daiki Ueno  <ueno@unixuser.org>
394
395         * Riece: Version 1.0.7 released.
396         * riece-version.el (riece-version-number): Bump up to 1.0.7.
397
398 2005-02-05  Daiki Ueno  <ueno@unixuser.org>
399
400         * riece-keyword.el (riece-keyword-face): Change defface spec for tty.
401
402         * riece-toolbar.el (riece-toolbar-description): New constant.
403
404         * riece-keepalive.el: Require 'riece-options.
405         (riece-keepalive-ping-repeat): Define with defcustom.
406         (riece-keepalive-description): New constant.
407
408         * riece.el (riece-dialogue-mode-map): Bind
409         riece-command-suspend-resume.
410         * riece-commands.el (riece-command-suspend-resume): New command.
411
412         * riece-options.el (riece-addons): Enable riece-keyword by default.
413
414         * riece-button.el (riece-identity-button-popup-menu): Changed
415         interactivbe spect "@e" -> "e".
416         (riece-identity-button-click): New function.
417         (riece-make-identity-button-map): Bind riece-identity-button-click.
418
419 2005-02-04  Daiki Ueno  <ueno@unixuser.org>
420
421         * riece-options.el (riece-part-message): New user option.
422         (riece-addons): Enable riece-alias and riece-ctlseq by default.
423         (riece-max-buffer-size): Change the default value to nil.
424
425         * riece-commands.el (riece-command-part): Use riece-part-message.
426
427 2005-02-04  OHASHI Akira  <bg66@koka-in.org>
428
429         * riece-eval.el (riece-eval-form): New function.
430         (riece-eval-display-message-function): Use it.
431
432 2005-02-04  Daiki Ueno  <ueno@unixuser.org>
433
434         * riece-000.el (riece-handle-001-message): Use
435         riece-command-join-channel to join startup channels.
436
437         * riece-filter.el (riece-filter): Accept lines which end with LF.
438
439         * riece-300.el (riece-353-message-alist): Renamed from riece-353-users.
440         (riece-handle-353-message): Don't parse the reply.
441         (riece-handle-366-message): Parse 353 replies here; count users.
442
443         * riece-log.el (riece-log-enable): Add debug message.
444
445         * riece-keepalive.el: New add-on.
446         * COMPILE (riece-modules): Add riece-keepalive.
447         * Makefile.am (EXTRA_DIST): Add riece-keepalive.el.
448
449 2005-02-04  OHASHI Akira  <bg66@koka-in.org>
450
451         * riece-biff.el (riece-biff-functions): Abolish.
452         (riece-biff-after-display-message-function): Follow the change above.
453
454 2005-02-04  Daiki Ueno  <ueno@unixuser.org>
455
456         * riece-server.el (riece-close-server-process): Switch to process
457         buffer when running riece-after-close-hook.
458
459         * COMPILE (riece-icons): Add all symbols from riece-toolbar-items.
460
461         * Makefile.am (EXTRA_DIST): Add riece-command-previous-channel.xpm,
462         riece-command-next-channel.xpm, and riece-submit-bug-report.xpm.
463
464         * riece-menu.el (riece-menu-items): Add "Submit Bug Report".
465
466         * riece-toolbar.el (riece-toolbar-items): Add riece-submit-bug-report.
467
468         * riece-compat.el (riece-read-passwd): Changed default value.
469
470         * riece-400.el (riece-handle-475-message): Don't bind inhibit-quit
471         when reading channel key.
472
473         * riece-irc.el (riece-irc-open-server): Don't bind inhibit-quit
474         when reading password.
475
476         * riece-compat.el (riece-read-passwd): Bind inhibit-quit.
477
478         * riece-commands.el (riece-command-join): Abolished prefix-arg
479         (channel key).
480
481         * riece-options.el (riece-buffer-dispose-function): Changed the
482         default value from bury-buffer to kill-buffer.
483         * riece-log.el (riece-log-lock-directory): New user option.
484         (riece-log-enable): Create lock directory.
485         (riece-log-disable): Remove lock directory.
486
487         * riece-addon.el (riece-resolve-addons): Don't use FILES-ONLY
488         argument of directory-files.
489
490 2005-02-04  OHASHI Akira  <bg66@koka-in.org>
491
492         * riece-google.el (riece-google-default-lang): Change value.
493         (riece-google-display-message-function): Follow the change above.
494
495 2005-02-03  OHASHI Akira  <bg66@koka-in.org>
496
497         * riece-google.el: New add-on.
498         * COMPILE (riece-modules): Add riece-google.
499         * Makefile.am (EXTRA_DIST): Add riece-google.el.
500
501 2005-02-03  Daiki Ueno  <ueno@unixuser.org>
502
503         * riece-400.el (riece-handle-475-message): New handler; query
504         channel key.
505
506 2005-02-03  Daiki Ueno  <ueno@unixuser.org>
507
508         * riece-addon.el (riece-resolve-addon-dependencies): Rename from
509         riece-resolve-addon.
510         (riece-resolve-addon): Append add-ons under riece-addon-directory.
511
512 2005-02-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
513
514         * riece-message.el (riece-display-message): When filter-function
515         return nil, escape from while loop.
516
517 2005-02-02  Daiki Ueno  <ueno@unixuser.org>
518
519         * riece-debug.el (riece-debug-standard-output-buffer): Use
520         riece-temp-buffer.
521         * riece.el: Add riece-temp-buffer.
522         * riece-globals.el (riece-temp-buffer): New variable.
523
524 2005-02-02  Daiki Ueno  <ueno@unixuser.org>
525
526         * riece-signal.el (riece-emit-signal): Use riece-ignore-errors.
527
528         * riece-filter.el (riece-handle-numeric-reply): Use
529         riece-ignore-errors.
530         (riece-handle-message): Ditto.
531
532         * riece-ctcp.el (riece-handle-ctcp-request): Use
533         riece-ignore-errors.
534         (riece-handle-ctcp-response): Ditto.
535
536         * riece-debug.el: New file.
537         * COMPILE (riece-modules): Add riece-debug.
538         * Makefile.am (EXTRA_DIST): Add riece-debug.el.
539
540 2005-02-02  OHASHI Akira  <bg66@koka-in.org>
541
542         * riece-eval.el (riece-eval-regexp): Fix regexp.
543         (riece-eval-display-message-function): Follow the change above.
544
545 2005-02-02  Daiki Ueno  <ueno@unixuser.org>
546
547         * riece-server.el (riece-close-server-process): Run
548         riece-after-close-hook.
549
550         * riece-log.el (riece-log-insert): Bind file-name-coding-system
551         and default-file-name-coding-system to nil.
552
553 2005-02-01  OHASHI Akira  <bg66@koka-in.org>
554
555         * riece-eval.el: New add-on.
556         * COMPILE (riece-modules): Add riece-eval.
557         * Makefile.am (EXTRA_DIST): Add riece-eval.el.
558
559 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
560
561         * riece-display.el (riece-display-connect-signals): Check nick or
562         channel, before call `riece-channel-get-users'.
563
564 2004-12-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
565
566         * riece-addon.el (riece-command-enable-addon): Fixed.
567         (riece-command-disable-addon): Ditto.
568
569 2004-12-14  Daiki Ueno  <ueno@unixuser.org>
570
571         * riece-alias.el (riece-alias-abbrev-identity-string): Return a
572         copy of a string since text properties will be set on it.
573         (riece-alias-expand-identity-string): Ditto.
574
575         * riece-emacs.el (riece-normalize-modeline-string): Don't
576         concatenate elements in modeline string.
577
578 2004-12-13  Daiki Ueno  <ueno@unixuser.org>
579
580         * riece-display.el (riece-update-channel-list-indicator):
581         Normalize modeline indicator.
582
583         * riece-xemacs.el (riece-normalize-modeline-string): New alias.
584         * riece-emacs.el (riece-normalize-modeline-string): New function.
585         (riece-normalize-modeline-string-1): New function.
586
587 2004-12-13  Daiki Ueno  <ueno@unixuser.org>
588
589         * test/Makefile.am (EXTRA_DIST): Add test-riece.el.
590         * test/test-riece.el: New test cases.
591
592         * riece.el (riece-shrink-buffer): Fixed bug.
593
594         * riece-options.el (riece-username): Changed the default value to
595         user-full-name.
596
597 2004-12-12  Daiki Ueno  <ueno@unixuser.org>
598
599         * riece-command-previous-channel.xpm: New file.
600         * riece-command-next-channel.xpm: New file.
601
602         * COMPILE (riece-icons): New variable.
603         (riece-install-icons): New function.
604         (riece-install): Install icons.
605         (riece-install-package): Ditto.
606
607 2004-12-12  Daiki Ueno  <ueno@unixuser.org>
608
609         * riece-options.el (riece-addons): Add riece-toolbar.
610
611         * riece-log.el (riece-log-flashback): Fixed regexp.
612
613         * riece-menu.el (riece-menu-items): Add "Next Channel" and
614         "Previous Channel".
615
616         * riece-toolbar.el: Support XEmacs.
617         (riece-toolbar-items): Renamed from
618         riece-toolbar-item-list.
619         (riece-tool-bar-local-item-from-menu): Abolished.
620         (riece-toolbar-find-menu-item): New function.
621         (riece-make-toolbar-from-menu): New function.
622         (riece-set-toolbar): New function.
623         (riece-toolbar-insinuate-in-command-buffer): Use them.
624
625 2004-12-11  Daiki Ueno  <ueno@unixuser.org>
626
627         * riece-toolbar.el: New add-on.
628         * COMPILE (riece-modules): Add riece-toolbar.
629         * Makefile.am (EXTRA_DIST): Add riece-toolbar.el.
630
631 2004-12-10  Daiki Ueno  <ueno@unixuser.org>
632
633         * test/test-riece-log.el
634         (test-riece-log-display-message-function): "yes" -> "true".
635
636         * test/Makefile.am (EXTRA_DIST): Add lunit-report.el and
637         test-riece-log.el.
638
639 2004-12-10  Daiki Ueno  <ueno@unixuser.org>
640
641         * riece.el (riece-shrink-buffer): Shrink buffer based on chars
642         instead of lines.
643
644         * riece-options.el (riece-shrink-buffer-remove-chars): New user option.
645         (riece-shrink-buffer-remove-lines): Abolish.
646
647 2004-12-08  Daiki Ueno  <ueno@unixuser.org>
648
649         * test/test-riece-log.el (test-riece-log-delete-directory):
650         Suppress file-name encoding.
651
652         * riece-log.el (riece-log-get-directory): Fixed bug in
653         riece-log-directory-map handling.
654
655         * test/test-riece-log.el
656         (test-riece-log-display-message-function): New test case.
657
658 2004-12-08  Daiki Ueno  <ueno@unixuser.org>
659
660         * riece-log.el (riece-log-flashback): Fixed custom spec.
661         (riece-log-date-face): New face.
662         (riece-log-insert): Don't append date string to the end of log
663         lines if they arrived today.
664         (riece-log-flashback): Insert "Recent messages ...:"; call
665         riece-after-insert-functions.
666
667         * riece-handle.el (riece-handle-part-message): Call riece-naming
668         assert-part after inserting changes in channel buffers.
669         * riece-display.el (riece-part-channel): Call
670         riece-buffer-dispose-function on parted channel buffer.
671
672 2004-12-08  Daiki Ueno  <ueno@unixuser.org>
673
674         * riece-log.el (riece-log-display-message-function): Suppress
675         further file-name encoding.
676
677 2004-12-07  Daiki Ueno  <ueno@unixuser.org>
678
679         * test/lunit-report.el: New file split from lunit.el.
680
681         * riece-options.el (riece-addons): Add 'riece-log.
682
683         * test/test-riece-log.el (lunit-test-case-setup): #riece -> =23riece.
684
685         * riece-log.el (riece-log-insert): Renamed from
686         riece-log-flashback-1; simplified.
687         (riece-log-get-files): Check existence of directory.
688         (riece-log-get-directory): New implementation.
689         [cf. <Liece:00396>]
690
691 2004-12-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
692
693         * riece-foolproof.el (riece-foolproof-command-send-message-function): 
694         Check invisible text.
695
696 2004-12-07  Daiki Ueno  <ueno@unixuser.org>
697
698         * test/test-riece-log.el (test-riece-log-encode-file-name): New
699         test case.
700         (test-riece-log-encode-file-name-mule): New test case.
701         (test-riece-log-decode-file-name): New test case.
702         (test-riece-log-decode-file-name-mule): New test case.
703
704         * riece-log.el (riece-log-file-name-coding-system): New user option.
705         (riece-log-encode-file-name): New function.
706         (riece-log-decode-file-name): New function.
707
708 2004-12-06  Daiki Ueno  <ueno@unixuser.org>
709
710         * test/test-riece-log.el: New test cases.
711
712         * riece-log.el: Collect logs across dates.
713         (riece-log-get-files): New function.
714         (riece-log-flashback-1): New function.
715         (riece-log-flashback): Use it.
716
717 2004-12-05  Daiki Ueno  <ueno@unixuser.org>
718
719         * riece-message.el (riece-display-message-1): Call
720         riece-after-display-message-functions in riece-message-buffer.
721         [cf. <Liece:00391>]
722
723 2004-12-05  Daiki Ueno  <ueno@unixuser.org>
724
725         * Riece: Version 1.0.6 released.
726         * riece-version.el (riece-version-number): Bump up to 1.0.6.
727
728 2004-12-01  Daiki Ueno  <ueno@unixuser.org>
729
730         * riece-display.el (riece-update-channel-status-indicator): Fixed typo.
731
732 2004-11-28  Daiki Ueno  <ueno@unixuser.org>
733
734         * test/lunit.el (lunit-report): Accept output filename as the 2nd arg.
735         * Makefile.am (check-local): Supply riece-test with output filename.
736         * COMPILE (riece-test): Supply lunit-report with output filename.
737
738         * test/lunit.el: Require 'pp.
739         (lunit-escape-quote): Rename from lunit-test-reporter-format-sexp.
740         (lunit-report): Add "emacs-version" property.
741
742 2004-11-28  Daiki Ueno  <ueno@unixuser.org>
743
744         * COMPILE (riece-test): Use lunit-report instead of lunit.
745
746         * test/lunit.el: Report test result as XML.
747         (lunit-time-since): New function.
748         (lunit-test-reporter): New test-listener.
749         (lunit-test-reporter-format-sexp): New function.
750         (lunit-report): New function.
751
752 2004-11-27  Daiki Ueno  <ueno@unixuser.org>
753
754         * test/lunit.el: Update copyright year.
755         (lunit-test-result-run): Fixed the argument of
756         lunit-test-listener-error listener.
757
758 2004-11-26  Daiki Ueno  <ueno@unixuser.org>
759
760         * COMPILE (riece-test): Require 'lunit after when ./test is added
761         to load-path.
762
763         * test/test-riece-yank.el (test-riece-yank-strip-space): Use
764         lunit-assert-2 instead of lunit-assert.
765
766         * test/test-riece-url.el (test-riece-url-replace-match): Use
767         lunit-assert-2 instead of lunit-assert.
768         (test-riece-url-regexp-alist): Ditto.
769
770         * test/test-riece-alias.el (test-riece-alias-percent-hack): Use
771         lunit-assert-2 instead of lunit-assert.
772         (test-riece-alias-alist-1): Ditto.
773         (test-riece-alias-alist-2): Ditto.
774         (test-riece-alias-altsep-1): Ditto.
775         (test-riece-alias-altsep-2): Ditto.
776         (test-riece-alias-altsep-3): Ditto.
777         (test-riece-alias-altsep-4): Ditto.
778
779         * test/test-riece-addon.el (test-riece-resolve-addons-1): Use
780         lunit-assert-2 instead of lunit-assert.
781         (test-riece-resolve-addons-2): Ditto.
782
783         * test/lunit.el: Count assertions in test-case methods.
784         (lunit-test-result): Add assert-count slot.
785         (lunit-make-test-result): Reset assert-count to 0.
786         (lunit-test-result-run): Count assertions.
787         (lunit-test-result-failure): Abolished.
788         (lunit-test-case): Add assert-count slot; define internal
789         accesssors for them.
790         (lunit-make-test-case): Reset assert-count to 0.
791         (lunit-assert-2): New macro.
792         (lunit): Display assertion count.
793
794 2004-11-25  Daiki Ueno  <ueno@unixuser.org>
795
796         * Makefile.am (EXTRA_DIST): Add url-riece.el.
797         * url-riece.el: url-irc backend provided by Masatake YAMATO
798         <jet@gyve.org>.
799         [cf. <Liece:00373>]
800
801 2004-11-25  Daiki Ueno  <ueno@unixuser.org>
802
803         * test/Makefile.am (EXTRA_DIST): Add test-riece-url.el.
804         * test/test-riece-url.el: New test cases.
805
806         * riece-url.el (riece-url-regexp-alist): Backport from Liece 2.0.
807         (riece-url-replace-match): New function.
808         (riece-url-scan-region): Handle riece-url-regexp-alist.
809
810 2004-11-25  Daiki Ueno  <ueno@unixuser.org>
811
812         * riece-server.el (riece-server-properties): New function.
813
814 2004-11-22  Daiki Ueno  <ueno@unixuser.org>
815
816         * riece-display.el (riece-update-status-indicators): Format
817         riece-user-indicator as an identity.
818
819 2004-11-22  Daiki Ueno  <ueno@unixuser.org>
820
821         * test/test-riece-alias.el (test-riece-alias-alist-1): New test case.
822         (test-riece-alias-alist-2): New test case.
823
824         * riece-alias.el (riece-alias-abbrev-identity-string): Fixed
825         riece-alias-alist handling.
826         (riece-alias-expand-identity-string): Ditto.
827
828 2004-11-21  Daiki Ueno  <ueno@unixuser.org>
829
830         * riece-options.el (riece-shrink-buffer-remove-lines): New user option.
831         * riece.el (riece-shrink-buffer): Remove lines specified by
832         riece-shrink-buffer-remove-lines at a time.
833
834 2004-11-21  Daiki Ueno  <ueno@unixuser.org>
835
836         * riece.el (riece): Remove nonexistent buffer from
837         riece-buffer-list when running riece-shrink-buffer.
838
839 2004-11-20  Daiki Ueno  <ueno@unixuser.org>
840
841         * riece-display.el (riece-update-buffers): Check existence of each
842         buffer in riece-buffer-list.
843         * riece.el (riece): Ditto.
844
845 2004-11-20  Daiki Ueno  <ueno@unixuser.org>
846
847         * riece.el: Bind reporter-prompt-for-summary-p.
848
849 2004-11-19  Daiki Ueno  <ueno@unixuser.org>
850
851         * riece.el (riece-submit-bug-report): Query VERSION.
852
853 2004-11-19  Daiki Ueno  <ueno@unixuser.org>
854
855         * riece.el (riece-submit-bug-report): Query CTCP VERSION before
856         inspecting *IRC* buffer.
857
858 2004-11-19  Daiki Ueno  <ueno@unixuser.org>
859
860         * riece.el (riece-submit-bug-report): use
861         riece-server-process-opened instead of process-live-p.
862
863         * riece-server.el (riece-flush-send-queue): Use
864         riece-server-process-opened instead of process-live-p.
865
866         * riece-yank.el (riece-yank-strip-space): Bind space-width.
867
868         * riece-xemacs.el (riece-recent-messages): New function.
869         * riece-emacs.el (riece-recent-messages): New function.
870         * riece.el (riece-submit-bug-report): Use riece-recent-messages
871         instead of (with-output-string (print-recent-messages ...)).
872
873 2004-11-18  Daiki Ueno  <ueno@unixuser.org>
874
875         * riece.el (riece-submit-bug-report): New command.
876
877 2004-11-15  Daiki Ueno  <ueno@unixuser.org>
878
879         * riece-misc.el (riece-insert): Don't bind unused variable `buffer'.
880
881 2004-11-15  Daiki Ueno  <ueno@unixuser.org>
882
883         * riece-300.el (riece-handle-302-message): Don't expect leading
884         ":" before parameter list.
885         (riece-handle-301-message): Ditto.
886         (riece-handle-311-message): Ditto.
887         (riece-handle-312-message): Ditto.
888         (riece-handle-317-message): Ditto.
889         (riece-handle-319-message): Ditto.
890         (riece-handle-351-message): Ditto.
891         (riece-handle-353-message): Ditto.
892         (riece-handle-322-message): Ditto.
893         (riece-handle-set-topic): Ditto.
894         (riece-handle-366-message): Ditto.
895
896 2004-11-14  Daiki Ueno  <ueno@unixuser.org>
897
898         * riece.el (riece-exit): Reset riece-channel-status-indicator.
899         (riece-command-mode): Display riece-channel-status-indicator.
900         (riece-dialogue-mode): Ditto.
901         (riece-channel-mode): Ditto.
902
903         * riece-display.el (riece-update-channel-status-indicator): New
904         function.
905         (riece-update-indicator-functions): Add it.
906
907         * riece-globals.el (riece-channel-status-indicator): New indicator.
908
909 2004-11-13  Daiki Ueno  <ueno@unixuser.org>
910
911         * riece.el (riece-select-keys): Bind
912         riece-command-switch-to-channel-by-number to "#".
913
914 2004-11-11  Masatake YAMATO  <jet@gyve.org>
915
916         * riece-yank.el (riece-command-yank): Fix a typo in comments.
917
918 2004-11-09  OHASHI Akira  <bg66@koka-in.org>
919
920         * riece-yank.el (riece-command-yank): Take a 1st argument to send
921         messages as notice.
922
923 2004-11-07  Daiki Ueno  <ueno@unixuser.org>
924
925         * Riece: Version 1.0.5 released.
926         * riece-version.el (riece-version-number): Bump up to 1.0.5.
927
928 2004-11-07  Daiki Ueno  <ueno@unixuser.org>
929
930         * riece-yank.el (riece-yank-strip-space): New function split from
931         riece-command-yank.
932         * test/test-riece-addon.el: New test cases.
933         * test/test-riece-yank.el: New test cases.
934
935 2004-11-05  Daiki Ueno  <ueno@unixuser.org>
936
937         * COMPILE (riece-test): New function.
938         * Makefile.am (check-local): New target.
939         * test/luna.el: New file.
940         * test/lunit.el: New file.
941         * test/test-riece-alias.el: New test cases.
942
943 2004-11-05  Daiki Ueno  <ueno@unixuser.org>
944
945         * riece-alias.el (riece-alias-alternate-separator): New user
946         option.
947         (riece-alias-use-atmark): Abolished.
948         (riece-alias-escape-alternate-separator): Renamed from
949         riece-alias-escape-atmark; use riece-alias-alternate-separator
950         instead of hard-coded "@".
951         (riece-alias-abbrev-alternate-separator): Renamed from
952         riece-alias-abbrev-atmark; use riece-alias-alternate-separator
953         instead of hard-coded "@".
954         (riece-alias-expand-alternate-separator): Renamed from
955         riece-alias-expand-atmark; use riece-alias-alternate-separator
956         instead of hard-coded "@".
957
958 2004-11-05  Daiki Ueno  <ueno@unixuser.org>
959
960         * riece-alias.el (riece-alias-abbrev-atmark): Don't append "@" to
961         a channel on default server.
962
963 2004-11-05  Daiki Ueno  <ueno@unixuser.org>
964
965         * riece-alias.el (riece-alias-use-atmark): New user option.  If
966         this option enabled, atmark "@" will be used to separate prefix
967         and server. (e.g. "#riece@server")
968         (riece-alias-escape-atmark): New function.
969         (riece-alias-abbrev-atmark): New function.
970         (riece-alias-expand-atmark): New function.
971         (riece-alias-abbrev-identity-string): Call
972         riece-alias-abbrev-atmark.
973         (riece-alias-expand-identity-string): Call
974         riece-alias-expand-atmark.
975
976         * riece-rdcc.el (riece-rdcc-block-size): Changed default value to
977         1024 due to the DCC specification.
978         (riece-rdcc-send-program): Wait ack from a recipient.
979         (riece-rdcc-filter): Send ack each time data arrives.
980
981 2004-10-30  Daiki Ueno  <ueno@unixuser.org>
982
983         * riece-yank.el (riece-yank-strip-space): New user option.
984         (riece-command-yank): Strip spaces if riece-yank-strip-space is
985         non-nil.
986
987 2004-10-18  Daiki Ueno  <ueno@unixuser.org>
988
989         * riece-yank.el: New add-on from Masatake YAMATO <jet@gyve.org>.
990         * COMPILE (riece-modules): Add riece-yank.
991         * Makefile.am (EXTRA_DIST): Add riece-yank.el.
992
993 2004-10-11  Daiki Ueno  <ueno@unixuser.org>
994
995         * Riece: Version 1.0.4 released.
996         * riece-version.el (riece-version-number): Bump up to 1.0.4.
997
998 2004-10-05  Daiki Ueno  <ueno@unixuser.org>
999
1000         * riece.el (riece): Scan riece-startup-channel-list and open servers.
1001
1002 2004-09-27  Daiki Ueno  <ueno@unixuser.org>
1003
1004         * riece-options.el (riece-send-delay): Set default to 2.
1005
1006         * riece-server.el (riece-make-queue): New function.
1007         (riece-queue-enqueue): New function.
1008         (riece-queue-dequeue): New function.
1009         (riece-queue-empty): New function.
1010         (riece-flush-send-queue): Use a queue object; check the process
1011         is active.
1012
1013 2004-09-25  Daiki Ueno  <ueno@unixuser.org>
1014
1015         * riece-server.el: Implement flood protection.
1016         (riece-flush-send-queue): New function.
1017         (riece-process-send-string): Use it.
1018         (riece-reset-process-buffer): Reset riece-send-queue,
1019         riece-send-size, and riece-last-send-time.
1020         (riece-seconds-to-time): New function.
1021         (riece-time-less-p): New function.
1022         (riece-time-since): New function.
1023         * riece-options.el (riece-max-send-size): New user option.
1024         (riece-send-delay): New user option.
1025         * riece-globals.el (riece-send-queue): New variable.
1026         (riece-send-size): New variable.
1027
1028 2004-09-14  OHASHI Akira  <bg66@koka-in.org>
1029
1030         * riece-log.el (riece-log-flashback): Run riece-button-update-buffer
1031         only when riece-button is enabled.
1032
1033         * riece-mini.el: Require 'riece-biff.
1034         (riece-mini-requires): New function.
1035         (riece-mini-show-backlog): Run riece-biff-clear when riece-biff is
1036         enabled.
1037
1038 2004-09-13  OHASHI Akira  <bg66@koka-in.org>
1039
1040         * riece-mini.el (riece-mini-show-backlog): Fix for long messages.
1041         (riece-mini-backlog-size): Change default value.
1042
1043 2004-09-12  OHASHI Akira  <bg66@koka-in.org>
1044
1045         * riece-mini.el (riece-mini-show-backlog): Protect 1st arg of
1046         `riece-mini-message-no-log'.
1047
1048 2004-09-11  OHASHI Akira  <bg66@koka-in.org>
1049
1050         * riece-mini.el (riece-mini-display-message-function): Remove
1051         properties and "\n" of the end.
1052         (riece-mini-show-backlog): Follow the change above.
1053         (riece-mini-display-message-function): Save the history always.
1054
1055 2004-09-10  OHASHI Akira  <bg66@koka-in.org>
1056
1057         * riece-mini.el (riece-mini-display-message-function): Don't use
1058         cl macro.
1059         (riece-mini-show-backlog): Follow the change above.
1060
1061         * riece-mini.el (riece-mini): New group.
1062         (riece-mini-backlog-size): New user option.
1063         (riece-mini-backlog-history): New internal variable.
1064         (riece-mini-backlog-shown): Ditto.
1065         (riece-mini-show-backlog): New function.
1066         (riece-mini-pre-command): Ditto.
1067         (riece-mini-display-message-function): Use them.
1068         (riece-mini-insinuate): Ditto.
1069
1070         * riece-biff.el (toplevel): Remove eval-when-compile.
1071         * riece-log.el (toplevel): Ditto.
1072         * riece-mini.el (toplevel): Ditto.
1073
1074 2004-09-05  Daiki Ueno  <ueno@unixuser.org>
1075
1076         * Riece: Version 1.0.3 released.
1077         * riece-version.el (riece-version-number): Bump up to 1.0.3.
1078
1079 2004-09-01  Daiki Ueno  <ueno@unixuser.org>
1080
1081         * riece-naming.el (riece-naming-assert-channel-users): Remove
1082         nonexistent users.
1083         * riece-300.el (riece-353-users): New variable.
1084         (riece-handle-353-message): Don't update user-list.
1085         (riece-handle-366-message): Update user-list here.
1086
1087         * riece-channel.el (riece-channel-toggle-operator): Don't add ?o
1088         if it already appears in user's mode.
1089         (riece-channel-toggle-speaker): Don't add ?v if it already appears
1090         in user's mode.
1091
1092 2004-08-31  Daiki Ueno  <ueno@unixuser.org>
1093
1094         * riece.el (riece-command-mode): Set truncate-lines to nil.
1095         (riece-dialogue-mode): Ditto.
1096         (riece-channel-list-mode): Make
1097         truncate-partial-width-windows local to channel buffers and set it
1098         to nil.
1099         (riece-user-list-mode): Ditto.
1100
1101 2004-08-31  Daiki Ueno  <ueno@unixuser.org>
1102
1103         * riece.el (riece-dialogue-mode): Make
1104         truncate-partial-width-windows local to channel buffers and set it
1105         to nil.
1106         (riece-command-mode): Ditto.
1107
1108         * riece-layout.el (riece-configure-windows): Don't affect
1109         truncate-partial-width-windows.
1110         (riece-configure-windows-top): Ditto.
1111         * riece-options.el (riece-truncate-partial-width-windows):
1112         Abolished unused user option.
1113
1114 2004-08-30  Daiki Ueno  <ueno@unixuser.org>
1115
1116         * riece-options.el (riece-window-center-line): New user option.
1117         * riece-misc.el (riece-insert): Check if the current point is not
1118         visible in the window.
1119
1120 2004-08-30  Daiki Ueno  <ueno@unixuser.org>
1121
1122         * riece-misc.el (riece-insert): Don't use 2nd argument WINDOW of
1123         recenter since it is not supported by GNU Emacs.
1124
1125 2004-08-30  Daiki Ueno  <ueno@unixuser.org>
1126
1127         * riece-misc.el (riece-insert): Use (recenter -1) to set window
1128         point instead of doing so manually.
1129
1130 2004-08-28  Daiki Ueno  <ueno@unixuser.org>
1131
1132         * riece-xemacs.el (riece-put-text-property-nonsticky): New function.
1133         * riece-emacs.el (riece-put-text-property-nonsticky): New function.
1134         * riece-identity.el (riece-format-identity): Use it instead of
1135         put-text-property.
1136
1137 2004-08-27  Daiki Ueno  <ueno@unixuser.org>
1138
1139         * riece-commands.el (riece-command-complete-user): Move point to
1140         the end of the current word.
1141
1142 2004-08-23  Daiki Ueno  <ueno@unixuser.org>
1143
1144         * riece-irc.el (riece-irc-open-server): Display error message if
1145         connection-function fails.
1146         * riece-server.el (riece-open-server): Ignore errors from
1147         riece-*-open-server function.
1148         * riece.el (riece): If no server process is available, exit
1149         immediately.
1150
1151 2004-08-19  Daiki Ueno  <ueno@unixuser.org>
1152
1153         * riece-handle.el (riece-handle-quit-message): Pass
1154         riece-part-channel the identity object of the quitting user
1155         instead of his name.
1156
1157 2004-08-16  Daiki Ueno  <ueno@unixuser.org>
1158
1159         * riece-highlight.el (riece-highlight-server-match): Simplified.
1160
1161 2004-08-16  Daiki Ueno  <ueno@unixuser.org>
1162
1163         * Riece: Version 1.0.2 released.
1164         * riece-version.el (riece-version-number): Bump up to 1.0.2.
1165
1166 2004-08-16  Daiki Ueno  <ueno@unixuser.org>
1167
1168         * riece-highlight.el (riece-highlight-server-match): New match
1169         function for font-lock-keywords to highlight "(from XXX)" only if
1170         'riece-server-name property is set.
1171         (riece-dialogue-font-lock-keywords): Use it.
1172
1173 2004-08-15  Daiki Ueno  <ueno@unixuser.org>
1174
1175         * riece-handle.el (riece-handle-nick-message): Remove nil from
1176         channel buffers.
1177         (riece-handle-quit-message): Ditto.
1178         (riece-handle-kill-message): Ditto.
1179
1180         * riece-misc.el (riece-concat-server-name): Put 'riece-server-name
1181         property on "(from XXX)".
1182
1183 2004-07-29  Daiki Ueno  <ueno@unixuser.org>
1184
1185         * riece-menu.el: Do not support enable/disable addon since
1186         easy-menu-remove is not working.
1187
1188 2004-07-19  Daiki Ueno  <ueno@unixuser.org>
1189
1190         * riece-server.el (riece-open-server): Call protocol interface.
1191         (riece-quit-server-process): Ditto.
1192
1193         * riece-options.el (riece-protocol): New user option.
1194
1195         * riece-server.el: Don't require 'riece-filter.
1196
1197         * riece-irc.el: New file split from riece-server.el.
1198         * COMPILE (riece-modules): Add riece-irc.
1199         * Makefile.am (EXTRA_DIST): Add riece-irc.el.
1200
1201 2004-07-18  Daiki Ueno  <ueno@unixuser.org>
1202
1203         * riece.el: Don't require 'riece-filter.
1204         * riece-server.el: Require 'riece-filter.
1205
1206         * riece-500.el: Autoload riece-default-handle-numeric-reply from
1207         "riece-handle".
1208         * riece-400.el: Autoload riece-default-handle-numeric-reply from
1209         "riece-handle".
1210         * riece-300.el: Don't require 'riece-filter; autoload
1211         riece-default-handle-numeric-reply from "riece-handle".
1212         * riece-200.el: Autoload riece-default-handle-numeric-reply from
1213         "riece-handle".
1214         * riece-000.el: Don't require 'riece-filter; autoload
1215         riece-default-handle-numeric-reply from "riece-handle".
1216
1217         * riece-filter.el (riece-filter): Simplified.
1218
1219         * riece-server.el (riece-server-keyword-map): Add :protocol.
1220
1221         * riece-handle.el (riece-300): Require 'riece-000, 'riece-200,
1222         'riece-300, 'riece-400, and 'riece-500.
1223         (riece-default-handle-numeric-reply): Moved from riece-filter.el.
1224         * riece-filter.el (riece-handle-numeric-reply): Don't load
1225         riece-{000,200,300,400,500}.el on demand.
1226
1227 2004-07-10  Daiki Ueno  <ueno@unixuser.org>
1228
1229         * Riece: Version 1.0.1 released.
1230         * riece-version.el (riece-version-number): Bump up to 1.0.1.
1231
1232 2004-07-09  Daiki Ueno  <ueno@unixuser.org>
1233
1234         * riece-ignore.el (riece-startup-ignored-user-list): New user
1235         option.
1236         (riece-ignore-insinuate): Add identity objects from
1237         riece-startup-ignored-user-list to riece-ignored-user-list.
1238
1239 2004-07-07  Daiki Ueno  <ueno@unixuser.org>
1240
1241         * riece-commands.el (riece-command-enter-message-to-user): Signal
1242         "No text to send" error if user attempt to call this command on
1243         an empty line.
1244
1245 2004-07-04  Yoichi NAKAYAMA  <yoichi@geiin.org>
1246
1247         * riece-commands.el (riece-command-complete-user): current-word
1248         can return nil (follow the change in emacs-cvs).
1249
1250 2004-07-01  Daiki Ueno  <ueno@unixuser.org>
1251
1252         * riece.el (riece-exit): Clear signal-slots.
1253         * riece-signal.el (riece-clear-signal-slots): New function.
1254
1255 2004-06-28  Daiki Ueno  <ueno@unixuser.org>
1256
1257         * riece-misc.el (riece-split-parameters): Fixed parenthesis.
1258
1259 2004-06-26  Daiki Ueno  <ueno@unixuser.org>
1260
1261         * riece-commands.el (riece-command-change-mode): Don't send ":".
1262         [cf. <Liece:00191>]
1263
1264 2004-06-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1265
1266         * riece-display.el (riece-update-long-channel-indicator): Change
1267         order to channel, mode, topic.
1268
1269         * riece-message.el (riece-message-make-open-bracket): Come in
1270         first notice message.
1271         (riece-message-make-close-bracket): Ditto.
1272
1273 2004-06-16  Daiki Ueno  <ueno@unixuser.org>
1274
1275         * riece-commands.el (riece-command-beginning-of-buffer): New command.
1276         * riece.el (riece-dialogue-mode-map): Bind beginning-of-buffer to Home.
1277         (riece-command-map): Bind riece-command-beginning-of-buffer to Home.
1278
1279 2004-06-15  Daiki Ueno  <ueno@unixuser.org>
1280
1281         * riece.el (riece-dialogue-mode-map): Bind end-of-buffer to End.
1282         (riece-command-map): Bind riece-command-end-of-buffer to End.
1283
1284 2004-06-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1285
1286         * riece-commands.el (riece-command-send-message): Run
1287         riece-command-send-message-hook.
1288
1289         * riece-foolproof.el (riece-foolproof-dmacro-override): Removed.
1290         (riece-foolproof-command-send-message-function): New function.
1291         (riece-foolproof-insinuate): Use hook instead of advice.
1292         (riece-foolproof-enable, riece-foolproof-disable): Simplified.
1293
1294 2004-06-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1295
1296         * riece-foolproof.el (riece-foolproof-dmacro-override): New
1297         function.
1298         (riece-foolproof-insinuate): Check keyboard macro.
1299
1300 2004-06-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1301
1302         * riece-foolproof.el: New add-on.
1303         * COMPILE (riece-modules): Add riece-foolproof.
1304         * Makefile.am (EXTRA_DIST): Add riece-foolproof.el.
1305
1306 2004-06-10  Daiki Ueno  <ueno@unixuser.org>
1307
1308         * riece-commands.el (riece-command-change-mode): Don't send ":" to
1309         query a channel mode.
1310         * riece-mode.el (riece-parse-modes): Accept mode spec not
1311         delimited with " " such as "-n+s".
1312
1313 2004-06-10  Daiki Ueno  <ueno@unixuser.org>
1314
1315         * riece-layout.el (riece-set-window-points): Restore window-point
1316         of the channel buffer from riece-channel-buffer-window-point.
1317
1318         * riece-display.el (riece-switch-to-channel): Set
1319         riece-channel-buffer-window-point.
1320
1321         * riece.el (riece-channel-mode): Make
1322         riece-channel-buffer-window-point buffer local.
1323
1324         * riece-globals.el (riece-channel-buffer-window-point): New variable.
1325
1326 2004-06-06  Daiki Ueno  <ueno@unixuser.org>
1327
1328         * riece-rdcc.el (riece-command-dcc-send): Replace whitespace with
1329         "_".
1330         (riece-command-dcc-receive): Convert default filename with
1331         convert-standard-filename.
1332         (riece-handle-dcc-request): Handle filenames enclosed with "...".
1333
1334 2004-06-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1335
1336         * riece-hangman.el (riece-hangman-word): Check killed-buffer or
1337         not.  Fix random number generation logic.
1338
1339 2004-06-03  Daiki Ueno  <ueno@unixuser.org>
1340
1341         * riece-server.el (riece-open-server): When password input is
1342         quitted, delete the current server process manually.
1343         (riece-close-server-process): Always kill process buffer.
1344         (riece-quit-server-process): If the connection is timed out,
1345         delete the current server process manually.
1346
1347 2004-06-02  Daiki Ueno  <ueno@unixuser.org>
1348
1349         * riece-unread.el: Use riece-facep to check existence of
1350         'riece-modeline-unread-face.
1351         * riece-history.el: Use riece-facep to check existence of
1352         'riece-modeline-history-face.
1353         * riece-highlight.el: Use riece-facep to check existence of
1354         'riece-modeline-current-face.
1355
1356         * riece-xemacs.el (riece-facep): Define as an alias of 'find-face.
1357         * riece-emacs.el (riece-facep): Define as an alias of 'facep.
1358
1359 2004-06-01  Daiki Ueno  <ueno@unixuser.org>
1360
1361         * riece-button.el (riece-button-disable): On XEmacs, BUFFER arg of
1362         widget-map-buttons is ignored.
1363
1364 2004-06-01  Daiki Ueno  <ueno@unixuser.org>
1365
1366         * riece-unread.el (riece-modeline-unread-face): New face;
1367         setup the properties are inherited from 'modeline.
1368         * riece-history.el (riece-modeline-history-face): New face;
1369         setup the properties are inherited from 'modeline.
1370         * riece-highlight.el (riece-modeline-current-face): New face;
1371         setup the properties are inherited from 'modeline.
1372
1373         * riece-server.el (riece-close-server-process): Reset
1374         process-filter/process-sentinel.
1375
1376 2004-05-31  Daiki Ueno  <ueno@unixuser.org>
1377
1378         * riece-hangman.el (riece-hangman-after-privmsg-hook): Display answer.
1379         (riece-hangman-enable): Initialize random seed.
1380
1381 2004-05-29  Daiki Ueno  <ueno@unixuser.org>
1382
1383         * Riece: Version 1.0.0 released.
1384         * riece-version.el (riece-version-number): Bump up to 1.0.0.
1385
1386 2004-05-29  Daiki Ueno  <ueno@unixuser.org>
1387
1388         * riece-commands.el (riece-command-finger): Complete user names
1389         without server-name.
1390         (riece-command-invite): Ditto.
1391         (riece-command-change-mode): Ditto.
1392         (riece-command-enter-message-to-user): Ditto.
1393
1394         * riece-identity.el (riece-completing-read-identity): Add extra
1395         8th arg "no-server".
1396
1397 2004-05-29  Daiki Ueno  <ueno@unixuser.org>
1398
1399         * riece-server.el: Move autoload setting for 'riece-exit before
1400         riece-open-server.
1401
1402         * riece-message.el (riece-format-message): Use speaker's
1403         server-name instead of the current server-name.
1404
1405         * riece-ignore.el: Autoload 'riece-dialogue-mode.
1406
1407         * riece-identity.el (riece-format-identity): Put
1408         'riece-format-identity-prefix-only property.
1409
1410         * riece-icon.el: Require 'riece-globals and 'riece-signal.
1411
1412         * riece-history.el: Require 'riece-signal.
1413
1414         * riece-highlight.el: Require 'riece-misc.
1415
1416         * riece-alias.el: Require 'riece-signal.
1417
1418         * riece-addon.el: Require 'font-lock, 'riece-options,
1419         'riece-compat, and 'riece-misc.
1420
1421 2004-05-29  Daiki Ueno  <ueno@unixuser.org>
1422
1423         * riece-commands.el (riece-command-switch-to-channel): Change prompt.
1424         (riece-command-switch-to-channel-by-number): Ditto.
1425         (riece-command-change-layout): Ditto.
1426         (riece-command-finger): Ditto.
1427         (riece-command-topic): Ditto.
1428         (riece-command-invite): Ditto.
1429         (riece-command-kick): Ditto.
1430         (riece-command-names): Ditto.
1431         (riece-command-who): Ditto.
1432         (riece-command-list): Ditto.
1433         (riece-command-change-mode): Ditto.
1434         (riece-command-set-operators): Ditto.
1435         (riece-command-set-speakers): Ditto.
1436         (riece-command-enter-message-to-user): Ditto.
1437         (riece-command-join): Ditto.
1438         (riece-command-part): Ditto.
1439         (riece-command-open-server): Ditto.
1440         (riece-command-close-server): Ditto.
1441
1442 2004-05-28  OHASHI Akira  <bg66@koka-in.org>
1443
1444         * riece-biff.el (riece-biff-insinuate): Add riece-biff-disable to
1445         riece-exit-hook.
1446
1447 2004-05-28  Daiki Ueno  <ueno@unixuser.org>
1448
1449         * riece-message.el (riece-message-set-speaker): New function.
1450         (riece-message-set-target): New function.
1451         (riece-message-set-text): New function.
1452         (riece-message-set-type): New function.
1453         (riece-message-set-own-p): New function.
1454
1455         * riece-kakasi.el: New add-on.
1456         * COMPILE (riece-modules): Add riece-kakasi.
1457         * Makefile.am (EXTRA_DIST): Add riece-kakasi.el.
1458
1459 2004-05-27  OHASHI Akira  <bg66@koka-in.org>
1460
1461         * riece-biff.el: New add-on.
1462         * COMPILE (riece-modules): Add riece-biff.
1463         * Makefile.am (EXTRA_DIST): Add riece-biff.el.
1464
1465 2004-05-26  Daiki Ueno  <ueno@unixuser.org>
1466
1467         * riece.el (riece-exit): Don't disable addons.
1468
1469         * riece-commands.el (riece-command-quit): Don't query user to
1470         input y/n if there is no server process.
1471
1472 2004-05-26  Daiki Ueno  <ueno@unixuser.org>
1473
1474         * riece-highlight.el: Require 'derived.
1475         (riece-highlight-setup-dialogue): Turn on font-lock if
1476         riece-highlight-enabled.
1477         (riece-highlight-setup-channel-list): Ditto.
1478
1479 2004-05-24  Daiki Ueno  <ueno@unixuser.org>
1480
1481         * riece-addon.el (riece-command-list-addons): Sort add-ons.
1482
1483 2004-05-23  Daiki Ueno  <ueno@unixuser.org>
1484
1485         * riece-menu.el: Don't put 'riece-addon-default-disabled property.
1486
1487         * riece-log.el (riece-log-flashback): Don't check riece-log-enabled.
1488
1489         * riece.el (riece): Enable add-ons after startup.
1490
1491 2004-05-23  Daiki Ueno  <ueno@unixuser.org>
1492
1493         * riece-unread.el (riece-unread-disable): Reset riece-unread-channels.
1494
1495 2004-05-22  Daiki Ueno  <ueno@unixuser.org>
1496
1497         * riece-message.el (riece-format-message): Don't append
1498         server-name if the 2nd arg is not specified.
1499
1500         * riece-hangman.el (riece-hangman-word): Fixed regexp.
1501
1502 2004-05-22  Daiki Ueno  <ueno@unixuser.org>
1503
1504         * riece-xface.el: Support enable/disable.
1505         (riece-xface-enabled): New flag.
1506         (riece-xface-description): New variable.
1507         (riece-xface-update-user-list-buffer): Check riece-xface-enabled.
1508         (riece-xface-enable): New function.
1509         (riece-xface-disable): New function.
1510
1511         * riece-url.el: Support enable/disable.
1512         (riece-url-enabled): New flag.
1513         (riece-url-description): New variable.
1514         (riece-url-enable): New function; bind command keys here.
1515         (riece-url-disable): New function.
1516
1517         * riece-unread.el: Support enable/disable.
1518         (riece-unread-enabled): New flag.
1519         (riece-unread-description): New variable.
1520         (riece-unread-after-display-message-function): Check
1521         riece-unread-enabled.
1522         (riece-unread-after-switch-to-channel-function): Ditto.
1523         (riece-unread-format-identity-for-channel-list-buffer): Ditto.
1524         (riece-unread-format-identity-for-channel-list-indicator): Ditto.
1525         (riece-unread-enable): New function; bind command keys here.
1526         (riece-unread-disable): New function.
1527
1528         * riece-rdcc.el: Support enable/disable.
1529         (riece-rdcc-enabled): New flag.
1530         (riece-rdcc-description): New variable.
1531         (riece-handle-dcc-request): Check riece-rdcc-enabled.
1532         (riece-rdcc-enable): New function; bind command keys here.
1533         (riece-rdcc-disable): New function.
1534
1535         * riece-ndcc.el: Support enable/disable.
1536         (riece-ndcc-enabled): New flag.
1537         (riece-ndcc-description): New variable.
1538         (riece-handle-dcc-request): Check riece-ndcc-enabled.
1539         (riece-ndcc-enable): New function; bind command keys here.
1540         (riece-ndcc-disable): New function.
1541
1542         * riece-menu.el: Support enable/disable; put
1543         riece-addon-default-disabled property.
1544         (riece-menu-enabled): New flag.
1545         (riece-menu-description): New variable.
1546         (riece-menu-enable): New function.
1547         (riece-menu-disable): New function.
1548
1549         * riece-lsdb.el: Support enable/disable.
1550         (riece-lsdb-enabled): New flag.
1551         (riece-lsdb-description): New variable.
1552         (riece-lsdb-enable): New function; bind command keys here.
1553         (riece-lsdb-disable): New function.
1554
1555         * riece-keyword.el: Support enable/disable.
1556         (riece-keyword-enabled): New flag.
1557         (riece-keyword-description): New variable.
1558         (riece-keyword-message-filter): Check riece-keyword-enabled.
1559         (riece-keyword-enable): New function.
1560         (riece-keyword-disable): New function.
1561
1562         * riece-ignore.el: Support enable/disable.
1563         (riece-ignore-enabled): New flag.
1564         (riece-ignore-description): New variable.
1565         (riece-ignore-message-filter): Check riece-ignore-enabled.
1566         (riece-ignore-enable): New function; bind command keys here.
1567         (riece-ignore-disable): New function.
1568
1569         * riece-icon.el: Support enable/disable.
1570         (riece-icon-enabled): New flag.
1571         (riece-icon-description): New variable.
1572         (riece-icon-update-user-list-buffer): Check riece-icon-enabled.
1573         (riece-icon-update-channel-list-buffer): Check riece-icon-enabled.
1574         (riece-icon-enable): New function.
1575         (riece-icon-disable): New function.
1576
1577         * riece-history.el: Support enable/disable.
1578         (riece-history-enabled): New flag.
1579         (riece-history-description): New variable.
1580         (riece-history-format-identity-for-channel-list-buffer): Check
1581         riece-history-enabled.
1582         (riece-history-format-identity-for-channel-list-indicator): Ditto.
1583         (riece-history-enable): New function.
1584         (riece-history-disable): New function.
1585
1586         * riece-hangman.el: Support enable/disable; put
1587         riece-addon-default-disabled property.
1588         (riece-hangman-enabled): New flag.
1589         (riece-hangman-description): New variable.
1590         (riece-hangman-after-privmsg-hook): Check riece-hangman-enabled.
1591         (riece-hangman-enable): New function.
1592         (riece-hangman-disable): New function.
1593
1594         * riece-guess.el: Support enable/disable.
1595         (riece-guess-enabled): New flag.
1596         (riece-guess-description): New variable.
1597         (riece-guess-insinuate): Nothing to do.
1598         (riece-guess-enable): New function; bind command keys here.
1599         (riece-guess-disable): New function.
1600
1601         * riece-doctor.el: Support enable/disable; put
1602         'riece-addon-default-disabled property.
1603         (riece-doctor-enabled): New flag.
1604         (riece-doctor-description): New variable.
1605         (riece-doctor-after-privmsg-hook): Check riece-doctor-enabled.
1606         (riece-doctor-enable): New function.
1607         (riece-doctor-disable): New function.
1608
1609         * riece-ctlseq.el: Support enable/disable.
1610         (riece-ctlseq-enabled): New flag.
1611         (riece-ctlseq-description): New variable.
1612         (riece-ctlseq-message-filter): Check riece-ctlseq-enabled.
1613         (riece-ctlseq-enable): New function.
1614         (riece-ctlseq-disable): New function.
1615
1616         * riece-button.el: Support enable/disable.
1617         (riece-button-enabled): New flag
1618         (riece-button-description): New variable.
1619         (riece-button-enable): New function.
1620         (riece-button-disable): New function.
1621
1622         * riece-async.el (riece-async-description): New variable.
1623
1624         * riece-alias.el: Support enable/disable.
1625         (riece-alias-enabled): New flag.
1626         (riece-alias-description): New variable.
1627         (riece-alias-insinuate): Nothing to do.
1628         (riece-alias-enable): New function.
1629         (riece-alias-disable): New function.
1630
1631         * riece-addon.el (riece-addon-list-mark-face-alist): Change mark
1632         for addons which does not support enable/disable.
1633         (riece-addon-list-font-lock-keywords): Follow the above change.
1634         (riece-command-list-addons): Ditto.
1635
1636         * riece.el (riece): Check 'riece-addon-default-disabled property.
1637         (riece-exit): Disable addons.
1638
1639 2004-05-22  Daiki Ueno  <ueno@unixuser.org>
1640
1641         * riece-addon.el (riece-addon-list-mode): Call font-lock-set-defaults.
1642
1643         * riece-highlight.el (riece-highlight-setup-dialogue): Call
1644         font-lock-set-defaults.
1645         (riece-highlight-setup-channel-list): Ditto.
1646
1647         * riece.el (riece): Enable add-ons after startup.
1648
1649 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1650
1651         * riece.el (riece-dialogue-mode-map): Bind
1652         riece-command-list-addons as "^".
1653
1654 2004-05-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1655
1656         * riece-skk-kakutei.el (riece-skk-kakutei-enabled): New flag.
1657         (riece-skk-kakutei-description): New variable.
1658         (riece-skk-kakutei-insinuate): Nothing to do.
1659         (riece-skk-kakutei-enable): New function.
1660         (riece-skk-kakutei-disable): New function.
1661
1662 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1663
1664         * riece-highlight.el (riece-highlight-setup-dialogue): Simplified.
1665         (riece-highlight-setup-channel-list): Simplified.
1666
1667         * riece.el (riece): Enable add-ons just after insinuate them.
1668
1669         * riece-addon.el (riece-addon-list-enabled-face): New face.
1670         (riece-addon-list-disabled-face): New face.
1671         (riece-addon-list-unsupported-face): New face.
1672         (riece-addon-list-unknown-face): New face.
1673         (riece-addon-list-description-face): New face.
1674         (riece-addon-list-mark-face-alist): New user option.
1675         (riece-addon-list-font-lock-keywords): New variable.
1676         (riece-addon-list-mode-map): Bind some keys.
1677
1678 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1679
1680         * riece-addon.el (riece-insinuate-addon): Add optional 2nd
1681         argument `verbose'
1682         (riece-enable-addon): Ditto.
1683         (riece-disable-addon): Ditto.
1684         (riece-command-enable-addon): Call riece-enable-addon with the 2nd
1685         arg.
1686         (riece-command-disable-addon): Call riece-disable-addon with the
1687         2nd arg.
1688
1689 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1690
1691         * riece-addon.el (riece-command-list-addons): Change "no
1692         description" -> "(no description)"; show key bindings.
1693
1694         * riece-ctcp.el (riece-ctcp-description): New variable.
1695         * riece-highlight.el (riece-highlight-description): New variable
1696         * riece-log.el (riece-log-description): New variable.
1697         * riece-mini.el (riece-mini-description): New variable.
1698
1699 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1700
1701         * riece-ctcp.el (riece-ctcp-enable): Fixed typo.
1702
1703         * riece-addon.el (riece-addon-list-mode-map): New keymap.
1704         (riece-addon-list-mode): New function.
1705         (riece-command-list-addons): New command.
1706         (riece-command-enable-addon): New command.
1707         (riece-command-disable-addon): New command.
1708         (riece-disable-addon): Fixed typo.
1709
1710 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
1711
1712         * riece-mini.el (riece-mini-enabled): New flag.
1713         (riece-mini-display-message-function): Check riece-mini-enabled.
1714         (riece-mini-enable): New function.
1715         (riece-mini-disable): New function.
1716
1717         * riece-log.el (riece-log-enabled): New flag.
1718         (riece-log-display-message-function): Check riece-log-enabled.
1719         (riece-log-insinuate): Don't bind command key.
1720         (riece-log-enable): New function.
1721         (riece-log-disable): New function.
1722
1723         * riece-highlight.el (riece-highlight-enabled): New flag.
1724         (riece-highlight-setup-dialogue): Renamed from
1725         riece-dialogue-turn-on-font-lock; don't call turn-on-font-lock.
1726         (riece-highlight-setup-channel-list): Renamed from
1727         riece-channel-list-turn-on-font-lock; don't call
1728         turn-on-font-lock.
1729         (riece-highlight-hide-prefix): Renamed from
1730         riece-dialogue-hide-prefix.
1731         (riece-highlight-put-overlay-faces): Renamed from
1732         riece-put-overlay-faces; check riece-highlight-enabled.
1733         (riece-highlight-format-identity-for-channel-list-indicator):
1734         Check riece-highlight-enabled.
1735         (riece-highlight-insinuate): Follow the name changes.
1736         (riece-highlight-enable): New function.
1737         (riece-highlight-disable): New function.
1738
1739         * riece-ctcp.el (riece-ctcp-enabled): New flag.
1740         (riece-ctcp-insinuate): Don't bind command keys.
1741         (riece-ctcp-enable): New function.
1742         (riece-ctcp-disable): New function.
1743         (riece-handle-ctcp-request): Check riece-ctcp-enabled.
1744         (riece-handle-ctcp-response): Ditto.
1745
1746         * riece.el: Moved add-on arrangement code to riece-addon.el.
1747         (riece-addons-insinuated): New flag.
1748         (riece): Don't (re)insinuate add-ons if at least an IRC server is
1749         opened; enable add-ons after calling riece-startup-hook.
1750
1751         * riece-addon.el: New file.
1752         * COMPILE (riece-modules): Add riece-addon.
1753         * Makefile.am (EXTRA_DIST): Add riece-addon.el.
1754
1755 2004-05-20  Daiki Ueno  <ueno@unixuser.org>
1756
1757         * riece-doctor.el (riece-doctor-buffer-name): Assume that the 1st
1758         argument is nickname rather than identity object.
1759         (riece-doctor-after-privmsg-hook): Don't send formatted identity
1760         as a patient's nickname.
1761
1762 2004-05-20  Daiki Ueno  <ueno@unixuser.org>
1763
1764         * riece-hangman.el (riece-hangman-player-context-alist): Renamed
1765         from riece-hangman-players.
1766         (riece-hangman-make-context): Add doc.
1767         (riece-hangman-context-word): Add doc.
1768         (riece-hangman-context-guessed): Add doc.
1769         (riece-hangman-context-missed-count): Add doc.
1770         (riece-hangman-context-set-guessed): Add doc.
1771         (riece-hangman-context-set-missed-count): Add doc.
1772         (riece-hangman-word): Add doc.
1773         (riece-hangman-reply-with-context): Prefix user name.
1774
1775 2004-05-20  Daiki Ueno  <ueno@unixuser.org>
1776
1777         * riece-doctor.el (riece-doctor-after-privmsg-hook): Prefix user
1778         name to reply.
1779
1780         * riece-hangman.el: New add-on.
1781         * COMPILE (riece-modules): Add riece-hangman.
1782         * Makefile.am (EXTRA_DIST): Add riece-hangman.el.
1783
1784 2004-05-19  Daiki Ueno  <ueno@unixuser.org>
1785
1786         * riece-400.el (riece-handle-read-string): Append "Quit" to prompt
1787         if user quits input.
1788
1789 2004-05-19  Daiki Ueno  <ueno@unixuser.org>
1790
1791         * riece-commands.el (riece-command-complete-user): New command.
1792         * riece.el: Bind riece-command-complete-user.
1793
1794 2004-05-19  Daiki Ueno  <ueno@unixuser.org>
1795
1796         * riece-400.el (riece-handle-read-string): New function.
1797         (riece-handle-432-message): Use it.
1798         (riece-handle-433-message): Use it.
1799
1800         * riece-server.el (riece-open-server): Don't inhibit quit and
1801         catch it when reading server password.
1802
1803 2004-05-18  Daiki Ueno  <ueno@unixuser.org>
1804
1805         * riece-ignore.el (riece-ignore-message-filter): Set the
1806         major-mode of riece-ignore-buffer riece-dialogue-mode.
1807
1808 2004-05-18  Daiki Ueno  <ueno@unixuser.org>
1809
1810         * riece-ignore.el (riece-ignore-buffer-name): New user option.
1811         (riece-ignore-discard-message): Fixed custom spec to follow the
1812         logging option.
1813         (riece-ignore-buffer): New variable.
1814
1815         * riece-log.el (riece-log-display-message-function): Use
1816         riece-format-message.
1817
1818         * riece-message.el (riece-format-message): New function splitted
1819         from riece-display-message-1.
1820         (riece-display-message-1): Use it.
1821
1822 2004-05-18  Daiki Ueno  <ueno@unixuser.org>
1823
1824         * riece-ignore.el (riece-ignore-user): Renamed from
1825         riece-ignore-by-user.
1826
1827 2004-05-18  Daiki Ueno  <ueno@unixuser.org>
1828
1829         * riece-signal.el (riece-connect-signal): Fixed doc.
1830         (riece-disconnect-signal): New function.
1831
1832         * riece-ignore.el (riece-ignore-discard-message): New user option.
1833         (riece-ignored-user-list): Renamed from riece-ignored-user.
1834         (riece-ignore-by-user): Support unignore.
1835
1836 2004-05-18  Daiki Ueno  <ueno@unixuser.org>
1837
1838         * riece-url.el (riece-url-regexp): Accept ";".
1839
1840         * riece-ignore.el: New add-on.
1841         * COMPILE (riece-modules): Add riece-ignore.
1842         * Makefile.am (EXTRA_DIST): Add riece-ignore.el.
1843
1844 2004-05-13  OHASHI Akira  <bg66@koka-in.org>
1845
1846         * riece-log.el (riece-log-get-directory): Follow the name change
1847         of riece-channel-regexp.
1848
1849 2004-05-12  Daiki Ueno  <ueno@unixuser.org>
1850
1851         * riece-globals.el (riece-strict-channel-regexp): Renamed from
1852         riece-channel-regexp.
1853         (riece-strict-user-regexp): Renamed from riece-user-regexp.
1854         (riece-laxed-channel-regexp): New constant.
1855         (riece-laxed-user-regexp): New constant.
1856         (riece-channel-regexp): Define as variable (its default value is
1857         set to riece-laxed-channel-regexp).
1858         (riece-user-regexp): Define as variable (its default value is set
1859         to riece-laxed-user-regexp).
1860
1861 2004-05-10  Daiki Ueno  <ueno@unixuser.org>
1862
1863         * riece-ctlseq.el (riece-ctlseq-scan-region): Abolish.
1864         (riece-ctlseq-requires): New function.
1865         (riece-ctlseq-message-filter): Assume the existence of
1866         riece-put-overlay-faces, add 'riece-overlay-face property.
1867
1868         * riece-keyword.el (riece-keyword-scan-region): Abolish.
1869         (riece-keyword-message-filter): Assume the existence of
1870         riece-put-overlay-faces, add 'riece-overlay-face property.
1871
1872         * riece-highlight.el (riece-put-overlay-faces): New function.
1873         (riece-highlight-insinuate): Add riece-put-overlay-faces to
1874         riece-after-insert-functions.
1875
1876 2004-05-05  Daiki Ueno  <ueno@unixuser.org>
1877
1878         * riece-misc.el (riece-split-parameters): Don't remove a trailing
1879         string even if it is empty.
1880
1881 2004-05-05  Daiki Ueno  <ueno@unixuser.org>
1882
1883         * riece-ctlseq.el: Require 'riece-message for riece-message-text;
1884         require 'riece-misc for riece-scan-property-region.
1885
1886         * riece-ctcp.el: Require 'riece-display for riece-channel-buffer.
1887
1888 2004-05-04  Daiki Ueno  <ueno@unixuser.org>
1889
1890         * riece-300.el (riece-handle-312-message): Use server name
1891         returned by WHOIS instead of riece-real-server-name.
1892         [cf. <Liece:00170>]
1893
1894 2004-05-04  Daiki Ueno  <ueno@unixuser.org>
1895
1896         * Riece: Version 0.2.2 released.
1897         * riece-version.el (riece-version-number): Bump up to 0.2.2.
1898
1899         * riece-ctlseq.el (riece-ctlseq-hide-controls): New user option.
1900
1901         * riece-keyword.el (riece-keyword): Fixed the parent custom group.
1902         * riece-url.el (riece-url): Fixed the parent custom group.
1903
1904 2004-05-04  Daiki Ueno  <ueno@unixuser.org>
1905
1906         * riece-ctlseq.el: New add-on.
1907         * COMPILE (riece-modules): Add riece-ctlseq.
1908         * Makefile.am (EXTRA_DIST): Add riece-ctlseq.el.
1909
1910 2004-04-29  OHASHI Akira  <bg66@koka-in.org>
1911
1912         * riece-log.el (riece-log-get-directory): Use a canonicalized
1913         channel name.
1914         (riece-log-open-directory-function): New user option.
1915         (riece-log-open-directory): Use it.
1916         (riece-log-insinuate): Add new key bind.
1917
1918 2004-04-05  Daiki Ueno  <ueno@unixuser.org>
1919
1920         * riece-button.el (riece-button-requires): Abolish.
1921
1922 2004-03-29  Daiki Ueno  <ueno@unixuser.org>
1923
1924         * riece.el (riece-buffer-alist): Rename *Commands* -> *Command*.
1925         (riece-command-mode): Rename Commands -> Command.
1926
1927 2004-03-28  Daiki Ueno  <ueno@unixuser.org>
1928
1929         * riece-signal.el: Require 'riece-options for riece-debug.
1930         * riece-async.el: Require 'riece-options for riece-debug.
1931
1932 2004-03-28  Daiki Ueno  <ueno@unixuser.org>
1933
1934         * riece.el (riece-command-mode): Don't display
1935         riece-freeze-indicator on the modeline of the command buffer.
1936         (riece-dialogue-mode): Make riece-freeze-indicator local to the
1937         buffer whose major-mode is derived from riece-dialogue-mode.
1938
1939         * riece-display.el: Add autoload setting for derived-mode-class.
1940         (riece-update-status-indicators): Check riece-freeze flag for each
1941         buffer visible in the selected frame.
1942
1943         * riece-commands.el: Add autoload setting for derived-mode-class.
1944         (riece-command-toggle-freeze): Don't switch to the channel buffer
1945         if major-mode of the current buffer is derived from
1946         riece-dialogue-mode.  Which allows to lock "*Others*" buffer.
1947         (riece-command-toggle-own-freeze): Ditto.
1948
1949         * riece-globals.el (riece-freeze): Fix doc.
1950         (riece-freeze-indicator): Add doc.
1951         (riece-channel-indicator): Fix doc.
1952         (riece-long-channel-indicator): Fix doc.
1953         (riece-channel-list-indicator): Fix doc.
1954         (riece-user-indicator): Fix doc.
1955         (riece-away-indicator): Add doc.
1956         (riece-operator-indicator): Add doc.
1957
1958 2004-03-24  Daiki Ueno  <ueno@unixuser.org>
1959
1960         * riece-unread.el (riece-unread-after-display-message-function):
1961         Treat private messages as unread.
1962
1963 2004-03-21  Daiki Ueno  <ueno@unixuser.org>
1964
1965         * riece.el (riece-exit): Don't clear riece-user-list-buffer and
1966         riece-channel-list-buffer.
1967
1968 2004-03-21  Daiki Ueno  <ueno@unixuser.org>
1969
1970         * riece.el (riece-exit): Clear riece-channel-buffer,
1971         riece-user-list-buffer, and riece-channel-list-buffer.
1972
1973 2004-03-20  Daiki Ueno  <ueno@unixuser.org>
1974
1975         * riece-server.el (riece-open-server): Append the server-name to
1976         the prompt string.
1977
1978 2004-03-14  Daiki Ueno  <ueno@unixuser.org>
1979
1980         * riece-display.el (riece-display-connect-signals): Update
1981         riece-long-channel-indicator on 'channel-modes-changed signal.
1982
1983         * riece-naming.el (riece-naming-assert-channel-modes): New
1984         function renamed from riece-handle-channel-modes.
1985
1986         * riece-misc.el: Require 'riece-mode.
1987         (riece-concat-channel-modes): Display mode parameter.
1988
1989         * riece-channel.el: Require 'riece-mode.
1990         (riece-channel-toggle-mode): Store mode "objects" instead of mode
1991         "flags".
1992         * riece-user.el: Require 'riece-mode.
1993         (riece-user-toggle-mode): Store mode "objects" instead of mode
1994         "flags".
1995
1996         * riece-handle.el: Require 'riece-mode.
1997         (riece-handle-mode-message): Use riece-parse-mode.
1998         (riece-parse-mode): Moved to riece-mode.el.
1999         (riece-handle-channel-modes): Moved to riece-naming.el.
2000
2001         * riece-300.el: Require 'riece-mode.
2002         (riece-handle-324-message): Use riece-parse-mode.
2003
2004         * riece-mode.el: New file.
2005         * Makefile.am (EXTRA_DIST): Add riece-mode.el.
2006         * COMPILE (riece-modules): Add riece-mode.
2007
2008 2004-03-13  Daiki Ueno  <ueno@unixuser.org>
2009
2010         * riece-ctcp.el: "Error occurred in XXX" -> "Error in XXX".
2011         * riece-filter.el: "Error occurred in XXX" -> "Error in XXX".
2012         * riece-signal.el: "Error occurred in XXX" -> "Error in XXX".
2013
2014 2004-03-09  Daiki Ueno  <ueno@unixuser.org>
2015
2016         * Riece: Version 0.2.1 released.
2017         * riece-version.el (riece-version-number): Bump up to 0.2.1.
2018
2019 2004-03-09  Daiki Ueno  <ueno@unixuser.org>
2020
2021         * riece-emacs.el (riece-propertize-modeline-string): Fix arguments
2022         for add-text-properties.
2023
2024 2004-03-08  Daiki Ueno  <ueno@unixuser.org>
2025
2026         * riece-xface.el (riece-xface-insinuate): Use
2027         riece-user-list-mode-hook to setup riece-update-buffer-functions
2028         in user-list buffer.
2029
2030 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
2031
2032         * Riece: Version 0.2.0 released.
2033         * riece-version.el (riece-version-number): Bump up to 0.2.0.
2034
2035         * riece-ctcp.el (riece-handle-ctcp-version-request): Fixed bug in
2036         formatting target identity.
2037         (riece-handle-ctcp-ping-request): Ditto.
2038         (riece-handle-ctcp-clientinfo-request): Ditto.
2039
2040 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
2041
2042         * riece-display.el: Rename some signals.
2043
2044         * riece-commands.el (riece-command-set-operators): Reverse user-list.
2045         (riece-command-set-speakers): Ditto.
2046
2047 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
2048
2049         * riece-unread.el
2050         (riece-unread-format-identity-for-channel-list-indicator): Escape
2051         % -> %%; use riece-propertize-modeline-string.
2052
2053         * riece-history.el
2054         (riece-history-format-identity-for-channel-list-indicator): Escape
2055         % -> %%; use riece-propertize-modeline-string.
2056
2057         * riece-highlight.el
2058         (riece-highlight-format-identity-for-channel-list-indicator):
2059         Escape % -> %%; use riece-propertize-modeline-string.
2060
2061         * riece-display.el
2062         (riece-format-identity-for-channel-list-indicator): Escape % ->
2063         %%.
2064         (riece-update-channel-list-indicator): Rewrite.
2065
2066         * riece-emacs.el (riece-propertize-modeline-string): New function.
2067         * riece-xemacs.el (riece-propertize-modeline-string): New function.
2068
2069 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
2070
2071         * riece-unread.el
2072         (riece-unread-format-identity-for-channel-list-indicator): New
2073         function.
2074         (riece-unread-insinuate): Setup
2075         riece-format-identity-for-channel-list-indicator-functions.
2076
2077         * riece-history.el
2078         (riece-history-format-identity-for-channel-list-buffer): New
2079         function.
2080         (riece-history-insinuate): Setup
2081         riece-format-identity-for-channel-list-indicator-functions.
2082
2083         * riece-highlight.el
2084         (riece-highlight-format-identity-for-channel-list-indicator): New
2085         function.
2086         (riece-highlight-insinuate): Setup
2087         riece-format-identity-for-channel-list-indicator-functions.
2088
2089         * riece-display.el
2090         (riece-format-identity-for-channel-list-buffer): Rename from
2091         riece-format-channel-list-line.
2092         (riece-format-identity-for-channel-list-indicator): New function.
2093         (riece-update-channel-list-indicator): Use it.
2094
2095 2004-03-07  Daiki Ueno  <ueno@unixuser.org>
2096
2097         * riece-handle.el (riece-parse-modes): Make sure that mode params
2098         are started at the beginning of the mode string.
2099         (riece-handle-channel-modes): Fixed arguments passed to
2100         riece-channel-toggle-*.
2101
2102 2004-03-06  Daiki Ueno  <ueno@unixuser.org>
2103
2104         * riece-xface.el (riece-xface-insinuate): Set
2105         'riece-update-buffer-functions local to the user-list buffer.
2106
2107         * riece-unread.el: Require 'riece-signal instead of
2108         'riece-display.
2109         (riece-unread-after-display-message-function): Emit
2110         'riece-update-buffer signal instead of
2111         'riece-unread-channel-list-update signal.
2112
2113         * riece-ndcc.el: Don't require 'riece-display.
2114
2115         * riece-naming.el: Require 'riece-signal instead of
2116         'riece-display.
2117         (riece-naming-assert-rename): Don't rename buffer.
2118
2119         * riece-history.el (riece-history-format-channel-list-line): Don't
2120         append "\n".
2121
2122         * riece-handle.el: Require 'riece-signal instead of
2123         'riece-display.
2124         (riece-parse-modes): Rename from riece-parse-channel-modes; don't
2125         update channel modes.
2126         (riece-handle-channel-modes): New function which processes the
2127         result of riece-parse-modes.
2128         (riece-handle-mode-message): Use it.
2129
2130         * riece-filter.el: Don't require 'riece-display.
2131         * riece-display.el: Require 'riece-signal; connect
2132         'riece-update-buffer signal.
2133
2134         * riece-ctcp.el: Don't require 'riece-display.
2135
2136         * riece-signal.el: New module splitted from riece-display.el.
2137         * Makefile.am (EXTRA_DIST): Add riece-signal.
2138         * COMPILE (riece-modules): Add riece-signal.
2139
2140 2004-03-05  Daiki Ueno  <ueno@unixuser.org>
2141
2142         * riece-unread.el (riece-unread-after-display-message-function):
2143         Emit 'riece-unread-channel-list-update signal.
2144         (riece-unread-insinuate): Connect the signal to the function which
2145         updates channel-list buffer.
2146
2147         * riece-display.el (riece-display-connect-signals): Fix parenthesis.
2148
2149 2004-03-04  Daiki Ueno  <ueno@unixuser.org>
2150
2151         * riece-display.el (riece-emit-signal): Fixed bug that errors
2152         during signal filter execution were not caught.
2153         (riece-display-connect-signals): Check riece-current-channel is set.
2154
2155 2004-03-01  Daiki Ueno  <ueno@unixuser.org>
2156
2157         * riece-display.el (riece-display-connect-signals): Fixed bug in
2158         signal filters.
2159
2160         * riece-handle.el (riece-handle-mode-message): Don't call
2161         riece-parse-channel-modes if channel doesn't match with
2162         riece-channel-regexp.
2163
2164 2004-02-28  Daiki Ueno  <ueno@unixuser.org>
2165
2166         * riece-display.el (riece-display-connect-signals): Connect some
2167         signals.
2168
2169         * riece-naming.el (riece-naming-assert-join): Don't change the
2170         current channel manually.
2171         (riece-naming-assert-part): Ditto.
2172         (riece-naming-assert-rename): Ditto.
2173         (riece-naming-assert-channel-users): Ditto.
2174
2175 2004-02-27  Daiki Ueno  <ueno@unixuser.org>
2176
2177         * riece-display.el (riece-emit-signal): Create signal object
2178         internally.
2179
2180         * riece-message.el (riece-display-message-1): Emit
2181         'riece-buffer-toggle-freeze signal.
2182
2183         * riece-commands.el (riece-command-toggle-freeze): Emit
2184         'riece-buffer-toggle-freeze signal; don't update status indicators
2185         manually.
2186         (riece-command-toggle-own-freeze): Ditto.
2187         
2188         * riece-naming.el (riece-naming-assert-join): Rename signal 'join
2189         -> 'riece-naming-assert-join.
2190         (riece-naming-assert-part): Rename signal 'part ->
2191         'riece-naming-assert-part.
2192         (riece-naming-assert-rename): Rename signal 'rename ->
2193         'riece-naming-assert-rename.
2194         (riece-naming-assert-channel-users): Rename from
2195         riece-naming-assert-users; rename signal 'users ->
2196         'riece-naming-assert-channel-users.
2197
2198         * riece-handle.el (riece-handle-topic-message): Emit
2199         'riece-channel-set-topic signal.
2200         (riece-parse-channel-modes): Emit 'riece-channel-toggle-operator,
2201         'riece-channel-toggle-speaker, and 'riece-channel-toggle-modes signals.
2202
2203         * riece-display.el (riece-display-connect-signals): Rename some
2204         signals; connect more signals.
2205
2206         * riece-300.el (riece-handle-302-message): Emit
2207         'riece-user-toggle-away, and 'riece-user-toggle-operator signals;
2208         don't update status indicators manually.
2209         (riece-handle-301-message): Emit 'riece-user-toggle-away signal;
2210         don't update status indicators manually.
2211         (riece-handle-305-message): Ditto.
2212         (riece-handle-306-message): Ditto.
2213         (riece-handle-353-message): Follow the name change of
2214         riece-naming-assert-users.
2215         (riece-handle-324-message): Emit 'riece-channel-toggle-modes
2216         signal; don't update status indicators manually.
2217         (riece-handle-set-topic): Emit 'riece-channel-set-topic signal;
2218         don't update channel indicator manually.
2219         (riece-handle-352-message): Emit 'riece-user-toggle-away, and
2220         'riece-user-toggle-operator signals; don't update status
2221         indicators manually.
2222
2223 2004-02-27  Daiki Ueno  <ueno@unixuser.org>
2224
2225         * riece-display.el (riece-connect-signal): Create slot object
2226         internally.
2227
2228 2004-02-27  Daiki Ueno  <ueno@unixuser.org>
2229
2230         * riece.el (riece): Setup signal slots.
2231
2232         * riece-unread.el (riece-unread-after-display-message-function):
2233         Don't call riece-redisplay-buffers.
2234
2235         * riece-naming.el (riece-naming-assert-names): New function.
2236         (riece-naming-assert-join): Emit 'join signal.
2237         (riece-naming-assert-part): Emit 'part signal.
2238         (riece-naming-assert-rename): Emit 'rename signal.
2239
2240         * riece-message.el (riece-message-buffer): Don't call
2241         riece-redisplay-buffers.
2242
2243         * riece-handle.el (riece-handle-nick-message): Don't call
2244         riece-redisplay-buffers.
2245         (riece-handle-join-message): Ditto.
2246         (riece-handle-part-message): Ditto.
2247         (riece-handle-kick-message): Ditto.
2248         (riece-handle-kill-message): Ditto.
2249         (riece-handle-topic-message): Ditto.
2250         (riece-parse-channel-modes): Ditto.
2251
2252         * riece-display.el (riece-update-user-list-buffer): Use
2253         riece-with-server-buffer.
2254         (riece-emit-signal): Notify if signal filter fails.
2255         (riece-display-connect-signals): New function.
2256         (riece-update-user-list-buffer): Don't switch to user-list buffer.
2257         (riece-update-channel-list-buffer): Don't switch to channel-list
2258         buffer.
2259         (riece-switch-to-channel): Emit 'switch-to-channel signal.
2260         (riece-switch-to-nearest-channel): Ditto.
2261
2262         * riece-commands.el (riece-command-switch-to-channel): Don't call
2263         riece-redisplay-buffers.
2264         (riece-command-join-partner): Ditto.
2265         (riece-command-part): Ditto.
2266
2267         * riece-300.el (riece-handle-353-message): Save match data before
2268         calling riece-naming-assert-names; don't call riece-redisplay-buffers.
2269         (riece-handle-322-message): Don't call riece-redisplay-buffers.
2270
2271 2004-02-26  Daiki Ueno  <ueno@unixuser.org>
2272
2273         * riece-display.el: Introduce Qt like "signal-slot" abstraction
2274         for routing display events.
2275         (riece-signal-slot-obarray): New variable.
2276         (riece-make-slot): New function.
2277         (riece-slot-function): New function.
2278         (riece-slot-filter): New function.
2279         (riece-slot-handback): New function.
2280         (riece-make-signal): New function.
2281         (riece-signal-name): New function.
2282         (riece-signal-args): New function.
2283         (riece-connect-signal): New function.
2284         (riece-emit-signal): New function.
2285
2286 2004-02-19  Daiki Ueno  <ueno@unixuser.org>
2287
2288         * riece-300.el (riece-handle-353-message): Add 'riece-identity
2289         property on user list string.
2290
2291 2004-02-17  Daiki Ueno  <ueno@unixuser.org>
2292
2293         * riece-lsdb.el: Add autoload setting for
2294         lsdb-rebuild-secondary-hash-tables to suppress warning.
2295
2296 2004-02-16  Daiki Ueno  <ueno@unixuser.org>
2297
2298         * riece-300.el (riece-handle-353-message): Print user list in
2299         channel buffer.
2300
2301 2004-02-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
2302
2303         * riece-lsdb.el (riece-lsdb-lookup-records): Build
2304         riece-lsdb-cache if necessary.
2305
2306 2004-01-29  Daiki Ueno  <ueno@unixuser.org>
2307
2308         * riece-ctcp.el (riece-handle-ctcp-version-request): Format target
2309         identity before display.
2310         (riece-handle-ctcp-ping-request): Ditto.
2311         (riece-handle-ctcp-clientinfo-request): Ditto.
2312
2313 2004-01-28  Daiki Ueno  <ueno@unixuser.org>
2314
2315         * Riece: Version 0.1.8 released.
2316         * riece-version.el (riece-version-number): Bump up to 0.1.8.
2317
2318 2004-01-27  Daiki Ueno  <ueno@unixuser.org>
2319
2320         * riece-lsdb.el: Require 'riece-identity; add autoload setting for
2321         lsdb-update-record; bind lsdb-hash-table, riece-command-mode-map.
2322
2323 2004-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2324
2325         * riece-handle.el (riece-handle-privmsg-message): Check own
2326         message from server. For deal with another client that connected
2327         same irc proxy (e.g. plum, pirc).
2328         (riece-handle-notice-message): Ditto.
2329
2330 2004-01-21  Daiki Ueno  <ueno@unixuser.org>
2331
2332         * riece-identity.el (riece-identity-canonicalize-prefix): Convert
2333         characters in prefix to lower case.
2334
2335 2004-01-18  Daiki Ueno  <ueno@unixuser.org>
2336
2337         * riece-misc.el (riece-concat-user-status): New function.
2338
2339         * riece-300.el (riece-handle-302-message): Simplify user status
2340         display.  (i.e. don't display "not operator", "not away", ...)
2341         (riece-handle-352-message): Ditto.
2342
2343 2004-01-04  Daiki Ueno  <ueno@unixuser.org>
2344
2345         * riece-lsdb.el (riece-lsdb-add-user): Always pass canonical
2346         address for 'net entry.
2347
2348 2004-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2349
2350         * riece-300.el (riece-handle-317-message): Fix regexp for signon
2351         time extenstion.
2352
2353 2004-01-03  Daiki Ueno  <ueno@unixuser.org>
2354
2355         * riece-lsdb.el: Add autoload setting for lsdb-maphash.
2356         (riece-lsdb-update-cache): Don't alter existing entry.
2357         (riece-lsdb-delete-cache): Ditto.
2358         (riece-lsdb-add-user): New command.
2359         (riece-lsdb-insinuate): Bind riece-lsdb-add-user.
2360
2361 2004-01-03  Daiki Ueno  <ueno@unixuser.org>
2362
2363         * riece-lsdb.el (riece-lsdb-insinuate): Don't require 'lsdb.
2364
2365 2004-01-02  Daiki Ueno  <ueno@unixuser.org>
2366
2367         * riece-lsdb.el: New add-on.
2368         * COMPILE (riece-modules): Add riece-lsdb.
2369         * Makefile.am (EXTRA_DIST): Add riece-lsdb.el
2370
2371         * riece-xface.el: New add-on.
2372         * COMPILE (riece-modules): Add riece-xface.
2373         * Makefile.am (EXTRA_DIST): Add riece-xface.el
2374
2375 2003-12-25  Daiki Ueno  <ueno@unixuser.org>
2376
2377         * Riece: Version 0.1.7 released.
2378         * riece-version.el (riece-version-number): Bump up to 0.1.7.
2379
2380 2003-12-22  Daiki Ueno  <ueno@unixuser.org>
2381
2382         * riece-keyword.el (riece-notify-keyword-functions): Mark as
2383         obsolete.
2384         (riece-keyword-notify-functions): New user option.
2385         (riece-keyword-message-filter): Don't restore the match data when
2386         calling riece-notify-keyword-functions; call
2387         riece-keyword-notify-functions with the matched message object.
2388         Thanks to OHASHI Akira <bg66@koka-in.org>
2389         [cf. <Liece:00134>]
2390
2391 2003-12-17  Daiki Ueno  <ueno@unixuser.org>
2392
2393         * riece-log.el (riece-log-flashback): Use
2394         riece-match-string-no-properties instead of match-string-no-properties.
2395
2396         * riece-xemacs.el (riece-match-string-no-properties): New function.
2397         * riece-emacs.el (riece-match-string-no-properties): New alias.
2398
2399         * riece-identity.el: Don't require 'riece-compat.
2400         (riece-identity-prefix-case-table): Abolish.
2401         (riece-identity-prefix-case-pair-alist): New constant.
2402         (riece-identity-canonicalize-prefix): Don't use case-table.
2403
2404         * riece-emacs.el (riece-set-case-syntax-pair): Abolish.
2405         (riece-copy-case-table): Abolish.
2406         * riece-xmacs.el (riece-set-case-syntax-pair): Abolish.
2407         (riece-copy-case-table): Abolish.
2408
2409 2003-12-15  Daiki Ueno  <ueno@unixuser.org>
2410
2411         * riece-options.el: Require 'riece-version.
2412         (riece-quit-message): Set default to (riece-extended-version).
2413         (riece-away-message): Set default to "Gone".
2414
2415         * riece-commands.el: Don't require 'riece-version.
2416         (riece-command-quit): Don't check riece-quit-message.
2417         (riece-command-close-server): Ditto.
2418         (riece-command-toggle-away): Always supply a parameter to the AWAY
2419         command when the user is not away.  Thanks to Yuki Fujimura
2420         <fujimura@wakhok.ac.jp>
2421         [cf. <Liece:00139>]
2422
2423 2003-12-14  Daiki Ueno  <ueno@unixuser.org>
2424
2425         * riece.el (riece): Connect to servers in riece-startup-server-list.
2426
2427         * riece-000.el (riece-handle-001-message): Ignore entries in
2428         riece-startup-channel-list which doesn't match riece-server-name. 
2429
2430         * riece-options.el (riece-startup-server-list): New user option.
2431
2432         * riece-async.el (riece-async-max-buffer-size): New user option.
2433         (riece-async-server-program): Use io/nonblock & IO#syswrite to
2434         check whether the write end of pipe (i.e. input to emacs process)
2435         would block.
2436
2437 2003-12-13  Daiki Ueno  <ueno@unixuser.org>
2438
2439         * riece-options.el (riece-default-open-connection-function): New
2440         user option.
2441
2442         * riece-server.el (riece-server-keyword-map): Use
2443         riece-default-open-connection-function.
2444
2445         * riece-async.el: New add-on.
2446         * COMPILE (riece-modules): Add riece-async.
2447         * Makefile.am (EXTRA_DIST): Add riece-async.el
2448
2449 2003-12-09  OHASHI Akira  <bg66@koka-in.org>
2450
2451         * riece-mini.el (riece-mini-display-message-function): Don't set
2452         riece-mini-last-channel when message is not a privmsg.
2453
2454 2003-12-04  OHASHI Akira  <bg66@koka-in.org>
2455
2456         * riece-server.el (riece-with-server-buffer): Store 'edebug-form-spec
2457         property.
2458
2459 2003-12-03  OHASHI Akira  <bg66@koka-in.org>
2460
2461         * riece-log.el (riece-log-requires): New function.
2462         (riece-log-flashback): Revert 'riece-identity property and button.
2463
2464 2003-11-28  OHASHI Akira  <bg66@koka-in.org>
2465
2466         * riece-unread.el (riece-unread-after-display-message-function):
2467         Do nothing when message is not a privmsg.
2468
2469 2003-11-22  Daiki Ueno  <ueno@unixuser.org>
2470
2471         * riece-log.el (riece-log-coding-system): New user option.
2472         (riece-log-display-message-function): Bind
2473         coding-system-for-write; don't create temp buffer.
2474
2475         * riece-rdcc.el (riece-rdcc-filter): Use write-region instead of
2476         append-to-file to suppress "Wrote file" messages.
2477
2478 2003-11-10  Daiki Ueno  <ueno@unixuser.org>
2479
2480         * Riece: Version 0.1.6 released.
2481         * riece-version.el (riece-version-number): Bump up to 0.1.6.
2482
2483 2003-11-08  Daiki Ueno  <ueno@unixuser.org>
2484
2485         * riece-ctcp.el (riece-command-ctcp-action): Display channel names
2486         in "*Others*" buffer.
2487
2488 2003-11-05  OHASHI Akira  <bg66@koka-in.org>
2489
2490         * riece-unread.el (riece-unread-switch-to-channel): Protect
2491         switching to the channel not existing.
2492
2493 2003-10-29  OHASHI Akira  <bg66@koka-in.org>
2494
2495         * riece-log.el (riece-log-get-directory): Support riece-identity
2496         for mapping.
2497
2498 2003-10-28  Daiki Ueno  <ueno@unixuser.org>
2499
2500         * riece-layout.el (riece-set-window-points): Move point in
2501         the channel-buffer's window.
2502
2503         * riece-ctcp.el (riece-command-ctcp-version): Prompt to select
2504         an identity on the current server.
2505         (riece-command-ctcp-ping): Ditto.
2506         (riece-command-ctcp-clientinfo): Ditto.
2507         (riece-command-ctcp-action): Ditto.
2508
2509         * riece-commands.el (riece-command-change-mode): Prompt to select
2510         an identity on the current server.
2511         (riece-command-join): Ditto.
2512
2513 2003-10-27  Daiki Ueno  <ueno@unixuser.org>
2514
2515         * riece-keyword.el (riece-keywords): Change custom spec.
2516         (riece-keyword-message-filter): Normalize riece-keywords.
2517
2518         * riece-identity.el (riece-identity-prefix-case-table): Use
2519         riece-copy-case-table to define.
2520
2521         * riece-xemacs.el (riece-set-case-syntax-pair): Workaround for
2522         XEmacs 21.1.
2523         (riece-copy-case-table): Ditto.
2524
2525         * riece-emacs.el (riece-copy-case-table): New alias.
2526
2527         * riece-globals.el (riece-channel-regexp): Use
2528         riece-make-interval-regexp to define.
2529         (riece-user-regexp): Ditto.
2530
2531         * riece-compat.el (riece-make-interval-regexp): New function.
2532
2533         * riece-icon.el (riece-icon-available-p): Check
2534         the existence of image-type-available-p.
2535
2536 2003-10-27  OHASHI Akira  <bg66@koka-in.org>
2537
2538         * riece-log.el (riece-log-get-directory): Fix for server name and
2539         private messages handling.
2540
2541 2003-10-26  Daiki Ueno  <ueno@unixuser.org>
2542
2543         * riece-xemacs.el (riece-run-with-idle-timer): Pass an integer to
2544         the RESTART argument of start-itimer.
2545
2546         * riece-commands.el (riece-command-user-list-scroll-down): Rename
2547         from riece-command-nick-scroll-down.
2548         (riece-command-user-list-scroll-up): Rename from
2549         riece-command-nick-scroll-up.
2550         (riece-command-scroll-down): Check if riece-current-channel is bound.
2551         (riece-command-scroll-up): Ditto.
2552         (riece-command-quit): Clean up if no server process is available.
2553
2554 2003-10-25  Daiki Ueno  <ueno@unixuser.org>
2555
2556         * riece-rdcc.el: Bind temporary-file-directory.
2557         (riece-rdcc-send-program): Allow block-size to be controlled from
2558         elisp.
2559         (riece-rdcc-block-size): New user option.
2560         (riece-rdcc-temp-file): New variable.
2561         (riece-rdcc-received-size): New variable.
2562         (riece-rdcc-filter): Don't keep received bytes in the process
2563         buffer; use riece-rdcc-format-size to display progress.
2564         (riece-command-dcc-receive): Create a temporary directory which
2565         holds a received file.
2566
2567 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
2568
2569         * riece-options.el (riece-gather-channel-modes): Default to nil.
2570         * riece-handle.el (riece-handle-join-message): Send MODE if
2571         riece-gather-channel-modes is non-nil.
2572
2573         * riece-url.el: Add autoload setting for 'browse-url.
2574
2575         * riece-menu.el: Require 'riece-options, 'riece-globals,
2576         'riece-identity, 'riece-layout, and 'riece-server; bind
2577         riece-command-mode-map.
2578
2579         * riece-history.el: Require 'riece-options, 'riece-globals,
2580         'riece-highlight, and 'riece-identity.
2581
2582         * riece-naming.el (riece-naming-assert-rename): Fixed.
2583
2584 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
2585
2586         * Riece: Version 0.1.5 released.
2587         * riece-version.el (riece-version-number): Bump up to 0.1.5.
2588
2589 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
2590
2591         * riece-ctcp.el (riece-command-ctcp-action): If the current
2592         command line is not empty, insert it into the minibuffer before
2593         reading input.  Thanks to Akinori MUSHA  <knu@iDaemons.org>
2594         [cf. <Liece:00123>]
2595
2596         * riece.el: Add autoload setting for derived-mode-class.
2597         (riece-shrink-buffer-idle-timer): New variable.
2598         (riece): Set idle timer to shrink channel buffers.
2599         (riece-shrink-buffer): New function.
2600
2601         * riece-xemacs.el (riece-overlays-in): New function.
2602         (riece-delete-overlay): New alias.
2603         (riece-kill-all-overlays): New function.
2604
2605         * riece-server.el (riece-quit-server-process): Don't set timer if
2606         riece-quit-timeout is nil.
2607
2608         * riece-options.el (riece-quit-timeout): Change custom type.
2609         (riece-shrink-buffer-idle-time-delay): New user option.
2610         (riece-max-buffer-size): New user option.
2611
2612         * riece-icon.el (riece-icon-add-image-region) [XEmacs]: Delete
2613         extents if already exists.
2614
2615         * riece-emacs.el (riece-overlays-in): New alias.
2616         (riece-delete-overlay): New alias.
2617         (riece-kill-all-overlays): New function.
2618         (riece-run-with-idle-timer): New alias.
2619         (riece-cancel-timer): New alias.
2620
2621         * riece-display.el (riece-update-user-list-buffer): Kill all
2622         overlays in buffer.
2623         (riece-update-channel-list-buffer): Ditto.
2624
2625         * riece-commands.el (riece-command-set-operators): Reset group.
2626         (riece-command-set-speakers): Ditto.
2627
2628 2003-10-23  Daiki Ueno  <ueno@unixuser.org>
2629
2630         * riece-naming.el (riece-naming-assert-rename): Follow the
2631         change of riece-channel.el.
2632
2633         * riece-message.el (riece-message-external-p): Follow the
2634         change of riece-channel.el.
2635
2636         * riece-display.el (riece-update-user-list-buffer): Follow the
2637         change of riece-channel.el.
2638
2639         * riece-commands.el (riece-command-kick): Follow the change of
2640         riece-channel.el.
2641         (riece-command-set-operators): Ditto.
2642         (riece-command-set-speakers): Ditto.
2643
2644         * riece-button.el (riece-user-button-set-operators): Follow the
2645         change of riece-channel.el.
2646         (riece-user-button-set-speakers): Ditto.
2647
2648         * riece-channel.el (riece-make-channel): Abolish 2nd and 3rd
2649         arguments.
2650         (riece-get-channel): Follow the change of riece-make-channel.
2651         (riece-channel-operators): Abolish.
2652         (riece-channel-speakers): Abolish.
2653         (riece-channel-set-operators): Abolish.
2654         (riece-channel-set-speakers): Abolish.
2655         (riece-channel-get-operators): Abolish.
2656         (riece-channel-get-speakers): Abolish.
2657         (riece-channel-toggle-user): Follow the change of the return type
2658         of riece-channel-users.
2659         (riece-channel-toggle-operator): Ditto.
2660         (riece-channel-toggle-speaker): Ditto.
2661         (riece-channel-operator-p): Abolish.
2662         (riece-channel-speaker-p): Abolish.
2663         (riece-channel-intern-user): Abolish.
2664
2665 2003-10-23  Daiki Ueno  <ueno@unixuser.org>
2666
2667         * riece-identity.el (riece-identity-member): Take an optional 3rd
2668         argument to instruct to use riece-identity-equal-no-server.
2669         (riece-identity-assoc): Ditto.
2670
2671         * riece-display.el (riece-update-user-list-buffer): Use
2672         riece-channel-operator-p and riece-channel-speaker-p.
2673
2674         * riece-button.el (riece-user-button-set-operators): Use
2675         riece-channel-operator-p.
2676         (riece-user-button-set-speakers): Use riece-channel-speaker-p.
2677
2678         * riece-channel.el (riece-channel-intern-user): New function.
2679         (riece-channel-toggle-operator): Use it.
2680         (riece-channel-toggle-speaker): Use it.
2681         (riece-channel-operator-p): New function.
2682         (riece-channel-speaker-p): New function.
2683
2684 2003-10-23  OHASHI Akira  <bg66@koka-in.org>
2685
2686         * riece-log.el (riece-log-get-directory): Follow the change of
2687         `riece-channel-regexp'.
2688
2689 2003-10-22  Daiki Ueno  <ueno@unixuser.org>
2690
2691         * riece-identity.el (riece-format-identity): Return copied strings.
2692
2693 2003-10-22  OHASHI Akira  <bg66@koka-in.org>
2694
2695         * riece.el (riece): When riece server was opened, Do
2696         `riece-command-configure-windows' instead of signaling.
2697
2698 2003-10-22  Daiki Ueno  <ueno@unixuser.org>
2699
2700         * riece-rdcc.el (riece-rdcc-send-program): Flush $stdout before
2701         accepting a connection.
2702         (riece-command-dcc-send): Use riece-completing-read-identity; take
2703         an identity object in the 1st argument.
2704         (riece-rdcc-format-size): New function.
2705         (riece-handle-dcc-request): Use it.
2706
2707         * riece-ndcc.el (riece-command-dcc-send): Use
2708         riece-completing-read-identity; take an identity object in the 1st
2709         argument.
2710
2711         * riece-display.el (riece-update-buffers): Run
2712         riece-update-buffer-hook.
2713
2714         * riece-button.el (riece-user-button-finger): Pass an identity
2715         object instead of the prefix.
2716
2717         * riece-ctcp.el: Require 'riece-highlight.
2718         (riece-ctcp-action-face): New face.
2719         (riece-ctcp-action-face): New variable.
2720         (riece-ctcp-action-prefix): New variable.
2721         (riece-ctcp-requires): Require 'riece-highlight if it is enabled.
2722         (riece-ctcp-insinuate): Modify riece-dialogue-font-lock-keywords
2723         if 'riece-highlight is enabled.
2724         (riece-handle-ctcp-action-request): Prepend
2725         riece-ctcp-action-prefix instead of riece-change-prefix.
2726         (riece-command-ctcp-action): Ditto.
2727
2728         * riece-server.el (riece-quit-server-process): Use riece-run-at-time.
2729         * riece-xemacs.el (riece-run-at-time): New function.
2730         * riece-emacs.el (riece-run-at-time): New alias.
2731
2732         * riece-misc.el (riece-get-identities-on-server): New function.
2733         (riece-get-users-on-server): Use it.
2734
2735         * riece-ctcp.el (riece-ctcp-completing-read-identity): Abolish.
2736         (riece-command-ctcp-version): Use riece-completing-read-identity
2737         and riece-get-identities-on-server.
2738         (riece-command-ctcp-ping): Ditto.
2739         (riece-command-ctcp-clientinfo): Ditto.
2740         (riece-command-ctcp-action): Ditto.
2741
2742         * riece-commands.el (riece-command-finger): Pass the current
2743         server name to riece-get-users-on-server; use
2744         riece-completing-read-identity.
2745         (riece-command-invite): Ditto.
2746         (riece-command-enter-message-to-user): Ditto.
2747
2748         * riece-000.el (riece-handle-001-message): Register myself with
2749         riece-obarray.
2750
2751 2003-10-21  Daiki Ueno  <ueno@unixuser.org>
2752
2753         * riece-ctcp.el (riece-ctcp-completing-read-identity): New
2754         function.
2755         (riece-command-ctcp-version): Use it.
2756         (riece-command-ctcp-ping): Ditto.
2757         (riece-command-ctcp-clientinfo): Ditto.
2758         (riece-command-ctcp-action): Ditto; don't encode CHANNEL identity
2759         twice.
2760
2761 2003-10-20  Daiki Ueno  <ueno@unixuser.org>
2762
2763         * riece-xemacs.el (riece-xemacs-mode-line-buffer-identification):
2764         Abolish.
2765         (riece-mode-line-buffer-identification): Don't define alias.
2766
2767         * riece-server.el (riece-open-server): Handle errors occurred
2768         during reading password.
2769
2770         * riece-options.el (riece-addons): Add riece-icon.
2771
2772         * riece-layout.el (riece-configure-windows-top): Collect arguments.
2773
2774         * riece-icon.el: New add-on.
2775         * COMPILE (riece-modules): Add riece-icon.
2776         * Makefile.am (EXTRA_DIST): Add riece-icon.el
2777
2778 2003-10-20  Daiki Ueno  <ueno@unixuser.org>
2779
2780         * riece-options.el (riece-saved-forms): Add riece-layout.
2781
2782         * riece-layout.el (riece-layout-alist): Change format.
2783         (riece-configure-windows): Take 2 args to specify the position of
2784         the command buffer window.
2785
2786         * riece-commands.el (riece-command-change-layout): Set
2787         riece-save-variables-are-dirty.
2788
2789 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
2790
2791         * Riece: Version 0.1.4 released.
2792         * riece-version.el (riece-version-number): Bump up to 0.1.4.
2793
2794 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
2795
2796         * riece-server.el (riece-server-process-opened): Return t.
2797
2798         * riece.el (riece-dialogue-mode-map): Bind "p" to
2799         riece-command-enter-message-to-user.
2800
2801         * riece-misc.el (riece-current-nickname): Use
2802         riece-current-server-name.
2803         (riece-get-users-on-server): Ditto.
2804
2805         * riece-server.el (riece-current-server-name): New function.
2806         (riece-send-string): Use it.
2807
2808         * riece-commands.el (riece-command-enter-message-to-user): New command.
2809
2810 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
2811
2812         * riece-menu.el (riece-menu-create-layouts-menu): New function.
2813         (riece-menu-items): Use it.
2814
2815         * riece-server.el (riece-server-process-opened): New function.
2816         (riece-server-opened): Use it.
2817
2818         * riece-url.el: Require 'riece-menu.
2819         (riece-url-insinuate): Add "Open URL..." menu in
2820         riece-command-mode-hook.
2821
2822         * riece-options.el (riece-addons): Add riece-menu.
2823
2824         * riece-menu.el: New add-on.
2825         * COMPILE (riece-modules): Add riece-menu.
2826         * Makefile.am (EXTRA_DIST): Add riece-menu.el
2827
2828 2003-10-19  Daiki Ueno  <ueno@unixuser.org>
2829
2830         * riece-version.el (riece-extended-version): Remove interactive spec.
2831         (riece-version): New command.
2832         * riece.el (riece-command-map): Bind "V" to riece-version.
2833
2834         * riece-options.el (riece-command-prefix): New user option.
2835         (riece-tab-stop-list): Abolish.
2836
2837         * riece.el (riece-define-keys-1): If keymap is a list, eval the
2838         2nd element of it.
2839         (riece-select-keys): Use riece-command-prefix instead of "\C-c".
2840         (riece-command-map): Ditto.
2841         (riece-dialogue-mode): Don't set tab-stop-list.
2842
2843 2003-10-18  Daiki Ueno  <ueno@unixuser.org>
2844
2845         * riece-keyword.el (riece-keyword-message-filter): Ignore messages
2846         which belongs to myself.
2847
2848         * riece-commands.el (riece-command-topic): Use
2849         riece-check-channel-commands-are-usable.
2850         (riece-command-invite): Ditto.
2851         (riece-command-kick): Ditto.
2852         (riece-command-change-mode): Ditto.
2853         (riece-command-set-operators): Ditto.
2854         (riece-command-set-speakers): Ditto.
2855         (riece-command-send-message): Ditto.
2856         (riece-command-part): Ditto.
2857
2858         * riece-misc.el (riece-get-users-on-server): If
2859         riece-current-channel is not set, check the default server.
2860         (riece-check-channel-commands-are-usable): New function.
2861
2862         * riece-globals.el (riece-channel-regexp): Accept channel names
2863         beginning with "!!".
2864
2865 2003-10-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2866
2867         * riece-commands.el (riece-command-universal-server-name-argument):
2868         Fix parenthesis.
2869
2870 2003-10-16  Daiki Ueno  <ueno@unixuser.org>
2871
2872         * riece.el (riece-buffer-alist): Rename from
2873         riece-buffer-mode-alist.
2874
2875         * riece-misc.el (riece-get-buffer-create): Takes an optional 2nd
2876         argument, init-major-mode, which is used to assert the major-mode
2877         of the created buffer.
2878
2879         * riece-naming.el (riece-naming-assert-rename): Merged buffer
2880         renaming logic that riece-handle-nick-message was responsible for.
2881
2882         * riece-globals.el (riece-server-process-alist): Revive.
2883         (riece-process-list): Abolish.
2884         (riece-command-buffer): Set default to nil.
2885         (riece-dialogue-buffer): Ditto.
2886         (riece-others-buffer): Ditto.
2887         (riece-channel-list-buffer): Ditto.
2888         (riece-user-list-buffer): Ditto.
2889         (riece-private-buffer): Abolish.
2890         (riece-wallops-buffer): Abolish.
2891
2892         * riece-display.el (riece-channel-buffer-format): Moved from
2893         riece-globals.
2894         (riece-channel-buffer-alist): New variable.
2895         (riece-channel-buffer-create): Assert the major-mode of the
2896         created buffer is 'riece-channel-mode.
2897         (riece-channel-buffer): New function.
2898         (riece-switch-to-channel): Use riece-channel-buffer instead of
2899         directly using get-buffer.
2900
2901 2003-10-14  Daiki Ueno  <ueno@unixuser.org>
2902
2903         * riece-commands.el (riece-command-toggle-away): Check user away
2904         status in the server buffer.
2905         [cf. <Liece:00119>]
2906         (riece-command-names): Use identity prefix
2907         instead of formatted identity.
2908         (riece-command-who): Ditto.
2909
2910 2003-10-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2911
2912         * riece.el (riece-dialogue-mode-map): Bind "N" instead of "\C-n"
2913         to `riece-command-name'.
2914
2915 2003-10-14  Daiki Ueno  <ueno@unixuser.org>
2916
2917         * riece-layout.el (riece-reconfigure-windows-predicate): Simplified.
2918
2919 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2920
2921         * Riece: Version 0.1.3 released.
2922         * riece-version.el (riece-version-number): Bump up to 0.1.3.
2923
2924 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2925
2926         * riece-button.el (riece-button-map-identity-region): Abolish.
2927         (riece-user-button-set-operators): Use riece-scan-property-region.
2928         (riece-user-button-set-speakers): Ditto.
2929         (riece-button-add-identity-button): Ditto.
2930
2931         * riece-keyword.el: Require 'riece-message.
2932         (riece-keyword-map-region): Abolish.
2933         (riece-keyword-scan-region): Use riece-scan-property-region.
2934
2935         * riece-misc.el (riece-scan-property-region): New function.
2936
2937 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2938
2939         * riece-xemacs.el (riece-make-overlay): New alias.
2940         (riece-overlay-put): New alias.
2941         (riece-overlay-start): New alias.
2942         (riece-overlay-buffer): New alias.
2943
2944         * riece-emacs.el (riece-make-overlay): New alias.
2945         (riece-overlay-put): New alias.
2946         (riece-overlay-start): New alias.
2947         (riece-overlay-buffer): New alias.
2948
2949         * riece-keyword.el: New add-on.
2950         * COMPILE (riece-modules): Add riece-keyword.
2951         * Makefile.am (EXTRA_DIST): Add riece-keyword.el
2952
2953         * riece-message.el (riece-message-filter-functions): New user option.
2954         (riece-display-message-1): New function.
2955         (riece-display-message): Use it.
2956
2957 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2958
2959         * riece.el (riece-channel-list-mode): Initialize
2960         riece-update-buffer-functions.
2961         (riece-user-list-mode): Ditto.
2962
2963         * riece-globals.el (riece-channel-indicator): Rename from
2964         riece-short-channel-indicator.
2965         (riece-long-channel-indicator): Rename from
2966         riece-channel-indicator.
2967
2968         * riece-display.el (riece-update-buffer-functions): Default to
2969         nil.
2970         (riece-update-indicator-functions): New variable splitted from
2971         riece-update-buffer-functions.
2972         (riece-update-channel-indicator): Rename from
2973         riece-update-short-channel-indicator.
2974         (riece-update-long-channel-indicator): Rename from
2975         riece-update-channel-indicator.
2976         (riece-update-buffers): Don't set riece-channel-buffer.
2977         (riece-switch-to-channel): Set riece-channel-buffer here.
2978
2979         * riece-button.el (riece-user-button-popup-menu): Change order.
2980         (riece-button-update-buffer): Unify
2981         riece-button-update-channel-list-buffer and
2982         riece-button-update-user-list-buffer.
2983
2984 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
2985
2986         * riece-history.el (riece-history-insinuate): In
2987         riece-after-switch-to-channel-functions, check whether the last
2988         channel is nil.
2989
2990         * riece-xemacs.el (riece-event-buffer): New alias.
2991         (riece-event-point): New alias.
2992
2993         * riece-emacs.el (riece-event-buffer): New function.
2994         (riece-event-point): New function.
2995
2996         * riece-display.el (riece-update-user-list-buffer): Use
2997         riece-format-identity to add 'riece-identity property to user
2998         names.
2999
3000         * riece-button.el (riece-user-button-popup-menu): New variable.
3001         (riece-identity-button): Rename from riece-channel-button.
3002         (riece-button-switch-to-identity): Rename from
3003         riece-channel-button-action.
3004         (riece-identity-button-popup-menu): Rename from
3005         riece-channel-button-popup-menu; set point to the position the
3006         event occurred.
3007         (riece-user-button-join-partner): New function.
3008         (riece-user-button-set-operators): New function.
3009         (riece-user-button-set-speakers): New function.
3010         (riece-user-button-finger): New function.
3011         (riece-make-identity-button-map): New function.
3012         (riece-button-map-identity-region): New function; splitted from
3013         riece-button-add-identity-button.
3014         (riece-button-add-identity-button): Use it.
3015         (riece-button-update-user-list-buffer): New function.
3016         (riece-button-insinuate): Add riece-button-update-user-list-buffer
3017         to riece-update-buffer-functions.
3018
3019 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
3020
3021         * riece-xemacs.el (riece-mouse-2): New variable.
3022         (riece-popup-menu-popup): New function.
3023
3024         * riece-emacs.el (riece-mouse-2): New variable.
3025         (riece-popup-menu-bogus-filter-constructor): New macro.
3026         (riece-popup-menu-popup): New function.
3027
3028         * riece-commands.el (riece-command-list): Use identity prefix
3029         instead of formatted identity.
3030
3031         * riece-button.el (riece-channel-button-popup-menu): New variable.
3032         (riece-channel-button): Arrange help-echo.
3033         (riece-channel-button-switch-to-channel): New function.
3034         (riece-channel-button-part): New function.
3035         (riece-channel-button-list): New function.
3036         (riece-channel-button-map): New variable.
3037         (riece-button-add-channel-buttons): Add 'local-map and 'keymap
3038         properties on channel buttons.
3039
3040 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
3041
3042         * riece-button.el (riece-button-insinuate): Buttonize channel buffers.
3043
3044         * riece-history.el (riece-channel-list-history-face): New face.
3045         (riece-history-format-channel-list-line): New function.
3046         (riece-history-insinuate): Add ?+ to
3047         riece-channel-list-mark-face-alist; add
3048         riece-history-format-channel-list-line to
3049         riece-format-channel-list-line-functions.
3050
3051         * riece-highlight.el (riece-channel-list-current-face): Arrange colors.
3052
3053 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
3054
3055         * riece-unread.el (riece-unread-after-display-message-function):
3056         Do nothing when message-target is already in
3057         riece-unread-channels; call riece-redisplay-buffers.
3058         (riece-unread-update-channel-list-buffer): Abolish.
3059         (riece-unread-after-switch-to-channel-function): Don't call
3060         riece-unread-update-channel-list-buffer.
3061         (riece-unread-format-channel-list-line): New function.
3062         (riece-unread-insinuate): Add
3063         riece-unread-format-channel-list-line to
3064         riece-format-channel-list-line; don't add
3065         riece-unread-update-channel-list-buffer to
3066         riece-update-buffer-functions.
3067
3068         * riece-highlight.el (riece-channel-list-mark-current-channel):
3069         Abolish; merged into riece-update-channel-list-buffer.
3070         (riece-highlight-insinuate): Don't add
3071         riece-channel-list-mark-current-channel to
3072         riece-after-switch-to-channel-functions.
3073
3074         * riece-display.el (riece-channel-list-changed): Abolish.
3075         (riece-update-channel-list-buffer): Always redisplay channel-list
3076         buffer.
3077         (riece-update-channel-list-indicator): Always redisplay
3078         channel-list indicator.
3079         (riece-format-channel-list-line): New function.
3080         (riece-update-buffers): Don't clear riece-channel-list-changed.
3081         (riece-join-channel): Don't set riece-channel-list-changed.
3082         (riece-part-channel): Ditto.
3083
3084 2003-10-13  Daiki Ueno  <ueno@unixuser.org>
3085
3086         * riece-options.el (riece-addons): Add riece-button.
3087
3088         * riece-display.el (riece-update-channel-list-buffer): Avoid to
3089         use format to preserve 'riece-identity property.
3090
3091         * riece-unread.el (riece-unread-update-channel-list-buffer):
3092         Simplified.
3093         (riece-unread-insinuate): Delay adding
3094         riece-unread-update-channel-list-buffer to
3095         riece-update-buffer-functions.
3096
3097         * riece-button.el: New add-on.
3098         * COMPILE (riece-modules): Add riece-button.
3099         * Makefile.am (EXTRA_DIST): Add riece-button.el
3100
3101 2003-10-08  Daiki Ueno  <ueno@unixuser.org>
3102
3103         * riece-server.el (riece-close-server-process): 
3104         (riece-quit-server-process): Call riece-close-server-process
3105         instead of kill-process; call riece-exit if no process is available.
3106
3107 2003-10-07  Daiki Ueno  <ueno@unixuser.org>
3108
3109         * riece-display.el (riece-channel-buffer-name): Check whether
3110         IDENTITY is a member of riece-current-channels.
3111
3112 2003-10-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3113
3114         * riece-commands.el (riece-command-kick): Fix completing-read
3115         collection argument.
3116
3117 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
3118
3119         * riece-000.el: Require 'riece-commands.
3120         * riece-200.el: Don't require 'riece-commands.
3121         * riece-300.el: Ditto.
3122
3123 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
3124
3125         * Riece: Version 0.1.2 released.
3126         * riece-version.el (riece-version-number): Bump up to 0.1.2.
3127
3128 2003-10-05  Daiki Ueno  <ueno@unixuser.org>
3129
3130         * riece-filter.el (riece-sentinel): Don't clear
3131         riece-reconnect-with-password.
3132         * riece-server.el (riece-open-server): Clear
3133         riece-reconnect-with-password here.
3134
3135 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
3136
3137         * riece-globals.el (riece-join-channel-candidate): New variable.
3138         * riece-commands.el (riece-command-join): Prompt
3139         riece-join-channel-candidate.
3140
3141         * riece-handle.el (riece-handle-invite-message): Set
3142         riece-join-channel-candidate when the user is invited.
3143         * riece-naming.el (riece-naming-assert-join): Clear
3144         riece-join-channel-candidate.
3145
3146 2003-10-04  Daiki Ueno  <ueno@unixuser.org>
3147
3148         * riece-identity.el (riece-completing-read-identity): Pass 6th &
3149         7th arguments to completing-read.
3150
3151         * riece-commands.el (riece-command-part): Use 6th argument DEFAULT
3152         of riece-completing-read-identity.
3153
3154         * riece-handle.el (riece-handle-invite-message): Fix parsing of
3155         parameters.
3156
3157         * riece-display.el (riece-update-channel-list-buffer): Don't clear
3158         riece-channel-list-changed.
3159         (riece-update-buffers): Clear it.
3160
3161 2003-10-01  Daiki Ueno  <ueno@unixuser.org>
3162
3163         * riece-rdcc.el (riece-rdcc-save-directory): New user option.
3164
3165 2003-09-29  Daiki Ueno  <ueno@unixuser.org>
3166
3167         * riece-000.el (riece-handle-001-message): Parse elements in
3168         riece-startup-channel-list.
3169
3170 2003-09-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3171
3172         * riece-skk-kakutei.el
3173         (riece-skk-kakutei-command-enter-message-as-notice): Fix typo.
3174
3175 2003-09-20  Daiki Ueno  <ueno@unixuser.org>
3176
3177         * riece-options.el (riece-startup-channel-list): Revive.
3178         * riece-000.el (riece-handle-001-message): Process
3179         riece-startup-channel-list.
3180
3181         * riece-server.el (riece-open-server): Display "Logging in to
3182         XXX..." message.
3183         * riece-000.el (riece-handle-001-message): Clear "Logging in to
3184         XXX..." message; call riece-after-login-hook.
3185
3186 2003-09-07  Daiki Ueno  <ueno@unixuser.org>
3187
3188         * riece-unread.el (riece-unread-after-display-message-function):
3189         Simplified.
3190
3191 2003-09-02  Daiki Ueno  <ueno@unixuser.org>
3192
3193         * riece-commands.el (riece-command-join): Extract target
3194         identity-prefix before applying riece-channel-p; format target.
3195
3196 2003-08-30  Daiki Ueno  <ueno@unixuser.org>
3197
3198         * Riece: Version 0.1.1 released.
3199         * riece-version.el (riece-version-number): Bump up to 0.1.1.
3200
3201 2003-08-29  Daiki Ueno  <ueno@unixuser.org>
3202
3203         * riece-guess.el (riece-guess-channel-try-functions): Default to
3204         nil.
3205         (riece-default-guess-channel): Abolish.
3206         (riece-command-guess-switch-to-channel): Reconstruct
3207         riece-guess-candidates when it is empty.
3208
3209 2003-08-28  Daiki Ueno  <ueno@unixuser.org>
3210
3211         * riece-highlight.el (riece-dialogue-change-face): Use defvar to
3212         define.
3213         (riece-dialogue-notice-face): Ditto.
3214         (riece-dialogue-wallops-face): Ditto.
3215         (riece-dialogue-error-face): Ditto.
3216         (riece-dialogue-info-face): Ditto.
3217         (riece-dialogue-server-face): Ditto.
3218         (riece-dialogue-prefix-face): Ditto.
3219         (riece-channel-list-default-face): Ditto.
3220         (riece-channel-list-current-face): Ditto.
3221
3222         * riece-unread.el (riece-channel-list-unread-face): Use defvar to
3223         define.
3224
3225 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
3226
3227         * riece-history.el (riece-history-insinuate): Don't set
3228         riece-guess-channel-try-functions here.
3229         (riece-history-requires): Don't require riece-guess.
3230
3231         * riece-unread.el (riece-unread-requires): Don't require
3232         riece-guess.
3233         (riece-unread-insinuate): Don't set
3234         riece-guess-channel-try-functions here.
3235
3236 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
3237
3238         * riece-unread.el (riece-unread-after-display-message-function):
3239         Rename from riece-unread-display-message-function.
3240         (riece-unread-after-switch-to-channel-function): Rename from
3241         riece-unread-channel-switch-hook.
3242         (riece-guess-channel-from-unread): New function.
3243         (riece-unread-requires): Require 'riece-guess and 'riece-history.
3244         (riece-unread-insinuate): Setup riece-guess-channel-try-functions.
3245
3246         * riece-options.el (riece-addons): Add riece-guess, riece-history,
3247         and riece-url.
3248
3249         * riece-layout.el (riece-reconfigure-windows-predicate): Don't
3250         check riece-last-channel.
3251
3252         * riece-display.el (riece-switch-to-channel): Rename
3253         riece-channel-switch-hook to
3254         riece-after-switch-to-channel-functions.
3255         (riece-switch-to-nearest-channel): Ditto.
3256
3257         * riece-guess.el: New add-on.
3258         * COMPILE (riece-modules): Add riece-guess.
3259         * Makefile.am (EXTRA_DIST): Add riece-guess.el
3260
3261         * riece-history.el: New add-on.
3262         * COMPILE (riece-modules): Add riece-history.
3263         * Makefile.am (EXTRA_DIST): Add riece-history.el
3264
3265 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
3266
3267         * riece-options.el (riece-connection-timeout): Abolish.
3268
3269         * riece-server.el (riece-clear-system): Abolish.
3270         * riece.el (riece-exit): Merge riece-clear-system.
3271
3272 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
3273
3274         * riece-filter.el (riece-sentinel): Suppress status message when
3275         riece-debug is nil.
3276
3277 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
3278
3279         * riece-highlight.el (riece-channel-list-mark-current-channel):
3280         New function.
3281
3282         * riece-display.el (riece-channel-list-changed): New variable.
3283         (riece-update-channel-list-buffer): Check riece-channel-list-changed.
3284         (riece-update-channel-list-indicator): Ditto.
3285
3286 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
3287
3288         * riece-options.el (riece-addons): Enable riece-unread by default.
3289
3290         * riece-highlight.el (riece-channel-list-current-face): New variable.
3291         (riece-channel-list-default-face): New face.
3292
3293         * riece-globals.el (riece-channel-list-buffer): Strip leading
3294         whitespace.
3295
3296 2003-08-26  Daiki Ueno  <ueno@unixuser.org>
3297
3298         * riece-unread.el: Require 'riece-highlight when compiling.
3299         (riece-unread): New custom group.
3300         (riece-channel-list-unread-face): New variable.
3301         (riece-channel-list-unread-face): New face.
3302         (riece-unread-requires): New function.
3303         (riece-unread-insinuate): Add ?! to riece-channel-list-mark-face-alist.
3304
3305         * riece-highlight.el: Highlight *Channels* buffer; rename
3306         riece-*-face -> riece-dialogue-*-face, riece-highlight-* ->
3307         riece-dialogue-*.
3308         (riece-channel-list-font-lock-keywords): New variable.
3309         (riece-channel-list-mark-face-alist): New variable.
3310
3311 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
3312
3313         * riece-unread.el (riece-unread-update-channel-list-buffer):
3314         Restore channel marks if exist.
3315
3316         * riece-naming.el (riece-naming-assert-join): Don't set
3317         riece-redisplay-buffers.
3318         (riece-naming-assert-part): Ditto.
3319         (riece-naming-assert-rename): Ditto.
3320
3321         * riece-display.el (riece-redisplay-buffers): Abolish.
3322         (riece-update-user-list-buffer): Don't check
3323         riece-redisplay-buffers.
3324         (riece-update-channel-list-buffer): Ditto; prefix "*" at the
3325         beginning of the current channel.
3326         (riece-switch-to-channel): Don't set riece-redisplay-buffers.
3327         (riece-join-channel): Ditto.
3328         (riece-part-channel): Ditto.
3329
3330 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
3331
3332         * riece-display.el (riece-join-channel): Parse non-nil elements in
3333         riece-default-channel-binding.
3334
3335 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
3336
3337         * riece-identity.el (riece-format-identity): Add 'riece-identity
3338         property to the resulting string.
3339
3340         * riece-misc.el (riece-concat-channel-topic): Don't append ":" if
3341         topic is "".
3342
3343         * riece-300.el (riece-handle-322-message): Simplify message.
3344
3345         * riece-commands.el (riece-command-change-layout): Call
3346         riece-command-configure-windows; Use setq instead of
3347         custom-set-variables.
3348
3349 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
3350
3351         * Riece: Version 0.1.0 released.
3352         * riece-version.el (riece-version-number): Bump up to 0.1.0.
3353
3354 2003-08-25  Daiki Ueno  <ueno@unixuser.org>
3355
3356         * COMPILE (riece-compile-modules): Ignore errors during byte
3357         compilation.
3358         (riece-install-modules): If there lacks a compiled module, don't
3359         attempt to install it.
3360
3361         * riece-options.el (riece-quit-timeout): Default to 10.
3362
3363         * riece.el (riece-dialogue-mode-map): Bind riece-command-change-layout.
3364         (riece): Switch to riece-command-buffer before riece-redisplay-buffers.
3365
3366         * riece-unread.el: Require 'riece-commands.
3367
3368         * riece-server.el: Require 'riece-identity and 'riece-compat.
3369
3370         * riece-ndcc.el: Require 'riece-globals, 'riece-options,
3371         'riece-display.
3372         (riece-handle-dcc-request): Use riece-channel-buffer-name.
3373
3374         * riece-identity.el: Don't require 'riece-server.
3375
3376         * riece-doctor.el: Require 'riece-globals, 'riece-identity,
3377         'riece-message, and 'riece-server.
3378
3379         * riece-ctcp.el: Require 'riece-display.
3380
3381         * riece-commands.el: Require 'riece-layout.
3382         (riece-command-change-layout): New command.
3383
3384         * riece-alias.el: Require 'riece-identity.
3385
3386         * riece-layout.el: No longer provided as an add-on.
3387         * riece-display.el: Remove window configuration stuff.
3388
3389 2003-08-24  Daiki Ueno  <ueno@unixuser.org>
3390
3391         * riece-rdcc.el (riece-command-dcc-send): Bind
3392         process-connection-type to nil.
3393
3394         * riece-300.el (riece-handle-319-message): New handler.
3395
3396         * riece.el (riece-buffer-mode-alist): Add riece-command-buffer.
3397         (riece): Signal an error when a server is opened;
3398         No need to initialize riece-command-buffer specially.
3399
3400 2003-08-22  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3401
3402         * riece-display.el (riece-configure-windows-top): Set
3403         `truncate-partial-width-windows' nil, when horizontal window
3404         split.
3405
3406 2003-08-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3407
3408         * riece-display.el (riece-configure-windows-top): Change
3409         user-list-buffer and channel-list-buffer window create logic.
3410
3411         * riece-skk-kakutei.el (riece-skk-kakutei-insinuate): Add
3412         require riece.el when compile.
3413
3414         * riece.el (riece): Use `riece-redisplay-buffers' instead of
3415         `riece-configure-windows'.
3416
3417 2003-08-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3418
3419         * riece-display.el (riece-configure-windows-top): New function.
3420         * riece-layout.el (riece-layout-alist): Add top.
3421
3422         * riece-skk-kakutei.el: New add-on.
3423         * COMPILE (riece-modules): Add riece-skk-kakutei.
3424         * Makefile.am (EXTRA_DIST): Add riece-skk-kakutei.el
3425
3426 2003-08-19  Daiki Ueno  <ueno@unixuser.org>
3427
3428         * riece-layout.el: New add-on.
3429         * COMPILE (riece-modules): Add riece-layout.
3430         * Makefile.am (EXTRA_DIST): Add riece-layout.el
3431
3432 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
3433
3434         * riece-options.el (riece-quit-timeout): New user option.
3435         * riece-server.el (riece-quit-server-process): New function.
3436         * riece-commands.el (riece-command-quit): Use it.
3437         (riece-command-close-server): Use it.
3438
3439 2003-08-17  Daiki Ueno  <ueno@unixuser.org>
3440
3441         * riece-commands.el (riece-command-previous-channel): Skip nil in
3442         riece-current-channels.
3443
3444 2003-08-09  Daiki Ueno  <ueno@unixuser.org>
3445
3446         * riece-rdcc.el (riece-command-dcc-send): Accept output only from
3447         the ruby process.
3448
3449         * riece-xemacs.el: Don't require 'riece-compat.
3450
3451 2003-08-06  Daiki Ueno  <ueno@unixuser.org>
3452
3453         * riece-unread.el (riece-unread-update-channel-list-buffer): Call
3454         riece-parse-identity.
3455
3456 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
3457
3458         * riece-server.el (riece-find-server-name): Abolish.
3459
3460         * riece-alias.el: Add usage.
3461
3462 2003-08-04  Daiki Ueno  <ueno@unixuser.org>
3463
3464         * riece-mini.el (riece-mini-send-message): Use
3465         riece-completing-read-identity; don't use riece-own-channel-message.
3466
3467         * riece-identity.el: Require 'riece-compat.
3468         (riece-identity-prefix-case-table): New variable.
3469         (riece-abbrev-identity-string-function): New variable.
3470         (riece-expand-identity-string-function): New variable.
3471         (riece-format-identity): Rename from riece-decode-identity.
3472         (riece-parse-identity): Rename from riece-encode-identity.
3473         (riece-with-identity-buffer): Abolish.
3474         (riece-identity-canonicalize-prefix): Use case-table.   
3475
3476         * riece-filter.el (riece-handle-numeric-reply): Decode messages.
3477         (riece-handle-message): Ditto.
3478
3479         * riece-alias.el: New add-on.
3480         * COMPILE (riece-modules): Add riece-alias.
3481         * Makefile.am (EXTRA_DIST): Add riece-alias.el.
3482
3483         * riece-emacs.el (riece-set-case-syntax-pair): New alias.
3484         * riece-xemacs.el (riece-set-case-syntax-pair): New alias.
3485         * riece-identity.el (riece-identity-canonicalize-prefix): Simplified.
3486
3487 2003-08-03  Daiki Ueno  <ueno@unixuser.org>
3488
3489         * Riece: Version 0.0.4 released.
3490         * riece-version.el (riece-version-number): Bump up to 0.0.4.
3491
3492 2003-06-24  OHASHI Akira  <bg66@koka-in.org>
3493
3494         * riece-unread.el (riece-unread-display-message-function): Don't check
3495         `selected-window'. It doesn't work as expected.
3496
3497 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
3498
3499         * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
3500
3501         * riece-300.el: Rewrite using riece-decode-identity.
3502
3503         * riece-identity.el (riece-completing-read-identity): Signal an
3504         error when the encoded channel name is not matched with
3505         riece-channel-regexp.
3506
3507         * riece-globals.el (riece-channel-regexp): Moved from
3508         riece-channel.el.
3509         (riece-user-regexp): Moved form riece-user.el.
3510
3511 2003-06-23  Daiki Ueno  <ueno@unixuser.org>
3512
3513         * riece-handle.el (riece-handle-join-message): Don't call
3514         riece-switch-to-channel.
3515         (riece-handle-part-message): Don't decode message if it is empty.
3516         (riece-handle-kick-message): Ditto.
3517         (riece-handle-quit-message): Ditto.
3518         (riece-handle-kill-message): Ditto.
3519
3520         * riece-commands.el (riece-command-part): Show the current channel
3521         as default candidate.
3522
3523         * riece-identity.el (riece-completing-read-identity): Accept
3524         optional 5th argument `initial'.
3525
3526         * riece-unread.el (riece-unread-update-channel-list-buffer):
3527         Simplified.
3528
3529         * riece-filter.el (riece-sentinel): Don't bind
3530         riece-inhibit-update-buffers.
3531
3532         * riece-display.el (riece-redisplay-buffer): New variable.
3533         (riece-inhibit-update-buffers): Abolish.
3534         (riece-update-channel-list-buffer): Memorize
3535         encoded identity as text property on each line. 
3536
3537         * riece.el (riece-channel-list-mode): Make riece-redisplay-buffer
3538         buffer local.
3539         (riece-user-list-mode): Ditto.
3540
3541 2003-06-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
3542
3543         * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
3544         Fix example setting, don't use 3rd arg of add-to-list.
3545
3546         * riece-coding.el (riece-default-coding-system): Fix default value.
3547
3548 2003-06-22  Daiki Ueno  <ueno@unixuser.org>
3549
3550         * riece-display.el (riece-inhibit-update-buffers): New variable.
3551         * riece-filter.el (riece-sentinel): Bind
3552         riece-inhibit-update-buffers while removing channels from
3553         riece-current-channels.
3554         * riece-unread.el (riece-unread-display-message-function): Don't
3555         update channel list buffer when riece-inhibit-update-buffers is
3556         non-nil.
3557         (riece-unread-channel-switch-hook): Ditto.
3558         (riece-unread-insinuate): Add
3559         riece-unread-update-channel-list-buffer to
3560         riece-update-buffer-functions.
3561
3562         * riece-commands.el (riece-command-switch-to-channel): Call
3563         riece-redisplay-buffers instead of riece-command-configure-windows.
3564
3565         * riece-identity.el (riece-completing-read-identity): Remove nil
3566         from riece-current-channels before converting it to an alist.
3567
3568 2003-06-17  OHASHI Akira  <bg66@koka-in.org>
3569
3570         * riece-unread.el (riece-unread-display-message-function): Check a
3571         `selected-window'.
3572
3573         * riece-mini.el: New add-on.
3574         * COMPILE (riece-modules): Add `riece-mini'.
3575         * Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
3576
3577         * riece-display.el (riece-channel-buffer-create): Add new hook.
3578         * riece-log.el: New add-on for saving irc logs.
3579         * COMPILE (riece-modules): Add `riece-log'.
3580         * Makefile.am (EXTRA_DIST): Add `riece-log.el'.
3581
3582         * riece-commands.el (riece-command-join): Use `let*' instead of `let'.
3583         (riece-command-part): Ditto.
3584
3585 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
3586
3587         * riece-naming.el (riece-naming-assert-join): Call
3588         riece-update-buffers.
3589         (riece-naming-assert-part): Ditto.
3590
3591         * riece-filter.el (riece-sentinel): Don't bind
3592         riece-overriding-server-name; use riece-part-channel.
3593
3594         * riece-display.el (riece-switch-to-channel): Don't set
3595         riece-channel-buffer.
3596         (riece-update-buffers): Set riece-channel-buffer here.
3597
3598         * riece-commands.el (riece-command-switch-to-channel-by-number): Fixed.
3599         (riece-command-close-server): Fixed completion bug.
3600         (riece-command-universal-server-name-argument): Ditto.
3601
3602 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
3603
3604         * riece-doctor.el: Don't require 'doctor; autoload doctor-mode and
3605         doctor-read-print.
3606
3607         * riece-handle.el (riece-handle-nick-message): Use
3608         riece-decode-identity to decode user.
3609         (riece-handle-join-message): Ditto.
3610         (riece-handle-part-message): Ditto.
3611         (riece-handle-kick-message): Ditto.
3612         (riece-handle-quit-message): Ditto.
3613         (riece-handle-kill-message): Ditto.
3614         (riece-handle-invite-message): Ditto.
3615         (riece-handle-topic-message): Ditto.
3616         (riece-handle-mode-message): Ditto.
3617
3618 2003-06-12  Daiki Ueno  <ueno@unixuser.org>
3619
3620         * riece-message.el (riece-own-channel-message): Abolish.
3621
3622         * riece-commands.el (riece-command-send-message): Don't use
3623         riece-own-channel-message.
3624
3625         * riece-doctor.el (riece-doctor-reply): Don't use
3626         riece-own-channel-message.
3627         (riece-doctor-hello-regexp): New user option.
3628         (riece-doctor-bye-regexp): New user option.
3629
3630 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
3631
3632         * riece-identity.el (riece-identity-member-no-server): Abolish.
3633
3634         * riece-doctor.el (riece-doctor-patients): Make it global variable.
3635         (riece-doctor-after-privmsg-hook): Use riece-identity-member
3636         instead of riece-identity-member-no-server.
3637
3638 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
3639
3640         * riece-doctor.el: New add-on.
3641         * COMPILE (riece-modules): Add riece-doctor.
3642         * Makefile.am (EXTRA_DIST): Add riece-doctor.el
3643
3644 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
3645
3646         * riece-handle.el (riece-handle-nick-message): Follow the change
3647         of riece-identity-member.
3648
3649         * riece-commands.el (riece-command-next-channel): Use
3650         riece-identity-member instead of riece-identity-member-no-server.
3651         (riece-command-previous-channel): Ditto.
3652
3653 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
3654
3655         * riece-identity.el (riece-completing-read-identity): Remove nil
3656         from channels before completing-read.
3657
3658         * riece-message.el (riece-message-make-name): Fix condition for priv.
3659         (riece-message-make-global-name): Ditto.
3660         (riece-message-buffer): Ditto.
3661
3662         * riece-misc.el (riece-current-nickname): Use
3663         riece-with-identity-buffer.
3664
3665 2003-06-11  Daiki Ueno  <ueno@unixuser.org>
3666
3667         * riece-message.el (riece-message-parent-buffers): Regard message's
3668         speaker as target when priv mode.
3669
3670         * riece-display.el (riece-update-channel-indicator): Decode
3671         riece-current-channel even in priv mode.
3672
3673         * riece-identity.el (riece-decode-identity): Respect prefix-only.
3674         (riece-completing-read-identity): Check if illegal characters in
3675         channel name.
3676
3677 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
3678
3679         * riece.el (riece-buffer-mode-alist): Add riece-user-list-buffer.
3680         * riece-globals.el (riece-user-buffer-format): Abolish.
3681         (riece-user-list-buffer): Default to " *Users*".
3682         * riece-display.el (riece-user-list-buffer-name): Abolish.
3683         (riece-user-list-buffer-create): Abolish.
3684
3685 2003-06-08  Daiki Ueno  <ueno@unixuser.org>
3686
3687         * riece-filter.el (riece-handle-numeric-reply): Don't decode messages.
3688         (riece-handle-message): Ditto.
3689         (riece-sentinel): Clear system here.
3690
3691         * riece-server.el (riece-server-process-name): New function.
3692         (riece-server-process): New function.
3693         (riece-close-server): Abolish.
3694
3695         * riece-identity.el: Adopt vector object representation for
3696         identity objects.
3697         (riece-with-identity-buffer): New macro.
3698         (riece-decode-identity): New function.
3699         (riece-encode-identity): New function.
3700
3701         * riece-globals.el (riece-process-list): New variable.
3702         (riece-server-process-alist): Abolish.
3703         (riece-channel-buffer-alist): Abolish.
3704         (riece-user-list-buffer-alist): Abolish.
3705         (riece-short-channel-indicator): New variable.
3706
3707         * riece-channel.el: Assume that we are already in the server buffer.
3708         * riece-user.el: Likewise.
3709
3710 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
3711
3712         * riece-ndcc.el (riece-ndcc-server-sentinel): Close a parenthesis.
3713
3714         * riece-rdcc.el (riece-rdcc-insinuate): Don't use the 3rd argument of
3715         `add-to-list'.
3716
3717 2003-06-06  Daiki Ueno  <ueno@unixuser.org>
3718
3719         * riece-channel.el (riece-forget-channel): Fixed.
3720         (riece-channel-modeless-regexp): Abolish.
3721         (riece-channel-modeless-p): Abolish.
3722
3723 2003-06-06  OHASHI Akira  <bg66@koka-in.org>
3724
3725         * riece-unread.el (riece-unread-display-message-function): Delete the
3726         target before adding to list.
3727         (riece-unread-switch-to-channel): New function.
3728         (riece-unread-insinuate): Bind "\C-c\C-u" to riece-command-mode-map.
3729         Bind "u" to riece-dialogue-mode-map.
3730         Bind "u" to riece-channel-list-mode-map.
3731
3732         * riece.el (riece-channel-list-mode-map): Don't bind
3733         `riece-command-unread-channel'.
3734
3735 2003-06-04  Yoichi NAKAYAMA  <yoichi@geiin.org>
3736
3737         * riece-000.el,riece-200.el,riece-300.el,riece-400.el,riece-500.el,
3738         riece-commands.el,riece-filter.el,riece-handle.el,riece-highlight.el
3739         riece-identity.el,riece-message.el,riece-misc.el,riece-naming.el,
3740         riece.el: Don't require riece-inlines since it has been removed.
3741
3742 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3743
3744         * riece-display.el (riece-update-user-list-buffer): Rename from
3745         riece-user-list-update-buffer.
3746         (riece-update-channel-list-buffer): Rename from
3747         riece-channel-list-update-buffer.
3748
3749 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3750
3751         * riece-identity.el (riece-identity-canonicalize-prefix): Moved
3752         from riece-inlines.el; renamed from scandinavian-downcase.
3753         (riece-identity-equal-no-server): Moved from riece-inlines.el;
3754         renamed from scandinavian-equal-ignore-case.
3755         (riece-identity-equal-no-server-safe): New function.
3756         (riece-identity-member-no-server): Moved from riece-inlines.el;
3757         renamed from scandinavian-member-ignore-case.
3758         (riece-identity-member-no-server-safe): New function.
3759
3760         * riece-inlines.el: Removed.
3761         * COMPILE (riece-modules): Remove riece-inlines.
3762         * Makefile.am (EXTRA_DIST): Remove riece-inlines.el.
3763
3764 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3765
3766         * riece-rdcc.el (riece-rdcc-sentinel): Don't call delete-process
3767         explicitly.
3768         * riece-ndcc.el: Don't call delete-process explicitly.
3769         * riece-server.el (riece-close-server-process): Don't call
3770         delete-process explicitly unless riece-debug == t.
3771
3772 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3773
3774         * riece-inlines.el (scandinavian-downcase): New inline function.
3775         (scandinavian-equal-ignore-case): Rename from
3776         string-equal-ignore-case.
3777         (scandinavian-member-ignore-case): Rename from
3778         string-list-member-ignore-case.
3779
3780         * riece-identity.el (riece-identity-equal): Rename from
3781         riece-identity-equal-no-server; use scandinavian-equal-ignore-case.
3782         (riece-identity-equal-safe): Rename from riece-identity-equal.
3783         (riece-identity-member): Rename from riece-identity-member-no-server.
3784         (riece-identity-member-safe): Rename from riece-identity-member.
3785         (riece-identity-assoc): Rename from riece-identity-assoc-no-server.
3786         (riece-identity-assoc-safe): Rename from riece-identity-assoc.
3787
3788 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3789
3790         * riece-rdcc.el: Require 'riece-ctcp.
3791         (riece-rdcc-insinuate): Add "DCC" to
3792         riece-ctcp-additional-clientinfo.
3793
3794         * riece-ctcp.el (riece-ctcp-additional-clientinfo): New variable.
3795         (riece-command-ctcp-clientinfo): New command.
3796         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
3797         (riece-handle-ctcp-clientinfo-request): New handler.
3798         (riece-handle-ctcp-clientinfo-response): New handler.
3799
3800         * riece-server.el (riece-open-server): No need to use
3801         get-buffer-create to reuse process buffer.
3802
3803 2003-06-03  Daiki Ueno  <ueno@unixuser.org>
3804
3805         * riece-rdcc.el (riece-command-dcc-send): Generate new buffer for
3806         DCC process.
3807         (riece-command-dcc-receive): Likewise; don't set buffer-file-name.
3808
3809         * riece-server.el (riece-server-keyword-map): `:coding-system' ->
3810         `:coding'.
3811         (riece-open-server): Follow the change.
3812
3813         * riece-ctcp.el (riece-command-ctcp-action): New command.
3814         (riece-ctcp-insinuate): Bind it in riece-dialogue-mode-map.
3815         (riece-handle-ctcp-action-request): New handler.
3816
3817         * riece.el (riece-command-mode): Enclose status indicators with
3818         `{}'; show riece-user-indicator.
3819         (riece-channel-mode): Likewise.
3820         (riece-dialogue-mode): Enclose status indicators with `{}'.
3821         * riece-globals.el (riece-user-indicator): New indicator.
3822         (riece-freeze-indicator): Default to "-".
3823         * riece-display.el (riece-update-channel-indicator): Don't update
3824         modeline.
3825         (riece-update-status-indicators): Set riece-user-indicator.
3826         * riece-300.el (riece-handle-324-message): Update channel indicator.
3827
3828 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
3829
3830         * riece.el (riece-command-mode): Don't set riece-freeze-indicator.
3831         (riece-dialogue-mode): Call riece-update-status-indicators.
3832         (riece-channel-mode): Add riece-operator-indicator to
3833         mode-line-buffer-identification.
3834         * riece-user.el (riece-make-user): New attribute `operator'.
3835         (riece-user-operator): New function.
3836         (riece-user-set-operator): New function.
3837         (riece-user-toggle-away): New function.
3838         (riece-user-toggle-operator): New function.
3839         * riece-misc.el (riece-own-frozen): Revive.
3840         * riece-message.el (riece-display-message): Reset riece-freeze if
3841         riece-freeze == 'own && (riece-message-own-p message).
3842         * riece-globals.el (riece-own-freeze): Abolish; use riece-freeze.
3843         (riece-operator-indicator): New variable.
3844         * riece-display.el (riece-update-status-indicators): New function.
3845         (riece-update-buffer-functions): Add it.
3846         * riece-commands.el (riece-command-toggle-freeze): Don't call
3847         riece-freeze.
3848         (riece-command-toggle-own-freeze): Don't call riece-own-freeze.
3849         * riece-300.el (riece-handle-302-message): Use
3850         riece-user-toggle-away instead of riece-user-set-away.
3851         (riece-handle-301-message): Ditto.
3852         (riece-handle-305-message): Ditto.
3853         (riece-handle-306-message): Ditto.
3854         (riece-handle-352-message): Ditto.
3855
3856 2003-06-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
3857
3858         * riece-commands.el (riece-command-next-channel): Circularly
3859         follow the channel list.
3860         (riece-command-previous-channel): Ditto.
3861
3862 2003-06-02  Daiki Ueno  <ueno@unixuser.org>
3863
3864         * riece.el (riece-command-mode): Set default value of riece-freeze
3865         & riece-own-freeze.
3866         * riece-options.el (riece-away-message): New user option.
3867         * riece-commands.el (riece-command-toggle-away): Query user away
3868     &nbs