Update.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
2
3         * elmo-util.el (elmo-list-filter): Rewritten.
4
5 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * elmo-util.el (elmo-string-member): Allow symbol element in list.
8
9 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
10
11         * elmo-search.el (elmo-make-search-engine): Use prefix
12         `elmo-search-' for require symbol instead of `else-'.
13         (elmo-search-engine-extprog): New class.
14         (elmo-search-engine-do-search): Remove nil from argument
15         list. Added argument pattern to evaluate element as function.
16         (elmo-search-engine-local-file): Derived from
17         `elmo-search-engine-extprog'.
18         (elmo-search-engine-create-message-entity): Check existance of file.
19         (elmo-search-engine-fetch-message): Ditto.
20         (elmo-search-namazu-index): Follow the API change.
21         (elmo-search-grep-target): Ditto.
22
23 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
24
25         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
26         characters of working buffer.
27
28         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
29         Does not bind `default-mime-charset'.
30         (elmo-msgdb-create-message-entity-from-buffer): Removed
31         unnecessary local bind.
32
33         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
34         function.
35         (modb-entity-extract-mailing-list-info-functions): Added it.
36
37 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
38
39         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
40         when number and message-id are non-nil.
41
42         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
43
44         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
45         conditional steatment.
46         (elmo-pop3-auth-apop): Likewise.
47         (elmo-network-authenticate-session): Likewise.
48
49 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
50
51         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
52         symbol `fill-column'.
53         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
54         decode field value.
55
56         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
57         (elmo-decoded-field-body): Ditto.
58
59 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
62         `tokens' to `params'.
63
64 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
65
66         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
67         working buffer.
68
69 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
70
71         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
72         decide index.
73
74 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
75
76         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
77         Set default value as nil.
78         (toplevel): Register search engines by
79         `elmo-search-register-engine' if there are not defined.
80
81         * elmo.el (autoload): Added autoload setting for
82         `elmo-search-register-engine'.
83
84 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
85
86         * elmo.el (toplevel): `[' is redefined as the prefix of the search
87         folder instead of nmz folder.
88         (elmo-nmz-default-index-path): Added obsolete variable setting.
89         (elmo-nmz-index-alias-alist): Ditto.
90         (elmo-nmz-use-drive-letter): Ditto.
91
92         * elmo-search.el (elmo-search-register-engine): New function.
93
94         * elmo-nmz.el: Removed.
95
96         * elmo-version.el (elmo-version): Up to 2.15.2.
97
98 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
99
100         * elmo-search.el: New file.
101
102 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
103
104         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
105         condition `larger' and `smaller'.
106
107 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
108
109         * elmo-util.el (elmo-safe-filename): Rewrite to replace
110         `"' (double quote) into "_Q_".
111
112 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
113
114         * elmo-net.el (elmo-net-quote-chars): Abolish.
115         (elmo-net-format-quoted): Ditto.
116
117 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
118
119         * elmo.el (elmo-get-folder-function): New variable.
120         (elmo-get-folder): New function.
121         (elmo-folder-rename): Call `elmo-make-folder' with specified
122         mime-charset.
123
124         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
125         `elmo-make-folder'.
126         (elmo-split-subr): Ditto.
127
128         * elmo-multi.el (elmo-folder-initialize): Ditto.
129
130         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
131
132         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
133         (elmo-flag-get-folder): Ditto.
134
135         * elmo-filter.el (elmo-folder-initialize): Ditto.
136
137         * elmo-access.el (elmo-folder-initialize): Ditto.
138         (elmo-access-folder-update-children): Ditto.
139
140         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
141         (elmo-dop-queue-flush): Ditto.
142         (elmo-folder-append-buffer-dop-delayed): Ditto.
143         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
144         mime-charset.
145
146         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
147         instead of `elmo-make-folder'.
148         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
149         destination folder instead of send `elmo-folder-rename-internal'.
150
151         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
152         slot of subfolder instead of create it.
153
154 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
155
156         * elmo-util.el (elmo-collect-separators): New function.
157         (elmo-collect-separators-internal): Ditto.
158         (elmo-collect-trail-separators): Ditto.
159         (elmo-parse-separated-tokens): Ditto.
160         (elmo-parse-separated-tokens-internal): Ditto.
161         (elmo-quote-syntactical-element): Ditto.
162
163         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
164         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
165
166         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
167         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
168         (elmo-nntp-folder-list-subfolders): Quote a user name.
169
170         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
171         (elmo-net-parse-network): Abolish.
172         (elmo-net-folder-set-parameters): New function.
173         (elmo-folder-initialize): Follow the above change.
174
175         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
176         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
177         (elmo-folder-list-subfolders): Use
178         `elmo-quote-syntactical-element' instead of
179         `elmo-net-format-quoted' to quote mailbox and user name.
180
181 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
182
183         * elmo-util.el (elmo-token-valid-p): New function.
184         (elmo-parse-token): Add optional argument `requirement'.
185         (elmo-parse-prefixed-element): Likewise.
186
187         * elmo-net.el (elmo-net-quote-chars): Renamed from
188         `elmo-net-quote-chars-regexp'.
189         (elmo-net-format-quoted): Add optional argument `extra-chars'.
190
191         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
192         by info document. Check token `uidl' is started an alphabet.
193
194         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
195         by info document. Check token `user' is started an alphabet.
196
197         * elmo-imap4.el (elmo-folder-initialize): Ditto.
198         (elmo-folder-list-subfolders): Quote user.
199
200 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-util.el (elmo-quoted-specials-list): New constant.
203         (elmo-quoted-token): New function.
204
205         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
206         (elmo-net-format-quoted): New function.
207         (elmo-net-parse-network): Ditto.
208         (elmo-folder-initialize): Use it.
209
210         * elmo-nntp.el (elmo-folder-initialize): Use
211         `elmo-net-parse-network' to parse network specification instead of
212         `elmo-folder-initialize#elmo-net'.
213
214         * elmo-pop3.el (elmo-folder-initialize): Ditto.
215
216         * elmo-imap4.el (elmo-folder-initialize): Ditto.
217         (elmo-folder-list-subfolders): Quote folder name by
218         `elmo-net-format-quoted'.
219
220 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
221
222         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
223         (elmo-folder-search): Use it.
224
225 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
226
227         * modb-standard.el (modb-standard-loaded-message-id): Use
228         `elmo-msgdb-message-entity-field'.
229
230 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
233         without filename.
234
235 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
236
237         * elmo-util.el (elmo-set-auto-coding): New function.
238         (elmo-object-load): Use it.
239
240 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
241
242         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
243         (elmo-time<): Define as alias of `elmo-time-less-p'.
244         (elmo-time-to-datevec): New function.
245
246         * elmo-date.el (elmo-time-to-days): New function.
247
248 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
249
250         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
251         is not cons cell.
252
253 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
254
255         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
256         parenthesis.
257
258         * elmo-util.el (elmo-map-recursive): New function.
259
260         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
261         (modb-entity-encode-string-recursive): Ditto.
262
263 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
264
265         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
266         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
267         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
268         compare sequence number when last modified time is nil.
269
270 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
271
272         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
273
274         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
275
276 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
277
278         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
279         modification time of the file.
280
281 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
282
283         * elmo-util.el (elmo-condition-optimize): Discriminated against
284         preserved fields, extra fields and the other weight.
285
286 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * modb-entity.el (initialize-instance): Define.
289         (modb-entity-handler-mime-charset): New internal function.
290         (modb-standard-entity-set-field): Use it.
291         (elmo-msgdb-message-entity-field): Ditto.
292         (elmo-msgdb-message-entity-field): Ditto.
293
294         * modb.el (elmo-msgdb-match-condition): Rewrite with
295         `elmo-condition-match'.
296         (elmo-msgdb-match-condition-primitive): New function.
297
298         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
299         arguments `flags' and `numbers'.
300         (elmo-msgdb-match-condition-primitive): Abolished (merged to
301         `elmo-msgdb-message-match-condition').
302         (modb-buffer-entity-handler): New class.
303
304         * elmo.el (elmo-folder-search): Optimize condition to use
305         `elmo-condition-optimize'.
306         (elmo-message-buffer-match-condition): New function.
307         (elmo-message-match-condition): Use
308         `elmo-message-buffer-match-condition' instead of
309         `elmo-buffer-field-condition-match'.
310
311         * elmo-util.el (elmo-condition-match): New function.
312         (elmo-condition-optimize): Ditto.
313         (elmo-buffer-field-primitive-condition-match): Abolish.
314         (elmo-buffer-field-condition-match): Ditto.
315
316         * elmo-archive.el (elmo-archive-field-condition-match): Use
317         `elmo-message-buffer-match-condition' instead of
318         `elmo-buffer-field-condition-match'.
319
320 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
321
322         * elmo-flag.el (elmo-global-flags-initialize): Check the
323         existence of the flag directory.
324
325 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
326
327         * elmo-access.el (elmo-folder-initialize): Call
328         `elmo-multi-connect-signals'.
329
330         * elmo-pipe.el (elmo-folder-close): Define.
331
332         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
333         children folders.
334
335         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
336         with target folder.
337
338         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
339         `number'.
340
341         * elmo-multi.el (elmo-message-entity): Don't use return value of
342         `elmo-message-entity-set-number'.
343
344 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
345
346         * modb.el (modb-generic): Added slot `mime-charset'.
347
348         * modb-standard.el (modb-standard): Added slot `overview-handler'.
349         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
350         and `modb-entity-handler-dump-parameters'.
351         (modb-standard-default-entity-handler): Abolish.
352         (elmo-msgdb-message-entity-handler): Save created handler by
353         instance slot.
354
355         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
356         (modb-entity-handler-list-parameters): New method.
357         (modb-entity-handler-equal-p): New function.
358         (modb-entity-handler-dump-parameters): Ditto.
359         (modb-entity-parse-address-string): Encode return value.
360         (modb-entity-make-address-string): Decode argument value.
361         (modb-entity-decode-string-recursive): New function.
362         (modb-entity-encode-string-recursive): Ditto.
363         (modb-standard-entity-normalizer): Set to encode field value.
364         (modb-standard-entity-specializer): Follow the above change.
365         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
366         mime-charset of handler.
367         (elmo-msgdb-message-entity-field): Ditto.
368         (elmo-msgdb-copy-message-entity): Fixed reference to internal
369         structure.
370         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
371
372         * elmo.el (elmo-folder): Added slot `mime-charset'.
373         (elmo-make-folder): Added argument `mime-charset'.
374         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
375         `mime-charest'.
376
377         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
378         (elmo-make-msgdb): Likewise.
379
380         * elmo-internal.el (elmo-internal-folder-initialize): Call
381         `luna-make-entity' with :mime-charset parameter.
382
383 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
384
385         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
386         encoded words in `from' and `subject' field.
387
388 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
389
390         * modb.el (elmo-msgdb-message-field): Add argument `type'.
391         (elmo-msgdb-match-condition): Get handler from entity instead of
392         msgdb.
393
394         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
395         (modb-standard-load-entity): Treat new file format.
396         (modb-standard-save-entity-1): Save as new file format.
397         (modb-standard-save-entity): Split messages into section here.
398         (elmo-msgdb-message-field): Follow the API change.
399         (modb-standard-default-entity-handler): New internal variable.
400         (elmo-msgdb-message-entity-handler): Define.
401
402         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
403         to `elmo-vars.el'.
404         (modb-entity-field-extractor-alist): New user option.
405         (elmo-msgdb-message-entity-field): Removed argument `decode' and
406         added argument `type'.
407         (elmo-msgdb-copy-message-entity): Add optional argument
408         `make-handler'.
409         (modb-set-field-converter): New function.
410         (modb-convert-field-value): Ditto.
411         (modb-entity-string-decoder): Ditto.
412         (modb-entity-string-encoder): Ditto.
413         (modb-entity-parse-date-string): Ditto.
414         (modb-entity-make-date-string): Ditto.
415         (modb-entity-mime-decoder): Ditto.
416         (modb-entity-mime-encoder): Ditto.
417         (modb-entity-address-list-decoder): Ditto.
418         (modb-entity-address-list-encoder): Ditto.
419         (modb-entity-parse-address-string): Ditto.
420         (modb-entity-make-address-string): Ditto.
421         (modb-entity-create-field-indices): Ditto.
422         (modb-legacy-entity-field-slots): New constant.
423         (modb-legacy-entity-field-indices): Ditto.
424         (modb-legacy-entity-normalizer): New variable.
425         (modb-legacy-entity-specializer): Ditto.
426         (modb-legacy-entity-field-index): New macro.
427         (modb-legacy-entity-set-field): New function.
428         (modb-legacy-make-message-entity): Rewrite.
429         (elmo-msgdb-create-message-entity-from-buffer): Use
430         `elmo-msgdb-get-references-from-buffer'. Use
431         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
432         Use `modb-legacy-entity-set-field' instead of
433         `elmo-msgdb-message-entity-set-field'.
434         (elmo-msgdb-message-entity-field): Rewrite.
435         (elmo-msgdb-message-entity-set-field): Ditto.
436         (elmo-msgdb-copy-message-entity): Make new entity by
437         `make-handler' if it specified.
438         (elmo-msgdb-message-match-condition): Define a method of
439         `modb-entity-handler' and follow the API change.
440         (modb-standard-entity-handler): New class.
441         (modb-entity-extract-ml-info-from-x-sequence): New function.
442         (modb-entity-extract-ml-info-from-subject): Ditto.
443         (modb-entity-extract-ml-info-from-return-path): Ditto.
444         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
445         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
446         (modb-entity-extract-mailing-list-info): Ditto.
447         (modb-entity-extract-mailing-list-info-functions): New variable.
448
449         * elmo.el (elmo-message-field): Add optional argument `type'.
450
451         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
452         from `modb-entity.el'.
453
454         * elmo-util.el (elmo-object-load): Decode by coding-system from
455         `set-auto-coding-function'.
456         (elmo-object-save): Use `detect-mime-charset-region' and add
457         coding cookie if encode.
458         (elmo-msgdb-get-references-from-buffer): New function.
459         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
460
461         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
462
463         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
464         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
465         instead of `shimbun-make-header' and follow the API change.
466         (elmo-shimbun-update-overview): Follow the API change.
467         (elmo-map-folder-list-message-locations): Ditto.
468
469         * elmo-pipe.el (elmo-message-field): Ditto.
470
471         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
472         Ditto.
473
474         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
475
476         * elmo-multi.el (elmo-message-field): Ditto.
477
478         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
479         (elmo-msgdb-sort-by-date): Ditto.
480         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
481         `elmo-message-entity-field'.
482         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
483         change.
484         (elmo-msgdb-overview-entity-get-from): Ditto.
485         (elmo-msgdb-overview-entity-get-subject): Ditto.
486         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
487         (elmo-msgdb-overview-entity-get-date): Ditto.
488         (elmo-msgdb-overview-entity-get-to): Ditto.
489         (elmo-msgdb-overview-entity-get-cc): Ditto.
490
491         * elmo-mime.el (elmo-message-mime-entity): Ditto.
492         (elmo-mime-collect-message/partial-pieces): Ditto.
493
494         * elmo-filter.el (elmo-message-field): Ditto.
495
496         * elmo-date.el (elmo-datevec-to-time): New function.
497         (elmo-time-parse-date-string): Ditto.
498         (elmo-time-make-date-string): Ditto.
499         (elmo-time<): Ditto.
500
501         * elmo-version.el (elmo-version): Up to 2.15.1.
502
503 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
504
505         * elmo-flag.el (elmo-global-flags-initialize): Don't include
506         member of elmo-local-flags.
507
508 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
509
510         * elmo-version.el (elmo-version): Up to 2.15.0.
511
512 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
513
514         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
515         `ignore-msgdb' is non-nil.
516
517 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
518
519         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
520         (elmo-condition-in-msgdb-p): Ditto.
521         (elmo-file-field-primitive-condition-match): Ditto.
522         (elmo-file-field-condition-match): Ditto.
523
524         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
525
526 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
527
528         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
529         subdirectories here.
530         (elmo-global-flags-initialize): New function.
531
532         * elmo.el (toplevel): Added autoload setting for
533         `elmo-global-flags-initialize'.
534
535 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
536
537         * elmo.el (message-number-changed): Define new signal.
538         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
539         message-number-changed signal.
540         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
541         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
542         Respect `elmo-pack-number-check-strict'.
543
544 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
545
546         * elmo-signal.el (elmo-connect-signal): Document.
547         (elmo-emit-signal): Ditto.
548         (elmo-emit-signal): It should pass source argument to filter and
549         handler, not slot-source.
550
551 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
552
553         * modb.el (elmo-msgdb-update-entity): New API and define generic
554         implement.
555
556         * modb-standard.el (elmo-msgdb-update-entity): Define.
557
558         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
559         API and define generic implement.
560
561         * elmo.el (update-overview): New singnal.
562
563         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
564         `elmo-msgdb-update-entity' and emit signal `update-overview'.
565         (elmo-message-entity-parent): Define.
566
567         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
568         `update-overview'.
569
570         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
571
572         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
573
574 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
575
576         * elmo.el (elmo-folder-synchronize): Sort the return value of
577         `elmo-list-diff'.
578
579         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
580         list.
581
582 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
583
584         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
585         `default-enable-multibyte-characters'.
586         (elmo-object-load): Use `with-temp-buffer' instead of
587         `elmo-set-work-buf'.
588         (elmo-object-save): Ditto.
589         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
590         `elmo-set-work-buf'.
591         (elmo-decoded-field-body): Ditto.
592
593         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
594
595         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
596         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
597
598         * elmo-version.el (elmo-version): Up to 2.13.3.
599
600 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
601
602         * elmo-util.el (elmo-list-diff): Fix the last change.
603         Reverse order of result lists.
604
605 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
606
607         * modb-standard.el (elmo-msgdb-set-flag): Use
608         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
609         (elmo-msgdb-unset-flag): Ditto.
610
611         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
612         `elmo-list-diff'.
613
614         * elmo-util.el (elmo-list-diff): Rewrite.
615         (elmo-list-diff-nonsortable): New function.
616
617 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
618
619         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
620         `elmo-multibypte-buffer-name'.  All referers are updated.
621
622 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
623
624         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
625         (elmo-mime-entity-fragment-p): New function.
626         (mime-elmo-buffer-entity): Added slot `reassembled'.
627         (elmo-message-mime-entity): Added 4th argument `reassemble'.
628         (elmo-message-mime-entity-internal): New function (renamed from
629         `elmo-message-mime-entity').
630         (elmo-mime-inherit-field-list-from-enclosed): New constant.
631         (elmo-mime-make-reassembled-mime-entity): New function.
632         (elmo-message-reassembled-mime-entity): Ditto.
633         (elmo-mime-collect-message/partial-pieces): Ditto.
634
635 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
636
637         * elmo.el (elmo-message-fetch-string): Disable multibyte.
638
639         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
640         (elmo-with-enable-multibyte): New macro.
641
642         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
643
644 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
645
646         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
647         argument `number'.
648         (elmo-filter-connect-signals): Follow the above change.
649
650 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
651
652         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
653
654         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
655         that only the first flag is used.
656
657 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
658
659         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
660         if available.
661
662 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
663
664         * elmo-signal.el: New file.
665
666         * elmo.el (toplevel): Require elmo-signal.
667         (flag-changing, flag-changed, cache-changed): New signal.
668         (elmo-folder): Remove slog `handlers'.
669         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
670         `elmo-folder-notify-event'.
671         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
672         (elmo-folder-unset-flag): Ditto.
673         (elmo-event-handler): Abolish.
674         (elmo-event-handler-flag-changed): Ditto.
675         (elmo-event-handler-cache-changed): Ditto.
676         (elmo-folder-add-handler): Ditto.
677         (elmo-folder-remove-handler): Ditto.
678         (elmo-folder-notify-event): Ditto.
679
680         * elmo-pipe.el (toplevel): Require elmo-signal.
681         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
682         (elmo-pipe-connect-signals): New function.
683         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
684         (elmo-folder-set-flag): Ditto.
685         (elmo-folder-unset-flag): Ditto.
686         (elmo-message-set-cached): Ditto.
687
688         * elmo-multi.el (toplevel): Require elmo-signal.
689         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
690         (elmo-multi-connect-signals): New function.
691         (elmo-multi-map-numbers): Ditto.
692         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
693         (elmo-message-fetch): Ditto.
694         (elmo-folder-set-flag): Ditto.
695         (elmo-folder-unset-flag): Ditto.
696
697         * elmo-filter.el (toplevel): Require elmo-signal.
698         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
699         (elmo-filter-connect-signals): New function.
700         (elmo-filter-add-flag-count): Ditto.
701         (elmo-message-fetch): Does not call
702         `elmo-filter-folder-countup-message-flags' and
703         `elmo-folder-notify-event'.
704         (elmo-message-set-cached): Ditto.
705         (elmo-folder-set-flag): Ditto.
706         (elmo-folder-unset-flag): Ditto.
707
708         * elmo-version.el (elmo-version): Up to 2.13.2.
709
710 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
711
712         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
713         `flags'.
714
715 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
716
717         * elmo-filter.el (elmo-message-set-cached): Call
718         `elmo-folder-notify-event' with event `cache-changed'.
719
720         * elmo-multi.el (elmo-message-set-cached): Ditto.
721
722         * elmo-pipe.el (elmo-message-set-cached): Ditto.
723
724 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
725
726         * elmo.el (elmo-folder-encache): Abolish.
727
728 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
729
730         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
731         (elmo-folder-next-message-number-dop): Return appropriate negative
732         integer.
733
734 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
735
736         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
737         clearing pending operations.
738         (elmo-folder-next-message-number-dop): Return appropriate negative
739         integer.
740
741 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * elmo.el (toplevel): Added autoload setting for `md5'.
744         (elmo-msgdb-path-encode-threshold): New user option.
745         (elmo-folder-msgdb-path): Encode msgdb path if its length is
746         longer than `elmo-msgdb-path-encode-threshold'.
747
748         * elmo-flag.el (elmo-global-mark-migrate): Use
749         `elmo-folder-expand-msgdb-path' instead of
750         `elmo-folder-msgdb-path'.
751
752 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
755         element of the difference is nil.
756
757 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
758
759         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
760         to the check logic of file systems which are weak in colon character.
761
762 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
763
764         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
765
766 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
767
768         * elmo-maildir.el (elmo-maildir-move-file): New function.
769         (elmo-folder-append-buffer): Use it.
770         (elmo-folder-append-messages): Ditto.
771         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
772
773         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
774         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
775
776         * elmo-maildir.el (elmo-maildir-separator): New user option.
777         (elmo-maildir-adjust-separator): New macro.
778         (elmo-maildir-list-location): Use it.
779         (elmo-maildir-update-current): Ditto.
780         (elmo-maildir-set-mark): Ditto.
781         (elmo-maildir-delete-mark): Ditto.
782         (These changes are based on Hiroya Murata's patch [wl: 13437])
783
784 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
785
786         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
787
788 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
789
790         * elmo-flag.el (elmo-flag-valid-p): Simplify.
791         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
792         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
793
794 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
795
796         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
797         Use `with-temp-buffer'.
798
799 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
802
803         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
804         `wl-read-search-condition').
805         (elmo-read-search-condition-internal): Likewise.
806
807         * elmo-flag.el (elmo-flag-char-regexp): New constant.
808         (elmo-flag-valid-p): New function.
809         (elmo-folder-initialize): Check flag name is valid.
810
811 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
812
813         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
814         delimiter to obtain root mailbox itself.
815
816 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
817
818         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
819         type mismatch.
820
821 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
822
823         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
824         as t.
825
826 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo-shimbun.el (toplevel): Require cl at compile.
829
830         * elmo-nntp.el (toplevel): Ditto.
831
832         * elmo-nmz.el (toplevel): Ditto.
833
834         * elmo-multi.el (toplevel): Ditto.
835
836         * elmo-file.el (toplevel): Ditto.
837
838         * elmo-dop.el (toplevel): Ditto.
839
840         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
841
842 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
843
844         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
845         as nil.
846
847         * elmo.el (elmo-message-fetch): Return t even when the output buffer
848         size of elmo-message-fetch-internal is 0 byte.
849
850 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
851
852         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
853
854 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
855
856         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
857         always plugged.
858
859 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
860
861         * elmo-maildir.el (elmo-map-message-fetch): Call
862         `elmo-map-folder-set-flag'.
863
864         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
865         (elmo-message-fetch): Merge from
866         `elmo-message-fetch-with-cache-process'.
867
868         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
869         (elmo-message-fetch): Define.
870
871         * elmo-nntp.el (elmo-message-fetch): Renamed from
872         `elmo-message-fetch-with-cache-process'.
873
874         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
875         (elmo-message-fetch): Define.
876
877         * elmo-util.el (elmo-condition-parse-primitive): Downcase
878         search-key.
879
880         * elmo-shimbun.el (shimbun-mua-search-id): Use
881         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
882         (elmo-shimbun-folder-shimbun-header): Ditto.
883         (elmo-shimbun-get-headers): Ditto.
884         (elmo-shimbun-update-overview): Ditto.
885
886         * elmo-pipe.el (elmo-folder-detach-messages): Define.
887
888         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
889         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
890
891 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
892
893         * elmo.el (elmo-message-fetch): Unset unread flag on server when
894         message is cached.
895         (elmo-message-fetch-string): Fixed argument.
896
897 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
898
899         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
900         exchange order of arguments `section' and `unread'.
901         (elmo-message-encache): Follow the API change.
902         (elmo-message-match-condition): Ditto.
903         (elmo-generic-folder-append-messages): Ditto.
904         (elmo-message-fetch-string): New function.
905
906         * elmo-split.el (elmo-split-subr): Ditto.
907
908         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
909
910         * elmo-pipe.el (elmo-message-fetch): Ditto.
911
912         * elmo-multi.el (elmo-message-fetch): Ditto.
913
914         * elmo-mime.el (elmo-message-mime-entity): Ditto.
915
916         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
917
918         * elmo-filter.el (elmo-message-fetch): Ditto.
919
920         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
921
922         * elmo-imap4.el (mime-imap-location-section-body): Use
923         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
924         follow the API change.
925
926 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
927
928         * elmo-access.el: New file.
929
930         * elmo-null.el: Ditto.
931
932         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
933
934 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
935
936         * elmo-net.el (elmo-network-session-idle-timeout): New option.
937         (elmo-network-session): New attribute `last-accessed'.
938         (elmo-network-get-session): Discard network cache if elapsed time
939         since last-accessed is larger than elmo-network-session-idle-timeout.
940
941 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
942
943         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
944         and added `number', `require-entireness'.
945         (elmo-find-fetch-strategy): Rewrite.
946         (elmo-message-fetch): Unset `unread' flag when argument unread is
947         non-nil.
948
949         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
950
951         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
952         (elmo-message-fetch): Notify event `flag-changed'.
953
954         * elmo-pipe.el: Likewise.
955
956         * elmo-mime.el (elmo-mime-entity): New class.
957         (elmo-mime-entity-display-p): New generic function.
958         (elmo-mime-entity-display): Ditto.
959         (elmo-mime-entity-display-as-is): Ditto.
960         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
961         elmo-mime-entity.
962         (elmo-make-mime-message-location): Removed.
963         (elmo-mime-message-display): Ditto.
964         (elmo-mime-display-as-is): Ditto.
965         (elmo-message-mime-entity): New function.
966
967         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
968
969         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
970         change.
971         (elmo-message-fetch): Re-count flagged message number and notify
972         event `flag-changed'.
973
974         * elmo-version.el (elmo-version): Up to 2.13.1.
975
976 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
977
978         * elmo-filter.el (elmo-message-field): Define.
979         (elmo-message-set-field): Ditto.
980
981 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo.el (elmo-message-set-cached): Call
984         `elmo-folder-notify-event' with cache-changed.
985         (elmo-event-handler-cache-changed): New generic function.
986
987 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
988
989         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
990         instead of elmo-add-name-to-file.
991         (elmo-folder-append-messages): Ditto.
992
993 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
994
995         * elmo.el (elmo-folder-update-threshold): Add nil to range.
996
997 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
998
999         * elmo-version.el (elmo-version): Up to 2.13.0.
1000
1001         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1002         `auto'.
1003
1004         * modb-standard.el (modb-standard-economize-entity-size): Changed
1005         default value to `t'.
1006
1007         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1008         `standard'.
1009
1010         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1011         after parsing greeting string.
1012
1013 2004-11-23  Daishi Kato <daishi@axlight.com>
1014
1015         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1016         New user option.
1017         (elmo-spam-spamoracle-call): Use it.
1018
1019 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1020
1021         * elmo.el (elmo-message-accessible-p): Message in dop spool
1022         is accessible.
1023
1024 2004-11-23  Daishi Kato <daishi@axlight.com>
1025
1026         * elsp-spamoracle.el: New file.
1027
1028 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo.el (elmo-message-flags-for-append): New function.
1031         (elmo-generic-folder-append-messages): Use it.
1032
1033         * elmo-split.el (elmo-split-subr): Ditto.
1034
1035         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1036         `flags' and use elmo-folder-append-buffer instead of
1037         write-region-as-binary.
1038         (elmo-dop-filter-pending-messages): New function.
1039         (elmo-folder-append-buffer-dop): Call
1040         elmo-dop-spool-folder-append-buffer with `flag'.
1041         (elmo-folder-set-flag-dop): Filter messages by
1042         elmo-dop-filter-pending-messages.
1043         (elmo-folder-unset-flag-dop): Ditto.
1044         (elmo-folder-append-buffer-dop-delayed): Use
1045         elmo-message-flags-for-append to get flags of the message and
1046         simplify.
1047
1048 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1049
1050         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1051
1052 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1053
1054         * elmo.el (elmo-folder): Added handlers slot.
1055         (elmo-event-handler): New class.
1056         (elmo-event-handler-flag-changed): New API.
1057         (elmo-folder-add-handler): New function.
1058         (elmo-folder-remove-handler): Ditto.
1059         (elmo-folder-notify-event): Ditto.
1060         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1061         `flag-changed'.
1062         (elmo-folder-unset-flag): Ditto.
1063
1064         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1065         (elmo-folder-unset-flag): Ditto.
1066
1067         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1068         (elmo-folder-unset-flag): Ditto.
1069
1070         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1071         (elmo-folder-unset-flag): Ditto.
1072
1073         * elmo-version.el (elmo-version): Up to 2.11.33.
1074
1075 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1076
1077         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1078
1079 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1080
1081         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1082
1083         * elmo-flag.el (elmo-folder-unset-flag): Define.
1084         (elmo-global-flag-detach): Do process when the flag is not target
1085         flag.
1086
1087 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1088
1089         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1090         variable.
1091         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1092
1093 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1094
1095         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1096         function.
1097         (elmo-folder-delete-messages): Detach messages before delete
1098         messages from target folder.
1099         (elmo-folder-detach-messages): Set updated number-list to slot.
1100
1101 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1102
1103         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1104
1105 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1106
1107         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1108
1109 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1110
1111         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1112         internal use only).
1113         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1114         not modified.
1115         (elmo-folder-delete-messages): Define.
1116         (elmo-folder-move-messages): Don't call
1117         `elmo-folder-detach-messages'.
1118         (elmo-folder-synchronize): Rewrite.
1119         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1120
1121         * elmo-util.el (elmo-last): New function.
1122         (elmo-set-list): Ditto.
1123         (elmo-number-set-delete-list): Ditto.
1124         (elmo-number-set-delete): Ditto.
1125
1126         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1127
1128         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1129         `elmo-folder-delete-messages' and don't delete location map.
1130         (elmo-folder-detach-messages): Define.
1131
1132         * elmo-imap4.el (elmo-folder-delete): Use
1133         `elmo-folder-delete-messages-internal' instead of
1134         `elmo-folder-delete-messages'.
1135
1136         * elmo-filter.el (elmo-folder-delete-messages): Call
1137         `elmo-folder-detach-messages'.
1138         (elmo-folder-detach-messages): Don't call
1139         `elmo-folder-detach-messages' for target folder.
1140
1141         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1142         message deletion is succeeded.
1143
1144         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1145
1146         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1147         from `elmo-folder-delete-messages'.
1148
1149         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1150
1151         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1152
1153         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1154
1155         * elmo-version.el (elmo-version): Up to 2.11.32.
1156
1157 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1158
1159         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1160         (elmo-global-flag-list): Added obsolete variable setting.
1161
1162         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1163
1164         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1165         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1166         `elmo-mime-display-header-analysis' is nil.
1167
1168         * elmo-flag.el (elmo-global-flags): Renamed from
1169         `elmo-global-flag-list' (All other related portions are changed).
1170         (elmo-local-flags): New variable.
1171         (elmo-local-flag-p): New function.
1172         (elmo-global-flag-set-internal): Cause an error when flag is not
1173         global.
1174
1175 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1176
1177         * elmo-util.el (elmo-concat-path): Treat empty path.
1178
1179 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1180
1181         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1182         field-or-fields).
1183         (elmo-split-address-match): Ditto.
1184         (elmo-split-equal): Ditto.
1185         (elmo-split-match): Ditto.
1186
1187 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1188
1189         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1190         (elmo-generic-folder-append-messages): If src message exists but
1191         has no flag, pass (read) for the FLAG argument of
1192         `elmo-folder-append-buffer'. Otherwise, pass nil.
1193
1194         * elmo-split.el (elmo-split-subr): Likewise.
1195
1196         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1197
1198         * elmo-multi.el (elmo-message-flags): Ditto.
1199
1200         * elmo-filter.el (elmo-message-flags): Ditto.
1201
1202         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1203         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1204         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1205         
1206 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1207
1208         * elmo-split.el (elmo-split-rule): Update comment.
1209         (elmo-split-address-equal): Allow 2nd argument to be a list.
1210         (elmo-split-address-match): Ditto.
1211         (elmo-split-equal): Ditto.
1212         (elmo-split-match): Ditto.
1213
1214 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1215
1216         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1217         (elmo-folder-append-msgdb): Don't treat `read'.
1218         (elmo-message-flags): Don't return `read'.
1219
1220         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1221         (elmo-folder-unset-read-delayed): Ditto.
1222
1223         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1224
1225 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1226
1227         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1228         deletion.
1229
1230 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1231
1232         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1233         header.
1234
1235 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1236
1237         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1238         here.
1239         (elmo-msgdb-save): Bind inhibit-quit.
1240         (modb-standard-message-entity): Ditto.
1241
1242 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1243
1244         * elmo-database.el: No need to require elmo-msgdb.
1245
1246 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1247
1248         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1249         instead of `elmo-list-subdirectories'.
1250
1251 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1252
1253         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1254         group entry.
1255         (elmo-folder-exists-p): "[" is empty.
1256         (elmo-folder-list-subfolders): Define.
1257         (elmo-folder-have-subfolder-p): Ditto.
1258
1259 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1260
1261         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1262
1263 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1264
1265         * elmo-filter.el (elmo-folder-local-p): Define.
1266
1267 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1268
1269         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1270         when entity is garbaged.
1271         (modb-standard-save-entity-1): Don't modify the original entity.
1272
1273 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1274
1275         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1276
1277 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1278
1279         * elmo.el (elmo-strict-folder-diff): Use
1280         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1281
1282 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1283
1284         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1285         (elmo-msgdb-message-number): Ditto.
1286         (elmo-msgdb-message-field): Ditto.
1287
1288         * modb-standard.el (modb-standard-economize-entity-size): New user
1289         option.
1290         (modb-standard-loaded-message-id): New inline function.
1291         (modb-standard-load-entity): Use it.
1292         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1293         throw message-id string away.
1294         (elmo-msgdb-flag-available-p): Define.
1295         (elmo-msgdb-message-number): Ditto.
1296         (elmo-msgdb-message-field): Ditto.
1297
1298         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1299         (suppoted -> supported).
1300         (modb-legacy-supported-flag-p): Ditto.
1301         (elmo-msgdb-set-flag): Ditto.
1302         (elmo-msgdb-unset-flag): Ditto.
1303         (elmo-msgdb-flag-available-p): Define.
1304
1305         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1306         is `t', treat it as legacy entity.
1307         
1308         * elmo.el (elmo-message-flag-available-p): New generic function.
1309         (elmo-message-number): Ditto.
1310         (elmo-message-field): Use `elmo-msgdb-message-field'.
1311
1312         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1313
1314         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1315         (elmo-message-number): Ditto.
1316
1317         * elmo-multi.el (elmo-message-number): Define.
1318         (elmo-message-flag-available-p): Ditto.
1319
1320         * elmo-filter.el (elmo-message-flag-available-p): Define.
1321         (elmo-message-number): Ditto.
1322
1323         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1324         (elmo-folder-initialize): Load `max-number'.
1325         (elmo-folder-commit): Save it.
1326         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1327         (elmo-global-flag-set-internal): Set up max-number slot.
1328
1329 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1330
1331         * elmo-version.el (elmo-version): Up to 2.11.31.
1332
1333 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1334
1335         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1336         unibyte string of the current buffer for the argument of `md5'
1337         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1338
1339 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1340
1341         * modb-legacy.el (modb-legacy-flag-list): New constant.
1342         (modb-legacy-suppoted-flag-p): New internal function.
1343         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1344         (elmo-msgdb-unset-flag): Ditto.
1345
1346 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1347
1348         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1349
1350         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1351         from msgdb.
1352
1353 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1354
1355         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1356         (follow the API change).
1357
1358         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1359
1360 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1361
1362         * modb-standard.el (modb-standard-digest-flags): Abolish.
1363         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1364
1365         * elmo-vars.el (elmo-digest-flags): New variable.
1366         (elmo-preserved-flags): Moved from elmo-flag.el.
1367
1368         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1369         (elmo-imap4-flag-to-imap-criteria): Ditto.
1370         (elmo-imap4-folder-list-flagged): Use it.
1371
1372         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1373
1374         * elmo.el (elmo-folder-count-flags): Changed return value.
1375
1376         * elmo-flag.el (elmo-preserved-flags): New variable.
1377         (elmo-get-global-flags): Use it.
1378
1379         * modb-standard.el (modb-standard-digest-flags): New variable.
1380         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1381         Changed behavior of `any'.
1382
1383         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1384         which are defined the Internet draft
1385         (draft-melnikov-imap-keywords-03.txt).
1386         (elmo-imap4-flags-to-imap): New function.
1387         (elmo-folder-append-buffer): Use it.
1388
1389         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1390         in the docstring.
1391
1392         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1393         avoid the bug of Emacs 21.3.
1394
1395 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1396
1397         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1398         function find-coding-system does not exist.
1399
1400 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1401
1402         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1403         parsing.
1404
1405 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1406
1407         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1408         response codes.
1409
1410 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1411
1412         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1413         (elmo-network-close-session): Follow the changes in
1414         `elmo-pop3-read-response'.
1415         (elmo-pop3-auth-user): Ditto.
1416         (elmo-pop3-auth-apop): Ditto.
1417         (elmo-network-initialize-session): Ditto.
1418         (elmo-network-authenticate-session): Ditto.
1419         (elmo-network-setup-session): Ditto.
1420         (elmo-folder-status): Ditto.
1421         (elmo-message-fetch-plugged): Ditto.
1422         (elmo-pop3-delete-msg): Ditto.
1423
1424 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1425
1426         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1427         on failure.
1428
1429 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1430
1431         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1432         style.
1433         (elmo-bind-directory): Ditto.
1434
1435 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1436
1437         * elmo.el (elmo-folder-append-messages): Note on return value.
1438         * elmo-archive.el (elmo-folder-append-messages): Don't return
1439         message numbers which could not be appended.
1440
1441 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1442
1443         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1444
1445 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1446
1447         * elmo-version.el (elmo-version): Up to 2.11.30.
1448
1449 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1450
1451         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1452         `mask'.
1453
1454         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1455
1456         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1457         (elmo-multi-split-numbers): Add elmo-folder object into each
1458         element of return value at first.
1459         (elmo-folder-delete-messages): Follow the above change.
1460         (elmo-folder-detach-messages): Ditto.
1461
1462         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1463         number which is synchronized in target folder.
1464
1465 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1466
1467         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1468         Change default value to symbol `all'.
1469         (elmo-map-message-fetch): Change condition to update overview
1470         follow the above.
1471
1472 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1473
1474         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1475         behavior to update overview.
1476         (elmo-shimbun-update-overview-folder-list): Note it.
1477
1478 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1479
1480         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1481         recursive call.
1482
1483 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1484
1485         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1486         buffer-disable-undo, it is unnecessary.
1487         (elmo-spam-register-good-messages): Ditto.
1488
1489         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1490         Ditto.
1491
1492         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1493
1494 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1495
1496         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1497         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1498         elmo-set-buffer-multibyte.
1499         (elmo-object-load): Ditto.
1500         (elmo-save-buffer): Ditto.
1501         (elmo-delete-char): Ditto.
1502         (elmo-file-field-primitive-condition-match): Ditto.
1503         (elmo-mime-string): Ditto.
1504
1505         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1506         (elmo-archive-field-condition-match): Ditto.
1507
1508         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1509
1510         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1511
1512         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1513         (elmo-nntp-msgdb-create-message): Ditto.
1514
1515         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1516
1517         * elmo.el (elmo-message-match-condition): Ditto.
1518         (elmo-message-match-condition): Ditto.
1519
1520         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1521         Ditto.
1522
1523         * elmo-version.el (elmo-version): Up to 2.11.29.
1524
1525         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1526         (elsp-header): New backend.
1527
1528         * elmo-util.el (elmo-decoded-field-body): New function.
1529
1530 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * elmo-version.el (elmo-version): Up to 2.11.28.
1533
1534 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1535
1536         * elmo-filter.el: Rewrite.
1537
1538         * elmo-version.el (elmo-version): Up to 2.11.27.
1539
1540 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1541
1542         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1543         msgdb path for the localdir folder with absolute path.
1544
1545         * utf7.el: Synch up with latest gnus/utf7.el;
1546         Modified for latest Emacs.
1547
1548 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1549
1550         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1551         shimbun backend couldn't open.
1552
1553 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1554
1555         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1556         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1557         when a destination folder is a filter folder.
1558
1559 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1560
1561         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1562         (elmo-generic-folder-append-messages): Call elmo-message-flags
1563         with argument `msgid'.
1564
1565         * elmo-split.el (elmo-split-subr): Ditto.
1566
1567         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1568
1569         * elmo-multi.el (elmo-message-flags): Ditto.
1570
1571 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1572
1573         * elmo.el (elmo-folder): Add new slot `flag-table'.
1574         (elmo-folder-flag-table): New API.
1575         (elmo-folder-close-flag-table): Ditto.
1576         (elmo-folder-preserve-flags): New function.
1577         (elmo-generic-folder-append-messages): Use
1578         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1579         Flag of a non-registered message, it sets to nil.
1580         Does not set flag to flag-table.
1581
1582         * elmo-maildir.el (elmo-folder-append-buffer): Use
1583         `elmo-folder-preserve-flags'.
1584         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1585         `elmo-folder-close-flag-table'.
1586
1587         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1588         (elmo-archive-folder-append-buffer): Use
1589         `elmo-folder-preserve-flags'.
1590
1591         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1592
1593         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1594
1595         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1596         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1597         `elmo-folder-close-flag-table'.
1598
1599         * elmo-version.el (elmo-version): Up to 2.11.26.
1600
1601 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1602
1603         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1604
1605         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1606         md5's 4th and 5th argument (non-existent in flim one).
1607
1608 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1609
1610         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1611         message, It sets to nil.
1612
1613 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1614
1615         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1616         list is non-nil.
1617
1618 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1619
1620         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1621
1622         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1623
1624         * elmo-util.el (elmo-uniq-sorted-list): New function.
1625         (elmo-make-number-list): Ditto.
1626         (elmo-number-set-to-number-list): Use elmo-make-number-list
1627         and don't use nreverse.
1628
1629 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1630
1631         * elmo-version.el (elmo-version): Up to 2.11.25.
1632
1633 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1634
1635         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1636         field not exists in message, Use md5 message digest of header.
1637
1638 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1639
1640         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1641         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1642         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1643         * elmo-split.el (elmo-split-subr): Check return value of
1644         elmo-folder-append-buffer.
1645
1646         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1647         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1648
1649         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1650         message-id.
1651
1652 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1653
1654         * elmo-split.el (elmo-split-subr): Append message with flag.
1655
1656         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1657         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1658         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1659
1660 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1661
1662         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1663         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1664         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1665
1666 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1667
1668         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1669         with a function call of `process-buffer'.  All callers are updated.
1670         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1671         Remove redundant `set-buffer' in a while loop.
1672
1673 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1674
1675         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1676         calls.
1677
1678 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1679
1680         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1681         elsp-spamfilter-register-buffer-internal with current buffer.
1682         (elmo-spam-register-spam-buffer): Ditto.
1683         (elmo-spam-register-good-buffer): Ditto.
1684
1685 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1686
1687         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1688         if it is not contained in the response(A workaround for courier-imap).
1689
1690 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1691
1692         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1693         parenthesis.
1694
1695 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1696
1697         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1698         range.
1699
1700 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1703         of nconc.
1704
1705         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1706         argument handler.
1707         (elmo-msgdb-message-match-condition): Follow the change above.
1708
1709 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1710
1711         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1712         folder name.
1713
1714 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1715
1716         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1717
1718 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1721
1722 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1723
1724         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1725         not found.
1726
1727 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1728
1729         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1730         value.
1731         (elmo-file-command-argument): Undo last change for cygwin.
1732         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1733         Don't return nil.
1734         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1735
1736 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1737
1738         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1739         value returned from elmo-file-find is nil.
1740
1741 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1742
1743         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1744         to elmo-vars.el.
1745
1746         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1747         instead of insert-file-contents-as-binary.
1748         (elmo-message-set-field): New generic function.
1749
1750         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1751         behavior change on `split-string'.
1752
1753         * elmo-file.el (elmo-file-find): New function.
1754         (elmo-file-command): New user option.
1755         (elmo-file-command-argument): Ditto.
1756         (elmo-file-fetch-max-size): Ditto.
1757         (elmo-file-detect-format): New function.
1758         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1759         Use elmo-file-detect-format.
1760         (elmo-map-folder-list-message-locations): Don't treat directories.
1761
1762 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1763
1764         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1765         (elmo-passwd-alist-clear): Shred password before clear.
1766         (elmo-remove-passwd): Remove all mached pair.
1767
1768 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1769
1770         * elmo.el (elmo-folder-synchronize): Fix description of the return
1771         value.
1772
1773 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1774
1775         * elmo.el (elmo-message-fetch-bodystructure): New method.
1776         (elmo-message-fetch-bodystructure): Define default.
1777
1778         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1779         elmo-message-fetch-bodystructure.
1780         (elmo-message-fetch-bodystructure): Define.
1781
1782         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1783
1784 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1785
1786         * elmo-filter.el (elmo-message-folder): Define.
1787
1788 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1789
1790         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1791         elmo-delete-cr-buffer.
1792
1793         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1794
1795         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1796
1797         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1798
1799         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1800         type seems to be a text.
1801
1802 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1803
1804         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1805         (elmo-spam-register-good-buffer): Ditto.
1806         (elmo-spam-spamassassin-register-messages): Ditto.
1807
1808         * elmo-util.el (elmo-string-member-ignore-case): Define with
1809         static-cond.
1810
1811 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1812
1813         * elmo.el (elmo-folder-type): Undo last change.
1814
1815         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1816
1817         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1818         warnings.
1819
1820         * elmo-file.el: New file.
1821         
1822         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1823
1824         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1825         variable.
1826         (elmo-spam-spamassassin-register-messages): New inline function.
1827         (elmo-spam-register-spam-messages): Define.
1828         (elmo-spam-register-good-messages): Ditto.
1829
1830         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1831         Fixed typo.
1832
1833         * elmo.el (toplevel): Added autoload setting for
1834         `elmo-get-global-flags'.
1835         (elmo-message-has-global-flag-p): New function.
1836         (elmo-message-set-global-flags): Ditto.
1837         (elmo-folder-type): Improvement for name: format.
1838
1839         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1840         availability of keyword flags.
1841         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1842         (elmo-folder-list-flagged-plugged): Renamed from
1843         elmo-folder-list-flagged-unplugged.
1844         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1845         accept any flag as keyword flag.
1846         (elmo-folder-set-flag-plugged): Accept keyword flags.
1847         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1848
1849         * elmo-flag.el (elmo-get-global-flags): New function.
1850
1851         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1852         folders.
1853
1854         * elmo-version.el (elmo-version): Up to 2.11.24.
1855
1856 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1857
1858         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1859         elmo-multiple-field-body instead of std11-field-body to check all
1860         headers.
1861
1862 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1863
1864         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1865         or "size".
1866
1867 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1868
1869         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1870         unintern is unbound.
1871
1872 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1873
1874         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1875         Protect from infinite loop.
1876
1877 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1878
1879         * elsp-bogofilter.el
1880         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1881         (elmo-spam-bogofilter-register-messages): New internal function.
1882         (elmo-spam-register-spam-messages): Define.
1883         (elmo-spam-register-good-messages): Ditto.
1884
1885 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1888         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1889         (elmo-spam-bogofilter-call): Fixed the last change.
1890         (elmo-spam-bogofilter-arguments): Ditto.
1891
1892         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1893         Follow the options change of latest bogofilter.
1894
1895         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1896         (elmo-spam-bogofilter-good-switch): Ditto.
1897         (elmo-spam-bogofilter-arguments-alist): New user option.
1898         (elmo-spam-bogofilter-debug): Ditto.
1899         (elmo-spam-bogofilter-call): Renamed from
1900         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1901         is non-nil, insert output in buffer for debug.
1902         (elmo-spam-bogofilter-arguments): New macro.
1903         (elmo-spam-buffer-spam-p): Use it.
1904         (elsp-bogofilter-register-buffer): Ditto.
1905
1906 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1907
1908         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1909         regexp.
1910
1911 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1912
1913         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1914         value as "ruby".
1915         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1916         (elmo-spam-bsfilter-program): Set default value as full path for
1917         `bsfilter'.
1918         (elmo-spam-bsfilter-debug): New user option.
1919         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1920         non-nil, insert output in buffer for debug. Fix treating of
1921         argument.
1922
1923 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1924
1925         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1926         `elmo-maildir-flag-specs' element instead of one.
1927         (elmo-map-folder-unset-flag): Ditto.
1928         (Reported by Ken Makimura <macky@astem.or.jp>)
1929
1930         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1931         (elmo-folder-unset-flag-plugged): Ditto.
1932
1933 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1934
1935         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1936         to `reads' slot only if `in-msgdb' is nil.
1937
1938 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1939
1940         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1941         and complement argument list.
1942
1943 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1944
1945         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1946         instead of elmo-folder-list-flagged.
1947
1948 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1949
1950         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1951
1952         * elsp-bsfilter.el: New file.
1953
1954         * elmo-pipe.el (elmo-folder-list-unreads,
1955         elmo-folder-list-answereds,
1956         elmo-folder-list-importants,
1957         elmo-folder-flag-as-important,
1958         elmo-folder-unflag-important,
1959         elmo-folder-flag-as-read,
1960         elmo-folder-unflag-read,
1961         elmo-folder-flag-as-answered,
1962         elmo-folder-unflag-answered): Remove.
1963         (elmo-folder-set-flag): Define.
1964         (elmo-folder-unset-flag): Ditto.
1965
1966         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1967         (elmo-folder-set-flag): Define.
1968         (elmo-folder-unset-flag): Ditto.
1969         (elmo-folder-list-unreads): Remove.
1970         (elmo-folder-list-flagged): Define.
1971
1972         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1973         (elmo-folder-list-unreads,
1974         elmo-folder-list-importants,
1975         elmo-folder-list-answereds,
1976         elmo-folder-list-unreads-plugged,
1977         elmo-folder-list-importants-plugged,
1978         elmo-folder-list-answereds-plugged): Remove.
1979         (elmo-folder-list-flagged-plugged): New method.
1980         (elmo-folder-unflag-important,
1981         elmo-folder-flag-as-important,
1982         elmo-folder-unflag-read,
1983         elmo-folder-flag-as-read,
1984         elmo-folder-unflag-answered,
1985         elmo-folder-flag-as-answered,
1986         elmo-folder-flag-as-read-unplugged,
1987         elmo-folder-unflag-read-unplugged,
1988         elmo-folder-flag-as-important-unplugged,
1989         elmo-folder-unflag-important-unplugged,
1990         elmo-folder-flag-as-answered-unplugged,
1991         elmo-folder-unflag-answered-unplugged): Remove.
1992         (elmo-folder-set-flag): Define.
1993         (elmo-folder-unset-flag): Ditto.
1994         (elmo-folder-set-flag-unplugged): Ditto.
1995         (elmo-folder-unset-flag-unplugged): Ditto.
1996
1997         * elmo-multi.el (elmo-folder-list-unreads,
1998         elmo-folder-list-answereds,
1999         elmo-folder-list-importants,
2000         elmo-folder-flag-as-important,
2001         elmo-folder-unflag-important,
2002         elmo-folder-flag-as-read,
2003         elmo-folder-unflag-read,
2004         elmo-folder-flag-as-answered,
2005         elmo-folder-unflag-answered): Remove.
2006         (elmo-folder-set-flag): Define.
2007         (elmo-folder-unset-flag): Ditto.
2008
2009         * elmo-map.el (elmo-map-folder-unflag-important,
2010         elmo-map-folder-flag-as-important,
2011         elmo-map-folder-unflag-read,
2012         elmo-map-folder-flag-as-read,
2013         elmo-map-folder-unflag-answered,
2014         elmo-map-folder-flag-as-answered): Remove.
2015         (elmo-map-folder-set-flag): New method.
2016         (elmo-map-folder-unset-flag): Ditto.
2017         (elmo-map-folder-list-unreads,
2018         elmo-map-folder-list-importants,
2019         elmo-map-folder-list-answereds): Remove.
2020         (elmo-folder-list-flagged-internal): Define.
2021         (elmo-map-folder-list-flagged): New method.
2022
2023         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2024         (elmo-map-folder-list-unreads,
2025         elmo-map-folder-list-importants,
2026         elmo-map-folder-list-flagged): Remove.
2027         (elmo-map-folder-list-flagged): Define.
2028         (elmo-map-folder-flag-as-important,
2029         elmo-map-folder-unflag-important,
2030         elmo-map-folder-flag-as-read,
2031         elmo-map-folder-unflag-read,
2032         elmo-map-folder-flag-as-answered,
2033         elmo-map-folder-unflag-answered): Remove.
2034         (elmo-maildir-set-mark-messages): New internal function.
2035         (elmo-map-folder-set-flag): Define.
2036         (elmo-map-folder-unset-flag): Ditto.
2037
2038         * elmo.el (toplevel): Added autoload setting for
2039         `elmo-folder-list-global-flag-messages'.
2040         (elmo-folder-list-unreads,
2041         elmo-folder-list-importants,
2042         elmo-folder-list-answereds): Remove.
2043         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2044         Return a list whitch merged with messages have global flag.
2045         (elmo-folder-list-flagged-internal): New method.
2046         (elmo-folder-unflag-important,
2047         elmo-folder-flag-as-important,
2048         elmo-folder-unflag-read,
2049         elmo-folder-flag-as-read,
2050         elmo-folder-unflag-answered,
2051         elmo-folder-flag-as-answered): Remove.
2052         (elmo-folder-set-flag): New method.
2053         (elmo-folder-unset-flag): Ditto.
2054         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2055         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2056
2057         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2058         (elmo-folder-list-unreads-plugged,
2059         elmo-folder-list-importants-plugged,
2060         elmo-folder-list-answereds-plugged,
2061         elmo-folder-list-flagged-unplugged,
2062         elmo-folder-unflag-important-plugged,
2063         elmo-folder-flag-as-important-plugged,
2064         elmo-folder-unflag-read-plugged,
2065         elmo-folder-flag-as-read-plugged,
2066         elmo-folder-unflag-answered-plugged,
2067         elmo-folder-flag-as-answered-plugged): Remove.
2068         (elmo-folder-set-flag-plugged,
2069         elmo-folder-unset-flag-plugged): Define.
2070
2071         * elmo-flag.el (elmo-folder-initialize): Register to
2072         `elmo-global-flag-list' if flag is not global.
2073         (elmo-folder-append-messages): Set flag to source messages.
2074
2075         * elmo-filter.el (elmo-filter-folder-list-unreads,
2076         elmo-folder-list-unreads,
2077         elmo-filter-folder-list-importants,
2078         elmo-folder-list-importants,
2079         elmo-folder-flag-as-read,
2080         elmo-folder-unflag-read,
2081         elmo-folder-flag-as-important,
2082         elmo-folder-unflag-important,
2083         elmo-folder-flag-as-answered,
2084         elmo-folder-unflag-answered): Remove.
2085         (elmo-folder-set-flag): Define.
2086         (elmo-folder-unset-flag): Ditto.
2087
2088         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2089         elmo-folder-unflag-read-dop,
2090         elmo-folder-flag-as-important-dop,
2091         elmo-folder-unflag-important-dop,
2092         elmo-folder-flag-as-answered-dop,
2093         elmo-folder-unflag-answered-dop): Remove.
2094         (elmo-folder-set-flag-dop,
2095         elmo-folder-unset-flag-dop,
2096         elmo-folder-set-important-delayed,
2097         elmo-folder-unset-important-delayed,
2098         elmo-folder-set-read-delayed,
2099         elmo-folder-unset-read-delayed,
2100         elmo-folder-set-answered-delayed,
2101         elmo-folder-unset-answered-delayed): New function.
2102         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2103         (elmo-dop-queue-method-name-alist): Ditto.
2104
2105         * elmo-version.el (elmo-version): Up to 2.11.23.
2106
2107 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2108
2109         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2110
2111         * elsp-sa.el: New file.
2112
2113 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2114
2115         * modb-standard.el (modb-standard-message-entity): New function.
2116         (elmo-msgdb-message-entity): Use it.
2117
2118 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2119
2120         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2121         behavior when one-level is nil.
2122
2123         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2124
2125         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2126
2127 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2128
2129         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2130         get max number.
2131         (elmo-generic-folder-diff): Ditto.
2132
2133         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2134         (elmo-folder-update-number): Ditto.
2135
2136         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2137         (elmo-folder-next-message-number-dop): Ditto.
2138
2139 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2140
2141         * elmo-filter.el (elmo-folder-msgdb-create): Use
2142         `elmo-message-entity' and `elmo-message-flags' instead of
2143         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2144
2145 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2148         `if-exists'.
2149
2150 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2151
2152         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2153
2154         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2155
2156         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2157
2158 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2159
2160         * elmo-version.el (elmo-version): Up to 2.11.22.
2161
2162 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2163
2164         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2165
2166 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2167
2168         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2169         if the message dose not exist.
2170
2171 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2172
2173         * elmo-version.el (elmo-version): Up to 2.11.21.
2174
2175 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2176
2177         * modb-standard.el (toplevel): Don't require mime.
2178
2179 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2180
2181         * elsp-bogofilter.el (toplevel): Don't require path-util.
2182         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2183         (elmo-spam-bogofilter-header): Abolish.
2184         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2185         (elmo-spam-bogofilter-args): New user option.
2186         (elsp-bogofilter-call-bogofilter): New internal function.
2187         (elmo-spam-buffer-spam-p): Use it.
2188         (elsp-bogofilter-register-buffer): Renamed from
2189         `elmo-spam-bogofilter-register-buffer';
2190         Use `elsp-bogofilter-call-bogofilter'.
2191         (elmo-spam-register-spam-buffer): Follow the change above.
2192         (elmo-spam-register-good-buffer): Ditto.
2193
2194 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2195
2196         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2197         message-id is nil do nothing.
2198
2199 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2200
2201         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2202         Revival.
2203         (elmo-imap4-session): Removed use-flag slot.
2204         (elmo-imap4-session-select-mailbox): Undo last change.
2205         (elmo-folder-use-flag-p): Use
2206         elmo-imap4-disuse-server-flag-mailbox-regexp.
2207
2208 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2209
2210         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2211         (elmo-imap4-session-select-mailbox): Set it up.
2212         (elmo-folder-use-flag-p): Return value of use-flag slot.
2213
2214 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2217         message-id is nil.
2218         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2219
2220         * modb-entity.el (elmo-message-entity-handler): Likewise.
2221
2222 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2223
2224         * elmo.el (toplevel): Remove setting of autoloding for
2225         elmo-global-flag-initialize.
2226         (elmo-init): Don't call elmo-global-flag-initialize.
2227         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2228
2229         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2230         (elmo-global-mark-migrate): Don't call it.
2231         (elmo-global-mark-upgrade): Ditto.
2232
2233 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2234
2235         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2236         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2237
2238         * elmo-vars.el (elmo-init-hook): New user option.
2239
2240         * elmo.el (elmo-init): Run the elmo-init-hook.
2241
2242         * elmo-flag.el (elmo-global-mark-migrate): New function.
2243
2244 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2245
2246         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2247         Undo last change (move to elmo-msgdb-unset-flag).
2248         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2249         flag is unset.
2250
2251 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2252
2253         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2254         read flag is set.
2255         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2256         (elmo-msgdb-unset-flag): Ditto.
2257
2258 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2259
2260         * elmo-split.el (elmo-split): Return split message count.
2261
2262 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2263
2264         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2265         is nil.
2266
2267 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2268
2269         * elmo.el (elmo-folder-unflag-important): Call
2270         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2271         a symbol `always'.
2272
2273         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2274         before unset flag.
2275         (elmo-global-flag-detach): Delete the message from flag folder, if
2276         `delete-if-none' is a symbol `always'.
2277
2278 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2279
2280         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2281         `elmo-spam-spamfilter-decode-buffer'.
2282         (elsp-spamfilter-register-buffer-internal): New internal function.
2283         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2284         (elmo-spam-register-spam-buffer): Ditto.
2285         (elmo-spam-register-good-buffer): Ditto.
2286
2287         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2288         change.
2289         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2290         (elmo-spam-register-spam-buffer): Follow the API change.
2291         (elmo-spam-register-good-buffer): Ditto.
2292
2293         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2294         (elmo-split-spam-p): Added argument plist; Call
2295         `elmo-spam-buffer-spam-p' with new argument register.
2296
2297         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2298         `register'.
2299         (elmo-spam-message-spam-p): Ditto.
2300         (elmo-spam-register-spam-buffer): Added optional argument
2301         `restore'.
2302         (elmo-spam-register-good-buffer): Ditto.
2303         (elmo-spam-register-spam-messages): Ditto.
2304         (elmo-spam-register-good-messages): Ditto.
2305
2306 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2307
2308         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2309         register into good corpus.
2310         (elmo-spam-register-good-buffer): Fixed to register into bad
2311         corpus.
2312
2313 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2314
2315         * elmo-version.el (elmo-version): Up to 2.11.20.
2316
2317         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2318         change.
2319
2320         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2321         flag without depending on \Recent flag.
2322
2323 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2324
2325         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2326         (elmo-spam-modified-p): Defined.
2327         (elmo-spam-save-status): Set `modified' slot to nil.
2328         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2329         (elmo-spam-register-good-buffer): Ditto.
2330
2331         * elmo-spam.el (elmo-spam-modified-p): New API.
2332
2333 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2334
2335         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2336         duplicate definition.
2337
2338         * elmo-util.el (elmo-unfold-field-body): New function.
2339         (elmo-msgdb-get-message-id-from-buffer): Use it.
2340
2341         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2342         Fixed the last change; Use elmo-unfold-field-body.
2343
2344 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2345
2346         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2347         Unfold date value.
2348
2349 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2350
2351         * elmo-spam.el (elmo-spam-save-status): New API.
2352
2353         * elsp-spamfilter.el: New file.
2354
2355 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2356
2357         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2358
2359 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2360
2361         * elmo-split.el (elmo-split-spam-p): New function.
2362
2363         * elmo-spam.el: New file.
2364
2365         * elsp-bogofilter.el: Ditto.
2366
2367 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2368
2369         * elmo.el (elmo-folder-next-message-number): New API.
2370         (elmo-folder-next-message-number): Define.
2371         (elmo-message-field): Don't check folder length.
2372
2373         * elmo-net.el (elmo-folder-next-message-number): Define.
2374         (elmo-folder-next-message-number-unplugged): Define.
2375
2376         * elmo-map.el (elmo-folder-next-message-number): Define.
2377         (elmo-folder-delete-messages): Clear hash value.
2378
2379         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2380
2381         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2382         (elmo-folder-delete-messages-dop-delayed): Always return t.
2383
2384         * elmo-version.el (elmo-version): Up to 2.11.19.
2385
2386 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2387
2388         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2389         change.
2390
2391         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2392         identical cons cell into the mark-alist and the hash table.
2393
2394 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2395
2396         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2397         elmo-folder-list-messages with argument `visible-only' as t.
2398
2399         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2400         (elmo-folder-msgdb-create): Check the target folder.
2401
2402 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2403
2404         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2405         `permanentflag' instead of `flags'.
2406         (elmo-folder-open): Ditto.
2407         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2408         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2409         (elmo-folder-use-flag-p): Always return t.
2410         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2411         `permanentflags' does not exist.
2412         (elmo-folder-open): Ditto.
2413
2414 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2415
2416         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2417         is nil.
2418         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2419
2420         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2421         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2422         response.
2423         (elmo-folder-open): Ditto.
2424         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2425         slot of the session includes the flag.
2426         (elmo-imap4-session-flag-available-p): New function.
2427         (elmo-imap4-folder-list-flagged): Ditto.
2428         (elmo-folder-list-unreads-plugged): Use it.
2429         (elmo-folder-list-importants-plugged): Ditto.
2430         (elmo-folder-list-answereds-plugged): Ditto.
2431         (elmo-imap4-search-internal-primitive): Ditto.
2432         (elmo-imap4-folder-list-any-plugged,
2433         elmo-imap4-folder-list-digest-plugged): Abolish.
2434
2435         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2436         if numbers is nil.
2437
2438 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2439
2440         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2441
2442 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2443
2444         * elmo-util.el (elmo-get-hash-val): Simplify.
2445         (elmo-set-hash-val): Rewrite.
2446
2447 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2448
2449         * elmo.el (elmo-folder-list-messages): Append killed messages into
2450         result if `visible-only' is nil and `in-msgdb' is non-nil.
2451
2452         * elmo-util.el (elmo-uniq-list): Added optional argument
2453         `delete-function'.
2454
2455         * modb.el (elmo-msgdb-flag-count): New API.
2456
2457         * modb-standard.el (modb-standard): Added slot flag-count.
2458         (modb-standard-countup-flags): New function.
2459         (modb-standard-load-flag): Call it.
2460         (elmo-msgdb-append): Ditto.
2461         (elmo-msgdb-clear): Clear slot flag-count.
2462         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2463         (elmo-msgdb-unset-flag): Treat `all' flag and call
2464         modb-standard-countup-flags.
2465         (elmo-msgdb-flag-count): Define.
2466         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2467         (elmo-msgdb-delete-messages): Ditto.
2468
2469         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2470         (elmo-msgdb-flag-count): Define.
2471
2472         * elmo.el (elmo-folder-list-messages): Undo last change.
2473         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2474         (elmo-folder-kill-messages): Unset all flags to numbers.
2475
2476         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2477         elmo-folder-kill-messages.
2478
2479         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2480         (elmo-nntp-folder-delete-messages): Abolish.
2481
2482         * elmo-version.el (elmo-version): Up to 2.11.18.
2483
2484 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2485
2486         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2487         (elmo-folder-kill-messages-range): New function.
2488         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2489         instead of elmo-folder-kill-messages-before.
2490
2491 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2492
2493         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2494         elmo-imap4-current-msgdb to decide entity handler.
2495
2496 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2497
2498         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2499
2500         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2501         inline function.
2502         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2503         (elmo-msgdb-overview-entity-set-number,
2504         elmo-msgdb-overview-entity-get-references,
2505         elmo-msgdb-overview-entity-set-references,
2506         elmo-msgdb-overview-entity-get-from-no-decode,
2507         elmo-msgdb-overview-entity-get-from,
2508         elmo-msgdb-overview-entity-set-from,
2509         elmo-msgdb-overview-entity-get-subject,
2510         elmo-msgdb-overview-entity-get-subject-no-decode,
2511         elmo-msgdb-overview-entity-set-subject,
2512         elmo-msgdb-overview-entity-get-date,
2513         elmo-msgdb-overview-entity-set-date,
2514         elmo-msgdb-overview-entity-get-to,
2515         elmo-msgdb-overview-entity-get-cc,
2516         elmo-msgdb-overview-entity-get-size,
2517         elmo-msgdb-overview-entity-set-size,
2518         elmo-msgdb-overview-entity-get-extra,
2519         elmo-msgdb-overview-entity-set-extra,
2520         elmo-msgdb-overview-entity-get-extra-field,
2521         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2522         (elmo-msgdb-make-index): Use
2523         `elmo-msgdb-overview-entity-get-number-internal'.
2524         (elmo-msgdb-clear-index): Ditto.
2525         (elmo-msgdb-append-entity): Ditto;
2526         Use `elmo-msgdb-overview-entity-get-id-internal'.
2527
2528         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2529         elmo-msgdb-overview-entity-set-number,
2530         elmo-msgdb-overview-entity-get-references,
2531         elmo-msgdb-overview-entity-set-references,
2532         elmo-msgdb-overview-entity-get-from-no-decode,
2533         elmo-msgdb-overview-entity-get-from,
2534         elmo-msgdb-overview-entity-set-from,
2535         elmo-msgdb-overview-entity-get-subject,
2536         elmo-msgdb-overview-entity-get-subject-no-decode,
2537         elmo-msgdb-overview-entity-set-subject,
2538         elmo-msgdb-overview-entity-get-date,
2539         elmo-msgdb-overview-entity-set-date,
2540         elmo-msgdb-overview-entity-get-to,
2541         elmo-msgdb-overview-entity-get-cc,
2542         elmo-msgdb-overview-entity-get-size,
2543         elmo-msgdb-overview-entity-set-size,
2544         elmo-msgdb-overview-entity-get-extra,
2545         elmo-msgdb-overview-entity-set-extra,
2546         elmo-msgdb-overview-entity-get-extra-field,
2547         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2548         and rewrote for backward compatibility.
2549
2550 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2551
2552         * elmo.el (elmo-message-entity-number,
2553         elmo-message-entity-set-number,
2554         elmo-message-entity-field,
2555         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2556
2557         * elmo-msgdb.el (elmo-message-entity-number,
2558         elmo-message-entity-set-number,
2559         elmo-message-entity-field,
2560         elmo-message-entity-set-field): Moved from elmo.el.
2561
2562 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2563
2564         * elmo.el (toplevel): Changed definition orders.
2565
2566 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2567
2568         * modb.el (elmo-msgdb-search): New API .
2569         (elmo-msgdb-match-condition): Ditto.
2570
2571         * modb-standard.el (elmo-msgdb-search): Define.
2572
2573         * modb-legacy.el (elmo-msgdb-search): Ditto.
2574
2575         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2576         from elmo-msgdb-match-condition-internal.
2577
2578         * elmo.el (elmo-folder-search-fast): Abolish.
2579         (elmo-folder-search): Use elmo-msgdb-search and
2580         elmo-with-progress-display.
2581
2582         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2583         as msgdb API.
2584
2585         * elmo.el (elmo-folder): Remove slot message-modified and
2586         flag-modified.
2587         (elmo-folder-set-message-modified): Abolish.
2588         (elmo-generic-folder-commit): Follow the change above.
2589         (elmo-folder-synchronize): Ditto.
2590
2591         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2592
2593         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2594
2595         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2596
2597 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2598
2599         * modb-standard.el (modb-standard-make-message-entity,
2600         elmo-msgdb-make-message-entity,
2601         elmo-msgdb-create-message-entity-from-buffer,
2602         elmo-msgdb-message-entity-number,
2603         elmo-msgdb-message-entity-set-number,
2604         elmo-msgdb-message-entity-field,
2605         elmo-msgdb-message-entity-set-field,
2606         elmo-msgdb-copy-message-entity,
2607         elmo-msgdb-match-condition-internal): Remove.
2608
2609         * modb-entity.el: New file (again).
2610
2611         * modb.el (toplevel): Require modb-entity.
2612         (elmo-msgdb-message-entity-handler): New method.
2613
2614         * modb-standard.el (modb-standard-entity-id): Use
2615         elmo-message-entity-handler.
2616         (modb-standard-load-entity): Ditto.
2617         (elmo-msgdb-append-entity): Ditto.
2618         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2619
2620         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2621         elmo-msgdb-decoded-cache-hashtb,
2622         (modb-legacy-make-message-entity,
2623         elmo-msgdb-make-message-entity,
2624         elmo-msgdb-create-message-entity-from-buffer,
2625         elmo-msgdb-message-entity-number,
2626         elmo-msgdb-message-entity-set-number,
2627         elmo-msgdb-message-entity-field,
2628         elmo-msgdb-message-entity-set-field,
2629         elmo-msgdb-copy-message-entity,
2630         elmo-msgdb-match-condition-internal,
2631         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2632
2633         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2634         (elmo-message-entity-set-number): Ditto.
2635         (elmo-message-entity-field): Ditto.
2636         (elmo-message-entity-set-field): Ditto.
2637
2638         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2639
2640         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2641
2642         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2643
2644         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2645         (elmo-nntp-msgdb-create-message): Ditto.
2646
2647         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2648         (elmo-folder-msgdb-create): Add unread flag.
2649
2650         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2651
2652         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2653
2654         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2655
2656         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2657
2658         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2659         elmo-msgdb-messge-entity-handler.
2660         * elmo-version.el (elmo-version): Up to 2.11.17.
2661
2662 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2663
2664         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2665         change.
2666
2667 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2668
2669         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2670
2671         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2672         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2673         (elmo-msgdb-flag-table): Ditto.
2674         (elmo-msgdb-sort-by-date): Ditto.
2675
2676         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2677
2678         * modb-standard.el (toplevel): Require mime.
2679         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2680         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2681         elmo-msgdb-message-entity-number.
2682         (elmo-msgdb-append-entity): Ditto.
2683         (elmo-msgdb-create-message-entity-from-file): Remove.
2684         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2685         corresponds to the entity.
2686         (elmo-msgdb-message-entity-number): Do nothing currently.
2687         (elmo-msgdb-message-entity-field): Ditto.
2688         (elmo-msgdb-message-entity-set-field): Ditto.
2689         (elmo-msgdb-copy-message-entity): Ditto.
2690         (elmo-msgdb-match-condition-internal): Ditto.
2691
2692         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2693         elmo-util.el.
2694         (elmo-msgdb-create-message-entity-from-file): Remove.
2695
2696         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2697         modb-legacy.el.
2698         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2699
2700         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2701
2702 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2703
2704         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2705         (elmo-msgdb-message-entity-field): Ditto.
2706         (elmo-msgdb-message-entity-number): Ditto.
2707
2708 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2709
2710         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2711         Fixed how to set extra field into entity.
2712         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2713         symbol.
2714
2715         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2716         Fixed how to set extra field into entity.
2717         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2718         symbol.
2719
2720 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2721
2722         * modb.el (elmo-message-entity-db): New function.
2723         (elmo-msgdb-make-message-entity): New API.
2724         (elmo-msgdb-message-entity-number): Ditto.
2725         (elmo-msgdb-message-entity-set-number): Ditto.
2726         (elmo-msgdb-message-entity-field): Ditto.
2727         (elmo-msgdb-message-entity-set-field): Ditto.
2728         (elmo-msgdb-copy-message-entity): Ditto.
2729         (elmo-msgdb-create-message-entity-from-file): Ditto.
2730         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2731         (elmo-msgdb-match-condition-internal): Ditto.
2732
2733         * modb-standard.el (modb-legacy): Require modb-legacy.
2734         (modb-standard-make-message-entity): New inline function.
2735         (elmo-msgdb-make-message-entity): Define.
2736         (elmo-msgdb-create-message-entity-from-file): Ditto.
2737         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2738         (elmo-msgdb-message-entity-field): Ditto.
2739         (elmo-msgdb-message-entity-set-field): Ditto.
2740         (elmo-msgdb-copy-message-entity): Ditto.
2741         (elmo-msgdb-match-condition-internal): Ditto.
2742
2743         * modb-legacy.el: Don't require modb-entity.
2744         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2745         (elmo-msgdb-match-condition-primitive): Ditto.
2746         (elmo-msgdb-get-decoded-cache): Ditto.
2747         (elmo-msgdb-overview-entity-get-id): Ditto.
2748         (elmo-msgdb-overview-entity-get-number): Ditto.
2749         (elmo-msgdb-overview-entity-set-number): Ditto.
2750         (elmo-msgdb-overview-entity-get-references): Ditto.
2751         (elmo-msgdb-overview-entity-set-references): Ditto.
2752         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2753         (elmo-msgdb-overview-entity-get-from): Ditto.
2754         (elmo-msgdb-overview-entity-set-from): Ditto.
2755         (elmo-msgdb-overview-entity-get-subject): Ditto.
2756         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2757         (elmo-msgdb-overview-entity-set-subject): Ditto.
2758         (elmo-msgdb-overview-entity-get-date): Ditto.
2759         (elmo-msgdb-overview-entity-set-date): Ditto.
2760         (elmo-msgdb-overview-entity-get-to): Ditto.
2761         (elmo-msgdb-overview-entity-get-cc): Ditto.
2762         (elmo-msgdb-overview-entity-get-size): Ditto.
2763         (elmo-msgdb-overview-entity-set-size): Ditto.
2764         (elmo-msgdb-overview-entity-get-extra): Ditto.
2765         (elmo-msgdb-overview-entity-set-extra): Ditto.
2766         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2767         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2768         (elmo-msgdb-number-load): Ditto.
2769         (elmo-msgdb-overview-load): Ditto.
2770         (elmo-msgdb-mark-load): Ditto.
2771         (elmo-msgdb-number-save): Ditto.
2772         (elmo-msgdb-mark-save): Ditto.
2773         (elmo-msgdb-overview-save): Ditto.
2774         (modb-legacy-make-message-entity): New inline function.
2775         (elmo-msgdb-insert-file-header): Ditto.
2776         (elmo-msgdb-make-message-entity): Define.
2777         (elmo-msgdb-create-message-entity-from-file): Ditto.
2778         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2779         (elmo-msgdb-message-entity-number): Ditto.
2780         (elmo-msgdb-message-entity-set-number): Ditto.
2781         (elmo-msgdb-message-entity-field): Ditto.
2782         (elmo-msgdb-message-entity-set-field): Ditto.
2783         (elmo-msgdb-copy-message-entity): Ditto.
2784         (elmo-msgdb-match-condition-internal): Ditto.
2785
2786         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2787         (elmo-message-copy-entity): Rewrite.
2788         (elmo-message-entity-number): Ditto.
2789         (elmo-message-entity-set-number): Ditto.
2790         (elmo-message-entity-field): Use elmo-message-entity-db.
2791         (elmo-message-entity-set-field): Ditto.
2792         (elmo-message-field): Rewrite.
2793
2794         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2795         elmo-msgdb.el
2796         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2797
2798         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2799         elmo-message-entity-field.
2800         (elmo-shimbun-folder-shimbun-header): Ditto.
2801         (elmo-shimbun-entity-to-header): Ditto.
2802         (elmo-folder-msgdb-create): Ditto.
2803         (elmo-shimbun-msgdb-create-entity): Ditto;
2804         Use elmo-msgdb-create-message-entity-from-buffer.
2805         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2806         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2807
2808         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2809         elmo-msgdb-create-message-entity-from-file and 
2810         elmo-message-entity-field.
2811
2812         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2813         elmo-message-entity-number.
2814         (elmo-pop3-msgdb-create-message): Use
2815         elmo-msgdb-create-message-entity-from-buffer,
2816         elmo-message-entity-set-field, elmo-message-entity-number and
2817         elmo-message-entity-set-number.
2818
2819         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2820         the API change in elmo-msgdb-make-message-entity.
2821         (elmo-nntp-msgdb-create-message): Use
2822         elmo-msgdb-create-message-entity-from-buffer.
2823
2824         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2825         elmo-message-entity-field and
2826         elmo-msgdb-create-message-entity-from-file.
2827
2828         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2829         (elmo-msgdb-get-field): Abolish.
2830         (elmo-msgdb-get-number): Rewrite.
2831         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2832         (elmo-msgdb-flag-table): Ditto.
2833         (elmo-msgdb-get-last-message-id,
2834         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2835         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2836         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2837         (elmo-msgdb-create-overview-from-buffer,
2838         elmo-msgdb-overview-get-parent-entity): Abolish.
2839
2840         * elmo-mime.el (elmo-mime-display-as-is): Use
2841         elmo-message-entity-field.
2842
2843         * elmo-map.el (elmo-folder-pack-numbers): Use
2844         elmo-message-entity-set-number.
2845
2846         * elmo-maildir.el (elmo-folder-msgdb-create): 
2847         elmo-msgdb-create-message-entity-from-file instead of
2848         elmo-msgdb-create-overview-entity-from-file.
2849
2850         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2851         msgdb.
2852         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2853         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2854
2855         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2856         elmo-messge-entity-field and elmo-message-entity-number.
2857         (elmo-imap4-fetch-callback-1): Call
2858         elmo-msgdb-create-message-entity-from-buffer instead of
2859         elmo-msgdb-create-overview-from-buffer. 
2860         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2861         (elmo-find-fetch-strategy): Likewise.
2862
2863         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2864         elmo-localdir-msgdb-create-entity with argument msgdb.
2865
2866         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2867         and elmo-message-entity-set-number.
2868
2869         * elmo-cache.el (elmo-folder-msgdb-create): Use
2870         elmo-message-entity-field.
2871         (elmo-folder-msgdb-create): Call
2872         elmo-msgdb-create-message-entity-from-file instead of
2873         elmo-msgdb-create-overview-entity-from-file.
2874
2875         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2876         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2877         instead of elmo-msgdb-create-overview-from-buffer.
2878         (elmo-archive-msgdb-create-entity): Ditto.
2879         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2880         elmo-message-entity-field.
2881         (elmo-archive-parse-mmdf): Ditto.
2882
2883         * modb-entity.el: Removed.
2884
2885         * elmo-version.el (elmo-version): Up to 2.11.16.
2886
2887 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2888
2889         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2890         `is-local'.
2891         (elmo-folder-flag-as-answered): Ditto.
2892
2893 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2894
2895         * modb-standard.el: New file.
2896
2897         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2898         elmo-msgdb-convert-type is `sync'.
2899
2900         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2901         (elmo-msgdb-convert-type): New user option.
2902
2903         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2904         (elmo-load-msgdb): Auto detect saved type.
2905
2906         * elmo-version.el (elmo-version): Up to 2.11.15.
2907
2908 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2909
2910         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2911
2912         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2913         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2914         with argument `delete-if-none' when dst-folder is 'null.
2915
2916         * elmo-flag.el (elmo-folder-append-messages): Defined.
2917         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2918
2919 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2920
2921         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2922
2923 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2924
2925         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2926         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2927         (elmo-folder-commit): Ditto.
2928
2929 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2930
2931         * elmo-flag.el: New file.
2932
2933         * elmo-mark.el: Removed.
2934
2935         * modb-legacy.el (modb-legacy-new-mark,
2936         modb-legacy-unread-uncached-mark,
2937         modb-legacy-unread-cached-mark,
2938         modb-legacy-read-uncached-mark,
2939         modb-legacy-answered-cached-mark,
2940         modb-legacy-answered-uncached-mark,
2941         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2942         All other related portions are changed.
2943
2944         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2945         (elmo-folder-list-messages-with-global-mark): Abolish.
2946         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2947         (elmo-folder-flag-as-important): Ditto.
2948         (elmo-folder-unflag-read): Ditto.
2949         (elmo-folder-flag-as-read): Ditto.
2950         (elmo-folder-unflag-answered): Ditto.
2951         (elmo-folder-flag-as-answered): Ditto.
2952         (elmo-message-encache): Return the cache path.
2953         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2954         (elmo-message-set-flag): Transitional implementation.
2955         (elmo-message-unset-flag): Ditto.
2956         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2957         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2958         (elmo-init): Call elmo-global-flag-initialize.
2959         (toplevel): Added autoload settings for elmo-flag.
2960
2961         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2962
2963         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2964         (elmo-file-cache-delete): Don't treat global-mark.
2965
2966         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2967
2968         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2969
2970         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2971         `elmo-global-flags-set'.
2972
2973         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2974         `flag'.
2975         (elmo-folder-unflag-read): Ditto.
2976         (elmo-folder-unflag-important): Ditto.
2977         (elmo-folder-flag-as-important): Ditto.
2978         (elmo-folder-unflag-answered): Ditto.
2979         (elmo-folder-flag-as-answered): Ditto.
2980
2981         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2982         `elmo-global-flags-set'.
2983         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2984
2985         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2986
2987         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2988         `flag'.
2989         (elmo-folder-flag-as-important): Ditto.
2990         (elmo-folder-unflag-important): Ditto.
2991         (elmo-folder-flag-as-important): Ditto.
2992         (elmo-folder-unflag-read): Ditto.
2993         (elmo-folder-flag-as-read): Ditto.
2994         (elmo-folder-unflag-answered): Ditto.
2995         (elmo-folder-flag-as-answered): Ditto.
2996
2997         * elmo-multi.el (elmo-folder-list-importants): Don't call
2998         elmo-folder-list-messages-with-global-mark.
2999         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3000         (elmo-folder-unflag-important): Ditto.
3001         (elmo-folder-flag-as-read): Ditto.
3002         (elmo-folder-unflag-read): Ditto.
3003         (elmo-folder-flag-as-answered): Ditto.
3004         (elmo-folder-unflag-answered): Ditto.
3005
3006         * elmo-msgdb.el (elmo-msgdb-new-mark,
3007         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3008         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3009         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3010         (Moved to modb-legacy.el).
3011         (elmo-flag-table-get): Treat important flag too.
3012
3013         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3014         `mark' to `flag'.
3015         (elmo-map-folder-flag-as-important): Ditto.
3016         (elmo-map-folder-unflag-read): Ditto.
3017         (elmo-map-folder-flag-as-read): Ditto.
3018         (elmo-map-folder-unflag-answered): Ditto.
3019         (elmo-map-folder-flag-as-answered): Ditto.
3020         (elmo-folder-unflag-important): Ditto.
3021         (elmo-folder-flag-as-important): Ditto.
3022         (elmo-folder-unflag-read): Ditto.
3023         (elmo-folder-flag-as-read): Ditto.
3024         (elmo-folder-unflag-answered): Ditto.
3025         (elmo-folder-flag-as-answered): Ditto.
3026
3027         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3028         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3029         `flag'.
3030         (elmo-map-folder-unflag-important): Ditto.
3031         (elmo-map-folder-flag-as-read): Ditto.
3032         (elmo-map-folder-unflag-read): Ditto.
3033         (elmo-map-folder-flag-as-answered): Ditto.
3034         (elmo-map-folder-unflag-answered): Ditto.
3035
3036         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3037         `elmo-global-flags-set'.
3038         (elmo-global-flags-set): Added autoload setting.
3039
3040         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3041         `flag'.
3042
3043         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3044         `elmo-msgdb-global-mark-set'.
3045         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3046         Call `elmo-global-flags-set'.
3047         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3048         `flag'.
3049         (elmo-folder-flag-as-important-plugged): Ditto.
3050         (elmo-folder-unflag-read-plugged): Ditto.
3051         (elmo-folder-flag-as-read-plugged): Ditto.
3052         (elmo-folder-unflag-answered-plugged): Ditto.
3053         (elmo-folder-flag-as-answered-plugged): Ditto.
3054         (elmo-global-flags-set): Added autoload setting.
3055
3056         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3057         `flag'.
3058         (elmo-folder-unflag-read): Ditto.
3059         (elmo-folder-flag-as-important): Ditto.
3060         (elmo-folder-unflag-important): Ditto.
3061         (elmo-folder-flag-as-answered): Ditto.
3062         (elmo-folder-unflag-answered): Ditto.
3063
3064         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3065         change of `mark'->`flag'.
3066         (elmo-dop-queue-method-name-alist): Ditto.
3067         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3068         (elmo-folder-unflag-read-dop): Ditto.
3069         (elmo-folder-flag-as-important-dop): Ditto.
3070         (elmo-folder-unflag-important-dop): Ditto.
3071         (elmo-folder-flag-as-answered-dop): Ditto.
3072         (elmo-folder-unflag-answered-dop): Ditto.
3073
3074         * elmo-cache.el (elmo-folder-msgdb-create): Call
3075         `elmo-global-flags-set'.
3076
3077         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3078         Call `elmo-global-flags-set'.
3079         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3080         elmo-archive-parse-mmdf with argument `folder'.
3081         (elmo-archive-parse-mmdf): Added argument `folder';
3082         Call `elmo-global-flags-set'.
3083
3084         * elmo-version.el (elmo-version): Up to 2.11.14.
3085
3086 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3087
3088         * modb.el (elmo-msgdb-length): Define.
3089
3090         * elmo.el (elmo-make-folder): Fixed.
3091         (elmo-generic-folder-append-messages): Follow the API change.
3092
3093         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3094         API change.
3095
3096 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3097
3098         * modb.el: New file.
3099
3100         * modb-entity.el: Ditto.
3101
3102         * modb-legacy.el: Ditto.
3103
3104         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3105         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3106         of `elmo-msgdb-overview-get-entity'.
3107         (elmo-msgdb-get-field): Ditto.
3108         (elmo-msgdb-merge): Moved to `elmo.el'.
3109         (elmo-msgdb-length): Removed; redefine as modb method.
3110         (elmo-msgdb-change-mark): Abolish.
3111         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3112         (elmo-msgdb-match-condition): Don't use mark.
3113         (elmo-msgdb-overview-get-entity): Abolish.
3114         Split modb part into `modb*.el'.
3115
3116         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3117
3118         * elmo-shimbun.el (shimbun-mua-search-id): Use
3119         `elmo-msgdb-message-entity' instead of
3120         `elmo-msgdb-overview-get-entity'.
3121         (elmo-shimbun-folder-shimbun-header): Ditto.
3122         (elmo-shimbun-get-headers): Ditto.
3123         (elmo-shimbun-update-overview): Ditto.
3124
3125         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3126
3127         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3128
3129         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3130         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3131
3132         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3133         `elmo-msgdb-mark-to-flags'.
3134
3135         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3136         `elmo-msgdb-set-path'.
3137
3138         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3139  
3140         * elmo-version.el (elmo-version): Up to 2.11.13.
3141
3142         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3143
3144         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3145         of mark.
3146
3147 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3148
3149         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3150         mismatch.
3151
3152 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3153
3154         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3155         instead of `elmo-msgdb-get-cached'.
3156         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3157
3158         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3159         (elmo-msgdb-set-cached): Ditto.
3160         (elmo-msgdb-set-flag): Rewrite.
3161         (elmo-msgdb-unset-flag): Ditto.
3162
3163         * elmo-msgdb.el: Rewrite with luna.
3164
3165         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3166         (elmo-folder-msgdb): Follow the change above.
3167         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3168         (elmo-folder-unmark-important): Follow the API change.
3169         (elmo-folder-mark-as-important): Ditto.
3170         (elmo-folder-unmark-read): Ditto.
3171         (elmo-folder-mark-as-read): Ditto.
3172         (elmo-folder-unmark-answered): Ditto.
3173         (elmo-folder-mark-as-answered): Ditto.
3174         (elmo-folder-clear): Likewise.
3175
3176         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3177         instead of `elmo-msgdb-load' (renamed).
3178
3179         * elmo-version.el (elmo-version): Up to 2.11.12.
3180
3181 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3182
3183         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3184         change.
3185         (elmo-message-mark): Abolish.
3186         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3187         instead of `elmo-msgdb-change-mark'.
3188
3189         * elmo-pipe.el (elmo-message-mark): Abolish.
3190
3191         * elmo-multi.el (elmo-message-mark): Ditto.
3192
3193         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3194         (elmo-msgdb-unread-uncached-mark): Ditto.
3195         (elmo-msgdb-unread-cached-mark): Ditto.
3196         (elmo-msgdb-read-uncached-mark): Ditto.
3197         (elmo-msgdb-answered-cached-mark): Ditto.
3198         (elmo-msgdb-answered-uncached-mark): Ditto.
3199         (elmo-msgdb-important-mark): Ditto.
3200         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3201         `use-cache'.
3202         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3203         `flags'.
3204         (elmo-flag-table-load): Changed flag to list of flag.
3205         (elmo-flag-table-set): If flags is nil, set read flag.
3206         (elmo-flag-table-get): Return derived flags from global mark,
3207         cache status and saved flags.
3208         (elmo-msgdb-flag-table): Follow the change above.
3209         (elmo-msgdb-out-of-date-messages): New function.
3210
3211         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3212
3213         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3214
3215         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3216
3217         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3218         (elmo-nntp-msgdb-create-message): Ditto.
3219
3220         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3221
3222         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3223         independent.
3224         (elmo-folder-msgdb-create): Follow the API change.
3225
3226         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3227         (elmo-folder-append-messages): Ditto.
3228
3229         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3230         (elmo-folder-append-buffer): Ditto.
3231
3232         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3233
3234         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3235
3236         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3237         (elmo-archive-parse-mmdf): Ditto.
3238
3239         * elmo-version.el (elmo-version): Up to 2.11.11.
3240
3241 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3242
3243         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3244         `elmo-msgdb-mark'.
3245
3246         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3247
3248         * elmo-pipe.el (elmo-message-flags): Defined.
3249
3250         * elmo-multi.el (elmo-message-flags): Ditto.
3251
3252 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3253
3254         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3255         `elmo-msgdb-delete-msgs'.
3256
3257         * elmo.el (elmo-folder-count-flags): Don't use
3258         `elmo-msgdb-get-mark-alist'.
3259         (elmo-folder-detach-messages): Follow the API change.
3260
3261         * elmo.el (elmo-folder-list-messages): Append killed messages into
3262         result if `visible-only' is nil.
3263
3264         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3265         canceled messages.
3266         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3267         (elmo-folder-update-number): Likewise.
3268
3269         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3270         (elmo-pop3-sort-msgdb-by-original-number): Use
3271         `elmo-msgdb-sort-entities'.
3272
3273         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3274         (elmo-msgdb-sort-by-date): Use it.
3275         (elmo-msgdb-overview-sort-by-date): Abolish.
3276
3277         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3278
3279         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3280         (elmo-msgdb-flags): New function.
3281         (elmo-msgdb-merge): Use elmo-msgdb-append.
3282
3283         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3284         change.
3285
3286         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3287
3288         * elmo-dop.el (elmo-folder-status-dop): Use
3289         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3290
3291 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3292
3293         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3294
3295         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3296
3297         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3298
3299         * elmo-util.el (elmo-with-progress-display): New macro.
3300
3301         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3302
3303 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3304
3305         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3306         `elmo-folder-list-message-entities' instead of
3307         `elmo-msgdb-get-overview'.
3308         (elmo-map-folder-list-message-locations): Ditto.
3309
3310         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3311         methods instead of treat directly).
3312         (elmo-msgdb-clear): Ditto.
3313         (elmo-msgdb-delete-msgs): Ditto.
3314         (elmo-msgdb-sort-by-date): Ditto.
3315
3316         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3317         local variables.
3318         (elmo-nntp-folder-msgdb-create): Follow the API change.
3319
3320         * elmo-version.el (elmo-version): Up to 2.11.10.
3321
3322 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3323
3324         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3325         (elmo-msgdb-flags-to-mark): Ditto.
3326         (elmo-msgdb-append-entity): Ditto.
3327
3328         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3329         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3330         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3331         (elmo-archive-parse-mmdf): Ditto.
3332
3333         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3334
3335         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3336
3337         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3338
3339         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3340
3341         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3342
3343         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3344
3345         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3346
3347         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3348
3349         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3350         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3351         to empty msgdb.
3352
3353         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3354         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3355         instead of directly construction.
3356         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3357         instead of construct msgdb.
3358
3359         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3360         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3361         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3362         instead of construct msgdb.
3363
3364 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3365
3366         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3367         when field is from or subject.
3368
3369 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3370
3371         * elmo-multi.el (elmo-message-entity-parent): Define.
3372         (elmo-folder-search): Rewrite.
3373
3374 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * elmo-multi.el (elmo-message-cached-p): Define.
3377
3378         * elmo.el (elmo-message-cached-p): New method.
3379         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3380         (elmo-message-flags): New method.
3381         (elmo-message-flagged-p): New function.
3382
3383         * elmo-version.el (elmo-version): Up to 2.11.9.
3384
3385 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3386
3387         * elmo-version.el (elmo-version): Up to 2.11.8.
3388
3389         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3390
3391         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3392
3393 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3394
3395         * elmo.el (elmo-folder-detach-messages): Undo last change.
3396
3397 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3398
3399         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3400
3401         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3402         only when src folder type is pop3.
3403
3404 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3405
3406         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3407         elmo-msgdb-overview-entity-get-number instead of
3408         elmo-message-entity-number.
3409
3410 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3411
3412         * elmo-version.el (elmo-version): Up to 2.11.7.
3413
3414 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3415
3416         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3417         function.
3418
3419         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3420         (elmo-msgdb-merge): New function.
3421         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3422         (elmo-msgdb-make-index): Rewrite.
3423
3424         * elmo-version.el (elmo-version): Up to 2.11.6.
3425
3426         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3427         use it as a the path for loading message entities.
3428
3429         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3430
3431 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3432
3433         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3434         message-modified slot of itself if it does not require target msgdb.
3435
3436         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3437         if folder length is zero.
3438         (elmo-mime-display-as-is): Ditto.
3439
3440         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3441
3442         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3443
3444 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3445
3446         * elmo.el (elmo-folder-set-message-modified): New method.
3447         (elmo-generic-folder-commit): Use it.
3448         (elmo-folder-synchronize): Ditto.
3449
3450         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3451         (elmo-folder-commit): Remove duplicate definition.
3452
3453 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3454
3455         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3456
3457 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3458
3459         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3460         (elmo-strict-folder-diff): Ditto.
3461         (elmo-folder-set-info-max-by-numdb): Simplify.
3462
3463         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3464         elmo-msgdb-list-messages.
3465
3466         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3467         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3468
3469 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3470
3471         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3472         visible-only is non-nil.
3473         (elmo-folder-confirm-appends): Changed message.
3474         (elmo-folder-synchronize): Added argument disable-killed.
3475
3476         * elmo-multi.el (elmo-folder-synchronize): Added argument
3477         disable-killed.
3478
3479         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3480
3481         * elmo-version.el (elmo-version): Up to 2.11.5.
3482
3483         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3484         elmo-list-filter.
3485
3486         * elmo-util.el (elmo-list-filter): Simplify.
3487
3488         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3489         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3490         (elmo-generic-folder-diff): Abolish argument.
3491         (elmo-msgdb-load): Don't use number-alist.
3492
3493         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3494
3495         * elmo-pipe.el (elmo-folder-diff): Ditto.
3496
3497         * elmo-nmz.el (elmo-folder-diff): Ditto.
3498
3499         * elmo-net.el (elmo-folder-diff): Ditto.
3500
3501         * elmo-maildir.el (elmo-folder-diff): Ditto.
3502
3503         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3504
3505         * elmo-multi.el (elmo-folder-diff): Ditto
3506         (elmo-multi-folder-diff): Rewrite.
3507
3508 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3509
3510         * elmo-pipe.el (elmo-folder-msgdb): Define.
3511
3512 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3513
3514         * elmo.el (elmo-message-set-cached): Define as a method.
3515
3516         * elmo-pipe.el (elmo-message-set-cached): Define.
3517         (elmo-find-fetch-strategy): Ditto.
3518
3519         * elmo-multi.el (elmo-message-set-cached): Define.
3520         (elmo-find-fetch-strategy): Rewrite.
3521
3522         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3523
3524         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3525
3526 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3527
3528         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3529         instead of number-alist.
3530
3531         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3532         mark nor message-id when msgdb of source folder is not loaded.
3533
3534         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3535
3536         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3537
3538 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3539
3540         * elmo.el (elmo-folder-length): Don't require msgdb.
3541
3542 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3543
3544         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3545         (elmo-message-field): Ditto.
3546
3547         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3548         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3549         slot.
3550         (elmo-map-folder-list-answereds): Define.
3551         (elmo-maildir-list-location): Treat 'R' info.
3552         (elmo-folder-msgdb-create): Treat flag-table.
3553         (elmo-folder-append-messages): Save flag-table.
3554
3555 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3556
3557         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3558         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3559
3560 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3561
3562         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3563
3564         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3565         'read when mark is null.
3566
3567 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3568
3569         * elmo-version.el (elmo-version): Up to 2.11.4.
3570
3571 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3572
3573         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3574         (elmo-folder-mark-as-answered): Ditto.
3575
3576 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3577
3578         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3579         (elmo-pop3-get-session): Make msgdb directory after session.
3580         (elmo-folder-exists-p): Check exactly at the first time even when the
3581         elmo-pop3-exists-exactly is nil.
3582
3583         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3584         (elmo-folder-list-messages): Define instead of
3585         elmo-folder-list-messages-internal.
3586         (elmo-folder-check): Check destination folder.
3587         (elmo-folder-synchronize): Drain the pipe.
3588
3589         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3590         when msgdb is not loaded.
3591
3592         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3593
3594         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3595         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3596         messages.
3597
3598         * elmo.el (elmo-folder-kill-messages-before): New function.
3599         (elmo-folder-kill-messages): Ditto.
3600         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3601
3602         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3603         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3604         killed not by synchronize (e.g. scoring).
3605
3606 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3607
3608         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3609         treated.
3610         (elmo-folder-search): Follow the change above.
3611
3612         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3613         into the candidates of search field.
3614
3615 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3616
3617         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3618         (elmo-msgdb-unset-flag): Ditto.
3619
3620         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3621
3622 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3625         (elmo-folder-commit): Define.
3626         (elmo-folder-synchronize): Ditto.
3627         (elmo-folder-list-flagged): Ditto.
3628         (elmo-folder-commit): Ditto.
3629         (elmo-folder-length): Ditto.
3630         (elmo-folder-count-flags): Ditto.
3631         (elmo-message-mark): Ditto.
3632         (elmo-message-field): Ditto.
3633         (elmo-message-entity): Ditto.
3634         (elmo-message-folder): Ditto.
3635
3636 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3637
3638         * elmo.el (elmo-message-field): Define as a method.
3639
3640         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3641         (elmo-message-field): Define.
3642
3643         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3644         (elmo-folder-list-importants): Ditto.
3645         (elmo-folder-list-answereds): Ditto.
3646
3647         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3648         qualifier.
3649         (elmo-folder-mark-as-read): Ditto.
3650         (elmo-folder-unmark-read): Ditto.
3651         (elmo-folder-mark-as-answered): Ditto.
3652         (elmo-folder-unmark-answered): Ditto.
3653         (elmo-folder-list-flagged): Define.
3654         (elmo-folder-commit): Ditto.
3655         (elmo-folder-length): Ditto.
3656         (elmo-folder-count-flags): Ditto.
3657
3658 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3659
3660         * elmo.el (elmo-folder-detach-messages): New method.
3661         (elmo-folder-move-messages): Use it.
3662         (elmo-folder-synchronize): Ditto.
3663
3664         * elmo-multi.el (elmo-folder-detach-messages): Define.
3665
3666         * elmo.el (elmo-message-copy-entity): New function.
3667         (elmo-message-entity-set-number): Ditto.
3668         (elmo-message-mark): Define as method.
3669
3670         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3671         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3672         (elmo-message-entity): Fixed last change.
3673         (elmo-message-mark): Define.
3674         (elmo-folder-msgdb-create): Abolish.
3675         (elmo-multi-folder-append-msgdb): Ditto.
3676         (elmo-multi-folder-diff): Fixed.
3677         (elmo-multi-split-number-alist): Removed.
3678         (elmo-multi-split-mark-alist): Removed.
3679         (elmo-folder-list-messages): Define.
3680         (elmo-folder-list-messages-internal): Removed.
3681
3682         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3683         local file messages.
3684         (elmo-folder-msgdb-create): Fixed read mark.
3685
3686 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3687
3688         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3689         if mark is nil.
3690
3691 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3692
3693         * elmo.el (elmo-folder-list-message-entities): Define as inline
3694         function.
3695         (elmo-folder-messages): Abolish.
3696
3697         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3698         folder.
3699         (elmo-folder-synchronize): Define.
3700         (elmo-message-entity): Define.
3701
3702 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3703
3704         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3705         elmo-imap4-session-select-mailbox.
3706
3707         * elmo.el (elmo-folder-move-messages): Don't display any message.
3708
3709         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3710         parsing.
3711         (elmo-imap4-session-check): Don't wait CHECK response.
3712         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3713
3714 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3715
3716         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3717
3718 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3719
3720         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3721         API.
3722         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3723
3724
3725         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3726         (elmo-folder-list-message-entities): Added argument in-msgdb and
3727         numbers.
3728         (elmo-folder-synchronize): Define as a method.
3729
3730         * elmo-nntp.el (elmo-folder-initialize): Don't use
3731         elmo-nntp-default-user if zero-length username is specified
3732         explicitly.
3733
3734 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3735
3736         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3737         server name in case with username.
3738         (XXX: this is ad-hoc fix against username includes "@", it
3739         should be solved fundamentally)
3740
3741 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3742
3743         * elmo-nntp.el (elmo-nntp-debug): New function.
3744         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3745         (elmo-network-authenticate-session): Hide auth-info from the log.
3746
3747         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3748         user name if it is equal to elmo-nntp-default-user.
3749
3750 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3751
3752         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3753         instead of shimbun-server-internal;
3754         Use shimbun-current-group instead of shimbun-current-group-internal.
3755         (elmo-folder-plugged-p): Use shimbun-server instead of
3756         shimbun-server-internal.
3757         (elmo-folder-set-plugged): Ditto.
3758         (elmo-net-port-info): Ditto.
3759         (elmo-folder-check): Ditto.
3760         (elmo-folder-expand-msgdb-path): Ditto.
3761         (elmo-folder-list-subfolders): Ditto.
3762
3763 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3764
3765         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3766         Convert field-name to lower case.
3767         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3768
3769 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3770
3771         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3772         `message' and `error' take format string.
3773
3774 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3775
3776         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3777
3778 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3779
3780         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3781         recursive call (can't byte compile on emacs 20.7).
3782
3783 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3784
3785         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3786         (elmo-folder-list-message-entities): New API.
3787         (elmo-message-entity): Ditto.
3788         (elmo-message-entity-parent): Ditto.
3789         (elmo-folder-do-each-message-entity): Ditto.
3790         (elmo-message-entity-number): Ditto.
3791         (elmo-message-entity-field): Ditto.
3792         (elmo-message-entity-set-field): Ditto.
3793         (elmo-folder-count-flags): Ditto.
3794         (elmo-folder-length): Ditto.
3795
3796         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3797         not.
3798
3799         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3800         (elmo-msgdb-count-marks): Abolish.
3801         (elmo-msgdb-make-entity): Ditto.
3802         (elmo-msgdb-do-each-entity): Ditto.
3803         (elmo-msgdb-message-entity): New inline function.
3804         (elmo-msgdb-message-entity-field): Ditto.
3805         (elmo-msgdb-message-entity-set-field): Ditto.
3806         (elmo-msgdb-make-message-entity): New function.
3807
3808 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3809
3810         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3811         to flag. (All other related portions are changed.)
3812         (elmo-folder-msgdb-create): Likewise.
3813         (elmo-generic-folder-append-messages): Use flag-table instead of
3814         seen-list.
3815         (elmo-folder-move-messages): Removed redundant process.
3816         (elmo-folder-synchronize): Likewise.
3817
3818         * elmo-msgdb.el (elmo-flag-table-get): New function.
3819         (elmo-flag-table-save): Fixed.
3820         (elmo-msgdb-length): New inline function.
3821         (elmo-msgdb-flag-table): New function.
3822         (elmo-msgdb-mark): Add optional argument new.
3823         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3824         (elmo-msgdb-seen-list): Ditto.
3825         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3826
3827
3828 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3829
3830         * elmo.el (elmo-message-set-mark): Abolish.
3831         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3832         (All related portions are changed.)
3833
3834         * elmo-msgdb.el (toplevel): Added comment.
3835         (elmo-load-msgdb): Added 4th element `path'.
3836         (elmo-msgdb-append): Follow the change above.
3837         (elmo-msgdb-clear): Ditto.
3838         (elmo-msgdb-delete-msgs): Ditto.
3839         (elmo-msgdb-get-path): New inline function.
3840         (elmo-msgdb-set-path): Ditto.
3841         (elmo-flag-table-filename): New variable.
3842         (elmo-flag-table-load): New function.
3843         (elmo-flag-table-set): Ditto.
3844         (elmo-flag-table-save): Ditto.
3845         (elmo-msgdb-get-field-value): Abolish.
3846         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3847
3848 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3849
3850         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3851         the folder has been deleted successfully.
3852         * elmo-imap4.el (elmo-folder-delete): Ditto.
3853         * elmo-archive.el (elmo-folder-delete): Ditto.
3854         * elmo-localdir.el (elmo-folder-delete): Ditto.
3855         * elmo-maildir.el (elmo-folder-delete): Ditto.
3856
3857 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3858
3859         * elmo-util.el (elmo-string-member-ignore-case): New function.
3860         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3861         (elmo-imap4-fetch-callback-1-subr): Likewise.
3862
3863 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3864
3865         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3866         the case of the name attribute "\Noselect".
3867
3868 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3869
3870         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3871
3872         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3873         flist, is not always a member of onum-alist.
3874
3875 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3876
3877         * elmo-version.el (elmo-version): Up to 2.11.3.
3878
3879 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3880
3881         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3882         copied from localdir's one.
3883
3884         * elmo-pipe.el (elmo-folder-rename): New method, rename
3885         destination folder with leaving source folder as it is.
3886
3887 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3888
3889         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3890         replace-regexp.
3891
3892 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3893
3894         * elmo-version.el (elmo-version): Up to 2.11.2.
3895
3896 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3897
3898         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3899         shimbun-open in case of "@".
3900         (elmo-folder-open-internal): Cope with shimbun = nil case.
3901         (elmo-folder-plugged-p): Ditto.
3902         (elmo-folder-list-subfolders): Make list for "@/" group.
3903
3904 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3905
3906         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3907         mailbox (e.g. for %~/something).
3908
3909 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3910
3911         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3912         Replace nested conditional with guard clauses.
3913
3914 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3915
3916         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3917         error [wl:11327].
3918
3919         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3920         print-depth.
3921
3922 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3923
3924         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3925         Replace nested conditional with guard clauses.
3926
3927 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3928
3929         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3930         (elmo-passwd-alist-save): Ditto.
3931         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3932
3933 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3934
3935         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3936         dir-name only if it is absolute path.
3937         (TODO: distinguish +/something and +something)
3938
3939 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3940
3941         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3942         path for "+~/something".
3943
3944 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3945
3946         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3947         as non-directory, cause error before rename-file.
3948         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3949         apropriately, mimic localdir's one.
3950         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3951
3952 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3953
3954         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3955
3956 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3957
3958         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3959
3960         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3961         
3962         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3963         is included in the global-mark or not.
3964
3965 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3966
3967         * utf7.el (toplevel): Avoid error when the function
3968         find-coding-system does not exist.
3969
3970 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3971
3972         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3973         cache even if the folder is plugged.
3974         (elmo-nntp-search-primitive): Do nothing when body search is
3975         invoked (although it is not used by the change above).
3976         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3977
3978 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3979
3980         * elmo-version.el (elmo-version): Up to 2.11.1.
3981
3982 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3983
3984         * elmo-archive.el: Specify charset.
3985
3986 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3987
3988         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3989         process buffer lives or not.
3990
3991         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3992         while flushing queues (It causes infinite loop).
3993
3994 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3995
3996         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3997
3998 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * utf7.el (toplevel): Check the ucs features dynamically.
4001         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4002
4003         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4004         folder is creatabe or not if it already exists.
4005
4006 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4007
4008         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4009
4010         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4011
4012         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4013         (elmo-imap4-read-response): Take care of garbage response.
4014
4015 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4016
4017         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4018         just return nil instead of error.
4019
4020 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4021
4022         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4023         search-key is "body".
4024
4025 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4026
4027         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4028         of elmo-string-matched-assoc to use match-data.
4029         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4030
4031 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4032
4033         * elmo-split.el (elmo-split->): New function.
4034         (elmo-split-<): Ditto.
4035
4036 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4039         workaround for invalid message-id.
4040
4041 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4042
4043         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4044         return normal pop3 session or pop3 biff session.
4045
4046 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4047
4048         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4049         info part to the cur files when the new files already have it.
4050         (Adviced by Jared Rhine <jared@wordzoo.com>)
4051
4052 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4053
4054         * elmo-split.el (elmo-split-default-action): New variable.
4055         (elmo-split-subr): Use it if all other conditions are passed.
4056         Extend `fname' and rename it as `action'. (implemented
4057         Teranishi-san's idea in [wl:10800])
4058
4059 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4060
4061         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4062         * elmo-util.el: Ditto.
4063
4064 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4065
4066         * elmo.el (elmo-message-accessible-p): Renamed from
4067         elmo-message-cached-p and rewritten.
4068
4069 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4070
4071         * elmo.el (elmo-folder-list-flagged): New generic function.
4072         (elmo-folder-list-importants): New implementation.
4073         (elmo-folder-list-answereds): Ditto.
4074         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4075         Added 'digest'.
4076         (elmo-message-cached-p): New function.
4077         (elmo-message-set-flag): Ditto (no content).
4078         (elmo-message-unset-flag): Ditto.
4079         (elmo-folder-list-messages-mark-match): Abolish.
4080
4081         * elmo-util.el (elmo-regexp-opt): New function.
4082
4083         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4084         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4085         Added 'digest'.
4086         (elmo-msgdb-list-flagged): New function.
4087
4088         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4089         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4090         Added 'digest'.
4091
4092         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4093
4094 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4095
4096         * elmo-version.el (elmo-version): Up to 2.11.0.
4097
4098 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4099
4100         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4101         `elmo-file-cache-exists-p'; use proper mark that depends on
4102         `use-cache'.
4103         (elmo-msgdb-unset-flag): Ditto.
4104         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4105
4106         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4107         with 4th argument `use-cache'.
4108
4109 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4110
4111         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4112         (elmo-folder-mark-as-important): Ditto.
4113         (elmo-folder-unmark-read): Ditto.
4114         (elmo-folder-mark-as-read): Ditto.
4115         (elmo-folder-unmark-answered): Ditto.
4116         (elmo-folder-mark-as-answered): Ditto.
4117
4118         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4119         message status.
4120         (elmo-msgdb-mark): Likewise.
4121         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4122         (elmo-msgdb-unset-flag): Likewise.
4123
4124         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4125
4126 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4127
4128         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4129         `last:' filter.
4130
4131 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4132
4133         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4134         set spool-length to 0.
4135
4136 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4137
4138         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4139         (elmo-dop-queue-flush): Fixed last change.
4140
4141 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4142
4143         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4144         if require-msgdb slot is nil.
4145         (elmo-folder-list-importants): Likewise.
4146
4147 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4148
4149         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4150         mark is changed.
4151
4152         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4153         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4154         is changed.
4155
4156 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4157
4158         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4159
4160 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4161
4162         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4163
4164         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4165
4166 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4167
4168         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4169         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4170
4171 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4172
4173         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4174         the problem reported by Sean Rima [wl-en:180].
4175
4176 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4177
4178         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4179
4180         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4181
4182         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4183
4184         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4185
4186         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4187
4188         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4189
4190         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4191
4192 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4193
4194         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4195         status number.
4196
4197 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4198
4199         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4200         (elmo-folder-mark-as-read): Follow the API change.
4201         (elmo-message-set-cached): New function.
4202
4203         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4204
4205         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4206
4207         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4208         (elmo-folder-mark-as-important): Ditto.
4209         (elmo-folder-unmark-read): Ditto.
4210         (elmo-folder-mark-as-read): Ditto.
4211         (elmo-folder-unmark-answered): Ditto.
4212         (elmo-folder-mark-as-answered): Ditto.
4213
4214         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4215         (elmo-folder-unmark-important): Ditto.
4216         (elmo-folder-mark-as-read): Ditto.
4217         (elmo-folder-unmark-read): Ditto.
4218         (elmo-folder-mark-as-answered): Ditto.
4219         (elmo-folder-unmark-answered): Ditto.
4220
4221         * elmo-mark.el (toplevel): Removed some mark method definitions.
4222
4223         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4224         (elmo-map-folder-mark-as-answered): Ditto.
4225         (elmo-folder-unmark-important): Add :before qualifier.
4226         (elmo-folder-mark-as-important): Ditto.
4227         (elmo-folder-unmark-read): Ditto.
4228         (elmo-folder-mark-as-read): Ditto.
4229         (elmo-folder-unmark-answered): Define.
4230         (elmo-folder-mark-as-answered): Ditto.
4231
4232         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4233         (elmo-map-folder-unmark-answered): Ditto.
4234
4235         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4236
4237         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4238         (elmo-folder-mark-as-important): Ditto.
4239         (elmo-folder-unmark-read): Ditto.
4240         (elmo-folder-mark-as-read): Ditto.
4241         (elmo-folder-unmark-answered): Ditto.
4242         (elmo-folder-mark-as-answered): Ditto.
4243
4244         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4245         `mark'; evaluate mark condition.
4246         (elmo-msgdb-match-condition-internal): New function.
4247         (elmo-msgdb-match-condition): Call it; changed argument.
4248
4249         * elmo.el (elmo-folder-search): Follow the API change on
4250         `elmo-msgdb-match-condition'.
4251
4252 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4253
4254         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4255         original mark is non-nil.
4256
4257 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4258
4259         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4260         (elmo-map-folder-list-answereds): New method.
4261         (elmo-folder-list-unreads): Add :around qualifier.
4262         (elmo-folder-list-importants): Ditto.
4263         (elmo-folder-list-answereds): Ditto.
4264
4265 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4268
4269         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4270         method if msgdb is not required.
4271         (elmo-filter-folder-list-importants): Don't treat global-mark.
4272
4273         * elmo.el (elmo-folder-list-importants): Ditto.
4274
4275         * elmo-net.el (elmo-folder-list-importants): Ditto.
4276
4277         * elmo-map.el (elmo-folder-list-importants): Ditto.
4278
4279         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4280
4281         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4282         (elmo-imap4-folder-list-any-plugged): New function.
4283         (elmo-imap4-search-internal-primitive): Use it.
4284
4285         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4286         only when require-msgdb slot is non-nil.
4287         (elmo-folder-close): Clear target folder's msgdb.
4288
4289 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4290
4291         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4292         (elmo-pop3-msgdb-create-by-header): Ditto.
4293         (elmo-pop3-msgdb-create-message): Ditto.
4294
4295         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4296
4297         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4298
4299         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4300
4301         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4302         (elmo-folder-msgdb-create): Ditto.
4303         (elmo-nntp-folder-msgdb-create): Ditto.
4304         (elmo-nntp-msgdb-create-by-header): Ditto.
4305         (elmo-nntp-msgdb-create-message): Ditto.
4306         (elmo-folder-list-unreads): Define.
4307
4308         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4309         (elmo-folder-append-messages): Ditto.
4310         (elmo-folder-list-unreads): Define.
4311         (elmo-folder-list-importants): Ditto.
4312         (elmo-folder-list-answereds): Ditto.
4313
4314         * elmo-net.el (elmo-folder-list-unreads): Define.
4315         (elmo-folder-list-importants): Ditto.
4316         (elmo-folder-list-answereds): Ditto.
4317         (elmo-folder-list-answereds-plugged): Ditto.
4318         (elmo-folder-msgdb-create): Follow the API change.
4319         (elmo-folder-msgdb-create-unplugged): Ditto.
4320         (elmo-folder-unmark-answered): Define.
4321         (elmo-folder-mark-as-answered-unplugged): Ditto.
4322         (elmo-folder-unmark-answered-unplugged): Ditto.
4323
4324         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4325         (elmo-msgdb-unread-uncached-mark): Ditto.
4326         (elmo-msgdb-unread-cached-mark): Ditto.
4327         (elmo-msgdb-read-uncached-mark): Ditto.
4328         (elmo-msgdb-answered-cached-mark): Ditto.
4329         (elmo-msgdb-answered-uncached-mark): Ditto.
4330         (elmo-msgdb-important-mark): Ditto.
4331         (elmo-msgdb-set-mark): Rewrite.
4332         (elmo-msgdb-count-marks): Rewrite.
4333         (elmo-msgdb-mark-alist-set): Abolish.
4334         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4335         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4336
4337         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4338         (elmo-folder-close): Define.
4339         (elmo-folder-msgdb-create): Follow the API change.
4340         (elmo-folder-list-unreads): Rewrite.
4341         (elmo-folder-mark-as-important): Ditto.
4342         (elmo-folder-unmark-important): Ditto.
4343         (elmo-folder-mark-as-read): Ditto.
4344         (elmo-folder-unmark-read): Ditto.
4345         (elmo-folder-mark-as-answered): Define.
4346         (elmo-folder-unmark-answered): Ditto.
4347
4348         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4349         (elmo-folder-append-messages): Ditto.
4350
4351         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4352
4353         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4354         (elmo-folder-list-importants): Ditto.
4355
4356         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4357         (elmo-folder-append-messages): Ditto.
4358
4359         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4360         change.
4361         (elmo-folder-msgdb-create-plugged): Ditto.
4362         (elmo-folder-append-messages): Ditto.
4363         (elmo-folder-list-answereds-plugged): Define.
4364         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4365         (elmo-folder-unmark-answered-plugged): Define.
4366         (elmo-folder-mark-as-answered-plugged): Ditto.
4367         (elmo-folder-search-requires-msgdb-p): Ditto.
4368
4369         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4370         (elmo-folder-initialize): Set it.
4371         (elmo-folder-msgdb): Define.
4372         (elmo-folder-check): Call elmo-folder-synchronize.
4373         (elmo-folder-close): Define.
4374         (elmo-folder-commit): Ditto.
4375         (elmo-folder-msgdb-create): Rewrite.
4376         (elmo-folder-list-unreads): Ditto.
4377         (elmo-folder-list-importants): Ditto.
4378         (elmo-folder-mark-as-read): Ditto.
4379         (elmo-folder-unmark-read): Ditto.
4380         (elmo-folder-mark-as-important): Ditto.
4381         (elmo-folder-unmark-important): Ditto.
4382         (elmo-folder-mark-as-answered): Define.
4383         (elmo-folder-unmark-answered): Ditto.
4384
4385         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4386         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4387         (elmo-dop-queue-method-name-alist): Likewise.
4388         (elmo-folder-mark-as-answered-dop): New inline function.
4389         (elmo-folder-unmark-answered-dop): Ditto.
4390         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4391
4392         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4393         (elmo-folder-msgdb-create): Ditto.
4394         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4395         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4396         (elmo-archive-parse-mmdf): Ditto.
4397
4398         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4399         (elmo-folder-list-unreads-internal): Ditto.
4400
4401         * elmo.el (elmo-folder-msgdb): Define as generic function.
4402         (elmo-folder-list-messages): Added argument `in-msgdb'.
4403         (elmo-folder-list-unreads): Define as generic function.
4404         (elmo-folder-list-importants): Ditto.
4405         (elmo-folder-list-answereds): Ditto.
4406         (elmo-folder-list-messages-with-global-mark): New function.
4407         (elmo-folder-msgdb-create): Removed mark arguments.
4408         (elmo-folder-unmark-answered): New generic function.
4409         (elmo-folder-mark-as-answered): Ditto.
4410         (elmo-folder-append-messages): Removed argunment `unread-marks'
4411         (elmo-folder-list-unreads-internal): Abolish.
4412         (elmo-folder-list-importants-internal): Ditto.
4413         (elmo-folder-search-requires-msgdb-p): New generic function.
4414         (elmo-folder-search-requires-msgdb-p-internal): New function.
4415         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4416         elmo-msgdb-load.
4417         (elmo-folder-search-fast): Added key 'mark'.
4418         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4419         instead of unread-marks argument.
4420         (elmo-folder-move-messages): Removed argunment `unread-marks'
4421         (elmo-folder-unmark-important): Define.
4422         (elmo-folder-mark-as-important): Ditto.
4423         (elmo-folder-unmark-read): Ditto.
4424         (elmo-folder-mark-as-read): Ditto.
4425         (elmo-folder-unmark-answered): Ditto.
4426         (elmo-folder-mark-as-answered): Ditto.
4427         (elmo-folder-replace-marks): Abolish.
4428         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4429         duplicates.
4430         (elmo-folder-synchronize): Removed mark arguments;
4431         return crosspost only number.
4432
4433 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4434
4435         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4436         Remove redundunt connectivity check.
4437
4438 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4439
4440         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4441         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4442
4443 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4444
4445         * pldap.el (ldap-decode-string): Return string as-is if
4446         `ldap-coding-system' is nil.
4447         (ldap-encode-string): Ditto.
4448         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4449         (ldap-default-host): Fixed docstring.
4450
4451 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4452
4453         * elmo-util.el (elmo-warning): Define as a macro which uses
4454         `display-warning' if it is defined as a function.
4455
4456         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4457         (elmo-split-equal): Use it.
4458         (elmo-split-match): Ditto.
4459         (elmo-split-message-entity): New buffer-local variable.
4460         (elmo-split-subr): Set it.
4461
4462         * elmo-version.el (elmo-version): Up to 2.9.15.
4463
4464 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4465
4466         * elmo-imap4.el (elmo-network-initialize-session):
4467         Check capability after starttls.
4468
4469 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4470
4471         * elmo-util.el (elmo-list-delete): Added optional argument
4472         DELETE-FUNCTION.
4473
4474         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4475
4476         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4477
4478         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4479
4480         * elmo-imap4.el (elmo-folder-initialize): Don't use
4481         elmo-imap4-default-mailbox.
4482
4483 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4484
4485         * elmo-split.el (toplevel): Use `product-provide'.
4486         (elmo-split): Checkdoc.
4487
4488 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4489
4490         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4491         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4492         the function `elmo-imap4-debug-1'.
4493
4494 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4495
4496         * elmo-split.el (elmo-split): Moved to run hooks and to show
4497         message from elmo-split-subr.
4498         (elmo-split-subr): Follow the change above.
4499
4500         * elmo-split.el (elmo-split-subr): New function (renamed from
4501         elmo-split-subr).
4502         (elmo-split): Changed to call elmo-split-subr by element of
4503         elmo-split-folder.
4504         (elmo-split-folder): Changed customization type to choice.
4505
4506 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4507
4508         * elmo-split.el (elmo-split-and): Fixed condition.
4509
4510 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4511
4512         * elmo-split.el: New file.
4513         (elmo-split): Fixed logic.
4514         Display "Test:" instead of "Folder:" when reharsal.
4515
4516         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4517         explicitly.
4518
4519         * elmo-version.el (elmo-version): Up to 2.9.14.
4520
4521         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4522         wl-expand-newtext).
4523
4524 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4525
4526         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4527         message with no message-id field.
4528
4529 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4530
4531         * elmo-version.el (elmo-version): Up to 2.9.13.
4532
4533         * elmo-dop.el (elmo-folder-status-dop): Fix.
4534
4535 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4536
4537         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4538
4539         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4540         changing default value of default-mime-charset.
4541         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4542
4543         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4544
4545         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4546         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4547         instead of elmo-dop-queue-method-name-alist to check merging queue.
4548         (elmo-folder-delete-messages-dop): Delete from queue if negative
4549         message number.
4550         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4551         file is already removed.
4552
4553 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4554
4555         * elmo-vars.el: Bind colon keywords for old Emacsen.
4556
4557 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4558
4559         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4560         against non-exsisting charset.
4561
4562 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4563
4564         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4565         Use eword-decode-and-unfold-unstructured-field-body.
4566
4567         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4568         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4569         exists to decode raw subject string.
4570         (toplevel): Require 'mime.
4571
4572         * elmo-version.el (elmo-version): Up to 2.9.12.
4573
4574 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4575
4576         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4577         (elmo-msgdb-set-mark): Ditto.
4578
4579         * elmo-version.el (elmo-version): Up to 2.9.11.
4580
4581 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4582
4583         * elmo-util.el (elmo-delete-match-files): New function.
4584
4585         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4586         instead of elmo-delete-directory.
4587
4588         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4589         elmo-hash-minimun-size as 63.
4590
4591         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4592         elmo-diff-unread is nil.
4593
4594         * elmo-imap4.el (elmo-folder-open): Fix.
4595
4596         * elmo.el (elmo-message-mark): Rewrite.
4597         (elmo-message-field): Ditto.
4598         (elmo-message-set-mark): Ditto.
4599         (elmo-folder-replace-marks): New function.
4600         (elmo-generic-folder-append-msgdb): Removed third argument for
4601         elmo-msgdb-append.
4602         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4603         (elmo-msgdb-load): New implementation.
4604
4605         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4606
4607         * elmo-util.el (elmo-list-insert): New implementation.
4608
4609         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4610         argument for elmo-msgdb-append.
4611         
4612
4613         * elmo-msgdb.el (elmo-load-msgdb): New function.
4614         (elmo-make-msgdb): Ditto.
4615         (elmo-msgdb-get-index): New inline function.
4616         (elmo-msgdb-set-index): Ditto.
4617         (elmo-msgdb-get-entity-hashtb): Ditto.
4618         (elmo-msgdb-get-mark-hashtb): Ditto.
4619         (elmo-msgdb-get-mark): Ditto.
4620         (elmo-msgdb-set-mark): Ditto.
4621         (elmo-msgdb-count-marks): Ditto.
4622         (elmo-msgdb-get-number): Ditto.
4623         (elmo-msgdb-get-field): Ditto.
4624         (elmo-msgdb-seen-list): Ditto.
4625         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4626         (elmo-msgdb-delete-msgs): Follow the changes above.
4627         (elmo-msgdb-overview-get-entity): Ditto.
4628         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4629         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4630         and rewritten.
4631         (elmo-msgdb-make-index): Likewise.
4632         (elmo-msgdb-append): Removed third argument.
4633         (elmo-msgdb-clear): Clear index as nil.
4634         (elmo-folder-set-info-hashtb): Removed.
4635         (elmo-folder-set-info-max-by-numdb): Ditto.
4636         (elmo-folder-info-make-hashtb): Ditto.
4637
4638         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4639
4640         * elmo-map.el (elmo-folder-pack-number): Ditto.
4641
4642 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4643
4644         * elmo-version.el (elmo-version): Up to 2.9.10.
4645
4646         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4647
4648         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4649
4650 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4651
4652         * elmo-utils.el (elmo-make-directory): Add option.
4653         Default file mode is 700.
4654
4655 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4656
4657         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4658
4659 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4660
4661         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4662         mime-charset.
4663
4664         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4665         and "smaller".
4666
4667 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4668
4669         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4670         (elmo-shimbun-folder-entity-hash): New function.
4671         (elmo-shimbun-folder-shimbun-header): Ditto.
4672         (elmo-shimbun-entity-to-header): Ditto.
4673         (elmo-shimbun-msgdb-to-headers): Removed.
4674         (elmo-shimbun-folder-setup): Ditto.
4675         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4676         for hash key.
4677         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4678         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4679         Removed useless local bind.
4680         (elmo-folder-open-internal): Don't call
4681         `elmo-shimbun-folder-setup'.
4682         (elmo-folder-close-internal): Clear entity-hash slot.
4683         (elmo-folder-clear): Ditto.
4684         (elmo-shimbun-msgdb-create-entity): Use
4685         `elmo-shimbun-folder-shimbun-header'.
4686         (elmo-map-message-fetch): Ditto.
4687         (elmo-shimbun-update-overview): Use overview entity instead of
4688         shimbun header to lookup id by references.
4689         (elmo-map-folder-list-message-locations): Use not only headers but
4690         also overviews to list locations.
4691
4692 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4693
4694         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4695         msgdb path.
4696
4697         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4698
4699 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4700
4701         * elmo-util.el (elmo-read-search-condition-internal): Give default
4702         value for date.
4703
4704 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4705
4706         * elmo-util.el (elmo-condition-parse-search-value): Accept
4707         YYYY-MM-DD format to search.
4708         * elmo-date.el (elmo-date-get-datevec): Likewise.
4709
4710 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4711
4712         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4713         debugging code.
4714
4715 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4716
4717         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4718         from t.
4719
4720         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4721
4722         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4723         case from `elmo-folder-exists-p'.
4724         (elmo-folder-exists-p): Removed.
4725         (elmo-folder-creatable-p) Ditto.
4726
4727         * elmo-net.el (elmo-folder-create): Defined.
4728         (elmo-folder-create-unplugged): New function.
4729         (elmo-folder-exists-p): Changed default value to nil from t.
4730
4731         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4732         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4733
4734         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4735         `elmo-create-folder-dop' and append queue
4736         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4737         (elmo-folder-create-dop-delayed): New function.
4738
4739         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4740
4741         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4742
4743         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4744         (elmo-folder-writable-p) : Ditto.
4745
4746         * elmo-version.el (elmo-version): Up to 2.9.9.
4747
4748 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4749
4750         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4751         `elmo-message-use-cache-p' returns nil.
4752         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4753         (ignore cache file and refer the substance in local folders)
4754
4755 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4756
4757         * elmo-version.el (elmo-version): Up to 2.9.8.
4758
4759 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4760
4761         * elmo-version.el (elmo-version): Up to 2.9.7.
4762
4763         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4764
4765 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4766
4767         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4768
4769 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4770
4771         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4772         from --early.
4773         (elmo-map-folder-list-message-locations): Reverse location list.
4774
4775 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4776
4777         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4778
4779 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4780
4781         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4782         as a key.
4783         (elmo-nntp-folder-list-subfolders): Follow the change above.
4784
4785 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4786
4787         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4788         name if authentication type is specified.
4789
4790 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4791
4792         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4793         variable.
4794         (elmo-default-nntp-stream-type): Ditto.
4795         (elmo-default-pop3-stream-type): Ditto.
4796
4797 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4798
4799         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4800
4801 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4804         elmo-vars.el.
4805         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4806
4807         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4808         (elmo-maildir-folder-path): Ditto.
4809         (elmo-maildir-list): Ditto (abolished).
4810
4811 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4812
4813         * elmo-version.el (elmo-version): Up to 2.9.6.
4814
4815 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4816
4817         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4818         (elmo-maildir-folder-path): Ditto.
4819         (elmo-msgdb-directory): Ditto.
4820         (elmo-passwd-life-time): Ditto.
4821         (elmo-msgdb-extra-fields): Ditto.
4822         (elmo-enable-disconnected-operation): Ditto.
4823
4824 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4825
4826         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4827         other choices.
4828         (elmo-pop3-default-authenticate-type): Ditto.
4829
4830 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4831
4832         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4833         choices for custom.
4834         (elmo-pop3-default-authenticate-type): Ditto.
4835
4836 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4837
4838         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4839         mailbox to new-folder.
4840
4841 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4842
4843         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4844         less than new, set new as unread.
4845
4846         * elmo-util.el (elmo-string): Don't put text-property if nil.
4847
4848 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4849
4850         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4851         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4852
4853 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4854
4855         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4856         is nil on `completing-read'.
4857
4858 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4859
4860         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4861         for namespace part.
4862         (elmo-imap4-parse-namespace-subr): Ditto.
4863         (elmo-folder-list-subfolders): Append a delimiter when the specified
4864         folder path is a root with namespace and does not end with delimiter.
4865
4866 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4867
4868         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4869         was used.
4870
4871 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4872
4873         * elmo-util.el (elmo-save-buffer): The first argument of message
4874         is a format control string.
4875
4876 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4877
4878         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4879         `elmo-folder-diff').
4880         (elmo-diff-unread): Likewise.
4881
4882 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4883
4884         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4885         is t on `completing-read'.
4886
4887 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4888
4889         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4890         method of target folder with self mark-alist if MARK-ALIST is nil.
4891
4892 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4893
4894         * elmo-version.el (elmo-version): Up to 2.9.5.
4895
4896 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4897
4898         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4899         (elmo-dop-merge-funcs): Remove.
4900
4901 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4902
4903         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4904         Return t if PATH is directory, too.
4905         Use `dolist' instead of while loop.
4906
4907 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4908
4909         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4910         is deleted.
4911
4912 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4913
4914         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4915         return value to t.
4916         (elmo-folder-list-messages-unplugged): Return t if
4917         elmo-enable-disconnected-operation is nil.
4918
4919         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4920         `elmo-folder-list-messages-internal'.
4921
4922 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4923
4924         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4925         Change to looking-at `[23][0-9]+'.
4926         (elmo-network-initialize-session): Use 'error-msg'
4927         * elmo-net.el (elmo-network-open-session): Set unplugged
4928         if elmo-network-initialize-session returns 'elmo-open-err.
4929
4930 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4931
4932         * elmo-version.el (elmo-version): Up to 2.9.4.
4933
4934 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4935
4936         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4937         `elmo-folder-list-messages-internal'.
4938
4939 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4940
4941         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4942         (elmo-message-match-condition): New method.
4943         (elmo-folder-search-fast): New inline function.
4944         (elmo-msgdb-search): Removed.
4945
4946         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4947         target folder if it is unplugged.
4948         (elmo-folder-list-messages-internal): Return t if target folder is
4949         unplugged and itself is persistent; In this case, use list be
4950         searched already.
4951
4952         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4953         (elmo-msgdb-search-internal-primitive): Ditto.
4954         (elmo-msgdb-match-condition): New function.
4955         (elmo-msgdb-match-condition-primitive): Ditto.
4956
4957         * elmo-util.el (elmo-filter-condition-p): New macro.
4958
4959         * elmo-cache.el (elmo-folder-search): Removed.
4960
4961         * elmo-localdir.el (elmo-folder-search): Ditto.
4962
4963         * elmo-maildir.el (elmo-folder-search): Ditto.
4964
4965         * elmo-mark.el (elmo-folder-search): Ditto.
4966
4967         * elmo-nmz.el (elmo-folder-search): Ditto.
4968
4969         * elmo-sendlog.el (elmo-folder-search): Ditto.
4970
4971         * elmo-shimbun.el (elmo-folder-search): Ditto.
4972
4973         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4974         if folder is unplugged.
4975
4976         * elmo-nntp.el (elmo-folder-search): Likewise.
4977         (elmo-nntp-search-internal): New function.
4978
4979         * elmo-version.el (elmo-version): Up to 2.9.3.
4980
4981 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4982
4983         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4984
4985 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4986
4987         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4988
4989 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4990
4991         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4992
4993 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4994
4995         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4996         (elmo-map-folder-list-message-locations): Do drive letter conversion
4997         on Windows environment.
4998         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4999         (elmo-map-message-fetch): Ditto.
5000
5001 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5002
5003         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5004         (elmo-network-initialize-session): Ditto.
5005
5006 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5007
5008         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5009
5010         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5011
5012         * elmo-util.el (elmo-progress-clear): Ditto.
5013
5014         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5015         `DD-Mon-YYYY' type date.
5016
5017 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5018
5019         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5020         `elmo-date-make-sortable-string' instead of
5021         `timezone-make-date-sortable'.
5022
5023         * elmo-date.el (elmo-date-make-sortable-string): Use
5024         `timezone-make-time-string'.
5025
5026 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5027
5028         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5029
5030         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5031         `since'; Fix timezone.
5032
5033         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5034
5035         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5036
5037 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5038
5039         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5040
5041 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5042
5043         * elmo.el (elmo-generic-folder-append-messages): Make
5044         fetch-strategy with `use-cache' as 'maybe. Check return value of
5045         `elmo-message-fetch'.
5046         (elmo-message-fetch): Return return value of
5047         `elmo-message-fetch-with-cache-process'.
5048         (elmo-message-fetch-with-cache-process): Return non-nil if
5049         fetching was succeed. Load cache when fetching was failed and
5050         fetch-strategy-use-cache is 'maybe.
5051
5052         * elmo-util.el (elmo-file-cache-load): New function.
5053
5054         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5055         defun.
5056
5057         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5058         non-nil if fetching was succeed.
5059
5060         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5061
5062         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5063
5064         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5065         (elmo-message-fetch-with-cache-process): Likwise.
5066
5067         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5068
5069         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5070
5071         * elmo-version.el (elmo-version): Up to 2.9.2.
5072
5073 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5074
5075         * elmo.el (elmo-folder-delete): Delete msgdb path.
5076
5077         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5078
5079         * elmo-maildir.el (elmo-folder-delete): Ditto.
5080
5081         * elmo-localdir.el (elmo-folder-delete): Ditto.
5082
5083         * elmo-imap4.el (elmo-folder-delete): Ditto.
5084
5085 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5086
5087         * elmo.el (luna-define-class): Added `biff' slot.
5088
5089         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5090         (elmo-pop3-debug-inhibit-logging): Abolished.
5091         (elmo-network-close-session): Eliminated needless let.
5092         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5093         (elmo-pop3-send-command): Added `no-log' argument.
5094         (elmo-pop3-process-filter): Use `with-current-buffer'.
5095         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5096         if login failure.
5097         (elmo-pop3-auth-apop): Likewise.
5098         (elmo-network-authenticate-session): Likewise.
5099
5100         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5101         if biff folder.
5102
5103         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5104         string to determine protocol.
5105         (elmo-network-session-name-prefix): Abolished.
5106         (elmo-network-session-cache-key): Follow the change above.
5107         (elmo-network-open-session): Ditto.
5108
5109         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5110         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5111
5112         * elmo-version.el (elmo-version): Up to 2.9.1.
5113
5114         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5115         unmatch condition checking.
5116
5117         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5118         condition.
5119
5120 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5121
5122         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5123
5124 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5125
5126         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5127         test for while loop to execute at least one SEARCH command.
5128
5129 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5130
5131         * elmo-version.el (elmo-version): Up to 2.9.0.
5132
5133 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5134
5135         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5136         (elmo-archive-folder-path): Define.
5137         (elmo-folder-initialize): Setup `dir-name' slot.
5138         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5139         Use `dir-name' as prefix of each subfolders.
5140         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5141
5142 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5143
5144         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5145         (elmo-pipe-folder-list-target-messages): New internal function.
5146         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5147         `killed-list'.
5148         (elmo-pipe-folder-copied-list-load): New function.
5149         (elmo-pipe-folder-copied-list-save): Ditto.
5150         (elmo-folder-open-internal): Follow the change above.
5151         (elmo-folder-status): Fixed for copy.
5152
5153 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5154
5155         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5156
5157 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5158
5159         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5160         elmo-copy-file instead of elmo-add-name-to-file.
5161
5162         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5163
5164         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5165         "file://..." index.
5166
5167         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5168         of accept-process-output as 1.
5169         (elmo-pop3-read-contents): Ditto.
5170         (elmo-pop3-read-body): Ditto.
5171
5172 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5173
5174         * elmo-version.el (product-version-as-string): Remove define.
5175
5176 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5177
5178         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5179         (elmo-imap4-copy-messages): Chop number set using
5180         `elmo-imap4-number-set-chop-length'.
5181         (elmo-imap4-set-flag): Ditto.
5182         (elmo-imap4-search-internal-primitive): Ditto.
5183
5184 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5185
5186         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5187         `elmo-folder-make-temp-dir'
5188
5189         * elmo-vars.el (elmo-cache-directory): New variable.
5190         (elmo-cache-dir): Abolished.
5191         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5192
5193         * elmo-version.el (elmo-version): Up to 2.7.7.
5194
5195 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5196
5197         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5198         defcustom; Set default value as t.
5199
5200 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5201
5202         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5203         (ldap-search-program-arguments): Changed default value.
5204         (ldap-search-basic): Accept exit status 4.
5205         (ldap/field-body): Parse options.
5206         (ldap/collect-field): Ditto.
5207         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5208
5209         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5210         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5211         (elmo-imap4-accept-ok): Ditto.
5212         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5213         'notify-bye, only BYE error is reported.
5214         (elmo-folder-exists-p-plugged): Set no-error argument of
5215         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5216
5217         * elmo.el (elmo-imap4-bye-error): Changed message.
5218
5219         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5220         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5221         queues (It causes infinite loop).
5222
5223 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5224
5225         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5226         (RECENT UNSEEN MESSAGES) extension.
5227
5228 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5229
5230         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5231         Check number of overview fields.
5232
5233 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5234
5235         * elmo.el (elmo-folder-confirm-appends): Changed message.
5236         (elmo-folder-confirm-appends): Ditto.
5237
5238         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5239         `with-temp-buffer'.
5240         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5241
5242 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5243
5244         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5245         of elmo-folder-update-threshold is nil, which can be set by
5246         wl-summary-update-confirm-threshold.
5247
5248 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5249
5250         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5251         (elmo-nmz-index-alias-alist): Ditto.
5252         (elmo-map-folder-list-message-locations): Follow the change above.
5253
5254 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5255
5256         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5257
5258         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5259
5260         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5261
5262         * elmo-util.el (elmo-read): Ditto.
5263         (elmo-display-error): Ditto.
5264
5265         * elmo-vars.el (elmo-date-match): Ditto.
5266
5267         * pldap.el (ldap-coding-system): Ditto.
5268
5269         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5270         `elmo-inhibit-number-mapping' as nil.
5271
5272 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5273
5274         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5275         space delimiter for list response.
5276
5277 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5278
5279         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5280
5281 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5282
5283         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5284         (elmo-map-message-fetch): Fix.
5285         * elmo-map.el (elmo-folder-status): Fix for killed.
5286
5287 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5288
5289         * elmo-sendlog.el: New file.
5290         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5291
5292 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5293
5294         * acap.el (acap-logging-out): New buffer local variable.
5295         (acap-close): Set it.
5296         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5297         an error.
5298
5299 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5300
5301         * acap.el (acap-response-bye-p): New function.
5302         (acap-response-bye-message): Ditto.
5303         (acap-wait-for-response): If bye response is received, cause an error.
5304         (acap-parse-response): Make bye response when 'Bye' is received.
5305
5306 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5307
5308         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5309
5310 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5311
5312         * elmo-util.el (elmo-copy-file): Added argument
5313         `ok-if-already-exists'.
5314         (elmo-copy-file): Fixed typo.
5315
5316 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5317
5318         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5319
5320 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5321
5322         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5323
5324 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5325
5326         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5327         to killed-list.
5328
5329 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5330
5331         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5332         (elmo-folder-initialize): Fix for `copy'.
5333         (elmo-pipe-drain): Ditto.
5334         (elmo-folder-open-internal): Ditto.
5335         (elmo-folder-newsgroups): Fix.
5336
5337 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5338
5339         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5340         for each message.
5341
5342         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5343         recent value is returned from imap folder.
5344
5345         * elmo.el (elmo-folder-newsgroups): New generic function.
5346
5347         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5348         (elmo-folder-initialize): Set it.
5349         (elmo-folder-expand-msgdb-path): Use it.
5350         (elmo-folder-newsgroups): Define.
5351
5352         * elmo-filter.el (elmo-folder-newsgroups): Define.
5353
5354         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5355
5356         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5357
5358         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5359
5360 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5361
5362         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5363         user option.
5364         (elmo-shimbun-header-extra-field): New inline function.
5365         (elmo-shimbun-header-set-extra-field): Ditto.
5366         (elmo-shimbun-folder-header-hash-setup): Ditto.
5367         (elmo-shimbun-update-overview): Ditto.
5368         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5369         (elmo-shimbun-folder-setup): Use
5370         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5371         (elmo-shimbun-get-headers): Ditto.
5372         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5373         Insert `X-Shimbun-Id:' header if extra field is set.
5374         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5375         field's value instead of `shimbun-header-id'.
5376
5377         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5378         inline function.
5379         (elmo-msgdb-overview-entity-set-date): Ditto.
5380         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5381
5382 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5383
5384         * mmimap.el (mmimap-entity-section): Changed body node number from
5385         "0" to "1".
5386
5387 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5388
5389         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5390         `elmo-folder-delete-messages'.
5391
5392         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5393         (elmo-folder-initialize): Changed to expand alias into index path.
5394
5395         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5396         `elmo-mime-insert-header-from-buffer' with 6th arg
5397         `sorted-fields'.
5398
5399 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5400
5401         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5402
5403         * elmo.el (elmo-diff-new): New inline function.
5404         (elmo-diff-unread): Ditto.
5405         (elmo-diff-all): Ditto.
5406
5407         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5408         value from responseb.
5409         (elmo-imap4-folder-diff-plugged): Ditto.
5410         (elmo-imap4-server-diff-async): Added recent argument.
5411         (elmo-server-diff-async): Ditto.
5412         (elmo-imap4-folder-diff-plugged): Ditto.
5413
5414         * elmo-version.el (elmo-version): Up to 2.7.6.
5415
5416 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5417
5418         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5419         in quoted-stirng.
5420
5421 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5422
5423         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5424
5425         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5426
5427         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5428
5429         * elmo-multi.el (elmo-folder-initialize): Ditto.
5430
5431         * elmo-util.el (elmo-parse-token): New function.
5432         (elmo-parse-prefixed-element): Ditto.
5433
5434 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5435
5436         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5437         delete process.
5438         (elmo-imap4-accept-ok): Ditto.
5439
5440 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5441
5442         * mmimap.el (mime-imap-entity-header-string): Don't check first
5443         element of node-id is `0' (Follow last change).
5444
5445 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5446
5447         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5448         assigned irregular node-id to nested multipart section.
5449         (initialize-instance): Followed above change.
5450
5451 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5452
5453         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5454         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5455         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5456         `elmo-shimbun-get-headers');
5457         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5458         visible article on summary exists in headers).
5459         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5460
5461 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5462
5463         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5464         definition.
5465
5466 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5467
5468         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5469
5470 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5471
5472         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5473         header separator into loop condition.
5474
5475 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5476
5477         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5478         Return duplicate folder if it has subfolder.
5479
5480 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5481
5482         * elmo.el (elmo-make-folder): Add folder name error check.
5483
5484         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5485         (elmo-nntp-encode-group-string): New inline function.
5486         (elmo-nntp-decode-group-string): Ditto.
5487         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5488         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5489         Use `not' instead of `null';
5490         Use elmo-nntp-decode-group-string.
5491
5492         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5493
5494         * elmo-version.el (elmo-version): Up to 2.7.5.
5495
5496 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5497
5498         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5499         Hide progress gauge if `elmo-folder-move-messages' exits
5500         nonlocally.
5501
5502 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5503
5504         * elmo-imap4.el (elmo-folder-initialize): Use
5505         `elmo-imap4-encode-folder-string' for folder name.
5506
5507 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5508
5509         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5510         `done'.
5511
5512 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5513
5514         * elmo-util.el (elmo-progress-counter-alist): New internal
5515         variable.
5516         (elmo-progress-counter-value): New macro.
5517         (elmo-progress-counter-all-value): Ditto.
5518         (elmo-progress-counter-format): Ditto.
5519         (elmo-progress-counter-set-value): Ditto.
5520         (elmo-progress-set): New function.
5521         (elmo-progress-clear): Ditto.
5522         (elmo-progress-notify): Ditto.
5523
5524         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5525         counter.
5526
5527         * elmo.el (elmo-generic-folder-append-messages): Call
5528         `elmo-progress-notify'.
5529         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5530
5531         * elmo-archive.el (elmo-folder-append-messages): Call
5532         `elmo-progress-notify'.
5533
5534         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5535
5536         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5537
5538         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5539
5540 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5541
5542         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5543         'Create'.
5544         (elmo-message-encache-dop): Added argument `read'.
5545
5546         * elmo-shimbun.el (elmo-message-encache): Ditto.
5547
5548         * elmo-net.el (elmo-message-encache): Ditto.
5549
5550         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5551         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5552         elmo-imap4-seen-messages.
5553         (elmo-folder-msgdb-create-plugged): Initialize
5554         elmo-imap4-seen-messages;
5555         Set seen mark on elmo-imap4-seen-messages.
5556
5557         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5558
5559         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5560         elmo-folder-append-buffer.
5561         (elmo-folder-encache): Added optional argument `read'.
5562         (elmo-message-encache): Ditto.
5563
5564         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5565
5566         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5567
5568         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5569         if append buffer content succeds.
5570
5571 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5572
5573         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5574         elmo-display-progress.
5575
5576         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5577         Set 4th argument of mime-display-message.
5578         (elmo-mime-display-as-is): Ditto.
5579
5580 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5581
5582         * elmo-nmz.el (toplevel): Require 'mime-edit.
5583         (elmo-nmz-content-type-alist): Abolished.
5584         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5585         content is not a message.
5586         (elmo-map-message-fetch): Changed behavior exept for message content;
5587         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5588         content-type, Add From: and Subject: field.
5589
5590 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5591
5592         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5593         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5594         not a message.
5595
5596 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5597
5598         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5599         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5600
5601         * elmo-archive.el (elmo-folder-writable-p): Defined.
5602
5603         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5604
5605         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5606
5607         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5608
5609         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5610
5611         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5612
5613         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5614
5615         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5616
5617         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5618
5619 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5620
5621         * elmo-util.el (elmo-address-quote-specials): New function;
5622         Renamed from `wl-address-quote-specials'.
5623
5624 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5625
5626         * elmo-version.el (elmo-version): Up to 2.7.4.
5627
5628 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5629
5630         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5631
5632 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5633
5634         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5635         both compile-time and run-time to avoid byte-compile warning.
5636
5637 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5638
5639         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5640
5641 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5642
5643         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5644         option.
5645         (elmo-mime-display-as-is-internal): Use it.
5646
5647         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5648         if `read-passwd' is not defined.
5649
5650 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5651
5652         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5653         by original number.
5654         (elmo-folder-status): Call `elmo-folder-open-internal';
5655         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5656         (elmo-folder-close-internal): Set location-alist as nil.
5657         (elmo-folder-clear): Define.
5658         (elmo-folder-check): Don't set location-alist as nil.
5659
5660         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5661
5662 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5663
5664         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5665         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5666
5667         * mmimap.el (mime-imap-entity::requested): New slot.
5668         (mime-imap-location-fetch-entity-p): New generic function.
5669         (mime-decode-parameters): Define using `defun-maybe'.
5670         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5671         content-type structure.
5672         (mime-entity-body): Return empty body if
5673         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5674
5675         * elmo.el (elmo-message-displaying): New variable.
5676
5677         * elmo-mime.el (elmo-mime-message-display): Bind
5678         elmo-message-displaying as t.
5679
5680         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5681
5682 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5683
5684         * acap.el (acap-open): erase buffer before starting network process.
5685         (acap-store): Rewrite.
5686
5687 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo-imap4.el (elmo-imap4-default-mailbox,
5690         elmo-imap4-default-server
5691         elmo-imap4-default-authenticate-type,
5692         elmo-imap4-default-user,
5693         elmo-imap4-default-port,
5694         elmo-imap4-default-stream-type,
5695         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5696
5697         * elmo-pop3.el (elmo-pop3-default-user,
5698         elmo-pop3-default-server,
5699         elmo-pop3-default-authenticate-type,
5700         elmo-pop3-default-port,
5701         elmo-pop3-default-stream-type,
5702         elmo-pop3-stream-type-alist): Ditto.
5703
5704         * elmo-nntp.el (elmo-nntp-default-server,
5705         elmo-nntp-default-user,
5706         elmo-nntp-default-port,
5707         elmo-nntp-default-stream-type,
5708         elmo-nntp-stream-type-alist): Ditto.
5709
5710         * elmo-vars.el: Follow changes above.
5711         (elmo-setting): New custom group; added 'elmo-setting group to
5712         above variables.
5713
5714         * elmo-version.el (elmo-version): Up to 2.7.3.
5715
5716         * acap.el (acap-parse-response): Don't delete process when BYE
5717         response (It causes hang-up on slow network environment).
5718         (toplevel): Added comment.
5719
5720 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5721
5722         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5723
5724         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5725         parsing NIL.
5726         (acap-parse-return-metadata): Ditto.
5727
5728         * slp.el: New file.
5729         (toplevel): Fixed typo.
5730
5731         * acap.el: New file.
5732         (acap-network-stream-open): Show "Connecting..." message.
5733         (acap-parse-response): Fixed problem for BYE untagged response.
5734         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5735         (toplevel): Added tiny comments.
5736
5737 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5738
5739         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5740         space delimiter for uidl response.
5741
5742 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-vars.el (elmo-use-semi): Eliminated.
5745
5746         * elmo-util.el (elmo-string-assoc-all): New function.
5747
5748 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5749
5750         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5751         property 'mime-preview-situation for `mime-preview-quit'.
5752
5753 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5754
5755         * elmo.el (elmo-message-fetch-with-cache-process): Call
5756         elmo-message-fetch-internal instead of causing an error when fetch
5757         strategy is 'entire but only 'section cache is available.
5758
5759 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5760
5761         * elmo-version.el (elmo-version): Up to 2.7.2.
5762
5763         * elmo.el (elmo-generic-folder-append-messages): Make
5764         fetch-strategy with `use-cache'.
5765
5766         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5767         (elmo-dop-queue-method-name): New macro.
5768
5769 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5770
5771         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5772         unbalanced parenthesis.
5773
5774 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5775
5776         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5777
5778 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5779
5780         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5781         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5782
5783 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5784
5785         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5786         local variables.
5787
5788 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5789
5790         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5791         (elmo-message-use-cache-p): Define.
5792         (elmo-folder-msgdb-create): Treat cache.
5793
5794 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5795
5796         * elmo-nntp.el (elmo-network-initialize-session): Call
5797         `elmo-nntp-send-mode-reader'.
5798         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5799
5800 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5801
5802         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5803         alist.
5804         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5805         assoc.
5806
5807         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5808         for `elmo-plugged-p'.
5809         (elmo-open-network-stream): Fixed stream-type argument.
5810
5811 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5814         unknown archive type is specified.
5815
5816 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5817
5818         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5819
5820         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5821         while loading msgdb.
5822
5823         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5824         (elmo-folder-open-internal): Rewrite.
5825
5826 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5827
5828         * elmo-mime.el (elmo-mime-display-as-is-internal):
5829         Adjust buffer-multibyte status.
5830
5831 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5832
5833         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5834         of elmo-condition-find-key.
5835
5836         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5837         (elmo-condition-in-msgdb-p): Ditto.
5838         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5839         argument.
5840
5841 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5842
5843         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5844
5845 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5846
5847         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5848         label for elmo-display-progress.
5849
5850 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5851
5852         * elmo.el (elmo-folder-clear): New method.
5853         (elmo-folder-clear): Define.
5854         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5855
5856         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5857         (elmo-folder-clear): Define.
5858
5859         * elmo-map.el (elmo-folder-clear): Define.
5860
5861         * elmo-version.el (elmo-version): Up to 2.7.1.
5862
5863 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5864
5865         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5866         updates.
5867
5868 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5871         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5872
5873 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5874
5875         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5876
5877         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5878         and re-written.
5879
5880         * elmo-imap4.el (elmo-folder-initialize): Use
5881         elmo-get-network-stream-type.
5882
5883         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5884
5885         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5886
5887 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5888
5889         * elmo.el (elmo-message-encache): Set unread argument for
5890         elmo-message-fetch.
5891
5892         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5893
5894         * elmo.el (elmo-net-port-info): New method.
5895
5896         * elmo-shimbun.el (elmo-net-port-info): Define.
5897         (elmo-message-encache): Ditto.
5898
5899         * elmo-net.el (elmo-net-port-info): Define as method.
5900
5901         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5902         unplugged status when elmo-enable-disconnected-operation is t.
5903
5904         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5905         of spool folder before checking new number.
5906
5907 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5908
5909         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5910         (elmo-network-setup-session): Ditto.
5911         (elmo-message-fetch-plugged): Ditto.
5912         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5913         (elmo-network-initialize-session): Ditto.
5914         (elmo-pop3-read-response): Abolish 3rd argument.
5915         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5916         (elmo-pop3-read-contents): Ditto.
5917         (elmo-pop3-read-body): Ditto.
5918         (elmo-folder-status): Call elmo-folder-close.
5919         (elmo-pop3-lock): Abolish.
5920         (elmo-pop3-unlock): Ditto.
5921         (elmo-pop3-locked-p): Ditto.
5922         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5923
5924 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5925
5926         * elmo-version.el (elmo-version): Up to 2.7.0.
5927
5928         * elmo-pop3.el (elmo-pop3-debug): New variable.
5929         (elmo-pop3-debug-inhibit-logging): Ditto.
5930         (elmo-pop3-debug): New function.
5931         (elmo-pop3-send-command): Call elmo-pop3-debug.
5932         (elmo-pop3-read-response): Added keep-lock optional argument;
5933         Don't unlock if keep-lock is non-nil.
5934         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5935         (elmo-network-authenticate-session): Bind
5936         elmo-pop3-debug-inhibit-logging as t.
5937         (elmo-network-setup-session): Call elmo-pop3-read-response with
5938         keep-lock argument.
5939         (elmo-pop3-read-msg): Ditto.
5940         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5941         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5942         (elmo-network-initialize-session): Call elmo-pop3-lock.
5943         (elmo-folder-close-internal): Don't clear location-alist slot.
5944         (elmo-folder-check): Clear location-alist slot.
5945
5946 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5947
5948         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5949         (elmo-pop3-send-command): Call elmo-pop3-lock.
5950         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5951         (elmo-pop3-read-contents): Ditto.
5952         (elmo-pop3-lock): New function.
5953         (elmo-pop3-unlock): Ditto.
5954         (elmo-pop3-locked-p): Ditto.
5955         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5956         returns t.
5957
5958 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5959
5960         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5961
5962         * elmo-util.el (elmo-file-field-primitive-condition-match):
5963         New inline function (Don't fetch file content if "first" or "last").
5964         (elmo-file-field-condition-match): Use
5965         elmo-file-field-primitive-condition-match.
5966
5967         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5968         "first".
5969
5970         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5971         (elmo-message-fetch-plugged): Fixed.
5972
5973         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5974
5975 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo.el (elmo-folder-move-messages): Bind
5978         elmo-inhibit-display-retrieval-progress as t while moving messages.
5979
5980         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5981         New variable.
5982         (elmo-inhibit-display-retrieval-progress): Ditto.
5983
5984         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5985         for retrieval progress;
5986         Don't display progress when total buffer size is smaller than
5987         elmo-display-retrieval-progress-threshold.
5988         (elmo-message-fetch-plugged): Don't display progress when
5989         elmo-inhibit-display-retrieval-progress is non-nil.
5990
5991         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5992         for retrieval progress;
5993         Don't display progress when literal size is smaller than
5994         elmo-display-retrieval-progress-threshold.
5995         (elmo-imap4-message-fetch): Don't display progress when
5996         elmo-inhibit-display-retrieval-progress is non-nil.
5997
5998 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5999
6000         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6001         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6002         (elmo-imap4-message-fetch): Likewise.
6003
6004         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6005         (elmo-shimbun-index-range-alist): Ditto.
6006         (elmo-shimbun-use-entire-index): Abolish.
6007         (shimbun-mua-use-entire-index): Ditto.
6008         (elmo-shimbun-folder): Added new slot `range'.
6009         (elmo-folder-initialize): Setup slot `range'.
6010
6011 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6012
6013         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6014         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6015         (elmo-shimbun-get-headers): Use return value of
6016         `shimbun-article-expiration-days'.
6017         (elmo-folder-close-internal): Clean up last-check slot.
6018
6019         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6020         (elmo-pop3-total-size): New variable.
6021         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6022
6023         * elmo.el (elmo-folder-reserve-status-p): New method.
6024
6025         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6026         (elmo-shimbun-use-entire-index): New user option.
6027         (shimbun-elmo-mua): New class.
6028         (shimbun-mua-search-id): Define.
6029         (shimbun-mua-use-entire-index): Ditto.
6030         (elmo-shimbun-folder:last-check): New slot.
6031         (elmo-shimbun-headers-cache-header-list): Abolish.
6032         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6033         (elmo-shimbun-headers-cache-header-hash): Ditto.
6034         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6035         (elmo-shimbun-headers-cache-last-check): Ditto.
6036         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6037         (elmo-shimbun-headers-check-p): Rewrite.
6038         (elmo-shimbun-msgdb-to-headers): New function.
6039         (elmo-shimbun-get-headers): Rewrite.
6040         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6041         (elmo-folder-open-internal): Get headers only if
6042         `elmo-shimbun-headers-check-p' is non-nil.
6043         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6044         is non-nil.
6045         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6046         (elmo-quit): Removed.
6047
6048         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6049         function.
6050         (elmo-msgdb-overview-entity-set-extra): Ditto.
6051         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6052
6053         * elmo-map.el (elmo-folder-status): Don't call
6054         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6055         is non-nil.
6056
6057 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6058
6059         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6060         of `elmo-msgdb-search-internal-primitive' when condition's car is
6061         `and' or `or'.
6062
6063 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6064
6065         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6066
6067 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6068
6069         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6070         call `elmo-pipe-drain'.
6071
6072 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6073
6074         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6075         typo. (elmo-cache-folder -> elmo-mark-folder)
6076
6077 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6078
6079         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6080         `elmo-message-fetch'.
6081
6082 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6083
6084         * elmo-net.el (elmo-message-encache): Fixed typo.
6085         (elmo-message-fetch-unplugged): Changed call
6086         `elmo-message-fetch-internal' without argument `outbuf'.
6087
6088 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6089
6090         * elmo.el (elmo-message-encache): Define as generic function.
6091         (elmo-message-fetch-field): New generic function.
6092         (elmo-message-fetch-with-cache-process): Cause an error when
6093         fetch strategy is 'entire but only 'section cache is available.
6094         (toplevel): Fixed nmz folder definition.
6095
6096         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6097         (elmo-msgdb-resume-list-filename): Ditto.
6098         (elmo-queue-filename): Ditto.
6099         (elmo-enable-disconnected-operation): Changed default value to t.
6100
6101         * elmo-util.el (elmo-cache-path-section-p): New function.
6102         (elmo-file-cache-get): Use it.
6103         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6104         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6105         (elmo-dop-queue-save): Ditto.
6106
6107         * elmo-net.el (elmo-folder-status-unplugged): Call
6108         elmo-folder-status-dop.
6109         (elmo-folder-list-messages-unplugged): Implemented.
6110         (elmo-folder-delete-messages-unplugged): Define.
6111         (elmo-folder-msgdb-create): Define.
6112         (elmo-folder-msgdb-create-unplugged): Define.
6113         (elmo-folder-mark-as-read-unplugged): Ditto.
6114         (elmo-folder-unmark-read-unplugged): Ditto.
6115         (elmo-folder-mark-as-important-unplugged): Ditto.
6116         (elmo-folder-unmark-important-unplugged): Ditto.
6117         (elmo-message-encache): Ditto.
6118
6119         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6120         (elmo-dop-queue-save): Ditto.
6121
6122         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6123         `elmo-folder-msgdb-create'.
6124         (elmo-folder-append-buffer): Implemented unplugged operation.
6125         (elmo-folder-append-messages): Call parent method in unplugged status.
6126         (elmo-message-fetch-unplugged): Removed definition.
6127         (elmo-message-fetch-field): Implemented.
6128
6129         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6130         (elmo-dop-folder): Removed variable definition.
6131         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6132         (elmo-dop-queue-flush): Implemented.
6133         (elmo-dop-queue-merge): Removed definition (TODO).
6134         (elmo-dop-spool-folder): New function.
6135         (elmo-dop-spool-folder-append-buffer): Ditto.
6136         (elmo-dop-spool-folder-list-messages): Ditto.
6137         (elmo-dop-list-deleting-messages): Ditto.
6138         (elmo-folder-append-buffer-dop): Ditto.
6139         (elmo-folder-delete-messages-dop): Ditto.
6140         (elmo-message-encache-dop): New inline function.
6141         (elmo-create-folder-dop): Ditto.
6142         (elmo-folder-mark-as-read-dop): Ditto.
6143         (elmo-folder-unmark-read-dop): Ditto.
6144         (elmo-folder-mark-as-important-dop): Ditto.
6145         (elmo-folder-unmark-important-dop): Ditto.
6146         (elmo-folder-status-dop): Fixed.
6147         (elmo-folder-append-buffer-dop-delayed): New function.
6148         (elmo-folder-delete-messages-dop-delayed): Ditto.
6149         (elmo-dop-msgdb): Ditto.
6150
6151 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6152
6153         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6154
6155 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6156
6157         * elmo.el (elmo-folder-move-messages): Fixed problem when
6158         `dst-folder' is 'null.
6159
6160 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6161
6162         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6163         instead of current mark.
6164
6165         * elmo-multi.el (elmo-folder-list-importants-internal): No
6166         operation if importants is not list.
6167
6168         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6169         Return t if importants is not list.
6170
6171         * elmo-map.el (elmo-map-folder-list-importants): Define.
6172         (elmo-folder-list-importants-internal): Check return value of
6173         `elmo-map-folder-list-importants-internal'.
6174
6175         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6176
6177         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6178
6179         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6180
6181         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6182
6183 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6184
6185         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6186         (Patch is provided by <kita@coe.nttdata.co.jp>).
6187
6188 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6189
6190         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6191         mark folder.
6192
6193 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6194
6195         * elmo.el (elmo-message-fetch): Define.
6196         (elmo-message-fetch-with-cache-process): New generic method.
6197         (elmo-message-fetch-internal): New generic method.
6198         (elmo-folder-synchronize):
6199
6200         * elmo-archive.el (elmo-message-fetch-internal): Define.
6201         (elmo-message-fetch): Eliminated.
6202
6203         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6204         (elmo-message-fetch): Eliminated.
6205
6206         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6207         argument OUTBUF.
6208         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6209
6210         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6211         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6212
6213         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6214         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6215
6216         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6217
6218         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6219
6220         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6221
6222         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6223         (elmo-message-fetch-unplugged): New generic method.
6224         (elmo-message-fetch-internal): Remove cache process (Renamed from
6225         `elmo-message-fetch').
6226
6227         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6228         (elmo-message-fetch): Eliminated.
6229         (elmo-message-fetch-unplugged): Ditto.
6230
6231         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6232
6233 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6234
6235         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6236         of `to-be-deleted' from number-alist to number-list.
6237
6238 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6239
6240         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6241         (elmo-folder-mark-as-important): Ditto.
6242
6243 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6244
6245         * elmo.el (elmo-folder): Added process-duplicates slot.
6246
6247         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6248         (elmo-folder-unmark-read): Ditto.
6249         (elmo-folder-unmark-important): Ditto.
6250         (elmo-folder-mark-as-important): Ditto.
6251
6252         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6253         duplicated message processing.
6254
6255         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6256
6257 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6258
6259         * elmo-util.el (elmo-list-subdirectories-1): New function.
6260         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6261         (elmo-mapcar-list-of-list): New function.
6262
6263         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6264         `elmo-mapcar-list-of-list' instead of `mapcar'.
6265
6266         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6267
6268         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6269         `elmo-have-link-count'. Return the fully qualified folder name.
6270
6271 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6272
6273         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6274         (elmo-shimbun-headers-cache): New internal variable.
6275         (elmo-shimbun-headers-cache-header-list): New inline function.
6276         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6277         (elmo-shimbun-headers-cache-header-hash): Ditto.
6278         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6279         (elmo-shimbun-headers-cache-last-check): Ditto.
6280         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6281         (elmo-shimbun-lapse-seconds): Ditto.
6282         (elmo-shimbun-headers-cache-check-p): Ditto.
6283         (elmo-shimbun-get-headers): New function.
6284         (elmo-folder-open-internal): Call it.
6285         (elmo-quit): Define (Clear headers-cache).
6286
6287 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6288
6289         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6290
6291         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6292         (elmo-msgdb-flist-save): Ditto.
6293
6294         * elmo-shimbun.el (elmo-folder-list-subfolders):
6295         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6296         (elmo-folder-exists-p): Ditto.
6297
6298         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6299         argument for `shimbun-header-insert'.
6300
6301 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6302
6303         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6304         at first time.
6305
6306         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6307         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6308
6309 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6310
6311         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6312         (elmo-folder-plugged-p): Define.
6313         (elmo-folder-set-plugged): Ditto.
6314         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6315         (elmo-folder-list-messages-internal): Return t if unplugged.
6316         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6317
6318         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6319         when elmo-folder-list-messages-internal method of children returns t.
6320
6321         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6322         pair is nil.
6323         (elmo-folder-open-internal): Don't update if unplugged status.
6324
6325 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6328         new message.
6329
6330 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6331
6332         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6333
6334         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6335         saving.
6336
6337 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6340
6341         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6342         (elmo-folder-open-internal): Set up headers slot.
6343         (elmo-folder-check): Call elmo-folder-close-internal and
6344         elmo-folder-open-internal.
6345         (elmo-folder-close-internal): Clean up headers slot.
6346
6347 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6348
6349         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6350         exactly folder list.
6351         (elmo-folder-append-messages): Fixed append archive with prefix.
6352
6353         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6354         make temp files with start-number.
6355
6356         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6357
6358 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6359
6360         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6361         argument `visible-only'.
6362         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6363         instead of `if'.
6364
6365         * elmo-pop3.el (elmo-folder-open-internal): Check
6366         `elmo-inhibit-number-mapping' is non-nil.
6367
6368         * elmo-pipe.el (elmo-folder-status): Fixed.
6369
6370 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6371
6372         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6373
6374         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6375         (elmo-folder-open-internal): Setup `header-hash' slot.
6376         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6377         information.
6378         (elmo-map-message-fetch): Ditto.
6379
6380 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6381
6382         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6383         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6384         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6385         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6386
6387         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6388
6389 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6390
6391         * sb-airs.el: Added footer.
6392
6393         * shimbun.el (shimbun-article): Define as luna-method.
6394
6395         * sb-tcup.el: New file.
6396
6397         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6398         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6399
6400 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6401
6402         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6403         (shimbun-get-headers): Ditto.
6404
6405         * elmo.el: Moved obsolete variable definitions from
6406         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6407
6408         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6409         groups.
6410
6411         * shimbun.el: New file.
6412
6413         * elmo-shimbun.el: New file.
6414
6415         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6416         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6417         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6418         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6419
6420 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6421
6422         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6423         hierarchy is t.
6424
6425 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6426
6427         * elmo.el (elmo-folder-msgdb): Define as macro.
6428         (elmo-folder-open): Added argument `load-msgdb'.
6429         (elmo-generic-folder-open): Ditto.
6430         (elmo-folder-encache): New function.
6431
6432         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6433
6434         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6435
6436         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6437         Eliminated argument FOLDER and added argument MSGDB.
6438         (elmo-dop-queue-load): Moved from elmo-dop.el.
6439         (elmo-dop-queue-save): Ditto.
6440
6441         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6442
6443         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6444
6445         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6446         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6447         (elmo-filter-folder-list-importants-internal): Ditto.
6448
6449         * elmo-map.el (elmo-folder-pack-number): Ditto.
6450
6451         * elmo-mime.el (elmo-mime-message-display): Ditto.
6452
6453         * elmo.el (elmo-generic-folder-commit): Ditto.
6454         (elmo-folder-list-unreads): Ditto.
6455         (elmo-folder-list-importants): Ditto.
6456         (elmo-generic-folder-commit): Ditto.
6457         (elmo-message-set-mark): Ditto.
6458         (elmo-generic-folder-append-msgdb): Ditto.
6459         (elmo-folder-synchronize): Ditto.
6460         (elmo-folder-messages): Ditto.
6461         (elmo-init): Call elmo-dop-queue-load.
6462         (elmo-folder-list-messages): Ditto.
6463
6464         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6465         (elmo-nntp-folder-process-crosspost): Ditto.
6466         (elmo-folder-list-unreads-internal): Ditto.
6467
6468         * elmo-dop.el: Removed old functions.
6469
6470 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6471
6472         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6473         `folder' to `msgdb'.
6474
6475 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6476
6477         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6478         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6479
6480         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6481         case-fold-search.
6482
6483 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6486         defined.
6487
6488         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6489         (mmimap-parse-parameters-from-list): Define as alias for
6490         `mime-decode-parameter-plist' if it is defined as function.
6491         (mmimap-make-mime-entity): Added argument `number'.
6492         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6493         as 0.
6494         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6495
6496         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6497
6498         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6499
6500         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6501
6502 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6503
6504         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6505
6506         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6507         when elmo-imap4-default-authenticate-type is nil.
6508         (elmo-folder-list-subfolders): Ditto
6509         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6510         (elmo-imap4-fetch-callback-1-subr): Renamed from
6511         `elmo-imap4-fetch-callback-1' and define as inline function.
6512         (elmo-imap4-fetch-callback-1):
6513         Renamed from `elmo-imap4-fetch-callback'.
6514         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6515
6516         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6517         msgdb path (To keep compatibility with main trunk).
6518
6519         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6520
6521         * elmo-util.el (elmo-make-file-cache): Moved position of
6522         some macros.
6523
6524         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6525         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6526         instead of `elmo-pop3-inhibit-uidl'.
6527         (elmo-folder-exists-p): Ditto.
6528         (elmo-pop3-folder-list-messages): Ditto.
6529
6530         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6531         instead of `elmo-pop3-inhibit-uidl'.
6532         (elmo-folder-status): Ditto.
6533
6534         * elmo-dop.el (elmo-dop-folder): New variable.
6535         (elmo-dop-lock-message): Eliminated.
6536         (elmo-dop-unlock-message): Ditto.
6537         (elmo-dop-lock-list-load): Ditto.
6538         (elmo-dop-lock-list-save): Ditto.
6539         (elmo-dop-delete-folder): Ditto.
6540         (elmo-dop-rename-folder): Ditto.
6541
6542         * elmo.el: Removed incomplete commentary.
6543
6544 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6545
6546         * elmo.el (toplevel): Require 'elmo-version first;
6547         for little `recursive-load-depth' settings.
6548         Fix "ends here" comment.
6549
6550 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6551
6552         * elmo-util.el (toplevel): Require 'poem;
6553         Some functions are moved from elmo-cache.el.
6554
6555         * elmo-net.el (toplevel): Require 'elmo-cache.
6556
6557         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6558
6559         * elmo.el (toplevel): Ditto.
6560
6561         * elmo-cache.el: Rewrite with luna;
6562         Some functions are moved to elmo-util.el.
6563
6564         * elmo-internal.el (elmo-internal-folder-list): New variable.
6565         (elmo-internal-folder-initialize): Rewrite.
6566         (elmo-folder-list-subfolders): Ditto.
6567
6568         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6569         (elmo-cache-collect-sub-directories): Ditto.
6570
6571 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6572
6573         * elmo-version.el (elmo-version): Up to 2.5.8.
6574
6575         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6576
6577         * elmo-util.el (elmo-list-insert): New function.
6578
6579 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6580
6581         * elmo.el (elmo-init): New function.
6582         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6583
6584         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6585         (Renamed from `elmo-localdir-header-chop-length').
6586
6587         * elmo-pop3.el (elmo-pop3-use-cache,
6588         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6589
6590         * elmo-nntp.el (elmo-message-fetch): Define.
6591         (elmo-message-fetch-unplugged): Ditto.
6592         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6593         (elmo-nntp-use-cache): Ditto.
6594         (elmo-nntp-max-number-precedes-list-active): Ditto.
6595
6596         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6597
6598         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6599         `elmo-msgdb-insert-file-header'.
6600         Use `elmo-msgdb-file-header-chop-length'.
6601
6602         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6603         `elmo-vars.el'.
6604
6605         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6606         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6607         `elmo-msgdb-insert-file-header'.
6608
6609         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6610         Use new variable;
6611         Define obsolete variables with `elmo-define-obsolete-variable',
6612
6613         * elmo-util.el (elmo-warning-buffer-name): New constant.
6614         (elmo-warning): New function.
6615         (elmo-obsolete-variable-alist): New variable.
6616         (elmo-obsolete-variable-show-warnings): New variable.
6617         (elmo-define-obsolete-variable): New function.
6618         (elmo-resque-obsolete-variable): Ditto.
6619         (elmo-resque-obsolete-variables): Ditto.
6620
6621 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6622
6623         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6624         Eliminated.
6625
6626         * elmo-pop3.el, elmo-nntp.el: Use custom.
6627
6628 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6629
6630         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6631         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6632
6633 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6634
6635         * Luna-fy Kenichi OKADA's following changes.
6636         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6637         `nohide'.
6638         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6639
6640 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6641
6642         * elmo-util.el (elmo-display-progress): Prefer
6643         `progress-feedback-with-label' to `lprogress-display'.
6644
6645 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6646
6647         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6648
6649 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6650
6651         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6652         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6653         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6654         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6655         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6656         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6657         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6658         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6659         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6660         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6661         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6662         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6663         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6664
6665 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6666
6667         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6668         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6669
6670 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6671
6672         * elmo.el (elmo-folder-process-crosspost): New generic method.
6673         (elmo-folder-writable-p): Ditto.
6674         (elmo-folder-message-appendable-p): Eliminated.
6675         (elmo-generic-folder-append-msgdb): Rewrite.
6676         (elmo-newsgroups-hashtb): New internal variable.
6677         (elmo-crosspost-message-set): Eliminated.
6678         (elmo-crosspost-message-delete): Ditto.
6679         (elmo-setup-subscribed-newsgroups): New function.
6680         (elmo-crosspost-message-alist-modified): New internal variable.
6681         (elmo-crosspost-message-alist-load): New function (Renamed from
6682         `wl-crosspost-alist-load').
6683         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6684         `wl-crosspost-alist-save').
6685
6686         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6687
6688         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6689         `unreads'.
6690         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6691         elmo-newsgroups-hashtb).
6692         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6693         `elmo-nntp-folder-update-crosspost-message-alist'.
6694         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6695         `elmo-nntp-groups-hashtb'.
6696         (elmo-nntp-make-groups-hashtb): Eliminated.
6697         (elmo-nntp-parse-newsgroups): New function (Renamed from
6698         `wl-parse-newsgroups').
6699         (elmo-folder-creatable-p, elmo-folder-writable-p,
6700         elmo-folder-close-internal, elmo-folder-mark-as-read,
6701         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6702         Define.
6703         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6704
6705         * elmo-net.el (elmo-message-fetch): Check buffer size.
6706
6707         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6708
6709         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6710
6711         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6712         before `close' command.
6713
6714         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6715         `mark-alist' (All other related portions are changed).
6716
6717 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6718
6719         * elmo-util.el (elmo-create-hash-size): Eliminated.
6720         (elmo-make-hash) Make a hash with `one less than a power of two'
6721         length.
6722
6723         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6724         (elmo-hash-maximum-size): Changed value.
6725
6726 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6727
6728         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6729         (elmo-mime-message-display-as-is): Ditto.
6730
6731 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6732
6733         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6734         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6735
6736 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6737
6738         * elmo-mark.el: New file.
6739
6740         * elmo-internal.el: Rewrite (Almost empty).
6741
6742 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6745         (mime-imap-entity-header-string): Ditto.
6746         (mmimap-entity-section): Rewrite.
6747
6748 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6749
6750         * elmo-nmz.el: New file.
6751
6752         * elmo-pipe.el: Rewrite with luna.
6753
6754 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6755
6756         * elmo-archive.el: Rewrite with luna.
6757
6758         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6759         (elmo-folder-list-importants-internal): Ditto.
6760
6761 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6762
6763         * elmo-archive.el (elmo-archive-version): Abolish.
6764         (toplevel) Removed `boso' comment.
6765
6766 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6769         elmo-msgdb-add-msgs-to-seen-list-subr;
6770         Changed argument seen-marks to unread-marks.
6771
6772         * elmo-nntp.el: Rewrite with luna.
6773
6774 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo-filter.el: Rewrite with luna.
6777
6778 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6779
6780         * elmo-pop3.el: Rewrite with luna.
6781
6782 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-multi.el: Rewrite with luna.
6785
6786         * elmo-vars.el (elmo-use-killed-list): Abolish.
6787         All other related portions are changed.
6788         (elmo-filename-replace-string-alist): Renamed from
6789         elmo-msgid-replace-string-alist.
6790
6791 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6792
6793         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6794
6795         * elmo-map.el: New file.
6796         * elmo-maildir.el: Rewrite with luna.
6797
6798 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6799
6800         * elmo.el: Changed meaning of `elmo-folder-commit'.
6801         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6802
6803 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6804
6805         * elmo.el (elmo-folder-append-buffer): New function.
6806         (Renamed from `elmo-append-msg')
6807
6808 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * elmo-mime.el: New file.
6811
6812 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-cache.el: Rewrite.
6815
6816 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6817
6818         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6819
6820 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-vars.el (elmo): New group.
6823         (elmo-strict-diff-folder-regexp): New variable.
6824
6825         * elmo-util.el (elmo-call-func): Abolish.
6826         (elmo-folder-get-type): Ditto.
6827         (elmo-*-get-spec): Ditto.
6828         (elmo-*-spec-*): Ditto.
6829         (elmo-imap4-identical-name-space-p): Ditto.
6830         (elmo-folder-identical-system-p): Ditto.
6831         (elmo-folder-direct-copy-alist): Ditto.
6832         (elmo-folder-direct-copy-p): Ditto.
6833
6834         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6835         (elmo-folder-initialize): Define.
6836         (elmo-folder-get-primitive-list): Ditto.
6837
6838         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6839         (elmo-folder-initialize): Define.
6840         Renamed `elmo-network-session-host-internal' to
6841         `elmo-network-session-server-internal'.
6842
6843         * elmo-multi.el (elmo-multi-folder): New luna class.
6844         (elmo-folder-initialize): Define.
6845         (elmo-folder-get-primitive-list): Ditto.
6846         (elmo-folder-contains-type): Ditto.
6847         (elmo-message-use-cache-p): Ditto.
6848
6849         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6850         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6851
6852         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6853         (elmo-folder-initialize): Define.
6854
6855         * elmo-filter.el (elmo-filter-folder): New luna class.
6856         (elmo-folder-initialize): Define.
6857         (elmo-folder-get-primitive-list): Ditto.
6858         (elmo-folder-contains-type): Ditto.
6859
6860 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6861
6862         * elmo-imap4.el: Rewrite with luna.
6863
6864         * mmimap.el: New file.
6865
6866         * mmelmo.el, mmelmo-imap4.el: Removed.
6867
6868         * elmo-net.el: Ditto.
6869
6870         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6871         (elmo-folder-initialize): Define.
6872
6873         * elmo-archive.el (elmo-archive-folder): New luna class.
6874         (elmo-folder-initialize): Define.
6875
6876         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6877         `elmo-folder-msgdb-path'.
6878         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6879         `elmo-make-folder'.
6880
6881 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6882
6883         * elmo.el: New file.
6884
6885         * elmo2.el: Renamed to elmo.el.
6886
6887 \f
6888 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6889
6890         * elmo-cache.el (elmo-cache-expire-by-size): Count
6891         a disk usage for a cache file entry in KB even when
6892         its kind is a directory.
6893
6894 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6895
6896         * elmo-version.el (elmo-version): Up to 2.5.7.
6897
6898 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6899
6900         * elmo-version.el (elmo-version): Up to 2.5.6.
6901
6902 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6903
6904         * elmo-version.el (elmo-version): Up to 2.5.5.
6905
6906 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-imap4.el (elmo-network-authenticate-session):
6909         Fixed a logic for response checking.
6910
6911 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6912
6913         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6914         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6915         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6916         `sasl-mechanisms'.
6917
6918         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6919         for `starttls-open-stream' and `starttls-negotiate'.
6920
6921         * elmo-nntp.el: Remove autoload settings for
6922         `starttls-open-stream' and `starttls-negotiate'.
6923
6924         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6925         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6926         `luna-define-class' with `eval-and-compile'.
6927
6928 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6929
6930         * elmo-util.el (elmo-read-search-condition-internal):
6931         Require an element of table for searching field.
6932
6933 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * elmo-version.el (elmo-version): Up to 2.5.4.
6936
6937 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6938
6939         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6940
6941 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6942
6943         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6944
6945 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6946
6947         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6948         before greeting.
6949
6950 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6951
6952         * elmo-imap4.el (elmo-imap4-delete-folder):
6953         Send "close" before "delete" (Use commented out line).
6954         (elmo-imap4-rename-folder): Ditto.
6955
6956         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6957         folder string itself.
6958         (elmo-dop-list-deleted): New function.
6959         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6960         killed.
6961
6962         * elmo-util.el (elmo-string-rassoc-all): New function.
6963
6964 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6965
6966         * elmo-version.el (elmo-version): Up to 2.5.3.
6967
6968         * elmo-net.el (elmo-network-get-session): Changed logic for
6969         checking process status.
6970
6971         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6972         process is nil;
6973         Changed logic for checking process status.
6974
6975 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6976
6977         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6978         before greeting.
6979         (elmo-network-setup-session): Set UIDL hash size according to
6980         the length of list response.
6981         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6982         according to the length of list response;
6983         Return the length of list response.
6984         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6985
6986 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6987
6988         * elmo-imap4.el (toplevel): Require 'ssl.
6989         Add autoload 'starttls.
6990         * elmo-pop3.el (toplevel): Ditto.
6991         * elmo-nntp.el (toplevel): Ditto.
6992
6993 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6994
6995         * elmo-imap4.el (toplevel): defun at compile time.
6996         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6997         sasl-next-step, sasl-step-data, sasl-step-set-data.
6998         * elmo-pop3.el (toplevel): Ditto.
6999
7000 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7001
7002         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7003
7004 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7005
7006         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7007         if error.
7008         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7009         and `elmo-pop-auth-apop'.
7010
7011 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7012
7013         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7014
7015 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7016
7017         * elmo-pop3.el (elmo-network-authenticate-session): Split
7018         encoded response value.
7019
7020 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7021
7022         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7023         `elmo-pop3-force-login'.
7024         Redefine `sasl-mechanisms'.
7025         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7026
7027 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7028
7029         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7030         Delete `elmo-imap4-authenticator-alist'.
7031         (elmo-imap4-auth-cram-md5): Delete.
7032         (elmo-imap4-auth-digest-md5): Delete.
7033
7034 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7035
7036         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7037         (elmo-pop3-auth-scram-md5): Ditto.
7038         (elmo-pop3-auth-cram-md5): Ditto.
7039
7040 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7041
7042         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7043         Delete `elmo-pop3-authenticator-alist'.
7044
7045 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7046
7047         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7048         new SASL API.
7049         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7050
7051 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7052
7053         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7054
7055 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7056
7057         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7058         Fixed problem when `elmo-pop3-use-uidl' is nil.
7059         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7060
7061 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7062
7063         * elmo-version.el (elmo-version): Up to 2.5.2.
7064
7065 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7066
7067         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7068         New function.
7069         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7070         (elmo-pop3-msgdb-create-as-numlist): Use it.
7071
7072         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7073         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7074
7075         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7076         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7077
7078 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7079
7080         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7081         when elmo-mark-as-read is called with second argument nil.
7082
7083 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7084
7085         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7086         Moved to elmo-util.el.
7087
7088         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7089         Moved from elmo-pipe.el
7090
7091         * elmo-archive.el (elmo-archive-call-process): Enclose with
7092         static-if.
7093
7094         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7095         "RFC822" (because RFC822.PEEK is obsolete).
7096         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7097
7098 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7099
7100         * elmo-archive.el (elmo-archive-call-process): Don't check for
7101         the exit status when Nemacs is running.
7102
7103 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7104
7105         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7106         'plain.
7107
7108         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7109         (elmo-pop3-get-spec): Set default of auth to 'user.
7110
7111         * elmo-imap4.el (elmo-imap4-session-check):
7112         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7113         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7114         (elmo-imap4-auth-login): New function; Revival.
7115         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7116         `elmo-imap4-auth-login'.
7117
7118 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7119
7120         * elmo2.el (toplevel): Move `product-provide' declare.
7121         * mmelmo.el (toplevel): Ditto.
7122
7123 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7124
7125         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7126
7127 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7128
7129         * elmo-util.el (elmo-folder-get-store-type): New function.
7130         (elmo-folder-direct-copy-p): Use it.
7131
7132 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7133
7134         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7135         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7136         and result of `elmo-imap4-use-flag-p'.
7137         (elmo-imap4-fetch-callback-1): Set mark according to
7138         the result of `elmo-imap4-use-flag-p'.
7139
7140 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7141
7142         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7143         (elmo-generic-list-folder-unread): Ditto.
7144         (elmo-folder-get-info): Ditto.
7145         (elmo-folder-set-info-max-by-numdb): Ditto.
7146         (elmo-folder-get-info-max): Ditto.
7147         (elmo-folder-get-info-length): Ditto.
7148         (elmo-folder-get-info-unread): Ditto.
7149         (elmo-folder-info-make-hashtb): Ditto.
7150
7151         * elmo2.el: Removed above functions.
7152
7153 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7154
7155         * elmo-imap4.el (toplevel): Require 'ssl.
7156         Add autoload 'starttls.
7157         * elmo-pop3.el (toplevel): Ditto.
7158         * elmo-nntp.el (toplevel): Ditto.
7159
7160 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7161
7162         * elmo-imap4.el (toplevel): defun at compile time.
7163         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7164         sasl-next-step, sasl-step-data, sasl-step-set-data.
7165         * elmo-pop3.el (toplevel): Ditto.
7166
7167 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7168
7169         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7170
7171 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7172
7173         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7174         if error.
7175         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7176         and `elmo-pop-auth-apop'.
7177
7178 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7179
7180         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7181
7182 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7183
7184         * elmo-pop3.el (elmo-network-authenticate-session): Split
7185         encoded response value.
7186
7187 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7188
7189         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7190         `elmo-pop3-force-login'.
7191         Redefine `sasl-mechanisms'.
7192         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7193
7194 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7195
7196         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7197         Delete `elmo-imap4-authenticator-alist'.
7198         (elmo-imap4-auth-cram-md5): Delete.
7199         (elmo-imap4-auth-digest-md5): Delete.
7200
7201 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7202
7203         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7204         (elmo-pop3-auth-scram-md5): Ditto.
7205         (elmo-pop3-auth-cram-md5): Ditto.
7206
7207 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7208
7209         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7210         Delete `elmo-pop3-authenticator-alist'.
7211
7212 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7213
7214         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7215         new SASL API.
7216         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7217
7218 \f
7219 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7220
7221         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7222
7223 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7224
7225         * elmo-nntp.el (elmo-nntp-get-folders-info):
7226         Fixed problem when '\' character is contained in user-id.
7227         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7228
7229 \f
7230 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7231
7232         * elmo-imap4.el (elmo-imap4-delete-folder):
7233         Send "close" before "delete" (Use commented out line).
7234         (elmo-imap4-rename-folder): Ditto.
7235
7236         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7237         folder string itself.
7238         (elmo-dop-list-deleted): New function.
7239         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7240         killed.
7241
7242         * elmo-util.el (elmo-string-rassoc-all): New function.
7243
7244         * elmo-version.el (elmo-version): Up to 2.5.1.
7245
7246 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7249
7250         * elmo-internal.el (elmo-internal-search): Fix last change.
7251
7252 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7253
7254         * elmo-internal.el (elmo-internal-search): Rewrite.
7255         (Fixed problem which is pointed out by Akihiro MOTOKI
7256         <motoki@da.jp.nec.com>)
7257
7258         * elmo-version.el (elmo-version): Up to 2.5.0.
7259
7260 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7261
7262         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7263
7264 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7265
7266         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7267         non-nil, make hierarchy.
7268
7269 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7270
7271         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7272         `elmo-pop3-use-uidl' must be bound to nil.
7273         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7274
7275 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7276
7277         * elmo-util.el (elmo-copy-file): Don't cause an error after
7278         `add-name-to-file' failed.
7279
7280         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7281         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7282
7283 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7284
7285         * elmo-version.el (elmo-version): Up to 2.3.93.
7286
7287 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7288
7289         * elmo-util.el (elmo-flatten): New function.
7290
7291 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7292
7293         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7294         sync Author header.
7295         * elmo-cache.el (toplevel): Ditto.
7296         * elmo-database.el (toplevel): Ditto.
7297         * elmo-date.el (toplevel): Ditto.
7298         * elmo-dop.el (toplevel): Ditto.
7299         * elmo-filter.el (toplevel): Ditto.
7300         * elmo-imap4.el (toplevel): Ditto.
7301         * elmo-internal.el (toplevel): Ditto.
7302         * elmo-localdir.el (toplevel): Ditto.
7303         * elmo-localnews.el (toplevel): Ditto.
7304         * elmo-maildir.el (toplevel): Ditto.
7305         * elmo-msgdb.el (toplevel): Ditto.
7306         * elmo-multi.el (toplevel): Ditto.
7307         * elmo-net.el (toplevel): Ditto.
7308         * elmo-nntp.el (toplevel): Ditto.
7309         * elmo-pipe.el (toplevel): Ditto.
7310         * elmo-pop3.el (toplevel): Ditto.
7311         * elmo-util.el (toplevel): Ditto.
7312         * elmo-vars.el (toplevel): Ditto.
7313         * elmo2.el (toplevel): Ditto.
7314         * mmelmo-imap4.el (toplevel): Ditto.
7315         * mmelmo.el (toplevel): Ditto.
7316
7317         * elmo-version.el (elmo-version): Move to top.
7318
7319         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7320         * elmo-imap4.el (toplevel): Ditto.
7321         * elmo-localdir.el (toplevel): Ditto.
7322         * elmo-msgdb.el (toplevel): Ditto.
7323         * elmo-nntp.el (toplevel): Ditto.
7324         * elmo-pop3.el (toplevel): Ditto.
7325         * elmo-version.el (toplevel): Ditto.
7326
7327         * elmo-localnews.el (toplevel): Added Keyword header.
7328
7329 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7330
7331         * elmo-version.el (product-version-as-string): Defined using
7332         `defun-maybe'.
7333         (toplevel): Use it.
7334
7335         * elmo-localdir.el (toplevel): Updated copyright notice.
7336         * elmo-version.el (toplevel): Ditto.
7337         * elmo-msgdb.el (toplevel): Ditto.
7338         * elmo-imap4.el (toplevel): Ditto.
7339         * elmo-nntp.el (toplevel): Ditto.
7340         * elmo-pop3.el (toplevel): Ditto.
7341
7342 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7343
7344         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7345         messages.
7346
7347         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7348         parameter value (It sometimes contains raw kanji).
7349
7350 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7351
7352         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7353         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7354
7355 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7356
7357         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7358
7359 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7360
7361         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7362         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7363
7364 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7365
7366         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7367         value if selecting folder succceeded.
7368         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7369
7370 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7371
7372         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7373         representation.
7374
7375         * elmo-util.el (elmo-string-matched-member): New function.
7376
7377 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7378
7379         * elmo-util.el (elmo-unintern): New macro.
7380         (elmo-number-set-member): Fixed docstring.
7381
7382         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7383         tag token.
7384
7385 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7386
7387         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7388         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7389
7390 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7391
7392         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7393         `no-error'.
7394         Added docstring.
7395         Return non-nil if selecting folder succeeded.
7396         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7397
7398 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7399
7400         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7401         `file-name-completion' returns t.
7402         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7403         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7404         directory if it does not exist.
7405         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7406         for iteration.
7407
7408 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7409
7410         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7411         enclosure (It's harmful in unplugged status).
7412
7413         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7414
7415         * mmelmo-1.el: Removed.
7416
7417         * mmelmo-2.el: Ditto.
7418
7419         * mmelmo-imap4-1.el: Ditto.
7420
7421         * mmelmo-imap4-2.el: Ditto.
7422
7423         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7424
7425         * mmelmo.el: Merged mmelmo-2.el.
7426
7427         * elmo-version.el (elmo-version): Up to 2.3.92.
7428
7429 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7430
7431         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7432         elmo-update-number): Remove last period in "...done." message.
7433         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7434         Ditto.
7435         * elmo-cache.el (elmo-cache-expire-by-size,
7436         elmo-cache-get-sorted-cache-file-list,
7437         elmo-cache-msgdb-create-as-numlist): Ditto.
7438         * elmo-dop.el (elmo-dop-save-pending-messages,
7439         (elmo-dop-flush-pending-append-operations): Ditto.
7440         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7441         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7442         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7443         (elmo-localdir-pack-number): Ditto.
7444         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7445         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7446         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7447         mime-write-entity-content): Ditto.
7448         * pldap.el (ldap-search-basic): Ditto.
7449
7450 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7451
7452         * elmo-version.el (elmo-version): Up to 2.3.91.
7453
7454         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7455         Only when filter is 'last'.
7456
7457         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7458         (elmo-condition-parse-search-value): Use it.
7459         (elmo-read-search-condition-internal): Quote value only when
7460         it is not an atom.
7461
7462 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7463
7464         * elmo2.el (elmo-generic-folder-diff): Fix.
7465
7466 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7467
7468         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7469         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7470         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7471         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7472         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7473         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7474
7475 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7476
7477         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7478         extra-fields.
7479
7480 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7481
7482         * elmo-version.el (elmo-version): Up to 2.3.90.
7483
7484         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7485         (elmo-imap4-list-folder-important): Ditto.
7486
7487 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7488
7489         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7490
7491 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7492
7493         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7494
7495 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7496
7497         * elmo-nntp.el (elmo-network-initialize-session):
7498         Add starttls negotiation.
7499
7500 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7501
7502         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7503         response.
7504         (elmo-network-setup-session): Define.
7505         Call `elmo-nntp-send-mode-reader' when session opened.
7506
7507 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7508
7509         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7510
7511 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7512
7513         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7514         an invalid SPACE character ahead of `SEARCH' command.  Move
7515         a valid SPACE character following `SEARCH' from conditional
7516         `format' arguments to control-strings.
7517
7518 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7519
7520         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7521         was succeeded.
7522
7523         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7524
7525 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7526
7527         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7528         `w32-get-true-file-link-count' as t.
7529
7530         * elmo-imap4.el (elmo-imap4-read): Abolished.
7531         (Renamed to `elmo-read' and moved to elmo-util.el)
7532         All other related portions are changed.
7533
7534         * elmo-util.el (elmo-read): New function.
7535         (elmo-condition-parse-search-value): Use it.
7536
7537 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7538
7539         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7540
7541         * elmo-nntp.el (elmo-nntp-session): Define.
7542         (elmo-nntp-setting): Abolished.
7543         All other related portions are changed.
7544         (elmo-nntp-get-server-command): Changed argument.
7545         (elmo-nntp-set-server-command): Ditto.
7546         (elmo-nntp-xover-p): Ditto.
7547         (elmo-nntp-set-xover): Ditto.
7548         (elmo-nntp-listgroup-p): Ditto.
7549         (elmo-nntp-set-listgroup): Ditto.
7550         (elmo-nntp-list-active-p): Ditto.
7551         (elmo-nntp-set-list-active): Ditto.
7552         (elmo-nntp-xhdr-p): Ditto.
7553         (elmo-nntp-set-xhdr): Ditto.
7554         (elmo-nntp-flush-connection): Abolished.
7555         (elmo-nntp-get-connection): Abolished.
7556         (elmo-nntp-get-session): New function.
7557         (elmo-network-initialize-session): Defined.
7558         (elmo-network-authenticate-session): Ditto.
7559         (elmo-nntp-send-mode-reader): Changed argument.
7560         (elmo-nntp-send-command): Changed argument.
7561         All other related portions are changed.
7562         (elmo-nntp-read-response): Ditto.
7563         (elmo-nntp-read-raw-response): Ditto.
7564         (elmo-nntp-read-contents): Ditto.
7565         (elmo-nntp-read-body): Ditto.
7566         (elmo-nntp-goto-folder): Abolished.
7567         (elmo-nntp-select-group): New function.
7568         All other related portions are changed.
7569         (This function substitutes `elmo-nntp-goto-folder')
7570         (elmo-nntp-msgdb-create-by-header): Rewrite.
7571         (elmo-nntp-get-overview): Eliminated.
7572         (elmo-nntp-get-message): Ditto.
7573         (elmo-nntp-open-connection) Abolished.
7574         (elmo-nntp-read-msg): Rewrite.
7575         (elmo-nntp-post): Ditto.
7576         (elmo-nntp-send-data): Abolished.
7577         (elmo-nntp-send-buffer): New function.
7578         (elmo-nntp-send-data-line): Define as inline function.
7579         (elmo-nntp-get-folders-info-prepare): Use session as key.
7580         (elmo-nntp-groups-read-response): Changed argument.
7581         (elmo-nntp-retrieve-headers): Ditto.
7582         (elmo-nntp-msgdb-create-message): Ditto.
7583
7584         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7585         when searching by 'since' or 'before'.
7586
7587 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7588
7589         * elmo-version.el (toplevel): Use product-version-as-string for set
7590         verstion-string, if defined.
7591
7592 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7593
7594         * elmo-util.el: Doc fixes.
7595
7596 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7597
7598         * elmo-archive.el (toplevel): Use product-provide.
7599         * elmo-cache.el (toplevel): Ditto.
7600         * elmo-database.el (toplevel): Ditto.
7601         * elmo-date.el (toplevel): Ditto.
7602         * elmo-dop.el (toplevel): Ditto.
7603         * elmo-filter.el (toplevel): Ditto.
7604         * elmo-imap4.el (toplevel): Ditto.
7605         * elmo-internal.el (toplevel): Ditto.
7606         * elmo-localdir.el (toplevel): Ditto.
7607         * elmo-localnews.el (toplevel): Ditto.
7608         * elmo-maildir.el (toplevel): Ditto.
7609         * elmo-msgdb.el (toplevel): Ditto.
7610         * elmo-multi.el (toplevel): Ditto.
7611         * elmo-net.el (toplevel): Ditto.
7612         * elmo-nntp.el (toplevel): Ditto.
7613         * elmo-pipe.el (toplevel): Ditto.
7614         * elmo-pop3.el (toplevel): Ditto.
7615         * elmo-util.el (toplevel): Ditto.
7616         * elmo-vars.el (toplevel): Ditto.
7617         * elmo2.el (toplevel): Ditto.
7618         * mmelmo-1.el (toplevel): Ditto.
7619         * mmelmo-2.el (toplevel): Ditto.
7620         * mmelmo-imap4-1.el (toplevel): Ditto.
7621         * mmelmo-imap4-2.el (toplevel): Ditto.
7622         * mmelmo-imap4.el (toplevel): Ditto.
7623         * mmelmo.el (toplevel): Ditto.
7624
7625 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7626
7627         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7628         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7629
7630 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7631
7632         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7633         before splitting.
7634         (elmo-multi-split-number-alist): Ditto.
7635
7636 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7637
7638         * elmo-version.el: New file.  Use product.el.
7639         * elmo2.el: Add (require 'elmo-version).
7640         * elmo-vars.el (elmo-appname, elmo-version): Move to
7641         elmo-version.el
7642
7643 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7644
7645         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7646         `elmo-msgdb-expand-path'.
7647         (elmo-msgdb-load): Ditto.
7648         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7649         (elmo-generic-list-folder-unread): Rewrite.
7650         (elmo-generic-list-folder-important): Changed argument.
7651         (elmo-list-folder-unread): Ditto.
7652         (elmo-list-folder-important): Ditto.
7653         (elmo-folder-diff): Rewrite.
7654         (elmo-generic-folder-diff): New function.
7655         (elmo-multi-get-number-alist-list): Abolished
7656         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7657         (elmo-multi-folder-diff): Moved to elmo-multi.el
7658         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7659
7660         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7661         `elmo-msgdb-expand-path'.
7662         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7663         (elmo-pop3-read-msg): Ditto.
7664         (elmo-pop3-delete-msgs): Ditto.
7665         (elmo-pop3-folder-diff): New alias.
7666
7667         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7668         `elmo-msgdb-expand-path'.
7669         (elmo-pipe-list-folder-unread): Changed arguments.
7670         (elmo-pipe-list-folder-important): Ditto.
7671         (elmo-pipe-folder-diff): New alias.
7672
7673         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7674         `elmo-msgdb-expand-path'.
7675         (elmo-nntp-max-of-folder): Ditto.
7676         (elmo-nntp-msgdb-create): Ditto.
7677         (elmo-nntp-delete-msgs): Ditto.
7678         (elmo-nntp-folder-diff): New alias.
7679
7680         * elmo-multi.el (elmo-multi-folder-diff): New function.
7681         (elmo-multi-split-mark-alist): Ditto.
7682         (elmo-multi-split-number-alist): Ditto.
7683         (elmo-multi-mark-alist-list): Abolished (Renamed to
7684         elmo-multi-split-mark-alist).
7685         (elmo-multi-list-folder-unread): Rewrite.
7686         (elmo-multi-list-folder-important): Ditto.
7687         (elmo-multi-list-folder): Set `spec' as 1st argument for
7688         `elmo-msgdb-expand-path'.
7689         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7690         instead of `elmo-multi-get-number-alist-list'.
7691
7692         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7693         If 1st argument is not string, treat as spec.
7694         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7695         `elmo-msgdb-expand-path'.
7696         (elmo-msgdb-flist-load): Ditto.
7697         (elmo-msgdb-flist-save): Ditto.
7698         (elmo-msgdb-delete-path): Ditto.
7699         (elmo-msgdb-rename-path): Ditto.
7700
7701         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7702         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7703         (elmo-maildir-delete-mark-msgs): Ditto.
7704         (elmo-maildir-msgdb-create): Ditto.
7705         (elmo-maildir-read-msg): Ditto.
7706         (elmo-maildir-delete-msgs): Ditto.
7707         (elmo-maildir-list-folder-subr): Ditto.
7708         (elmo-maildir-search): Ditto.
7709         (elmo-maildir-get-msg-filename): Ditto.
7710         (elmo-maildir-pack-number): Ditto.
7711         (elmo-maildir-folder-diff): New alias.
7712
7713         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7714
7715         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7716         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7717         (elmo-localdir-folder-diff): New alias.
7718
7719         * elmo-internal.el (elmo-internal-list-folder-subr):
7720         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7721         (elmo-internal-list-folder-by-location): Ditto.
7722         (elmo-internal-msgdb-create): Ditto.
7723         (elmo-internal-delete-msgs): Ditto.
7724         (elmo-internal-read-msg): Ditto.
7725         (elmo-internal-folder-diff): New alias.
7726
7727         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7728         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7729         `elmo-msgdb-expand-path'.
7730         (elmo-imap4-list-folder-unread): Changed arguments.
7731         (elmo-imap4-list-folder-important): Ditto.
7732
7733         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7734         (elmo-filter-list-folder-important): Ditto.
7735         (elmo-filter-folder-diff): New function.
7736
7737         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7738
7739         * elmo-cache.el (elmo-cache-list-folder):
7740         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7741         (elmo-cache-copy-msgs): Ditto.
7742         (elmo-cache-folder-diff): New alias.
7743
7744         * elmo-archive.el (elmo-archive-list-folder-subr):
7745         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7746         (elmo-archive-get-archive-name): Ditto.
7747         (elmo-archive-create-file): Ditto.
7748         (elmo-archive-append-msg): Ditto.
7749         (elmo-archive-copy-msgs): Ditto.
7750         (elmo-archive-copy-msgs-froms): Ditto.
7751         (elmo-archive-get-msg-filename): Ditto.
7752         (elmo-archive-folder-diff): New alias.
7753
7754 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7755
7756         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7757         (elmo-pop3-stream-type-alist): New variable.
7758         (elmo-nntp-stream-type-alist): New variable.
7759
7760         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7761         (elmo-kill-buffer): Ditto.
7762         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7763         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7764         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7765         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7766         (elmo-imap4-get-spec): Take into account
7767         `elmo-imap4-stream-type-alist'.
7768
7769 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7770
7771         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7772         (elmo-nntp-list-folders-get-cache): Ditto.
7773
7774 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7775
7776         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7777         character before 'uid'.
7778
7779 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7780
7781         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7782
7783         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7784
7785         * elmo-util.el (elmo-number-set-member): New function.
7786         (elmo-number-set-append-list): Ditto.
7787         (elmo-number-set-append): Ditto.
7788
7789         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7790         Use `elmo-number-set-member'.
7791         (elmo-living-messages): Ditto.
7792         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7793         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7794
7795         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7796         (elmo-imap4-add-to-cont-list): Abolished.
7797         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7798         instead of elmo-imap4-add-to-cont-list.
7799
7800         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7801         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7802
7803         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7804
7805 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7806
7807         * elmo-util.el (elmo-condition-parse-search-value):
7808         Fixed date parsing.
7809
7810 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7811
7812         * elmo-util.el (elmo-condition-find-key-internal): New function.
7813         (elmo-condition-find-key): Ditto.
7814
7815         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7816         (elmo-msgdb-search-internal): Ditto.
7817         (elmo-msgdb-search): Ditto.
7818
7819 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7820
7821         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7822         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7823
7824         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7825         (elmo-nntp-search-primitive): Fixed problem when condition is
7826         'unmatch'.
7827
7828         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7829
7830         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7831         (elmo-nntp-xhdr-p): New macro.
7832         (elmo-nntp-set-xhdr): Ditto.
7833         (elmo-nntp-parse-xhdr-response): New function.
7834         (elmo-nntp-retrieve-field): Ditto.
7835         (elmo-nntp-search-primitive): Ditto.
7836         (elmo-nntp-search): Implemented.
7837
7838         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7839
7840         * elmo-archive.el (elmo-archive-search): Set all number list to
7841         `elmo-archive-field-condition-match'
7842
7843         * elmo-localdir.el (elmo-localdir-search): Likewise.
7844
7845         * elmo-maildir.el (elmo-maildir-search): Likewise.
7846
7847 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7848
7849         * elmo-msgdb.el (elmo-living-messages): New function.
7850         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7851         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7852         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7853         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7854         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7855         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7856         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7857         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7858         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7859         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7860         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7861
7862 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7863
7864         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7865
7866         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7867
7868         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7869
7870         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7871         arguments for `SEARCH' command.
7872         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7873         All other related portions are changed.
7874
7875         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7876
7877         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7878         (elmo-list-folder-unread): Rewrite.
7879         (elmo-list-folder-important): Ditto.
7880
7881         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7882         (elmo-condition-parse-error): New inline function.
7883         (elmo-read-search-condition): New function.
7884         (elmo-read-search-condition-internal): Ditto.
7885         (elmo-parse-search-condition): Rewrite.
7886         (elmo-condition-parse): New function.
7887         (elmo-condition-parse-or-expr): Ditto.
7888         (elmo-condition-parse-and-expr): Ditto.
7889         (elmo-condition-parse-primitive): Ditto.
7890         (elmo-condition-parse-search-value): Ditto.
7891         (elmo-buffer-field-primitive-condition-match): Ditto.
7892         (elmo-buffer-field-condition-match): Rewrite.
7893         (elmo-file-field-condition-match): Ditto.
7894
7895         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7896         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7897
7898         * elmo-internal.el (elmo-internal-search): Set `number' and
7899         `number-list' argument of `elmo-file-field-condition-match'.
7900
7901         * elmo-maildir.el (elmo-maildir-search): Ditto.
7902
7903         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7904         `msgdb' as argument instead of `mark-alist'.
7905         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7906         `overview'.
7907
7908         * elmo-multi.el: Likewise.
7909
7910         * elmo-pipe.el: Likewise.
7911
7912         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7913         (elmo-imap4-search-internal): Rewrite.
7914         (elmo-imap4-search): Ditto.
7915
7916         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7917         (elmo-filter-list-folder-unread): Ditto.
7918         (elmo-filter-list-folder-important): Ditto.
7919         (elmo-filter-search): Rewrite.
7920
7921         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7922         `number-list' argument of `elmo-file-field-condition-match'.
7923         (elmo-cache-search): Ditto.
7924
7925         * elmo-localdir.el: Likewise.
7926
7927         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7928         number-list and pass it to `elmo-buffer-field-condition-match'.
7929         (elmo-archive-field-condition-match): Pass `number-list' to
7930         `elmo-archive-field-condition-match'
7931
7932 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7933
7934         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7935         `listgroup'.
7936
7937         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7938         (elmo-folder-diff-async-callback-data): Ditto.
7939         (elmo-folder-diff-async): New function.
7940
7941         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7942         (elmo-network-session-cache-key): Use it as a prefix of the session
7943         name.
7944         (elmo-network-open-session): Ditto.
7945
7946         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7947         (elmo-imap4-status-callback-data): Ditto.
7948         (elmo-imap4-server-diff-async-callback): New variable.
7949         (elmo-imap4-server-diff-async-callback-data): Ditto.
7950         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7951         `elmo-imap4-status-callback-data'.
7952         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7953         `elmo-imap4-status-callback-data' as nil.
7954         (elmo-imap4-server-diff): Ditto.
7955         (elmo-imap4-server-diff-async-callback-1): New function.
7956         (elmo-imap4-server-diff-async): Ditto.
7957         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7958
7959 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7960
7961         * elmo-util.el (elmo-list-delete): Doc fix.
7962         (elmo-delete-lists): Abolish.
7963         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7964         instead of `elmo-delete-lists'.
7965
7966 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7967
7968         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7969         before `sort'.
7970
7971 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7972
7973         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7974         `elmo-imap4-literal-subr'.
7975         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7976         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7977
7978 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7979
7980         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7981         (elmo-archive-list-folder): Fix.
7982         (elmo-archive-max-of-folder): Fix.
7983
7984 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7985
7986         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7987          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7988         (elmo-localdir-append-msg): Ditto.
7989         (elmo-localdir-list-folder): Fix for `nonsort'.
7990         (elmo-localdir-list-folder-subr): Fix for `killed'.
7991         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7992         (elmo-maildir-list-folder-subr): Ditto.
7993         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7994         (elmo-archive-list-folder-subr): Ditto.
7995         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7996         (elmo-internal-list-folder-subr): Ditto.
7997
7998 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7999
8000         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8001
8002 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8003
8004         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8005
8006 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8007
8008         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8009         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8010
8011         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8012         before greeting.
8013         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8014         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8015
8016 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8017
8018         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8019
8020         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8021         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8022         before STORE command.
8023
8024 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8025
8026         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8027
8028         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8029         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8030         of `response'.
8031         (elmo-imap4-list-folders): Removed unused local variable.
8032         (elmo-network-initialize-session): Ditto.
8033         (elmo-imap4-delete-msg-by-id): Ditto.
8034         (elmo-imap4-parse-fetch): Ditto.
8035         (elmo-imap4-copy-msgs): Ditto.
8036         Use `dst-spec' instead of `dst-folder'.
8037         (elmo-network-authenticate-session): Check authenticate type `plain'.
8038
8039 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8040
8041         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8042         garbage checking.
8043         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8044         `elmo-imap4-response-value'.
8045         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8046
8047 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8048
8049         * elmo-imap4.el (elmo-imap4-send-command):
8050         Cause elmo-imap4-bye-error when current response is BYE.
8051         (elmo-imap4-arrival-filter): Changed greeting response value.
8052
8053         * elmo2.el (elmo-imap4-bye-error): Define.
8054
8055         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8056         (elmo-imap4-server-diff): Ditto.
8057         (elmo-imap4-response-bye-p): New macro.
8058         (elmo-imap4-response-error-text): Get text from BYE response.
8059         (elmo-imap4-read-response): Return if BYE response.
8060         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8061         (elmo-imap4-folder-exists-p): Ditto.
8062         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8063         (elmo-imap4-parse-bye): New function.
8064         (elmo-imap4-parse-response): Remove needless let.
8065         Call `elmo-imap4-parse-bye'.
8066
8067 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8068
8069         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8070         the mailbox does not exist.
8071         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8072
8073 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8074
8075         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8076
8077 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8078
8079         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8080
8081         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8082         (elmo-network-initialize-session-buffer): Defined.
8083
8084         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8085         Abolished.
8086         (mmelmo-imap4-get-mime-entity): Rewrite.
8087
8088         * elmo2.el (elmo-error): Capitalize error message.
8089
8090         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8091         (elmo-network-session-buffer): New macro.
8092         (elmo-network-open-session): Use it.
8093
8094         * elmo-imap4.el: Rewrite.
8095
8096 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8097
8098         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8099
8100 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8101
8102         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8103         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8104         (elmo-imap4-create-msgdb-from-overview-string): Use
8105         `elmo-msgdb-create-overview-from-buffer'.
8106
8107 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8108
8109         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8110         (elmo-imap4-default-hierarchy-delimiter): New variable.
8111         (elmo-imap4-list-folders): Use it.
8112
8113 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8114
8115         * elmo-net.el (elmo-network-open-session): Add user and
8116         stream-type for process-buffer name.
8117
8118         * elmo-pop3.el (elmo-network-initialize-session): Call
8119         buffer-disable-undo.
8120
8121         * elmo-imap4.el (elmo-network-initialize-session):
8122         Set current-buffer as an argument for `buffer-disable-undo'.
8123
8124         * elmo-pop3.el (elmo-network-close-session): Don't use
8125         `process-live-p'.
8126
8127         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8128         Set default as 'user.
8129
8130         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8131
8132         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8133         and `elmo-imap4-flush-connection'.
8134
8135         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8136         (elmo-pop3-get-spec): Assume auth as symbol.
8137         (elmo-open-network-stream): Moved to `elmo-net'.
8138
8139         * elmo-pop3.el (toplevel): Require 'elmo-net.
8140         Define `sasl-cram-md5' to silence byte compilier.
8141         (elmo-pop3-connection-cache) Abolished.
8142         (elmo-pop3-authenticator-alist) New variable.
8143         (elmo-pop3-session): Define.
8144         (elmo-pop3-connection-get-process): Abolished.
8145         (elmo-pop3-connection-get-buffer): Ditto.
8146         (elmo-pop3-close-connection): Ditto.
8147         (elmo-pop3-flush-connection): Ditto.
8148         (elmo-pop3-get-connection): Ditto.
8149         (elmo-pop3-get-session): New function.
8150         (Replacement for `elmo-pop3-get-connection').
8151         All other related modules are changed.
8152         (elmo-network-close-session): Define.
8153         (elmo-pop3-send-command): Abolished argument `buffer'.
8154         All other related modules are changed.
8155         (elmo-pop3-read-response): Likewise.
8156         (elmo-pop3-open-connection): Abolished.
8157         (elmo-pop3-auth-user): New function.
8158         (elmo-pop3-auth-apop): Ditto.
8159         (elmo-pop3-auth-cram-md5): Ditto.
8160         (elmo-pop3-auth-scram-md5): Ditto.
8161         (elmo-pop3-auth-digest-md5): Ditto.
8162         (elmo-network-initialize-session): Define.
8163         (elmo-network-authenticate-session): Ditto.
8164         (elmo-network-setup-session): Ditto.
8165
8166         * elmo-imap4.el (toplevel): Require 'elmo-net.
8167         (elmo-imap4-session): Define.
8168         (elmo-imap4-connection-cache): Abolished.
8169         (elmo-imap4-password-key): Ditto.
8170         (elmo-imap4-flush-connection): Ditto.
8171         (elmo-imap4-get-connection): Ditto.
8172         All other related modules are changed.
8173         (elmo-imap4-get-session): New function
8174         (Replacement for `elmo-imap4-get-connection').
8175         (elmo-imap4-read-response): Abolished argument `buffer'.
8176         All other related modules are changed.
8177         (elmo-imap4-send-command): Likewise.
8178         (elmo-imap4-select-folder): Abolished.
8179         All other related modules are changed.
8180         (elmo-imap4-select-mailbox): New function.
8181         (Replacement for `elmo-imap4-select-folder').
8182         (elmo-imap4-auth-login): Simplify.
8183         (Assume current buffer as process buffer)
8184         (elmo-imap4-auth-cram-md5): Ditto.
8185         (elmo-imap4-auth-digest-md5): Ditto.
8186         (elmo-imap4-login): Ditto.
8187         (elmo-imap4-open-connection): Abolished.
8188         (elmo-imap4-open-connection-1): Abolished.
8189         (elmo-network-initialize-sessoin): Define.
8190         (elmo-network-authenticate-session): Ditto.
8191         (elmo-network-setup-session): Ditto.
8192
8193         * elmo-net.el: New module.
8194
8195 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8196
8197         * elmo-util.el (elmo-define-error): New function.
8198
8199         * elmo2.el (elmo-error): Define.
8200         (elmo-open-error): Define.
8201         (elmo-authenticate-error): Define.
8202
8203         * elmo-imap4.el (elmo-imap4-error): Abolish.
8204         (elmo-imap4-error-type): Abolish.
8205         (elmo-imap4-error-process): Abolish.
8206         (elmo-imap4-error-message): Abolish
8207         (elmo-imap4-list-folders): Don't quote lambda.
8208         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8209         (elmo-imap4-parse-namespace): Ditto.
8210         (elmo-imap4-open-connection): Rewrite.
8211         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8212         (elmo-imap4-get-connection): Abolish local variable `result'.
8213
8214 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8215
8216         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8217         wrong-type-argument error when auth is nil.
8218
8219 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8220
8221         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8222         (elmo-default-nntp-stream-type): Ditto.
8223         (elmo-default-pop3-stream-type): Ditto.
8224         (elmo-network-stream-type-alist): Ditto.
8225         (elmo-default-imap4-ssl): Abolished.
8226         (elmo-default-nntp-ssl): Ditto.
8227         (elmo-default-pop3-ssl): Ditto.
8228
8229         * elmo-util.el: (toplevel): Removed needless requires.
8230         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8231         (elmo-open-network-stream): Open network stream according to
8232         the value of `elmo-network-stream-type-alist'.
8233         (elmo-get-network-stream-type): New function.
8234         (elmo-network-stream-type-spec-string): New macro.
8235         (elmo-network-stream-type-symbol): Ditto.
8236         (elmo-network-stream-type-function): Ditto.
8237
8238         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8239         network-stream-type. All other related portions are changed.
8240         (elmo-pop3-open-connection): Ditto.
8241
8242         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8243         network-stream-type. All other related portions are changed.
8244
8245         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8246         network-stream-type.All other related portions are changed.
8247         (elmo-imap4-error): New macro.
8248         (elmo-imap4-error-type): Ditto.
8249         (elmo-imap4-error-process): Ditto.
8250         (elmo-imap4-error-message): Ditto.
8251         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8252         (elmo-imap4-auth-cram-md5): Ditto.
8253         (elmo-imap4-auth-digest-md5): Ditto.
8254         (elmo-imap4-login): Ditto.
8255         (elmo-imap4-open-connection): Remove password entry if authentication
8256         was in vain.
8257         (elmo-imap4-user-at-host): Abolished.
8258         (elmo-imap4-password-key): New buffer local variable.
8259         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8260         using protocol, port, auth and stream-type.
8261
8262         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8263
8264 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8265
8266         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8267
8268         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8269
8270         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8271         (elmo-imap4-authenticator-alist): New variable.
8272         (elmo-imap4-open-connection-1): Rename from
8273         elmo-imap4-open-connection.
8274         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8275         only wraps elmo-imap4-open-connection-1.
8276         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8277         user-at-host.
8278         (elmo-imap4-auth-login): New function.
8279         (elmo-imap4-auth-cram-md5): New function.
8280         (elmo-imap4-auth-digest-md5): New function.
8281         (elmo-imap4-login): New function.
8282
8283 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8284
8285         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8286         function `error'.
8287
8288 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8289
8290         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8291
8292 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8293
8294         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8295
8296 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8297
8298         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8299         for server responses, quote `*' regardless of where it appears.
8300
8301 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8302
8303         * elmo-maildir.el (elmo-maildir-commit): New alias.
8304
8305 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8306
8307         * elmo-util.el (elmo-display-progress):
8308                 Use `progress-feedback-with-label'.
8309
8310 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8311
8312         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8313         (elmo-imap4-non-atom-char-regex): Ditto.
8314         (elmo-imap4-non-text-char-regex): Ditto.
8315         (elmo-imap4-literal-threshold): Ditto.
8316         (elmo-imap4-atom-p): New function.
8317         (elmo-imap4-quotable-p): Ditto.
8318         (elmo-imap4-nil): Ditto.
8319         (elmo-imap4-atom): Ditto.
8320         (elmo-imap4-quoted): Ditto.
8321         (elmo-imap4-literal-subr): Ditto.
8322         (elmo-imap4-literal): Ditto.
8323         (elmo-imap4-buffer-literal): Ditto.
8324         (elmo-imap4-string-subr): Ditto.
8325         (elmo-imap4-string): Ditto.
8326         (elmo-imap4-buffer-string): Ditto.
8327         (elmo-imap4-astring-subr): Ditto.
8328         (elmo-imap4-astring): Ditto.
8329         (elmo-imap4-buffer-astring): Ditto.
8330         (elmo-imap4-nstring): Ditto.
8331         (elmo-imap4-buffer-nstring): Ditto.
8332         (elmo-imap4-mailbox): New alias.
8333         (elmo-imap4-field-body): Ditto.
8334         (elmo-imap4-userid): Ditto.
8335         (elmo-imap4-password): Ditto.
8336         (elmo-imap4-format-quoted): New function.
8337         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8338         arguments and handle "atom", "quoted" and "literal" string here.
8339         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8340         `elmo-imap4-send-command'.
8341         (elmo-imap4-folder-exists-p): Likewise.
8342         (elmo-imap4-create-folder): Likewise.
8343         (elmo-imap4-delete-folder): Likewise.
8344         (elmo-imap4-rename-folder): Likewise.
8345         (elmo-imap4-max-of-folder): Likewise.
8346         (elmo-imap4-check-validity): Likewise.
8347         (elmo-imap4-sync-validity): Likewise.
8348         (elmo-imap4-server-diff): Likewise.
8349         (elmo-imap4-select-folder): Likewise.
8350         (elmo-imap4-copy-msgs): Likewise.
8351         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8352         (elmo-imap4-mark-set-on-msgs): Likewise.
8353         (elmo-imap4-read-part): Likewise.
8354         (elmo-imap4-read-msg): Likewise.
8355         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8356         `elmo-imap4-password' for `elmo-imap4-send-command'.
8357         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8358         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8359         `elmo-imap4-buffer-literal'.
8360         (elmo-imap4-append-msg): Likewise.
8361
8362         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8363         `delete' for removing dead connection from the connection cache.
8364         Move deletion of the process buffer after that.
8365         (elmo-imap4-list): Change `defsubst' to `defun'.
8366         (elmo-imap4-commit): Make error message verbose.
8367         (elmo-imap4-search): Ditto.
8368         (elmo-imap4-list): Ditto.
8369         (elmo-imap4-select-folder): Ditto.
8370         (elmo-imap4-copy-msgs): Ditto.
8371         (elmo-imap4-delete-msg-by-id): Ditto.
8372         (elmo-imap4-append-msg-by-id): Ditto.
8373         (elmo-imap4-append-msg): Ditto.
8374
8375 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8376
8377         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8378         when dired is used on XEmacs.
8379
8380 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8381
8382         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8383         instead of `append'.
8384         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8385         `elmo-plugged-p' directly.
8386         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8387         of `elmo-plugged-p' directly.
8388
8389         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8390         Eliminate unused variable.  Use `memq' for checking a process status.
8391         Use `cons' instead of `append' for updating the connection cache.
8392         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8393         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8394
8395 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8396
8397         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8398         `elmo-imap4-read-point' exactly.
8399
8400         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8401         the local variable `folder' to `mailbox'.
8402         Rename the argument `fld' to `folder'.
8403
8404 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8405
8406         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8407         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8408
8409 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8410
8411         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8412         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8413         (elmo-pop3-uidl-number-hash): Ditto.
8414         (elmo-pop3-size-hash): Ditto.
8415         (elmo-pop3-uidl-done): Ditto.
8416         (elmo-pop3-list-done): Ditto.
8417         (elmo-pop3-connection-get-process): New defmacro.
8418         (elmo-pop3-connection-get-buffer): Ditto.
8419         (elmo-pop3-close-connection): Delete buffer and process.
8420         (elmo-pop3-flush-connection): Don't delete buffer and process.
8421         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8422         Setup UIDL and size hash.
8423         (elmo-pop3-send-command-no-erase): Deleted
8424         (elmo-pop3-send-command): Added optional argument `no-erase'.
8425         (elmo-pop3-parse-uidl-response): New function.
8426         (elmo-pop3-parse-list-response): Set size hash.
8427         (elmo-pop3-list-location): New function.
8428         (elmo-pop3-list-by-uidl-subr): Ditto.
8429         (elmo-pop3-list-by-list): Ditto.
8430         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8431         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8432         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8433         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8434         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8435         Use uidl.
8436         (elmo-pop3-uidl-to-number): New function.
8437         (elmo-pop3-number-to-uidl): Ditto.
8438         (elmo-pop3-number-to-size): Ditto.
8439         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8440         Set number by use of uidl.
8441         (elmo-pop3-msgdb-create-message): Likewise.
8442         Set size, loc-alist in msgdb.
8443         (elmo-pop3-read-msg): Set number by use of uidl.
8444         Added optional argument `msgdb'.
8445         (elmo-pop3-delete-msg): Ditto.
8446         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8447         (elmo-pop3-commit): Close connection.
8448
8449         * elmo-pipe.el (elmo-pipe-max-of-folder):
8450         Bind `elmo-pop3-use-uidl' as nil.
8451         (elmo-pipe-drain): Ditto.
8452         Call `elmo-commit'.
8453
8454         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8455         (elmo-msgdb-overview-entity-set-size): New defsubst.
8456
8457 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8458
8459         * elmo-vars.el (elmo-use-killed-list): New variable
8460         (Renamed from `elmo-nntp-use-killed-list').
8461         (elmo-nntp-use-killed-list): Eliminated.
8462
8463         * elmo-msgdb.el (elmo-msgdb-expand-path):
8464         Changed expanding msgdb path for elmo-multi.
8465
8466         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8467         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8468         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8469         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8470         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8471         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8472         (toplevel): Deleted time-stamp line.
8473
8474         * elmo2.el (elmo-clear-killed ): Defined as function
8475         (Abolished defining as a backend function).
8476         All other related modules are changed.
8477
8478 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8479
8480         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8481
8482 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8483
8484         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8485
8486 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8487
8488         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8489
8490 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8491
8492         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8493         asynchronous folder check.
8494
8495         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8496
8497         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8498         `elmo-nntp-use-killed-list'.
8499         (elmo-nntp-list-folder): Use killed list.
8500         (elmo-nntp-max-of-folder): Ditto.
8501         (elmo-nntp-msgdb-create): Set killed list.
8502
8503         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8504
8505         * elmo2.el (elmo-clear-killed): New backend function.
8506         All other related modules are changed.
8507
8508 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8509
8510         * elmo-util.el (elmo-imap4-spec-folder): Use
8511         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8512         All callers changed.
8513
8514 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8515
8516         * mmelmo-2.el (initialize-instance):
8517         Use `mime-buffer-entity-buffer-internal' instead of
8518         `mime-entity-buffer'.
8519
8520         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8521         (mime-entity-body): Implemented.
8522         (mime-goto-header-start-point): Deleted.
8523         (mime-goto-body-end-point): Ditto.
8524         (mime-entity-point-min): Ditto.
8525         (mime-entity-point-max): Ditto.
8526         (mime-entity-children): Ditto.
8527         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8528         instead of `mime-entity-buffer'.
8529         (mime-entity-header-buffer): Ditto.
8530         (mime-entity-body-buffer): Ditto.
8531         (mime-write-entity-content): Ditto.
8532
8533         * pldap.el (ldap-static-if): New macro.
8534         (toplevel): Use it instead of `static-if'.
8535
8536 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8537
8538         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8539         included in `attrs' argument.
8540
8541 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8542
8543         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8544
8545         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8546         (ldap-ldif-safe-init-char-regexp): Ditto.
8547         (ldap-ldif-safe-string-regexp): Ditto.
8548         (ldap/ldif-safe-string-p): New macro.
8549         (ldap/ldif-insert-field): Ditto.
8550         (ldap-modify): Use it.
8551         (ldap-add): Ditto.
8552         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8553         (ldap-decode-attribute): Decode only when `attr' is consp.
8554         (ldap-delete): Bind `ret'.
8555         (toplevel): Require 'cl at compile time.
8556         Removed (require 'poe) and (require 'std11).
8557         (pldap-version): Eliminated.
8558         (ldap-search-basic): Removed auth and dn binding.
8559         (ldap-ldif-field-name-regexp): New constant.
8560         (ldap-ldif-field-head-regexp): Ditto.
8561         (ldap-ldif-next-field-head-regexp): Ditto.
8562         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8563         (ldap/field-end): New function.
8564         (ldap/field-body): Use it.
8565         (ldap/collect-field): Ditto.
8566         (ldap-search-basic): Use `ldap/field-body'.
8567
8568 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8569
8570         * pldap.el (ldap-default-attribute-encoder): New user option.
8571         (ldap/field-body): Decode base64 string.
8572         (ldap/collect-field): Ditto.
8573         (ldap-encode-attribute): New function.
8574         (ldap-add-entries): Use it.
8575         (ldap-modify-entries): Ditto.
8576         (ldap-search-entries): Enclosed decoding function with
8577         `with-temp-buffer' and set as unibyte.
8578         (ldap-search-basic): Set process buffer as unibyte.
8579
8580         * elmo-util.el (elmo-folder-identical-system-p):
8581         Eliminated name space checking.
8582
8583         * pldap.el: New module.
8584         toplevel: Changed condition to detect built-in ldap feature.
8585         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8586         (ldap-add): Added error handling.
8587         (ldap-modify): Ditto.
8588         (ldap-delete): Ditto.
8589
8590 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8591
8592         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8593         Initialize local variables with `let'.  Inline a temporary
8594         variable for the progress percentage.  Sort `setq' to reduce
8595         function call in the while-loop.
8596
8597         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8598         into the conditional branch.
8599
8600 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8601
8602         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8603         Move a conditional out of the while-loop.
8604
8605 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8606
8607         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8608         elmo-msgdb-overview-get-entity-by-number.
8609         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8610         throw.
8611
8612 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8613
8614         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8615         the local variable for a packed number self descriptively.
8616
8617 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8618
8619         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8620         * elmo-localdir.el (elmo-localdir-pack-number): Use
8621         `elmo-msgdb-overview-get-entity' instead of
8622         `elmo-msgdb-overview-get-entity-by-number'.
8623         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8624         (elmo-msgdb-search-overview-entity): Removed.
8625         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8626         by message-id or number.
8627         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8628         instead of `elmo-msgdb-overview-get-entity-by-number'.
8629
8630 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8631
8632         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8633         non-nil, use hash table for overview.
8634         (elmo-hash-maximum-size): New variable.
8635         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8636         (elmo-msgdb-make-overview-hashtb): New function.
8637         (elmo-msgdb-clear-overview-hashtb): New function.
8638         (elmo-clear-hash-val): New macro.
8639         All other related modules are changed.
8640
8641 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8642
8643         * elmo2.el (elmo-move-msgs): If there's other message with
8644         same message-id, don't use cache.
8645
8646 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8647
8648         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8649         number is already packed.
8650
8651 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8652
8653         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8654
8655 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8656
8657         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8658         All other related modules are changed.
8659
8660 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8661
8662         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8663         of refiling failure on Maildir.
8664
8665 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8666
8667         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8668         decoded mime-charset with cache.
8669         (elmo-msgdb-overview-entity-get-from): Ditto.
8670         (elmo-msgdb-overview-entity-get-subject): Ditto.
8671         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8672
8673 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8674
8675         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8676         (elmo-remove-passwd): Fill password with 0 before erase.
8677         * elmo-vars.el (elmo-passwd-life-time): New variable.
8678
8679 \f
8680 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8681
8682         * elmo-cache.el (elmo-buffer-cache-add):
8683         Set message cache buffer as unibyte.
8684
8685 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8686
8687         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8688         become nil.
8689
8690 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8691
8692         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8693         when display is finished.
8694         (elmo-nntp-msgdb-create): Ditto.
8695         (elmo-nntp-groups-read-response): Ditto.
8696         (elmo-nntp-retrieve-headers): Ditto.
8697         (elmo-nntp-msgdb-create-message): Ditto.
8698         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8699         (elmo-pop3-msgdb-create-message): Ditto.
8700
8701 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8702
8703         * elmo-maildir.el (elmo-maildir-msgdb-create):
8704         Use `elmo-msgdb-sort-by-date'.
8705
8706 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8707
8708         * elmo2.el (elmo-read-msg-no-cache):
8709         Eliminated arguments after `outbuf'.
8710         Don't use cache even if it exists.
8711         (elmo-read-msg): Don't pass arguments after `outbuf' to
8712         `elmo-read-msg-no-cache'.
8713
8714 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8715
8716         * elmo-archive.el (elmo-archive-list-folders):
8717         Use `file-name-directory' if base folder does not exist.
8718
8719 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8720
8721         * elmo-archive.el (elmo-archive-list-folders): Don't use
8722         `file-name-directory'.
8723
8724 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8725
8726         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8727         If `force' is non-nil, try flushing all operation queues.
8728
8729 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8730
8731         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8732         as-binary-process.
8733
8734 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8735
8736         * elmo-util.el (elmo-display-progress): Fixed.
8737
8738 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8739
8740         * elmo-util.el (elmo-display-progress): New function.
8741         All other related modules are changed.