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