(elmo-network-session-retry-count): New user option.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-net.el (elmo-network-session-retry-count): New user option.
4         (elmo-network-session-buffer-name): New internal function.
5         (elmo-network-session-buffer-create): Ditto.
6         (elmo-network-open-session): Retry open network session
7         `elmo-network-session-retry-count' times.
8
9 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
10
11         * elmo-util.el (elmo-list-filter): Rewritten.
12
13 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
14
15         * elmo-util.el (elmo-string-member): Allow symbol element in list.
16
17 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
18
19         * elmo-search.el (elmo-make-search-engine): Use prefix
20         `elmo-search-' for require symbol instead of `else-'.
21         (elmo-search-engine-extprog): New class.
22         (elmo-search-engine-do-search): Remove nil from argument
23         list. Added argument pattern to evaluate element as function.
24         (elmo-search-engine-local-file): Derived from
25         `elmo-search-engine-extprog'.
26         (elmo-search-engine-create-message-entity): Check existance of file.
27         (elmo-search-engine-fetch-message): Ditto.
28         (elmo-search-namazu-index): Follow the API change.
29         (elmo-search-grep-target): Ditto.
30
31 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
32
33         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
34         characters of working buffer.
35
36         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
37         Does not bind `default-mime-charset'.
38         (elmo-msgdb-create-message-entity-from-buffer): Removed
39         unnecessary local bind.
40
41         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
42         function.
43         (modb-entity-extract-mailing-list-info-functions): Added it.
44
45 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
46
47         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
48         when number and message-id are non-nil.
49
50         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
51
52         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
53         conditional steatment.
54         (elmo-pop3-auth-apop): Likewise.
55         (elmo-network-authenticate-session): Likewise.
56
57 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
58
59         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
60         symbol `fill-column'.
61         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
62         decode field value.
63
64         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
65         (elmo-decoded-field-body): Ditto.
66
67 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
68
69         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
70         `tokens' to `params'.
71
72 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
73
74         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
75         working buffer.
76
77 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
78
79         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
80         decide index.
81
82 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
83
84         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
85         Set default value as nil.
86         (toplevel): Register search engines by
87         `elmo-search-register-engine' if there are not defined.
88
89         * elmo.el (autoload): Added autoload setting for
90         `elmo-search-register-engine'.
91
92 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
93
94         * elmo.el (toplevel): `[' is redefined as the prefix of the search
95         folder instead of nmz folder.
96         (elmo-nmz-default-index-path): Added obsolete variable setting.
97         (elmo-nmz-index-alias-alist): Ditto.
98         (elmo-nmz-use-drive-letter): Ditto.
99
100         * elmo-search.el (elmo-search-register-engine): New function.
101
102         * elmo-nmz.el: Removed.
103
104         * elmo-version.el (elmo-version): Up to 2.15.2.
105
106 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-search.el: New file.
109
110 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
111
112         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
113         condition `larger' and `smaller'.
114
115 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
116
117         * elmo-util.el (elmo-safe-filename): Rewrite to replace
118         `"' (double quote) into "_Q_".
119
120 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
121
122         * elmo-net.el (elmo-net-quote-chars): Abolish.
123         (elmo-net-format-quoted): Ditto.
124
125 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
126
127         * elmo.el (elmo-get-folder-function): New variable.
128         (elmo-get-folder): New function.
129         (elmo-folder-rename): Call `elmo-make-folder' with specified
130         mime-charset.
131
132         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
133         `elmo-make-folder'.
134         (elmo-split-subr): Ditto.
135
136         * elmo-multi.el (elmo-folder-initialize): Ditto.
137
138         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
139
140         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
141         (elmo-flag-get-folder): Ditto.
142
143         * elmo-filter.el (elmo-folder-initialize): Ditto.
144
145         * elmo-access.el (elmo-folder-initialize): Ditto.
146         (elmo-access-folder-update-children): Ditto.
147
148         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
149         (elmo-dop-queue-flush): Ditto.
150         (elmo-folder-append-buffer-dop-delayed): Ditto.
151         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
152         mime-charset.
153
154         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
155         instead of `elmo-make-folder'.
156         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
157         destination folder instead of send `elmo-folder-rename-internal'.
158
159         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
160         slot of subfolder instead of create it.
161
162 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-util.el (elmo-collect-separators): New function.
165         (elmo-collect-separators-internal): Ditto.
166         (elmo-collect-trail-separators): Ditto.
167         (elmo-parse-separated-tokens): Ditto.
168         (elmo-parse-separated-tokens-internal): Ditto.
169         (elmo-quote-syntactical-element): Ditto.
170
171         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
172         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
173
174         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
175         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
176         (elmo-nntp-folder-list-subfolders): Quote a user name.
177
178         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
179         (elmo-net-parse-network): Abolish.
180         (elmo-net-folder-set-parameters): New function.
181         (elmo-folder-initialize): Follow the above change.
182
183         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
184         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
185         (elmo-folder-list-subfolders): Use
186         `elmo-quote-syntactical-element' instead of
187         `elmo-net-format-quoted' to quote mailbox and user name.
188
189 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
190
191         * elmo-util.el (elmo-token-valid-p): New function.
192         (elmo-parse-token): Add optional argument `requirement'.
193         (elmo-parse-prefixed-element): Likewise.
194
195         * elmo-net.el (elmo-net-quote-chars): Renamed from
196         `elmo-net-quote-chars-regexp'.
197         (elmo-net-format-quoted): Add optional argument `extra-chars'.
198
199         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
200         by info document. Check token `uidl' is started an alphabet.
201
202         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
203         by info document. Check token `user' is started an alphabet.
204
205         * elmo-imap4.el (elmo-folder-initialize): Ditto.
206         (elmo-folder-list-subfolders): Quote user.
207
208 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
209
210         * elmo-util.el (elmo-quoted-specials-list): New constant.
211         (elmo-quoted-token): New function.
212
213         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
214         (elmo-net-format-quoted): New function.
215         (elmo-net-parse-network): Ditto.
216         (elmo-folder-initialize): Use it.
217
218         * elmo-nntp.el (elmo-folder-initialize): Use
219         `elmo-net-parse-network' to parse network specification instead of
220         `elmo-folder-initialize#elmo-net'.
221
222         * elmo-pop3.el (elmo-folder-initialize): Ditto.
223
224         * elmo-imap4.el (elmo-folder-initialize): Ditto.
225         (elmo-folder-list-subfolders): Quote folder name by
226         `elmo-net-format-quoted'.
227
228 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
229
230         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
231         (elmo-folder-search): Use it.
232
233 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
234
235         * modb-standard.el (modb-standard-loaded-message-id): Use
236         `elmo-msgdb-message-entity-field'.
237
238 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
241         without filename.
242
243 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
244
245         * elmo-util.el (elmo-set-auto-coding): New function.
246         (elmo-object-load): Use it.
247
248 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
249
250         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
251         (elmo-time<): Define as alias of `elmo-time-less-p'.
252         (elmo-time-to-datevec): New function.
253
254         * elmo-date.el (elmo-time-to-days): New function.
255
256 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
257
258         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
259         is not cons cell.
260
261 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
262
263         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
264         parenthesis.
265
266         * elmo-util.el (elmo-map-recursive): New function.
267
268         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
269         (modb-entity-encode-string-recursive): Ditto.
270
271 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
272
273         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
274         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
275         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
276         compare sequence number when last modified time is nil.
277
278 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
279
280         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
281
282         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
283
284 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
285
286         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
287         modification time of the file.
288
289 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
290
291         * elmo-util.el (elmo-condition-optimize): Discriminated against
292         preserved fields, extra fields and the other weight.
293
294 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
295
296         * modb-entity.el (initialize-instance): Define.
297         (modb-entity-handler-mime-charset): New internal function.
298         (modb-standard-entity-set-field): Use it.
299         (elmo-msgdb-message-entity-field): Ditto.
300         (elmo-msgdb-message-entity-field): Ditto.
301
302         * modb.el (elmo-msgdb-match-condition): Rewrite with
303         `elmo-condition-match'.
304         (elmo-msgdb-match-condition-primitive): New function.
305
306         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
307         arguments `flags' and `numbers'.
308         (elmo-msgdb-match-condition-primitive): Abolished (merged to
309         `elmo-msgdb-message-match-condition').
310         (modb-buffer-entity-handler): New class.
311
312         * elmo.el (elmo-folder-search): Optimize condition to use
313         `elmo-condition-optimize'.
314         (elmo-message-buffer-match-condition): New function.
315         (elmo-message-match-condition): Use
316         `elmo-message-buffer-match-condition' instead of
317         `elmo-buffer-field-condition-match'.
318
319         * elmo-util.el (elmo-condition-match): New function.
320         (elmo-condition-optimize): Ditto.
321         (elmo-buffer-field-primitive-condition-match): Abolish.
322         (elmo-buffer-field-condition-match): Ditto.
323
324         * elmo-archive.el (elmo-archive-field-condition-match): Use
325         `elmo-message-buffer-match-condition' instead of
326         `elmo-buffer-field-condition-match'.
327
328 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
329
330         * elmo-flag.el (elmo-global-flags-initialize): Check the
331         existence of the flag directory.
332
333 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
334
335         * elmo-access.el (elmo-folder-initialize): Call
336         `elmo-multi-connect-signals'.
337
338         * elmo-pipe.el (elmo-folder-close): Define.
339
340         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
341         children folders.
342
343         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
344         with target folder.
345
346         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
347         `number'.
348
349         * elmo-multi.el (elmo-message-entity): Don't use return value of
350         `elmo-message-entity-set-number'.
351
352 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
353
354         * modb.el (modb-generic): Added slot `mime-charset'.
355
356         * modb-standard.el (modb-standard): Added slot `overview-handler'.
357         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
358         and `modb-entity-handler-dump-parameters'.
359         (modb-standard-default-entity-handler): Abolish.
360         (elmo-msgdb-message-entity-handler): Save created handler by
361         instance slot.
362
363         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
364         (modb-entity-handler-list-parameters): New method.
365         (modb-entity-handler-equal-p): New function.
366         (modb-entity-handler-dump-parameters): Ditto.
367         (modb-entity-parse-address-string): Encode return value.
368         (modb-entity-make-address-string): Decode argument value.
369         (modb-entity-decode-string-recursive): New function.
370         (modb-entity-encode-string-recursive): Ditto.
371         (modb-standard-entity-normalizer): Set to encode field value.
372         (modb-standard-entity-specializer): Follow the above change.
373         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
374         mime-charset of handler.
375         (elmo-msgdb-message-entity-field): Ditto.
376         (elmo-msgdb-copy-message-entity): Fixed reference to internal
377         structure.
378         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
379
380         * elmo.el (elmo-folder): Added slot `mime-charset'.
381         (elmo-make-folder): Added argument `mime-charset'.
382         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
383         `mime-charest'.
384
385         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
386         (elmo-make-msgdb): Likewise.
387
388         * elmo-internal.el (elmo-internal-folder-initialize): Call
389         `luna-make-entity' with :mime-charset parameter.
390
391 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
392
393         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
394         encoded words in `from' and `subject' field.
395
396 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
397
398         * modb.el (elmo-msgdb-message-field): Add argument `type'.
399         (elmo-msgdb-match-condition): Get handler from entity instead of
400         msgdb.
401
402         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
403         (modb-standard-load-entity): Treat new file format.
404         (modb-standard-save-entity-1): Save as new file format.
405         (modb-standard-save-entity): Split messages into section here.
406         (elmo-msgdb-message-field): Follow the API change.
407         (modb-standard-default-entity-handler): New internal variable.
408         (elmo-msgdb-message-entity-handler): Define.
409
410         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
411         to `elmo-vars.el'.
412         (modb-entity-field-extractor-alist): New user option.
413         (elmo-msgdb-message-entity-field): Removed argument `decode' and
414         added argument `type'.
415         (elmo-msgdb-copy-message-entity): Add optional argument
416         `make-handler'.
417         (modb-set-field-converter): New function.
418         (modb-convert-field-value): Ditto.
419         (modb-entity-string-decoder): Ditto.
420         (modb-entity-string-encoder): Ditto.
421         (modb-entity-parse-date-string): Ditto.
422         (modb-entity-make-date-string): Ditto.
423         (modb-entity-mime-decoder): Ditto.
424         (modb-entity-mime-encoder): Ditto.
425         (modb-entity-address-list-decoder): Ditto.
426         (modb-entity-address-list-encoder): Ditto.
427         (modb-entity-parse-address-string): Ditto.
428         (modb-entity-make-address-string): Ditto.
429         (modb-entity-create-field-indices): Ditto.
430         (modb-legacy-entity-field-slots): New constant.
431         (modb-legacy-entity-field-indices): Ditto.
432         (modb-legacy-entity-normalizer): New variable.
433         (modb-legacy-entity-specializer): Ditto.
434         (modb-legacy-entity-field-index): New macro.
435         (modb-legacy-entity-set-field): New function.
436         (modb-legacy-make-message-entity): Rewrite.
437         (elmo-msgdb-create-message-entity-from-buffer): Use
438         `elmo-msgdb-get-references-from-buffer'. Use
439         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
440         Use `modb-legacy-entity-set-field' instead of
441         `elmo-msgdb-message-entity-set-field'.
442         (elmo-msgdb-message-entity-field): Rewrite.
443         (elmo-msgdb-message-entity-set-field): Ditto.
444         (elmo-msgdb-copy-message-entity): Make new entity by
445         `make-handler' if it specified.
446         (elmo-msgdb-message-match-condition): Define a method of
447         `modb-entity-handler' and follow the API change.
448         (modb-standard-entity-handler): New class.
449         (modb-entity-extract-ml-info-from-x-sequence): New function.
450         (modb-entity-extract-ml-info-from-subject): Ditto.
451         (modb-entity-extract-ml-info-from-return-path): Ditto.
452         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
453         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
454         (modb-entity-extract-mailing-list-info): Ditto.
455         (modb-entity-extract-mailing-list-info-functions): New variable.
456
457         * elmo.el (elmo-message-field): Add optional argument `type'.
458
459         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
460         from `modb-entity.el'.
461
462         * elmo-util.el (elmo-object-load): Decode by coding-system from
463         `set-auto-coding-function'.
464         (elmo-object-save): Use `detect-mime-charset-region' and add
465         coding cookie if encode.
466         (elmo-msgdb-get-references-from-buffer): New function.
467         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
468
469         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
470
471         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
472         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
473         instead of `shimbun-make-header' and follow the API change.
474         (elmo-shimbun-update-overview): Follow the API change.
475         (elmo-map-folder-list-message-locations): Ditto.
476
477         * elmo-pipe.el (elmo-message-field): Ditto.
478
479         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
480         Ditto.
481
482         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
483
484         * elmo-multi.el (elmo-message-field): Ditto.
485
486         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
487         (elmo-msgdb-sort-by-date): Ditto.
488         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
489         `elmo-message-entity-field'.
490         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
491         change.
492         (elmo-msgdb-overview-entity-get-from): Ditto.
493         (elmo-msgdb-overview-entity-get-subject): Ditto.
494         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
495         (elmo-msgdb-overview-entity-get-date): Ditto.
496         (elmo-msgdb-overview-entity-get-to): Ditto.
497         (elmo-msgdb-overview-entity-get-cc): Ditto.
498
499         * elmo-mime.el (elmo-message-mime-entity): Ditto.
500         (elmo-mime-collect-message/partial-pieces): Ditto.
501
502         * elmo-filter.el (elmo-message-field): Ditto.
503
504         * elmo-date.el (elmo-datevec-to-time): New function.
505         (elmo-time-parse-date-string): Ditto.
506         (elmo-time-make-date-string): Ditto.
507         (elmo-time<): Ditto.
508
509         * elmo-version.el (elmo-version): Up to 2.15.1.
510
511 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
512
513         * elmo-flag.el (elmo-global-flags-initialize): Don't include
514         member of elmo-local-flags.
515
516 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
517
518         * elmo-version.el (elmo-version): Up to 2.15.0.
519
520 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
521
522         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
523         `ignore-msgdb' is non-nil.
524
525 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
526
527         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
528         (elmo-condition-in-msgdb-p): Ditto.
529         (elmo-file-field-primitive-condition-match): Ditto.
530         (elmo-file-field-condition-match): Ditto.
531
532         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
533
534 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
535
536         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
537         subdirectories here.
538         (elmo-global-flags-initialize): New function.
539
540         * elmo.el (toplevel): Added autoload setting for
541         `elmo-global-flags-initialize'.
542
543 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
544
545         * elmo.el (message-number-changed): Define new signal.
546         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
547         message-number-changed signal.
548         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
549         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
550         Respect `elmo-pack-number-check-strict'.
551
552 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
553
554         * elmo-signal.el (elmo-connect-signal): Document.
555         (elmo-emit-signal): Ditto.
556         (elmo-emit-signal): It should pass source argument to filter and
557         handler, not slot-source.
558
559 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
560
561         * modb.el (elmo-msgdb-update-entity): New API and define generic
562         implement.
563
564         * modb-standard.el (elmo-msgdb-update-entity): Define.
565
566         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
567         API and define generic implement.
568
569         * elmo.el (update-overview): New singnal.
570
571         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
572         `elmo-msgdb-update-entity' and emit signal `update-overview'.
573         (elmo-message-entity-parent): Define.
574
575         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
576         `update-overview'.
577
578         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
579
580         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
581
582 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
583
584         * elmo.el (elmo-folder-synchronize): Sort the return value of
585         `elmo-list-diff'.
586
587         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
588         list.
589
590 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
591
592         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
593         `default-enable-multibyte-characters'.
594         (elmo-object-load): Use `with-temp-buffer' instead of
595         `elmo-set-work-buf'.
596         (elmo-object-save): Ditto.
597         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
598         `elmo-set-work-buf'.
599         (elmo-decoded-field-body): Ditto.
600
601         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
602
603         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
604         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
605
606         * elmo-version.el (elmo-version): Up to 2.13.3.
607
608 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
609
610         * elmo-util.el (elmo-list-diff): Fix the last change.
611         Reverse order of result lists.
612
613 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
614
615         * modb-standard.el (elmo-msgdb-set-flag): Use
616         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
617         (elmo-msgdb-unset-flag): Ditto.
618
619         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
620         `elmo-list-diff'.
621
622         * elmo-util.el (elmo-list-diff): Rewrite.
623         (elmo-list-diff-nonsortable): New function.
624
625 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
626
627         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
628         `elmo-multibypte-buffer-name'.  All referers are updated.
629
630 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
631
632         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
633         (elmo-mime-entity-fragment-p): New function.
634         (mime-elmo-buffer-entity): Added slot `reassembled'.
635         (elmo-message-mime-entity): Added 4th argument `reassemble'.
636         (elmo-message-mime-entity-internal): New function (renamed from
637         `elmo-message-mime-entity').
638         (elmo-mime-inherit-field-list-from-enclosed): New constant.
639         (elmo-mime-make-reassembled-mime-entity): New function.
640         (elmo-message-reassembled-mime-entity): Ditto.
641         (elmo-mime-collect-message/partial-pieces): Ditto.
642
643 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
644
645         * elmo.el (elmo-message-fetch-string): Disable multibyte.
646
647         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
648         (elmo-with-enable-multibyte): New macro.
649
650         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
651
652 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
655         argument `number'.
656         (elmo-filter-connect-signals): Follow the above change.
657
658 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
659
660         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
661
662         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
663         that only the first flag is used.
664
665 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
666
667         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
668         if available.
669
670 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
671
672         * elmo-signal.el: New file.
673
674         * elmo.el (toplevel): Require elmo-signal.
675         (flag-changing, flag-changed, cache-changed): New signal.
676         (elmo-folder): Remove slog `handlers'.
677         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
678         `elmo-folder-notify-event'.
679         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
680         (elmo-folder-unset-flag): Ditto.
681         (elmo-event-handler): Abolish.
682         (elmo-event-handler-flag-changed): Ditto.
683         (elmo-event-handler-cache-changed): Ditto.
684         (elmo-folder-add-handler): Ditto.
685         (elmo-folder-remove-handler): Ditto.
686         (elmo-folder-notify-event): Ditto.
687
688         * elmo-pipe.el (toplevel): Require elmo-signal.
689         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
690         (elmo-pipe-connect-signals): New function.
691         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
692         (elmo-folder-set-flag): Ditto.
693         (elmo-folder-unset-flag): Ditto.
694         (elmo-message-set-cached): Ditto.
695
696         * elmo-multi.el (toplevel): Require elmo-signal.
697         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
698         (elmo-multi-connect-signals): New function.
699         (elmo-multi-map-numbers): Ditto.
700         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
701         (elmo-message-fetch): Ditto.
702         (elmo-folder-set-flag): Ditto.
703         (elmo-folder-unset-flag): Ditto.
704
705         * elmo-filter.el (toplevel): Require elmo-signal.
706         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
707         (elmo-filter-connect-signals): New function.
708         (elmo-filter-add-flag-count): Ditto.
709         (elmo-message-fetch): Does not call
710         `elmo-filter-folder-countup-message-flags' and
711         `elmo-folder-notify-event'.
712         (elmo-message-set-cached): Ditto.
713         (elmo-folder-set-flag): Ditto.
714         (elmo-folder-unset-flag): Ditto.
715
716         * elmo-version.el (elmo-version): Up to 2.13.2.
717
718 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
719
720         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
721         `flags'.
722
723 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-filter.el (elmo-message-set-cached): Call
726         `elmo-folder-notify-event' with event `cache-changed'.
727
728         * elmo-multi.el (elmo-message-set-cached): Ditto.
729
730         * elmo-pipe.el (elmo-message-set-cached): Ditto.
731
732 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
733
734         * elmo.el (elmo-folder-encache): Abolish.
735
736 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
737
738         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
739         (elmo-folder-next-message-number-dop): Return appropriate negative
740         integer.
741
742 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
743
744         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
745         clearing pending operations.
746         (elmo-folder-next-message-number-dop): Return appropriate negative
747         integer.
748
749 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
750
751         * elmo.el (toplevel): Added autoload setting for `md5'.
752         (elmo-msgdb-path-encode-threshold): New user option.
753         (elmo-folder-msgdb-path): Encode msgdb path if its length is
754         longer than `elmo-msgdb-path-encode-threshold'.
755
756         * elmo-flag.el (elmo-global-mark-migrate): Use
757         `elmo-folder-expand-msgdb-path' instead of
758         `elmo-folder-msgdb-path'.
759
760 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
761
762         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
763         element of the difference is nil.
764
765 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
766
767         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
768         to the check logic of file systems which are weak in colon character.
769
770 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771
772         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
773
774 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
775
776         * elmo-maildir.el (elmo-maildir-move-file): New function.
777         (elmo-folder-append-buffer): Use it.
778         (elmo-folder-append-messages): Ditto.
779         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
780
781         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
782         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
783
784         * elmo-maildir.el (elmo-maildir-separator): New user option.
785         (elmo-maildir-adjust-separator): New macro.
786         (elmo-maildir-list-location): Use it.
787         (elmo-maildir-update-current): Ditto.
788         (elmo-maildir-set-mark): Ditto.
789         (elmo-maildir-delete-mark): Ditto.
790         (These changes are based on Hiroya Murata's patch [wl: 13437])
791
792 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
793
794         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
795
796 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
797
798         * elmo-flag.el (elmo-flag-valid-p): Simplify.
799         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
800         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
801
802 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
803
804         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
805         Use `with-temp-buffer'.
806
807 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
808
809         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
810
811         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
812         `wl-read-search-condition').
813         (elmo-read-search-condition-internal): Likewise.
814
815         * elmo-flag.el (elmo-flag-char-regexp): New constant.
816         (elmo-flag-valid-p): New function.
817         (elmo-folder-initialize): Check flag name is valid.
818
819 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
820
821         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
822         delimiter to obtain root mailbox itself.
823
824 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
825
826         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
827         type mismatch.
828
829 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
830
831         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
832         as t.
833
834 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
835
836         * elmo-shimbun.el (toplevel): Require cl at compile.
837
838         * elmo-nntp.el (toplevel): Ditto.
839
840         * elmo-nmz.el (toplevel): Ditto.
841
842         * elmo-multi.el (toplevel): Ditto.
843
844         * elmo-file.el (toplevel): Ditto.
845
846         * elmo-dop.el (toplevel): Ditto.
847
848         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
849
850 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
851
852         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
853         as nil.
854
855         * elmo.el (elmo-message-fetch): Return t even when the output buffer
856         size of elmo-message-fetch-internal is 0 byte.
857
858 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
859
860         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
861
862 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
863
864         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
865         always plugged.
866
867 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
868
869         * elmo-maildir.el (elmo-map-message-fetch): Call
870         `elmo-map-folder-set-flag'.
871
872         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
873         (elmo-message-fetch): Merge from
874         `elmo-message-fetch-with-cache-process'.
875
876         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
877         (elmo-message-fetch): Define.
878
879         * elmo-nntp.el (elmo-message-fetch): Renamed from
880         `elmo-message-fetch-with-cache-process'.
881
882         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
883         (elmo-message-fetch): Define.
884
885         * elmo-util.el (elmo-condition-parse-primitive): Downcase
886         search-key.
887
888         * elmo-shimbun.el (shimbun-mua-search-id): Use
889         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
890         (elmo-shimbun-folder-shimbun-header): Ditto.
891         (elmo-shimbun-get-headers): Ditto.
892         (elmo-shimbun-update-overview): Ditto.
893
894         * elmo-pipe.el (elmo-folder-detach-messages): Define.
895
896         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
897         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
898
899 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
900
901         * elmo.el (elmo-message-fetch): Unset unread flag on server when
902         message is cached.
903         (elmo-message-fetch-string): Fixed argument.
904
905 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
906
907         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
908         exchange order of arguments `section' and `unread'.
909         (elmo-message-encache): Follow the API change.
910         (elmo-message-match-condition): Ditto.
911         (elmo-generic-folder-append-messages): Ditto.
912         (elmo-message-fetch-string): New function.
913
914         * elmo-split.el (elmo-split-subr): Ditto.
915
916         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
917
918         * elmo-pipe.el (elmo-message-fetch): Ditto.
919
920         * elmo-multi.el (elmo-message-fetch): Ditto.
921
922         * elmo-mime.el (elmo-message-mime-entity): Ditto.
923
924         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
925
926         * elmo-filter.el (elmo-message-fetch): Ditto.
927
928         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
929
930         * elmo-imap4.el (mime-imap-location-section-body): Use
931         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
932         follow the API change.
933
934 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
935
936         * elmo-access.el: New file.
937
938         * elmo-null.el: Ditto.
939
940         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
941
942 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
943
944         * elmo-net.el (elmo-network-session-idle-timeout): New option.
945         (elmo-network-session): New attribute `last-accessed'.
946         (elmo-network-get-session): Discard network cache if elapsed time
947         since last-accessed is larger than elmo-network-session-idle-timeout.
948
949 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
950
951         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
952         and added `number', `require-entireness'.
953         (elmo-find-fetch-strategy): Rewrite.
954         (elmo-message-fetch): Unset `unread' flag when argument unread is
955         non-nil.
956
957         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
958
959         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
960         (elmo-message-fetch): Notify event `flag-changed'.
961
962         * elmo-pipe.el: Likewise.
963
964         * elmo-mime.el (elmo-mime-entity): New class.
965         (elmo-mime-entity-display-p): New generic function.
966         (elmo-mime-entity-display): Ditto.
967         (elmo-mime-entity-display-as-is): Ditto.
968         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
969         elmo-mime-entity.
970         (elmo-make-mime-message-location): Removed.
971         (elmo-mime-message-display): Ditto.
972         (elmo-mime-display-as-is): Ditto.
973         (elmo-message-mime-entity): New function.
974
975         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
976
977         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
978         change.
979         (elmo-message-fetch): Re-count flagged message number and notify
980         event `flag-changed'.
981
982         * elmo-version.el (elmo-version): Up to 2.13.1.
983
984 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
985
986         * elmo-filter.el (elmo-message-field): Define.
987         (elmo-message-set-field): Ditto.
988
989 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
990
991         * elmo.el (elmo-message-set-cached): Call
992         `elmo-folder-notify-event' with cache-changed.
993         (elmo-event-handler-cache-changed): New generic function.
994
995 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
996
997         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
998         instead of elmo-add-name-to-file.
999         (elmo-folder-append-messages): Ditto.
1000
1001 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1002
1003         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1004
1005 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1006
1007         * elmo-version.el (elmo-version): Up to 2.13.0.
1008
1009         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1010         `auto'.
1011
1012         * modb-standard.el (modb-standard-economize-entity-size): Changed
1013         default value to `t'.
1014
1015         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1016         `standard'.
1017
1018         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1019         after parsing greeting string.
1020
1021 2004-11-23  Daishi Kato <daishi@axlight.com>
1022
1023         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1024         New user option.
1025         (elmo-spam-spamoracle-call): Use it.
1026
1027 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1028
1029         * elmo.el (elmo-message-accessible-p): Message in dop spool
1030         is accessible.
1031
1032 2004-11-23  Daishi Kato <daishi@axlight.com>
1033
1034         * elsp-spamoracle.el: New file.
1035
1036 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1037
1038         * elmo.el (elmo-message-flags-for-append): New function.
1039         (elmo-generic-folder-append-messages): Use it.
1040
1041         * elmo-split.el (elmo-split-subr): Ditto.
1042
1043         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1044         `flags' and use elmo-folder-append-buffer instead of
1045         write-region-as-binary.
1046         (elmo-dop-filter-pending-messages): New function.
1047         (elmo-folder-append-buffer-dop): Call
1048         elmo-dop-spool-folder-append-buffer with `flag'.
1049         (elmo-folder-set-flag-dop): Filter messages by
1050         elmo-dop-filter-pending-messages.
1051         (elmo-folder-unset-flag-dop): Ditto.
1052         (elmo-folder-append-buffer-dop-delayed): Use
1053         elmo-message-flags-for-append to get flags of the message and
1054         simplify.
1055
1056 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1057
1058         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1059
1060 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1061
1062         * elmo.el (elmo-folder): Added handlers slot.
1063         (elmo-event-handler): New class.
1064         (elmo-event-handler-flag-changed): New API.
1065         (elmo-folder-add-handler): New function.
1066         (elmo-folder-remove-handler): Ditto.
1067         (elmo-folder-notify-event): Ditto.
1068         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1069         `flag-changed'.
1070         (elmo-folder-unset-flag): Ditto.
1071
1072         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1073         (elmo-folder-unset-flag): Ditto.
1074
1075         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1076         (elmo-folder-unset-flag): Ditto.
1077
1078         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1079         (elmo-folder-unset-flag): Ditto.
1080
1081         * elmo-version.el (elmo-version): Up to 2.11.33.
1082
1083 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1084
1085         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1086
1087 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1088
1089         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1090
1091         * elmo-flag.el (elmo-folder-unset-flag): Define.
1092         (elmo-global-flag-detach): Do process when the flag is not target
1093         flag.
1094
1095 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1096
1097         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1098         variable.
1099         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1100
1101 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1102
1103         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1104         function.
1105         (elmo-folder-delete-messages): Detach messages before delete
1106         messages from target folder.
1107         (elmo-folder-detach-messages): Set updated number-list to slot.
1108
1109 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1110
1111         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1112
1113 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1114
1115         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1116
1117 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1118
1119         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1120         internal use only).
1121         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1122         not modified.
1123         (elmo-folder-delete-messages): Define.
1124         (elmo-folder-move-messages): Don't call
1125         `elmo-folder-detach-messages'.
1126         (elmo-folder-synchronize): Rewrite.
1127         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1128
1129         * elmo-util.el (elmo-last): New function.
1130         (elmo-set-list): Ditto.
1131         (elmo-number-set-delete-list): Ditto.
1132         (elmo-number-set-delete): Ditto.
1133
1134         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1135
1136         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1137         `elmo-folder-delete-messages' and don't delete location map.
1138         (elmo-folder-detach-messages): Define.
1139
1140         * elmo-imap4.el (elmo-folder-delete): Use
1141         `elmo-folder-delete-messages-internal' instead of
1142         `elmo-folder-delete-messages'.
1143
1144         * elmo-filter.el (elmo-folder-delete-messages): Call
1145         `elmo-folder-detach-messages'.
1146         (elmo-folder-detach-messages): Don't call
1147         `elmo-folder-detach-messages' for target folder.
1148
1149         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1150         message deletion is succeeded.
1151
1152         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1153
1154         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1155         from `elmo-folder-delete-messages'.
1156
1157         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1158
1159         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1160
1161         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1162
1163         * elmo-version.el (elmo-version): Up to 2.11.32.
1164
1165 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1166
1167         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1168         (elmo-global-flag-list): Added obsolete variable setting.
1169
1170         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1171
1172         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1173         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1174         `elmo-mime-display-header-analysis' is nil.
1175
1176         * elmo-flag.el (elmo-global-flags): Renamed from
1177         `elmo-global-flag-list' (All other related portions are changed).
1178         (elmo-local-flags): New variable.
1179         (elmo-local-flag-p): New function.
1180         (elmo-global-flag-set-internal): Cause an error when flag is not
1181         global.
1182
1183 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1184
1185         * elmo-util.el (elmo-concat-path): Treat empty path.
1186
1187 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1188
1189         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1190         field-or-fields).
1191         (elmo-split-address-match): Ditto.
1192         (elmo-split-equal): Ditto.
1193         (elmo-split-match): Ditto.
1194
1195 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1196
1197         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1198         (elmo-generic-folder-append-messages): If src message exists but
1199         has no flag, pass (read) for the FLAG argument of
1200         `elmo-folder-append-buffer'. Otherwise, pass nil.
1201
1202         * elmo-split.el (elmo-split-subr): Likewise.
1203
1204         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1205
1206         * elmo-multi.el (elmo-message-flags): Ditto.
1207
1208         * elmo-filter.el (elmo-message-flags): Ditto.
1209
1210         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1211         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1212         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1213         
1214 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1215
1216         * elmo-split.el (elmo-split-rule): Update comment.
1217         (elmo-split-address-equal): Allow 2nd argument to be a list.
1218         (elmo-split-address-match): Ditto.
1219         (elmo-split-equal): Ditto.
1220         (elmo-split-match): Ditto.
1221
1222 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1223
1224         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1225         (elmo-folder-append-msgdb): Don't treat `read'.
1226         (elmo-message-flags): Don't return `read'.
1227
1228         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1229         (elmo-folder-unset-read-delayed): Ditto.
1230
1231         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1232
1233 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1234
1235         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1236         deletion.
1237
1238 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1239
1240         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1241         header.
1242
1243 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1244
1245         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1246         here.
1247         (elmo-msgdb-save): Bind inhibit-quit.
1248         (modb-standard-message-entity): Ditto.
1249
1250 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1251
1252         * elmo-database.el: No need to require elmo-msgdb.
1253
1254 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1257         instead of `elmo-list-subdirectories'.
1258
1259 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1260
1261         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1262         group entry.
1263         (elmo-folder-exists-p): "[" is empty.
1264         (elmo-folder-list-subfolders): Define.
1265         (elmo-folder-have-subfolder-p): Ditto.
1266
1267 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1268
1269         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1270
1271 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1272
1273         * elmo-filter.el (elmo-folder-local-p): Define.
1274
1275 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1276
1277         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1278         when entity is garbaged.
1279         (modb-standard-save-entity-1): Don't modify the original entity.
1280
1281 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1282
1283         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1284
1285 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1286
1287         * elmo.el (elmo-strict-folder-diff): Use
1288         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1289
1290 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1291
1292         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1293         (elmo-msgdb-message-number): Ditto.
1294         (elmo-msgdb-message-field): Ditto.
1295
1296         * modb-standard.el (modb-standard-economize-entity-size): New user
1297         option.
1298         (modb-standard-loaded-message-id): New inline function.
1299         (modb-standard-load-entity): Use it.
1300         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1301         throw message-id string away.
1302         (elmo-msgdb-flag-available-p): Define.
1303         (elmo-msgdb-message-number): Ditto.
1304         (elmo-msgdb-message-field): Ditto.
1305
1306         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1307         (suppoted -> supported).
1308         (modb-legacy-supported-flag-p): Ditto.
1309         (elmo-msgdb-set-flag): Ditto.
1310         (elmo-msgdb-unset-flag): Ditto.
1311         (elmo-msgdb-flag-available-p): Define.
1312
1313         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1314         is `t', treat it as legacy entity.
1315         
1316         * elmo.el (elmo-message-flag-available-p): New generic function.
1317         (elmo-message-number): Ditto.
1318         (elmo-message-field): Use `elmo-msgdb-message-field'.
1319
1320         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1321
1322         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1323         (elmo-message-number): Ditto.
1324
1325         * elmo-multi.el (elmo-message-number): Define.
1326         (elmo-message-flag-available-p): Ditto.
1327
1328         * elmo-filter.el (elmo-message-flag-available-p): Define.
1329         (elmo-message-number): Ditto.
1330
1331         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1332         (elmo-folder-initialize): Load `max-number'.
1333         (elmo-folder-commit): Save it.
1334         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1335         (elmo-global-flag-set-internal): Set up max-number slot.
1336
1337 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1338
1339         * elmo-version.el (elmo-version): Up to 2.11.31.
1340
1341 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1342
1343         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1344         unibyte string of the current buffer for the argument of `md5'
1345         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1346
1347 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1348
1349         * modb-legacy.el (modb-legacy-flag-list): New constant.
1350         (modb-legacy-suppoted-flag-p): New internal function.
1351         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1352         (elmo-msgdb-unset-flag): Ditto.
1353
1354 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1355
1356         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1357
1358         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1359         from msgdb.
1360
1361 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1362
1363         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1364         (follow the API change).
1365
1366         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1367
1368 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1369
1370         * modb-standard.el (modb-standard-digest-flags): Abolish.
1371         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1372
1373         * elmo-vars.el (elmo-digest-flags): New variable.
1374         (elmo-preserved-flags): Moved from elmo-flag.el.
1375
1376         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1377         (elmo-imap4-flag-to-imap-criteria): Ditto.
1378         (elmo-imap4-folder-list-flagged): Use it.
1379
1380         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1381
1382         * elmo.el (elmo-folder-count-flags): Changed return value.
1383
1384         * elmo-flag.el (elmo-preserved-flags): New variable.
1385         (elmo-get-global-flags): Use it.
1386
1387         * modb-standard.el (modb-standard-digest-flags): New variable.
1388         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1389         Changed behavior of `any'.
1390
1391         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1392         which are defined the Internet draft
1393         (draft-melnikov-imap-keywords-03.txt).
1394         (elmo-imap4-flags-to-imap): New function.
1395         (elmo-folder-append-buffer): Use it.
1396
1397         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1398         in the docstring.
1399
1400         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1401         avoid the bug of Emacs 21.3.
1402
1403 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1404
1405         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1406         function find-coding-system does not exist.
1407
1408 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1409
1410         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1411         parsing.
1412
1413 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1414
1415         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1416         response codes.
1417
1418 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1419
1420         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1421         (elmo-network-close-session): Follow the changes in
1422         `elmo-pop3-read-response'.
1423         (elmo-pop3-auth-user): Ditto.
1424         (elmo-pop3-auth-apop): Ditto.
1425         (elmo-network-initialize-session): Ditto.
1426         (elmo-network-authenticate-session): Ditto.
1427         (elmo-network-setup-session): Ditto.
1428         (elmo-folder-status): Ditto.
1429         (elmo-message-fetch-plugged): Ditto.
1430         (elmo-pop3-delete-msg): Ditto.
1431
1432 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1433
1434         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1435         on failure.
1436
1437 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1438
1439         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1440         style.
1441         (elmo-bind-directory): Ditto.
1442
1443 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1444
1445         * elmo.el (elmo-folder-append-messages): Note on return value.
1446         * elmo-archive.el (elmo-folder-append-messages): Don't return
1447         message numbers which could not be appended.
1448
1449 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1450
1451         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1452
1453 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1454
1455         * elmo-version.el (elmo-version): Up to 2.11.30.
1456
1457 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1458
1459         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1460         `mask'.
1461
1462         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1463
1464         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1465         (elmo-multi-split-numbers): Add elmo-folder object into each
1466         element of return value at first.
1467         (elmo-folder-delete-messages): Follow the above change.
1468         (elmo-folder-detach-messages): Ditto.
1469
1470         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1471         number which is synchronized in target folder.
1472
1473 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1474
1475         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1476         Change default value to symbol `all'.
1477         (elmo-map-message-fetch): Change condition to update overview
1478         follow the above.
1479
1480 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1481
1482         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1483         behavior to update overview.
1484         (elmo-shimbun-update-overview-folder-list): Note it.
1485
1486 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1487
1488         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1489         recursive call.
1490
1491 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1492
1493         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1494         buffer-disable-undo, it is unnecessary.
1495         (elmo-spam-register-good-messages): Ditto.
1496
1497         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1498         Ditto.
1499
1500         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1501
1502 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1503
1504         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1505         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1506         elmo-set-buffer-multibyte.
1507         (elmo-object-load): Ditto.
1508         (elmo-save-buffer): Ditto.
1509         (elmo-delete-char): Ditto.
1510         (elmo-file-field-primitive-condition-match): Ditto.
1511         (elmo-mime-string): Ditto.
1512
1513         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1514         (elmo-archive-field-condition-match): Ditto.
1515
1516         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1517
1518         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1519
1520         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1521         (elmo-nntp-msgdb-create-message): Ditto.
1522
1523         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1524
1525         * elmo.el (elmo-message-match-condition): Ditto.
1526         (elmo-message-match-condition): Ditto.
1527
1528         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1529         Ditto.
1530
1531         * elmo-version.el (elmo-version): Up to 2.11.29.
1532
1533         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1534         (elsp-header): New backend.
1535
1536         * elmo-util.el (elmo-decoded-field-body): New function.
1537
1538 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1539
1540         * elmo-version.el (elmo-version): Up to 2.11.28.
1541
1542 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1543
1544         * elmo-filter.el: Rewrite.
1545
1546         * elmo-version.el (elmo-version): Up to 2.11.27.
1547
1548 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1549
1550         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1551         msgdb path for the localdir folder with absolute path.
1552
1553         * utf7.el: Synch up with latest gnus/utf7.el;
1554         Modified for latest Emacs.
1555
1556 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1557
1558         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1559         shimbun backend couldn't open.
1560
1561 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1562
1563         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1564         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1565         when a destination folder is a filter folder.
1566
1567 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1568
1569         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1570         (elmo-generic-folder-append-messages): Call elmo-message-flags
1571         with argument `msgid'.
1572
1573         * elmo-split.el (elmo-split-subr): Ditto.
1574
1575         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1576
1577         * elmo-multi.el (elmo-message-flags): Ditto.
1578
1579 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1580
1581         * elmo.el (elmo-folder): Add new slot `flag-table'.
1582         (elmo-folder-flag-table): New API.
1583         (elmo-folder-close-flag-table): Ditto.
1584         (elmo-folder-preserve-flags): New function.
1585         (elmo-generic-folder-append-messages): Use
1586         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1587         Flag of a non-registered message, it sets to nil.
1588         Does not set flag to flag-table.
1589
1590         * elmo-maildir.el (elmo-folder-append-buffer): Use
1591         `elmo-folder-preserve-flags'.
1592         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1593         `elmo-folder-close-flag-table'.
1594
1595         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1596         (elmo-archive-folder-append-buffer): Use
1597         `elmo-folder-preserve-flags'.
1598
1599         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1600
1601         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1602
1603         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1604         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1605         `elmo-folder-close-flag-table'.
1606
1607         * elmo-version.el (elmo-version): Up to 2.11.26.
1608
1609 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1610
1611         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1612
1613         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1614         md5's 4th and 5th argument (non-existent in flim one).
1615
1616 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1617
1618         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1619         message, It sets to nil.
1620
1621 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1622
1623         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1624         list is non-nil.
1625
1626 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1627
1628         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1629
1630         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1631
1632         * elmo-util.el (elmo-uniq-sorted-list): New function.
1633         (elmo-make-number-list): Ditto.
1634         (elmo-number-set-to-number-list): Use elmo-make-number-list
1635         and don't use nreverse.
1636
1637 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1638
1639         * elmo-version.el (elmo-version): Up to 2.11.25.
1640
1641 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1642
1643         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1644         field not exists in message, Use md5 message digest of header.
1645
1646 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1647
1648         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1649         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1650         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1651         * elmo-split.el (elmo-split-subr): Check return value of
1652         elmo-folder-append-buffer.
1653
1654         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1655         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1656
1657         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1658         message-id.
1659
1660 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1661
1662         * elmo-split.el (elmo-split-subr): Append message with flag.
1663
1664         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1665         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1666         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1667
1668 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1669
1670         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1671         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1672         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1673
1674 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1675
1676         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1677         with a function call of `process-buffer'.  All callers are updated.
1678         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1679         Remove redundant `set-buffer' in a while loop.
1680
1681 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1682
1683         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1684         calls.
1685
1686 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1687
1688         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1689         elsp-spamfilter-register-buffer-internal with current buffer.
1690         (elmo-spam-register-spam-buffer): Ditto.
1691         (elmo-spam-register-good-buffer): Ditto.
1692
1693 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1694
1695         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1696         if it is not contained in the response(A workaround for courier-imap).
1697
1698 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1699
1700         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1701         parenthesis.
1702
1703 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1704
1705         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1706         range.
1707
1708 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1709
1710         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1711         of nconc.
1712
1713         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1714         argument handler.
1715         (elmo-msgdb-message-match-condition): Follow the change above.
1716
1717 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1718
1719         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1720         folder name.
1721
1722 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1723
1724         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1725
1726 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1727
1728         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1729
1730 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1731
1732         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1733         not found.
1734
1735 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1736
1737         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1738         value.
1739         (elmo-file-command-argument): Undo last change for cygwin.
1740         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1741         Don't return nil.
1742         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1743
1744 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1745
1746         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1747         value returned from elmo-file-find is nil.
1748
1749 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1750
1751         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1752         to elmo-vars.el.
1753
1754         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1755         instead of insert-file-contents-as-binary.
1756         (elmo-message-set-field): New generic function.
1757
1758         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1759         behavior change on `split-string'.
1760
1761         * elmo-file.el (elmo-file-find): New function.
1762         (elmo-file-command): New user option.
1763         (elmo-file-command-argument): Ditto.
1764         (elmo-file-fetch-max-size): Ditto.
1765         (elmo-file-detect-format): New function.
1766         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1767         Use elmo-file-detect-format.
1768         (elmo-map-folder-list-message-locations): Don't treat directories.
1769
1770 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1771
1772         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1773         (elmo-passwd-alist-clear): Shred password before clear.
1774         (elmo-remove-passwd): Remove all mached pair.
1775
1776 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1777
1778         * elmo.el (elmo-folder-synchronize): Fix description of the return
1779         value.
1780
1781 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1782
1783         * elmo.el (elmo-message-fetch-bodystructure): New method.
1784         (elmo-message-fetch-bodystructure): Define default.
1785
1786         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1787         elmo-message-fetch-bodystructure.
1788         (elmo-message-fetch-bodystructure): Define.
1789
1790         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1791
1792 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1793
1794         * elmo-filter.el (elmo-message-folder): Define.
1795
1796 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1797
1798         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1799         elmo-delete-cr-buffer.
1800
1801         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1802
1803         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1804
1805         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1806
1807         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1808         type seems to be a text.
1809
1810 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1811
1812         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1813         (elmo-spam-register-good-buffer): Ditto.
1814         (elmo-spam-spamassassin-register-messages): Ditto.
1815
1816         * elmo-util.el (elmo-string-member-ignore-case): Define with
1817         static-cond.
1818
1819 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1820
1821         * elmo.el (elmo-folder-type): Undo last change.
1822
1823         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1824
1825         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1826         warnings.
1827
1828         * elmo-file.el: New file.
1829         
1830         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1831
1832         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1833         variable.
1834         (elmo-spam-spamassassin-register-messages): New inline function.
1835         (elmo-spam-register-spam-messages): Define.
1836         (elmo-spam-register-good-messages): Ditto.
1837
1838         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1839         Fixed typo.
1840
1841         * elmo.el (toplevel): Added autoload setting for
1842         `elmo-get-global-flags'.
1843         (elmo-message-has-global-flag-p): New function.
1844         (elmo-message-set-global-flags): Ditto.
1845         (elmo-folder-type): Improvement for name: format.
1846
1847         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1848         availability of keyword flags.
1849         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1850         (elmo-folder-list-flagged-plugged): Renamed from
1851         elmo-folder-list-flagged-unplugged.
1852         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1853         accept any flag as keyword flag.
1854         (elmo-folder-set-flag-plugged): Accept keyword flags.
1855         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1856
1857         * elmo-flag.el (elmo-get-global-flags): New function.
1858
1859         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1860         folders.
1861
1862         * elmo-version.el (elmo-version): Up to 2.11.24.
1863
1864 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1865
1866         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1867         elmo-multiple-field-body instead of std11-field-body to check all
1868         headers.
1869
1870 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1871
1872         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1873         or "size".
1874
1875 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1878         unintern is unbound.
1879
1880 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1881
1882         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1883         Protect from infinite loop.
1884
1885 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elsp-bogofilter.el
1888         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1889         (elmo-spam-bogofilter-register-messages): New internal function.
1890         (elmo-spam-register-spam-messages): Define.
1891         (elmo-spam-register-good-messages): Ditto.
1892
1893 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1894
1895         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1896         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1897         (elmo-spam-bogofilter-call): Fixed the last change.
1898         (elmo-spam-bogofilter-arguments): Ditto.
1899
1900         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1901         Follow the options change of latest bogofilter.
1902
1903         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1904         (elmo-spam-bogofilter-good-switch): Ditto.
1905         (elmo-spam-bogofilter-arguments-alist): New user option.
1906         (elmo-spam-bogofilter-debug): Ditto.
1907         (elmo-spam-bogofilter-call): Renamed from
1908         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1909         is non-nil, insert output in buffer for debug.
1910         (elmo-spam-bogofilter-arguments): New macro.
1911         (elmo-spam-buffer-spam-p): Use it.
1912         (elsp-bogofilter-register-buffer): Ditto.
1913
1914 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1915
1916         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1917         regexp.
1918
1919 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1920
1921         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1922         value as "ruby".
1923         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1924         (elmo-spam-bsfilter-program): Set default value as full path for
1925         `bsfilter'.
1926         (elmo-spam-bsfilter-debug): New user option.
1927         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1928         non-nil, insert output in buffer for debug. Fix treating of
1929         argument.
1930
1931 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1932
1933         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1934         `elmo-maildir-flag-specs' element instead of one.
1935         (elmo-map-folder-unset-flag): Ditto.
1936         (Reported by Ken Makimura <macky@astem.or.jp>)
1937
1938         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1939         (elmo-folder-unset-flag-plugged): Ditto.
1940
1941 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1942
1943         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1944         to `reads' slot only if `in-msgdb' is nil.
1945
1946 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1947
1948         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1949         and complement argument list.
1950
1951 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1952
1953         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1954         instead of elmo-folder-list-flagged.
1955
1956 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1957
1958         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1959
1960         * elsp-bsfilter.el: New file.
1961
1962         * elmo-pipe.el (elmo-folder-list-unreads,
1963         elmo-folder-list-answereds,
1964         elmo-folder-list-importants,
1965         elmo-folder-flag-as-important,
1966         elmo-folder-unflag-important,
1967         elmo-folder-flag-as-read,
1968         elmo-folder-unflag-read,
1969         elmo-folder-flag-as-answered,
1970         elmo-folder-unflag-answered): Remove.
1971         (elmo-folder-set-flag): Define.
1972         (elmo-folder-unset-flag): Ditto.
1973
1974         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1975         (elmo-folder-set-flag): Define.
1976         (elmo-folder-unset-flag): Ditto.
1977         (elmo-folder-list-unreads): Remove.
1978         (elmo-folder-list-flagged): Define.
1979
1980         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1981         (elmo-folder-list-unreads,
1982         elmo-folder-list-importants,
1983         elmo-folder-list-answereds,
1984         elmo-folder-list-unreads-plugged,
1985         elmo-folder-list-importants-plugged,
1986         elmo-folder-list-answereds-plugged): Remove.
1987         (elmo-folder-list-flagged-plugged): New method.
1988         (elmo-folder-unflag-important,
1989         elmo-folder-flag-as-important,
1990         elmo-folder-unflag-read,
1991         elmo-folder-flag-as-read,
1992         elmo-folder-unflag-answered,
1993         elmo-folder-flag-as-answered,
1994         elmo-folder-flag-as-read-unplugged,
1995         elmo-folder-unflag-read-unplugged,
1996         elmo-folder-flag-as-important-unplugged,
1997         elmo-folder-unflag-important-unplugged,
1998         elmo-folder-flag-as-answered-unplugged,
1999         elmo-folder-unflag-answered-unplugged): Remove.
2000         (elmo-folder-set-flag): Define.
2001         (elmo-folder-unset-flag): Ditto.
2002         (elmo-folder-set-flag-unplugged): Ditto.
2003         (elmo-folder-unset-flag-unplugged): Ditto.
2004
2005         * elmo-multi.el (elmo-folder-list-unreads,
2006         elmo-folder-list-answereds,
2007         elmo-folder-list-importants,
2008         elmo-folder-flag-as-important,
2009         elmo-folder-unflag-important,
2010         elmo-folder-flag-as-read,
2011         elmo-folder-unflag-read,
2012         elmo-folder-flag-as-answered,
2013         elmo-folder-unflag-answered): Remove.
2014         (elmo-folder-set-flag): Define.
2015         (elmo-folder-unset-flag): Ditto.
2016
2017         * elmo-map.el (elmo-map-folder-unflag-important,
2018         elmo-map-folder-flag-as-important,
2019         elmo-map-folder-unflag-read,
2020         elmo-map-folder-flag-as-read,
2021         elmo-map-folder-unflag-answered,
2022         elmo-map-folder-flag-as-answered): Remove.
2023         (elmo-map-folder-set-flag): New method.
2024         (elmo-map-folder-unset-flag): Ditto.
2025         (elmo-map-folder-list-unreads,
2026         elmo-map-folder-list-importants,
2027         elmo-map-folder-list-answereds): Remove.
2028         (elmo-folder-list-flagged-internal): Define.
2029         (elmo-map-folder-list-flagged): New method.
2030
2031         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2032         (elmo-map-folder-list-unreads,
2033         elmo-map-folder-list-importants,
2034         elmo-map-folder-list-flagged): Remove.
2035         (elmo-map-folder-list-flagged): Define.
2036         (elmo-map-folder-flag-as-important,
2037         elmo-map-folder-unflag-important,
2038         elmo-map-folder-flag-as-read,
2039         elmo-map-folder-unflag-read,
2040         elmo-map-folder-flag-as-answered,
2041         elmo-map-folder-unflag-answered): Remove.
2042         (elmo-maildir-set-mark-messages): New internal function.
2043         (elmo-map-folder-set-flag): Define.
2044         (elmo-map-folder-unset-flag): Ditto.
2045
2046         * elmo.el (toplevel): Added autoload setting for
2047         `elmo-folder-list-global-flag-messages'.
2048         (elmo-folder-list-unreads,
2049         elmo-folder-list-importants,
2050         elmo-folder-list-answereds): Remove.
2051         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2052         Return a list whitch merged with messages have global flag.
2053         (elmo-folder-list-flagged-internal): New method.
2054         (elmo-folder-unflag-important,
2055         elmo-folder-flag-as-important,
2056         elmo-folder-unflag-read,
2057         elmo-folder-flag-as-read,
2058         elmo-folder-unflag-answered,
2059         elmo-folder-flag-as-answered): Remove.
2060         (elmo-folder-set-flag): New method.
2061         (elmo-folder-unset-flag): Ditto.
2062         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2063         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2064
2065         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2066         (elmo-folder-list-unreads-plugged,
2067         elmo-folder-list-importants-plugged,
2068         elmo-folder-list-answereds-plugged,
2069         elmo-folder-list-flagged-unplugged,
2070         elmo-folder-unflag-important-plugged,
2071         elmo-folder-flag-as-important-plugged,
2072         elmo-folder-unflag-read-plugged,
2073         elmo-folder-flag-as-read-plugged,
2074         elmo-folder-unflag-answered-plugged,
2075         elmo-folder-flag-as-answered-plugged): Remove.
2076         (elmo-folder-set-flag-plugged,
2077         elmo-folder-unset-flag-plugged): Define.
2078
2079         * elmo-flag.el (elmo-folder-initialize): Register to
2080         `elmo-global-flag-list' if flag is not global.
2081         (elmo-folder-append-messages): Set flag to source messages.
2082
2083         * elmo-filter.el (elmo-filter-folder-list-unreads,
2084         elmo-folder-list-unreads,
2085         elmo-filter-folder-list-importants,
2086         elmo-folder-list-importants,
2087         elmo-folder-flag-as-read,
2088         elmo-folder-unflag-read,
2089         elmo-folder-flag-as-important,
2090         elmo-folder-unflag-important,
2091         elmo-folder-flag-as-answered,
2092         elmo-folder-unflag-answered): Remove.
2093         (elmo-folder-set-flag): Define.
2094         (elmo-folder-unset-flag): Ditto.
2095
2096         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2097         elmo-folder-unflag-read-dop,
2098         elmo-folder-flag-as-important-dop,
2099         elmo-folder-unflag-important-dop,
2100         elmo-folder-flag-as-answered-dop,
2101         elmo-folder-unflag-answered-dop): Remove.
2102         (elmo-folder-set-flag-dop,
2103         elmo-folder-unset-flag-dop,
2104         elmo-folder-set-important-delayed,
2105         elmo-folder-unset-important-delayed,
2106         elmo-folder-set-read-delayed,
2107         elmo-folder-unset-read-delayed,
2108         elmo-folder-set-answered-delayed,
2109         elmo-folder-unset-answered-delayed): New function.
2110         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2111         (elmo-dop-queue-method-name-alist): Ditto.
2112
2113         * elmo-version.el (elmo-version): Up to 2.11.23.
2114
2115 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2116
2117         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2118
2119         * elsp-sa.el: New file.
2120
2121 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2122
2123         * modb-standard.el (modb-standard-message-entity): New function.
2124         (elmo-msgdb-message-entity): Use it.
2125
2126 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2127
2128         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2129         behavior when one-level is nil.
2130
2131         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2132
2133         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2134
2135 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2136
2137         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2138         get max number.
2139         (elmo-generic-folder-diff): Ditto.
2140
2141         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2142         (elmo-folder-update-number): Ditto.
2143
2144         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2145         (elmo-folder-next-message-number-dop): Ditto.
2146
2147 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2148
2149         * elmo-filter.el (elmo-folder-msgdb-create): Use
2150         `elmo-message-entity' and `elmo-message-flags' instead of
2151         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2152
2153 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2154
2155         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2156         `if-exists'.
2157
2158 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2159
2160         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2161
2162         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2163
2164         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2165
2166 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2167
2168         * elmo-version.el (elmo-version): Up to 2.11.22.
2169
2170 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2173
2174 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2175
2176         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2177         if the message dose not exist.
2178
2179 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2180
2181         * elmo-version.el (elmo-version): Up to 2.11.21.
2182
2183 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2184
2185         * modb-standard.el (toplevel): Don't require mime.
2186
2187 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2188
2189         * elsp-bogofilter.el (toplevel): Don't require path-util.
2190         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2191         (elmo-spam-bogofilter-header): Abolish.
2192         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2193         (elmo-spam-bogofilter-args): New user option.
2194         (elsp-bogofilter-call-bogofilter): New internal function.
2195         (elmo-spam-buffer-spam-p): Use it.
2196         (elsp-bogofilter-register-buffer): Renamed from
2197         `elmo-spam-bogofilter-register-buffer';
2198         Use `elsp-bogofilter-call-bogofilter'.
2199         (elmo-spam-register-spam-buffer): Follow the change above.
2200         (elmo-spam-register-good-buffer): Ditto.
2201
2202 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2203
2204         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2205         message-id is nil do nothing.
2206
2207 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2208
2209         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2210         Revival.
2211         (elmo-imap4-session): Removed use-flag slot.
2212         (elmo-imap4-session-select-mailbox): Undo last change.
2213         (elmo-folder-use-flag-p): Use
2214         elmo-imap4-disuse-server-flag-mailbox-regexp.
2215
2216 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2217
2218         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2219         (elmo-imap4-session-select-mailbox): Set it up.
2220         (elmo-folder-use-flag-p): Return value of use-flag slot.
2221
2222 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2223
2224         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2225         message-id is nil.
2226         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2227
2228         * modb-entity.el (elmo-message-entity-handler): Likewise.
2229
2230 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2231
2232         * elmo.el (toplevel): Remove setting of autoloding for
2233         elmo-global-flag-initialize.
2234         (elmo-init): Don't call elmo-global-flag-initialize.
2235         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2236
2237         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2238         (elmo-global-mark-migrate): Don't call it.
2239         (elmo-global-mark-upgrade): Ditto.
2240
2241 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2242
2243         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2244         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2245
2246         * elmo-vars.el (elmo-init-hook): New user option.
2247
2248         * elmo.el (elmo-init): Run the elmo-init-hook.
2249
2250         * elmo-flag.el (elmo-global-mark-migrate): New function.
2251
2252 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2253
2254         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2255         Undo last change (move to elmo-msgdb-unset-flag).
2256         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2257         flag is unset.
2258
2259 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2260
2261         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2262         read flag is set.
2263         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2264         (elmo-msgdb-unset-flag): Ditto.
2265
2266 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2267
2268         * elmo-split.el (elmo-split): Return split message count.
2269
2270 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2271
2272         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2273         is nil.
2274
2275 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * elmo.el (elmo-folder-unflag-important): Call
2278         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2279         a symbol `always'.
2280
2281         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2282         before unset flag.
2283         (elmo-global-flag-detach): Delete the message from flag folder, if
2284         `delete-if-none' is a symbol `always'.
2285
2286 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2287
2288         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2289         `elmo-spam-spamfilter-decode-buffer'.
2290         (elsp-spamfilter-register-buffer-internal): New internal function.
2291         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2292         (elmo-spam-register-spam-buffer): Ditto.
2293         (elmo-spam-register-good-buffer): Ditto.
2294
2295         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2296         change.
2297         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2298         (elmo-spam-register-spam-buffer): Follow the API change.
2299         (elmo-spam-register-good-buffer): Ditto.
2300
2301         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2302         (elmo-split-spam-p): Added argument plist; Call
2303         `elmo-spam-buffer-spam-p' with new argument register.
2304
2305         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2306         `register'.
2307         (elmo-spam-message-spam-p): Ditto.
2308         (elmo-spam-register-spam-buffer): Added optional argument
2309         `restore'.
2310         (elmo-spam-register-good-buffer): Ditto.
2311         (elmo-spam-register-spam-messages): Ditto.
2312         (elmo-spam-register-good-messages): Ditto.
2313
2314 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2315
2316         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2317         register into good corpus.
2318         (elmo-spam-register-good-buffer): Fixed to register into bad
2319         corpus.
2320
2321 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2322
2323         * elmo-version.el (elmo-version): Up to 2.11.20.
2324
2325         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2326         change.
2327
2328         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2329         flag without depending on \Recent flag.
2330
2331 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2332
2333         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2334         (elmo-spam-modified-p): Defined.
2335         (elmo-spam-save-status): Set `modified' slot to nil.
2336         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2337         (elmo-spam-register-good-buffer): Ditto.
2338
2339         * elmo-spam.el (elmo-spam-modified-p): New API.
2340
2341 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2344         duplicate definition.
2345
2346         * elmo-util.el (elmo-unfold-field-body): New function.
2347         (elmo-msgdb-get-message-id-from-buffer): Use it.
2348
2349         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2350         Fixed the last change; Use elmo-unfold-field-body.
2351
2352 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2355         Unfold date value.
2356
2357 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo-spam.el (elmo-spam-save-status): New API.
2360
2361         * elsp-spamfilter.el: New file.
2362
2363 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2364
2365         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2366
2367 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo-split.el (elmo-split-spam-p): New function.
2370
2371         * elmo-spam.el: New file.
2372
2373         * elsp-bogofilter.el: Ditto.
2374
2375 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2376
2377         * elmo.el (elmo-folder-next-message-number): New API.
2378         (elmo-folder-next-message-number): Define.
2379         (elmo-message-field): Don't check folder length.
2380
2381         * elmo-net.el (elmo-folder-next-message-number): Define.
2382         (elmo-folder-next-message-number-unplugged): Define.
2383
2384         * elmo-map.el (elmo-folder-next-message-number): Define.
2385         (elmo-folder-delete-messages): Clear hash value.
2386
2387         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2388
2389         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2390         (elmo-folder-delete-messages-dop-delayed): Always return t.
2391
2392         * elmo-version.el (elmo-version): Up to 2.11.19.
2393
2394 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2395
2396         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2397         change.
2398
2399         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2400         identical cons cell into the mark-alist and the hash table.
2401
2402 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2403
2404         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2405         elmo-folder-list-messages with argument `visible-only' as t.
2406
2407         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2408         (elmo-folder-msgdb-create): Check the target folder.
2409
2410 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2411
2412         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2413         `permanentflag' instead of `flags'.
2414         (elmo-folder-open): Ditto.
2415         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2416         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2417         (elmo-folder-use-flag-p): Always return t.
2418         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2419         `permanentflags' does not exist.
2420         (elmo-folder-open): Ditto.
2421
2422 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2423
2424         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2425         is nil.
2426         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2427
2428         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2429         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2430         response.
2431         (elmo-folder-open): Ditto.
2432         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2433         slot of the session includes the flag.
2434         (elmo-imap4-session-flag-available-p): New function.
2435         (elmo-imap4-folder-list-flagged): Ditto.
2436         (elmo-folder-list-unreads-plugged): Use it.
2437         (elmo-folder-list-importants-plugged): Ditto.
2438         (elmo-folder-list-answereds-plugged): Ditto.
2439         (elmo-imap4-search-internal-primitive): Ditto.
2440         (elmo-imap4-folder-list-any-plugged,
2441         elmo-imap4-folder-list-digest-plugged): Abolish.
2442
2443         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2444         if numbers is nil.
2445
2446 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2447
2448         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2449
2450 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2451
2452         * elmo-util.el (elmo-get-hash-val): Simplify.
2453         (elmo-set-hash-val): Rewrite.
2454
2455 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2456
2457         * elmo.el (elmo-folder-list-messages): Append killed messages into
2458         result if `visible-only' is nil and `in-msgdb' is non-nil.
2459
2460         * elmo-util.el (elmo-uniq-list): Added optional argument
2461         `delete-function'.
2462
2463         * modb.el (elmo-msgdb-flag-count): New API.
2464
2465         * modb-standard.el (modb-standard): Added slot flag-count.
2466         (modb-standard-countup-flags): New function.
2467         (modb-standard-load-flag): Call it.
2468         (elmo-msgdb-append): Ditto.
2469         (elmo-msgdb-clear): Clear slot flag-count.
2470         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2471         (elmo-msgdb-unset-flag): Treat `all' flag and call
2472         modb-standard-countup-flags.
2473         (elmo-msgdb-flag-count): Define.
2474         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2475         (elmo-msgdb-delete-messages): Ditto.
2476
2477         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2478         (elmo-msgdb-flag-count): Define.
2479
2480         * elmo.el (elmo-folder-list-messages): Undo last change.
2481         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2482         (elmo-folder-kill-messages): Unset all flags to numbers.
2483
2484         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2485         elmo-folder-kill-messages.
2486
2487         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2488         (elmo-nntp-folder-delete-messages): Abolish.
2489
2490         * elmo-version.el (elmo-version): Up to 2.11.18.
2491
2492 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2493
2494         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2495         (elmo-folder-kill-messages-range): New function.
2496         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2497         instead of elmo-folder-kill-messages-before.
2498
2499 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2500
2501         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2502         elmo-imap4-current-msgdb to decide entity handler.
2503
2504 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2505
2506         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2507
2508         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2509         inline function.
2510         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2511         (elmo-msgdb-overview-entity-set-number,
2512         elmo-msgdb-overview-entity-get-references,
2513         elmo-msgdb-overview-entity-set-references,
2514         elmo-msgdb-overview-entity-get-from-no-decode,
2515         elmo-msgdb-overview-entity-get-from,
2516         elmo-msgdb-overview-entity-set-from,
2517         elmo-msgdb-overview-entity-get-subject,
2518         elmo-msgdb-overview-entity-get-subject-no-decode,
2519         elmo-msgdb-overview-entity-set-subject,
2520         elmo-msgdb-overview-entity-get-date,
2521         elmo-msgdb-overview-entity-set-date,
2522         elmo-msgdb-overview-entity-get-to,
2523         elmo-msgdb-overview-entity-get-cc,
2524         elmo-msgdb-overview-entity-get-size,
2525         elmo-msgdb-overview-entity-set-size,
2526         elmo-msgdb-overview-entity-get-extra,
2527         elmo-msgdb-overview-entity-set-extra,
2528         elmo-msgdb-overview-entity-get-extra-field,
2529         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2530         (elmo-msgdb-make-index): Use
2531         `elmo-msgdb-overview-entity-get-number-internal'.
2532         (elmo-msgdb-clear-index): Ditto.
2533         (elmo-msgdb-append-entity): Ditto;
2534         Use `elmo-msgdb-overview-entity-get-id-internal'.
2535
2536         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2537         elmo-msgdb-overview-entity-set-number,
2538         elmo-msgdb-overview-entity-get-references,
2539         elmo-msgdb-overview-entity-set-references,
2540         elmo-msgdb-overview-entity-get-from-no-decode,
2541         elmo-msgdb-overview-entity-get-from,
2542         elmo-msgdb-overview-entity-set-from,
2543         elmo-msgdb-overview-entity-get-subject,
2544         elmo-msgdb-overview-entity-get-subject-no-decode,
2545         elmo-msgdb-overview-entity-set-subject,
2546         elmo-msgdb-overview-entity-get-date,
2547         elmo-msgdb-overview-entity-set-date,
2548         elmo-msgdb-overview-entity-get-to,
2549         elmo-msgdb-overview-entity-get-cc,
2550         elmo-msgdb-overview-entity-get-size,
2551         elmo-msgdb-overview-entity-set-size,
2552         elmo-msgdb-overview-entity-get-extra,
2553         elmo-msgdb-overview-entity-set-extra,
2554         elmo-msgdb-overview-entity-get-extra-field,
2555         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2556         and rewrote for backward compatibility.
2557
2558 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2559
2560         * elmo.el (elmo-message-entity-number,
2561         elmo-message-entity-set-number,
2562         elmo-message-entity-field,
2563         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2564
2565         * elmo-msgdb.el (elmo-message-entity-number,
2566         elmo-message-entity-set-number,
2567         elmo-message-entity-field,
2568         elmo-message-entity-set-field): Moved from elmo.el.
2569
2570 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2571
2572         * elmo.el (toplevel): Changed definition orders.
2573
2574 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2575
2576         * modb.el (elmo-msgdb-search): New API .
2577         (elmo-msgdb-match-condition): Ditto.
2578
2579         * modb-standard.el (elmo-msgdb-search): Define.
2580
2581         * modb-legacy.el (elmo-msgdb-search): Ditto.
2582
2583         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2584         from elmo-msgdb-match-condition-internal.
2585
2586         * elmo.el (elmo-folder-search-fast): Abolish.
2587         (elmo-folder-search): Use elmo-msgdb-search and
2588         elmo-with-progress-display.
2589
2590         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2591         as msgdb API.
2592
2593         * elmo.el (elmo-folder): Remove slot message-modified and
2594         flag-modified.
2595         (elmo-folder-set-message-modified): Abolish.
2596         (elmo-generic-folder-commit): Follow the change above.
2597         (elmo-folder-synchronize): Ditto.
2598
2599         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2600
2601         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2602
2603         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2604
2605 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2606
2607         * modb-standard.el (modb-standard-make-message-entity,
2608         elmo-msgdb-make-message-entity,
2609         elmo-msgdb-create-message-entity-from-buffer,
2610         elmo-msgdb-message-entity-number,
2611         elmo-msgdb-message-entity-set-number,
2612         elmo-msgdb-message-entity-field,
2613         elmo-msgdb-message-entity-set-field,
2614         elmo-msgdb-copy-message-entity,
2615         elmo-msgdb-match-condition-internal): Remove.
2616
2617         * modb-entity.el: New file (again).
2618
2619         * modb.el (toplevel): Require modb-entity.
2620         (elmo-msgdb-message-entity-handler): New method.
2621
2622         * modb-standard.el (modb-standard-entity-id): Use
2623         elmo-message-entity-handler.
2624         (modb-standard-load-entity): Ditto.
2625         (elmo-msgdb-append-entity): Ditto.
2626         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2627
2628         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2629         elmo-msgdb-decoded-cache-hashtb,
2630         (modb-legacy-make-message-entity,
2631         elmo-msgdb-make-message-entity,
2632         elmo-msgdb-create-message-entity-from-buffer,
2633         elmo-msgdb-message-entity-number,
2634         elmo-msgdb-message-entity-set-number,
2635         elmo-msgdb-message-entity-field,
2636         elmo-msgdb-message-entity-set-field,
2637         elmo-msgdb-copy-message-entity,
2638         elmo-msgdb-match-condition-internal,
2639         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2640
2641         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2642         (elmo-message-entity-set-number): Ditto.
2643         (elmo-message-entity-field): Ditto.
2644         (elmo-message-entity-set-field): Ditto.
2645
2646         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2647
2648         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2649
2650         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2651
2652         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2653         (elmo-nntp-msgdb-create-message): Ditto.
2654
2655         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2656         (elmo-folder-msgdb-create): Add unread flag.
2657
2658         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2659
2660         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2661
2662         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2663
2664         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2665
2666         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2667         elmo-msgdb-messge-entity-handler.
2668         * elmo-version.el (elmo-version): Up to 2.11.17.
2669
2670 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2671
2672         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2673         change.
2674
2675 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2676
2677         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2678
2679         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2680         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2681         (elmo-msgdb-flag-table): Ditto.
2682         (elmo-msgdb-sort-by-date): Ditto.
2683
2684         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2685
2686         * modb-standard.el (toplevel): Require mime.
2687         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2688         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2689         elmo-msgdb-message-entity-number.
2690         (elmo-msgdb-append-entity): Ditto.
2691         (elmo-msgdb-create-message-entity-from-file): Remove.
2692         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2693         corresponds to the entity.
2694         (elmo-msgdb-message-entity-number): Do nothing currently.
2695         (elmo-msgdb-message-entity-field): Ditto.
2696         (elmo-msgdb-message-entity-set-field): Ditto.
2697         (elmo-msgdb-copy-message-entity): Ditto.
2698         (elmo-msgdb-match-condition-internal): Ditto.
2699
2700         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2701         elmo-util.el.
2702         (elmo-msgdb-create-message-entity-from-file): Remove.
2703
2704         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2705         modb-legacy.el.
2706         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2707
2708         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2709
2710 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2711
2712         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2713         (elmo-msgdb-message-entity-field): Ditto.
2714         (elmo-msgdb-message-entity-number): Ditto.
2715
2716 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2717
2718         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2719         Fixed how to set extra field into entity.
2720         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2721         symbol.
2722
2723         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2724         Fixed how to set extra field into entity.
2725         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2726         symbol.
2727
2728 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2729
2730         * modb.el (elmo-message-entity-db): New function.
2731         (elmo-msgdb-make-message-entity): New API.
2732         (elmo-msgdb-message-entity-number): Ditto.
2733         (elmo-msgdb-message-entity-set-number): Ditto.
2734         (elmo-msgdb-message-entity-field): Ditto.
2735         (elmo-msgdb-message-entity-set-field): Ditto.
2736         (elmo-msgdb-copy-message-entity): Ditto.
2737         (elmo-msgdb-create-message-entity-from-file): Ditto.
2738         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2739         (elmo-msgdb-match-condition-internal): Ditto.
2740
2741         * modb-standard.el (modb-legacy): Require modb-legacy.
2742         (modb-standard-make-message-entity): New inline function.
2743         (elmo-msgdb-make-message-entity): Define.
2744         (elmo-msgdb-create-message-entity-from-file): Ditto.
2745         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2746         (elmo-msgdb-message-entity-field): Ditto.
2747         (elmo-msgdb-message-entity-set-field): Ditto.
2748         (elmo-msgdb-copy-message-entity): Ditto.
2749         (elmo-msgdb-match-condition-internal): Ditto.
2750
2751         * modb-legacy.el: Don't require modb-entity.
2752         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2753         (elmo-msgdb-match-condition-primitive): Ditto.
2754         (elmo-msgdb-get-decoded-cache): Ditto.
2755         (elmo-msgdb-overview-entity-get-id): Ditto.
2756         (elmo-msgdb-overview-entity-get-number): Ditto.
2757         (elmo-msgdb-overview-entity-set-number): Ditto.
2758         (elmo-msgdb-overview-entity-get-references): Ditto.
2759         (elmo-msgdb-overview-entity-set-references): Ditto.
2760         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2761         (elmo-msgdb-overview-entity-get-from): Ditto.
2762         (elmo-msgdb-overview-entity-set-from): Ditto.
2763         (elmo-msgdb-overview-entity-get-subject): Ditto.
2764         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2765         (elmo-msgdb-overview-entity-set-subject): Ditto.
2766         (elmo-msgdb-overview-entity-get-date): Ditto.
2767         (elmo-msgdb-overview-entity-set-date): Ditto.
2768         (elmo-msgdb-overview-entity-get-to): Ditto.
2769         (elmo-msgdb-overview-entity-get-cc): Ditto.
2770         (elmo-msgdb-overview-entity-get-size): Ditto.
2771         (elmo-msgdb-overview-entity-set-size): Ditto.
2772         (elmo-msgdb-overview-entity-get-extra): Ditto.
2773         (elmo-msgdb-overview-entity-set-extra): Ditto.
2774         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2775         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2776         (elmo-msgdb-number-load): Ditto.
2777         (elmo-msgdb-overview-load): Ditto.
2778         (elmo-msgdb-mark-load): Ditto.
2779         (elmo-msgdb-number-save): Ditto.
2780         (elmo-msgdb-mark-save): Ditto.
2781         (elmo-msgdb-overview-save): Ditto.
2782         (modb-legacy-make-message-entity): New inline function.
2783         (elmo-msgdb-insert-file-header): Ditto.
2784         (elmo-msgdb-make-message-entity): Define.
2785         (elmo-msgdb-create-message-entity-from-file): Ditto.
2786         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2787         (elmo-msgdb-message-entity-number): Ditto.
2788         (elmo-msgdb-message-entity-set-number): Ditto.
2789         (elmo-msgdb-message-entity-field): Ditto.
2790         (elmo-msgdb-message-entity-set-field): Ditto.
2791         (elmo-msgdb-copy-message-entity): Ditto.
2792         (elmo-msgdb-match-condition-internal): Ditto.
2793
2794         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2795         (elmo-message-copy-entity): Rewrite.
2796         (elmo-message-entity-number): Ditto.
2797         (elmo-message-entity-set-number): Ditto.
2798         (elmo-message-entity-field): Use elmo-message-entity-db.
2799         (elmo-message-entity-set-field): Ditto.
2800         (elmo-message-field): Rewrite.
2801
2802         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2803         elmo-msgdb.el
2804         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2805
2806         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2807         elmo-message-entity-field.
2808         (elmo-shimbun-folder-shimbun-header): Ditto.
2809         (elmo-shimbun-entity-to-header): Ditto.
2810         (elmo-folder-msgdb-create): Ditto.
2811         (elmo-shimbun-msgdb-create-entity): Ditto;
2812         Use elmo-msgdb-create-message-entity-from-buffer.
2813         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2814         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2815
2816         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2817         elmo-msgdb-create-message-entity-from-file and 
2818         elmo-message-entity-field.
2819
2820         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2821         elmo-message-entity-number.
2822         (elmo-pop3-msgdb-create-message): Use
2823         elmo-msgdb-create-message-entity-from-buffer,
2824         elmo-message-entity-set-field, elmo-message-entity-number and
2825         elmo-message-entity-set-number.
2826
2827         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2828         the API change in elmo-msgdb-make-message-entity.
2829         (elmo-nntp-msgdb-create-message): Use
2830         elmo-msgdb-create-message-entity-from-buffer.
2831
2832         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2833         elmo-message-entity-field and
2834         elmo-msgdb-create-message-entity-from-file.
2835
2836         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2837         (elmo-msgdb-get-field): Abolish.
2838         (elmo-msgdb-get-number): Rewrite.
2839         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2840         (elmo-msgdb-flag-table): Ditto.
2841         (elmo-msgdb-get-last-message-id,
2842         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2843         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2844         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2845         (elmo-msgdb-create-overview-from-buffer,
2846         elmo-msgdb-overview-get-parent-entity): Abolish.
2847
2848         * elmo-mime.el (elmo-mime-display-as-is): Use
2849         elmo-message-entity-field.
2850
2851         * elmo-map.el (elmo-folder-pack-numbers): Use
2852         elmo-message-entity-set-number.
2853
2854         * elmo-maildir.el (elmo-folder-msgdb-create): 
2855         elmo-msgdb-create-message-entity-from-file instead of
2856         elmo-msgdb-create-overview-entity-from-file.
2857
2858         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2859         msgdb.
2860         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2861         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2862
2863         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2864         elmo-messge-entity-field and elmo-message-entity-number.
2865         (elmo-imap4-fetch-callback-1): Call
2866         elmo-msgdb-create-message-entity-from-buffer instead of
2867         elmo-msgdb-create-overview-from-buffer. 
2868         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2869         (elmo-find-fetch-strategy): Likewise.
2870
2871         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2872         elmo-localdir-msgdb-create-entity with argument msgdb.
2873
2874         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2875         and elmo-message-entity-set-number.
2876
2877         * elmo-cache.el (elmo-folder-msgdb-create): Use
2878         elmo-message-entity-field.
2879         (elmo-folder-msgdb-create): Call
2880         elmo-msgdb-create-message-entity-from-file instead of
2881         elmo-msgdb-create-overview-entity-from-file.
2882
2883         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2884         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2885         instead of elmo-msgdb-create-overview-from-buffer.
2886         (elmo-archive-msgdb-create-entity): Ditto.
2887         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2888         elmo-message-entity-field.
2889         (elmo-archive-parse-mmdf): Ditto.
2890
2891         * modb-entity.el: Removed.
2892
2893         * elmo-version.el (elmo-version): Up to 2.11.16.
2894
2895 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2896
2897         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2898         `is-local'.
2899         (elmo-folder-flag-as-answered): Ditto.
2900
2901 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2902
2903         * modb-standard.el: New file.
2904
2905         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2906         elmo-msgdb-convert-type is `sync'.
2907
2908         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2909         (elmo-msgdb-convert-type): New user option.
2910
2911         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2912         (elmo-load-msgdb): Auto detect saved type.
2913
2914         * elmo-version.el (elmo-version): Up to 2.11.15.
2915
2916 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2917
2918         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2919
2920         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2921         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2922         with argument `delete-if-none' when dst-folder is 'null.
2923
2924         * elmo-flag.el (elmo-folder-append-messages): Defined.
2925         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2926
2927 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2928
2929         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2930
2931 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2932
2933         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2934         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2935         (elmo-folder-commit): Ditto.
2936
2937 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2938
2939         * elmo-flag.el: New file.
2940
2941         * elmo-mark.el: Removed.
2942
2943         * modb-legacy.el (modb-legacy-new-mark,
2944         modb-legacy-unread-uncached-mark,
2945         modb-legacy-unread-cached-mark,
2946         modb-legacy-read-uncached-mark,
2947         modb-legacy-answered-cached-mark,
2948         modb-legacy-answered-uncached-mark,
2949         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2950         All other related portions are changed.
2951
2952         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2953         (elmo-folder-list-messages-with-global-mark): Abolish.
2954         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2955         (elmo-folder-flag-as-important): Ditto.
2956         (elmo-folder-unflag-read): Ditto.
2957         (elmo-folder-flag-as-read): Ditto.
2958         (elmo-folder-unflag-answered): Ditto.
2959         (elmo-folder-flag-as-answered): Ditto.
2960         (elmo-message-encache): Return the cache path.
2961         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2962         (elmo-message-set-flag): Transitional implementation.
2963         (elmo-message-unset-flag): Ditto.
2964         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2965         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2966         (elmo-init): Call elmo-global-flag-initialize.
2967         (toplevel): Added autoload settings for elmo-flag.
2968
2969         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2970
2971         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2972         (elmo-file-cache-delete): Don't treat global-mark.
2973
2974         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2975
2976         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2977
2978         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2979         `elmo-global-flags-set'.
2980
2981         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2982         `flag'.
2983         (elmo-folder-unflag-read): Ditto.
2984         (elmo-folder-unflag-important): Ditto.
2985         (elmo-folder-flag-as-important): Ditto.
2986         (elmo-folder-unflag-answered): Ditto.
2987         (elmo-folder-flag-as-answered): Ditto.
2988
2989         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2990         `elmo-global-flags-set'.
2991         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2992
2993         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2994
2995         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2996         `flag'.
2997         (elmo-folder-flag-as-important): Ditto.
2998         (elmo-folder-unflag-important): Ditto.
2999         (elmo-folder-flag-as-important): Ditto.
3000         (elmo-folder-unflag-read): Ditto.
3001         (elmo-folder-flag-as-read): Ditto.
3002         (elmo-folder-unflag-answered): Ditto.
3003         (elmo-folder-flag-as-answered): Ditto.
3004
3005         * elmo-multi.el (elmo-folder-list-importants): Don't call
3006         elmo-folder-list-messages-with-global-mark.
3007         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3008         (elmo-folder-unflag-important): Ditto.
3009         (elmo-folder-flag-as-read): Ditto.
3010         (elmo-folder-unflag-read): Ditto.
3011         (elmo-folder-flag-as-answered): Ditto.
3012         (elmo-folder-unflag-answered): Ditto.
3013
3014         * elmo-msgdb.el (elmo-msgdb-new-mark,
3015         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3016         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3017         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3018         (Moved to modb-legacy.el).
3019         (elmo-flag-table-get): Treat important flag too.
3020
3021         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3022         `mark' to `flag'.
3023         (elmo-map-folder-flag-as-important): Ditto.
3024         (elmo-map-folder-unflag-read): Ditto.
3025         (elmo-map-folder-flag-as-read): Ditto.
3026         (elmo-map-folder-unflag-answered): Ditto.
3027         (elmo-map-folder-flag-as-answered): Ditto.
3028         (elmo-folder-unflag-important): Ditto.
3029         (elmo-folder-flag-as-important): Ditto.
3030         (elmo-folder-unflag-read): Ditto.
3031         (elmo-folder-flag-as-read): Ditto.
3032         (elmo-folder-unflag-answered): Ditto.
3033         (elmo-folder-flag-as-answered): Ditto.
3034
3035         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3036         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3037         `flag'.
3038         (elmo-map-folder-unflag-important): Ditto.
3039         (elmo-map-folder-flag-as-read): Ditto.
3040         (elmo-map-folder-unflag-read): Ditto.
3041         (elmo-map-folder-flag-as-answered): Ditto.
3042         (elmo-map-folder-unflag-answered): Ditto.
3043
3044         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3045         `elmo-global-flags-set'.
3046         (elmo-global-flags-set): Added autoload setting.
3047
3048         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3049         `flag'.
3050
3051         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3052         `elmo-msgdb-global-mark-set'.
3053         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3054         Call `elmo-global-flags-set'.
3055         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3056         `flag'.
3057         (elmo-folder-flag-as-important-plugged): Ditto.
3058         (elmo-folder-unflag-read-plugged): Ditto.
3059         (elmo-folder-flag-as-read-plugged): Ditto.
3060         (elmo-folder-unflag-answered-plugged): Ditto.
3061         (elmo-folder-flag-as-answered-plugged): Ditto.
3062         (elmo-global-flags-set): Added autoload setting.
3063
3064         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3065         `flag'.
3066         (elmo-folder-unflag-read): Ditto.
3067         (elmo-folder-flag-as-important): Ditto.
3068         (elmo-folder-unflag-important): Ditto.
3069         (elmo-folder-flag-as-answered): Ditto.
3070         (elmo-folder-unflag-answered): Ditto.
3071
3072         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3073         change of `mark'->`flag'.
3074         (elmo-dop-queue-method-name-alist): Ditto.
3075         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3076         (elmo-folder-unflag-read-dop): Ditto.
3077         (elmo-folder-flag-as-important-dop): Ditto.
3078         (elmo-folder-unflag-important-dop): Ditto.
3079         (elmo-folder-flag-as-answered-dop): Ditto.
3080         (elmo-folder-unflag-answered-dop): Ditto.
3081
3082         * elmo-cache.el (elmo-folder-msgdb-create): Call
3083         `elmo-global-flags-set'.
3084
3085         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3086         Call `elmo-global-flags-set'.
3087         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3088         elmo-archive-parse-mmdf with argument `folder'.
3089         (elmo-archive-parse-mmdf): Added argument `folder';
3090         Call `elmo-global-flags-set'.
3091
3092         * elmo-version.el (elmo-version): Up to 2.11.14.
3093
3094 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3095
3096         * modb.el (elmo-msgdb-length): Define.
3097
3098         * elmo.el (elmo-make-folder): Fixed.
3099         (elmo-generic-folder-append-messages): Follow the API change.
3100
3101         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3102         API change.
3103
3104 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3105
3106         * modb.el: New file.
3107
3108         * modb-entity.el: Ditto.
3109
3110         * modb-legacy.el: Ditto.
3111
3112         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3113         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3114         of `elmo-msgdb-overview-get-entity'.
3115         (elmo-msgdb-get-field): Ditto.
3116         (elmo-msgdb-merge): Moved to `elmo.el'.
3117         (elmo-msgdb-length): Removed; redefine as modb method.
3118         (elmo-msgdb-change-mark): Abolish.
3119         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3120         (elmo-msgdb-match-condition): Don't use mark.
3121         (elmo-msgdb-overview-get-entity): Abolish.
3122         Split modb part into `modb*.el'.
3123
3124         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3125
3126         * elmo-shimbun.el (shimbun-mua-search-id): Use
3127         `elmo-msgdb-message-entity' instead of
3128         `elmo-msgdb-overview-get-entity'.
3129         (elmo-shimbun-folder-shimbun-header): Ditto.
3130         (elmo-shimbun-get-headers): Ditto.
3131         (elmo-shimbun-update-overview): Ditto.
3132
3133         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3134
3135         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3136
3137         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3138         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3139
3140         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3141         `elmo-msgdb-mark-to-flags'.
3142
3143         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3144         `elmo-msgdb-set-path'.
3145
3146         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3147  
3148         * elmo-version.el (elmo-version): Up to 2.11.13.
3149
3150         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3151
3152         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3153         of mark.
3154
3155 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3156
3157         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3158         mismatch.
3159
3160 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3161
3162         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3163         instead of `elmo-msgdb-get-cached'.
3164         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3165
3166         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3167         (elmo-msgdb-set-cached): Ditto.
3168         (elmo-msgdb-set-flag): Rewrite.
3169         (elmo-msgdb-unset-flag): Ditto.
3170
3171         * elmo-msgdb.el: Rewrite with luna.
3172
3173         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3174         (elmo-folder-msgdb): Follow the change above.
3175         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3176         (elmo-folder-unmark-important): Follow the API change.
3177         (elmo-folder-mark-as-important): Ditto.
3178         (elmo-folder-unmark-read): Ditto.
3179         (elmo-folder-mark-as-read): Ditto.
3180         (elmo-folder-unmark-answered): Ditto.
3181         (elmo-folder-mark-as-answered): Ditto.
3182         (elmo-folder-clear): Likewise.
3183
3184         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3185         instead of `elmo-msgdb-load' (renamed).
3186
3187         * elmo-version.el (elmo-version): Up to 2.11.12.
3188
3189 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3190
3191         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3192         change.
3193         (elmo-message-mark): Abolish.
3194         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3195         instead of `elmo-msgdb-change-mark'.
3196
3197         * elmo-pipe.el (elmo-message-mark): Abolish.
3198
3199         * elmo-multi.el (elmo-message-mark): Ditto.
3200
3201         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3202         (elmo-msgdb-unread-uncached-mark): Ditto.
3203         (elmo-msgdb-unread-cached-mark): Ditto.
3204         (elmo-msgdb-read-uncached-mark): Ditto.
3205         (elmo-msgdb-answered-cached-mark): Ditto.
3206         (elmo-msgdb-answered-uncached-mark): Ditto.
3207         (elmo-msgdb-important-mark): Ditto.
3208         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3209         `use-cache'.
3210         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3211         `flags'.
3212         (elmo-flag-table-load): Changed flag to list of flag.
3213         (elmo-flag-table-set): If flags is nil, set read flag.
3214         (elmo-flag-table-get): Return derived flags from global mark,
3215         cache status and saved flags.
3216         (elmo-msgdb-flag-table): Follow the change above.
3217         (elmo-msgdb-out-of-date-messages): New function.
3218
3219         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3220
3221         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3222
3223         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3224
3225         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3226         (elmo-nntp-msgdb-create-message): Ditto.
3227
3228         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3229
3230         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3231         independent.
3232         (elmo-folder-msgdb-create): Follow the API change.
3233
3234         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3235         (elmo-folder-append-messages): Ditto.
3236
3237         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3238         (elmo-folder-append-buffer): Ditto.
3239
3240         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3241
3242         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3243
3244         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3245         (elmo-archive-parse-mmdf): Ditto.
3246
3247         * elmo-version.el (elmo-version): Up to 2.11.11.
3248
3249 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3252         `elmo-msgdb-mark'.
3253
3254         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3255
3256         * elmo-pipe.el (elmo-message-flags): Defined.
3257
3258         * elmo-multi.el (elmo-message-flags): Ditto.
3259
3260 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3261
3262         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3263         `elmo-msgdb-delete-msgs'.
3264
3265         * elmo.el (elmo-folder-count-flags): Don't use
3266         `elmo-msgdb-get-mark-alist'.
3267         (elmo-folder-detach-messages): Follow the API change.
3268
3269         * elmo.el (elmo-folder-list-messages): Append killed messages into
3270         result if `visible-only' is nil.
3271
3272         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3273         canceled messages.
3274         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3275         (elmo-folder-update-number): Likewise.
3276
3277         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3278         (elmo-pop3-sort-msgdb-by-original-number): Use
3279         `elmo-msgdb-sort-entities'.
3280
3281         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3282         (elmo-msgdb-sort-by-date): Use it.
3283         (elmo-msgdb-overview-sort-by-date): Abolish.
3284
3285         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3286
3287         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3288         (elmo-msgdb-flags): New function.
3289         (elmo-msgdb-merge): Use elmo-msgdb-append.
3290
3291         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3292         change.
3293
3294         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3295
3296         * elmo-dop.el (elmo-folder-status-dop): Use
3297         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3298
3299 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3300
3301         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3302
3303         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3304
3305         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3306
3307         * elmo-util.el (elmo-with-progress-display): New macro.
3308
3309         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3310
3311 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3312
3313         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3314         `elmo-folder-list-message-entities' instead of
3315         `elmo-msgdb-get-overview'.
3316         (elmo-map-folder-list-message-locations): Ditto.
3317
3318         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3319         methods instead of treat directly).
3320         (elmo-msgdb-clear): Ditto.
3321         (elmo-msgdb-delete-msgs): Ditto.
3322         (elmo-msgdb-sort-by-date): Ditto.
3323
3324         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3325         local variables.
3326         (elmo-nntp-folder-msgdb-create): Follow the API change.
3327
3328         * elmo-version.el (elmo-version): Up to 2.11.10.
3329
3330 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3331
3332         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3333         (elmo-msgdb-flags-to-mark): Ditto.
3334         (elmo-msgdb-append-entity): Ditto.
3335
3336         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3337         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3338         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3339         (elmo-archive-parse-mmdf): Ditto.
3340
3341         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3342
3343         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3344
3345         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3346
3347         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3348
3349         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3350
3351         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3352
3353         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3354
3355         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3356
3357         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3358         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3359         to empty msgdb.
3360
3361         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3362         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3363         instead of directly construction.
3364         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3365         instead of construct msgdb.
3366
3367         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3368         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3369         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3370         instead of construct msgdb.
3371
3372 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3373
3374         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3375         when field is from or subject.
3376
3377 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3378
3379         * elmo-multi.el (elmo-message-entity-parent): Define.
3380         (elmo-folder-search): Rewrite.
3381
3382 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3383
3384         * elmo-multi.el (elmo-message-cached-p): Define.
3385
3386         * elmo.el (elmo-message-cached-p): New method.
3387         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3388         (elmo-message-flags): New method.
3389         (elmo-message-flagged-p): New function.
3390
3391         * elmo-version.el (elmo-version): Up to 2.11.9.
3392
3393 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3394
3395         * elmo-version.el (elmo-version): Up to 2.11.8.
3396
3397         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3398
3399         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3400
3401 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3402
3403         * elmo.el (elmo-folder-detach-messages): Undo last change.
3404
3405 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3406
3407         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3408
3409         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3410         only when src folder type is pop3.
3411
3412 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3413
3414         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3415         elmo-msgdb-overview-entity-get-number instead of
3416         elmo-message-entity-number.
3417
3418 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3419
3420         * elmo-version.el (elmo-version): Up to 2.11.7.
3421
3422 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3423
3424         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3425         function.
3426
3427         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3428         (elmo-msgdb-merge): New function.
3429         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3430         (elmo-msgdb-make-index): Rewrite.
3431
3432         * elmo-version.el (elmo-version): Up to 2.11.6.
3433
3434         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3435         use it as a the path for loading message entities.
3436
3437         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3438
3439 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3440
3441         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3442         message-modified slot of itself if it does not require target msgdb.
3443
3444         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3445         if folder length is zero.
3446         (elmo-mime-display-as-is): Ditto.
3447
3448         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3449
3450         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3451
3452 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3453
3454         * elmo.el (elmo-folder-set-message-modified): New method.
3455         (elmo-generic-folder-commit): Use it.
3456         (elmo-folder-synchronize): Ditto.
3457
3458         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3459         (elmo-folder-commit): Remove duplicate definition.
3460
3461 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3462
3463         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3464
3465 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3466
3467         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3468         (elmo-strict-folder-diff): Ditto.
3469         (elmo-folder-set-info-max-by-numdb): Simplify.
3470
3471         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3472         elmo-msgdb-list-messages.
3473
3474         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3475         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3476
3477 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3478
3479         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3480         visible-only is non-nil.
3481         (elmo-folder-confirm-appends): Changed message.
3482         (elmo-folder-synchronize): Added argument disable-killed.
3483
3484         * elmo-multi.el (elmo-folder-synchronize): Added argument
3485         disable-killed.
3486
3487         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3488
3489         * elmo-version.el (elmo-version): Up to 2.11.5.
3490
3491         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3492         elmo-list-filter.
3493
3494         * elmo-util.el (elmo-list-filter): Simplify.
3495
3496         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3497         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3498         (elmo-generic-folder-diff): Abolish argument.
3499         (elmo-msgdb-load): Don't use number-alist.
3500
3501         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3502
3503         * elmo-pipe.el (elmo-folder-diff): Ditto.
3504
3505         * elmo-nmz.el (elmo-folder-diff): Ditto.
3506
3507         * elmo-net.el (elmo-folder-diff): Ditto.
3508
3509         * elmo-maildir.el (elmo-folder-diff): Ditto.
3510
3511         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3512
3513         * elmo-multi.el (elmo-folder-diff): Ditto
3514         (elmo-multi-folder-diff): Rewrite.
3515
3516 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3517
3518         * elmo-pipe.el (elmo-folder-msgdb): Define.
3519
3520 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3521
3522         * elmo.el (elmo-message-set-cached): Define as a method.
3523
3524         * elmo-pipe.el (elmo-message-set-cached): Define.
3525         (elmo-find-fetch-strategy): Ditto.
3526
3527         * elmo-multi.el (elmo-message-set-cached): Define.
3528         (elmo-find-fetch-strategy): Rewrite.
3529
3530         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3531
3532         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3533
3534 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3535
3536         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3537         instead of number-alist.
3538
3539         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3540         mark nor message-id when msgdb of source folder is not loaded.
3541
3542         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3543
3544         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3545
3546 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3547
3548         * elmo.el (elmo-folder-length): Don't require msgdb.
3549
3550 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3551
3552         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3553         (elmo-message-field): Ditto.
3554
3555         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3556         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3557         slot.
3558         (elmo-map-folder-list-answereds): Define.
3559         (elmo-maildir-list-location): Treat 'R' info.
3560         (elmo-folder-msgdb-create): Treat flag-table.
3561         (elmo-folder-append-messages): Save flag-table.
3562
3563 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3564
3565         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3566         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3567
3568 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3569
3570         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3571
3572         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3573         'read when mark is null.
3574
3575 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3576
3577         * elmo-version.el (elmo-version): Up to 2.11.4.
3578
3579 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3580
3581         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3582         (elmo-folder-mark-as-answered): Ditto.
3583
3584 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3587         (elmo-pop3-get-session): Make msgdb directory after session.
3588         (elmo-folder-exists-p): Check exactly at the first time even when the
3589         elmo-pop3-exists-exactly is nil.
3590
3591         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3592         (elmo-folder-list-messages): Define instead of
3593         elmo-folder-list-messages-internal.
3594         (elmo-folder-check): Check destination folder.
3595         (elmo-folder-synchronize): Drain the pipe.
3596
3597         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3598         when msgdb is not loaded.
3599
3600         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3601
3602         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3603         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3604         messages.
3605
3606         * elmo.el (elmo-folder-kill-messages-before): New function.
3607         (elmo-folder-kill-messages): Ditto.
3608         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3609
3610         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3611         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3612         killed not by synchronize (e.g. scoring).
3613
3614 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3615
3616         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3617         treated.
3618         (elmo-folder-search): Follow the change above.
3619
3620         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3621         into the candidates of search field.
3622
3623 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3624
3625         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3626         (elmo-msgdb-unset-flag): Ditto.
3627
3628         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3629
3630 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3631
3632         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3633         (elmo-folder-commit): Define.
3634         (elmo-folder-synchronize): Ditto.
3635         (elmo-folder-list-flagged): Ditto.
3636         (elmo-folder-commit): Ditto.
3637         (elmo-folder-length): Ditto.
3638         (elmo-folder-count-flags): Ditto.
3639         (elmo-message-mark): Ditto.
3640         (elmo-message-field): Ditto.
3641         (elmo-message-entity): Ditto.
3642         (elmo-message-folder): Ditto.
3643
3644 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * elmo.el (elmo-message-field): Define as a method.
3647
3648         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3649         (elmo-message-field): Define.
3650
3651         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3652         (elmo-folder-list-importants): Ditto.
3653         (elmo-folder-list-answereds): Ditto.
3654
3655         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3656         qualifier.
3657         (elmo-folder-mark-as-read): Ditto.
3658         (elmo-folder-unmark-read): Ditto.
3659         (elmo-folder-mark-as-answered): Ditto.
3660         (elmo-folder-unmark-answered): Ditto.
3661         (elmo-folder-list-flagged): Define.
3662         (elmo-folder-commit): Ditto.
3663         (elmo-folder-length): Ditto.
3664         (elmo-folder-count-flags): Ditto.
3665
3666 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3667
3668         * elmo.el (elmo-folder-detach-messages): New method.
3669         (elmo-folder-move-messages): Use it.
3670         (elmo-folder-synchronize): Ditto.
3671
3672         * elmo-multi.el (elmo-folder-detach-messages): Define.
3673
3674         * elmo.el (elmo-message-copy-entity): New function.
3675         (elmo-message-entity-set-number): Ditto.
3676         (elmo-message-mark): Define as method.
3677
3678         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3679         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3680         (elmo-message-entity): Fixed last change.
3681         (elmo-message-mark): Define.
3682         (elmo-folder-msgdb-create): Abolish.
3683         (elmo-multi-folder-append-msgdb): Ditto.
3684         (elmo-multi-folder-diff): Fixed.
3685         (elmo-multi-split-number-alist): Removed.
3686         (elmo-multi-split-mark-alist): Removed.
3687         (elmo-folder-list-messages): Define.
3688         (elmo-folder-list-messages-internal): Removed.
3689
3690         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3691         local file messages.
3692         (elmo-folder-msgdb-create): Fixed read mark.
3693
3694 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3695
3696         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3697         if mark is nil.
3698
3699 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3700
3701         * elmo.el (elmo-folder-list-message-entities): Define as inline
3702         function.
3703         (elmo-folder-messages): Abolish.
3704
3705         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3706         folder.
3707         (elmo-folder-synchronize): Define.
3708         (elmo-message-entity): Define.
3709
3710 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3711
3712         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3713         elmo-imap4-session-select-mailbox.
3714
3715         * elmo.el (elmo-folder-move-messages): Don't display any message.
3716
3717         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3718         parsing.
3719         (elmo-imap4-session-check): Don't wait CHECK response.
3720         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3721
3722 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3723
3724         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3725
3726 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3727
3728         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3729         API.
3730         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3731
3732
3733         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3734         (elmo-folder-list-message-entities): Added argument in-msgdb and
3735         numbers.
3736         (elmo-folder-synchronize): Define as a method.
3737
3738         * elmo-nntp.el (elmo-folder-initialize): Don't use
3739         elmo-nntp-default-user if zero-length username is specified
3740         explicitly.
3741
3742 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3743
3744         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3745         server name in case with username.
3746         (XXX: this is ad-hoc fix against username includes "@", it
3747         should be solved fundamentally)
3748
3749 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3750
3751         * elmo-nntp.el (elmo-nntp-debug): New function.
3752         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3753         (elmo-network-authenticate-session): Hide auth-info from the log.
3754
3755         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3756         user name if it is equal to elmo-nntp-default-user.
3757
3758 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3759
3760         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3761         instead of shimbun-server-internal;
3762         Use shimbun-current-group instead of shimbun-current-group-internal.
3763         (elmo-folder-plugged-p): Use shimbun-server instead of
3764         shimbun-server-internal.
3765         (elmo-folder-set-plugged): Ditto.
3766         (elmo-net-port-info): Ditto.
3767         (elmo-folder-check): Ditto.
3768         (elmo-folder-expand-msgdb-path): Ditto.
3769         (elmo-folder-list-subfolders): Ditto.
3770
3771 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3772
3773         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3774         Convert field-name to lower case.
3775         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3776
3777 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3778
3779         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3780         `message' and `error' take format string.
3781
3782 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3783
3784         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3785
3786 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3787
3788         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3789         recursive call (can't byte compile on emacs 20.7).
3790
3791 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3792
3793         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3794         (elmo-folder-list-message-entities): New API.
3795         (elmo-message-entity): Ditto.
3796         (elmo-message-entity-parent): Ditto.
3797         (elmo-folder-do-each-message-entity): Ditto.
3798         (elmo-message-entity-number): Ditto.
3799         (elmo-message-entity-field): Ditto.
3800         (elmo-message-entity-set-field): Ditto.
3801         (elmo-folder-count-flags): Ditto.
3802         (elmo-folder-length): Ditto.
3803
3804         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3805         not.
3806
3807         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3808         (elmo-msgdb-count-marks): Abolish.
3809         (elmo-msgdb-make-entity): Ditto.
3810         (elmo-msgdb-do-each-entity): Ditto.
3811         (elmo-msgdb-message-entity): New inline function.
3812         (elmo-msgdb-message-entity-field): Ditto.
3813         (elmo-msgdb-message-entity-set-field): Ditto.
3814         (elmo-msgdb-make-message-entity): New function.
3815
3816 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3817
3818         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3819         to flag. (All other related portions are changed.)
3820         (elmo-folder-msgdb-create): Likewise.
3821         (elmo-generic-folder-append-messages): Use flag-table instead of
3822         seen-list.
3823         (elmo-folder-move-messages): Removed redundant process.
3824         (elmo-folder-synchronize): Likewise.
3825
3826         * elmo-msgdb.el (elmo-flag-table-get): New function.
3827         (elmo-flag-table-save): Fixed.
3828         (elmo-msgdb-length): New inline function.
3829         (elmo-msgdb-flag-table): New function.
3830         (elmo-msgdb-mark): Add optional argument new.
3831         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3832         (elmo-msgdb-seen-list): Ditto.
3833         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3834
3835
3836 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3837
3838         * elmo.el (elmo-message-set-mark): Abolish.
3839         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3840         (All related portions are changed.)
3841
3842         * elmo-msgdb.el (toplevel): Added comment.
3843         (elmo-load-msgdb): Added 4th element `path'.
3844         (elmo-msgdb-append): Follow the change above.
3845         (elmo-msgdb-clear): Ditto.
3846         (elmo-msgdb-delete-msgs): Ditto.
3847         (elmo-msgdb-get-path): New inline function.
3848         (elmo-msgdb-set-path): Ditto.
3849         (elmo-flag-table-filename): New variable.
3850         (elmo-flag-table-load): New function.
3851         (elmo-flag-table-set): Ditto.
3852         (elmo-flag-table-save): Ditto.
3853         (elmo-msgdb-get-field-value): Abolish.
3854         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3855
3856 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3857
3858         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3859         the folder has been deleted successfully.
3860         * elmo-imap4.el (elmo-folder-delete): Ditto.
3861         * elmo-archive.el (elmo-folder-delete): Ditto.
3862         * elmo-localdir.el (elmo-folder-delete): Ditto.
3863         * elmo-maildir.el (elmo-folder-delete): Ditto.
3864
3865 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3866
3867         * elmo-util.el (elmo-string-member-ignore-case): New function.
3868         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3869         (elmo-imap4-fetch-callback-1-subr): Likewise.
3870
3871 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3872
3873         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3874         the case of the name attribute "\Noselect".
3875
3876 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3877
3878         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3879
3880         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3881         flist, is not always a member of onum-alist.
3882
3883 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3884
3885         * elmo-version.el (elmo-version): Up to 2.11.3.
3886
3887 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3888
3889         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3890         copied from localdir's one.
3891
3892         * elmo-pipe.el (elmo-folder-rename): New method, rename
3893         destination folder with leaving source folder as it is.
3894
3895 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3896
3897         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3898         replace-regexp.
3899
3900 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3901
3902         * elmo-version.el (elmo-version): Up to 2.11.2.
3903
3904 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3905
3906         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3907         shimbun-open in case of "@".
3908         (elmo-folder-open-internal): Cope with shimbun = nil case.
3909         (elmo-folder-plugged-p): Ditto.
3910         (elmo-folder-list-subfolders): Make list for "@/" group.
3911
3912 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3913
3914         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3915         mailbox (e.g. for %~/something).
3916
3917 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3918
3919         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3920         Replace nested conditional with guard clauses.
3921
3922 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3923
3924         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3925         error [wl:11327].
3926
3927         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3928         print-depth.
3929
3930 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3931
3932         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3933         Replace nested conditional with guard clauses.
3934
3935 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3936
3937         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3938         (elmo-passwd-alist-save): Ditto.
3939         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3940
3941 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3942
3943         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3944         dir-name only if it is absolute path.
3945         (TODO: distinguish +/something and +something)
3946
3947 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3948
3949         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3950         path for "+~/something".
3951
3952 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3953
3954         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3955         as non-directory, cause error before rename-file.
3956         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3957         apropriately, mimic localdir's one.
3958         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3959
3960 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3961
3962         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3963
3964 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3965
3966         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3967
3968         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3969         
3970         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3971         is included in the global-mark or not.
3972
3973 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3974
3975         * utf7.el (toplevel): Avoid error when the function
3976         find-coding-system does not exist.
3977
3978 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3979
3980         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3981         cache even if the folder is plugged.
3982         (elmo-nntp-search-primitive): Do nothing when body search is
3983         invoked (although it is not used by the change above).
3984         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3985
3986 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3987
3988         * elmo-version.el (elmo-version): Up to 2.11.1.
3989
3990 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3991
3992         * elmo-archive.el: Specify charset.
3993
3994 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3995
3996         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3997         process buffer lives or not.
3998
3999         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4000         while flushing queues (It causes infinite loop).
4001
4002 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4003
4004         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4005
4006 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4007
4008         * utf7.el (toplevel): Check the ucs features dynamically.
4009         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4010
4011         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4012         folder is creatabe or not if it already exists.
4013
4014 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4015
4016         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4017
4018         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4019
4020         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4021         (elmo-imap4-read-response): Take care of garbage response.
4022
4023 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4024
4025         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4026         just return nil instead of error.
4027
4028 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4029
4030         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4031         search-key is "body".
4032
4033 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4034
4035         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4036         of elmo-string-matched-assoc to use match-data.
4037         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4038
4039 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4040
4041         * elmo-split.el (elmo-split->): New function.
4042         (elmo-split-<): Ditto.
4043
4044 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4045
4046         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4047         workaround for invalid message-id.
4048
4049 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4050
4051         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4052         return normal pop3 session or pop3 biff session.
4053
4054 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4055
4056         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4057         info part to the cur files when the new files already have it.
4058         (Adviced by Jared Rhine <jared@wordzoo.com>)
4059
4060 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4061
4062         * elmo-split.el (elmo-split-default-action): New variable.
4063         (elmo-split-subr): Use it if all other conditions are passed.
4064         Extend `fname' and rename it as `action'. (implemented
4065         Teranishi-san's idea in [wl:10800])
4066
4067 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4068
4069         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4070         * elmo-util.el: Ditto.
4071
4072 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4073
4074         * elmo.el (elmo-message-accessible-p): Renamed from
4075         elmo-message-cached-p and rewritten.
4076
4077 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4078
4079         * elmo.el (elmo-folder-list-flagged): New generic function.
4080         (elmo-folder-list-importants): New implementation.
4081         (elmo-folder-list-answereds): Ditto.
4082         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4083         Added 'digest'.
4084         (elmo-message-cached-p): New function.
4085         (elmo-message-set-flag): Ditto (no content).
4086         (elmo-message-unset-flag): Ditto.
4087         (elmo-folder-list-messages-mark-match): Abolish.
4088
4089         * elmo-util.el (elmo-regexp-opt): New function.
4090
4091         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4092         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4093         Added 'digest'.
4094         (elmo-msgdb-list-flagged): New function.
4095
4096         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4097         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4098         Added 'digest'.
4099
4100         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4101
4102 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4103
4104         * elmo-version.el (elmo-version): Up to 2.11.0.
4105
4106 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4107
4108         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4109         `elmo-file-cache-exists-p'; use proper mark that depends on
4110         `use-cache'.
4111         (elmo-msgdb-unset-flag): Ditto.
4112         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4113
4114         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4115         with 4th argument `use-cache'.
4116
4117 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4118
4119         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4120         (elmo-folder-mark-as-important): Ditto.
4121         (elmo-folder-unmark-read): Ditto.
4122         (elmo-folder-mark-as-read): Ditto.
4123         (elmo-folder-unmark-answered): Ditto.
4124         (elmo-folder-mark-as-answered): Ditto.
4125
4126         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4127         message status.
4128         (elmo-msgdb-mark): Likewise.
4129         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4130         (elmo-msgdb-unset-flag): Likewise.
4131
4132         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4133
4134 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4135
4136         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4137         `last:' filter.
4138
4139 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4140
4141         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4142         set spool-length to 0.
4143
4144 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4145
4146         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4147         (elmo-dop-queue-flush): Fixed last change.
4148
4149 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4150
4151         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4152         if require-msgdb slot is nil.
4153         (elmo-folder-list-importants): Likewise.
4154
4155 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4156
4157         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4158         mark is changed.
4159
4160         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4161         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4162         is changed.
4163
4164 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4165
4166         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4167
4168 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4169
4170         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4171
4172         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4173
4174 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4175
4176         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4177         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4178
4179 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4180
4181         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4182         the problem reported by Sean Rima [wl-en:180].
4183
4184 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4185
4186         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4187
4188         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4189
4190         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4191
4192         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4193
4194         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4195
4196         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4197
4198         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4199
4200 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4201
4202         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4203         status number.
4204
4205 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4206
4207         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4208         (elmo-folder-mark-as-read): Follow the API change.
4209         (elmo-message-set-cached): New function.
4210
4211         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4212
4213         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4214
4215         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4216         (elmo-folder-mark-as-important): Ditto.
4217         (elmo-folder-unmark-read): Ditto.
4218         (elmo-folder-mark-as-read): Ditto.
4219         (elmo-folder-unmark-answered): Ditto.
4220         (elmo-folder-mark-as-answered): Ditto.
4221
4222         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4223         (elmo-folder-unmark-important): Ditto.
4224         (elmo-folder-mark-as-read): Ditto.
4225         (elmo-folder-unmark-read): Ditto.
4226         (elmo-folder-mark-as-answered): Ditto.
4227         (elmo-folder-unmark-answered): Ditto.
4228
4229         * elmo-mark.el (toplevel): Removed some mark method definitions.
4230
4231         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4232         (elmo-map-folder-mark-as-answered): Ditto.
4233         (elmo-folder-unmark-important): Add :before qualifier.
4234         (elmo-folder-mark-as-important): Ditto.
4235         (elmo-folder-unmark-read): Ditto.
4236         (elmo-folder-mark-as-read): Ditto.
4237         (elmo-folder-unmark-answered): Define.
4238         (elmo-folder-mark-as-answered): Ditto.
4239
4240         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4241         (elmo-map-folder-unmark-answered): Ditto.
4242
4243         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4244
4245         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4246         (elmo-folder-mark-as-important): Ditto.
4247         (elmo-folder-unmark-read): Ditto.
4248         (elmo-folder-mark-as-read): Ditto.
4249         (elmo-folder-unmark-answered): Ditto.
4250         (elmo-folder-mark-as-answered): Ditto.
4251
4252         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4253         `mark'; evaluate mark condition.
4254         (elmo-msgdb-match-condition-internal): New function.
4255         (elmo-msgdb-match-condition): Call it; changed argument.
4256
4257         * elmo.el (elmo-folder-search): Follow the API change on
4258         `elmo-msgdb-match-condition'.
4259
4260 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4261
4262         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4263         original mark is non-nil.
4264
4265 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4268         (elmo-map-folder-list-answereds): New method.
4269         (elmo-folder-list-unreads): Add :around qualifier.
4270         (elmo-folder-list-importants): Ditto.
4271         (elmo-folder-list-answereds): Ditto.
4272
4273 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4274
4275         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4276
4277         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4278         method if msgdb is not required.
4279         (elmo-filter-folder-list-importants): Don't treat global-mark.
4280
4281         * elmo.el (elmo-folder-list-importants): Ditto.
4282
4283         * elmo-net.el (elmo-folder-list-importants): Ditto.
4284
4285         * elmo-map.el (elmo-folder-list-importants): Ditto.
4286
4287         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4288
4289         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4290         (elmo-imap4-folder-list-any-plugged): New function.
4291         (elmo-imap4-search-internal-primitive): Use it.
4292
4293         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4294         only when require-msgdb slot is non-nil.
4295         (elmo-folder-close): Clear target folder's msgdb.
4296
4297 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4298
4299         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4300         (elmo-pop3-msgdb-create-by-header): Ditto.
4301         (elmo-pop3-msgdb-create-message): Ditto.
4302
4303         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4304
4305         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4306
4307         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4308
4309         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4310         (elmo-folder-msgdb-create): Ditto.
4311         (elmo-nntp-folder-msgdb-create): Ditto.
4312         (elmo-nntp-msgdb-create-by-header): Ditto.
4313         (elmo-nntp-msgdb-create-message): Ditto.
4314         (elmo-folder-list-unreads): Define.
4315
4316         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4317         (elmo-folder-append-messages): Ditto.
4318         (elmo-folder-list-unreads): Define.
4319         (elmo-folder-list-importants): Ditto.
4320         (elmo-folder-list-answereds): Ditto.
4321
4322         * elmo-net.el (elmo-folder-list-unreads): Define.
4323         (elmo-folder-list-importants): Ditto.
4324         (elmo-folder-list-answereds): Ditto.
4325         (elmo-folder-list-answereds-plugged): Ditto.
4326         (elmo-folder-msgdb-create): Follow the API change.
4327         (elmo-folder-msgdb-create-unplugged): Ditto.
4328         (elmo-folder-unmark-answered): Define.
4329         (elmo-folder-mark-as-answered-unplugged): Ditto.
4330         (elmo-folder-unmark-answered-unplugged): Ditto.
4331
4332         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4333         (elmo-msgdb-unread-uncached-mark): Ditto.
4334         (elmo-msgdb-unread-cached-mark): Ditto.
4335         (elmo-msgdb-read-uncached-mark): Ditto.
4336         (elmo-msgdb-answered-cached-mark): Ditto.
4337         (elmo-msgdb-answered-uncached-mark): Ditto.
4338         (elmo-msgdb-important-mark): Ditto.
4339         (elmo-msgdb-set-mark): Rewrite.
4340         (elmo-msgdb-count-marks): Rewrite.
4341         (elmo-msgdb-mark-alist-set): Abolish.
4342         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4343         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4344
4345         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4346         (elmo-folder-close): Define.
4347         (elmo-folder-msgdb-create): Follow the API change.
4348         (elmo-folder-list-unreads): Rewrite.
4349         (elmo-folder-mark-as-important): Ditto.
4350         (elmo-folder-unmark-important): Ditto.
4351         (elmo-folder-mark-as-read): Ditto.
4352         (elmo-folder-unmark-read): Ditto.
4353         (elmo-folder-mark-as-answered): Define.
4354         (elmo-folder-unmark-answered): Ditto.
4355
4356         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4357         (elmo-folder-append-messages): Ditto.
4358
4359         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4360
4361         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4362         (elmo-folder-list-importants): Ditto.
4363
4364         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4365         (elmo-folder-append-messages): Ditto.
4366
4367         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4368         change.
4369         (elmo-folder-msgdb-create-plugged): Ditto.
4370         (elmo-folder-append-messages): Ditto.
4371         (elmo-folder-list-answereds-plugged): Define.
4372         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4373         (elmo-folder-unmark-answered-plugged): Define.
4374         (elmo-folder-mark-as-answered-plugged): Ditto.
4375         (elmo-folder-search-requires-msgdb-p): Ditto.
4376
4377         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4378         (elmo-folder-initialize): Set it.
4379         (elmo-folder-msgdb): Define.
4380         (elmo-folder-check): Call elmo-folder-synchronize.
4381         (elmo-folder-close): Define.
4382         (elmo-folder-commit): Ditto.
4383         (elmo-folder-msgdb-create): Rewrite.
4384         (elmo-folder-list-unreads): Ditto.
4385         (elmo-folder-list-importants): Ditto.
4386         (elmo-folder-mark-as-read): Ditto.
4387         (elmo-folder-unmark-read): Ditto.
4388         (elmo-folder-mark-as-important): Ditto.
4389         (elmo-folder-unmark-important): Ditto.
4390         (elmo-folder-mark-as-answered): Define.
4391         (elmo-folder-unmark-answered): Ditto.
4392
4393         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4394         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4395         (elmo-dop-queue-method-name-alist): Likewise.
4396         (elmo-folder-mark-as-answered-dop): New inline function.
4397         (elmo-folder-unmark-answered-dop): Ditto.
4398         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4399
4400         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4401         (elmo-folder-msgdb-create): Ditto.
4402         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4403         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4404         (elmo-archive-parse-mmdf): Ditto.
4405
4406         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4407         (elmo-folder-list-unreads-internal): Ditto.
4408
4409         * elmo.el (elmo-folder-msgdb): Define as generic function.
4410         (elmo-folder-list-messages): Added argument `in-msgdb'.
4411         (elmo-folder-list-unreads): Define as generic function.
4412         (elmo-folder-list-importants): Ditto.
4413         (elmo-folder-list-answereds): Ditto.
4414         (elmo-folder-list-messages-with-global-mark): New function.
4415         (elmo-folder-msgdb-create): Removed mark arguments.
4416         (elmo-folder-unmark-answered): New generic function.
4417         (elmo-folder-mark-as-answered): Ditto.
4418         (elmo-folder-append-messages): Removed argunment `unread-marks'
4419         (elmo-folder-list-unreads-internal): Abolish.
4420         (elmo-folder-list-importants-internal): Ditto.
4421         (elmo-folder-search-requires-msgdb-p): New generic function.
4422         (elmo-folder-search-requires-msgdb-p-internal): New function.
4423         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4424         elmo-msgdb-load.
4425         (elmo-folder-search-fast): Added key 'mark'.
4426         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4427         instead of unread-marks argument.
4428         (elmo-folder-move-messages): Removed argunment `unread-marks'
4429         (elmo-folder-unmark-important): Define.
4430         (elmo-folder-mark-as-important): Ditto.
4431         (elmo-folder-unmark-read): Ditto.
4432         (elmo-folder-mark-as-read): Ditto.
4433         (elmo-folder-unmark-answered): Ditto.
4434         (elmo-folder-mark-as-answered): Ditto.
4435         (elmo-folder-replace-marks): Abolish.
4436         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4437         duplicates.
4438         (elmo-folder-synchronize): Removed mark arguments;
4439         return crosspost only number.
4440
4441 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4442
4443         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4444         Remove redundunt connectivity check.
4445
4446 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4447
4448         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4449         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4450
4451 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4452
4453         * pldap.el (ldap-decode-string): Return string as-is if
4454         `ldap-coding-system' is nil.
4455         (ldap-encode-string): Ditto.
4456         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4457         (ldap-default-host): Fixed docstring.
4458
4459 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo-util.el (elmo-warning): Define as a macro which uses
4462         `display-warning' if it is defined as a function.
4463
4464         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4465         (elmo-split-equal): Use it.
4466         (elmo-split-match): Ditto.
4467         (elmo-split-message-entity): New buffer-local variable.
4468         (elmo-split-subr): Set it.
4469
4470         * elmo-version.el (elmo-version): Up to 2.9.15.
4471
4472 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4473
4474         * elmo-imap4.el (elmo-network-initialize-session):
4475         Check capability after starttls.
4476
4477 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4478
4479         * elmo-util.el (elmo-list-delete): Added optional argument
4480         DELETE-FUNCTION.
4481
4482         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4483
4484         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4485
4486         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4487
4488         * elmo-imap4.el (elmo-folder-initialize): Don't use
4489         elmo-imap4-default-mailbox.
4490
4491 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4492
4493         * elmo-split.el (toplevel): Use `product-provide'.
4494         (elmo-split): Checkdoc.
4495
4496 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4497
4498         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4499         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4500         the function `elmo-imap4-debug-1'.
4501
4502 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4503
4504         * elmo-split.el (elmo-split): Moved to run hooks and to show
4505         message from elmo-split-subr.
4506         (elmo-split-subr): Follow the change above.
4507
4508         * elmo-split.el (elmo-split-subr): New function (renamed from
4509         elmo-split-subr).
4510         (elmo-split): Changed to call elmo-split-subr by element of
4511         elmo-split-folder.
4512         (elmo-split-folder): Changed customization type to choice.
4513
4514 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4515
4516         * elmo-split.el (elmo-split-and): Fixed condition.
4517
4518 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4519
4520         * elmo-split.el: New file.
4521         (elmo-split): Fixed logic.
4522         Display "Test:" instead of "Folder:" when reharsal.
4523
4524         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4525         explicitly.
4526
4527         * elmo-version.el (elmo-version): Up to 2.9.14.
4528
4529         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4530         wl-expand-newtext).
4531
4532 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4533
4534         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4535         message with no message-id field.
4536
4537 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4538
4539         * elmo-version.el (elmo-version): Up to 2.9.13.
4540
4541         * elmo-dop.el (elmo-folder-status-dop): Fix.
4542
4543 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4544
4545         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4546
4547         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4548         changing default value of default-mime-charset.
4549         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4550
4551         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4552
4553         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4554         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4555         instead of elmo-dop-queue-method-name-alist to check merging queue.
4556         (elmo-folder-delete-messages-dop): Delete from queue if negative
4557         message number.
4558         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4559         file is already removed.
4560
4561 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4562
4563         * elmo-vars.el: Bind colon keywords for old Emacsen.
4564
4565 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4566
4567         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4568         against non-exsisting charset.
4569
4570 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4571
4572         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4573         Use eword-decode-and-unfold-unstructured-field-body.
4574
4575         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4576         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4577         exists to decode raw subject string.
4578         (toplevel): Require 'mime.
4579
4580         * elmo-version.el (elmo-version): Up to 2.9.12.
4581
4582 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4583
4584         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4585         (elmo-msgdb-set-mark): Ditto.
4586
4587         * elmo-version.el (elmo-version): Up to 2.9.11.
4588
4589 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4590
4591         * elmo-util.el (elmo-delete-match-files): New function.
4592
4593         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4594         instead of elmo-delete-directory.
4595
4596         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4597         elmo-hash-minimun-size as 63.
4598
4599         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4600         elmo-diff-unread is nil.
4601
4602         * elmo-imap4.el (elmo-folder-open): Fix.
4603
4604         * elmo.el (elmo-message-mark): Rewrite.
4605         (elmo-message-field): Ditto.
4606         (elmo-message-set-mark): Ditto.
4607         (elmo-folder-replace-marks): New function.
4608         (elmo-generic-folder-append-msgdb): Removed third argument for
4609         elmo-msgdb-append.
4610         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4611         (elmo-msgdb-load): New implementation.
4612
4613         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4614
4615         * elmo-util.el (elmo-list-insert): New implementation.
4616
4617         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4618         argument for elmo-msgdb-append.
4619         
4620
4621         * elmo-msgdb.el (elmo-load-msgdb): New function.
4622         (elmo-make-msgdb): Ditto.
4623         (elmo-msgdb-get-index): New inline function.
4624         (elmo-msgdb-set-index): Ditto.
4625         (elmo-msgdb-get-entity-hashtb): Ditto.
4626         (elmo-msgdb-get-mark-hashtb): Ditto.
4627         (elmo-msgdb-get-mark): Ditto.
4628         (elmo-msgdb-set-mark): Ditto.
4629         (elmo-msgdb-count-marks): Ditto.
4630         (elmo-msgdb-get-number): Ditto.
4631         (elmo-msgdb-get-field): Ditto.
4632         (elmo-msgdb-seen-list): Ditto.
4633         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4634         (elmo-msgdb-delete-msgs): Follow the changes above.
4635         (elmo-msgdb-overview-get-entity): Ditto.
4636         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4637         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4638         and rewritten.
4639         (elmo-msgdb-make-index): Likewise.
4640         (elmo-msgdb-append): Removed third argument.
4641         (elmo-msgdb-clear): Clear index as nil.
4642         (elmo-folder-set-info-hashtb): Removed.
4643         (elmo-folder-set-info-max-by-numdb): Ditto.
4644         (elmo-folder-info-make-hashtb): Ditto.
4645
4646         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4647
4648         * elmo-map.el (elmo-folder-pack-number): Ditto.
4649
4650 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4651
4652         * elmo-version.el (elmo-version): Up to 2.9.10.
4653
4654         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4655
4656         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4657
4658 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4659
4660         * elmo-utils.el (elmo-make-directory): Add option.
4661         Default file mode is 700.
4662
4663 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4664
4665         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4666
4667 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4668
4669         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4670         mime-charset.
4671
4672         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4673         and "smaller".
4674
4675 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4676
4677         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4678         (elmo-shimbun-folder-entity-hash): New function.
4679         (elmo-shimbun-folder-shimbun-header): Ditto.
4680         (elmo-shimbun-entity-to-header): Ditto.
4681         (elmo-shimbun-msgdb-to-headers): Removed.
4682         (elmo-shimbun-folder-setup): Ditto.
4683         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4684         for hash key.
4685         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4686         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4687         Removed useless local bind.
4688         (elmo-folder-open-internal): Don't call
4689         `elmo-shimbun-folder-setup'.
4690         (elmo-folder-close-internal): Clear entity-hash slot.
4691         (elmo-folder-clear): Ditto.
4692         (elmo-shimbun-msgdb-create-entity): Use
4693         `elmo-shimbun-folder-shimbun-header'.
4694         (elmo-map-message-fetch): Ditto.
4695         (elmo-shimbun-update-overview): Use overview entity instead of
4696         shimbun header to lookup id by references.
4697         (elmo-map-folder-list-message-locations): Use not only headers but
4698         also overviews to list locations.
4699
4700 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4701
4702         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4703         msgdb path.
4704
4705         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4706
4707 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4708
4709         * elmo-util.el (elmo-read-search-condition-internal): Give default
4710         value for date.
4711
4712 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4713
4714         * elmo-util.el (elmo-condition-parse-search-value): Accept
4715         YYYY-MM-DD format to search.
4716         * elmo-date.el (elmo-date-get-datevec): Likewise.
4717
4718 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4719
4720         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4721         debugging code.
4722
4723 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4724
4725         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4726         from t.
4727
4728         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4729
4730         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4731         case from `elmo-folder-exists-p'.
4732         (elmo-folder-exists-p): Removed.
4733         (elmo-folder-creatable-p) Ditto.
4734
4735         * elmo-net.el (elmo-folder-create): Defined.
4736         (elmo-folder-create-unplugged): New function.
4737         (elmo-folder-exists-p): Changed default value to nil from t.
4738
4739         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4740         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4741
4742         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4743         `elmo-create-folder-dop' and append queue
4744         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4745         (elmo-folder-create-dop-delayed): New function.
4746
4747         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4748
4749         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4750
4751         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4752         (elmo-folder-writable-p) : Ditto.
4753
4754         * elmo-version.el (elmo-version): Up to 2.9.9.
4755
4756 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4757
4758         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4759         `elmo-message-use-cache-p' returns nil.
4760         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4761         (ignore cache file and refer the substance in local folders)
4762
4763 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4764
4765         * elmo-version.el (elmo-version): Up to 2.9.8.
4766
4767 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4768
4769         * elmo-version.el (elmo-version): Up to 2.9.7.
4770
4771         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4772
4773 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4774
4775         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4776
4777 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4778
4779         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4780         from --early.
4781         (elmo-map-folder-list-message-locations): Reverse location list.
4782
4783 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4784
4785         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4786
4787 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4788
4789         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4790         as a key.
4791         (elmo-nntp-folder-list-subfolders): Follow the change above.
4792
4793 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4794
4795         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4796         name if authentication type is specified.
4797
4798 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4799
4800         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4801         variable.
4802         (elmo-default-nntp-stream-type): Ditto.
4803         (elmo-default-pop3-stream-type): Ditto.
4804
4805 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4806
4807         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4808
4809 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4810
4811         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4812         elmo-vars.el.
4813         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4814
4815         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4816         (elmo-maildir-folder-path): Ditto.
4817         (elmo-maildir-list): Ditto (abolished).
4818
4819 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4820
4821         * elmo-version.el (elmo-version): Up to 2.9.6.
4822
4823 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4824
4825         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4826         (elmo-maildir-folder-path): Ditto.
4827         (elmo-msgdb-directory): Ditto.
4828         (elmo-passwd-life-time): Ditto.
4829         (elmo-msgdb-extra-fields): Ditto.
4830         (elmo-enable-disconnected-operation): Ditto.
4831
4832 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4833
4834         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4835         other choices.
4836         (elmo-pop3-default-authenticate-type): Ditto.
4837
4838 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4839
4840         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4841         choices for custom.
4842         (elmo-pop3-default-authenticate-type): Ditto.
4843
4844 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4845
4846         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4847         mailbox to new-folder.
4848
4849 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4850
4851         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4852         less than new, set new as unread.
4853
4854         * elmo-util.el (elmo-string): Don't put text-property if nil.
4855
4856 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4857
4858         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4859         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4860
4861 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4862
4863         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4864         is nil on `completing-read'.
4865
4866 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4867
4868         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4869         for namespace part.
4870         (elmo-imap4-parse-namespace-subr): Ditto.
4871         (elmo-folder-list-subfolders): Append a delimiter when the specified
4872         folder path is a root with namespace and does not end with delimiter.
4873
4874 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4875
4876         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4877         was used.
4878
4879 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4880
4881         * elmo-util.el (elmo-save-buffer): The first argument of message
4882         is a format control string.
4883
4884 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4885
4886         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4887         `elmo-folder-diff').
4888         (elmo-diff-unread): Likewise.
4889
4890 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4891
4892         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4893         is t on `completing-read'.
4894
4895 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4896
4897         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4898         method of target folder with self mark-alist if MARK-ALIST is nil.
4899
4900 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4901
4902         * elmo-version.el (elmo-version): Up to 2.9.5.
4903
4904 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4905
4906         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4907         (elmo-dop-merge-funcs): Remove.
4908
4909 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4910
4911         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4912         Return t if PATH is directory, too.
4913         Use `dolist' instead of while loop.
4914
4915 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4916
4917         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4918         is deleted.
4919
4920 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4921
4922         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4923         return value to t.
4924         (elmo-folder-list-messages-unplugged): Return t if
4925         elmo-enable-disconnected-operation is nil.
4926
4927         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4928         `elmo-folder-list-messages-internal'.
4929
4930 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4931
4932         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4933         Change to looking-at `[23][0-9]+'.
4934         (elmo-network-initialize-session): Use 'error-msg'
4935         * elmo-net.el (elmo-network-open-session): Set unplugged
4936         if elmo-network-initialize-session returns 'elmo-open-err.
4937
4938 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4939
4940         * elmo-version.el (elmo-version): Up to 2.9.4.
4941
4942 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4943
4944         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4945         `elmo-folder-list-messages-internal'.
4946
4947 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4948
4949         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4950         (elmo-message-match-condition): New method.
4951         (elmo-folder-search-fast): New inline function.
4952         (elmo-msgdb-search): Removed.
4953
4954         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4955         target folder if it is unplugged.
4956         (elmo-folder-list-messages-internal): Return t if target folder is
4957         unplugged and itself is persistent; In this case, use list be
4958         searched already.
4959
4960         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4961         (elmo-msgdb-search-internal-primitive): Ditto.
4962         (elmo-msgdb-match-condition): New function.
4963         (elmo-msgdb-match-condition-primitive): Ditto.
4964
4965         * elmo-util.el (elmo-filter-condition-p): New macro.
4966
4967         * elmo-cache.el (elmo-folder-search): Removed.
4968
4969         * elmo-localdir.el (elmo-folder-search): Ditto.
4970
4971         * elmo-maildir.el (elmo-folder-search): Ditto.
4972
4973         * elmo-mark.el (elmo-folder-search): Ditto.
4974
4975         * elmo-nmz.el (elmo-folder-search): Ditto.
4976
4977         * elmo-sendlog.el (elmo-folder-search): Ditto.
4978
4979         * elmo-shimbun.el (elmo-folder-search): Ditto.
4980
4981         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4982         if folder is unplugged.
4983
4984         * elmo-nntp.el (elmo-folder-search): Likewise.
4985         (elmo-nntp-search-internal): New function.
4986
4987         * elmo-version.el (elmo-version): Up to 2.9.3.
4988
4989 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4990
4991         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4992
4993 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4994
4995         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4996
4997 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4998
4999         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5000
5001 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5002
5003         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5004         (elmo-map-folder-list-message-locations): Do drive letter conversion
5005         on Windows environment.
5006         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5007         (elmo-map-message-fetch): Ditto.
5008
5009 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5010
5011         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5012         (elmo-network-initialize-session): Ditto.
5013
5014 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5015
5016         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5017
5018         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5019
5020         * elmo-util.el (elmo-progress-clear): Ditto.
5021
5022         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5023         `DD-Mon-YYYY' type date.
5024
5025 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5026
5027         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5028         `elmo-date-make-sortable-string' instead of
5029         `timezone-make-date-sortable'.
5030
5031         * elmo-date.el (elmo-date-make-sortable-string): Use
5032         `timezone-make-time-string'.
5033
5034 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5035
5036         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5037
5038         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5039         `since'; Fix timezone.
5040
5041         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5042
5043         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5044
5045 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5046
5047         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5048
5049 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5050
5051         * elmo.el (elmo-generic-folder-append-messages): Make
5052         fetch-strategy with `use-cache' as 'maybe. Check return value of
5053         `elmo-message-fetch'.
5054         (elmo-message-fetch): Return return value of
5055         `elmo-message-fetch-with-cache-process'.
5056         (elmo-message-fetch-with-cache-process): Return non-nil if
5057         fetching was succeed. Load cache when fetching was failed and
5058         fetch-strategy-use-cache is 'maybe.
5059
5060         * elmo-util.el (elmo-file-cache-load): New function.
5061
5062         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5063         defun.
5064
5065         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5066         non-nil if fetching was succeed.
5067
5068         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5069
5070         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5071
5072         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5073         (elmo-message-fetch-with-cache-process): Likwise.
5074
5075         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5076
5077         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5078
5079         * elmo-version.el (elmo-version): Up to 2.9.2.
5080
5081 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5082
5083         * elmo.el (elmo-folder-delete): Delete msgdb path.
5084
5085         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5086
5087         * elmo-maildir.el (elmo-folder-delete): Ditto.
5088
5089         * elmo-localdir.el (elmo-folder-delete): Ditto.
5090
5091         * elmo-imap4.el (elmo-folder-delete): Ditto.
5092
5093 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5094
5095         * elmo.el (luna-define-class): Added `biff' slot.
5096
5097         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5098         (elmo-pop3-debug-inhibit-logging): Abolished.
5099         (elmo-network-close-session): Eliminated needless let.
5100         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5101         (elmo-pop3-send-command): Added `no-log' argument.
5102         (elmo-pop3-process-filter): Use `with-current-buffer'.
5103         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5104         if login failure.
5105         (elmo-pop3-auth-apop): Likewise.
5106         (elmo-network-authenticate-session): Likewise.
5107
5108         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5109         if biff folder.
5110
5111         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5112         string to determine protocol.
5113         (elmo-network-session-name-prefix): Abolished.
5114         (elmo-network-session-cache-key): Follow the change above.
5115         (elmo-network-open-session): Ditto.
5116
5117         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5118         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5119
5120         * elmo-version.el (elmo-version): Up to 2.9.1.
5121
5122         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5123         unmatch condition checking.
5124
5125         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5126         condition.
5127
5128 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5129
5130         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5131
5132 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5133
5134         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5135         test for while loop to execute at least one SEARCH command.
5136
5137 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5138
5139         * elmo-version.el (elmo-version): Up to 2.9.0.
5140
5141 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5142
5143         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5144         (elmo-archive-folder-path): Define.
5145         (elmo-folder-initialize): Setup `dir-name' slot.
5146         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5147         Use `dir-name' as prefix of each subfolders.
5148         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5149
5150 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5151
5152         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5153         (elmo-pipe-folder-list-target-messages): New internal function.
5154         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5155         `killed-list'.
5156         (elmo-pipe-folder-copied-list-load): New function.
5157         (elmo-pipe-folder-copied-list-save): Ditto.
5158         (elmo-folder-open-internal): Follow the change above.
5159         (elmo-folder-status): Fixed for copy.
5160
5161 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5162
5163         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5164
5165 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5166
5167         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5168         elmo-copy-file instead of elmo-add-name-to-file.
5169
5170         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5171
5172         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5173         "file://..." index.
5174
5175         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5176         of accept-process-output as 1.
5177         (elmo-pop3-read-contents): Ditto.
5178         (elmo-pop3-read-body): Ditto.
5179
5180 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5181
5182         * elmo-version.el (product-version-as-string): Remove define.
5183
5184 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5185
5186         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5187         (elmo-imap4-copy-messages): Chop number set using
5188         `elmo-imap4-number-set-chop-length'.
5189         (elmo-imap4-set-flag): Ditto.
5190         (elmo-imap4-search-internal-primitive): Ditto.
5191
5192 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5193
5194         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5195         `elmo-folder-make-temp-dir'
5196
5197         * elmo-vars.el (elmo-cache-directory): New variable.
5198         (elmo-cache-dir): Abolished.
5199         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5200
5201         * elmo-version.el (elmo-version): Up to 2.7.7.
5202
5203 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5206         defcustom; Set default value as t.
5207
5208 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5209
5210         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5211         (ldap-search-program-arguments): Changed default value.
5212         (ldap-search-basic): Accept exit status 4.
5213         (ldap/field-body): Parse options.
5214         (ldap/collect-field): Ditto.
5215         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5216
5217         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5218         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5219         (elmo-imap4-accept-ok): Ditto.
5220         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5221         'notify-bye, only BYE error is reported.
5222         (elmo-folder-exists-p-plugged): Set no-error argument of
5223         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5224
5225         * elmo.el (elmo-imap4-bye-error): Changed message.
5226
5227         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5228         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5229         queues (It causes infinite loop).
5230
5231 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5232
5233         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5234         (RECENT UNSEEN MESSAGES) extension.
5235
5236 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5237
5238         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5239         Check number of overview fields.
5240
5241 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5242
5243         * elmo.el (elmo-folder-confirm-appends): Changed message.
5244         (elmo-folder-confirm-appends): Ditto.
5245
5246         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5247         `with-temp-buffer'.
5248         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5249
5250 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5251
5252         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5253         of elmo-folder-update-threshold is nil, which can be set by
5254         wl-summary-update-confirm-threshold.
5255
5256 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5257
5258         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5259         (elmo-nmz-index-alias-alist): Ditto.
5260         (elmo-map-folder-list-message-locations): Follow the change above.
5261
5262 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5263
5264         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5265
5266         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5267
5268         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5269
5270         * elmo-util.el (elmo-read): Ditto.
5271         (elmo-display-error): Ditto.
5272
5273         * elmo-vars.el (elmo-date-match): Ditto.
5274
5275         * pldap.el (ldap-coding-system): Ditto.
5276
5277         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5278         `elmo-inhibit-number-mapping' as nil.
5279
5280 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5281
5282         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5283         space delimiter for list response.
5284
5285 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5286
5287         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5288
5289 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5290
5291         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5292         (elmo-map-message-fetch): Fix.
5293         * elmo-map.el (elmo-folder-status): Fix for killed.
5294
5295 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5296
5297         * elmo-sendlog.el: New file.
5298         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5299
5300 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5301
5302         * acap.el (acap-logging-out): New buffer local variable.
5303         (acap-close): Set it.
5304         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5305         an error.
5306
5307 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5308
5309         * acap.el (acap-response-bye-p): New function.
5310         (acap-response-bye-message): Ditto.
5311         (acap-wait-for-response): If bye response is received, cause an error.
5312         (acap-parse-response): Make bye response when 'Bye' is received.
5313
5314 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5315
5316         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5317
5318 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5319
5320         * elmo-util.el (elmo-copy-file): Added argument
5321         `ok-if-already-exists'.
5322         (elmo-copy-file): Fixed typo.
5323
5324 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5325
5326         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5327
5328 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5329
5330         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5331
5332 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5333
5334         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5335         to killed-list.
5336
5337 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5338
5339         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5340         (elmo-folder-initialize): Fix for `copy'.
5341         (elmo-pipe-drain): Ditto.
5342         (elmo-folder-open-internal): Ditto.
5343         (elmo-folder-newsgroups): Fix.
5344
5345 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5346
5347         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5348         for each message.
5349
5350         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5351         recent value is returned from imap folder.
5352
5353         * elmo.el (elmo-folder-newsgroups): New generic function.
5354
5355         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5356         (elmo-folder-initialize): Set it.
5357         (elmo-folder-expand-msgdb-path): Use it.
5358         (elmo-folder-newsgroups): Define.
5359
5360         * elmo-filter.el (elmo-folder-newsgroups): Define.
5361
5362         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5363
5364         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5365
5366         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5367
5368 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5369
5370         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5371         user option.
5372         (elmo-shimbun-header-extra-field): New inline function.
5373         (elmo-shimbun-header-set-extra-field): Ditto.
5374         (elmo-shimbun-folder-header-hash-setup): Ditto.
5375         (elmo-shimbun-update-overview): Ditto.
5376         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5377         (elmo-shimbun-folder-setup): Use
5378         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5379         (elmo-shimbun-get-headers): Ditto.
5380         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5381         Insert `X-Shimbun-Id:' header if extra field is set.
5382         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5383         field's value instead of `shimbun-header-id'.
5384
5385         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5386         inline function.
5387         (elmo-msgdb-overview-entity-set-date): Ditto.
5388         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5389
5390 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5391
5392         * mmimap.el (mmimap-entity-section): Changed body node number from
5393         "0" to "1".
5394
5395 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5396
5397         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5398         `elmo-folder-delete-messages'.
5399
5400         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5401         (elmo-folder-initialize): Changed to expand alias into index path.
5402
5403         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5404         `elmo-mime-insert-header-from-buffer' with 6th arg
5405         `sorted-fields'.
5406
5407 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5408
5409         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5410
5411         * elmo.el (elmo-diff-new): New inline function.
5412         (elmo-diff-unread): Ditto.
5413         (elmo-diff-all): Ditto.
5414
5415         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5416         value from responseb.
5417         (elmo-imap4-folder-diff-plugged): Ditto.
5418         (elmo-imap4-server-diff-async): Added recent argument.
5419         (elmo-server-diff-async): Ditto.
5420         (elmo-imap4-folder-diff-plugged): Ditto.
5421
5422         * elmo-version.el (elmo-version): Up to 2.7.6.
5423
5424 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5425
5426         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5427         in quoted-stirng.
5428
5429 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5430
5431         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5432
5433         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5434
5435         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5436
5437         * elmo-multi.el (elmo-folder-initialize): Ditto.
5438
5439         * elmo-util.el (elmo-parse-token): New function.
5440         (elmo-parse-prefixed-element): Ditto.
5441
5442 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5443
5444         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5445         delete process.
5446         (elmo-imap4-accept-ok): Ditto.
5447
5448 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5449
5450         * mmimap.el (mime-imap-entity-header-string): Don't check first
5451         element of node-id is `0' (Follow last change).
5452
5453 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5454
5455         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5456         assigned irregular node-id to nested multipart section.
5457         (initialize-instance): Followed above change.
5458
5459 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5460
5461         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5462         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5463         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5464         `elmo-shimbun-get-headers');
5465         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5466         visible article on summary exists in headers).
5467         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5468
5469 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5470
5471         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5472         definition.
5473
5474 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5475
5476         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5477
5478 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5479
5480         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5481         header separator into loop condition.
5482
5483 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5484
5485         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5486         Return duplicate folder if it has subfolder.
5487
5488 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5489
5490         * elmo.el (elmo-make-folder): Add folder name error check.
5491
5492         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5493         (elmo-nntp-encode-group-string): New inline function.
5494         (elmo-nntp-decode-group-string): Ditto.
5495         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5496         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5497         Use `not' instead of `null';
5498         Use elmo-nntp-decode-group-string.
5499
5500         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5501
5502         * elmo-version.el (elmo-version): Up to 2.7.5.
5503
5504 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5505
5506         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5507         Hide progress gauge if `elmo-folder-move-messages' exits
5508         nonlocally.
5509
5510 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5511
5512         * elmo-imap4.el (elmo-folder-initialize): Use
5513         `elmo-imap4-encode-folder-string' for folder name.
5514
5515 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5516
5517         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5518         `done'.
5519
5520 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5521
5522         * elmo-util.el (elmo-progress-counter-alist): New internal
5523         variable.
5524         (elmo-progress-counter-value): New macro.
5525         (elmo-progress-counter-all-value): Ditto.
5526         (elmo-progress-counter-format): Ditto.
5527         (elmo-progress-counter-set-value): Ditto.
5528         (elmo-progress-set): New function.
5529         (elmo-progress-clear): Ditto.
5530         (elmo-progress-notify): Ditto.
5531
5532         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5533         counter.
5534
5535         * elmo.el (elmo-generic-folder-append-messages): Call
5536         `elmo-progress-notify'.
5537         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5538
5539         * elmo-archive.el (elmo-folder-append-messages): Call
5540         `elmo-progress-notify'.
5541
5542         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5543
5544         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5545
5546         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5547
5548 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5549
5550         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5551         'Create'.
5552         (elmo-message-encache-dop): Added argument `read'.
5553
5554         * elmo-shimbun.el (elmo-message-encache): Ditto.
5555
5556         * elmo-net.el (elmo-message-encache): Ditto.
5557
5558         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5559         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5560         elmo-imap4-seen-messages.
5561         (elmo-folder-msgdb-create-plugged): Initialize
5562         elmo-imap4-seen-messages;
5563         Set seen mark on elmo-imap4-seen-messages.
5564
5565         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5566
5567         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5568         elmo-folder-append-buffer.
5569         (elmo-folder-encache): Added optional argument `read'.
5570         (elmo-message-encache): Ditto.
5571
5572         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5573
5574         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5575
5576         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5577         if append buffer content succeds.
5578
5579 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5580
5581         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5582         elmo-display-progress.
5583
5584         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5585         Set 4th argument of mime-display-message.
5586         (elmo-mime-display-as-is): Ditto.
5587
5588 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5589
5590         * elmo-nmz.el (toplevel): Require 'mime-edit.
5591         (elmo-nmz-content-type-alist): Abolished.
5592         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5593         content is not a message.
5594         (elmo-map-message-fetch): Changed behavior exept for message content;
5595         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5596         content-type, Add From: and Subject: field.
5597
5598 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5599
5600         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5601         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5602         not a message.
5603
5604 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5605
5606         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5607         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5608
5609         * elmo-archive.el (elmo-folder-writable-p): Defined.
5610
5611         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5612
5613         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5614
5615         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5616
5617         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5618
5619         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5620
5621         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5622
5623         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5624
5625         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5626
5627 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5628
5629         * elmo-util.el (elmo-address-quote-specials): New function;
5630         Renamed from `wl-address-quote-specials'.
5631
5632 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5633
5634         * elmo-version.el (elmo-version): Up to 2.7.4.
5635
5636 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5637
5638         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5639
5640 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5641
5642         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5643         both compile-time and run-time to avoid byte-compile warning.
5644
5645 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5646
5647         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5648
5649 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5650
5651         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5652         option.
5653         (elmo-mime-display-as-is-internal): Use it.
5654
5655         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5656         if `read-passwd' is not defined.
5657
5658 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5659
5660         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5661         by original number.
5662         (elmo-folder-status): Call `elmo-folder-open-internal';
5663         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5664         (elmo-folder-close-internal): Set location-alist as nil.
5665         (elmo-folder-clear): Define.
5666         (elmo-folder-check): Don't set location-alist as nil.
5667
5668         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5669
5670 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5671
5672         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5673         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5674
5675         * mmimap.el (mime-imap-entity::requested): New slot.
5676         (mime-imap-location-fetch-entity-p): New generic function.
5677         (mime-decode-parameters): Define using `defun-maybe'.
5678         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5679         content-type structure.
5680         (mime-entity-body): Return empty body if
5681         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5682
5683         * elmo.el (elmo-message-displaying): New variable.
5684
5685         * elmo-mime.el (elmo-mime-message-display): Bind
5686         elmo-message-displaying as t.
5687
5688         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5689
5690 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5691
5692         * acap.el (acap-open): erase buffer before starting network process.
5693         (acap-store): Rewrite.
5694
5695 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5696
5697         * elmo-imap4.el (elmo-imap4-default-mailbox,
5698         elmo-imap4-default-server
5699         elmo-imap4-default-authenticate-type,
5700         elmo-imap4-default-user,
5701         elmo-imap4-default-port,
5702         elmo-imap4-default-stream-type,
5703         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5704
5705         * elmo-pop3.el (elmo-pop3-default-user,
5706         elmo-pop3-default-server,
5707         elmo-pop3-default-authenticate-type,
5708         elmo-pop3-default-port,
5709         elmo-pop3-default-stream-type,
5710         elmo-pop3-stream-type-alist): Ditto.
5711
5712         * elmo-nntp.el (elmo-nntp-default-server,
5713         elmo-nntp-default-user,
5714         elmo-nntp-default-port,
5715         elmo-nntp-default-stream-type,
5716         elmo-nntp-stream-type-alist): Ditto.
5717
5718         * elmo-vars.el: Follow changes above.
5719         (elmo-setting): New custom group; added 'elmo-setting group to
5720         above variables.
5721
5722         * elmo-version.el (elmo-version): Up to 2.7.3.
5723
5724         * acap.el (acap-parse-response): Don't delete process when BYE
5725         response (It causes hang-up on slow network environment).
5726         (toplevel): Added comment.
5727
5728 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5729
5730         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5731
5732         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5733         parsing NIL.
5734         (acap-parse-return-metadata): Ditto.
5735
5736         * slp.el: New file.
5737         (toplevel): Fixed typo.
5738
5739         * acap.el: New file.
5740         (acap-network-stream-open): Show "Connecting..." message.
5741         (acap-parse-response): Fixed problem for BYE untagged response.
5742         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5743         (toplevel): Added tiny comments.
5744
5745 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5746
5747         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5748         space delimiter for uidl response.
5749
5750 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5751
5752         * elmo-vars.el (elmo-use-semi): Eliminated.
5753
5754         * elmo-util.el (elmo-string-assoc-all): New function.
5755
5756 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5757
5758         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5759         property 'mime-preview-situation for `mime-preview-quit'.
5760
5761 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5762
5763         * elmo.el (elmo-message-fetch-with-cache-process): Call
5764         elmo-message-fetch-internal instead of causing an error when fetch
5765         strategy is 'entire but only 'section cache is available.
5766
5767 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5768
5769         * elmo-version.el (elmo-version): Up to 2.7.2.
5770
5771         * elmo.el (elmo-generic-folder-append-messages): Make
5772         fetch-strategy with `use-cache'.
5773
5774         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5775         (elmo-dop-queue-method-name): New macro.
5776
5777 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5778
5779         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5780         unbalanced parenthesis.
5781
5782 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5783
5784         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5785
5786 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5787
5788         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5789         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5790
5791 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5792
5793         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5794         local variables.
5795
5796 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5797
5798         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5799         (elmo-message-use-cache-p): Define.
5800         (elmo-folder-msgdb-create): Treat cache.
5801
5802 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5803
5804         * elmo-nntp.el (elmo-network-initialize-session): Call
5805         `elmo-nntp-send-mode-reader'.
5806         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5807
5808 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5809
5810         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5811         alist.
5812         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5813         assoc.
5814
5815         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5816         for `elmo-plugged-p'.
5817         (elmo-open-network-stream): Fixed stream-type argument.
5818
5819 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5820
5821         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5822         unknown archive type is specified.
5823
5824 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5825
5826         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5827
5828         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5829         while loading msgdb.
5830
5831         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5832         (elmo-folder-open-internal): Rewrite.
5833
5834 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5835
5836         * elmo-mime.el (elmo-mime-display-as-is-internal):
5837         Adjust buffer-multibyte status.
5838
5839 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5840
5841         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5842         of elmo-condition-find-key.
5843
5844         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5845         (elmo-condition-in-msgdb-p): Ditto.
5846         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5847         argument.
5848
5849 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5850
5851         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5852
5853 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5854
5855         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5856         label for elmo-display-progress.
5857
5858 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5859
5860         * elmo.el (elmo-folder-clear): New method.
5861         (elmo-folder-clear): Define.
5862         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5863
5864         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5865         (elmo-folder-clear): Define.
5866
5867         * elmo-map.el (elmo-folder-clear): Define.
5868
5869         * elmo-version.el (elmo-version): Up to 2.7.1.
5870
5871 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5872
5873         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5874         updates.
5875
5876 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5877
5878         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5879         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5880
5881 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5882
5883         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5884
5885         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5886         and re-written.
5887
5888         * elmo-imap4.el (elmo-folder-initialize): Use
5889         elmo-get-network-stream-type.
5890
5891         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5892
5893         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5894
5895 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5896
5897         * elmo.el (elmo-message-encache): Set unread argument for
5898         elmo-message-fetch.
5899
5900         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5901
5902         * elmo.el (elmo-net-port-info): New method.
5903
5904         * elmo-shimbun.el (elmo-net-port-info): Define.
5905         (elmo-message-encache): Ditto.
5906
5907         * elmo-net.el (elmo-net-port-info): Define as method.
5908
5909         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5910         unplugged status when elmo-enable-disconnected-operation is t.
5911
5912         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5913         of spool folder before checking new number.
5914
5915 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5916
5917         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5918         (elmo-network-setup-session): Ditto.
5919         (elmo-message-fetch-plugged): Ditto.
5920         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5921         (elmo-network-initialize-session): Ditto.
5922         (elmo-pop3-read-response): Abolish 3rd argument.
5923         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5924         (elmo-pop3-read-contents): Ditto.
5925         (elmo-pop3-read-body): Ditto.
5926         (elmo-folder-status): Call elmo-folder-close.
5927         (elmo-pop3-lock): Abolish.
5928         (elmo-pop3-unlock): Ditto.
5929         (elmo-pop3-locked-p): Ditto.
5930         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5931
5932 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5933
5934         * elmo-version.el (elmo-version): Up to 2.7.0.
5935
5936         * elmo-pop3.el (elmo-pop3-debug): New variable.
5937         (elmo-pop3-debug-inhibit-logging): Ditto.
5938         (elmo-pop3-debug): New function.
5939         (elmo-pop3-send-command): Call elmo-pop3-debug.
5940         (elmo-pop3-read-response): Added keep-lock optional argument;
5941         Don't unlock if keep-lock is non-nil.
5942         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5943         (elmo-network-authenticate-session): Bind
5944         elmo-pop3-debug-inhibit-logging as t.
5945         (elmo-network-setup-session): Call elmo-pop3-read-response with
5946         keep-lock argument.
5947         (elmo-pop3-read-msg): Ditto.
5948         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5949         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5950         (elmo-network-initialize-session): Call elmo-pop3-lock.
5951         (elmo-folder-close-internal): Don't clear location-alist slot.
5952         (elmo-folder-check): Clear location-alist slot.
5953
5954 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5955
5956         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5957         (elmo-pop3-send-command): Call elmo-pop3-lock.
5958         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5959         (elmo-pop3-read-contents): Ditto.
5960         (elmo-pop3-lock): New function.
5961         (elmo-pop3-unlock): Ditto.
5962         (elmo-pop3-locked-p): Ditto.
5963         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5964         returns t.
5965
5966 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5967
5968         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5969
5970         * elmo-util.el (elmo-file-field-primitive-condition-match):
5971         New inline function (Don't fetch file content if "first" or "last").
5972         (elmo-file-field-condition-match): Use
5973         elmo-file-field-primitive-condition-match.
5974
5975         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5976         "first".
5977
5978         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5979         (elmo-message-fetch-plugged): Fixed.
5980
5981         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5982
5983 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5984
5985         * elmo.el (elmo-folder-move-messages): Bind
5986         elmo-inhibit-display-retrieval-progress as t while moving messages.
5987
5988         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5989         New variable.
5990         (elmo-inhibit-display-retrieval-progress): Ditto.
5991
5992         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5993         for retrieval progress;
5994         Don't display progress when total buffer size is smaller than
5995         elmo-display-retrieval-progress-threshold.
5996         (elmo-message-fetch-plugged): Don't display progress when
5997         elmo-inhibit-display-retrieval-progress is non-nil.
5998
5999         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6000         for retrieval progress;
6001         Don't display progress when literal size is smaller than
6002         elmo-display-retrieval-progress-threshold.
6003         (elmo-imap4-message-fetch): Don't display progress when
6004         elmo-inhibit-display-retrieval-progress is non-nil.
6005
6006 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6007
6008         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6009         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6010         (elmo-imap4-message-fetch): Likewise.
6011
6012         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6013         (elmo-shimbun-index-range-alist): Ditto.
6014         (elmo-shimbun-use-entire-index): Abolish.
6015         (shimbun-mua-use-entire-index): Ditto.
6016         (elmo-shimbun-folder): Added new slot `range'.
6017         (elmo-folder-initialize): Setup slot `range'.
6018
6019 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6020
6021         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6022         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6023         (elmo-shimbun-get-headers): Use return value of
6024         `shimbun-article-expiration-days'.
6025         (elmo-folder-close-internal): Clean up last-check slot.
6026
6027         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6028         (elmo-pop3-total-size): New variable.
6029         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6030
6031         * elmo.el (elmo-folder-reserve-status-p): New method.
6032
6033         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6034         (elmo-shimbun-use-entire-index): New user option.
6035         (shimbun-elmo-mua): New class.
6036         (shimbun-mua-search-id): Define.
6037         (shimbun-mua-use-entire-index): Ditto.
6038         (elmo-shimbun-folder:last-check): New slot.
6039         (elmo-shimbun-headers-cache-header-list): Abolish.
6040         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6041         (elmo-shimbun-headers-cache-header-hash): Ditto.
6042         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6043         (elmo-shimbun-headers-cache-last-check): Ditto.
6044         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6045         (elmo-shimbun-headers-check-p): Rewrite.
6046         (elmo-shimbun-msgdb-to-headers): New function.
6047         (elmo-shimbun-get-headers): Rewrite.
6048         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6049         (elmo-folder-open-internal): Get headers only if
6050         `elmo-shimbun-headers-check-p' is non-nil.
6051         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6052         is non-nil.
6053         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6054         (elmo-quit): Removed.
6055
6056         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6057         function.
6058         (elmo-msgdb-overview-entity-set-extra): Ditto.
6059         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6060
6061         * elmo-map.el (elmo-folder-status): Don't call
6062         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6063         is non-nil.
6064
6065 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6066
6067         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6068         of `elmo-msgdb-search-internal-primitive' when condition's car is
6069         `and' or `or'.
6070
6071 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6072
6073         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6074
6075 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6076
6077         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6078         call `elmo-pipe-drain'.
6079
6080 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6081
6082         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6083         typo. (elmo-cache-folder -> elmo-mark-folder)
6084
6085 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6086
6087         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6088         `elmo-message-fetch'.
6089
6090 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6091
6092         * elmo-net.el (elmo-message-encache): Fixed typo.
6093         (elmo-message-fetch-unplugged): Changed call
6094         `elmo-message-fetch-internal' without argument `outbuf'.
6095
6096 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6097
6098         * elmo.el (elmo-message-encache): Define as generic function.
6099         (elmo-message-fetch-field): New generic function.
6100         (elmo-message-fetch-with-cache-process): Cause an error when
6101         fetch strategy is 'entire but only 'section cache is available.
6102         (toplevel): Fixed nmz folder definition.
6103
6104         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6105         (elmo-msgdb-resume-list-filename): Ditto.
6106         (elmo-queue-filename): Ditto.
6107         (elmo-enable-disconnected-operation): Changed default value to t.
6108
6109         * elmo-util.el (elmo-cache-path-section-p): New function.
6110         (elmo-file-cache-get): Use it.
6111         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6112         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6113         (elmo-dop-queue-save): Ditto.
6114
6115         * elmo-net.el (elmo-folder-status-unplugged): Call
6116         elmo-folder-status-dop.
6117         (elmo-folder-list-messages-unplugged): Implemented.
6118         (elmo-folder-delete-messages-unplugged): Define.
6119         (elmo-folder-msgdb-create): Define.
6120         (elmo-folder-msgdb-create-unplugged): Define.
6121         (elmo-folder-mark-as-read-unplugged): Ditto.
6122         (elmo-folder-unmark-read-unplugged): Ditto.
6123         (elmo-folder-mark-as-important-unplugged): Ditto.
6124         (elmo-folder-unmark-important-unplugged): Ditto.
6125         (elmo-message-encache): Ditto.
6126
6127         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6128         (elmo-dop-queue-save): Ditto.
6129
6130         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6131         `elmo-folder-msgdb-create'.
6132         (elmo-folder-append-buffer): Implemented unplugged operation.
6133         (elmo-folder-append-messages): Call parent method in unplugged status.
6134         (elmo-message-fetch-unplugged): Removed definition.
6135         (elmo-message-fetch-field): Implemented.
6136
6137         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6138         (elmo-dop-folder): Removed variable definition.
6139         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6140         (elmo-dop-queue-flush): Implemented.
6141         (elmo-dop-queue-merge): Removed definition (TODO).
6142         (elmo-dop-spool-folder): New function.
6143         (elmo-dop-spool-folder-append-buffer): Ditto.
6144         (elmo-dop-spool-folder-list-messages): Ditto.
6145         (elmo-dop-list-deleting-messages): Ditto.
6146         (elmo-folder-append-buffer-dop): Ditto.
6147         (elmo-folder-delete-messages-dop): Ditto.
6148         (elmo-message-encache-dop): New inline function.
6149         (elmo-create-folder-dop): Ditto.
6150         (elmo-folder-mark-as-read-dop): Ditto.
6151         (elmo-folder-unmark-read-dop): Ditto.
6152         (elmo-folder-mark-as-important-dop): Ditto.
6153         (elmo-folder-unmark-important-dop): Ditto.
6154         (elmo-folder-status-dop): Fixed.
6155         (elmo-folder-append-buffer-dop-delayed): New function.
6156         (elmo-folder-delete-messages-dop-delayed): Ditto.
6157         (elmo-dop-msgdb): Ditto.
6158
6159 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6160
6161         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6162
6163 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6164
6165         * elmo.el (elmo-folder-move-messages): Fixed problem when
6166         `dst-folder' is 'null.
6167
6168 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6169
6170         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6171         instead of current mark.
6172
6173         * elmo-multi.el (elmo-folder-list-importants-internal): No
6174         operation if importants is not list.
6175
6176         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6177         Return t if importants is not list.
6178
6179         * elmo-map.el (elmo-map-folder-list-importants): Define.
6180         (elmo-folder-list-importants-internal): Check return value of
6181         `elmo-map-folder-list-importants-internal'.
6182
6183         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6184
6185         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6186
6187         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6188
6189         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6190
6191 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6192
6193         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6194         (Patch is provided by <kita@coe.nttdata.co.jp>).
6195
6196 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6197
6198         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6199         mark folder.
6200
6201 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6202
6203         * elmo.el (elmo-message-fetch): Define.
6204         (elmo-message-fetch-with-cache-process): New generic method.
6205         (elmo-message-fetch-internal): New generic method.
6206         (elmo-folder-synchronize):
6207
6208         * elmo-archive.el (elmo-message-fetch-internal): Define.
6209         (elmo-message-fetch): Eliminated.
6210
6211         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6212         (elmo-message-fetch): Eliminated.
6213
6214         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6215         argument OUTBUF.
6216         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6217
6218         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6219         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6220
6221         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6222         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6223
6224         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6225
6226         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6227
6228         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6229
6230         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6231         (elmo-message-fetch-unplugged): New generic method.
6232         (elmo-message-fetch-internal): Remove cache process (Renamed from
6233         `elmo-message-fetch').
6234
6235         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6236         (elmo-message-fetch): Eliminated.
6237         (elmo-message-fetch-unplugged): Ditto.
6238
6239         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6240
6241 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6242
6243         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6244         of `to-be-deleted' from number-alist to number-list.
6245
6246 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6247
6248         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6249         (elmo-folder-mark-as-important): Ditto.
6250
6251 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo.el (elmo-folder): Added process-duplicates slot.
6254
6255         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6256         (elmo-folder-unmark-read): Ditto.
6257         (elmo-folder-unmark-important): Ditto.
6258         (elmo-folder-mark-as-important): Ditto.
6259
6260         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6261         duplicated message processing.
6262
6263         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6264
6265 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6266
6267         * elmo-util.el (elmo-list-subdirectories-1): New function.
6268         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6269         (elmo-mapcar-list-of-list): New function.
6270
6271         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6272         `elmo-mapcar-list-of-list' instead of `mapcar'.
6273
6274         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6275
6276         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6277         `elmo-have-link-count'. Return the fully qualified folder name.
6278
6279 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6280
6281         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6282         (elmo-shimbun-headers-cache): New internal variable.
6283         (elmo-shimbun-headers-cache-header-list): New inline function.
6284         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6285         (elmo-shimbun-headers-cache-header-hash): Ditto.
6286         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6287         (elmo-shimbun-headers-cache-last-check): Ditto.
6288         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6289         (elmo-shimbun-lapse-seconds): Ditto.
6290         (elmo-shimbun-headers-cache-check-p): Ditto.
6291         (elmo-shimbun-get-headers): New function.
6292         (elmo-folder-open-internal): Call it.
6293         (elmo-quit): Define (Clear headers-cache).
6294
6295 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6296
6297         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6298
6299         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6300         (elmo-msgdb-flist-save): Ditto.
6301
6302         * elmo-shimbun.el (elmo-folder-list-subfolders):
6303         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6304         (elmo-folder-exists-p): Ditto.
6305
6306         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6307         argument for `shimbun-header-insert'.
6308
6309 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6310
6311         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6312         at first time.
6313
6314         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6315         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6316
6317 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6318
6319         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6320         (elmo-folder-plugged-p): Define.
6321         (elmo-folder-set-plugged): Ditto.
6322         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6323         (elmo-folder-list-messages-internal): Return t if unplugged.
6324         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6325
6326         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6327         when elmo-folder-list-messages-internal method of children returns t.
6328
6329         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6330         pair is nil.
6331         (elmo-folder-open-internal): Don't update if unplugged status.
6332
6333 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6334
6335         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6336         new message.
6337
6338 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6339
6340         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6341
6342         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6343         saving.
6344
6345 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6346
6347         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6348
6349         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6350         (elmo-folder-open-internal): Set up headers slot.
6351         (elmo-folder-check): Call elmo-folder-close-internal and
6352         elmo-folder-open-internal.
6353         (elmo-folder-close-internal): Clean up headers slot.
6354
6355 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6356
6357         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6358         exactly folder list.
6359         (elmo-folder-append-messages): Fixed append archive with prefix.
6360
6361         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6362         make temp files with start-number.
6363
6364         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6365
6366 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6367
6368         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6369         argument `visible-only'.
6370         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6371         instead of `if'.
6372
6373         * elmo-pop3.el (elmo-folder-open-internal): Check
6374         `elmo-inhibit-number-mapping' is non-nil.
6375
6376         * elmo-pipe.el (elmo-folder-status): Fixed.
6377
6378 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6379
6380         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6381
6382         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6383         (elmo-folder-open-internal): Setup `header-hash' slot.
6384         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6385         information.
6386         (elmo-map-message-fetch): Ditto.
6387
6388 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6389
6390         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6391         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6392         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6393         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6394
6395         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6396
6397 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6398
6399         * sb-airs.el: Added footer.
6400
6401         * shimbun.el (shimbun-article): Define as luna-method.
6402
6403         * sb-tcup.el: New file.
6404
6405         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6406         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6407
6408 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6409
6410         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6411         (shimbun-get-headers): Ditto.
6412
6413         * elmo.el: Moved obsolete variable definitions from
6414         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6415
6416         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6417         groups.
6418
6419         * shimbun.el: New file.
6420
6421         * elmo-shimbun.el: New file.
6422
6423         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6424         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6425         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6426         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6427
6428 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6429
6430         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6431         hierarchy is t.
6432
6433 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6434
6435         * elmo.el (elmo-folder-msgdb): Define as macro.
6436         (elmo-folder-open): Added argument `load-msgdb'.
6437         (elmo-generic-folder-open): Ditto.
6438         (elmo-folder-encache): New function.
6439
6440         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6441
6442         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6443
6444         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6445         Eliminated argument FOLDER and added argument MSGDB.
6446         (elmo-dop-queue-load): Moved from elmo-dop.el.
6447         (elmo-dop-queue-save): Ditto.
6448
6449         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6450
6451         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6452
6453         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6454         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6455         (elmo-filter-folder-list-importants-internal): Ditto.
6456
6457         * elmo-map.el (elmo-folder-pack-number): Ditto.
6458
6459         * elmo-mime.el (elmo-mime-message-display): Ditto.
6460
6461         * elmo.el (elmo-generic-folder-commit): Ditto.
6462         (elmo-folder-list-unreads): Ditto.
6463         (elmo-folder-list-importants): Ditto.
6464         (elmo-generic-folder-commit): Ditto.
6465         (elmo-message-set-mark): Ditto.
6466         (elmo-generic-folder-append-msgdb): Ditto.
6467         (elmo-folder-synchronize): Ditto.
6468         (elmo-folder-messages): Ditto.
6469         (elmo-init): Call elmo-dop-queue-load.
6470         (elmo-folder-list-messages): Ditto.
6471
6472         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6473         (elmo-nntp-folder-process-crosspost): Ditto.
6474         (elmo-folder-list-unreads-internal): Ditto.
6475
6476         * elmo-dop.el: Removed old functions.
6477
6478 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6481         `folder' to `msgdb'.
6482
6483 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6486         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6487
6488         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6489         case-fold-search.
6490
6491 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6492
6493         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6494         defined.
6495
6496         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6497         (mmimap-parse-parameters-from-list): Define as alias for
6498         `mime-decode-parameter-plist' if it is defined as function.
6499         (mmimap-make-mime-entity): Added argument `number'.
6500         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6501         as 0.
6502         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6503
6504         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6505
6506         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6507
6508         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6509
6510 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6511
6512         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6513
6514         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6515         when elmo-imap4-default-authenticate-type is nil.
6516         (elmo-folder-list-subfolders): Ditto
6517         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6518         (elmo-imap4-fetch-callback-1-subr): Renamed from
6519         `elmo-imap4-fetch-callback-1' and define as inline function.
6520         (elmo-imap4-fetch-callback-1):
6521         Renamed from `elmo-imap4-fetch-callback'.
6522         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6523
6524         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6525         msgdb path (To keep compatibility with main trunk).
6526
6527         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6528
6529         * elmo-util.el (elmo-make-file-cache): Moved position of
6530         some macros.
6531
6532         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6533         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6534         instead of `elmo-pop3-inhibit-uidl'.
6535         (elmo-folder-exists-p): Ditto.
6536         (elmo-pop3-folder-list-messages): Ditto.
6537
6538         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6539         instead of `elmo-pop3-inhibit-uidl'.
6540         (elmo-folder-status): Ditto.
6541
6542         * elmo-dop.el (elmo-dop-folder): New variable.
6543         (elmo-dop-lock-message): Eliminated.
6544         (elmo-dop-unlock-message): Ditto.
6545         (elmo-dop-lock-list-load): Ditto.
6546         (elmo-dop-lock-list-save): Ditto.
6547         (elmo-dop-delete-folder): Ditto.
6548         (elmo-dop-rename-folder): Ditto.
6549
6550         * elmo.el: Removed incomplete commentary.
6551
6552 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6553
6554         * elmo.el (toplevel): Require 'elmo-version first;
6555         for little `recursive-load-depth' settings.
6556         Fix "ends here" comment.
6557
6558 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6559
6560         * elmo-util.el (toplevel): Require 'poem;
6561         Some functions are moved from elmo-cache.el.
6562
6563         * elmo-net.el (toplevel): Require 'elmo-cache.
6564
6565         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6566
6567         * elmo.el (toplevel): Ditto.
6568
6569         * elmo-cache.el: Rewrite with luna;
6570         Some functions are moved to elmo-util.el.
6571
6572         * elmo-internal.el (elmo-internal-folder-list): New variable.
6573         (elmo-internal-folder-initialize): Rewrite.
6574         (elmo-folder-list-subfolders): Ditto.
6575
6576         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6577         (elmo-cache-collect-sub-directories): Ditto.
6578
6579 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6580
6581         * elmo-version.el (elmo-version): Up to 2.5.8.
6582
6583         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6584
6585         * elmo-util.el (elmo-list-insert): New function.
6586
6587 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6588
6589         * elmo.el (elmo-init): New function.
6590         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6591
6592         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6593         (Renamed from `elmo-localdir-header-chop-length').
6594
6595         * elmo-pop3.el (elmo-pop3-use-cache,
6596         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6597
6598         * elmo-nntp.el (elmo-message-fetch): Define.
6599         (elmo-message-fetch-unplugged): Ditto.
6600         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6601         (elmo-nntp-use-cache): Ditto.
6602         (elmo-nntp-max-number-precedes-list-active): Ditto.
6603
6604         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6605
6606         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6607         `elmo-msgdb-insert-file-header'.
6608         Use `elmo-msgdb-file-header-chop-length'.
6609
6610         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6611         `elmo-vars.el'.
6612
6613         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6614         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6615         `elmo-msgdb-insert-file-header'.
6616
6617         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6618         Use new variable;
6619         Define obsolete variables with `elmo-define-obsolete-variable',
6620
6621         * elmo-util.el (elmo-warning-buffer-name): New constant.
6622         (elmo-warning): New function.
6623         (elmo-obsolete-variable-alist): New variable.
6624         (elmo-obsolete-variable-show-warnings): New variable.
6625         (elmo-define-obsolete-variable): New function.
6626         (elmo-resque-obsolete-variable): Ditto.
6627         (elmo-resque-obsolete-variables): Ditto.
6628
6629 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6630
6631         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6632         Eliminated.
6633
6634         * elmo-pop3.el, elmo-nntp.el: Use custom.
6635
6636 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6637
6638         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6639         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6640
6641 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6642
6643         * Luna-fy Kenichi OKADA's following changes.
6644         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6645         `nohide'.
6646         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6647
6648 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6649
6650         * elmo-util.el (elmo-display-progress): Prefer
6651         `progress-feedback-with-label' to `lprogress-display'.
6652
6653 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6654
6655         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6656
6657 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6658
6659         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6660         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6661         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6662         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6663         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6664         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6665         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6666         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6667         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6668         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6669         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6670         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6671         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6672
6673 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6674
6675         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6676         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6677
6678 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6679
6680         * elmo.el (elmo-folder-process-crosspost): New generic method.
6681         (elmo-folder-writable-p): Ditto.
6682         (elmo-folder-message-appendable-p): Eliminated.
6683         (elmo-generic-folder-append-msgdb): Rewrite.
6684         (elmo-newsgroups-hashtb): New internal variable.
6685         (elmo-crosspost-message-set): Eliminated.
6686         (elmo-crosspost-message-delete): Ditto.
6687         (elmo-setup-subscribed-newsgroups): New function.
6688         (elmo-crosspost-message-alist-modified): New internal variable.
6689         (elmo-crosspost-message-alist-load): New function (Renamed from
6690         `wl-crosspost-alist-load').
6691         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6692         `wl-crosspost-alist-save').
6693
6694         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6695
6696         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6697         `unreads'.
6698         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6699         elmo-newsgroups-hashtb).
6700         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6701         `elmo-nntp-folder-update-crosspost-message-alist'.
6702         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6703         `elmo-nntp-groups-hashtb'.
6704         (elmo-nntp-make-groups-hashtb): Eliminated.
6705         (elmo-nntp-parse-newsgroups): New function (Renamed from
6706         `wl-parse-newsgroups').
6707         (elmo-folder-creatable-p, elmo-folder-writable-p,
6708         elmo-folder-close-internal, elmo-folder-mark-as-read,
6709         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6710         Define.
6711         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6712
6713         * elmo-net.el (elmo-message-fetch): Check buffer size.
6714
6715         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6716
6717         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6718
6719         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6720         before `close' command.
6721
6722         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6723         `mark-alist' (All other related portions are changed).
6724
6725 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * elmo-util.el (elmo-create-hash-size): Eliminated.
6728         (elmo-make-hash) Make a hash with `one less than a power of two'
6729         length.
6730
6731         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6732         (elmo-hash-maximum-size): Changed value.
6733
6734 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6737         (elmo-mime-message-display-as-is): Ditto.
6738
6739 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6740
6741         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6742         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6743
6744 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6745
6746         * elmo-mark.el: New file.
6747
6748         * elmo-internal.el: Rewrite (Almost empty).
6749
6750 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6751
6752         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6753         (mime-imap-entity-header-string): Ditto.
6754         (mmimap-entity-section): Rewrite.
6755
6756 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6757
6758         * elmo-nmz.el: New file.
6759
6760         * elmo-pipe.el: Rewrite with luna.
6761
6762 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo-archive.el: Rewrite with luna.
6765
6766         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6767         (elmo-folder-list-importants-internal): Ditto.
6768
6769 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6770
6771         * elmo-archive.el (elmo-archive-version): Abolish.
6772         (toplevel) Removed `boso' comment.
6773
6774 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6777         elmo-msgdb-add-msgs-to-seen-list-subr;
6778         Changed argument seen-marks to unread-marks.
6779
6780         * elmo-nntp.el: Rewrite with luna.
6781
6782 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-filter.el: Rewrite with luna.
6785
6786 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6787
6788         * elmo-pop3.el: Rewrite with luna.
6789
6790 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo-multi.el: Rewrite with luna.
6793
6794         * elmo-vars.el (elmo-use-killed-list): Abolish.
6795         All other related portions are changed.
6796         (elmo-filename-replace-string-alist): Renamed from
6797         elmo-msgid-replace-string-alist.
6798
6799 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6802
6803         * elmo-map.el: New file.
6804         * elmo-maildir.el: Rewrite with luna.
6805
6806 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6807
6808         * elmo.el: Changed meaning of `elmo-folder-commit'.
6809         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6810
6811 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6812
6813         * elmo.el (elmo-folder-append-buffer): New function.
6814         (Renamed from `elmo-append-msg')
6815
6816 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6817
6818         * elmo-mime.el: New file.
6819
6820 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-cache.el: Rewrite.
6823
6824 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6825
6826         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6827
6828 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6829
6830         * elmo-vars.el (elmo): New group.
6831         (elmo-strict-diff-folder-regexp): New variable.
6832
6833         * elmo-util.el (elmo-call-func): Abolish.
6834         (elmo-folder-get-type): Ditto.
6835         (elmo-*-get-spec): Ditto.
6836         (elmo-*-spec-*): Ditto.
6837         (elmo-imap4-identical-name-space-p): Ditto.
6838         (elmo-folder-identical-system-p): Ditto.
6839         (elmo-folder-direct-copy-alist): Ditto.
6840         (elmo-folder-direct-copy-p): Ditto.
6841
6842         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6843         (elmo-folder-initialize): Define.
6844         (elmo-folder-get-primitive-list): Ditto.
6845
6846         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6847         (elmo-folder-initialize): Define.
6848         Renamed `elmo-network-session-host-internal' to
6849         `elmo-network-session-server-internal'.
6850
6851         * elmo-multi.el (elmo-multi-folder): New luna class.
6852         (elmo-folder-initialize): Define.
6853         (elmo-folder-get-primitive-list): Ditto.
6854         (elmo-folder-contains-type): Ditto.
6855         (elmo-message-use-cache-p): Ditto.
6856
6857         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6858         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6859
6860         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6861         (elmo-folder-initialize): Define.
6862
6863         * elmo-filter.el (elmo-filter-folder): New luna class.
6864         (elmo-folder-initialize): Define.
6865         (elmo-folder-get-primitive-list): Ditto.
6866         (elmo-folder-contains-type): Ditto.
6867
6868 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6869
6870         * elmo-imap4.el: Rewrite with luna.
6871
6872         * mmimap.el: New file.
6873
6874         * mmelmo.el, mmelmo-imap4.el: Removed.
6875
6876         * elmo-net.el: Ditto.
6877
6878         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6879         (elmo-folder-initialize): Define.
6880
6881         * elmo-archive.el (elmo-archive-folder): New luna class.
6882         (elmo-folder-initialize): Define.
6883
6884         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6885         `elmo-folder-msgdb-path'.
6886         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6887         `elmo-make-folder'.
6888
6889 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6890
6891         * elmo.el: New file.
6892
6893         * elmo2.el: Renamed to elmo.el.
6894
6895 \f
6896 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6897
6898         * elmo-cache.el (elmo-cache-expire-by-size): Count
6899         a disk usage for a cache file entry in KB even when
6900         its kind is a directory.
6901
6902 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6903
6904         * elmo-version.el (elmo-version): Up to 2.5.7.
6905
6906 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6907
6908         * elmo-version.el (elmo-version): Up to 2.5.6.
6909
6910 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6911
6912         * elmo-version.el (elmo-version): Up to 2.5.5.
6913
6914 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-imap4.el (elmo-network-authenticate-session):
6917         Fixed a logic for response checking.
6918
6919 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6920
6921         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6922         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6923         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6924         `sasl-mechanisms'.
6925
6926         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6927         for `starttls-open-stream' and `starttls-negotiate'.
6928
6929         * elmo-nntp.el: Remove autoload settings for
6930         `starttls-open-stream' and `starttls-negotiate'.
6931
6932         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6933         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6934         `luna-define-class' with `eval-and-compile'.
6935
6936 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6937
6938         * elmo-util.el (elmo-read-search-condition-internal):
6939         Require an element of table for searching field.
6940
6941 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6942
6943         * elmo-version.el (elmo-version): Up to 2.5.4.
6944
6945 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6946
6947         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6948
6949 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6950
6951         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6952
6953 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6954
6955         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6956         before greeting.
6957
6958 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6959
6960         * elmo-imap4.el (elmo-imap4-delete-folder):
6961         Send "close" before "delete" (Use commented out line).
6962         (elmo-imap4-rename-folder): Ditto.
6963
6964         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6965         folder string itself.
6966         (elmo-dop-list-deleted): New function.
6967         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6968         killed.
6969
6970         * elmo-util.el (elmo-string-rassoc-all): New function.
6971
6972 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6973
6974         * elmo-version.el (elmo-version): Up to 2.5.3.
6975
6976         * elmo-net.el (elmo-network-get-session): Changed logic for
6977         checking process status.
6978
6979         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6980         process is nil;
6981         Changed logic for checking process status.
6982
6983 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6984
6985         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6986         before greeting.
6987         (elmo-network-setup-session): Set UIDL hash size according to
6988         the length of list response.
6989         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6990         according to the length of list response;
6991         Return the length of list response.
6992         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6993
6994 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6995
6996         * elmo-imap4.el (toplevel): Require 'ssl.
6997         Add autoload 'starttls.
6998         * elmo-pop3.el (toplevel): Ditto.
6999         * elmo-nntp.el (toplevel): Ditto.
7000
7001 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7002
7003         * elmo-imap4.el (toplevel): defun at compile time.
7004         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7005         sasl-next-step, sasl-step-data, sasl-step-set-data.
7006         * elmo-pop3.el (toplevel): Ditto.
7007
7008 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7009
7010         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7011
7012 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7013
7014         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7015         if error.
7016         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7017         and `elmo-pop-auth-apop'.
7018
7019 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7020
7021         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7022
7023 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7024
7025         * elmo-pop3.el (elmo-network-authenticate-session): Split
7026         encoded response value.
7027
7028 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7029
7030         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7031         `elmo-pop3-force-login'.
7032         Redefine `sasl-mechanisms'.
7033         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7034
7035 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7036
7037         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7038         Delete `elmo-imap4-authenticator-alist'.
7039         (elmo-imap4-auth-cram-md5): Delete.
7040         (elmo-imap4-auth-digest-md5): Delete.
7041
7042 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7043
7044         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7045         (elmo-pop3-auth-scram-md5): Ditto.
7046         (elmo-pop3-auth-cram-md5): Ditto.
7047
7048 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7049
7050         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7051         Delete `elmo-pop3-authenticator-alist'.
7052
7053 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7054
7055         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7056         new SASL API.
7057         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7058
7059 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7060
7061         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7062
7063 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7064
7065         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7066         Fixed problem when `elmo-pop3-use-uidl' is nil.
7067         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7068
7069 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7070
7071         * elmo-version.el (elmo-version): Up to 2.5.2.
7072
7073 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7074
7075         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7076         New function.
7077         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7078         (elmo-pop3-msgdb-create-as-numlist): Use it.
7079
7080         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7081         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7082
7083         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7084         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7085
7086 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7087
7088         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7089         when elmo-mark-as-read is called with second argument nil.
7090
7091 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7092
7093         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7094         Moved to elmo-util.el.
7095
7096         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7097         Moved from elmo-pipe.el
7098
7099         * elmo-archive.el (elmo-archive-call-process): Enclose with
7100         static-if.
7101
7102         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7103         "RFC822" (because RFC822.PEEK is obsolete).
7104         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7105
7106 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7107
7108         * elmo-archive.el (elmo-archive-call-process): Don't check for
7109         the exit status when Nemacs is running.
7110
7111 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7112
7113         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7114         'plain.
7115
7116         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7117         (elmo-pop3-get-spec): Set default of auth to 'user.
7118
7119         * elmo-imap4.el (elmo-imap4-session-check):
7120         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7121         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7122         (elmo-imap4-auth-login): New function; Revival.
7123         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7124         `elmo-imap4-auth-login'.
7125
7126 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7127
7128         * elmo2.el (toplevel): Move `product-provide' declare.
7129         * mmelmo.el (toplevel): Ditto.
7130
7131 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7132
7133         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7134
7135 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7136
7137         * elmo-util.el (elmo-folder-get-store-type): New function.
7138         (elmo-folder-direct-copy-p): Use it.
7139
7140 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7141
7142         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7143         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7144         and result of `elmo-imap4-use-flag-p'.
7145         (elmo-imap4-fetch-callback-1): Set mark according to
7146         the result of `elmo-imap4-use-flag-p'.
7147
7148 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7149
7150         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7151         (elmo-generic-list-folder-unread): Ditto.
7152         (elmo-folder-get-info): Ditto.
7153         (elmo-folder-set-info-max-by-numdb): Ditto.
7154         (elmo-folder-get-info-max): Ditto.
7155         (elmo-folder-get-info-length): Ditto.
7156         (elmo-folder-get-info-unread): Ditto.
7157         (elmo-folder-info-make-hashtb): Ditto.
7158
7159         * elmo2.el: Removed above functions.
7160
7161 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7162
7163         * elmo-imap4.el (toplevel): Require 'ssl.
7164         Add autoload 'starttls.
7165         * elmo-pop3.el (toplevel): Ditto.
7166         * elmo-nntp.el (toplevel): Ditto.
7167
7168 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7169
7170         * elmo-imap4.el (toplevel): defun at compile time.
7171         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7172         sasl-next-step, sasl-step-data, sasl-step-set-data.
7173         * elmo-pop3.el (toplevel): Ditto.
7174
7175 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7176
7177         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7178
7179 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7180
7181         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7182         if error.
7183         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7184         and `elmo-pop-auth-apop'.
7185
7186 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7187
7188         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7189
7190 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7191
7192         * elmo-pop3.el (elmo-network-authenticate-session): Split
7193         encoded response value.
7194
7195 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7196
7197         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7198         `elmo-pop3-force-login'.
7199         Redefine `sasl-mechanisms'.
7200         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7201
7202 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7203
7204         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7205         Delete `elmo-imap4-authenticator-alist'.
7206         (elmo-imap4-auth-cram-md5): Delete.
7207         (elmo-imap4-auth-digest-md5): Delete.
7208
7209 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7210
7211         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7212         (elmo-pop3-auth-scram-md5): Ditto.
7213         (elmo-pop3-auth-cram-md5): Ditto.
7214
7215 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7216
7217         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7218         Delete `elmo-pop3-authenticator-alist'.
7219
7220 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7221
7222         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7223         new SASL API.
7224         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7225
7226 \f
7227 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7228
7229         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7230
7231 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7232
7233         * elmo-nntp.el (elmo-nntp-get-folders-info):
7234         Fixed problem when '\' character is contained in user-id.
7235         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7236
7237 \f
7238 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7239
7240         * elmo-imap4.el (elmo-imap4-delete-folder):
7241         Send "close" before "delete" (Use commented out line).
7242         (elmo-imap4-rename-folder): Ditto.
7243
7244         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7245         folder string itself.
7246         (elmo-dop-list-deleted): New function.
7247         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7248         killed.
7249
7250         * elmo-util.el (elmo-string-rassoc-all): New function.
7251
7252         * elmo-version.el (elmo-version): Up to 2.5.1.
7253
7254 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7255
7256         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7257
7258         * elmo-internal.el (elmo-internal-search): Fix last change.
7259
7260 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7261
7262         * elmo-internal.el (elmo-internal-search): Rewrite.
7263         (Fixed problem which is pointed out by Akihiro MOTOKI
7264         <motoki@da.jp.nec.com>)
7265
7266         * elmo-version.el (elmo-version): Up to 2.5.0.
7267
7268 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7269
7270         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7271
7272 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7273
7274         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7275         non-nil, make hierarchy.
7276
7277 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7278
7279         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7280         `elmo-pop3-use-uidl' must be bound to nil.
7281         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7282
7283 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7284
7285         * elmo-util.el (elmo-copy-file): Don't cause an error after
7286         `add-name-to-file' failed.
7287
7288         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7289         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7290
7291 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7292
7293         * elmo-version.el (elmo-version): Up to 2.3.93.
7294
7295 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7296
7297         * elmo-util.el (elmo-flatten): New function.
7298
7299 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7300
7301         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7302         sync Author header.
7303         * elmo-cache.el (toplevel): Ditto.
7304         * elmo-database.el (toplevel): Ditto.
7305         * elmo-date.el (toplevel): Ditto.
7306         * elmo-dop.el (toplevel): Ditto.
7307         * elmo-filter.el (toplevel): Ditto.
7308         * elmo-imap4.el (toplevel): Ditto.
7309         * elmo-internal.el (toplevel): Ditto.
7310         * elmo-localdir.el (toplevel): Ditto.
7311         * elmo-localnews.el (toplevel): Ditto.
7312         * elmo-maildir.el (toplevel): Ditto.
7313         * elmo-msgdb.el (toplevel): Ditto.
7314         * elmo-multi.el (toplevel): Ditto.
7315         * elmo-net.el (toplevel): Ditto.
7316         * elmo-nntp.el (toplevel): Ditto.
7317         * elmo-pipe.el (toplevel): Ditto.
7318         * elmo-pop3.el (toplevel): Ditto.
7319         * elmo-util.el (toplevel): Ditto.
7320         * elmo-vars.el (toplevel): Ditto.
7321         * elmo2.el (toplevel): Ditto.
7322         * mmelmo-imap4.el (toplevel): Ditto.
7323         * mmelmo.el (toplevel): Ditto.
7324
7325         * elmo-version.el (elmo-version): Move to top.
7326
7327         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7328         * elmo-imap4.el (toplevel): Ditto.
7329         * elmo-localdir.el (toplevel): Ditto.
7330         * elmo-msgdb.el (toplevel): Ditto.
7331         * elmo-nntp.el (toplevel): Ditto.
7332         * elmo-pop3.el (toplevel): Ditto.
7333         * elmo-version.el (toplevel): Ditto.
7334
7335         * elmo-localnews.el (toplevel): Added Keyword header.
7336
7337 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7338
7339         * elmo-version.el (product-version-as-string): Defined using
7340         `defun-maybe'.
7341         (toplevel): Use it.
7342
7343         * elmo-localdir.el (toplevel): Updated copyright notice.
7344         * elmo-version.el (toplevel): Ditto.
7345         * elmo-msgdb.el (toplevel): Ditto.
7346         * elmo-imap4.el (toplevel): Ditto.
7347         * elmo-nntp.el (toplevel): Ditto.
7348         * elmo-pop3.el (toplevel): Ditto.
7349
7350 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7351
7352         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7353         messages.
7354
7355         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7356         parameter value (It sometimes contains raw kanji).
7357
7358 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7359
7360         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7361         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7362
7363 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7364
7365         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7366
7367 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7368
7369         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7370         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7371
7372 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7373
7374         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7375         value if selecting folder succceeded.
7376         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7377
7378 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7379
7380         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7381         representation.
7382
7383         * elmo-util.el (elmo-string-matched-member): New function.
7384
7385 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7386
7387         * elmo-util.el (elmo-unintern): New macro.
7388         (elmo-number-set-member): Fixed docstring.
7389
7390         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7391         tag token.
7392
7393 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7394
7395         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7396         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7397
7398 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7399
7400         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7401         `no-error'.
7402         Added docstring.
7403         Return non-nil if selecting folder succeeded.
7404         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7405
7406 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7407
7408         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7409         `file-name-completion' returns t.
7410         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7411         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7412         directory if it does not exist.
7413         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7414         for iteration.
7415
7416 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7417
7418         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7419         enclosure (It's harmful in unplugged status).
7420
7421         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7422
7423         * mmelmo-1.el: Removed.
7424
7425         * mmelmo-2.el: Ditto.
7426
7427         * mmelmo-imap4-1.el: Ditto.
7428
7429         * mmelmo-imap4-2.el: Ditto.
7430
7431         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7432
7433         * mmelmo.el: Merged mmelmo-2.el.
7434
7435         * elmo-version.el (elmo-version): Up to 2.3.92.
7436
7437 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7438
7439         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7440         elmo-update-number): Remove last period in "...done." message.
7441         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7442         Ditto.
7443         * elmo-cache.el (elmo-cache-expire-by-size,
7444         elmo-cache-get-sorted-cache-file-list,
7445         elmo-cache-msgdb-create-as-numlist): Ditto.
7446         * elmo-dop.el (elmo-dop-save-pending-messages,
7447         (elmo-dop-flush-pending-append-operations): Ditto.
7448         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7449         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7450         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7451         (elmo-localdir-pack-number): Ditto.
7452         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7453         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7454         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7455         mime-write-entity-content): Ditto.
7456         * pldap.el (ldap-search-basic): Ditto.
7457
7458 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7459
7460         * elmo-version.el (elmo-version): Up to 2.3.91.
7461
7462         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7463         Only when filter is 'last'.
7464
7465         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7466         (elmo-condition-parse-search-value): Use it.
7467         (elmo-read-search-condition-internal): Quote value only when
7468         it is not an atom.
7469
7470 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7471
7472         * elmo2.el (elmo-generic-folder-diff): Fix.
7473
7474 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7475
7476         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7477         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7478         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7479         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7480         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7481         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7482
7483 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7484
7485         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7486         extra-fields.
7487
7488 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7489
7490         * elmo-version.el (elmo-version): Up to 2.3.90.
7491
7492         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7493         (elmo-imap4-list-folder-important): Ditto.
7494
7495 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7496
7497         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7498
7499 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7500
7501         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7502
7503 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7504
7505         * elmo-nntp.el (elmo-network-initialize-session):
7506         Add starttls negotiation.
7507
7508 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7509
7510         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7511         response.
7512         (elmo-network-setup-session): Define.
7513         Call `elmo-nntp-send-mode-reader' when session opened.
7514
7515 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7516
7517         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7518
7519 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7520
7521         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7522         an invalid SPACE character ahead of `SEARCH' command.  Move
7523         a valid SPACE character following `SEARCH' from conditional
7524         `format' arguments to control-strings.
7525
7526 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7527
7528         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7529         was succeeded.
7530
7531         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7532
7533 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7534
7535         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7536         `w32-get-true-file-link-count' as t.
7537
7538         * elmo-imap4.el (elmo-imap4-read): Abolished.
7539         (Renamed to `elmo-read' and moved to elmo-util.el)
7540         All other related portions are changed.
7541
7542         * elmo-util.el (elmo-read): New function.
7543         (elmo-condition-parse-search-value): Use it.
7544
7545 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7546
7547         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7548
7549         * elmo-nntp.el (elmo-nntp-session): Define.
7550         (elmo-nntp-setting): Abolished.
7551         All other related portions are changed.
7552         (elmo-nntp-get-server-command): Changed argument.
7553         (elmo-nntp-set-server-command): Ditto.
7554         (elmo-nntp-xover-p): Ditto.
7555         (elmo-nntp-set-xover): Ditto.
7556         (elmo-nntp-listgroup-p): Ditto.
7557         (elmo-nntp-set-listgroup): Ditto.
7558         (elmo-nntp-list-active-p): Ditto.
7559         (elmo-nntp-set-list-active): Ditto.
7560         (elmo-nntp-xhdr-p): Ditto.
7561         (elmo-nntp-set-xhdr): Ditto.
7562         (elmo-nntp-flush-connection): Abolished.
7563         (elmo-nntp-get-connection): Abolished.
7564         (elmo-nntp-get-session): New function.
7565         (elmo-network-initialize-session): Defined.
7566         (elmo-network-authenticate-session): Ditto.
7567         (elmo-nntp-send-mode-reader): Changed argument.
7568         (elmo-nntp-send-command): Changed argument.
7569         All other related portions are changed.
7570         (elmo-nntp-read-response): Ditto.
7571         (elmo-nntp-read-raw-response): Ditto.
7572         (elmo-nntp-read-contents): Ditto.
7573         (elmo-nntp-read-body): Ditto.
7574         (elmo-nntp-goto-folder): Abolished.
7575         (elmo-nntp-select-group): New function.
7576         All other related portions are changed.
7577         (This function substitutes `elmo-nntp-goto-folder')
7578         (elmo-nntp-msgdb-create-by-header): Rewrite.
7579         (elmo-nntp-get-overview): Eliminated.
7580         (elmo-nntp-get-message): Ditto.
7581         (elmo-nntp-open-connection) Abolished.
7582         (elmo-nntp-read-msg): Rewrite.
7583         (elmo-nntp-post): Ditto.
7584         (elmo-nntp-send-data): Abolished.
7585         (elmo-nntp-send-buffer): New function.
7586         (elmo-nntp-send-data-line): Define as inline function.
7587         (elmo-nntp-get-folders-info-prepare): Use session as key.
7588         (elmo-nntp-groups-read-response): Changed argument.
7589         (elmo-nntp-retrieve-headers): Ditto.
7590         (elmo-nntp-msgdb-create-message): Ditto.
7591
7592         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7593         when searching by 'since' or 'before'.
7594
7595 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7596
7597         * elmo-version.el (toplevel): Use product-version-as-string for set
7598         verstion-string, if defined.
7599
7600 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7601
7602         * elmo-util.el: Doc fixes.
7603
7604 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7605
7606         * elmo-archive.el (toplevel): Use product-provide.
7607         * elmo-cache.el (toplevel): Ditto.
7608         * elmo-database.el (toplevel): Ditto.
7609         * elmo-date.el (toplevel): Ditto.
7610         * elmo-dop.el (toplevel): Ditto.
7611         * elmo-filter.el (toplevel): Ditto.
7612         * elmo-imap4.el (toplevel): Ditto.
7613         * elmo-internal.el (toplevel): Ditto.
7614         * elmo-localdir.el (toplevel): Ditto.
7615         * elmo-localnews.el (toplevel): Ditto.
7616         * elmo-maildir.el (toplevel): Ditto.
7617         * elmo-msgdb.el (toplevel): Ditto.
7618         * elmo-multi.el (toplevel): Ditto.
7619         * elmo-net.el (toplevel): Ditto.
7620         * elmo-nntp.el (toplevel): Ditto.
7621         * elmo-pipe.el (toplevel): Ditto.
7622         * elmo-pop3.el (toplevel): Ditto.
7623         * elmo-util.el (toplevel): Ditto.
7624         * elmo-vars.el (toplevel): Ditto.
7625         * elmo2.el (toplevel): Ditto.
7626         * mmelmo-1.el (toplevel): Ditto.
7627         * mmelmo-2.el (toplevel): Ditto.
7628         * mmelmo-imap4-1.el (toplevel): Ditto.
7629         * mmelmo-imap4-2.el (toplevel): Ditto.
7630         * mmelmo-imap4.el (toplevel): Ditto.
7631         * mmelmo.el (toplevel): Ditto.
7632
7633 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7634
7635         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7636         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7637
7638 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7641         before splitting.
7642         (elmo-multi-split-number-alist): Ditto.
7643
7644 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7645
7646         * elmo-version.el: New file.  Use product.el.
7647         * elmo2.el: Add (require 'elmo-version).
7648         * elmo-vars.el (elmo-appname, elmo-version): Move to
7649         elmo-version.el
7650
7651 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7652
7653         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7654         `elmo-msgdb-expand-path'.
7655         (elmo-msgdb-load): Ditto.
7656         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7657         (elmo-generic-list-folder-unread): Rewrite.
7658         (elmo-generic-list-folder-important): Changed argument.
7659         (elmo-list-folder-unread): Ditto.
7660         (elmo-list-folder-important): Ditto.
7661         (elmo-folder-diff): Rewrite.
7662         (elmo-generic-folder-diff): New function.
7663         (elmo-multi-get-number-alist-list): Abolished
7664         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7665         (elmo-multi-folder-diff): Moved to elmo-multi.el
7666         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7667
7668         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7669         `elmo-msgdb-expand-path'.
7670         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7671         (elmo-pop3-read-msg): Ditto.
7672         (elmo-pop3-delete-msgs): Ditto.
7673         (elmo-pop3-folder-diff): New alias.
7674
7675         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7676         `elmo-msgdb-expand-path'.
7677         (elmo-pipe-list-folder-unread): Changed arguments.
7678         (elmo-pipe-list-folder-important): Ditto.
7679         (elmo-pipe-folder-diff): New alias.
7680
7681         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7682         `elmo-msgdb-expand-path'.
7683         (elmo-nntp-max-of-folder): Ditto.
7684         (elmo-nntp-msgdb-create): Ditto.
7685         (elmo-nntp-delete-msgs): Ditto.
7686         (elmo-nntp-folder-diff): New alias.
7687
7688         * elmo-multi.el (elmo-multi-folder-diff): New function.
7689         (elmo-multi-split-mark-alist): Ditto.
7690         (elmo-multi-split-number-alist): Ditto.
7691         (elmo-multi-mark-alist-list): Abolished (Renamed to
7692         elmo-multi-split-mark-alist).
7693         (elmo-multi-list-folder-unread): Rewrite.
7694         (elmo-multi-list-folder-important): Ditto.
7695         (elmo-multi-list-folder): Set `spec' as 1st argument for
7696         `elmo-msgdb-expand-path'.
7697         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7698         instead of `elmo-multi-get-number-alist-list'.
7699
7700         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7701         If 1st argument is not string, treat as spec.
7702         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7703         `elmo-msgdb-expand-path'.
7704         (elmo-msgdb-flist-load): Ditto.
7705         (elmo-msgdb-flist-save): Ditto.
7706         (elmo-msgdb-delete-path): Ditto.
7707         (elmo-msgdb-rename-path): Ditto.
7708
7709         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7710         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7711         (elmo-maildir-delete-mark-msgs): Ditto.
7712         (elmo-maildir-msgdb-create): Ditto.
7713         (elmo-maildir-read-msg): Ditto.
7714         (elmo-maildir-delete-msgs): Ditto.
7715         (elmo-maildir-list-folder-subr): Ditto.
7716         (elmo-maildir-search): Ditto.
7717         (elmo-maildir-get-msg-filename): Ditto.
7718         (elmo-maildir-pack-number): Ditto.
7719         (elmo-maildir-folder-diff): New alias.
7720
7721         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7722
7723         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7724         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7725         (elmo-localdir-folder-diff): New alias.
7726
7727         * elmo-internal.el (elmo-internal-list-folder-subr):
7728         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7729         (elmo-internal-list-folder-by-location): Ditto.
7730         (elmo-internal-msgdb-create): Ditto.
7731         (elmo-internal-delete-msgs): Ditto.
7732         (elmo-internal-read-msg): Ditto.
7733         (elmo-internal-folder-diff): New alias.
7734
7735         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7736         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7737         `elmo-msgdb-expand-path'.
7738         (elmo-imap4-list-folder-unread): Changed arguments.
7739         (elmo-imap4-list-folder-important): Ditto.
7740
7741         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7742         (elmo-filter-list-folder-important): Ditto.
7743         (elmo-filter-folder-diff): New function.
7744
7745         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7746
7747         * elmo-cache.el (elmo-cache-list-folder):
7748         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7749         (elmo-cache-copy-msgs): Ditto.
7750         (elmo-cache-folder-diff): New alias.
7751
7752         * elmo-archive.el (elmo-archive-list-folder-subr):
7753         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7754         (elmo-archive-get-archive-name): Ditto.
7755         (elmo-archive-create-file): Ditto.
7756         (elmo-archive-append-msg): Ditto.
7757         (elmo-archive-copy-msgs): Ditto.
7758         (elmo-archive-copy-msgs-froms): Ditto.
7759         (elmo-archive-get-msg-filename): Ditto.
7760         (elmo-archive-folder-diff): New alias.
7761
7762 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7763
7764         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7765         (elmo-pop3-stream-type-alist): New variable.
7766         (elmo-nntp-stream-type-alist): New variable.
7767
7768         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7769         (elmo-kill-buffer): Ditto.
7770         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7771         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7772         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7773         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7774         (elmo-imap4-get-spec): Take into account
7775         `elmo-imap4-stream-type-alist'.
7776
7777 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7778
7779         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7780         (elmo-nntp-list-folders-get-cache): Ditto.
7781
7782 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7783
7784         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7785         character before 'uid'.
7786
7787 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7788
7789         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7790
7791         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7792
7793         * elmo-util.el (elmo-number-set-member): New function.
7794         (elmo-number-set-append-list): Ditto.
7795         (elmo-number-set-append): Ditto.
7796
7797         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7798         Use `elmo-number-set-member'.
7799         (elmo-living-messages): Ditto.
7800         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7801         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7802
7803         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7804         (elmo-imap4-add-to-cont-list): Abolished.
7805         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7806         instead of elmo-imap4-add-to-cont-list.
7807
7808         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7809         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7810
7811         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7812
7813 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7814
7815         * elmo-util.el (elmo-condition-parse-search-value):
7816         Fixed date parsing.
7817
7818 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7819
7820         * elmo-util.el (elmo-condition-find-key-internal): New function.
7821         (elmo-condition-find-key): Ditto.
7822
7823         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7824         (elmo-msgdb-search-internal): Ditto.
7825         (elmo-msgdb-search): Ditto.
7826
7827 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7830         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7831
7832         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7833         (elmo-nntp-search-primitive): Fixed problem when condition is
7834         'unmatch'.
7835
7836         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7837
7838         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7839         (elmo-nntp-xhdr-p): New macro.
7840         (elmo-nntp-set-xhdr): Ditto.
7841         (elmo-nntp-parse-xhdr-response): New function.
7842         (elmo-nntp-retrieve-field): Ditto.
7843         (elmo-nntp-search-primitive): Ditto.
7844         (elmo-nntp-search): Implemented.
7845
7846         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7847
7848         * elmo-archive.el (elmo-archive-search): Set all number list to
7849         `elmo-archive-field-condition-match'
7850
7851         * elmo-localdir.el (elmo-localdir-search): Likewise.
7852
7853         * elmo-maildir.el (elmo-maildir-search): Likewise.
7854
7855 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7856
7857         * elmo-msgdb.el (elmo-living-messages): New function.
7858         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7859         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7860         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7861         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7862         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7863         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7864         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7865         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7866         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7867         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7868         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7869
7870 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7871
7872         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7873
7874         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7875
7876         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7877
7878         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7879         arguments for `SEARCH' command.
7880         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7881         All other related portions are changed.
7882
7883         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7884
7885         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7886         (elmo-list-folder-unread): Rewrite.
7887         (elmo-list-folder-important): Ditto.
7888
7889         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7890         (elmo-condition-parse-error): New inline function.
7891         (elmo-read-search-condition): New function.
7892         (elmo-read-search-condition-internal): Ditto.
7893         (elmo-parse-search-condition): Rewrite.
7894         (elmo-condition-parse): New function.
7895         (elmo-condition-parse-or-expr): Ditto.
7896         (elmo-condition-parse-and-expr): Ditto.
7897         (elmo-condition-parse-primitive): Ditto.
7898         (elmo-condition-parse-search-value): Ditto.
7899         (elmo-buffer-field-primitive-condition-match): Ditto.
7900         (elmo-buffer-field-condition-match): Rewrite.
7901         (elmo-file-field-condition-match): Ditto.
7902
7903         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7904         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7905
7906         * elmo-internal.el (elmo-internal-search): Set `number' and
7907         `number-list' argument of `elmo-file-field-condition-match'.
7908
7909         * elmo-maildir.el (elmo-maildir-search): Ditto.
7910
7911         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7912         `msgdb' as argument instead of `mark-alist'.
7913         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7914         `overview'.
7915
7916         * elmo-multi.el: Likewise.
7917
7918         * elmo-pipe.el: Likewise.
7919
7920         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7921         (elmo-imap4-search-internal): Rewrite.
7922         (elmo-imap4-search): Ditto.
7923
7924         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7925         (elmo-filter-list-folder-unread): Ditto.
7926         (elmo-filter-list-folder-important): Ditto.
7927         (elmo-filter-search): Rewrite.
7928
7929         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7930         `number-list' argument of `elmo-file-field-condition-match'.
7931         (elmo-cache-search): Ditto.
7932
7933         * elmo-localdir.el: Likewise.
7934
7935         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7936         number-list and pass it to `elmo-buffer-field-condition-match'.
7937         (elmo-archive-field-condition-match): Pass `number-list' to
7938         `elmo-archive-field-condition-match'
7939
7940 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7941
7942         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7943         `listgroup'.
7944
7945         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7946         (elmo-folder-diff-async-callback-data): Ditto.
7947         (elmo-folder-diff-async): New function.
7948
7949         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7950         (elmo-network-session-cache-key): Use it as a prefix of the session
7951         name.
7952         (elmo-network-open-session): Ditto.
7953
7954         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7955         (elmo-imap4-status-callback-data): Ditto.
7956         (elmo-imap4-server-diff-async-callback): New variable.
7957         (elmo-imap4-server-diff-async-callback-data): Ditto.
7958         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7959         `elmo-imap4-status-callback-data'.
7960         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7961         `elmo-imap4-status-callback-data' as nil.
7962         (elmo-imap4-server-diff): Ditto.
7963         (elmo-imap4-server-diff-async-callback-1): New function.
7964         (elmo-imap4-server-diff-async): Ditto.
7965         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7966
7967 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7968
7969         * elmo-util.el (elmo-list-delete): Doc fix.
7970         (elmo-delete-lists): Abolish.
7971         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7972         instead of `elmo-delete-lists'.
7973
7974 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7975
7976         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7977         before `sort'.
7978
7979 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7980
7981         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7982         `elmo-imap4-literal-subr'.
7983         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7984         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7985
7986 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7987
7988         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7989         (elmo-archive-list-folder): Fix.
7990         (elmo-archive-max-of-folder): Fix.
7991
7992 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7993
7994         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7995          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7996         (elmo-localdir-append-msg): Ditto.
7997         (elmo-localdir-list-folder): Fix for `nonsort'.
7998         (elmo-localdir-list-folder-subr): Fix for `killed'.
7999         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8000         (elmo-maildir-list-folder-subr): Ditto.
8001         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8002         (elmo-archive-list-folder-subr): Ditto.
8003         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8004         (elmo-internal-list-folder-subr): Ditto.
8005
8006 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8007
8008         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8009
8010 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8011
8012         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8013
8014 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8015
8016         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8017         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8018
8019         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8020         before greeting.
8021         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8022         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8023
8024 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8025
8026         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8027
8028         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8029         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8030         before STORE command.
8031
8032 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8033
8034         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8035
8036         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8037         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8038         of `response'.
8039         (elmo-imap4-list-folders): Removed unused local variable.
8040         (elmo-network-initialize-session): Ditto.
8041         (elmo-imap4-delete-msg-by-id): Ditto.
8042         (elmo-imap4-parse-fetch): Ditto.
8043         (elmo-imap4-copy-msgs): Ditto.
8044         Use `dst-spec' instead of `dst-folder'.
8045         (elmo-network-authenticate-session): Check authenticate type `plain'.
8046
8047 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8048
8049         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8050         garbage checking.
8051         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8052         `elmo-imap4-response-value'.
8053         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8054
8055 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8056
8057         * elmo-imap4.el (elmo-imap4-send-command):
8058         Cause elmo-imap4-bye-error when current response is BYE.
8059         (elmo-imap4-arrival-filter): Changed greeting response value.
8060
8061         * elmo2.el (elmo-imap4-bye-error): Define.
8062
8063         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8064         (elmo-imap4-server-diff): Ditto.
8065         (elmo-imap4-response-bye-p): New macro.
8066         (elmo-imap4-response-error-text): Get text from BYE response.
8067         (elmo-imap4-read-response): Return if BYE response.
8068         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8069         (elmo-imap4-folder-exists-p): Ditto.
8070         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8071         (elmo-imap4-parse-bye): New function.
8072         (elmo-imap4-parse-response): Remove needless let.
8073         Call `elmo-imap4-parse-bye'.
8074
8075 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8076
8077         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8078         the mailbox does not exist.
8079         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8080
8081 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8082
8083         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8084
8085 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8088
8089         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8090         (elmo-network-initialize-session-buffer): Defined.
8091
8092         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8093         Abolished.
8094         (mmelmo-imap4-get-mime-entity): Rewrite.
8095
8096         * elmo2.el (elmo-error): Capitalize error message.
8097
8098         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8099         (elmo-network-session-buffer): New macro.
8100         (elmo-network-open-session): Use it.
8101
8102         * elmo-imap4.el: Rewrite.
8103
8104 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8105
8106         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8107
8108 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8109
8110         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8111         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8112         (elmo-imap4-create-msgdb-from-overview-string): Use
8113         `elmo-msgdb-create-overview-from-buffer'.
8114
8115 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8116
8117         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8118         (elmo-imap4-default-hierarchy-delimiter): New variable.
8119         (elmo-imap4-list-folders): Use it.
8120
8121 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8122
8123         * elmo-net.el (elmo-network-open-session): Add user and
8124         stream-type for process-buffer name.
8125
8126         * elmo-pop3.el (elmo-network-initialize-session): Call
8127         buffer-disable-undo.
8128
8129         * elmo-imap4.el (elmo-network-initialize-session):
8130         Set current-buffer as an argument for `buffer-disable-undo'.
8131
8132         * elmo-pop3.el (elmo-network-close-session): Don't use
8133         `process-live-p'.
8134
8135         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8136         Set default as 'user.
8137
8138         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8139
8140         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8141         and `elmo-imap4-flush-connection'.
8142
8143         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8144         (elmo-pop3-get-spec): Assume auth as symbol.
8145         (elmo-open-network-stream): Moved to `elmo-net'.
8146
8147         * elmo-pop3.el (toplevel): Require 'elmo-net.
8148         Define `sasl-cram-md5' to silence byte compilier.
8149         (elmo-pop3-connection-cache) Abolished.
8150         (elmo-pop3-authenticator-alist) New variable.
8151         (elmo-pop3-session): Define.
8152         (elmo-pop3-connection-get-process): Abolished.
8153         (elmo-pop3-connection-get-buffer): Ditto.
8154         (elmo-pop3-close-connection): Ditto.
8155         (elmo-pop3-flush-connection): Ditto.
8156         (elmo-pop3-get-connection): Ditto.
8157         (elmo-pop3-get-session): New function.
8158         (Replacement for `elmo-pop3-get-connection').
8159         All other related modules are changed.
8160         (elmo-network-close-session): Define.
8161         (elmo-pop3-send-command): Abolished argument `buffer'.
8162         All other related modules are changed.
8163         (elmo-pop3-read-response): Likewise.
8164         (elmo-pop3-open-connection): Abolished.
8165         (elmo-pop3-auth-user): New function.
8166         (elmo-pop3-auth-apop): Ditto.
8167         (elmo-pop3-auth-cram-md5): Ditto.
8168         (elmo-pop3-auth-scram-md5): Ditto.
8169         (elmo-pop3-auth-digest-md5): Ditto.
8170         (elmo-network-initialize-session): Define.
8171         (elmo-network-authenticate-session): Ditto.
8172         (elmo-network-setup-session): Ditto.
8173
8174         * elmo-imap4.el (toplevel): Require 'elmo-net.
8175         (elmo-imap4-session): Define.
8176         (elmo-imap4-connection-cache): Abolished.
8177         (elmo-imap4-password-key): Ditto.
8178         (elmo-imap4-flush-connection): Ditto.
8179         (elmo-imap4-get-connection): Ditto.
8180         All other related modules are changed.
8181         (elmo-imap4-get-session): New function
8182         (Replacement for `elmo-imap4-get-connection').
8183         (elmo-imap4-read-response): Abolished argument `buffer'.
8184         All other related modules are changed.
8185         (elmo-imap4-send-command): Likewise.
8186         (elmo-imap4-select-folder): Abolished.
8187         All other related modules are changed.
8188         (elmo-imap4-select-mailbox): New function.
8189         (Replacement for `elmo-imap4-select-folder').
8190         (elmo-imap4-auth-login): Simplify.
8191         (Assume current buffer as process buffer)
8192         (elmo-imap4-auth-cram-md5): Ditto.
8193         (elmo-imap4-auth-digest-md5): Ditto.
8194         (elmo-imap4-login): Ditto.
8195         (elmo-imap4-open-connection): Abolished.
8196         (elmo-imap4-open-connection-1): Abolished.
8197         (elmo-network-initialize-sessoin): Define.
8198         (elmo-network-authenticate-session): Ditto.
8199         (elmo-network-setup-session): Ditto.
8200
8201         * elmo-net.el: New module.
8202
8203 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8204
8205         * elmo-util.el (elmo-define-error): New function.
8206
8207         * elmo2.el (elmo-error): Define.
8208         (elmo-open-error): Define.
8209         (elmo-authenticate-error): Define.
8210
8211         * elmo-imap4.el (elmo-imap4-error): Abolish.
8212         (elmo-imap4-error-type): Abolish.
8213         (elmo-imap4-error-process): Abolish.
8214         (elmo-imap4-error-message): Abolish
8215         (elmo-imap4-list-folders): Don't quote lambda.
8216         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8217         (elmo-imap4-parse-namespace): Ditto.
8218         (elmo-imap4-open-connection): Rewrite.
8219         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8220         (elmo-imap4-get-connection): Abolish local variable `result'.
8221
8222 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8223
8224         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8225         wrong-type-argument error when auth is nil.
8226
8227 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8228
8229         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8230         (elmo-default-nntp-stream-type): Ditto.
8231         (elmo-default-pop3-stream-type): Ditto.
8232         (elmo-network-stream-type-alist): Ditto.
8233         (elmo-default-imap4-ssl): Abolished.
8234         (elmo-default-nntp-ssl): Ditto.
8235         (elmo-default-pop3-ssl): Ditto.
8236
8237         * elmo-util.el: (toplevel): Removed needless requires.
8238         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8239         (elmo-open-network-stream): Open network stream according to
8240         the value of `elmo-network-stream-type-alist'.
8241         (elmo-get-network-stream-type): New function.
8242         (elmo-network-stream-type-spec-string): New macro.
8243         (elmo-network-stream-type-symbol): Ditto.
8244         (elmo-network-stream-type-function): Ditto.
8245
8246         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8247         network-stream-type. All other related portions are changed.
8248         (elmo-pop3-open-connection): Ditto.
8249
8250         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8251         network-stream-type. All other related portions are changed.
8252
8253         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8254         network-stream-type.All other related portions are changed.
8255         (elmo-imap4-error): New macro.
8256         (elmo-imap4-error-type): Ditto.
8257         (elmo-imap4-error-process): Ditto.
8258         (elmo-imap4-error-message): Ditto.
8259         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8260         (elmo-imap4-auth-cram-md5): Ditto.
8261         (elmo-imap4-auth-digest-md5): Ditto.
8262         (elmo-imap4-login): Ditto.
8263         (elmo-imap4-open-connection): Remove password entry if authentication
8264         was in vain.
8265         (elmo-imap4-user-at-host): Abolished.
8266         (elmo-imap4-password-key): New buffer local variable.
8267         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8268         using protocol, port, auth and stream-type.
8269
8270         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8271
8272 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8273
8274         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8275
8276         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8277
8278         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8279         (elmo-imap4-authenticator-alist): New variable.
8280         (elmo-imap4-open-connection-1): Rename from
8281         elmo-imap4-open-connection.
8282         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8283         only wraps elmo-imap4-open-connection-1.
8284         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8285         user-at-host.
8286         (elmo-imap4-auth-login): New function.
8287         (elmo-imap4-auth-cram-md5): New function.
8288         (elmo-imap4-auth-digest-md5): New function.
8289         (elmo-imap4-login): New function.
8290
8291 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8292
8293         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8294         function `error'.
8295
8296 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8297
8298         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8299
8300 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8301
8302         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8303
8304 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8305
8306         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8307         for server responses, quote `*' regardless of where it appears.
8308
8309 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8310
8311         * elmo-maildir.el (elmo-maildir-commit): New alias.
8312
8313 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8314
8315         * elmo-util.el (elmo-display-progress):
8316                 Use `progress-feedback-with-label'.
8317
8318 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8319
8320         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8321         (elmo-imap4-non-atom-char-regex): Ditto.
8322         (elmo-imap4-non-text-char-regex): Ditto.
8323         (elmo-imap4-literal-threshold): Ditto.
8324         (elmo-imap4-atom-p): New function.
8325         (elmo-imap4-quotable-p): Ditto.
8326         (elmo-imap4-nil): Ditto.
8327         (elmo-imap4-atom): Ditto.
8328         (elmo-imap4-quoted): Ditto.
8329         (elmo-imap4-literal-subr): Ditto.
8330         (elmo-imap4-literal): Ditto.
8331         (elmo-imap4-buffer-literal): Ditto.
8332         (elmo-imap4-string-subr): Ditto.
8333         (elmo-imap4-string): Ditto.
8334         (elmo-imap4-buffer-string): Ditto.
8335         (elmo-imap4-astring-subr): Ditto.
8336         (elmo-imap4-astring): Ditto.
8337         (elmo-imap4-buffer-astring): Ditto.
8338         (elmo-imap4-nstring): Ditto.
8339         (elmo-imap4-buffer-nstring): Ditto.
8340         (elmo-imap4-mailbox): New alias.
8341         (elmo-imap4-field-body): Ditto.
8342         (elmo-imap4-userid): Ditto.
8343         (elmo-imap4-password): Ditto.
8344         (elmo-imap4-format-quoted): New function.
8345         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8346         arguments and handle "atom", "quoted" and "literal" string here.
8347         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8348         `elmo-imap4-send-command'.
8349         (elmo-imap4-folder-exists-p): Likewise.
8350         (elmo-imap4-create-folder): Likewise.
8351         (elmo-imap4-delete-folder): Likewise.
8352         (elmo-imap4-rename-folder): Likewise.
8353         (elmo-imap4-max-of-folder): Likewise.
8354         (elmo-imap4-check-validity): Likewise.
8355         (elmo-imap4-sync-validity): Likewise.
8356         (elmo-imap4-server-diff): Likewise.
8357         (elmo-imap4-select-folder): Likewise.
8358         (elmo-imap4-copy-msgs): Likewise.
8359         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8360         (elmo-imap4-mark-set-on-msgs): Likewise.
8361         (elmo-imap4-read-part): Likewise.
8362         (elmo-imap4-read-msg): Likewise.
8363         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8364         `elmo-imap4-password' for `elmo-imap4-send-command'.
8365         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8366         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8367         `elmo-imap4-buffer-literal'.
8368         (elmo-imap4-append-msg): Likewise.
8369
8370         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8371         `delete' for removing dead connection from the connection cache.
8372         Move deletion of the process buffer after that.
8373         (elmo-imap4-list): Change `defsubst' to `defun'.
8374         (elmo-imap4-commit): Make error message verbose.
8375         (elmo-imap4-search): Ditto.
8376         (elmo-imap4-list): Ditto.
8377         (elmo-imap4-select-folder): Ditto.
8378         (elmo-imap4-copy-msgs): Ditto.
8379         (elmo-imap4-delete-msg-by-id): Ditto.
8380         (elmo-imap4-append-msg-by-id): Ditto.
8381         (elmo-imap4-append-msg): Ditto.
8382
8383 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8384
8385         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8386         when dired is used on XEmacs.
8387
8388 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8389
8390         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8391         instead of `append'.
8392         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8393         `elmo-plugged-p' directly.
8394         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8395         of `elmo-plugged-p' directly.
8396
8397         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8398         Eliminate unused variable.  Use `memq' for checking a process status.
8399         Use `cons' instead of `append' for updating the connection cache.
8400         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8401         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8402
8403 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8404
8405         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8406         `elmo-imap4-read-point' exactly.
8407
8408         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8409         the local variable `folder' to `mailbox'.
8410         Rename the argument `fld' to `folder'.
8411
8412 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8413
8414         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8415         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8416
8417 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8418
8419         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8420         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8421         (elmo-pop3-uidl-number-hash): Ditto.
8422         (elmo-pop3-size-hash): Ditto.
8423         (elmo-pop3-uidl-done): Ditto.
8424         (elmo-pop3-list-done): Ditto.
8425         (elmo-pop3-connection-get-process): New defmacro.
8426         (elmo-pop3-connection-get-buffer): Ditto.
8427         (elmo-pop3-close-connection): Delete buffer and process.
8428         (elmo-pop3-flush-connection): Don't delete buffer and process.
8429         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8430         Setup UIDL and size hash.
8431         (elmo-pop3-send-command-no-erase): Deleted
8432         (elmo-pop3-send-command): Added optional argument `no-erase'.
8433         (elmo-pop3-parse-uidl-response): New function.
8434         (elmo-pop3-parse-list-response): Set size hash.
8435         (elmo-pop3-list-location): New function.
8436         (elmo-pop3-list-by-uidl-subr): Ditto.
8437         (elmo-pop3-list-by-list): Ditto.
8438         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8439         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8440         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8441         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8442         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8443         Use uidl.
8444         (elmo-pop3-uidl-to-number): New function.
8445         (elmo-pop3-number-to-uidl): Ditto.
8446         (elmo-pop3-number-to-size): Ditto.
8447         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8448         Set number by use of uidl.
8449         (elmo-pop3-msgdb-create-message): Likewise.
8450         Set size, loc-alist in msgdb.
8451         (elmo-pop3-read-msg): Set number by use of uidl.
8452         Added optional argument `msgdb'.
8453         (elmo-pop3-delete-msg): Ditto.
8454         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8455         (elmo-pop3-commit): Close connection.
8456
8457         * elmo-pipe.el (elmo-pipe-max-of-folder):
8458         Bind `elmo-pop3-use-uidl' as nil.
8459         (elmo-pipe-drain): Ditto.
8460         Call `elmo-commit'.
8461
8462         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8463         (elmo-msgdb-overview-entity-set-size): New defsubst.
8464
8465 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8466
8467         * elmo-vars.el (elmo-use-killed-list): New variable
8468         (Renamed from `elmo-nntp-use-killed-list').
8469         (elmo-nntp-use-killed-list): Eliminated.
8470
8471         * elmo-msgdb.el (elmo-msgdb-expand-path):
8472         Changed expanding msgdb path for elmo-multi.
8473
8474         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8475         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8476         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8477         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8478         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8479         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8480         (toplevel): Deleted time-stamp line.
8481
8482         * elmo2.el (elmo-clear-killed ): Defined as function
8483         (Abolished defining as a backend function).
8484         All other related modules are changed.
8485
8486 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8487
8488         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8489
8490 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8491
8492         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8493
8494 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8495
8496         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8497
8498 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8499
8500         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8501         asynchronous folder check.
8502
8503         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8504
8505         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8506         `elmo-nntp-use-killed-list'.
8507         (elmo-nntp-list-folder): Use killed list.
8508         (elmo-nntp-max-of-folder): Ditto.
8509         (elmo-nntp-msgdb-create): Set killed list.
8510
8511         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8512
8513         * elmo2.el (elmo-clear-killed): New backend function.
8514         All other related modules are changed.
8515
8516 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8517
8518         * elmo-util.el (elmo-imap4-spec-folder): Use
8519         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8520         All callers changed.
8521
8522 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8523
8524         * mmelmo-2.el (initialize-instance):
8525         Use `mime-buffer-entity-buffer-internal' instead of
8526         `mime-entity-buffer'.
8527
8528         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8529         (mime-entity-body): Implemented.
8530         (mime-goto-header-start-point): Deleted.
8531         (mime-goto-body-end-point): Ditto.
8532         (mime-entity-point-min): Ditto.
8533         (mime-entity-point-max): Ditto.
8534         (mime-entity-children): Ditto.
8535         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8536         instead of `mime-entity-buffer'.
8537         (mime-entity-header-buffer): Ditto.
8538         (mime-entity-body-buffer): Ditto.
8539         (mime-write-entity-content): Ditto.
8540
8541         * pldap.el (ldap-static-if): New macro.
8542         (toplevel): Use it instead of `static-if'.
8543
8544 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8545
8546         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8547         included in `attrs' argument.
8548
8549 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8550
8551         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8552
8553         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8554         (ldap-ldif-safe-init-char-regexp): Ditto.
8555         (ldap-ldif-safe-string-regexp): Ditto.
8556         (ldap/ldif-safe-string-p): New macro.
8557         (ldap/ldif-insert-field): Ditto.
8558         (ldap-modify): Use it.
8559         (ldap-add): Ditto.
8560         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8561         (ldap-decode-attribute): Decode only when `attr' is consp.
8562         (ldap-delete): Bind `ret'.
8563         (toplevel): Require 'cl at compile time.
8564         Removed (require 'poe) and (require 'std11).
8565         (pldap-version): Eliminated.
8566         (ldap-search-basic): Removed auth and dn binding.
8567         (ldap-ldif-field-name-regexp): New constant.
8568         (ldap-ldif-field-head-regexp): Ditto.
8569         (ldap-ldif-next-field-head-regexp): Ditto.
8570         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8571         (ldap/field-end): New function.
8572         (ldap/field-body): Use it.
8573         (ldap/collect-field): Ditto.
8574         (ldap-search-basic): Use `ldap/field-body'.
8575
8576 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8577
8578         * pldap.el (ldap-default-attribute-encoder): New user option.
8579         (ldap/field-body): Decode base64 string.
8580         (ldap/collect-field): Ditto.
8581         (ldap-encode-attribute): New function.
8582         (ldap-add-entries): Use it.
8583         (ldap-modify-entries): Ditto.
8584         (ldap-search-entries): Enclosed decoding function with
8585         `with-temp-buffer' and set as unibyte.
8586         (ldap-search-basic): Set process buffer as unibyte.
8587
8588         * elmo-util.el (elmo-folder-identical-system-p):
8589         Eliminated name space checking.
8590
8591         * pldap.el: New module.
8592         toplevel: Changed condition to detect built-in ldap feature.
8593         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8594         (ldap-add): Added error handling.
8595         (ldap-modify): Ditto.
8596         (ldap-delete): Ditto.
8597
8598 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8599
8600         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8601         Initialize local variables with `let'.  Inline a temporary
8602         variable for the progress percentage.  Sort `setq' to reduce
8603         function call in the while-loop.
8604
8605         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8606         into the conditional branch.
8607
8608 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8609
8610         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8611         Move a conditional out of the while-loop.
8612
8613 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8614
8615         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8616         elmo-msgdb-overview-get-entity-by-number.
8617         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8618         throw.
8619
8620 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8621
8622         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8623         the local variable for a packed number self descriptively.
8624
8625 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8626
8627         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8628         * elmo-localdir.el (elmo-localdir-pack-number): Use
8629         `elmo-msgdb-overview-get-entity' instead of
8630         `elmo-msgdb-overview-get-entity-by-number'.
8631         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8632         (elmo-msgdb-search-overview-entity): Removed.
8633         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8634         by message-id or number.
8635         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8636         instead of `elmo-msgdb-overview-get-entity-by-number'.
8637
8638 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8639
8640         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8641         non-nil, use hash table for overview.
8642         (elmo-hash-maximum-size): New variable.
8643         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8644         (elmo-msgdb-make-overview-hashtb): New function.
8645         (elmo-msgdb-clear-overview-hashtb): New function.
8646         (elmo-clear-hash-val): New macro.
8647         All other related modules are changed.
8648
8649 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8650
8651         * elmo2.el (elmo-move-msgs): If there's other message with
8652         same message-id, don't use cache.
8653
8654 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8655
8656         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8657         number is already packed.
8658
8659 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8660
8661         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8662
8663 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8664
8665         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8666         All other related modules are changed.
8667
8668 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8669
8670         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8671         of refiling failure on Maildir.
8672
8673 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8674
8675         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8676         decoded mime-charset with cache.
8677         (elmo-msgdb-overview-entity-get-from): Ditto.
8678         (elmo-msgdb-overview-entity-get-subject): Ditto.
8679         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8680
8681 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8682
8683         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8684         (elmo-remove-passwd): Fill password with 0 before erase.
8685         * elmo-vars.el (elmo-passwd-life-time): New variable.
8686
8687 \f
8688 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8689
8690         * elmo-cache.el (elmo-buffer-cache-add):
8691         Set message cache buffer as unibyte.
8692
8693 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8694
8695         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8696         become nil.
8697
8698 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8699
8700         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8701         when display is finished.
8702         (elmo-nntp-msgdb-create): Ditto.
8703         (elmo-nntp-groups-read-response): Ditto.
8704         (elmo-nntp-retrieve-headers): Ditto.
8705         (elmo-nntp-msgdb-create-message): Ditto.
8706         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8707         (elmo-pop3-msgdb-create-message): Ditto.
8708
8709 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8710
8711         * elmo-maildir.el (elmo-maildir-msgdb-create):
8712         Use `elmo-msgdb-sort-by-date'.
8713
8714 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8715
8716         * elmo2.el (elmo-read-msg-no-cache):
8717         Eliminated arguments after `outbuf'.
8718         Don't use cache even if it exists.
8719         (elmo-read-msg): Don't pass arguments after `outbuf' to
8720         `elmo-read-msg-no-cache'.
8721
8722 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8723
8724         * elmo-archive.el (elmo-archive-list-folders):
8725         Use `file-name-directory' if base folder does not exist.
8726
8727 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8728
8729         * elmo-archive.el (elmo-archive-list-folders): Don't use
8730         `file-name-directory'.
8731
8732 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8733
8734         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8735         If `force' is non-nil, try flushing all operation queues.
8736
8737 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8738
8739         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8740         as-binary-process.
8741
8742 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8743
8744         * elmo-util.el (elmo-display-progress): Fixed.
8745
8746 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8747
8748         * elmo-util.el (elmo-display-progress): New function.
8749         All other related modules are changed.