* wl-expire.el (wl-summary-archive): Fixed;
[elisp/wanderlust.git] / elmo / ChangeLog
1 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
2
3         * elmo-imap4.el (elmo-folder-initialize): Use
4         `elmo-imap4-encode-folder-string' for folder name.
5
6 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
9         `done'.
10
11 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
12
13         * elmo-util.el (elmo-progress-counter-alist): New internal
14         variable.
15         (elmo-progress-counter-value): New macro.
16         (elmo-progress-counter-all-value): Ditto.
17         (elmo-progress-counter-format): Ditto.
18         (elmo-progress-counter-set-value): Ditto.
19         (elmo-progress-set): New function.
20         (elmo-progress-clear): Ditto.
21         (elmo-progress-notify): Ditto.
22
23         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
24         counter.
25
26         * elmo.el (elmo-generic-folder-append-messages): Call
27         `elmo-progress-notify'.
28         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
29
30         * elmo-archive.el (elmo-folder-append-messages): Call
31         `elmo-progress-notify'.
32
33         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
34
35         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
36
37         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
38
39 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
40
41         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
42         'Create'.
43         (elmo-message-encache-dop): Added argument `read'.
44
45         * elmo-shimbun.el (elmo-message-encache): Ditto.
46
47         * elmo-net.el (elmo-message-encache): Ditto.
48
49         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
50         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
51         elmo-imap4-seen-messages.
52         (elmo-folder-msgdb-create-plugged): Initialize
53         elmo-imap4-seen-messages;
54         Set seen mark on elmo-imap4-seen-messages.
55
56         * elmo-pipe.el (elmo-folder-message-file-p): Define.
57
58         * elmo.el (elmo-generic-folder-append-messages): Check return value of
59         elmo-folder-append-buffer.
60         (elmo-folder-encache): Added optional argument `read'.
61         (elmo-message-encache): Ditto.
62
63         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
64
65         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
66
67         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
68         if append buffer content succeds.
69
70 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
71
72         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
73         elmo-display-progress.
74
75         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
76         Set 4th argument of mime-display-message.
77         (elmo-mime-display-as-is): Ditto.
78
79 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
80
81         * elmo-nmz.el (toplevel): Require 'mime-edit.
82         (elmo-nmz-content-type-alist): Abolished.
83         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
84         content is not a message.
85         (elmo-map-message-fetch): Changed behavior exept for message content;
86         Detect mime-charset automatically, Use `mime-find-file-type' to detect
87         content-type, Add From: and Subject: field.
88
89 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
90
91         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
92         (elmo-map-message-fetch): Add `Content-Type' field if contents is
93         not a message.
94
95 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
96
97         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
98         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
99
100         * elmo-archive.el (elmo-folder-writable-p): Defined.
101
102         * elmo-cache.el (elmo-folder-writable-p): Ditto.
103
104         * elmo-filter.el (elmo-folder-writable-p): Ditto.
105
106         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
107
108         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
109
110         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
111
112         * elmo-mark.el (elmo-folder-writable-p): Ditto.
113
114         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
115
116         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
117
118 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
119
120         * elmo-util.el (elmo-address-quote-specials): New function;
121         Renamed from `wl-address-quote-specials'.
122
123 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
124
125         * elmo-version.el (elmo-version): Up to 2.7.4.
126
127 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
128
129         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
130
131 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
132
133         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
134         both compile-time and run-time to avoid byte-compile warning.
135
136 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
137
138         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
139
140 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
141
142         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
143         option.
144         (elmo-mime-display-as-is-internal): Use it.
145
146         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
147         if `read-passwd' is not defined.
148
149 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
150
151         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
152         by original number.
153         (elmo-folder-status): Call `elmo-folder-open-internal';
154         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
155         (elmo-folder-close-internal): Set location-alist as nil.
156         (elmo-folder-clear): Define.
157         (elmo-folder-check): Don't set location-alist as nil.
158
159         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
160
161 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
162
163         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
164         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
165
166         * mmimap.el (mime-imap-entity::requested): New slot.
167         (mime-imap-location-fetch-entity-p): New generic function.
168         (mime-decode-parameters): Define using `defun-maybe'.
169         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
170         content-type structure.
171         (mime-entity-body): Return empty body if
172         `mime-imap-location-fetch-entity-p' returns nil in the first request.
173
174         * elmo.el (elmo-message-displaying): New variable.
175
176         * elmo-mime.el (elmo-mime-message-display): Bind
177         elmo-message-displaying as t.
178
179         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
180
181 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
182
183         * acap.el (acap-open): erase buffer before starting network process.
184         (acap-store): Rewrite.
185
186 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
187
188         * elmo-imap4.el (elmo-imap4-default-mailbox,
189         elmo-imap4-default-server
190         elmo-imap4-default-authenticate-type,
191         elmo-imap4-default-user,
192         elmo-imap4-default-port,
193         elmo-imap4-default-stream-type,
194         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
195
196         * elmo-pop3.el (elmo-pop3-default-user,
197         elmo-pop3-default-server,
198         elmo-pop3-default-authenticate-type,
199         elmo-pop3-default-port,
200         elmo-pop3-default-stream-type,
201         elmo-pop3-stream-type-alist): Ditto.
202
203         * elmo-nntp.el (elmo-nntp-default-server,
204         elmo-nntp-default-user,
205         elmo-nntp-default-port,
206         elmo-nntp-default-stream-type,
207         elmo-nntp-stream-type-alist): Ditto.
208
209         * elmo-vars.el: Follow changes above.
210         (elmo-setting): New custom group; added 'elmo-setting group to
211         above variables.
212
213         * elmo-version.el (elmo-version): Up to 2.7.3.
214
215         * acap.el (acap-parse-response): Don't delete process when BYE
216         response (It causes hang-up on slow network environment).
217         (toplevel): Added comment.
218
219 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
220
221         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
222
223         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
224         parsing NIL.
225         (acap-parse-return-metadata): Ditto.
226
227         * slp.el: New file.
228         (toplevel): Fixed typo.
229
230         * acap.el: New file.
231         (acap-network-stream-open): Show "Connecting..." message.
232         (acap-parse-response): Fixed problem for BYE untagged response.
233         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
234         (toplevel): Added tiny comments.
235
236 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
237
238         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
239         space delimiter for uidl response.
240
241 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
242
243         * elmo-vars.el (elmo-use-semi): Eliminated.
244
245         * elmo-util.el (elmo-string-assoc-all): New function.
246
247 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
248
249         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
250         property 'mime-preview-situation for `mime-preview-quit'.
251
252 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
253
254         * elmo.el (elmo-message-fetch-with-cache-process): Call
255         elmo-message-fetch-internal instead of causing an error when fetch
256         strategy is 'entire but only 'section cache is available.
257
258 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
259
260         * elmo-version.el (elmo-version): Up to 2.7.2.
261
262         * elmo.el (elmo-generic-folder-append-messages): Make
263         fetch-strategy with `use-cache'.
264
265         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
266         (elmo-dop-queue-method-name): New macro.
267
268 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
269
270         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
271         unbalanced parenthesis.
272
273 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
274
275         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
276
277 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
278
279         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
280         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
281
282 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
283
284         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
285         local variables.
286
287 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
288
289         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
290         (elmo-message-use-cache-p): Define.
291         (elmo-folder-msgdb-create): Treat cache.
292
293 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
294
295         * elmo-nntp.el (elmo-network-initialize-session): Call
296         `elmo-nntp-send-mode-reader'.
297         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
298
299 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
300
301         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
302         alist.
303         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
304         assoc.
305
306         * elmo-net.el (elmo-network-get-session): Set stream-type argument
307         for `elmo-plugged-p'.
308         (elmo-open-network-stream): Fixed stream-type argument.
309
310 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
311
312         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
313         unknown archive type is specified.
314
315 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
316
317         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
318
319         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
320         while loading msgdb.
321
322         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
323         (elmo-folder-open-internal): Rewrite.
324
325 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
326
327         * elmo-mime.el (elmo-mime-display-as-is-internal):
328         Adjust buffer-multibyte status.
329
330 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
331
332         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
333         of elmo-condition-find-key.
334
335         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
336         (elmo-condition-in-msgdb-p): Ditto.
337         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
338         argument.
339
340 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
341
342         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
343
344 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
345
346         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
347         label for elmo-display-progress.
348
349 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
350
351         * elmo.el (elmo-folder-clear): New method.
352         (elmo-folder-clear): Define.
353         (elmo-folder-synchronize): Call `elmo-folder-clear'.
354
355         * elmo-shimbun.el (elmo-folder-check): Rewrite.
356         (elmo-folder-clear): Define.
357
358         * elmo-map.el (elmo-folder-clear): Define.
359
360         * elmo-version.el (elmo-version): Up to 2.7.1.
361
362 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
363
364         * elmo.el (elmo-folder-synchronize): Return list of nil when no
365         updates.
366
367 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
368
369         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
370         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
371
372 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
373
374         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
375
376         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
377         and re-written.
378
379         * elmo-imap4.el (elmo-folder-initialize): Use
380         elmo-get-network-stream-type.
381
382         * elmo-nntp.el (elmo-folder-initialize): Ditto.
383
384         * elmo-pop3.el (elmo-folder-initialize): Ditto.
385
386 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
387
388         * elmo.el (elmo-message-encache): Set unread argument for
389         elmo-message-fetch.
390
391         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
392
393         * elmo.el (elmo-net-port-info): New method.
394
395         * elmo-shimbun.el (elmo-net-port-info): Define.
396         (elmo-message-encache): Ditto.
397
398         * elmo-net.el (elmo-net-port-info): Define as method.
399
400         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
401         unplugged status when elmo-enable-disconnected-operation is t.
402
403         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
404         of spool folder before checking new number.
405
406 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
407
408         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
409         (elmo-network-setup-session): Ditto.
410         (elmo-message-fetch-plugged): Ditto.
411         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
412         (elmo-network-initialize-session): Ditto.
413         (elmo-pop3-read-response): Abolish 3rd argument.
414         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
415         (elmo-pop3-read-contents): Ditto.
416         (elmo-pop3-read-body): Ditto.
417         (elmo-folder-status): Call elmo-folder-close.
418         (elmo-pop3-lock): Abolish.
419         (elmo-pop3-unlock): Ditto.
420         (elmo-pop3-locked-p): Ditto.
421         (elmo-folder-check): Don't call elmo-pop3-locked-p.
422
423 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
424
425         * elmo-version.el (elmo-version): Up to 2.7.0.
426
427         * elmo-pop3.el (elmo-pop3-debug): New variable.
428         (elmo-pop3-debug-inhibit-logging): Ditto.
429         (elmo-pop3-debug): New function.
430         (elmo-pop3-send-command): Call elmo-pop3-debug.
431         (elmo-pop3-read-response): Added keep-lock optional argument;
432         Don't unlock if keep-lock is non-nil.
433         (elmo-pop3-process-filter): Call elmo-pop3-debug.
434         (elmo-network-authenticate-session): Bind
435         elmo-pop3-debug-inhibit-logging as t.
436         (elmo-network-setup-session): Call elmo-pop3-read-response with
437         keep-lock argument.
438         (elmo-pop3-read-msg): Ditto.
439         (elmo-pop3-locked-p): Call elmo-pop3-debug.
440         (elmo-pop3-read-body): Call elmo-pop3-unlock.
441         (elmo-network-initialize-session): Call elmo-pop3-lock.
442         (elmo-folder-close-internal): Don't clear location-alist slot.
443         (elmo-folder-check): Clear location-alist slot.
444
445 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
446
447         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
448         (elmo-pop3-send-command): Call elmo-pop3-lock.
449         (elmo-pop3-read-response): Call elmo-pop3-unlock.
450         (elmo-pop3-read-contents): Ditto.
451         (elmo-pop3-lock): New function.
452         (elmo-pop3-unlock): Ditto.
453         (elmo-pop3-locked-p): Ditto.
454         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
455         returns t.
456
457 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
458
459         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
460
461         * elmo-util.el (elmo-file-field-primitive-condition-match):
462         New inline function (Don't fetch file content if "first" or "last").
463         (elmo-file-field-condition-match): Use
464         elmo-file-field-primitive-condition-match.
465
466         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
467         "first".
468
469         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
470         (elmo-message-fetch-plugged): Fixed.
471
472         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
473
474 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
475
476         * elmo.el (elmo-folder-move-messages): Bind
477         elmo-inhibit-display-retrieval-progress as t while moving messages.
478
479         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
480         New variable.
481         (elmo-inhibit-display-retrieval-progress): Ditto.
482
483         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
484         for retrieval progress;
485         Don't display progress when total buffer size is smaller than
486         elmo-display-retrieval-progress-threshold.
487         (elmo-message-fetch-plugged): Don't display progress when
488         elmo-inhibit-display-retrieval-progress is non-nil.
489
490         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
491         for retrieval progress;
492         Don't display progress when literal size is smaller than
493         elmo-display-retrieval-progress-threshold.
494         (elmo-imap4-message-fetch): Don't display progress when
495         elmo-inhibit-display-retrieval-progress is non-nil.
496
497 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
498
499         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
500         (elmo-imap4-find-next-line): Display progress whille literal fetching.
501         (elmo-imap4-message-fetch): Likewise.
502
503         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
504         (elmo-shimbun-index-range-alist): Ditto.
505         (elmo-shimbun-use-entire-index): Abolish.
506         (shimbun-mua-use-entire-index): Ditto.
507         (elmo-shimbun-folder): Added new slot `range'.
508         (elmo-folder-initialize): Setup slot `range'.
509
510 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
511
512         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
513         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
514         (elmo-shimbun-get-headers): Use return value of
515         `shimbun-article-expiration-days'.
516         (elmo-folder-close-internal): Clean up last-check slot.
517
518         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
519         (elmo-pop3-total-size): New variable.
520         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
521
522         * elmo.el (elmo-folder-reserve-status-p): New method.
523
524         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
525         (elmo-shimbun-use-entire-index): New user option.
526         (shimbun-elmo-mua): New class.
527         (shimbun-mua-search-id): Define.
528         (shimbun-mua-use-entire-index): Ditto.
529         (elmo-shimbun-folder:last-check): New slot.
530         (elmo-shimbun-headers-cache-header-list): Abolish.
531         (elmo-shimbun-headers-cache-set-header-list): Ditto.
532         (elmo-shimbun-headers-cache-header-hash): Ditto.
533         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
534         (elmo-shimbun-headers-cache-last-check): Ditto.
535         (elmo-shimbun-headers-cache-set-last-check): Ditto.
536         (elmo-shimbun-headers-check-p): Rewrite.
537         (elmo-shimbun-msgdb-to-headers): New function.
538         (elmo-shimbun-get-headers): Rewrite.
539         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
540         (elmo-folder-open-internal): Get headers only if
541         `elmo-shimbun-headers-check-p' is non-nil.
542         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
543         is non-nil.
544         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
545         (elmo-quit): Removed.
546
547         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
548         function.
549         (elmo-msgdb-overview-entity-set-extra): Ditto.
550         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
551
552         * elmo-map.el (elmo-folder-status): Don't call
553         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
554         is non-nil.
555
556 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
557
558         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
559         of `elmo-msgdb-search-internal-primitive' when condition's car is
560         `and' or `or'.
561
562 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
563
564         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
565
566 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
567
568         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
569         call `elmo-pipe-drain'.
570
571 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
572
573         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
574         typo. (elmo-cache-folder -> elmo-mark-folder)
575
576 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
577
578         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
579         `elmo-message-fetch'.
580
581 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
582
583         * elmo-net.el (elmo-message-encache): Fixed typo.
584         (elmo-message-fetch-unplugged): Changed call
585         `elmo-message-fetch-internal' without argument `outbuf'.
586
587 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
588
589         * elmo.el (elmo-message-encache): Define as generic function.
590         (elmo-message-fetch-field): New generic function.
591         (elmo-message-fetch-with-cache-process): Cause an error when
592         fetch strategy is 'entire but only 'section cache is available.
593         (toplevel): Fixed nmz folder definition.
594
595         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
596         (elmo-msgdb-resume-list-filename): Ditto.
597         (elmo-queue-filename): Ditto.
598         (elmo-enable-disconnected-operation): Changed default value to t.
599
600         * elmo-util.el (elmo-cache-path-section-p): New function.
601         (elmo-file-cache-get): Use it.
602         (elmo-dop-queue-filename): Moved from elmo-dop.el.
603         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
604         (elmo-dop-queue-save): Ditto.
605
606         * elmo-net.el (elmo-folder-status-unplugged): Call
607         elmo-folder-status-dop.
608         (elmo-folder-list-messages-unplugged): Implemented.
609         (elmo-folder-delete-messages-unplugged): Define.
610         (elmo-folder-msgdb-create): Define.
611         (elmo-folder-msgdb-create-unplugged): Define.
612         (elmo-folder-mark-as-read-unplugged): Ditto.
613         (elmo-folder-unmark-read-unplugged): Ditto.
614         (elmo-folder-mark-as-important-unplugged): Ditto.
615         (elmo-folder-unmark-important-unplugged): Ditto.
616         (elmo-message-encache): Ditto.
617
618         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
619         (elmo-dop-queue-save): Ditto.
620
621         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
622         `elmo-folder-msgdb-create'.
623         (elmo-folder-append-buffer): Implemented unplugged operation.
624         (elmo-folder-append-messages): Call parent method in unplugged status.
625         (elmo-message-fetch-unplugged): Removed definition.
626         (elmo-message-fetch-field): Implemented.
627
628         * elmo-dop.el (toplevel): Require 'elmo-localdir.
629         (elmo-dop-folder): Removed variable definition.
630         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
631         (elmo-dop-queue-flush): Implemented.
632         (elmo-dop-queue-merge): Removed definition (TODO).
633         (elmo-dop-spool-folder): New function.
634         (elmo-dop-spool-folder-append-buffer): Ditto.
635         (elmo-dop-spool-folder-list-messages): Ditto.
636         (elmo-dop-list-deleting-messages): Ditto.
637         (elmo-folder-append-buffer-dop): Ditto.
638         (elmo-folder-delete-messages-dop): Ditto.
639         (elmo-message-encache-dop): New inline function.
640         (elmo-create-folder-dop): Ditto.
641         (elmo-folder-mark-as-read-dop): Ditto.
642         (elmo-folder-unmark-read-dop): Ditto.
643         (elmo-folder-mark-as-important-dop): Ditto.
644         (elmo-folder-unmark-important-dop): Ditto.
645         (elmo-folder-status-dop): Fixed.
646         (elmo-folder-append-buffer-dop-delayed): New function.
647         (elmo-folder-delete-messages-dop-delayed): Ditto.
648         (elmo-dop-msgdb): Ditto.
649
650 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
651
652         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
653
654 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elmo.el (elmo-folder-move-messages): Fixed problem when
657         `dst-folder' is 'null.
658
659 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
660
661         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
662         instead of current mark.
663
664         * elmo-multi.el (elmo-folder-list-importants-internal): No
665         operation if importants is not list.
666
667         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
668         Return t if importants is not list.
669
670         * elmo-map.el (elmo-map-folder-list-importants): Define.
671         (elmo-folder-list-importants-internal): Check return value of
672         `elmo-map-folder-list-importants-internal'.
673
674         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
675
676         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
677
678         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
679
680         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
681
682 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
683
684         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
685         (Patch is provided by <kita@coe.nttdata.co.jp>).
686
687 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
688
689         * elmo.el (elmo-folder-synchronize): Don't check important mark in
690         mark folder.
691
692 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elmo.el (elmo-message-fetch): Define.
695         (elmo-message-fetch-with-cache-process): New generic method.
696         (elmo-message-fetch-internal): New generic method.
697         (elmo-folder-synchronize):
698
699         * elmo-archive.el (elmo-message-fetch-internal): Define.
700         (elmo-message-fetch): Eliminated.
701
702         * elmo-localdir.el (elmo-message-fetch-internal): Define.
703         (elmo-message-fetch): Eliminated.
704
705         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
706         argument OUTBUF.
707         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
708
709         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
710         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
711
712         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
713         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
714
715         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
716
717         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
718
719         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
720
721         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
722         (elmo-message-fetch-unplugged): New generic method.
723         (elmo-message-fetch-internal): Remove cache process (Renamed from
724         `elmo-message-fetch').
725
726         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
727         (elmo-message-fetch): Eliminated.
728         (elmo-message-fetch-unplugged): Ditto.
729
730         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
731
732 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
733
734         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
735         of `to-be-deleted' from number-alist to number-list.
736
737 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
738
739         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
740         (elmo-folder-mark-as-important): Ditto.
741
742 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
743
744         * elmo.el (elmo-folder): Added process-duplicates slot.
745
746         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
747         (elmo-folder-unmark-read): Ditto.
748         (elmo-folder-unmark-important): Ditto.
749         (elmo-folder-mark-as-important): Ditto.
750
751         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
752         duplicated message processing.
753
754         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
755
756 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
757
758         * elmo-util.el (elmo-list-subdirectories-1): New function.
759         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
760         (elmo-mapcar-list-of-list): New function.
761
762         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
763         `elmo-mapcar-list-of-list' instead of `mapcar'.
764
765         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
766
767         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
768         `elmo-have-link-count'. Return the fully qualified folder name.
769
770 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
771
772         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
773         (elmo-shimbun-headers-cache): New internal variable.
774         (elmo-shimbun-headers-cache-header-list): New inline function.
775         (elmo-shimbun-headers-cache-set-header-list): Ditto.
776         (elmo-shimbun-headers-cache-header-hash): Ditto.
777         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
778         (elmo-shimbun-headers-cache-last-check): Ditto.
779         (elmo-shimbun-headers-cache-set-last-check): Ditto.
780         (elmo-shimbun-lapse-seconds): Ditto.
781         (elmo-shimbun-headers-cache-check-p): Ditto.
782         (elmo-shimbun-get-headers): New function.
783         (elmo-folder-open-internal): Call it.
784         (elmo-quit): Define (Clear headers-cache).
785
786 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
787
788         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
789
790         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
791         (elmo-msgdb-flist-save): Ditto.
792
793         * elmo-shimbun.el (elmo-folder-list-subfolders):
794         Use `shimbun-groups' instead of `shimbun-groups-internal'.
795         (elmo-folder-exists-p): Ditto.
796
797         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
798         argument for `shimbun-header-insert'.
799
800 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
801
802         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
803         at first time.
804
805         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
806         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
807
808 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
809
810         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
811         (elmo-folder-plugged-p): Define.
812         (elmo-folder-set-plugged): Ditto.
813         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
814         (elmo-folder-list-messages-internal): Return t if unplugged.
815         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
816
817         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
818         when elmo-folder-list-messages-internal method of children returns t.
819
820         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
821         pair is nil.
822         (elmo-folder-open-internal): Don't update if unplugged status.
823
824 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
825
826         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
827         new message.
828
829 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
830
831         * elmo-util.el (elmo-file-cache-save): Ignore errors.
832
833         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
834         saving.
835
836 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
837
838         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
839
840         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
841         (elmo-folder-open-internal): Set up headers slot.
842         (elmo-folder-check): Call elmo-folder-close-internal and
843         elmo-folder-open-internal.
844         (elmo-folder-close-internal): Clean up headers slot.
845
846 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
847
848         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
849         exactly folder list.
850         (elmo-folder-append-messages): Fixed append archive with prefix.
851
852         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
853         make temp files with start-number.
854
855         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
856
857 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
858
859         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
860         argument `visible-only'.
861         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
862         instead of `if'.
863
864         * elmo-pop3.el (elmo-folder-open-internal): Check
865         `elmo-inhibit-number-mapping' is non-nil.
866
867         * elmo-pipe.el (elmo-folder-status): Fixed.
868
869 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
870
871         * elmo.el (elmo-dop-queue-flush): Added autload setting.
872
873         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
874         (elmo-folder-open-internal): Setup `header-hash' slot.
875         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
876         information.
877         (elmo-map-message-fetch): Ditto.
878
879 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
880
881         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
882         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
883         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
884         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
885
886         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
887
888 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
889
890         * sb-airs.el: Added footer.
891
892         * shimbun.el (shimbun-article): Define as luna-method.
893
894         * sb-tcup.el: New file.
895
896         * sb-airs.el (toplevel): Require 'sb-mhonarc.
897         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
898
899 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
900
901         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
902         (shimbun-get-headers): Ditto.
903
904         * elmo.el: Moved obsolete variable definitions from
905         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
906
907         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
908         groups.
909
910         * shimbun.el: New file.
911
912         * elmo-shimbun.el: New file.
913
914         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
915         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
916         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
917         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
918
919 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
920
921         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
922         hierarchy is t.
923
924 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
925
926         * elmo.el (elmo-folder-msgdb): Define as macro.
927         (elmo-folder-open): Added argument `load-msgdb'.
928         (elmo-generic-folder-open): Ditto.
929         (elmo-folder-encache): New function.
930
931         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
932
933         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
934
935         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
936         Eliminated argument FOLDER and added argument MSGDB.
937         (elmo-dop-queue-load): Moved from elmo-dop.el.
938         (elmo-dop-queue-save): Ditto.
939
940         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
941
942         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
943
944         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
945         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
946         (elmo-filter-folder-list-importants-internal): Ditto.
947
948         * elmo-map.el (elmo-folder-pack-number): Ditto.
949
950         * elmo-mime.el (elmo-mime-message-display): Ditto.
951
952         * elmo.el (elmo-generic-folder-commit): Ditto.
953         (elmo-folder-list-unreads): Ditto.
954         (elmo-folder-list-importants): Ditto.
955         (elmo-generic-folder-commit): Ditto.
956         (elmo-message-set-mark): Ditto.
957         (elmo-generic-folder-append-msgdb): Ditto.
958         (elmo-folder-synchronize): Ditto.
959         (elmo-folder-messages): Ditto.
960         (elmo-init): Call elmo-dop-queue-load.
961         (elmo-folder-list-messages): Ditto.
962
963         * elmo-nntp.el (elmo-folder-update-number): Ditto.
964         (elmo-nntp-folder-process-crosspost): Ditto.
965         (elmo-folder-list-unreads-internal): Ditto.
966
967         * elmo-dop.el: Removed old functions.
968
969 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
970
971         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
972         `folder' to `msgdb'.
973
974 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
975
976         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
977         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
978
979         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
980         case-fold-search.
981
982 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
983
984         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
985         defined.
986
987         * mmimap.el (toplevel): Require 'mime-parse and 'static.
988         (mmimap-parse-parameters-from-list): Define as alias for
989         `mime-decode-parameter-plist' if it is defined as function.
990         (mmimap-make-mime-entity): Added argument `number'.
991         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
992         as 0.
993         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
994
995         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
996
997         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
998
999         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
1000
1001 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1002
1003         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
1004
1005         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
1006         when elmo-imap4-default-authenticate-type is nil.
1007         (elmo-folder-list-subfolders): Ditto
1008         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
1009         (elmo-imap4-fetch-callback-1-subr): Renamed from
1010         `elmo-imap4-fetch-callback-1' and define as inline function.
1011         (elmo-imap4-fetch-callback-1):
1012         Renamed from `elmo-imap4-fetch-callback'.
1013         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
1014
1015         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
1016         msgdb path (To keep compatibility with main trunk).
1017
1018         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
1019
1020         * elmo-util.el (elmo-make-file-cache): Moved position of
1021         some macros.
1022
1023         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
1024         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
1025         instead of `elmo-pop3-inhibit-uidl'.
1026         (elmo-folder-exists-p): Ditto.
1027         (elmo-pop3-folder-list-messages): Ditto.
1028
1029         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
1030         instead of `elmo-pop3-inhibit-uidl'.
1031         (elmo-folder-status): Ditto.
1032
1033         * elmo-dop.el (elmo-dop-folder): New variable.
1034         (elmo-dop-lock-message): Eliminated.
1035         (elmo-dop-unlock-message): Ditto.
1036         (elmo-dop-lock-list-load): Ditto.
1037         (elmo-dop-lock-list-save): Ditto.
1038         (elmo-dop-delete-folder): Ditto.
1039         (elmo-dop-rename-folder): Ditto.
1040
1041         * elmo.el: Removed incomplete commentary.
1042
1043 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1044
1045         * elmo.el (toplevel): Require 'elmo-version first;
1046         for little `recursive-load-depth' settings.
1047         Fix "ends here" comment.
1048
1049 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
1050
1051         * elmo-util.el (toplevel): Require 'poem;
1052         Some functions are moved from elmo-cache.el.
1053
1054         * elmo-net.el (toplevel): Require 'elmo-cache.
1055
1056         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
1057
1058         * elmo.el (toplevel): Ditto.
1059
1060         * elmo-cache.el: Rewrite with luna;
1061         Some functions are moved to elmo-util.el.
1062
1063         * elmo-internal.el (elmo-internal-folder-list): New variable.
1064         (elmo-internal-folder-initialize): Rewrite.
1065         (elmo-folder-list-subfolders): Ditto.
1066
1067         * elmo-cache.el (elmo-cache-search-all): Eliminated.
1068         (elmo-cache-collect-sub-directories): Ditto.
1069
1070 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1071
1072         * elmo-version.el (elmo-version): Up to 2.5.8.
1073
1074         * elmo.el (elmo-folder-list-messages-mark-match): New function.
1075
1076         * elmo-util.el (elmo-list-insert): New function.
1077
1078 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
1079
1080         * elmo.el (elmo-init): New function.
1081         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
1082
1083         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
1084         (Renamed from `elmo-localdir-header-chop-length').
1085
1086         * elmo-pop3.el (elmo-pop3-use-cache,
1087         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
1088
1089         * elmo-nntp.el (elmo-message-fetch): Define.
1090         (elmo-message-fetch-unplugged): Ditto.
1091         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
1092         (elmo-nntp-use-cache): Ditto.
1093         (elmo-nntp-max-number-precedes-list-active): Ditto.
1094
1095         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
1096
1097         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
1098         `elmo-msgdb-insert-file-header'.
1099         Use `elmo-msgdb-file-header-chop-length'.
1100
1101         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
1102         `elmo-vars.el'.
1103
1104         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
1105         (elmo-cache-msgdb-create-overview-entity-from-file): Use
1106         `elmo-msgdb-insert-file-header'.
1107
1108         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
1109         Use new variable;
1110         Define obsolete variables with `elmo-define-obsolete-variable',
1111
1112         * elmo-util.el (elmo-warning-buffer-name): New constant.
1113         (elmo-warning): New function.
1114         (elmo-obsolete-variable-alist): New variable.
1115         (elmo-obsolete-variable-show-warnings): New variable.
1116         (elmo-define-obsolete-variable): New function.
1117         (elmo-resque-obsolete-variable): Ditto.
1118         (elmo-resque-obsolete-variables): Ditto.
1119
1120 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1121
1122         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
1123         Eliminated.
1124
1125         * elmo-pop3.el, elmo-nntp.el: Use custom.
1126
1127 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
1128
1129         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
1130         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
1131
1132 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1133
1134         * Luna-fy Kenichi OKADA's following changes.
1135         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
1136         `nohide'.
1137         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
1138
1139 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
1140
1141         * elmo-util.el (elmo-display-progress): Prefer
1142         `progress-feedback-with-label' to `lprogress-display'.
1143
1144 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
1145
1146         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
1147
1148 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
1149
1150         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
1151         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
1152         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
1153         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
1154         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
1155         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
1156         * elmo-archive.el (elmo-archive-list-folder): Ditto.
1157         * elmo-filter.el (elmo-filter-list-folder): Ditto.
1158         * elmo-internal.el (elmo-internal-list-folder): Ditto.
1159         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
1160         * elmo-multi.el (elmo-multi-list-folder): Ditto.
1161         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
1162         * elmo-dop.el (elmo-dop-list-folder): Ditto.
1163
1164 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
1165
1166         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
1167         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
1168
1169 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1170
1171         * elmo.el (elmo-folder-process-crosspost): New generic method.
1172         (elmo-folder-writable-p): Ditto.
1173         (elmo-folder-message-appendable-p): Eliminated.
1174         (elmo-generic-folder-append-msgdb): Rewrite.
1175         (elmo-newsgroups-hashtb): New internal variable.
1176         (elmo-crosspost-message-set): Eliminated.
1177         (elmo-crosspost-message-delete): Ditto.
1178         (elmo-setup-subscribed-newsgroups): New function.
1179         (elmo-crosspost-message-alist-modified): New internal variable.
1180         (elmo-crosspost-message-alist-load): New function (Renamed from
1181         `wl-crosspost-alist-load').
1182         (elmo-crosspost-message-alist-save): Ditto (Renamed from
1183         `wl-crosspost-alist-save').
1184
1185         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
1186
1187         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
1188         `unreads'.
1189         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
1190         elmo-newsgroups-hashtb).
1191         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
1192         `elmo-nntp-folder-update-crosspost-message-alist'.
1193         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
1194         `elmo-nntp-groups-hashtb'.
1195         (elmo-nntp-make-groups-hashtb): Eliminated.
1196         (elmo-nntp-parse-newsgroups): New function (Renamed from
1197         `wl-parse-newsgroups').
1198         (elmo-folder-creatable-p, elmo-folder-writable-p,
1199         elmo-folder-close-internal, elmo-folder-mark-as-read,
1200         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
1201         Define.
1202         (elmo-nntp-folder-update-crosspost-message-alist): New function.
1203
1204         * elmo-net.el (elmo-message-fetch): Check buffer size.
1205
1206         * elmo-multi.el (elmo-multi-split-number-alist): New function.
1207
1208         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
1209
1210         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
1211         before `close' command.
1212
1213         * elmo.el (elmo-folder-list-unreads-internal): Added argument
1214         `mark-alist' (All other related portions are changed).
1215
1216 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1217
1218         * elmo-util.el (elmo-create-hash-size): Eliminated.
1219         (elmo-make-hash) Make a hash with `one less than a power of two'
1220         length.
1221
1222         * elmo-vars.el (elmo-hash-minimum-size): New variable.
1223         (elmo-hash-maximum-size): Changed value.
1224
1225 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1226
1227         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
1228         (elmo-mime-message-display-as-is): Ditto.
1229
1230 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
1231
1232         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
1233         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
1234
1235 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
1236
1237         * elmo-mark.el: New file.
1238
1239         * elmo-internal.el: Rewrite (Almost empty).
1240
1241 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
1242
1243         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
1244         (mime-imap-entity-header-string): Ditto.
1245         (mmimap-entity-section): Rewrite.
1246
1247 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
1248
1249         * elmo-nmz.el: New file.
1250
1251         * elmo-pipe.el: Rewrite with luna.
1252
1253 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
1254
1255         * elmo-archive.el: Rewrite with luna.
1256
1257         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
1258         (elmo-folder-list-importants-internal): Ditto.
1259
1260 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1261
1262         * elmo-archive.el (elmo-archive-version): Abolish.
1263         (toplevel) Removed `boso' comment.
1264
1265 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
1266
1267         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
1268         elmo-msgdb-add-msgs-to-seen-list-subr;
1269         Changed argument seen-marks to unread-marks.
1270
1271         * elmo-nntp.el: Rewrite with luna.
1272
1273 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
1274
1275         * elmo-filter.el: Rewrite with luna.
1276
1277 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
1278
1279         * elmo-pop3.el: Rewrite with luna.
1280
1281 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
1282
1283         * elmo-multi.el: Rewrite with luna.
1284
1285         * elmo-vars.el (elmo-use-killed-list): Abolish.
1286         All other related portions are changed.
1287         (elmo-filename-replace-string-alist): Renamed from
1288         elmo-msgid-replace-string-alist.
1289
1290 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
1291
1292         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
1293
1294         * elmo-map.el: New file.
1295         * elmo-maildir.el: Rewrite with luna.
1296
1297 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
1298
1299         * elmo.el: Changed meaning of `elmo-folder-commit'.
1300         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
1301
1302 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
1303
1304         * elmo.el (elmo-folder-append-buffer): New function.
1305         (Renamed from `elmo-append-msg')
1306
1307 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
1308
1309         * elmo-mime.el: New file.
1310
1311 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
1312
1313         * elmo-cache.el: Rewrite.
1314
1315 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
1316
1317         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
1318
1319 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
1320
1321         * elmo-vars.el (elmo): New group.
1322         (elmo-strict-diff-folder-regexp): New variable.
1323
1324         * elmo-util.el (elmo-call-func): Abolish.
1325         (elmo-folder-get-type): Ditto.
1326         (elmo-*-get-spec): Ditto.
1327         (elmo-*-spec-*): Ditto.
1328         (elmo-imap4-identical-name-space-p): Ditto.
1329         (elmo-folder-identical-system-p): Ditto.
1330         (elmo-folder-direct-copy-alist): Ditto.
1331         (elmo-folder-direct-copy-p): Ditto.
1332
1333         * elmo-pipe.el (elmo-pipe-folder): New luna class.
1334         (elmo-folder-initialize): Define.
1335         (elmo-folder-get-primitive-list): Ditto.
1336
1337         * elmo-nntp.el (elmo-nntp-folder): New luna class.
1338         (elmo-folder-initialize): Define.
1339         Renamed `elmo-network-session-host-internal' to
1340         `elmo-network-session-server-internal'.
1341
1342         * elmo-multi.el (elmo-multi-folder): New luna class.
1343         (elmo-folder-initialize): Define.
1344         (elmo-folder-get-primitive-list): Ditto.
1345         (elmo-folder-contains-type): Ditto.
1346         (elmo-message-use-cache-p): Ditto.
1347
1348         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
1349         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
1350
1351         * elmo-maildir.el (elmo-maildir-folder): New luna class.
1352         (elmo-folder-initialize): Define.
1353
1354         * elmo-filter.el (elmo-filter-folder): New luna class.
1355         (elmo-folder-initialize): Define.
1356         (elmo-folder-get-primitive-list): Ditto.
1357         (elmo-folder-contains-type): Ditto.
1358
1359 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
1360
1361         * elmo-imap4.el: Rewrite with luna.
1362
1363         * mmimap.el: New file.
1364
1365         * mmelmo.el, mmelmo-imap4.el: Removed.
1366
1367         * elmo-net.el: Ditto.
1368
1369         * elmo-pop3.el (elmo-pop3-folder): New luna class.
1370         (elmo-folder-initialize): Define.
1371
1372         * elmo-archive.el (elmo-archive-folder): New luna class.
1373         (elmo-folder-initialize): Define.
1374
1375         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
1376         `elmo-folder-msgdb-path'.
1377         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
1378         `elmo-make-folder'.
1379
1380 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
1381
1382         * elmo.el: New file.
1383
1384         * elmo2.el: Renamed to elmo.el.
1385
1386 \f
1387 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
1388
1389         * elmo-cache.el (elmo-cache-expire-by-size): Count
1390         a disk usage for a cache file entry in KB even when
1391         its kind is a directory.
1392
1393 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
1394
1395         * elmo-version.el (elmo-version): Up to 2.5.7.
1396
1397 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1398
1399         * elmo-version.el (elmo-version): Up to 2.5.6.
1400
1401 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
1402
1403         * elmo-version.el (elmo-version): Up to 2.5.5.
1404
1405 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1406
1407         * elmo-imap4.el (elmo-network-authenticate-session):
1408         Fixed a logic for response checking.
1409
1410 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
1411
1412         * elmo-net.el: Add autoload settings for `starttls-negotiate',
1413         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
1414         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
1415         `sasl-mechanisms'.
1416
1417         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
1418         for `starttls-open-stream' and `starttls-negotiate'.
1419
1420         * elmo-nntp.el: Remove autoload settings for
1421         `starttls-open-stream' and `starttls-negotiate'.
1422
1423         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
1424         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
1425         `luna-define-class' with `eval-and-compile'.
1426
1427 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
1428
1429         * elmo-util.el (elmo-read-search-condition-internal):
1430         Require an element of table for searching field.
1431
1432 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
1433
1434         * elmo-version.el (elmo-version): Up to 2.5.4.
1435
1436 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
1437
1438         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
1439
1440 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
1441
1442         * elmo-nntp.el (elmo-network-initialize-session): omitted.
1443
1444 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
1445
1446         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
1447         before greeting.
1448
1449 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
1450
1451         * elmo-imap4.el (elmo-imap4-delete-folder):
1452         Send "close" before "delete" (Use commented out line).
1453         (elmo-imap4-rename-folder): Ditto.
1454
1455         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
1456         folder string itself.
1457         (elmo-dop-list-deleted): New function.
1458         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
1459         killed.
1460
1461         * elmo-util.el (elmo-string-rassoc-all): New function.
1462
1463 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
1464
1465         * elmo-version.el (elmo-version): Up to 2.5.3.
1466
1467         * elmo-net.el (elmo-network-get-session): Changed logic for
1468         checking process status.
1469
1470         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
1471         process is nil;
1472         Changed logic for checking process status.
1473
1474 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
1475
1476         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
1477         before greeting.
1478         (elmo-network-setup-session): Set UIDL hash size according to
1479         the length of list response.
1480         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
1481         according to the length of list response;
1482         Return the length of list response.
1483         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
1484
1485 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
1486
1487         * elmo-imap4.el (toplevel): Require 'ssl.
1488         Add autoload 'starttls.
1489         * elmo-pop3.el (toplevel): Ditto.
1490         * elmo-nntp.el (toplevel): Ditto.
1491
1492 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1493
1494         * elmo-imap4.el (toplevel): defun at compile time.
1495         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
1496         sasl-next-step, sasl-step-data, sasl-step-set-data.
1497         * elmo-pop3.el (toplevel): Ditto.
1498
1499 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1500
1501         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
1502
1503 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1504
1505         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
1506         if error.
1507         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
1508         and `elmo-pop-auth-apop'.
1509
1510 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1511
1512         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
1513
1514 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1515
1516         * elmo-pop3.el (elmo-network-authenticate-session): Split
1517         encoded response value.
1518
1519 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1520
1521         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
1522         `elmo-pop3-force-login'.
1523         Redefine `sasl-mechanisms'.
1524         * elmo-vars.el (elmo-pop3-force-login): Ditto.
1525
1526 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1527
1528         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
1529         Delete `elmo-imap4-authenticator-alist'.
1530         (elmo-imap4-auth-cram-md5): Delete.
1531         (elmo-imap4-auth-digest-md5): Delete.
1532
1533 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1534
1535         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
1536         (elmo-pop3-auth-scram-md5): Ditto.
1537         (elmo-pop3-auth-cram-md5): Ditto.
1538
1539 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
1540
1541         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
1542         Delete `elmo-pop3-authenticator-alist'.
1543
1544 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
1545
1546         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
1547         new SASL API.
1548         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
1549
1550 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
1551
1552         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
1553
1554 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
1555
1556         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
1557         Fixed problem when `elmo-pop3-use-uidl' is nil.
1558         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
1559
1560 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
1561
1562         * elmo-version.el (elmo-version): Up to 2.5.2.
1563
1564 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
1565
1566         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
1567         New function.
1568         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
1569         (elmo-pop3-msgdb-create-as-numlist): Use it.
1570
1571         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
1572         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
1573
1574         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
1575         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
1576
1577 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1578
1579         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
1580         when elmo-mark-as-read is called with second argument nil.
1581
1582 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
1583
1584         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
1585         Moved to elmo-util.el.
1586
1587         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
1588         Moved from elmo-pipe.el
1589
1590         * elmo-archive.el (elmo-archive-call-process): Enclose with
1591         static-if.
1592
1593         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
1594         "RFC822" (because RFC822.PEEK is obsolete).
1595         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
1596
1597 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
1598
1599         * elmo-archive.el (elmo-archive-call-process): Don't check for
1600         the exit status when Nemacs is running.
1601
1602 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
1603
1604         * elmo-net.el (elmo-network-session-password-key): Don't set default to
1605         'plain.
1606
1607         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
1608         (elmo-pop3-get-spec): Set default of auth to 'user.
1609
1610         * elmo-imap4.el (elmo-imap4-session-check):
1611         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
1612         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
1613         (elmo-imap4-auth-login): New function; Revival.
1614         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
1615         `elmo-imap4-auth-login'.
1616
1617 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1618
1619         * elmo2.el (toplevel): Move `product-provide' declare.
1620         * mmelmo.el (toplevel): Ditto.
1621
1622 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
1623
1624         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
1625
1626 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
1627
1628         * elmo-util.el (elmo-folder-get-store-type): New function.
1629         (elmo-folder-direct-copy-p): Use it.
1630
1631 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
1632
1633         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
1634         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
1635         and result of `elmo-imap4-use-flag-p'.
1636         (elmo-imap4-fetch-callback-1): Set mark according to
1637         the result of `elmo-imap4-use-flag-p'.
1638
1639 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1640
1641         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
1642         (elmo-generic-list-folder-unread): Ditto.
1643         (elmo-folder-get-info): Ditto.
1644         (elmo-folder-set-info-max-by-numdb): Ditto.
1645         (elmo-folder-get-info-max): Ditto.
1646         (elmo-folder-get-info-length): Ditto.
1647         (elmo-folder-get-info-unread): Ditto.
1648         (elmo-folder-info-make-hashtb): Ditto.
1649
1650         * elmo2.el: Removed above functions.
1651
1652 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
1653
1654         * elmo-imap4.el (toplevel): Require 'ssl.
1655         Add autoload 'starttls.
1656         * elmo-pop3.el (toplevel): Ditto.
1657         * elmo-nntp.el (toplevel): Ditto.
1658
1659 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1660
1661         * elmo-imap4.el (toplevel): defun at compile time.
1662         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
1663         sasl-next-step, sasl-step-data, sasl-step-set-data.
1664         * elmo-pop3.el (toplevel): Ditto.
1665
1666 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1667
1668         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
1669
1670 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1671
1672         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
1673         if error.
1674         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
1675         and `elmo-pop-auth-apop'.
1676
1677 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1678
1679         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
1680
1681 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1682
1683         * elmo-pop3.el (elmo-network-authenticate-session): Split
1684         encoded response value.
1685
1686 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1687
1688         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
1689         `elmo-pop3-force-login'.
1690         Redefine `sasl-mechanisms'.
1691         * elmo-vars.el (elmo-pop3-force-login): Ditto.
1692
1693 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1694
1695         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
1696         Delete `elmo-imap4-authenticator-alist'.
1697         (elmo-imap4-auth-cram-md5): Delete.
1698         (elmo-imap4-auth-digest-md5): Delete.
1699
1700 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
1701
1702         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
1703         (elmo-pop3-auth-scram-md5): Ditto.
1704         (elmo-pop3-auth-cram-md5): Ditto.
1705
1706 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
1707
1708         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
1709         Delete `elmo-pop3-authenticator-alist'.
1710
1711 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
1712
1713         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
1714         new SASL API.
1715         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
1716
1717 \f
1718 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
1719
1720         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
1721
1722 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
1723
1724         * elmo-nntp.el (elmo-nntp-get-folders-info):
1725         Fixed problem when '\' character is contained in user-id.
1726         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
1727
1728 \f
1729 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
1730
1731         * elmo-imap4.el (elmo-imap4-delete-folder):
1732         Send "close" before "delete" (Use commented out line).
1733         (elmo-imap4-rename-folder): Ditto.
1734
1735         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
1736         folder string itself.
1737         (elmo-dop-list-deleted): New function.
1738         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
1739         killed.
1740
1741         * elmo-util.el (elmo-string-rassoc-all): New function.
1742
1743         * elmo-version.el (elmo-version): Up to 2.5.1.
1744
1745 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
1748
1749         * elmo-internal.el (elmo-internal-search): Fix last change.
1750
1751 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
1752
1753         * elmo-internal.el (elmo-internal-search): Rewrite.
1754         (Fixed problem which is pointed out by Akihiro MOTOKI
1755         <motoki@da.jp.nec.com>)
1756
1757         * elmo-version.el (elmo-version): Up to 2.5.0.
1758
1759 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
1760
1761         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
1762
1763 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
1764
1765         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
1766         non-nil, make hierarchy.
1767
1768 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
1769
1770         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
1771         `elmo-pop3-use-uidl' must be bound to nil.
1772         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
1773
1774 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
1775
1776         * elmo-util.el (elmo-copy-file): Don't cause an error after
1777         `add-name-to-file' failed.
1778
1779         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
1780         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
1781
1782 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1783
1784         * elmo-version.el (elmo-version): Up to 2.3.93.
1785
1786 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
1787
1788         * elmo-util.el (elmo-flatten): New function.
1789
1790 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1791
1792         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
1793         sync Author header.
1794         * elmo-cache.el (toplevel): Ditto.
1795         * elmo-database.el (toplevel): Ditto.
1796         * elmo-date.el (toplevel): Ditto.
1797         * elmo-dop.el (toplevel): Ditto.
1798         * elmo-filter.el (toplevel): Ditto.
1799         * elmo-imap4.el (toplevel): Ditto.
1800         * elmo-internal.el (toplevel): Ditto.
1801         * elmo-localdir.el (toplevel): Ditto.
1802         * elmo-localnews.el (toplevel): Ditto.
1803         * elmo-maildir.el (toplevel): Ditto.
1804         * elmo-msgdb.el (toplevel): Ditto.
1805         * elmo-multi.el (toplevel): Ditto.
1806         * elmo-net.el (toplevel): Ditto.
1807         * elmo-nntp.el (toplevel): Ditto.
1808         * elmo-pipe.el (toplevel): Ditto.
1809         * elmo-pop3.el (toplevel): Ditto.
1810         * elmo-util.el (toplevel): Ditto.
1811         * elmo-vars.el (toplevel): Ditto.
1812         * elmo2.el (toplevel): Ditto.
1813         * mmelmo-imap4.el (toplevel): Ditto.
1814         * mmelmo.el (toplevel): Ditto.
1815
1816         * elmo-version.el (elmo-version): Move to top.
1817
1818         * elmo-cache.el (toplevel): Fixed multiple Author header format.
1819         * elmo-imap4.el (toplevel): Ditto.
1820         * elmo-localdir.el (toplevel): Ditto.
1821         * elmo-msgdb.el (toplevel): Ditto.
1822         * elmo-nntp.el (toplevel): Ditto.
1823         * elmo-pop3.el (toplevel): Ditto.
1824         * elmo-version.el (toplevel): Ditto.
1825
1826         * elmo-localnews.el (toplevel): Added Keyword header.
1827
1828 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
1829
1830         * elmo-version.el (product-version-as-string): Defined using
1831         `defun-maybe'.
1832         (toplevel): Use it.
1833
1834         * elmo-localdir.el (toplevel): Updated copyright notice.
1835         * elmo-version.el (toplevel): Ditto.
1836         * elmo-msgdb.el (toplevel): Ditto.
1837         * elmo-imap4.el (toplevel): Ditto.
1838         * elmo-nntp.el (toplevel): Ditto.
1839         * elmo-pop3.el (toplevel): Ditto.
1840
1841 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
1842
1843         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
1844         messages.
1845
1846         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
1847         parameter value (It sometimes contains raw kanji).
1848
1849 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
1850
1851         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
1852         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
1853
1854 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
1855
1856         * elmo-imap4.el (elmo-network-initialize-session): Fix.
1857
1858 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
1859
1860         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
1861         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
1862
1863 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
1864
1865         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
1866         value if selecting folder succceeded.
1867         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
1868
1869 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1870
1871         * elmo-util.el (elmo-make-directory): Fixed permission lateral
1872         representation.
1873
1874         * elmo-util.el (elmo-string-matched-member): New function.
1875
1876 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
1877
1878         * elmo-util.el (elmo-unintern): New macro.
1879         (elmo-number-set-member): Fixed docstring.
1880
1881         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
1882         tag token.
1883
1884 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
1885
1886         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
1887         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
1888
1889 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
1890
1891         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
1892         `no-error'.
1893         Added docstring.
1894         Return non-nil if selecting folder succeeded.
1895         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
1896
1897 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
1898
1899         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
1900         `file-name-completion' returns t.
1901         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
1902         (elmo-maildir-set-mark): Put `info' part to the files in the cur
1903         directory if it does not exist.
1904         (elmo-maildir-update-current): Use `while' instead of `mapcar'
1905         for iteration.
1906
1907 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
1908
1909         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
1910         enclosure (It's harmful in unplugged status).
1911
1912         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
1913
1914         * mmelmo-1.el: Removed.
1915
1916         * mmelmo-2.el: Ditto.
1917
1918         * mmelmo-imap4-1.el: Ditto.
1919
1920         * mmelmo-imap4-2.el: Ditto.
1921
1922         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
1923
1924         * mmelmo.el: Merged mmelmo-2.el.
1925
1926         * elmo-version.el (elmo-version): Up to 2.3.92.
1927
1928 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1929
1930         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
1931         elmo-update-number): Remove last period in "...done." message.
1932         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1933         Ditto.
1934         * elmo-cache.el (elmo-cache-expire-by-size,
1935         elmo-cache-get-sorted-cache-file-list,
1936         elmo-cache-msgdb-create-as-numlist): Ditto.
1937         * elmo-dop.el (elmo-dop-save-pending-messages,
1938         (elmo-dop-flush-pending-append-operations): Ditto.
1939         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
1940         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
1941         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
1942         (elmo-localdir-pack-number): Ditto.
1943         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
1944         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
1945         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
1946         mime-write-entity-content): Ditto.
1947         * pldap.el (ldap-search-basic): Ditto.
1948
1949 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
1950
1951         * elmo-version.el (elmo-version): Up to 2.3.91.
1952
1953         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
1954         Only when filter is 'last'.
1955
1956         * elmo-util.el (elmo-condition-atom-regexp): New constant.
1957         (elmo-condition-parse-search-value): Use it.
1958         (elmo-read-search-condition-internal): Quote value only when
1959         it is not an atom.
1960
1961 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
1962
1963         * elmo2.el (elmo-generic-folder-diff): Fix.
1964
1965 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
1966
1967         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
1968         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
1969         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
1970         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
1971         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
1972         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
1973
1974 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
1975
1976         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
1977         extra-fields.
1978
1979 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
1980
1981         * elmo-version.el (elmo-version): Up to 2.3.90.
1982
1983         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
1984         (elmo-imap4-list-folder-important): Ditto.
1985
1986 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
1987
1988         * elmo-nntp.el (elmo-network-initialize-session): Fix.
1989
1990 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
1991
1992         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
1993
1994 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
1995
1996         * elmo-nntp.el (elmo-network-initialize-session):
1997         Add starttls negotiation.
1998
1999 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
2000
2001         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
2002         response.
2003         (elmo-network-setup-session): Define.
2004         Call `elmo-nntp-send-mode-reader' when session opened.
2005
2006 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
2007
2008         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
2009
2010 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
2011
2012         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
2013         an invalid SPACE character ahead of `SEARCH' command.  Move
2014         a valid SPACE character following `SEARCH' from conditional
2015         `format' arguments to control-strings.
2016
2017 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
2018
2019         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
2020         was succeeded.
2021
2022         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
2023
2024 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
2025
2026         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
2027         `w32-get-true-file-link-count' as t.
2028
2029         * elmo-imap4.el (elmo-imap4-read): Abolished.
2030         (Renamed to `elmo-read' and moved to elmo-util.el)
2031         All other related portions are changed.
2032
2033         * elmo-util.el (elmo-read): New function.
2034         (elmo-condition-parse-search-value): Use it.
2035
2036 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
2037
2038         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
2039
2040         * elmo-nntp.el (elmo-nntp-session): Define.
2041         (elmo-nntp-setting): Abolished.
2042         All other related portions are changed.
2043         (elmo-nntp-get-server-command): Changed argument.
2044         (elmo-nntp-set-server-command): Ditto.
2045         (elmo-nntp-xover-p): Ditto.
2046         (elmo-nntp-set-xover): Ditto.
2047         (elmo-nntp-listgroup-p): Ditto.
2048         (elmo-nntp-set-listgroup): Ditto.
2049         (elmo-nntp-list-active-p): Ditto.
2050         (elmo-nntp-set-list-active): Ditto.
2051         (elmo-nntp-xhdr-p): Ditto.
2052         (elmo-nntp-set-xhdr): Ditto.
2053         (elmo-nntp-flush-connection): Abolished.
2054         (elmo-nntp-get-connection): Abolished.
2055         (elmo-nntp-get-session): New function.
2056         (elmo-network-initialize-session): Defined.
2057         (elmo-network-authenticate-session): Ditto.
2058         (elmo-nntp-send-mode-reader): Changed argument.
2059         (elmo-nntp-send-command): Changed argument.
2060         All other related portions are changed.
2061         (elmo-nntp-read-response): Ditto.
2062         (elmo-nntp-read-raw-response): Ditto.
2063         (elmo-nntp-read-contents): Ditto.
2064         (elmo-nntp-read-body): Ditto.
2065         (elmo-nntp-goto-folder): Abolished.
2066         (elmo-nntp-select-group): New function.
2067         All other related portions are changed.
2068         (This function substitutes `elmo-nntp-goto-folder')
2069         (elmo-nntp-msgdb-create-by-header): Rewrite.
2070         (elmo-nntp-get-overview): Eliminated.
2071         (elmo-nntp-get-message): Ditto.
2072         (elmo-nntp-open-connection) Abolished.
2073         (elmo-nntp-read-msg): Rewrite.
2074         (elmo-nntp-post): Ditto.
2075         (elmo-nntp-send-data): Abolished.
2076         (elmo-nntp-send-buffer): New function.
2077         (elmo-nntp-send-data-line): Define as inline function.
2078         (elmo-nntp-get-folders-info-prepare): Use session as key.
2079         (elmo-nntp-groups-read-response): Changed argument.
2080         (elmo-nntp-retrieve-headers): Ditto.
2081         (elmo-nntp-msgdb-create-message): Ditto.
2082
2083         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
2084         when searching by 'since' or 'before'.
2085
2086 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2087
2088         * elmo-version.el (toplevel): Use product-version-as-string for set
2089         verstion-string, if defined.
2090
2091 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
2092
2093         * elmo-util.el: Doc fixes.
2094
2095 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2096
2097         * elmo-archive.el (toplevel): Use product-provide.
2098         * elmo-cache.el (toplevel): Ditto.
2099         * elmo-database.el (toplevel): Ditto.
2100         * elmo-date.el (toplevel): Ditto.
2101         * elmo-dop.el (toplevel): Ditto.
2102         * elmo-filter.el (toplevel): Ditto.
2103         * elmo-imap4.el (toplevel): Ditto.
2104         * elmo-internal.el (toplevel): Ditto.
2105         * elmo-localdir.el (toplevel): Ditto.
2106         * elmo-localnews.el (toplevel): Ditto.
2107         * elmo-maildir.el (toplevel): Ditto.
2108         * elmo-msgdb.el (toplevel): Ditto.
2109         * elmo-multi.el (toplevel): Ditto.
2110         * elmo-net.el (toplevel): Ditto.
2111         * elmo-nntp.el (toplevel): Ditto.
2112         * elmo-pipe.el (toplevel): Ditto.
2113         * elmo-pop3.el (toplevel): Ditto.
2114         * elmo-util.el (toplevel): Ditto.
2115         * elmo-vars.el (toplevel): Ditto.
2116         * elmo2.el (toplevel): Ditto.
2117         * mmelmo-1.el (toplevel): Ditto.
2118         * mmelmo-2.el (toplevel): Ditto.
2119         * mmelmo-imap4-1.el (toplevel): Ditto.
2120         * mmelmo-imap4-2.el (toplevel): Ditto.
2121         * mmelmo-imap4.el (toplevel): Ditto.
2122         * mmelmo.el (toplevel): Ditto.
2123
2124 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
2125
2126         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
2127         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
2128
2129 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2130
2131         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
2132         before splitting.
2133         (elmo-multi-split-number-alist): Ditto.
2134
2135 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2136
2137         * elmo-version.el: New file.  Use product.el.
2138         * elmo2.el: Add (require 'elmo-version).
2139         * elmo-vars.el (elmo-appname, elmo-version): Move to
2140         elmo-version.el
2141
2142 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
2143
2144         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
2145         `elmo-msgdb-expand-path'.
2146         (elmo-msgdb-load): Ditto.
2147         Abolished 2nd argument. If 1st argument is not string, treat as spec.
2148         (elmo-generic-list-folder-unread): Rewrite.
2149         (elmo-generic-list-folder-important): Changed argument.
2150         (elmo-list-folder-unread): Ditto.
2151         (elmo-list-folder-important): Ditto.
2152         (elmo-folder-diff): Rewrite.
2153         (elmo-generic-folder-diff): New function.
2154         (elmo-multi-get-number-alist-list): Abolished
2155         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
2156         (elmo-multi-folder-diff): Moved to elmo-multi.el
2157         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
2158
2159         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
2160         `elmo-msgdb-expand-path'.
2161         (elmo-pop3-msgdb-create-as-numlist): Ditto.
2162         (elmo-pop3-read-msg): Ditto.
2163         (elmo-pop3-delete-msgs): Ditto.
2164         (elmo-pop3-folder-diff): New alias.
2165
2166         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
2167         `elmo-msgdb-expand-path'.
2168         (elmo-pipe-list-folder-unread): Changed arguments.
2169         (elmo-pipe-list-folder-important): Ditto.
2170         (elmo-pipe-folder-diff): New alias.
2171
2172         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
2173         `elmo-msgdb-expand-path'.
2174         (elmo-nntp-max-of-folder): Ditto.
2175         (elmo-nntp-msgdb-create): Ditto.
2176         (elmo-nntp-delete-msgs): Ditto.
2177         (elmo-nntp-folder-diff): New alias.
2178
2179         * elmo-multi.el (elmo-multi-folder-diff): New function.
2180         (elmo-multi-split-mark-alist): Ditto.
2181         (elmo-multi-split-number-alist): Ditto.
2182         (elmo-multi-mark-alist-list): Abolished (Renamed to
2183         elmo-multi-split-mark-alist).
2184         (elmo-multi-list-folder-unread): Rewrite.
2185         (elmo-multi-list-folder-important): Ditto.
2186         (elmo-multi-list-folder): Set `spec' as 1st argument for
2187         `elmo-msgdb-expand-path'.
2188         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
2189         instead of `elmo-multi-get-number-alist-list'.
2190
2191         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
2192         If 1st argument is not string, treat as spec.
2193         (elmo-list-folder-by-location): Set `spec' as 1st argument for
2194         `elmo-msgdb-expand-path'.
2195         (elmo-msgdb-flist-load): Ditto.
2196         (elmo-msgdb-flist-save): Ditto.
2197         (elmo-msgdb-delete-path): Ditto.
2198         (elmo-msgdb-rename-path): Ditto.
2199
2200         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
2201         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
2202         (elmo-maildir-delete-mark-msgs): Ditto.
2203         (elmo-maildir-msgdb-create): Ditto.
2204         (elmo-maildir-read-msg): Ditto.
2205         (elmo-maildir-delete-msgs): Ditto.
2206         (elmo-maildir-list-folder-subr): Ditto.
2207         (elmo-maildir-search): Ditto.
2208         (elmo-maildir-get-msg-filename): Ditto.
2209         (elmo-maildir-pack-number): Ditto.
2210         (elmo-maildir-folder-diff): New alias.
2211
2212         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
2213
2214         * elmo-localdir.el (elmo-localdir-list-folder-subr):
2215         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
2216         (elmo-localdir-folder-diff): New alias.
2217
2218         * elmo-internal.el (elmo-internal-list-folder-subr):
2219         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
2220         (elmo-internal-list-folder-by-location): Ditto.
2221         (elmo-internal-msgdb-create): Ditto.
2222         (elmo-internal-delete-msgs): Ditto.
2223         (elmo-internal-read-msg): Ditto.
2224         (elmo-internal-folder-diff): New alias.
2225
2226         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
2227         (elmo-imap4-list-folder): Set `spec' as 1st argument for
2228         `elmo-msgdb-expand-path'.
2229         (elmo-imap4-list-folder-unread): Changed arguments.
2230         (elmo-imap4-list-folder-important): Ditto.
2231
2232         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
2233         (elmo-filter-list-folder-important): Ditto.
2234         (elmo-filter-folder-diff): New function.
2235
2236         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
2237
2238         * elmo-cache.el (elmo-cache-list-folder):
2239         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
2240         (elmo-cache-copy-msgs): Ditto.
2241         (elmo-cache-folder-diff): New alias.
2242
2243         * elmo-archive.el (elmo-archive-list-folder-subr):
2244         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
2245         (elmo-archive-get-archive-name): Ditto.
2246         (elmo-archive-create-file): Ditto.
2247         (elmo-archive-append-msg): Ditto.
2248         (elmo-archive-copy-msgs): Ditto.
2249         (elmo-archive-copy-msgs-froms): Ditto.
2250         (elmo-archive-get-msg-filename): Ditto.
2251         (elmo-archive-folder-diff): New alias.
2252
2253 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
2254
2255         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
2256         (elmo-pop3-stream-type-alist): New variable.
2257         (elmo-nntp-stream-type-alist): New variable.
2258
2259         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
2260         (elmo-kill-buffer): Ditto.
2261         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
2262         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
2263         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
2264         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
2265         (elmo-imap4-get-spec): Take into account
2266         `elmo-imap4-stream-type-alist'.
2267
2268 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
2269
2270         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
2271         (elmo-nntp-list-folders-get-cache): Ditto.
2272
2273 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2274
2275         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
2276         character before 'uid'.
2277
2278 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2279
2280         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
2281
2282         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
2283
2284         * elmo-util.el (elmo-number-set-member): New function.
2285         (elmo-number-set-append-list): Ditto.
2286         (elmo-number-set-append): Ditto.
2287
2288         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
2289         Use `elmo-number-set-member'.
2290         (elmo-living-messages): Ditto.
2291         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
2292         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
2293
2294         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
2295         (elmo-imap4-add-to-cont-list): Abolished.
2296         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
2297         instead of elmo-imap4-add-to-cont-list.
2298
2299         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
2300         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
2301
2302         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
2303
2304 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
2305
2306         * elmo-util.el (elmo-condition-parse-search-value):
2307         Fixed date parsing.
2308
2309 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2310
2311         * elmo-util.el (elmo-condition-find-key-internal): New function.
2312         (elmo-condition-find-key): Ditto.
2313
2314         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
2315         (elmo-msgdb-search-internal): Ditto.
2316         (elmo-msgdb-search): Ditto.
2317
2318 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
2319
2320         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
2321         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
2322
2323         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
2324         (elmo-nntp-search-primitive): Fixed problem when condition is
2325         'unmatch'.
2326
2327         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
2328
2329         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
2330         (elmo-nntp-xhdr-p): New macro.
2331         (elmo-nntp-set-xhdr): Ditto.
2332         (elmo-nntp-parse-xhdr-response): New function.
2333         (elmo-nntp-retrieve-field): Ditto.
2334         (elmo-nntp-search-primitive): Ditto.
2335         (elmo-nntp-search): Implemented.
2336
2337         * elmo-date.el (elmo-date-make-sortable-string): New macro.
2338
2339         * elmo-archive.el (elmo-archive-search): Set all number list to
2340         `elmo-archive-field-condition-match'
2341
2342         * elmo-localdir.el (elmo-localdir-search): Likewise.
2343
2344         * elmo-maildir.el (elmo-maildir-search): Likewise.
2345
2346 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
2347
2348         * elmo-msgdb.el (elmo-living-messages): New function.
2349         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
2350         * elmo-cache.el (elmo-cache-list-folder): Ditto.
2351         * elmo-dop.el (elmo-dop-list-folder): Ditto.
2352         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
2353         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
2354         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
2355         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
2356         * elmo-multi.el (elmo-multi-list-folder): Ditto.
2357         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
2358         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
2359         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
2360
2361 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2362
2363         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
2364
2365         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
2366
2367         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
2368
2369         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
2370         arguments for `SEARCH' command.
2371         (elmo-imap4-parse-string): Set `POS' argument for char-after.
2372         All other related portions are changed.
2373
2374         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
2375
2376         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
2377         (elmo-list-folder-unread): Rewrite.
2378         (elmo-list-folder-important): Ditto.
2379
2380         * elmo-util.el (elmo-filter-get-spec): Rewrite.
2381         (elmo-condition-parse-error): New inline function.
2382         (elmo-read-search-condition): New function.
2383         (elmo-read-search-condition-internal): Ditto.
2384         (elmo-parse-search-condition): Rewrite.
2385         (elmo-condition-parse): New function.
2386         (elmo-condition-parse-or-expr): Ditto.
2387         (elmo-condition-parse-and-expr): Ditto.
2388         (elmo-condition-parse-primitive): Ditto.
2389         (elmo-condition-parse-search-value): Ditto.
2390         (elmo-buffer-field-primitive-condition-match): Ditto.
2391         (elmo-buffer-field-condition-match): Rewrite.
2392         (elmo-file-field-condition-match): Ditto.
2393
2394         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
2395         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
2396
2397         * elmo-internal.el (elmo-internal-search): Set `number' and
2398         `number-list' argument of `elmo-file-field-condition-match'.
2399
2400         * elmo-maildir.el (elmo-maildir-search): Ditto.
2401
2402         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
2403         `msgdb' as argument instead of `mark-alist'.
2404         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
2405         `overview'.
2406
2407         * elmo-multi.el: Likewise.
2408
2409         * elmo-pipe.el: Likewise.
2410
2411         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
2412         (elmo-imap4-search-internal): Rewrite.
2413         (elmo-imap4-search): Ditto.
2414
2415         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
2416         (elmo-filter-list-folder-unread): Ditto.
2417         (elmo-filter-list-folder-important): Ditto.
2418         (elmo-filter-search): Rewrite.
2419
2420         * elmo-cache.el (elmo-cache-search-all): Set `number' and
2421         `number-list' argument of `elmo-file-field-condition-match'.
2422         (elmo-cache-search): Ditto.
2423
2424         * elmo-localdir.el: Likewise.
2425
2426         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
2427         number-list and pass it to `elmo-buffer-field-condition-match'.
2428         (elmo-archive-field-condition-match): Pass `number-list' to
2429         `elmo-archive-field-condition-match'
2430
2431 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2432
2433         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
2434         `listgroup'.
2435
2436         * elmo2.el (elmo-folder-diff-async-callback): New variable.
2437         (elmo-folder-diff-async-callback-data): Ditto.
2438         (elmo-folder-diff-async): New function.
2439
2440         * elmo-net.el (elmo-network-session-name-prefix): New variable.
2441         (elmo-network-session-cache-key): Use it as a prefix of the session
2442         name.
2443         (elmo-network-open-session): Ditto.
2444
2445         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
2446         (elmo-imap4-status-callback-data): Ditto.
2447         (elmo-imap4-server-diff-async-callback): New variable.
2448         (elmo-imap4-server-diff-async-callback-data): Ditto.
2449         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
2450         `elmo-imap4-status-callback-data'.
2451         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
2452         `elmo-imap4-status-callback-data' as nil.
2453         (elmo-imap4-server-diff): Ditto.
2454         (elmo-imap4-server-diff-async-callback-1): New function.
2455         (elmo-imap4-server-diff-async): Ditto.
2456         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
2457
2458 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
2459
2460         * elmo-util.el (elmo-list-delete): Doc fix.
2461         (elmo-delete-lists): Abolish.
2462         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
2463         instead of `elmo-delete-lists'.
2464
2465 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2466
2467         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
2468         before `sort'.
2469
2470 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
2471
2472         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
2473         `elmo-imap4-literal-subr'.
2474         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
2475         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
2476
2477 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
2478
2479         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
2480         (elmo-archive-list-folder): Fix.
2481         (elmo-archive-max-of-folder): Fix.
2482
2483 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
2484
2485         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
2486          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
2487         (elmo-localdir-append-msg): Ditto.
2488         (elmo-localdir-list-folder): Fix for `nonsort'.
2489         (elmo-localdir-list-folder-subr): Fix for `killed'.
2490         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
2491         (elmo-maildir-list-folder-subr): Ditto.
2492         * elmo-archive.el (elmo-archive-list-folder): Ditto.
2493         (elmo-archive-list-folder-subr): Ditto.
2494         * elmo-internal.el (elmo-internal-list-folder): Ditto.
2495         (elmo-internal-list-folder-subr): Ditto.
2496
2497 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
2498
2499         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
2500
2501 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
2502
2503         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
2504
2505 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
2506
2507         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
2508         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
2509
2510         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
2511         before greeting.
2512         (elmo-imap4-read-part): Use "body.peek" to fetch part.
2513         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
2514
2515 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
2516
2517         * mmelmo-imap4-2.el (mime-entity-children): Defined.
2518
2519         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
2520         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
2521         before STORE command.
2522
2523 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
2524
2525         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
2526
2527         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
2528         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
2529         of `response'.
2530         (elmo-imap4-list-folders): Removed unused local variable.
2531         (elmo-network-initialize-session): Ditto.
2532         (elmo-imap4-delete-msg-by-id): Ditto.
2533         (elmo-imap4-parse-fetch): Ditto.
2534         (elmo-imap4-copy-msgs): Ditto.
2535         Use `dst-spec' instead of `dst-folder'.
2536         (elmo-network-authenticate-session): Check authenticate type `plain'.
2537
2538 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
2539
2540         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
2541         garbage checking.
2542         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
2543         `elmo-imap4-response-value'.
2544         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
2545
2546 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2547
2548         * elmo-imap4.el (elmo-imap4-send-command):
2549         Cause elmo-imap4-bye-error when current response is BYE.
2550         (elmo-imap4-arrival-filter): Changed greeting response value.
2551
2552         * elmo2.el (elmo-imap4-bye-error): Define.
2553
2554         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
2555         (elmo-imap4-server-diff): Ditto.
2556         (elmo-imap4-response-bye-p): New macro.
2557         (elmo-imap4-response-error-text): Get text from BYE response.
2558         (elmo-imap4-read-response): Return if BYE response.
2559         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
2560         (elmo-imap4-folder-exists-p): Ditto.
2561         (elmo-imap4-commit): Do nothing when different mailbox is selected.
2562         (elmo-imap4-parse-bye): New function.
2563         (elmo-imap4-parse-response): Remove needless let.
2564         Call `elmo-imap4-parse-bye'.
2565
2566 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
2567
2568         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
2569         the mailbox does not exist.
2570         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
2571
2572 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
2573
2574         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
2575
2576 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
2577
2578         * elmo-vars.el (elmo-search-mime-charset): Abolished.
2579
2580         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
2581         (elmo-network-initialize-session-buffer): Defined.
2582
2583         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
2584         Abolished.
2585         (mmelmo-imap4-get-mime-entity): Rewrite.
2586
2587         * elmo2.el (elmo-error): Capitalize error message.
2588
2589         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
2590         (elmo-network-session-buffer): New macro.
2591         (elmo-network-open-session): Use it.
2592
2593         * elmo-imap4.el: Rewrite.
2594
2595 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2596
2597         * elmo-nntp.el (Toplevel): Require 'elmo-net.
2598
2599 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
2600
2601         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
2602         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
2603         (elmo-imap4-create-msgdb-from-overview-string): Use
2604         `elmo-msgdb-create-overview-from-buffer'.
2605
2606 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
2607
2608         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
2609         (elmo-imap4-default-hierarchy-delimiter): New variable.
2610         (elmo-imap4-list-folders): Use it.
2611
2612 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
2613
2614         * elmo-net.el (elmo-network-open-session): Add user and
2615         stream-type for process-buffer name.
2616
2617         * elmo-pop3.el (elmo-network-initialize-session): Call
2618         buffer-disable-undo.
2619
2620         * elmo-imap4.el (elmo-network-initialize-session):
2621         Set current-buffer as an argument for `buffer-disable-undo'.
2622
2623         * elmo-pop3.el (elmo-network-close-session): Don't use
2624         `process-live-p'.
2625
2626         * elmo-vars.el (elmo-default-pop3-authenticate-type):
2627         Set default as 'user.
2628
2629         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
2630
2631         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
2632         and `elmo-imap4-flush-connection'.
2633
2634         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
2635         (elmo-pop3-get-spec): Assume auth as symbol.
2636         (elmo-open-network-stream): Moved to `elmo-net'.
2637
2638         * elmo-pop3.el (toplevel): Require 'elmo-net.
2639         Define `sasl-cram-md5' to silence byte compilier.
2640         (elmo-pop3-connection-cache) Abolished.
2641         (elmo-pop3-authenticator-alist) New variable.
2642         (elmo-pop3-session): Define.
2643         (elmo-pop3-connection-get-process): Abolished.
2644         (elmo-pop3-connection-get-buffer): Ditto.
2645         (elmo-pop3-close-connection): Ditto.
2646         (elmo-pop3-flush-connection): Ditto.
2647         (elmo-pop3-get-connection): Ditto.
2648         (elmo-pop3-get-session): New function.
2649         (Replacement for `elmo-pop3-get-connection').
2650         All other related modules are changed.
2651         (elmo-network-close-session): Define.
2652         (elmo-pop3-send-command): Abolished argument `buffer'.
2653         All other related modules are changed.
2654         (elmo-pop3-read-response): Likewise.
2655         (elmo-pop3-open-connection): Abolished.
2656         (elmo-pop3-auth-user): New function.
2657         (elmo-pop3-auth-apop): Ditto.
2658         (elmo-pop3-auth-cram-md5): Ditto.
2659         (elmo-pop3-auth-scram-md5): Ditto.
2660         (elmo-pop3-auth-digest-md5): Ditto.
2661         (elmo-network-initialize-session): Define.
2662         (elmo-network-authenticate-session): Ditto.
2663         (elmo-network-setup-session): Ditto.
2664
2665         * elmo-imap4.el (toplevel): Require 'elmo-net.
2666         (elmo-imap4-session): Define.
2667         (elmo-imap4-connection-cache): Abolished.
2668         (elmo-imap4-password-key): Ditto.
2669         (elmo-imap4-flush-connection): Ditto.
2670         (elmo-imap4-get-connection): Ditto.
2671         All other related modules are changed.
2672         (elmo-imap4-get-session): New function
2673         (Replacement for `elmo-imap4-get-connection').
2674         (elmo-imap4-read-response): Abolished argument `buffer'.
2675         All other related modules are changed.
2676         (elmo-imap4-send-command): Likewise.
2677         (elmo-imap4-select-folder): Abolished.
2678         All other related modules are changed.
2679         (elmo-imap4-select-mailbox): New function.
2680         (Replacement for `elmo-imap4-select-folder').
2681         (elmo-imap4-auth-login): Simplify.
2682         (Assume current buffer as process buffer)
2683         (elmo-imap4-auth-cram-md5): Ditto.
2684         (elmo-imap4-auth-digest-md5): Ditto.
2685         (elmo-imap4-login): Ditto.
2686         (elmo-imap4-open-connection): Abolished.
2687         (elmo-imap4-open-connection-1): Abolished.
2688         (elmo-network-initialize-sessoin): Define.
2689         (elmo-network-authenticate-session): Ditto.
2690         (elmo-network-setup-session): Ditto.
2691
2692         * elmo-net.el: New module.
2693
2694 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
2695
2696         * elmo-util.el (elmo-define-error): New function.
2697
2698         * elmo2.el (elmo-error): Define.
2699         (elmo-open-error): Define.
2700         (elmo-authenticate-error): Define.
2701
2702         * elmo-imap4.el (elmo-imap4-error): Abolish.
2703         (elmo-imap4-error-type): Abolish.
2704         (elmo-imap4-error-process): Abolish.
2705         (elmo-imap4-error-message): Abolish
2706         (elmo-imap4-list-folders): Don't quote lambda.
2707         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
2708         (elmo-imap4-parse-namespace): Ditto.
2709         (elmo-imap4-open-connection): Rewrite.
2710         (elmo-imap4-open-connection-1): Simplified (authenticate only).
2711         (elmo-imap4-get-connection): Abolish local variable `result'.
2712
2713 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
2714
2715         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
2716         wrong-type-argument error when auth is nil.
2717
2718 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
2719
2720         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
2721         (elmo-default-nntp-stream-type): Ditto.
2722         (elmo-default-pop3-stream-type): Ditto.
2723         (elmo-network-stream-type-alist): Ditto.
2724         (elmo-default-imap4-ssl): Abolished.
2725         (elmo-default-nntp-ssl): Ditto.
2726         (elmo-default-pop3-ssl): Ditto.
2727
2728         * elmo-util.el: (toplevel): Removed needless requires.
2729         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
2730         (elmo-open-network-stream): Open network stream according to
2731         the value of `elmo-network-stream-type-alist'.
2732         (elmo-get-network-stream-type): New function.
2733         (elmo-network-stream-type-spec-string): New macro.
2734         (elmo-network-stream-type-symbol): Ditto.
2735         (elmo-network-stream-type-function): Ditto.
2736
2737         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
2738         network-stream-type. All other related portions are changed.
2739         (elmo-pop3-open-connection): Ditto.
2740
2741         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
2742         network-stream-type. All other related portions are changed.
2743
2744         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
2745         network-stream-type.All other related portions are changed.
2746         (elmo-imap4-error): New macro.
2747         (elmo-imap4-error-type): Ditto.
2748         (elmo-imap4-error-process): Ditto.
2749         (elmo-imap4-error-message): Ditto.
2750         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
2751         (elmo-imap4-auth-cram-md5): Ditto.
2752         (elmo-imap4-auth-digest-md5): Ditto.
2753         (elmo-imap4-login): Ditto.
2754         (elmo-imap4-open-connection): Remove password entry if authentication
2755         was in vain.
2756         (elmo-imap4-user-at-host): Abolished.
2757         (elmo-imap4-password-key): New buffer local variable.
2758         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
2759         using protocol, port, auth and stream-type.
2760
2761         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
2762
2763 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
2764
2765         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
2766
2767         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
2768
2769         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
2770         (elmo-imap4-authenticator-alist): New variable.
2771         (elmo-imap4-open-connection-1): Rename from
2772         elmo-imap4-open-connection.
2773         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
2774         only wraps elmo-imap4-open-connection-1.
2775         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
2776         user-at-host.
2777         (elmo-imap4-auth-login): New function.
2778         (elmo-imap4-auth-cram-md5): New function.
2779         (elmo-imap4-auth-digest-md5): New function.
2780         (elmo-imap4-login): New function.
2781
2782 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
2783
2784         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
2785         function `error'.
2786
2787 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
2788
2789         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
2790
2791 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
2792
2793         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
2794
2795 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
2796
2797         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
2798         for server responses, quote `*' regardless of where it appears.
2799
2800 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
2801
2802         * elmo-maildir.el (elmo-maildir-commit): New alias.
2803
2804 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
2805
2806         * elmo-util.el (elmo-display-progress):
2807                 Use `progress-feedback-with-label'.
2808
2809 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
2810
2811         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
2812         (elmo-imap4-non-atom-char-regex): Ditto.
2813         (elmo-imap4-non-text-char-regex): Ditto.
2814         (elmo-imap4-literal-threshold): Ditto.
2815         (elmo-imap4-atom-p): New function.
2816         (elmo-imap4-quotable-p): Ditto.
2817         (elmo-imap4-nil): Ditto.
2818         (elmo-imap4-atom): Ditto.
2819         (elmo-imap4-quoted): Ditto.
2820         (elmo-imap4-literal-subr): Ditto.
2821         (elmo-imap4-literal): Ditto.
2822         (elmo-imap4-buffer-literal): Ditto.
2823         (elmo-imap4-string-subr): Ditto.
2824         (elmo-imap4-string): Ditto.
2825         (elmo-imap4-buffer-string): Ditto.
2826         (elmo-imap4-astring-subr): Ditto.
2827         (elmo-imap4-astring): Ditto.
2828         (elmo-imap4-buffer-astring): Ditto.
2829         (elmo-imap4-nstring): Ditto.
2830         (elmo-imap4-buffer-nstring): Ditto.
2831         (elmo-imap4-mailbox): New alias.
2832         (elmo-imap4-field-body): Ditto.
2833         (elmo-imap4-userid): Ditto.
2834         (elmo-imap4-password): Ditto.
2835         (elmo-imap4-format-quoted): New function.
2836         (elmo-imap4-send-command): Rewritten.  Accept a list of command
2837         arguments and handle "atom", "quoted" and "literal" string here.
2838         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
2839         `elmo-imap4-send-command'.
2840         (elmo-imap4-folder-exists-p): Likewise.
2841         (elmo-imap4-create-folder): Likewise.
2842         (elmo-imap4-delete-folder): Likewise.
2843         (elmo-imap4-rename-folder): Likewise.
2844         (elmo-imap4-max-of-folder): Likewise.
2845         (elmo-imap4-check-validity): Likewise.
2846         (elmo-imap4-sync-validity): Likewise.
2847         (elmo-imap4-server-diff): Likewise.
2848         (elmo-imap4-select-folder): Likewise.
2849         (elmo-imap4-copy-msgs): Likewise.
2850         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
2851         (elmo-imap4-mark-set-on-msgs): Likewise.
2852         (elmo-imap4-read-part): Likewise.
2853         (elmo-imap4-read-msg): Likewise.
2854         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
2855         `elmo-imap4-password' for `elmo-imap4-send-command'.
2856         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
2857         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
2858         `elmo-imap4-buffer-literal'.
2859         (elmo-imap4-append-msg): Likewise.
2860
2861         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
2862         `delete' for removing dead connection from the connection cache.
2863         Move deletion of the process buffer after that.
2864         (elmo-imap4-list): Change `defsubst' to `defun'.
2865         (elmo-imap4-commit): Make error message verbose.
2866         (elmo-imap4-search): Ditto.
2867         (elmo-imap4-list): Ditto.
2868         (elmo-imap4-select-folder): Ditto.
2869         (elmo-imap4-copy-msgs): Ditto.
2870         (elmo-imap4-delete-msg-by-id): Ditto.
2871         (elmo-imap4-append-msg-by-id): Ditto.
2872         (elmo-imap4-append-msg): Ditto.
2873
2874 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
2875
2876         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
2877         when dired is used on XEmacs.
2878
2879 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
2880
2881         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
2882         instead of `append'.
2883         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
2884         `elmo-plugged-p' directly.
2885         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
2886         of `elmo-plugged-p' directly.
2887
2888         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
2889         Eliminate unused variable.  Use `memq' for checking a process status.
2890         Use `cons' instead of `append' for updating the connection cache.
2891         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
2892         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
2893
2894 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
2895
2896         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
2897         `elmo-imap4-read-point' exactly.
2898
2899         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
2900         the local variable `folder' to `mailbox'.
2901         Rename the argument `fld' to `folder'.
2902
2903 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
2904
2905         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
2906         * elmo-imap4.el (elmo-imap4-commit): Ditto.
2907
2908 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
2909
2910         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
2911         (elmo-pop3-number-uidl-hash): New buffer-local variable.
2912         (elmo-pop3-uidl-number-hash): Ditto.
2913         (elmo-pop3-size-hash): Ditto.
2914         (elmo-pop3-uidl-done): Ditto.
2915         (elmo-pop3-list-done): Ditto.
2916         (elmo-pop3-connection-get-process): New defmacro.
2917         (elmo-pop3-connection-get-buffer): Ditto.
2918         (elmo-pop3-close-connection): Delete buffer and process.
2919         (elmo-pop3-flush-connection): Don't delete buffer and process.
2920         (elmo-pop3-get-connection): Added optional argument `if-exists'.
2921         Setup UIDL and size hash.
2922         (elmo-pop3-send-command-no-erase): Deleted
2923         (elmo-pop3-send-command): Added optional argument `no-erase'.
2924         (elmo-pop3-parse-uidl-response): New function.
2925         (elmo-pop3-parse-list-response): Set size hash.
2926         (elmo-pop3-list-location): New function.
2927         (elmo-pop3-list-by-uidl-subr): Ditto.
2928         (elmo-pop3-list-by-list): Ditto.
2929         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
2930         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
2931         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
2932         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
2933         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
2934         Use uidl.
2935         (elmo-pop3-uidl-to-number): New function.
2936         (elmo-pop3-number-to-uidl): Ditto.
2937         (elmo-pop3-number-to-size): Ditto.
2938         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
2939         Set number by use of uidl.
2940         (elmo-pop3-msgdb-create-message): Likewise.
2941         Set size, loc-alist in msgdb.
2942         (elmo-pop3-read-msg): Set number by use of uidl.
2943         Added optional argument `msgdb'.
2944         (elmo-pop3-delete-msg): Ditto.
2945         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
2946         (elmo-pop3-commit): Close connection.
2947
2948         * elmo-pipe.el (elmo-pipe-max-of-folder):
2949         Bind `elmo-pop3-use-uidl' as nil.
2950         (elmo-pipe-drain): Ditto.
2951         Call `elmo-commit'.
2952
2953         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
2954         (elmo-msgdb-overview-entity-set-size): New defsubst.
2955
2956 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
2957
2958         * elmo-vars.el (elmo-use-killed-list): New variable
2959         (Renamed from `elmo-nntp-use-killed-list').
2960         (elmo-nntp-use-killed-list): Eliminated.
2961
2962         * elmo-msgdb.el (elmo-msgdb-expand-path):
2963         Changed expanding msgdb path for elmo-multi.
2964
2965         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
2966         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
2967         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
2968         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
2969         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
2970         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
2971         (toplevel): Deleted time-stamp line.
2972
2973         * elmo2.el (elmo-clear-killed ): Defined as function
2974         (Abolished defining as a backend function).
2975         All other related modules are changed.
2976
2977 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
2978
2979         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
2980
2981 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
2982
2983         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
2984
2985 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2986
2987         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
2988
2989 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
2990
2991         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
2992         asynchronous folder check.
2993
2994         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
2995
2996         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
2997         `elmo-nntp-use-killed-list'.
2998         (elmo-nntp-list-folder): Use killed list.
2999         (elmo-nntp-max-of-folder): Ditto.
3000         (elmo-nntp-msgdb-create): Set killed list.
3001
3002         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
3003
3004         * elmo2.el (elmo-clear-killed): New backend function.
3005         All other related modules are changed.
3006
3007 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
3008
3009         * elmo-util.el (elmo-imap4-spec-folder): Use
3010         `elmo-imap4-spec-mailbox'; Mark as obsolete.
3011         All callers changed.
3012
3013 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
3014
3015         * mmelmo-2.el (initialize-instance):
3016         Use `mime-buffer-entity-buffer-internal' instead of
3017         `mime-entity-buffer'.
3018
3019         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
3020         (mime-entity-body): Implemented.
3021         (mime-goto-header-start-point): Deleted.
3022         (mime-goto-body-end-point): Ditto.
3023         (mime-entity-point-min): Ditto.
3024         (mime-entity-point-max): Ditto.
3025         (mime-entity-children): Ditto.
3026         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
3027         instead of `mime-entity-buffer'.
3028         (mime-entity-header-buffer): Ditto.
3029         (mime-entity-body-buffer): Ditto.
3030         (mime-write-entity-content): Ditto.
3031
3032         * pldap.el (ldap-static-if): New macro.
3033         (toplevel): Use it instead of `static-if'.
3034
3035 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
3036
3037         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
3038         included in `attrs' argument.
3039
3040 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
3041
3042         * elmo-util.el (elmo-get-passwd): Use old backquote style.
3043
3044         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
3045         (ldap-ldif-safe-init-char-regexp): Ditto.
3046         (ldap-ldif-safe-string-regexp): Ditto.
3047         (ldap/ldif-safe-string-p): New macro.
3048         (ldap/ldif-insert-field): Ditto.
3049         (ldap-modify): Use it.
3050         (ldap-add): Ditto.
3051         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
3052         (ldap-decode-attribute): Decode only when `attr' is consp.
3053         (ldap-delete): Bind `ret'.
3054         (toplevel): Require 'cl at compile time.
3055         Removed (require 'poe) and (require 'std11).
3056         (pldap-version): Eliminated.
3057         (ldap-search-basic): Removed auth and dn binding.
3058         (ldap-ldif-field-name-regexp): New constant.
3059         (ldap-ldif-field-head-regexp): Ditto.
3060         (ldap-ldif-next-field-head-regexp): Ditto.
3061         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
3062         (ldap/field-end): New function.
3063         (ldap/field-body): Use it.
3064         (ldap/collect-field): Ditto.
3065         (ldap-search-basic): Use `ldap/field-body'.
3066
3067 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
3068
3069         * pldap.el (ldap-default-attribute-encoder): New user option.
3070         (ldap/field-body): Decode base64 string.
3071         (ldap/collect-field): Ditto.
3072         (ldap-encode-attribute): New function.
3073         (ldap-add-entries): Use it.
3074         (ldap-modify-entries): Ditto.
3075         (ldap-search-entries): Enclosed decoding function with
3076         `with-temp-buffer' and set as unibyte.
3077         (ldap-search-basic): Set process buffer as unibyte.
3078
3079         * elmo-util.el (elmo-folder-identical-system-p):
3080         Eliminated name space checking.
3081
3082         * pldap.el: New module.
3083         toplevel: Changed condition to detect built-in ldap feature.
3084         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
3085         (ldap-add): Added error handling.
3086         (ldap-modify): Ditto.
3087         (ldap-delete): Ditto.
3088
3089 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
3090
3091         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
3092         Initialize local variables with `let'.  Inline a temporary
3093         variable for the progress percentage.  Sort `setq' to reduce
3094         function call in the while-loop.
3095
3096         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
3097         into the conditional branch.
3098
3099 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
3100
3101         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
3102         Move a conditional out of the while-loop.
3103
3104 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3105
3106         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
3107         elmo-msgdb-overview-get-entity-by-number.
3108         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
3109         throw.
3110
3111 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
3112
3113         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
3114         the local variable for a packed number self descriptively.
3115
3116 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3117
3118         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
3119         * elmo-localdir.el (elmo-localdir-pack-number): Use
3120         `elmo-msgdb-overview-get-entity' instead of
3121         `elmo-msgdb-overview-get-entity-by-number'.
3122         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
3123         (elmo-msgdb-search-overview-entity): Removed.
3124         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
3125         by message-id or number.
3126         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
3127         instead of `elmo-msgdb-overview-get-entity-by-number'.
3128
3129 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3130
3131         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
3132         non-nil, use hash table for overview.
3133         (elmo-hash-maximum-size): New variable.
3134         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
3135         (elmo-msgdb-make-overview-hashtb): New function.
3136         (elmo-msgdb-clear-overview-hashtb): New function.
3137         (elmo-clear-hash-val): New macro.
3138         All other related modules are changed.
3139
3140 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
3141
3142         * elmo2.el (elmo-move-msgs): If there's other message with
3143         same message-id, don't use cache.
3144
3145 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
3146
3147         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
3148         number is already packed.
3149
3150 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
3151
3152         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
3153
3154 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3155
3156         * elmo-vars.el (elmo-display-progress-threshold): New variable.
3157         All other related modules are changed.
3158
3159 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
3160
3161         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
3162         of refiling failure on Maildir.
3163
3164 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3165
3166         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
3167         decoded mime-charset with cache.
3168         (elmo-msgdb-overview-entity-get-from): Ditto.
3169         (elmo-msgdb-overview-entity-get-subject): Ditto.
3170         * elmo-vars.el (elmo-use-decoded-cache): New variable.
3171
3172 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
3173
3174         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
3175         (elmo-remove-passwd): Fill password with 0 before erase.
3176         * elmo-vars.el (elmo-passwd-life-time): New variable.
3177
3178 \f
3179 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
3180
3181         * elmo-cache.el (elmo-buffer-cache-add):
3182         Set message cache buffer as unibyte.
3183
3184 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3185
3186         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
3187         become nil.
3188
3189 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
3190
3191         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
3192         when display is finished.
3193         (elmo-nntp-msgdb-create): Ditto.
3194         (elmo-nntp-groups-read-response): Ditto.
3195         (elmo-nntp-retrieve-headers): Ditto.
3196         (elmo-nntp-msgdb-create-message): Ditto.
3197         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
3198         (elmo-pop3-msgdb-create-message): Ditto.
3199
3200 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
3201
3202         * elmo-maildir.el (elmo-maildir-msgdb-create):
3203         Use `elmo-msgdb-sort-by-date'.
3204
3205 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
3206
3207         * elmo2.el (elmo-read-msg-no-cache):
3208         Eliminated arguments after `outbuf'.
3209         Don't use cache even if it exists.
3210         (elmo-read-msg): Don't pass arguments after `outbuf' to
3211         `elmo-read-msg-no-cache'.
3212
3213 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
3214
3215         * elmo-archive.el (elmo-archive-list-folders):
3216         Use `file-name-directory' if base folder does not exist.
3217
3218 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
3219
3220         * elmo-archive.el (elmo-archive-list-folders): Don't use
3221         `file-name-directory'.
3222
3223 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
3224
3225         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
3226         If `force' is non-nil, try flushing all operation queues.
3227
3228 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
3229
3230         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
3231         as-binary-process.
3232
3233 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
3234
3235         * elmo-util.el (elmo-display-progress): Fixed.
3236
3237 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
3238
3239         * elmo-util.el (elmo-display-progress): New function.
3240         All other related modules are changed.
3241