* elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
4         customization type.
5         (elmo-mailing-list-count-spec-list): Ditto.
6
7         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
8         for `list-id'.
9
10 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
11
12         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
13         handling.
14
15 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
16
17         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
18         (elmo-mailing-list-count-spec-list): Ditto.
19
20         * elmo-util.el (elmo-map-until-success): New function.
21         (elmo-string-match-substring): Ditto.
22         (elmo-find-list-match-value): Ditto.
23
24         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
25         Removed.
26         (modb-entity-extract-ml-info-from-subject): Ditto.
27         (modb-entity-extract-ml-info-from-return-path): Ditto.
28         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
29         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
30         (modb-entity-extract-ml-info-from-mailman): Ditto.
31         (modb-entity-extract-mailing-list-info-functions): Ditto.
32         (modb-entity-extract-mailing-list-info): Rewrite with
33         `elmo-find-list-match-value'.
34
35 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
36
37         * elmo-net.el (elmo-network-session-retry-count): New user option.
38         (elmo-network-session-buffer-name): New internal function.
39         (elmo-network-session-buffer-create): Ditto.
40         (elmo-network-open-session): Retry open network session
41         `elmo-network-session-retry-count' times.
42
43 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
44
45         * elmo-util.el (elmo-list-filter): Rewritten.
46
47 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
48
49         * elmo-util.el (elmo-string-member): Allow symbol element in list.
50
51 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
52
53         * elmo-search.el (elmo-make-search-engine): Use prefix
54         `elmo-search-' for require symbol instead of `else-'.
55         (elmo-search-engine-extprog): New class.
56         (elmo-search-engine-do-search): Remove nil from argument
57         list. Added argument pattern to evaluate element as function.
58         (elmo-search-engine-local-file): Derived from
59         `elmo-search-engine-extprog'.
60         (elmo-search-engine-create-message-entity): Check existance of file.
61         (elmo-search-engine-fetch-message): Ditto.
62         (elmo-search-namazu-index): Follow the API change.
63         (elmo-search-grep-target): Ditto.
64
65 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
66
67         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
68         characters of working buffer.
69
70         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
71         Does not bind `default-mime-charset'.
72         (elmo-msgdb-create-message-entity-from-buffer): Removed
73         unnecessary local bind.
74
75         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
76         function.
77         (modb-entity-extract-mailing-list-info-functions): Added it.
78
79 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
80
81         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
82         when number and message-id are non-nil.
83
84         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
85
86         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
87         conditional steatment.
88         (elmo-pop3-auth-apop): Likewise.
89         (elmo-network-authenticate-session): Likewise.
90
91 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
92
93         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
94         symbol `fill-column'.
95         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
96         decode field value.
97
98         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
99         (elmo-decoded-field-body): Ditto.
100
101 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
102
103         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
104         `tokens' to `params'.
105
106 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
109         working buffer.
110
111 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
112
113         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
114         decide index.
115
116 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
117
118         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
119         Set default value as nil.
120         (toplevel): Register search engines by
121         `elmo-search-register-engine' if there are not defined.
122
123         * elmo.el (autoload): Added autoload setting for
124         `elmo-search-register-engine'.
125
126 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
127
128         * elmo.el (toplevel): `[' is redefined as the prefix of the search
129         folder instead of nmz folder.
130         (elmo-nmz-default-index-path): Added obsolete variable setting.
131         (elmo-nmz-index-alias-alist): Ditto.
132         (elmo-nmz-use-drive-letter): Ditto.
133
134         * elmo-search.el (elmo-search-register-engine): New function.
135
136         * elmo-nmz.el: Removed.
137
138         * elmo-version.el (elmo-version): Up to 2.15.2.
139
140 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
141
142         * elmo-search.el: New file.
143
144 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
145
146         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
147         condition `larger' and `smaller'.
148
149 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
150
151         * elmo-util.el (elmo-safe-filename): Rewrite to replace
152         `"' (double quote) into "_Q_".
153
154 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
155
156         * elmo-net.el (elmo-net-quote-chars): Abolish.
157         (elmo-net-format-quoted): Ditto.
158
159 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
160
161         * elmo.el (elmo-get-folder-function): New variable.
162         (elmo-get-folder): New function.
163         (elmo-folder-rename): Call `elmo-make-folder' with specified
164         mime-charset.
165
166         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
167         `elmo-make-folder'.
168         (elmo-split-subr): Ditto.
169
170         * elmo-multi.el (elmo-folder-initialize): Ditto.
171
172         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
173
174         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
175         (elmo-flag-get-folder): Ditto.
176
177         * elmo-filter.el (elmo-folder-initialize): Ditto.
178
179         * elmo-access.el (elmo-folder-initialize): Ditto.
180         (elmo-access-folder-update-children): Ditto.
181
182         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
183         (elmo-dop-queue-flush): Ditto.
184         (elmo-folder-append-buffer-dop-delayed): Ditto.
185         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
186         mime-charset.
187
188         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
189         instead of `elmo-make-folder'.
190         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
191         destination folder instead of send `elmo-folder-rename-internal'.
192
193         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
194         slot of subfolder instead of create it.
195
196 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
197
198         * elmo-util.el (elmo-collect-separators): New function.
199         (elmo-collect-separators-internal): Ditto.
200         (elmo-collect-trail-separators): Ditto.
201         (elmo-parse-separated-tokens): Ditto.
202         (elmo-parse-separated-tokens-internal): Ditto.
203         (elmo-quote-syntactical-element): Ditto.
204
205         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
206         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
207
208         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
209         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
210         (elmo-nntp-folder-list-subfolders): Quote a user name.
211
212         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
213         (elmo-net-parse-network): Abolish.
214         (elmo-net-folder-set-parameters): New function.
215         (elmo-folder-initialize): Follow the above change.
216
217         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
218         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
219         (elmo-folder-list-subfolders): Use
220         `elmo-quote-syntactical-element' instead of
221         `elmo-net-format-quoted' to quote mailbox and user name.
222
223 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * elmo-util.el (elmo-token-valid-p): New function.
226         (elmo-parse-token): Add optional argument `requirement'.
227         (elmo-parse-prefixed-element): Likewise.
228
229         * elmo-net.el (elmo-net-quote-chars): Renamed from
230         `elmo-net-quote-chars-regexp'.
231         (elmo-net-format-quoted): Add optional argument `extra-chars'.
232
233         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
234         by info document. Check token `uidl' is started an alphabet.
235
236         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
237         by info document. Check token `user' is started an alphabet.
238
239         * elmo-imap4.el (elmo-folder-initialize): Ditto.
240         (elmo-folder-list-subfolders): Quote user.
241
242 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
243
244         * elmo-util.el (elmo-quoted-specials-list): New constant.
245         (elmo-quoted-token): New function.
246
247         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
248         (elmo-net-format-quoted): New function.
249         (elmo-net-parse-network): Ditto.
250         (elmo-folder-initialize): Use it.
251
252         * elmo-nntp.el (elmo-folder-initialize): Use
253         `elmo-net-parse-network' to parse network specification instead of
254         `elmo-folder-initialize#elmo-net'.
255
256         * elmo-pop3.el (elmo-folder-initialize): Ditto.
257
258         * elmo-imap4.el (elmo-folder-initialize): Ditto.
259         (elmo-folder-list-subfolders): Quote folder name by
260         `elmo-net-format-quoted'.
261
262 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
263
264         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
265         (elmo-folder-search): Use it.
266
267 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
268
269         * modb-standard.el (modb-standard-loaded-message-id): Use
270         `elmo-msgdb-message-entity-field'.
271
272 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
275         without filename.
276
277 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
278
279         * elmo-util.el (elmo-set-auto-coding): New function.
280         (elmo-object-load): Use it.
281
282 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
283
284         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
285         (elmo-time<): Define as alias of `elmo-time-less-p'.
286         (elmo-time-to-datevec): New function.
287
288         * elmo-date.el (elmo-time-to-days): New function.
289
290 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
293         is not cons cell.
294
295 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
296
297         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
298         parenthesis.
299
300         * elmo-util.el (elmo-map-recursive): New function.
301
302         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
303         (modb-entity-encode-string-recursive): Ditto.
304
305 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
306
307         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
308         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
309         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
310         compare sequence number when last modified time is nil.
311
312 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
313
314         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
315
316         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
317
318 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
319
320         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
321         modification time of the file.
322
323 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
324
325         * elmo-util.el (elmo-condition-optimize): Discriminated against
326         preserved fields, extra fields and the other weight.
327
328 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
329
330         * modb-entity.el (initialize-instance): Define.
331         (modb-entity-handler-mime-charset): New internal function.
332         (modb-standard-entity-set-field): Use it.
333         (elmo-msgdb-message-entity-field): Ditto.
334         (elmo-msgdb-message-entity-field): Ditto.
335
336         * modb.el (elmo-msgdb-match-condition): Rewrite with
337         `elmo-condition-match'.
338         (elmo-msgdb-match-condition-primitive): New function.
339
340         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
341         arguments `flags' and `numbers'.
342         (elmo-msgdb-match-condition-primitive): Abolished (merged to
343         `elmo-msgdb-message-match-condition').
344         (modb-buffer-entity-handler): New class.
345
346         * elmo.el (elmo-folder-search): Optimize condition to use
347         `elmo-condition-optimize'.
348         (elmo-message-buffer-match-condition): New function.
349         (elmo-message-match-condition): Use
350         `elmo-message-buffer-match-condition' instead of
351         `elmo-buffer-field-condition-match'.
352
353         * elmo-util.el (elmo-condition-match): New function.
354         (elmo-condition-optimize): Ditto.
355         (elmo-buffer-field-primitive-condition-match): Abolish.
356         (elmo-buffer-field-condition-match): Ditto.
357
358         * elmo-archive.el (elmo-archive-field-condition-match): Use
359         `elmo-message-buffer-match-condition' instead of
360         `elmo-buffer-field-condition-match'.
361
362 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
363
364         * elmo-flag.el (elmo-global-flags-initialize): Check the
365         existence of the flag directory.
366
367 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
368
369         * elmo-access.el (elmo-folder-initialize): Call
370         `elmo-multi-connect-signals'.
371
372         * elmo-pipe.el (elmo-folder-close): Define.
373
374         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
375         children folders.
376
377         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
378         with target folder.
379
380         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
381         `number'.
382
383         * elmo-multi.el (elmo-message-entity): Don't use return value of
384         `elmo-message-entity-set-number'.
385
386 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
387
388         * modb.el (modb-generic): Added slot `mime-charset'.
389
390         * modb-standard.el (modb-standard): Added slot `overview-handler'.
391         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
392         and `modb-entity-handler-dump-parameters'.
393         (modb-standard-default-entity-handler): Abolish.
394         (elmo-msgdb-message-entity-handler): Save created handler by
395         instance slot.
396
397         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
398         (modb-entity-handler-list-parameters): New method.
399         (modb-entity-handler-equal-p): New function.
400         (modb-entity-handler-dump-parameters): Ditto.
401         (modb-entity-parse-address-string): Encode return value.
402         (modb-entity-make-address-string): Decode argument value.
403         (modb-entity-decode-string-recursive): New function.
404         (modb-entity-encode-string-recursive): Ditto.
405         (modb-standard-entity-normalizer): Set to encode field value.
406         (modb-standard-entity-specializer): Follow the above change.
407         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
408         mime-charset of handler.
409         (elmo-msgdb-message-entity-field): Ditto.
410         (elmo-msgdb-copy-message-entity): Fixed reference to internal
411         structure.
412         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
413
414         * elmo.el (elmo-folder): Added slot `mime-charset'.
415         (elmo-make-folder): Added argument `mime-charset'.
416         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
417         `mime-charest'.
418
419         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
420         (elmo-make-msgdb): Likewise.
421
422         * elmo-internal.el (elmo-internal-folder-initialize): Call
423         `luna-make-entity' with :mime-charset parameter.
424
425 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
426
427         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
428         encoded words in `from' and `subject' field.
429
430 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
431
432         * modb.el (elmo-msgdb-message-field): Add argument `type'.
433         (elmo-msgdb-match-condition): Get handler from entity instead of
434         msgdb.
435
436         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
437         (modb-standard-load-entity): Treat new file format.
438         (modb-standard-save-entity-1): Save as new file format.
439         (modb-standard-save-entity): Split messages into section here.
440         (elmo-msgdb-message-field): Follow the API change.
441         (modb-standard-default-entity-handler): New internal variable.
442         (elmo-msgdb-message-entity-handler): Define.
443
444         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
445         to `elmo-vars.el'.
446         (modb-entity-field-extractor-alist): New user option.
447         (elmo-msgdb-message-entity-field): Removed argument `decode' and
448         added argument `type'.
449         (elmo-msgdb-copy-message-entity): Add optional argument
450         `make-handler'.
451         (modb-set-field-converter): New function.
452         (modb-convert-field-value): Ditto.
453         (modb-entity-string-decoder): Ditto.
454         (modb-entity-string-encoder): Ditto.
455         (modb-entity-parse-date-string): Ditto.
456         (modb-entity-make-date-string): Ditto.
457         (modb-entity-mime-decoder): Ditto.
458         (modb-entity-mime-encoder): Ditto.
459         (modb-entity-address-list-decoder): Ditto.
460         (modb-entity-address-list-encoder): Ditto.
461         (modb-entity-parse-address-string): Ditto.
462         (modb-entity-make-address-string): Ditto.
463         (modb-entity-create-field-indices): Ditto.
464         (modb-legacy-entity-field-slots): New constant.
465         (modb-legacy-entity-field-indices): Ditto.
466         (modb-legacy-entity-normalizer): New variable.
467         (modb-legacy-entity-specializer): Ditto.
468         (modb-legacy-entity-field-index): New macro.
469         (modb-legacy-entity-set-field): New function.
470         (modb-legacy-make-message-entity): Rewrite.
471         (elmo-msgdb-create-message-entity-from-buffer): Use
472         `elmo-msgdb-get-references-from-buffer'. Use
473         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
474         Use `modb-legacy-entity-set-field' instead of
475         `elmo-msgdb-message-entity-set-field'.
476         (elmo-msgdb-message-entity-field): Rewrite.
477         (elmo-msgdb-message-entity-set-field): Ditto.
478         (elmo-msgdb-copy-message-entity): Make new entity by
479         `make-handler' if it specified.
480         (elmo-msgdb-message-match-condition): Define a method of
481         `modb-entity-handler' and follow the API change.
482         (modb-standard-entity-handler): New class.
483         (modb-entity-extract-ml-info-from-x-sequence): New function.
484         (modb-entity-extract-ml-info-from-subject): Ditto.
485         (modb-entity-extract-ml-info-from-return-path): Ditto.
486         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
487         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
488         (modb-entity-extract-mailing-list-info): Ditto.
489         (modb-entity-extract-mailing-list-info-functions): New variable.
490
491         * elmo.el (elmo-message-field): Add optional argument `type'.
492
493         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
494         from `modb-entity.el'.
495
496         * elmo-util.el (elmo-object-load): Decode by coding-system from
497         `set-auto-coding-function'.
498         (elmo-object-save): Use `detect-mime-charset-region' and add
499         coding cookie if encode.
500         (elmo-msgdb-get-references-from-buffer): New function.
501         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
502
503         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
504
505         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
506         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
507         instead of `shimbun-make-header' and follow the API change.
508         (elmo-shimbun-update-overview): Follow the API change.
509         (elmo-map-folder-list-message-locations): Ditto.
510
511         * elmo-pipe.el (elmo-message-field): Ditto.
512
513         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
514         Ditto.
515
516         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
517
518         * elmo-multi.el (elmo-message-field): Ditto.
519
520         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
521         (elmo-msgdb-sort-by-date): Ditto.
522         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
523         `elmo-message-entity-field'.
524         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
525         change.
526         (elmo-msgdb-overview-entity-get-from): Ditto.
527         (elmo-msgdb-overview-entity-get-subject): Ditto.
528         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
529         (elmo-msgdb-overview-entity-get-date): Ditto.
530         (elmo-msgdb-overview-entity-get-to): Ditto.
531         (elmo-msgdb-overview-entity-get-cc): Ditto.
532
533         * elmo-mime.el (elmo-message-mime-entity): Ditto.
534         (elmo-mime-collect-message/partial-pieces): Ditto.
535
536         * elmo-filter.el (elmo-message-field): Ditto.
537
538         * elmo-date.el (elmo-datevec-to-time): New function.
539         (elmo-time-parse-date-string): Ditto.
540         (elmo-time-make-date-string): Ditto.
541         (elmo-time<): Ditto.
542
543         * elmo-version.el (elmo-version): Up to 2.15.1.
544
545 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
546
547         * elmo-flag.el (elmo-global-flags-initialize): Don't include
548         member of elmo-local-flags.
549
550 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
551
552         * elmo-version.el (elmo-version): Up to 2.15.0.
553
554 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
555
556         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
557         `ignore-msgdb' is non-nil.
558
559 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
560
561         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
562         (elmo-condition-in-msgdb-p): Ditto.
563         (elmo-file-field-primitive-condition-match): Ditto.
564         (elmo-file-field-condition-match): Ditto.
565
566         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
567
568 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
569
570         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
571         subdirectories here.
572         (elmo-global-flags-initialize): New function.
573
574         * elmo.el (toplevel): Added autoload setting for
575         `elmo-global-flags-initialize'.
576
577 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
578
579         * elmo.el (message-number-changed): Define new signal.
580         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
581         message-number-changed signal.
582         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
583         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
584         Respect `elmo-pack-number-check-strict'.
585
586 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
587
588         * elmo-signal.el (elmo-connect-signal): Document.
589         (elmo-emit-signal): Ditto.
590         (elmo-emit-signal): It should pass source argument to filter and
591         handler, not slot-source.
592
593 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
594
595         * modb.el (elmo-msgdb-update-entity): New API and define generic
596         implement.
597
598         * modb-standard.el (elmo-msgdb-update-entity): Define.
599
600         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
601         API and define generic implement.
602
603         * elmo.el (update-overview): New singnal.
604
605         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
606         `elmo-msgdb-update-entity' and emit signal `update-overview'.
607         (elmo-message-entity-parent): Define.
608
609         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
610         `update-overview'.
611
612         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
613
614         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
615
616 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
617
618         * elmo.el (elmo-folder-synchronize): Sort the return value of
619         `elmo-list-diff'.
620
621         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
622         list.
623
624 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
625
626         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
627         `default-enable-multibyte-characters'.
628         (elmo-object-load): Use `with-temp-buffer' instead of
629         `elmo-set-work-buf'.
630         (elmo-object-save): Ditto.
631         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
632         `elmo-set-work-buf'.
633         (elmo-decoded-field-body): Ditto.
634
635         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
636
637         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
638         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
639
640         * elmo-version.el (elmo-version): Up to 2.13.3.
641
642 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
643
644         * elmo-util.el (elmo-list-diff): Fix the last change.
645         Reverse order of result lists.
646
647 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
648
649         * modb-standard.el (elmo-msgdb-set-flag): Use
650         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
651         (elmo-msgdb-unset-flag): Ditto.
652
653         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
654         `elmo-list-diff'.
655
656         * elmo-util.el (elmo-list-diff): Rewrite.
657         (elmo-list-diff-nonsortable): New function.
658
659 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
660
661         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
662         `elmo-multibypte-buffer-name'.  All referers are updated.
663
664 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
665
666         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
667         (elmo-mime-entity-fragment-p): New function.
668         (mime-elmo-buffer-entity): Added slot `reassembled'.
669         (elmo-message-mime-entity): Added 4th argument `reassemble'.
670         (elmo-message-mime-entity-internal): New function (renamed from
671         `elmo-message-mime-entity').
672         (elmo-mime-inherit-field-list-from-enclosed): New constant.
673         (elmo-mime-make-reassembled-mime-entity): New function.
674         (elmo-message-reassembled-mime-entity): Ditto.
675         (elmo-mime-collect-message/partial-pieces): Ditto.
676
677 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
678
679         * elmo.el (elmo-message-fetch-string): Disable multibyte.
680
681         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
682         (elmo-with-enable-multibyte): New macro.
683
684         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
685
686 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
687
688         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
689         argument `number'.
690         (elmo-filter-connect-signals): Follow the above change.
691
692 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
693
694         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
695
696         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
697         that only the first flag is used.
698
699 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
700
701         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
702         if available.
703
704 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * elmo-signal.el: New file.
707
708         * elmo.el (toplevel): Require elmo-signal.
709         (flag-changing, flag-changed, cache-changed): New signal.
710         (elmo-folder): Remove slog `handlers'.
711         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
712         `elmo-folder-notify-event'.
713         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
714         (elmo-folder-unset-flag): Ditto.
715         (elmo-event-handler): Abolish.
716         (elmo-event-handler-flag-changed): Ditto.
717         (elmo-event-handler-cache-changed): Ditto.
718         (elmo-folder-add-handler): Ditto.
719         (elmo-folder-remove-handler): Ditto.
720         (elmo-folder-notify-event): Ditto.
721
722         * elmo-pipe.el (toplevel): Require elmo-signal.
723         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
724         (elmo-pipe-connect-signals): New function.
725         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
726         (elmo-folder-set-flag): Ditto.
727         (elmo-folder-unset-flag): Ditto.
728         (elmo-message-set-cached): Ditto.
729
730         * elmo-multi.el (toplevel): Require elmo-signal.
731         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
732         (elmo-multi-connect-signals): New function.
733         (elmo-multi-map-numbers): Ditto.
734         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
735         (elmo-message-fetch): Ditto.
736         (elmo-folder-set-flag): Ditto.
737         (elmo-folder-unset-flag): Ditto.
738
739         * elmo-filter.el (toplevel): Require elmo-signal.
740         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
741         (elmo-filter-connect-signals): New function.
742         (elmo-filter-add-flag-count): Ditto.
743         (elmo-message-fetch): Does not call
744         `elmo-filter-folder-countup-message-flags' and
745         `elmo-folder-notify-event'.
746         (elmo-message-set-cached): Ditto.
747         (elmo-folder-set-flag): Ditto.
748         (elmo-folder-unset-flag): Ditto.
749
750         * elmo-version.el (elmo-version): Up to 2.13.2.
751
752 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
755         `flags'.
756
757 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo-filter.el (elmo-message-set-cached): Call
760         `elmo-folder-notify-event' with event `cache-changed'.
761
762         * elmo-multi.el (elmo-message-set-cached): Ditto.
763
764         * elmo-pipe.el (elmo-message-set-cached): Ditto.
765
766 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
767
768         * elmo.el (elmo-folder-encache): Abolish.
769
770 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
771
772         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
773         (elmo-folder-next-message-number-dop): Return appropriate negative
774         integer.
775
776 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
777
778         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
779         clearing pending operations.
780         (elmo-folder-next-message-number-dop): Return appropriate negative
781         integer.
782
783 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
784
785         * elmo.el (toplevel): Added autoload setting for `md5'.
786         (elmo-msgdb-path-encode-threshold): New user option.
787         (elmo-folder-msgdb-path): Encode msgdb path if its length is
788         longer than `elmo-msgdb-path-encode-threshold'.
789
790         * elmo-flag.el (elmo-global-mark-migrate): Use
791         `elmo-folder-expand-msgdb-path' instead of
792         `elmo-folder-msgdb-path'.
793
794 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
795
796         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
797         element of the difference is nil.
798
799 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
800
801         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
802         to the check logic of file systems which are weak in colon character.
803
804 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
805
806         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
807
808 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
809
810         * elmo-maildir.el (elmo-maildir-move-file): New function.
811         (elmo-folder-append-buffer): Use it.
812         (elmo-folder-append-messages): Ditto.
813         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
814
815         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
816         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
817
818         * elmo-maildir.el (elmo-maildir-separator): New user option.
819         (elmo-maildir-adjust-separator): New macro.
820         (elmo-maildir-list-location): Use it.
821         (elmo-maildir-update-current): Ditto.
822         (elmo-maildir-set-mark): Ditto.
823         (elmo-maildir-delete-mark): Ditto.
824         (These changes are based on Hiroya Murata's patch [wl: 13437])
825
826 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
829
830 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
831
832         * elmo-flag.el (elmo-flag-valid-p): Simplify.
833         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
834         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
835
836 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
837
838         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
839         Use `with-temp-buffer'.
840
841 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
842
843         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
844
845         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
846         `wl-read-search-condition').
847         (elmo-read-search-condition-internal): Likewise.
848
849         * elmo-flag.el (elmo-flag-char-regexp): New constant.
850         (elmo-flag-valid-p): New function.
851         (elmo-folder-initialize): Check flag name is valid.
852
853 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
854
855         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
856         delimiter to obtain root mailbox itself.
857
858 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
859
860         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
861         type mismatch.
862
863 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
864
865         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
866         as t.
867
868 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
869
870         * elmo-shimbun.el (toplevel): Require cl at compile.
871
872         * elmo-nntp.el (toplevel): Ditto.
873
874         * elmo-nmz.el (toplevel): Ditto.
875
876         * elmo-multi.el (toplevel): Ditto.
877
878         * elmo-file.el (toplevel): Ditto.
879
880         * elmo-dop.el (toplevel): Ditto.
881
882         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
883
884 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
885
886         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
887         as nil.
888
889         * elmo.el (elmo-message-fetch): Return t even when the output buffer
890         size of elmo-message-fetch-internal is 0 byte.
891
892 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
893
894         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
895
896 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
897
898         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
899         always plugged.
900
901 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
902
903         * elmo-maildir.el (elmo-map-message-fetch): Call
904         `elmo-map-folder-set-flag'.
905
906         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
907         (elmo-message-fetch): Merge from
908         `elmo-message-fetch-with-cache-process'.
909
910         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
911         (elmo-message-fetch): Define.
912
913         * elmo-nntp.el (elmo-message-fetch): Renamed from
914         `elmo-message-fetch-with-cache-process'.
915
916         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
917         (elmo-message-fetch): Define.
918
919         * elmo-util.el (elmo-condition-parse-primitive): Downcase
920         search-key.
921
922         * elmo-shimbun.el (shimbun-mua-search-id): Use
923         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
924         (elmo-shimbun-folder-shimbun-header): Ditto.
925         (elmo-shimbun-get-headers): Ditto.
926         (elmo-shimbun-update-overview): Ditto.
927
928         * elmo-pipe.el (elmo-folder-detach-messages): Define.
929
930         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
931         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
932
933 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
934
935         * elmo.el (elmo-message-fetch): Unset unread flag on server when
936         message is cached.
937         (elmo-message-fetch-string): Fixed argument.
938
939 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
942         exchange order of arguments `section' and `unread'.
943         (elmo-message-encache): Follow the API change.
944         (elmo-message-match-condition): Ditto.
945         (elmo-generic-folder-append-messages): Ditto.
946         (elmo-message-fetch-string): New function.
947
948         * elmo-split.el (elmo-split-subr): Ditto.
949
950         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
951
952         * elmo-pipe.el (elmo-message-fetch): Ditto.
953
954         * elmo-multi.el (elmo-message-fetch): Ditto.
955
956         * elmo-mime.el (elmo-message-mime-entity): Ditto.
957
958         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
959
960         * elmo-filter.el (elmo-message-fetch): Ditto.
961
962         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
963
964         * elmo-imap4.el (mime-imap-location-section-body): Use
965         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
966         follow the API change.
967
968 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
969
970         * elmo-access.el: New file.
971
972         * elmo-null.el: Ditto.
973
974         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
975
976 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
977
978         * elmo-net.el (elmo-network-session-idle-timeout): New option.
979         (elmo-network-session): New attribute `last-accessed'.
980         (elmo-network-get-session): Discard network cache if elapsed time
981         since last-accessed is larger than elmo-network-session-idle-timeout.
982
983 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
984
985         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
986         and added `number', `require-entireness'.
987         (elmo-find-fetch-strategy): Rewrite.
988         (elmo-message-fetch): Unset `unread' flag when argument unread is
989         non-nil.
990
991         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
992
993         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
994         (elmo-message-fetch): Notify event `flag-changed'.
995
996         * elmo-pipe.el: Likewise.
997
998         * elmo-mime.el (elmo-mime-entity): New class.
999         (elmo-mime-entity-display-p): New generic function.
1000         (elmo-mime-entity-display): Ditto.
1001         (elmo-mime-entity-display-as-is): Ditto.
1002         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1003         elmo-mime-entity.
1004         (elmo-make-mime-message-location): Removed.
1005         (elmo-mime-message-display): Ditto.
1006         (elmo-mime-display-as-is): Ditto.
1007         (elmo-message-mime-entity): New function.
1008
1009         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1010
1011         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1012         change.
1013         (elmo-message-fetch): Re-count flagged message number and notify
1014         event `flag-changed'.
1015
1016         * elmo-version.el (elmo-version): Up to 2.13.1.
1017
1018 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1019
1020         * elmo-filter.el (elmo-message-field): Define.
1021         (elmo-message-set-field): Ditto.
1022
1023 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo.el (elmo-message-set-cached): Call
1026         `elmo-folder-notify-event' with cache-changed.
1027         (elmo-event-handler-cache-changed): New generic function.
1028
1029 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1030
1031         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1032         instead of elmo-add-name-to-file.
1033         (elmo-folder-append-messages): Ditto.
1034
1035 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1036
1037         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1038
1039 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1040
1041         * elmo-version.el (elmo-version): Up to 2.13.0.
1042
1043         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1044         `auto'.
1045
1046         * modb-standard.el (modb-standard-economize-entity-size): Changed
1047         default value to `t'.
1048
1049         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1050         `standard'.
1051
1052         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1053         after parsing greeting string.
1054
1055 2004-11-23  Daishi Kato <daishi@axlight.com>
1056
1057         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1058         New user option.
1059         (elmo-spam-spamoracle-call): Use it.
1060
1061 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1062
1063         * elmo.el (elmo-message-accessible-p): Message in dop spool
1064         is accessible.
1065
1066 2004-11-23  Daishi Kato <daishi@axlight.com>
1067
1068         * elsp-spamoracle.el: New file.
1069
1070 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1071
1072         * elmo.el (elmo-message-flags-for-append): New function.
1073         (elmo-generic-folder-append-messages): Use it.
1074
1075         * elmo-split.el (elmo-split-subr): Ditto.
1076
1077         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1078         `flags' and use elmo-folder-append-buffer instead of
1079         write-region-as-binary.
1080         (elmo-dop-filter-pending-messages): New function.
1081         (elmo-folder-append-buffer-dop): Call
1082         elmo-dop-spool-folder-append-buffer with `flag'.
1083         (elmo-folder-set-flag-dop): Filter messages by
1084         elmo-dop-filter-pending-messages.
1085         (elmo-folder-unset-flag-dop): Ditto.
1086         (elmo-folder-append-buffer-dop-delayed): Use
1087         elmo-message-flags-for-append to get flags of the message and
1088         simplify.
1089
1090 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1091
1092         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1093
1094 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1095
1096         * elmo.el (elmo-folder): Added handlers slot.
1097         (elmo-event-handler): New class.
1098         (elmo-event-handler-flag-changed): New API.
1099         (elmo-folder-add-handler): New function.
1100         (elmo-folder-remove-handler): Ditto.
1101         (elmo-folder-notify-event): Ditto.
1102         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1103         `flag-changed'.
1104         (elmo-folder-unset-flag): Ditto.
1105
1106         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1107         (elmo-folder-unset-flag): Ditto.
1108
1109         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1110         (elmo-folder-unset-flag): Ditto.
1111
1112         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1113         (elmo-folder-unset-flag): Ditto.
1114
1115         * elmo-version.el (elmo-version): Up to 2.11.33.
1116
1117 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1118
1119         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1120
1121 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1122
1123         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1124
1125         * elmo-flag.el (elmo-folder-unset-flag): Define.
1126         (elmo-global-flag-detach): Do process when the flag is not target
1127         flag.
1128
1129 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1130
1131         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1132         variable.
1133         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1134
1135 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1136
1137         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1138         function.
1139         (elmo-folder-delete-messages): Detach messages before delete
1140         messages from target folder.
1141         (elmo-folder-detach-messages): Set updated number-list to slot.
1142
1143 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1146
1147 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1148
1149         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1150
1151 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1154         internal use only).
1155         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1156         not modified.
1157         (elmo-folder-delete-messages): Define.
1158         (elmo-folder-move-messages): Don't call
1159         `elmo-folder-detach-messages'.
1160         (elmo-folder-synchronize): Rewrite.
1161         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1162
1163         * elmo-util.el (elmo-last): New function.
1164         (elmo-set-list): Ditto.
1165         (elmo-number-set-delete-list): Ditto.
1166         (elmo-number-set-delete): Ditto.
1167
1168         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1169
1170         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1171         `elmo-folder-delete-messages' and don't delete location map.
1172         (elmo-folder-detach-messages): Define.
1173
1174         * elmo-imap4.el (elmo-folder-delete): Use
1175         `elmo-folder-delete-messages-internal' instead of
1176         `elmo-folder-delete-messages'.
1177
1178         * elmo-filter.el (elmo-folder-delete-messages): Call
1179         `elmo-folder-detach-messages'.
1180         (elmo-folder-detach-messages): Don't call
1181         `elmo-folder-detach-messages' for target folder.
1182
1183         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1184         message deletion is succeeded.
1185
1186         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1187
1188         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1189         from `elmo-folder-delete-messages'.
1190
1191         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1192
1193         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1194
1195         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1196
1197         * elmo-version.el (elmo-version): Up to 2.11.32.
1198
1199 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1200
1201         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1202         (elmo-global-flag-list): Added obsolete variable setting.
1203
1204         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1205
1206         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1207         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1208         `elmo-mime-display-header-analysis' is nil.
1209
1210         * elmo-flag.el (elmo-global-flags): Renamed from
1211         `elmo-global-flag-list' (All other related portions are changed).
1212         (elmo-local-flags): New variable.
1213         (elmo-local-flag-p): New function.
1214         (elmo-global-flag-set-internal): Cause an error when flag is not
1215         global.
1216
1217 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1218
1219         * elmo-util.el (elmo-concat-path): Treat empty path.
1220
1221 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1222
1223         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1224         field-or-fields).
1225         (elmo-split-address-match): Ditto.
1226         (elmo-split-equal): Ditto.
1227         (elmo-split-match): Ditto.
1228
1229 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1230
1231         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1232         (elmo-generic-folder-append-messages): If src message exists but
1233         has no flag, pass (read) for the FLAG argument of
1234         `elmo-folder-append-buffer'. Otherwise, pass nil.
1235
1236         * elmo-split.el (elmo-split-subr): Likewise.
1237
1238         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1239
1240         * elmo-multi.el (elmo-message-flags): Ditto.
1241
1242         * elmo-filter.el (elmo-message-flags): Ditto.
1243
1244         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1245         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1246         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1247         
1248 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1249
1250         * elmo-split.el (elmo-split-rule): Update comment.
1251         (elmo-split-address-equal): Allow 2nd argument to be a list.
1252         (elmo-split-address-match): Ditto.
1253         (elmo-split-equal): Ditto.
1254         (elmo-split-match): Ditto.
1255
1256 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1257
1258         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1259         (elmo-folder-append-msgdb): Don't treat `read'.
1260         (elmo-message-flags): Don't return `read'.
1261
1262         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1263         (elmo-folder-unset-read-delayed): Ditto.
1264
1265         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1266
1267 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1268
1269         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1270         deletion.
1271
1272 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1273
1274         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1275         header.
1276
1277 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1278
1279         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1280         here.
1281         (elmo-msgdb-save): Bind inhibit-quit.
1282         (modb-standard-message-entity): Ditto.
1283
1284 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1285
1286         * elmo-database.el: No need to require elmo-msgdb.
1287
1288 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1289
1290         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1291         instead of `elmo-list-subdirectories'.
1292
1293 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1294
1295         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1296         group entry.
1297         (elmo-folder-exists-p): "[" is empty.
1298         (elmo-folder-list-subfolders): Define.
1299         (elmo-folder-have-subfolder-p): Ditto.
1300
1301 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1302
1303         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1304
1305 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1306
1307         * elmo-filter.el (elmo-folder-local-p): Define.
1308
1309 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1310
1311         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1312         when entity is garbaged.
1313         (modb-standard-save-entity-1): Don't modify the original entity.
1314
1315 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1316
1317         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1318
1319 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1320
1321         * elmo.el (elmo-strict-folder-diff): Use
1322         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1323
1324 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1325
1326         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1327         (elmo-msgdb-message-number): Ditto.
1328         (elmo-msgdb-message-field): Ditto.
1329
1330         * modb-standard.el (modb-standard-economize-entity-size): New user
1331         option.
1332         (modb-standard-loaded-message-id): New inline function.
1333         (modb-standard-load-entity): Use it.
1334         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1335         throw message-id string away.
1336         (elmo-msgdb-flag-available-p): Define.
1337         (elmo-msgdb-message-number): Ditto.
1338         (elmo-msgdb-message-field): Ditto.
1339
1340         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1341         (suppoted -> supported).
1342         (modb-legacy-supported-flag-p): Ditto.
1343         (elmo-msgdb-set-flag): Ditto.
1344         (elmo-msgdb-unset-flag): Ditto.
1345         (elmo-msgdb-flag-available-p): Define.
1346
1347         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1348         is `t', treat it as legacy entity.
1349         
1350         * elmo.el (elmo-message-flag-available-p): New generic function.
1351         (elmo-message-number): Ditto.
1352         (elmo-message-field): Use `elmo-msgdb-message-field'.
1353
1354         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1355
1356         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1357         (elmo-message-number): Ditto.
1358
1359         * elmo-multi.el (elmo-message-number): Define.
1360         (elmo-message-flag-available-p): Ditto.
1361
1362         * elmo-filter.el (elmo-message-flag-available-p): Define.
1363         (elmo-message-number): Ditto.
1364
1365         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1366         (elmo-folder-initialize): Load `max-number'.
1367         (elmo-folder-commit): Save it.
1368         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1369         (elmo-global-flag-set-internal): Set up max-number slot.
1370
1371 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1372
1373         * elmo-version.el (elmo-version): Up to 2.11.31.
1374
1375 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1376
1377         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1378         unibyte string of the current buffer for the argument of `md5'
1379         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1380
1381 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1382
1383         * modb-legacy.el (modb-legacy-flag-list): New constant.
1384         (modb-legacy-suppoted-flag-p): New internal function.
1385         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1386         (elmo-msgdb-unset-flag): Ditto.
1387
1388 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1389
1390         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1391
1392         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1393         from msgdb.
1394
1395 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1396
1397         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1398         (follow the API change).
1399
1400         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1401
1402 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1403
1404         * modb-standard.el (modb-standard-digest-flags): Abolish.
1405         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1406
1407         * elmo-vars.el (elmo-digest-flags): New variable.
1408         (elmo-preserved-flags): Moved from elmo-flag.el.
1409
1410         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1411         (elmo-imap4-flag-to-imap-criteria): Ditto.
1412         (elmo-imap4-folder-list-flagged): Use it.
1413
1414         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1415
1416         * elmo.el (elmo-folder-count-flags): Changed return value.
1417
1418         * elmo-flag.el (elmo-preserved-flags): New variable.
1419         (elmo-get-global-flags): Use it.
1420
1421         * modb-standard.el (modb-standard-digest-flags): New variable.
1422         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1423         Changed behavior of `any'.
1424
1425         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1426         which are defined the Internet draft
1427         (draft-melnikov-imap-keywords-03.txt).
1428         (elmo-imap4-flags-to-imap): New function.
1429         (elmo-folder-append-buffer): Use it.
1430
1431         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1432         in the docstring.
1433
1434         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1435         avoid the bug of Emacs 21.3.
1436
1437 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1438
1439         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1440         function find-coding-system does not exist.
1441
1442 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1443
1444         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1445         parsing.
1446
1447 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1448
1449         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1450         response codes.
1451
1452 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1453
1454         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1455         (elmo-network-close-session): Follow the changes in
1456         `elmo-pop3-read-response'.
1457         (elmo-pop3-auth-user): Ditto.
1458         (elmo-pop3-auth-apop): Ditto.
1459         (elmo-network-initialize-session): Ditto.
1460         (elmo-network-authenticate-session): Ditto.
1461         (elmo-network-setup-session): Ditto.
1462         (elmo-folder-status): Ditto.
1463         (elmo-message-fetch-plugged): Ditto.
1464         (elmo-pop3-delete-msg): Ditto.
1465
1466 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1467
1468         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1469         on failure.
1470
1471 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1472
1473         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1474         style.
1475         (elmo-bind-directory): Ditto.
1476
1477 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1478
1479         * elmo.el (elmo-folder-append-messages): Note on return value.
1480         * elmo-archive.el (elmo-folder-append-messages): Don't return
1481         message numbers which could not be appended.
1482
1483 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1484
1485         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1486
1487 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1488
1489         * elmo-version.el (elmo-version): Up to 2.11.30.
1490
1491 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1492
1493         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1494         `mask'.
1495
1496         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1497
1498         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1499         (elmo-multi-split-numbers): Add elmo-folder object into each
1500         element of return value at first.
1501         (elmo-folder-delete-messages): Follow the above change.
1502         (elmo-folder-detach-messages): Ditto.
1503
1504         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1505         number which is synchronized in target folder.
1506
1507 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1508
1509         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1510         Change default value to symbol `all'.
1511         (elmo-map-message-fetch): Change condition to update overview
1512         follow the above.
1513
1514 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1515
1516         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1517         behavior to update overview.
1518         (elmo-shimbun-update-overview-folder-list): Note it.
1519
1520 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1521
1522         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1523         recursive call.
1524
1525 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1526
1527         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1528         buffer-disable-undo, it is unnecessary.
1529         (elmo-spam-register-good-messages): Ditto.
1530
1531         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1532         Ditto.
1533
1534         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1535
1536 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1537
1538         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1539         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1540         elmo-set-buffer-multibyte.
1541         (elmo-object-load): Ditto.
1542         (elmo-save-buffer): Ditto.
1543         (elmo-delete-char): Ditto.
1544         (elmo-file-field-primitive-condition-match): Ditto.
1545         (elmo-mime-string): Ditto.
1546
1547         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1548         (elmo-archive-field-condition-match): Ditto.
1549
1550         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1551
1552         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1553
1554         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1555         (elmo-nntp-msgdb-create-message): Ditto.
1556
1557         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1558
1559         * elmo.el (elmo-message-match-condition): Ditto.
1560         (elmo-message-match-condition): Ditto.
1561
1562         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1563         Ditto.
1564
1565         * elmo-version.el (elmo-version): Up to 2.11.29.
1566
1567         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1568         (elsp-header): New backend.
1569
1570         * elmo-util.el (elmo-decoded-field-body): New function.
1571
1572 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1573
1574         * elmo-version.el (elmo-version): Up to 2.11.28.
1575
1576 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1577
1578         * elmo-filter.el: Rewrite.
1579
1580         * elmo-version.el (elmo-version): Up to 2.11.27.
1581
1582 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1583
1584         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1585         msgdb path for the localdir folder with absolute path.
1586
1587         * utf7.el: Synch up with latest gnus/utf7.el;
1588         Modified for latest Emacs.
1589
1590 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1591
1592         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1593         shimbun backend couldn't open.
1594
1595 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1596
1597         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1598         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1599         when a destination folder is a filter folder.
1600
1601 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1602
1603         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1604         (elmo-generic-folder-append-messages): Call elmo-message-flags
1605         with argument `msgid'.
1606
1607         * elmo-split.el (elmo-split-subr): Ditto.
1608
1609         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1610
1611         * elmo-multi.el (elmo-message-flags): Ditto.
1612
1613 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1614
1615         * elmo.el (elmo-folder): Add new slot `flag-table'.
1616         (elmo-folder-flag-table): New API.
1617         (elmo-folder-close-flag-table): Ditto.
1618         (elmo-folder-preserve-flags): New function.
1619         (elmo-generic-folder-append-messages): Use
1620         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1621         Flag of a non-registered message, it sets to nil.
1622         Does not set flag to flag-table.
1623
1624         * elmo-maildir.el (elmo-folder-append-buffer): Use
1625         `elmo-folder-preserve-flags'.
1626         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1627         `elmo-folder-close-flag-table'.
1628
1629         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1630         (elmo-archive-folder-append-buffer): Use
1631         `elmo-folder-preserve-flags'.
1632
1633         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1634
1635         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1636
1637         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1638         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1639         `elmo-folder-close-flag-table'.
1640
1641         * elmo-version.el (elmo-version): Up to 2.11.26.
1642
1643 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1644
1645         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1646
1647         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1648         md5's 4th and 5th argument (non-existent in flim one).
1649
1650 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1651
1652         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1653         message, It sets to nil.
1654
1655 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1656
1657         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1658         list is non-nil.
1659
1660 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1661
1662         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1663
1664         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1665
1666         * elmo-util.el (elmo-uniq-sorted-list): New function.
1667         (elmo-make-number-list): Ditto.
1668         (elmo-number-set-to-number-list): Use elmo-make-number-list
1669         and don't use nreverse.
1670
1671 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1672
1673         * elmo-version.el (elmo-version): Up to 2.11.25.
1674
1675 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1676
1677         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1678         field not exists in message, Use md5 message digest of header.
1679
1680 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1681
1682         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1683         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1684         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1685         * elmo-split.el (elmo-split-subr): Check return value of
1686         elmo-folder-append-buffer.
1687
1688         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1689         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1690
1691         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1692         message-id.
1693
1694 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1695
1696         * elmo-split.el (elmo-split-subr): Append message with flag.
1697
1698         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1699         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1700         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1701
1702 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1703
1704         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1705         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1706         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1707
1708 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1709
1710         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1711         with a function call of `process-buffer'.  All callers are updated.
1712         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1713         Remove redundant `set-buffer' in a while loop.
1714
1715 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1716
1717         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1718         calls.
1719
1720 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1721
1722         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1723         elsp-spamfilter-register-buffer-internal with current buffer.
1724         (elmo-spam-register-spam-buffer): Ditto.
1725         (elmo-spam-register-good-buffer): Ditto.
1726
1727 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1728
1729         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1730         if it is not contained in the response(A workaround for courier-imap).
1731
1732 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1733
1734         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1735         parenthesis.
1736
1737 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1738
1739         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1740         range.
1741
1742 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1743
1744         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1745         of nconc.
1746
1747         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1748         argument handler.
1749         (elmo-msgdb-message-match-condition): Follow the change above.
1750
1751 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1752
1753         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1754         folder name.
1755
1756 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1757
1758         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1759
1760 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1761
1762         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1763
1764 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1765
1766         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1767         not found.
1768
1769 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1770
1771         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1772         value.
1773         (elmo-file-command-argument): Undo last change for cygwin.
1774         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1775         Don't return nil.
1776         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1777
1778 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1779
1780         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1781         value returned from elmo-file-find is nil.
1782
1783 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1784
1785         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1786         to elmo-vars.el.
1787
1788         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1789         instead of insert-file-contents-as-binary.
1790         (elmo-message-set-field): New generic function.
1791
1792         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1793         behavior change on `split-string'.
1794
1795         * elmo-file.el (elmo-file-find): New function.
1796         (elmo-file-command): New user option.
1797         (elmo-file-command-argument): Ditto.
1798         (elmo-file-fetch-max-size): Ditto.
1799         (elmo-file-detect-format): New function.
1800         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1801         Use elmo-file-detect-format.
1802         (elmo-map-folder-list-message-locations): Don't treat directories.
1803
1804 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1805
1806         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1807         (elmo-passwd-alist-clear): Shred password before clear.
1808         (elmo-remove-passwd): Remove all mached pair.
1809
1810 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1811
1812         * elmo.el (elmo-folder-synchronize): Fix description of the return
1813         value.
1814
1815 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1816
1817         * elmo.el (elmo-message-fetch-bodystructure): New method.
1818         (elmo-message-fetch-bodystructure): Define default.
1819
1820         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1821         elmo-message-fetch-bodystructure.
1822         (elmo-message-fetch-bodystructure): Define.
1823
1824         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1825
1826 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1827
1828         * elmo-filter.el (elmo-message-folder): Define.
1829
1830 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1831
1832         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1833         elmo-delete-cr-buffer.
1834
1835         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1836
1837         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1838
1839         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1840
1841         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1842         type seems to be a text.
1843
1844 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1845
1846         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1847         (elmo-spam-register-good-buffer): Ditto.
1848         (elmo-spam-spamassassin-register-messages): Ditto.
1849
1850         * elmo-util.el (elmo-string-member-ignore-case): Define with
1851         static-cond.
1852
1853 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1854
1855         * elmo.el (elmo-folder-type): Undo last change.
1856
1857         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1858
1859         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1860         warnings.
1861
1862         * elmo-file.el: New file.
1863         
1864         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1865
1866         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1867         variable.
1868         (elmo-spam-spamassassin-register-messages): New inline function.
1869         (elmo-spam-register-spam-messages): Define.
1870         (elmo-spam-register-good-messages): Ditto.
1871
1872         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1873         Fixed typo.
1874
1875         * elmo.el (toplevel): Added autoload setting for
1876         `elmo-get-global-flags'.
1877         (elmo-message-has-global-flag-p): New function.
1878         (elmo-message-set-global-flags): Ditto.
1879         (elmo-folder-type): Improvement for name: format.
1880
1881         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1882         availability of keyword flags.
1883         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1884         (elmo-folder-list-flagged-plugged): Renamed from
1885         elmo-folder-list-flagged-unplugged.
1886         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1887         accept any flag as keyword flag.
1888         (elmo-folder-set-flag-plugged): Accept keyword flags.
1889         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1890
1891         * elmo-flag.el (elmo-get-global-flags): New function.
1892
1893         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1894         folders.
1895
1896         * elmo-version.el (elmo-version): Up to 2.11.24.
1897
1898 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1899
1900         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1901         elmo-multiple-field-body instead of std11-field-body to check all
1902         headers.
1903
1904 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1905
1906         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1907         or "size".
1908
1909 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1910
1911         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1912         unintern is unbound.
1913
1914 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1915
1916         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1917         Protect from infinite loop.
1918
1919 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1920
1921         * elsp-bogofilter.el
1922         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1923         (elmo-spam-bogofilter-register-messages): New internal function.
1924         (elmo-spam-register-spam-messages): Define.
1925         (elmo-spam-register-good-messages): Ditto.
1926
1927 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1928
1929         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1930         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1931         (elmo-spam-bogofilter-call): Fixed the last change.
1932         (elmo-spam-bogofilter-arguments): Ditto.
1933
1934         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1935         Follow the options change of latest bogofilter.
1936
1937         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1938         (elmo-spam-bogofilter-good-switch): Ditto.
1939         (elmo-spam-bogofilter-arguments-alist): New user option.
1940         (elmo-spam-bogofilter-debug): Ditto.
1941         (elmo-spam-bogofilter-call): Renamed from
1942         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1943         is non-nil, insert output in buffer for debug.
1944         (elmo-spam-bogofilter-arguments): New macro.
1945         (elmo-spam-buffer-spam-p): Use it.
1946         (elsp-bogofilter-register-buffer): Ditto.
1947
1948 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1949
1950         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1951         regexp.
1952
1953 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1954
1955         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1956         value as "ruby".
1957         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1958         (elmo-spam-bsfilter-program): Set default value as full path for
1959         `bsfilter'.
1960         (elmo-spam-bsfilter-debug): New user option.
1961         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1962         non-nil, insert output in buffer for debug. Fix treating of
1963         argument.
1964
1965 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1966
1967         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1968         `elmo-maildir-flag-specs' element instead of one.
1969         (elmo-map-folder-unset-flag): Ditto.
1970         (Reported by Ken Makimura <macky@astem.or.jp>)
1971
1972         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1973         (elmo-folder-unset-flag-plugged): Ditto.
1974
1975 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1976
1977         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1978         to `reads' slot only if `in-msgdb' is nil.
1979
1980 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1981
1982         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1983         and complement argument list.
1984
1985 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1986
1987         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1988         instead of elmo-folder-list-flagged.
1989
1990 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1991
1992         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1993
1994         * elsp-bsfilter.el: New file.
1995
1996         * elmo-pipe.el (elmo-folder-list-unreads,
1997         elmo-folder-list-answereds,
1998         elmo-folder-list-importants,
1999         elmo-folder-flag-as-important,
2000         elmo-folder-unflag-important,
2001         elmo-folder-flag-as-read,
2002         elmo-folder-unflag-read,
2003         elmo-folder-flag-as-answered,
2004         elmo-folder-unflag-answered): Remove.
2005         (elmo-folder-set-flag): Define.
2006         (elmo-folder-unset-flag): Ditto.
2007
2008         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2009         (elmo-folder-set-flag): Define.
2010         (elmo-folder-unset-flag): Ditto.
2011         (elmo-folder-list-unreads): Remove.
2012         (elmo-folder-list-flagged): Define.
2013
2014         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2015         (elmo-folder-list-unreads,
2016         elmo-folder-list-importants,
2017         elmo-folder-list-answereds,
2018         elmo-folder-list-unreads-plugged,
2019         elmo-folder-list-importants-plugged,
2020         elmo-folder-list-answereds-plugged): Remove.
2021         (elmo-folder-list-flagged-plugged): New method.
2022         (elmo-folder-unflag-important,
2023         elmo-folder-flag-as-important,
2024         elmo-folder-unflag-read,
2025         elmo-folder-flag-as-read,
2026         elmo-folder-unflag-answered,
2027         elmo-folder-flag-as-answered,
2028         elmo-folder-flag-as-read-unplugged,
2029         elmo-folder-unflag-read-unplugged,
2030         elmo-folder-flag-as-important-unplugged,
2031         elmo-folder-unflag-important-unplugged,
2032         elmo-folder-flag-as-answered-unplugged,
2033         elmo-folder-unflag-answered-unplugged): Remove.
2034         (elmo-folder-set-flag): Define.
2035         (elmo-folder-unset-flag): Ditto.
2036         (elmo-folder-set-flag-unplugged): Ditto.
2037         (elmo-folder-unset-flag-unplugged): Ditto.
2038
2039         * elmo-multi.el (elmo-folder-list-unreads,
2040         elmo-folder-list-answereds,
2041         elmo-folder-list-importants,
2042         elmo-folder-flag-as-important,
2043         elmo-folder-unflag-important,
2044         elmo-folder-flag-as-read,
2045         elmo-folder-unflag-read,
2046         elmo-folder-flag-as-answered,
2047         elmo-folder-unflag-answered): Remove.
2048         (elmo-folder-set-flag): Define.
2049         (elmo-folder-unset-flag): Ditto.
2050
2051         * elmo-map.el (elmo-map-folder-unflag-important,
2052         elmo-map-folder-flag-as-important,
2053         elmo-map-folder-unflag-read,
2054         elmo-map-folder-flag-as-read,
2055         elmo-map-folder-unflag-answered,
2056         elmo-map-folder-flag-as-answered): Remove.
2057         (elmo-map-folder-set-flag): New method.
2058         (elmo-map-folder-unset-flag): Ditto.
2059         (elmo-map-folder-list-unreads,
2060         elmo-map-folder-list-importants,
2061         elmo-map-folder-list-answereds): Remove.
2062         (elmo-folder-list-flagged-internal): Define.
2063         (elmo-map-folder-list-flagged): New method.
2064
2065         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2066         (elmo-map-folder-list-unreads,
2067         elmo-map-folder-list-importants,
2068         elmo-map-folder-list-flagged): Remove.
2069         (elmo-map-folder-list-flagged): Define.
2070         (elmo-map-folder-flag-as-important,
2071         elmo-map-folder-unflag-important,
2072         elmo-map-folder-flag-as-read,
2073         elmo-map-folder-unflag-read,
2074         elmo-map-folder-flag-as-answered,
2075         elmo-map-folder-unflag-answered): Remove.
2076         (elmo-maildir-set-mark-messages): New internal function.
2077         (elmo-map-folder-set-flag): Define.
2078         (elmo-map-folder-unset-flag): Ditto.
2079
2080         * elmo.el (toplevel): Added autoload setting for
2081         `elmo-folder-list-global-flag-messages'.
2082         (elmo-folder-list-unreads,
2083         elmo-folder-list-importants,
2084         elmo-folder-list-answereds): Remove.
2085         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2086         Return a list whitch merged with messages have global flag.
2087         (elmo-folder-list-flagged-internal): New method.
2088         (elmo-folder-unflag-important,
2089         elmo-folder-flag-as-important,
2090         elmo-folder-unflag-read,
2091         elmo-folder-flag-as-read,
2092         elmo-folder-unflag-answered,
2093         elmo-folder-flag-as-answered): Remove.
2094         (elmo-folder-set-flag): New method.
2095         (elmo-folder-unset-flag): Ditto.
2096         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2097         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2098
2099         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2100         (elmo-folder-list-unreads-plugged,
2101         elmo-folder-list-importants-plugged,
2102         elmo-folder-list-answereds-plugged,
2103         elmo-folder-list-flagged-unplugged,
2104         elmo-folder-unflag-important-plugged,
2105         elmo-folder-flag-as-important-plugged,
2106         elmo-folder-unflag-read-plugged,
2107         elmo-folder-flag-as-read-plugged,
2108         elmo-folder-unflag-answered-plugged,
2109         elmo-folder-flag-as-answered-plugged): Remove.
2110         (elmo-folder-set-flag-plugged,
2111         elmo-folder-unset-flag-plugged): Define.
2112
2113         * elmo-flag.el (elmo-folder-initialize): Register to
2114         `elmo-global-flag-list' if flag is not global.
2115         (elmo-folder-append-messages): Set flag to source messages.
2116
2117         * elmo-filter.el (elmo-filter-folder-list-unreads,
2118         elmo-folder-list-unreads,
2119         elmo-filter-folder-list-importants,
2120         elmo-folder-list-importants,
2121         elmo-folder-flag-as-read,
2122         elmo-folder-unflag-read,
2123         elmo-folder-flag-as-important,
2124         elmo-folder-unflag-important,
2125         elmo-folder-flag-as-answered,
2126         elmo-folder-unflag-answered): Remove.
2127         (elmo-folder-set-flag): Define.
2128         (elmo-folder-unset-flag): Ditto.
2129
2130         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2131         elmo-folder-unflag-read-dop,
2132         elmo-folder-flag-as-important-dop,
2133         elmo-folder-unflag-important-dop,
2134         elmo-folder-flag-as-answered-dop,
2135         elmo-folder-unflag-answered-dop): Remove.
2136         (elmo-folder-set-flag-dop,
2137         elmo-folder-unset-flag-dop,
2138         elmo-folder-set-important-delayed,
2139         elmo-folder-unset-important-delayed,
2140         elmo-folder-set-read-delayed,
2141         elmo-folder-unset-read-delayed,
2142         elmo-folder-set-answered-delayed,
2143         elmo-folder-unset-answered-delayed): New function.
2144         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2145         (elmo-dop-queue-method-name-alist): Ditto.
2146
2147         * elmo-version.el (elmo-version): Up to 2.11.23.
2148
2149 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2150
2151         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2152
2153         * elsp-sa.el: New file.
2154
2155 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2156
2157         * modb-standard.el (modb-standard-message-entity): New function.
2158         (elmo-msgdb-message-entity): Use it.
2159
2160 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2161
2162         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2163         behavior when one-level is nil.
2164
2165         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2166
2167         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2168
2169 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2170
2171         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2172         get max number.
2173         (elmo-generic-folder-diff): Ditto.
2174
2175         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2176         (elmo-folder-update-number): Ditto.
2177
2178         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2179         (elmo-folder-next-message-number-dop): Ditto.
2180
2181 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2182
2183         * elmo-filter.el (elmo-folder-msgdb-create): Use
2184         `elmo-message-entity' and `elmo-message-flags' instead of
2185         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2186
2187 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2188
2189         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2190         `if-exists'.
2191
2192 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2193
2194         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2195
2196         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2197
2198         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2199
2200 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2201
2202         * elmo-version.el (elmo-version): Up to 2.11.22.
2203
2204 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2205
2206         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2207
2208 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2209
2210         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2211         if the message dose not exist.
2212
2213 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2214
2215         * elmo-version.el (elmo-version): Up to 2.11.21.
2216
2217 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2218
2219         * modb-standard.el (toplevel): Don't require mime.
2220
2221 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2222
2223         * elsp-bogofilter.el (toplevel): Don't require path-util.
2224         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2225         (elmo-spam-bogofilter-header): Abolish.
2226         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2227         (elmo-spam-bogofilter-args): New user option.
2228         (elsp-bogofilter-call-bogofilter): New internal function.
2229         (elmo-spam-buffer-spam-p): Use it.
2230         (elsp-bogofilter-register-buffer): Renamed from
2231         `elmo-spam-bogofilter-register-buffer';
2232         Use `elsp-bogofilter-call-bogofilter'.
2233         (elmo-spam-register-spam-buffer): Follow the change above.
2234         (elmo-spam-register-good-buffer): Ditto.
2235
2236 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2237
2238         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2239         message-id is nil do nothing.
2240
2241 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2242
2243         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2244         Revival.
2245         (elmo-imap4-session): Removed use-flag slot.
2246         (elmo-imap4-session-select-mailbox): Undo last change.
2247         (elmo-folder-use-flag-p): Use
2248         elmo-imap4-disuse-server-flag-mailbox-regexp.
2249
2250 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2251
2252         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2253         (elmo-imap4-session-select-mailbox): Set it up.
2254         (elmo-folder-use-flag-p): Return value of use-flag slot.
2255
2256 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2257
2258         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2259         message-id is nil.
2260         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2261
2262         * modb-entity.el (elmo-message-entity-handler): Likewise.
2263
2264 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2265
2266         * elmo.el (toplevel): Remove setting of autoloding for
2267         elmo-global-flag-initialize.
2268         (elmo-init): Don't call elmo-global-flag-initialize.
2269         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2270
2271         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2272         (elmo-global-mark-migrate): Don't call it.
2273         (elmo-global-mark-upgrade): Ditto.
2274
2275 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2276
2277         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2278         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2279
2280         * elmo-vars.el (elmo-init-hook): New user option.
2281
2282         * elmo.el (elmo-init): Run the elmo-init-hook.
2283
2284         * elmo-flag.el (elmo-global-mark-migrate): New function.
2285
2286 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2287
2288         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2289         Undo last change (move to elmo-msgdb-unset-flag).
2290         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2291         flag is unset.
2292
2293 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2294
2295         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2296         read flag is set.
2297         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2298         (elmo-msgdb-unset-flag): Ditto.
2299
2300 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2301
2302         * elmo-split.el (elmo-split): Return split message count.
2303
2304 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2305
2306         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2307         is nil.
2308
2309 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2310
2311         * elmo.el (elmo-folder-unflag-important): Call
2312         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2313         a symbol `always'.
2314
2315         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2316         before unset flag.
2317         (elmo-global-flag-detach): Delete the message from flag folder, if
2318         `delete-if-none' is a symbol `always'.
2319
2320 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2321
2322         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2323         `elmo-spam-spamfilter-decode-buffer'.
2324         (elsp-spamfilter-register-buffer-internal): New internal function.
2325         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2326         (elmo-spam-register-spam-buffer): Ditto.
2327         (elmo-spam-register-good-buffer): Ditto.
2328
2329         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2330         change.
2331         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2332         (elmo-spam-register-spam-buffer): Follow the API change.
2333         (elmo-spam-register-good-buffer): Ditto.
2334
2335         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2336         (elmo-split-spam-p): Added argument plist; Call
2337         `elmo-spam-buffer-spam-p' with new argument register.
2338
2339         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2340         `register'.
2341         (elmo-spam-message-spam-p): Ditto.
2342         (elmo-spam-register-spam-buffer): Added optional argument
2343         `restore'.
2344         (elmo-spam-register-good-buffer): Ditto.
2345         (elmo-spam-register-spam-messages): Ditto.
2346         (elmo-spam-register-good-messages): Ditto.
2347
2348 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2349
2350         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2351         register into good corpus.
2352         (elmo-spam-register-good-buffer): Fixed to register into bad
2353         corpus.
2354
2355 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2356
2357         * elmo-version.el (elmo-version): Up to 2.11.20.
2358
2359         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2360         change.
2361
2362         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2363         flag without depending on \Recent flag.
2364
2365 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2366
2367         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2368         (elmo-spam-modified-p): Defined.
2369         (elmo-spam-save-status): Set `modified' slot to nil.
2370         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2371         (elmo-spam-register-good-buffer): Ditto.
2372
2373         * elmo-spam.el (elmo-spam-modified-p): New API.
2374
2375 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2376
2377         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2378         duplicate definition.
2379
2380         * elmo-util.el (elmo-unfold-field-body): New function.
2381         (elmo-msgdb-get-message-id-from-buffer): Use it.
2382
2383         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2384         Fixed the last change; Use elmo-unfold-field-body.
2385
2386 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2387
2388         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2389         Unfold date value.
2390
2391 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2392
2393         * elmo-spam.el (elmo-spam-save-status): New API.
2394
2395         * elsp-spamfilter.el: New file.
2396
2397 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2398
2399         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2400
2401 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2402
2403         * elmo-split.el (elmo-split-spam-p): New function.
2404
2405         * elmo-spam.el: New file.
2406
2407         * elsp-bogofilter.el: Ditto.
2408
2409 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2410
2411         * elmo.el (elmo-folder-next-message-number): New API.
2412         (elmo-folder-next-message-number): Define.
2413         (elmo-message-field): Don't check folder length.
2414
2415         * elmo-net.el (elmo-folder-next-message-number): Define.
2416         (elmo-folder-next-message-number-unplugged): Define.
2417
2418         * elmo-map.el (elmo-folder-next-message-number): Define.
2419         (elmo-folder-delete-messages): Clear hash value.
2420
2421         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2422
2423         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2424         (elmo-folder-delete-messages-dop-delayed): Always return t.
2425
2426         * elmo-version.el (elmo-version): Up to 2.11.19.
2427
2428 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2429
2430         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2431         change.
2432
2433         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2434         identical cons cell into the mark-alist and the hash table.
2435
2436 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2437
2438         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2439         elmo-folder-list-messages with argument `visible-only' as t.
2440
2441         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2442         (elmo-folder-msgdb-create): Check the target folder.
2443
2444 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2445
2446         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2447         `permanentflag' instead of `flags'.
2448         (elmo-folder-open): Ditto.
2449         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2450         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2451         (elmo-folder-use-flag-p): Always return t.
2452         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2453         `permanentflags' does not exist.
2454         (elmo-folder-open): Ditto.
2455
2456 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2457
2458         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2459         is nil.
2460         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2461
2462         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2463         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2464         response.
2465         (elmo-folder-open): Ditto.
2466         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2467         slot of the session includes the flag.
2468         (elmo-imap4-session-flag-available-p): New function.
2469         (elmo-imap4-folder-list-flagged): Ditto.
2470         (elmo-folder-list-unreads-plugged): Use it.
2471         (elmo-folder-list-importants-plugged): Ditto.
2472         (elmo-folder-list-answereds-plugged): Ditto.
2473         (elmo-imap4-search-internal-primitive): Ditto.
2474         (elmo-imap4-folder-list-any-plugged,
2475         elmo-imap4-folder-list-digest-plugged): Abolish.
2476
2477         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2478         if numbers is nil.
2479
2480 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2481
2482         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2483
2484 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2485
2486         * elmo-util.el (elmo-get-hash-val): Simplify.
2487         (elmo-set-hash-val): Rewrite.
2488
2489 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2490
2491         * elmo.el (elmo-folder-list-messages): Append killed messages into
2492         result if `visible-only' is nil and `in-msgdb' is non-nil.
2493
2494         * elmo-util.el (elmo-uniq-list): Added optional argument
2495         `delete-function'.
2496
2497         * modb.el (elmo-msgdb-flag-count): New API.
2498
2499         * modb-standard.el (modb-standard): Added slot flag-count.
2500         (modb-standard-countup-flags): New function.
2501         (modb-standard-load-flag): Call it.
2502         (elmo-msgdb-append): Ditto.
2503         (elmo-msgdb-clear): Clear slot flag-count.
2504         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2505         (elmo-msgdb-unset-flag): Treat `all' flag and call
2506         modb-standard-countup-flags.
2507         (elmo-msgdb-flag-count): Define.
2508         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2509         (elmo-msgdb-delete-messages): Ditto.
2510
2511         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2512         (elmo-msgdb-flag-count): Define.
2513
2514         * elmo.el (elmo-folder-list-messages): Undo last change.
2515         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2516         (elmo-folder-kill-messages): Unset all flags to numbers.
2517
2518         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2519         elmo-folder-kill-messages.
2520
2521         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2522         (elmo-nntp-folder-delete-messages): Abolish.
2523
2524         * elmo-version.el (elmo-version): Up to 2.11.18.
2525
2526 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2527
2528         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2529         (elmo-folder-kill-messages-range): New function.
2530         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2531         instead of elmo-folder-kill-messages-before.
2532
2533 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2534
2535         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2536         elmo-imap4-current-msgdb to decide entity handler.
2537
2538 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2539
2540         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2541
2542         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2543         inline function.
2544         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2545         (elmo-msgdb-overview-entity-set-number,
2546         elmo-msgdb-overview-entity-get-references,
2547         elmo-msgdb-overview-entity-set-references,
2548         elmo-msgdb-overview-entity-get-from-no-decode,
2549         elmo-msgdb-overview-entity-get-from,
2550         elmo-msgdb-overview-entity-set-from,
2551         elmo-msgdb-overview-entity-get-subject,
2552         elmo-msgdb-overview-entity-get-subject-no-decode,
2553         elmo-msgdb-overview-entity-set-subject,
2554         elmo-msgdb-overview-entity-get-date,
2555         elmo-msgdb-overview-entity-set-date,
2556         elmo-msgdb-overview-entity-get-to,
2557         elmo-msgdb-overview-entity-get-cc,
2558         elmo-msgdb-overview-entity-get-size,
2559         elmo-msgdb-overview-entity-set-size,
2560         elmo-msgdb-overview-entity-get-extra,
2561         elmo-msgdb-overview-entity-set-extra,
2562         elmo-msgdb-overview-entity-get-extra-field,
2563         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2564         (elmo-msgdb-make-index): Use
2565         `elmo-msgdb-overview-entity-get-number-internal'.
2566         (elmo-msgdb-clear-index): Ditto.
2567         (elmo-msgdb-append-entity): Ditto;
2568         Use `elmo-msgdb-overview-entity-get-id-internal'.
2569
2570         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2571         elmo-msgdb-overview-entity-set-number,
2572         elmo-msgdb-overview-entity-get-references,
2573         elmo-msgdb-overview-entity-set-references,
2574         elmo-msgdb-overview-entity-get-from-no-decode,
2575         elmo-msgdb-overview-entity-get-from,
2576         elmo-msgdb-overview-entity-set-from,
2577         elmo-msgdb-overview-entity-get-subject,
2578         elmo-msgdb-overview-entity-get-subject-no-decode,
2579         elmo-msgdb-overview-entity-set-subject,
2580         elmo-msgdb-overview-entity-get-date,
2581         elmo-msgdb-overview-entity-set-date,
2582         elmo-msgdb-overview-entity-get-to,
2583         elmo-msgdb-overview-entity-get-cc,
2584         elmo-msgdb-overview-entity-get-size,
2585         elmo-msgdb-overview-entity-set-size,
2586         elmo-msgdb-overview-entity-get-extra,
2587         elmo-msgdb-overview-entity-set-extra,
2588         elmo-msgdb-overview-entity-get-extra-field,
2589         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2590         and rewrote for backward compatibility.
2591
2592 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2593
2594         * elmo.el (elmo-message-entity-number,
2595         elmo-message-entity-set-number,
2596         elmo-message-entity-field,
2597         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2598
2599         * elmo-msgdb.el (elmo-message-entity-number,
2600         elmo-message-entity-set-number,
2601         elmo-message-entity-field,
2602         elmo-message-entity-set-field): Moved from elmo.el.
2603
2604 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2605
2606         * elmo.el (toplevel): Changed definition orders.
2607
2608 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2609
2610         * modb.el (elmo-msgdb-search): New API .
2611         (elmo-msgdb-match-condition): Ditto.
2612
2613         * modb-standard.el (elmo-msgdb-search): Define.
2614
2615         * modb-legacy.el (elmo-msgdb-search): Ditto.
2616
2617         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2618         from elmo-msgdb-match-condition-internal.
2619
2620         * elmo.el (elmo-folder-search-fast): Abolish.
2621         (elmo-folder-search): Use elmo-msgdb-search and
2622         elmo-with-progress-display.
2623
2624         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2625         as msgdb API.
2626
2627         * elmo.el (elmo-folder): Remove slot message-modified and
2628         flag-modified.
2629         (elmo-folder-set-message-modified): Abolish.
2630         (elmo-generic-folder-commit): Follow the change above.
2631         (elmo-folder-synchronize): Ditto.
2632
2633         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2634
2635         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2636
2637         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2638
2639 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2640
2641         * modb-standard.el (modb-standard-make-message-entity,
2642         elmo-msgdb-make-message-entity,
2643         elmo-msgdb-create-message-entity-from-buffer,
2644         elmo-msgdb-message-entity-number,
2645         elmo-msgdb-message-entity-set-number,
2646         elmo-msgdb-message-entity-field,
2647         elmo-msgdb-message-entity-set-field,
2648         elmo-msgdb-copy-message-entity,
2649         elmo-msgdb-match-condition-internal): Remove.
2650
2651         * modb-entity.el: New file (again).
2652
2653         * modb.el (toplevel): Require modb-entity.
2654         (elmo-msgdb-message-entity-handler): New method.
2655
2656         * modb-standard.el (modb-standard-entity-id): Use
2657         elmo-message-entity-handler.
2658         (modb-standard-load-entity): Ditto.
2659         (elmo-msgdb-append-entity): Ditto.
2660         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2661
2662         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2663         elmo-msgdb-decoded-cache-hashtb,
2664         (modb-legacy-make-message-entity,
2665         elmo-msgdb-make-message-entity,
2666         elmo-msgdb-create-message-entity-from-buffer,
2667         elmo-msgdb-message-entity-number,
2668         elmo-msgdb-message-entity-set-number,
2669         elmo-msgdb-message-entity-field,
2670         elmo-msgdb-message-entity-set-field,
2671         elmo-msgdb-copy-message-entity,
2672         elmo-msgdb-match-condition-internal,
2673         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2674
2675         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2676         (elmo-message-entity-set-number): Ditto.
2677         (elmo-message-entity-field): Ditto.
2678         (elmo-message-entity-set-field): Ditto.
2679
2680         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2681
2682         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2683
2684         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2685
2686         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2687         (elmo-nntp-msgdb-create-message): Ditto.
2688
2689         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2690         (elmo-folder-msgdb-create): Add unread flag.
2691
2692         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2693
2694         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2695
2696         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2697
2698         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2699
2700         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2701         elmo-msgdb-messge-entity-handler.
2702         * elmo-version.el (elmo-version): Up to 2.11.17.
2703
2704 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2705
2706         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2707         change.
2708
2709 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2710
2711         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2712
2713         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2714         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2715         (elmo-msgdb-flag-table): Ditto.
2716         (elmo-msgdb-sort-by-date): Ditto.
2717
2718         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2719
2720         * modb-standard.el (toplevel): Require mime.
2721         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2722         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2723         elmo-msgdb-message-entity-number.
2724         (elmo-msgdb-append-entity): Ditto.
2725         (elmo-msgdb-create-message-entity-from-file): Remove.
2726         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2727         corresponds to the entity.
2728         (elmo-msgdb-message-entity-number): Do nothing currently.
2729         (elmo-msgdb-message-entity-field): Ditto.
2730         (elmo-msgdb-message-entity-set-field): Ditto.
2731         (elmo-msgdb-copy-message-entity): Ditto.
2732         (elmo-msgdb-match-condition-internal): Ditto.
2733
2734         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2735         elmo-util.el.
2736         (elmo-msgdb-create-message-entity-from-file): Remove.
2737
2738         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2739         modb-legacy.el.
2740         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2741
2742         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2743
2744 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2745
2746         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2747         (elmo-msgdb-message-entity-field): Ditto.
2748         (elmo-msgdb-message-entity-number): Ditto.
2749
2750 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2751
2752         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2753         Fixed how to set extra field into entity.
2754         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2755         symbol.
2756
2757         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2758         Fixed how to set extra field into entity.
2759         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2760         symbol.
2761
2762 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2763
2764         * modb.el (elmo-message-entity-db): New function.
2765         (elmo-msgdb-make-message-entity): New API.
2766         (elmo-msgdb-message-entity-number): Ditto.
2767         (elmo-msgdb-message-entity-set-number): Ditto.
2768         (elmo-msgdb-message-entity-field): Ditto.
2769         (elmo-msgdb-message-entity-set-field): Ditto.
2770         (elmo-msgdb-copy-message-entity): Ditto.
2771         (elmo-msgdb-create-message-entity-from-file): Ditto.
2772         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2773         (elmo-msgdb-match-condition-internal): Ditto.
2774
2775         * modb-standard.el (modb-legacy): Require modb-legacy.
2776         (modb-standard-make-message-entity): New inline function.
2777         (elmo-msgdb-make-message-entity): Define.
2778         (elmo-msgdb-create-message-entity-from-file): Ditto.
2779         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2780         (elmo-msgdb-message-entity-field): Ditto.
2781         (elmo-msgdb-message-entity-set-field): Ditto.
2782         (elmo-msgdb-copy-message-entity): Ditto.
2783         (elmo-msgdb-match-condition-internal): Ditto.
2784
2785         * modb-legacy.el: Don't require modb-entity.
2786         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2787         (elmo-msgdb-match-condition-primitive): Ditto.
2788         (elmo-msgdb-get-decoded-cache): Ditto.
2789         (elmo-msgdb-overview-entity-get-id): Ditto.
2790         (elmo-msgdb-overview-entity-get-number): Ditto.
2791         (elmo-msgdb-overview-entity-set-number): Ditto.
2792         (elmo-msgdb-overview-entity-get-references): Ditto.
2793         (elmo-msgdb-overview-entity-set-references): Ditto.
2794         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2795         (elmo-msgdb-overview-entity-get-from): Ditto.
2796         (elmo-msgdb-overview-entity-set-from): Ditto.
2797         (elmo-msgdb-overview-entity-get-subject): Ditto.
2798         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2799         (elmo-msgdb-overview-entity-set-subject): Ditto.
2800         (elmo-msgdb-overview-entity-get-date): Ditto.
2801         (elmo-msgdb-overview-entity-set-date): Ditto.
2802         (elmo-msgdb-overview-entity-get-to): Ditto.
2803         (elmo-msgdb-overview-entity-get-cc): Ditto.
2804         (elmo-msgdb-overview-entity-get-size): Ditto.
2805         (elmo-msgdb-overview-entity-set-size): Ditto.
2806         (elmo-msgdb-overview-entity-get-extra): Ditto.
2807         (elmo-msgdb-overview-entity-set-extra): Ditto.
2808         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2809         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2810         (elmo-msgdb-number-load): Ditto.
2811         (elmo-msgdb-overview-load): Ditto.
2812         (elmo-msgdb-mark-load): Ditto.
2813         (elmo-msgdb-number-save): Ditto.
2814         (elmo-msgdb-mark-save): Ditto.
2815         (elmo-msgdb-overview-save): Ditto.
2816         (modb-legacy-make-message-entity): New inline function.
2817         (elmo-msgdb-insert-file-header): Ditto.
2818         (elmo-msgdb-make-message-entity): Define.
2819         (elmo-msgdb-create-message-entity-from-file): Ditto.
2820         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2821         (elmo-msgdb-message-entity-number): Ditto.
2822         (elmo-msgdb-message-entity-set-number): Ditto.
2823         (elmo-msgdb-message-entity-field): Ditto.
2824         (elmo-msgdb-message-entity-set-field): Ditto.
2825         (elmo-msgdb-copy-message-entity): Ditto.
2826         (elmo-msgdb-match-condition-internal): Ditto.
2827
2828         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2829         (elmo-message-copy-entity): Rewrite.
2830         (elmo-message-entity-number): Ditto.
2831         (elmo-message-entity-set-number): Ditto.
2832         (elmo-message-entity-field): Use elmo-message-entity-db.
2833         (elmo-message-entity-set-field): Ditto.
2834         (elmo-message-field): Rewrite.
2835
2836         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2837         elmo-msgdb.el
2838         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2839
2840         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2841         elmo-message-entity-field.
2842         (elmo-shimbun-folder-shimbun-header): Ditto.
2843         (elmo-shimbun-entity-to-header): Ditto.
2844         (elmo-folder-msgdb-create): Ditto.
2845         (elmo-shimbun-msgdb-create-entity): Ditto;
2846         Use elmo-msgdb-create-message-entity-from-buffer.
2847         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2848         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2849
2850         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2851         elmo-msgdb-create-message-entity-from-file and 
2852         elmo-message-entity-field.
2853
2854         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2855         elmo-message-entity-number.
2856         (elmo-pop3-msgdb-create-message): Use
2857         elmo-msgdb-create-message-entity-from-buffer,
2858         elmo-message-entity-set-field, elmo-message-entity-number and
2859         elmo-message-entity-set-number.
2860
2861         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2862         the API change in elmo-msgdb-make-message-entity.
2863         (elmo-nntp-msgdb-create-message): Use
2864         elmo-msgdb-create-message-entity-from-buffer.
2865
2866         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2867         elmo-message-entity-field and
2868         elmo-msgdb-create-message-entity-from-file.
2869
2870         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2871         (elmo-msgdb-get-field): Abolish.
2872         (elmo-msgdb-get-number): Rewrite.
2873         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2874         (elmo-msgdb-flag-table): Ditto.
2875         (elmo-msgdb-get-last-message-id,
2876         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2877         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2878         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2879         (elmo-msgdb-create-overview-from-buffer,
2880         elmo-msgdb-overview-get-parent-entity): Abolish.
2881
2882         * elmo-mime.el (elmo-mime-display-as-is): Use
2883         elmo-message-entity-field.
2884
2885         * elmo-map.el (elmo-folder-pack-numbers): Use
2886         elmo-message-entity-set-number.
2887
2888         * elmo-maildir.el (elmo-folder-msgdb-create): 
2889         elmo-msgdb-create-message-entity-from-file instead of
2890         elmo-msgdb-create-overview-entity-from-file.
2891
2892         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2893         msgdb.
2894         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2895         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2896
2897         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2898         elmo-messge-entity-field and elmo-message-entity-number.
2899         (elmo-imap4-fetch-callback-1): Call
2900         elmo-msgdb-create-message-entity-from-buffer instead of
2901         elmo-msgdb-create-overview-from-buffer. 
2902         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2903         (elmo-find-fetch-strategy): Likewise.
2904
2905         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2906         elmo-localdir-msgdb-create-entity with argument msgdb.
2907
2908         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2909         and elmo-message-entity-set-number.
2910
2911         * elmo-cache.el (elmo-folder-msgdb-create): Use
2912         elmo-message-entity-field.
2913         (elmo-folder-msgdb-create): Call
2914         elmo-msgdb-create-message-entity-from-file instead of
2915         elmo-msgdb-create-overview-entity-from-file.
2916
2917         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2918         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2919         instead of elmo-msgdb-create-overview-from-buffer.
2920         (elmo-archive-msgdb-create-entity): Ditto.
2921         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2922         elmo-message-entity-field.
2923         (elmo-archive-parse-mmdf): Ditto.
2924
2925         * modb-entity.el: Removed.
2926
2927         * elmo-version.el (elmo-version): Up to 2.11.16.
2928
2929 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2930
2931         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2932         `is-local'.
2933         (elmo-folder-flag-as-answered): Ditto.
2934
2935 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2936
2937         * modb-standard.el: New file.
2938
2939         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2940         elmo-msgdb-convert-type is `sync'.
2941
2942         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2943         (elmo-msgdb-convert-type): New user option.
2944
2945         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2946         (elmo-load-msgdb): Auto detect saved type.
2947
2948         * elmo-version.el (elmo-version): Up to 2.11.15.
2949
2950 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2951
2952         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2953
2954         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2955         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2956         with argument `delete-if-none' when dst-folder is 'null.
2957
2958         * elmo-flag.el (elmo-folder-append-messages): Defined.
2959         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2960
2961 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2962
2963         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2964
2965 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2966
2967         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2968         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2969         (elmo-folder-commit): Ditto.
2970
2971 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2972
2973         * elmo-flag.el: New file.
2974
2975         * elmo-mark.el: Removed.
2976
2977         * modb-legacy.el (modb-legacy-new-mark,
2978         modb-legacy-unread-uncached-mark,
2979         modb-legacy-unread-cached-mark,
2980         modb-legacy-read-uncached-mark,
2981         modb-legacy-answered-cached-mark,
2982         modb-legacy-answered-uncached-mark,
2983         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2984         All other related portions are changed.
2985
2986         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2987         (elmo-folder-list-messages-with-global-mark): Abolish.
2988         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2989         (elmo-folder-flag-as-important): Ditto.
2990         (elmo-folder-unflag-read): Ditto.
2991         (elmo-folder-flag-as-read): Ditto.
2992         (elmo-folder-unflag-answered): Ditto.
2993         (elmo-folder-flag-as-answered): Ditto.
2994         (elmo-message-encache): Return the cache path.
2995         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2996         (elmo-message-set-flag): Transitional implementation.
2997         (elmo-message-unset-flag): Ditto.
2998         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2999         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3000         (elmo-init): Call elmo-global-flag-initialize.
3001         (toplevel): Added autoload settings for elmo-flag.
3002
3003         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3004
3005         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3006         (elmo-file-cache-delete): Don't treat global-mark.
3007
3008         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3009
3010         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3011
3012         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3013         `elmo-global-flags-set'.
3014
3015         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3016         `flag'.
3017         (elmo-folder-unflag-read): Ditto.
3018         (elmo-folder-unflag-important): Ditto.
3019         (elmo-folder-flag-as-important): Ditto.
3020         (elmo-folder-unflag-answered): Ditto.
3021         (elmo-folder-flag-as-answered): Ditto.
3022
3023         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3024         `elmo-global-flags-set'.
3025         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3026
3027         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3028
3029         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3030         `flag'.
3031         (elmo-folder-flag-as-important): Ditto.
3032         (elmo-folder-unflag-important): Ditto.
3033         (elmo-folder-flag-as-important): Ditto.
3034         (elmo-folder-unflag-read): Ditto.
3035         (elmo-folder-flag-as-read): Ditto.
3036         (elmo-folder-unflag-answered): Ditto.
3037         (elmo-folder-flag-as-answered): Ditto.
3038
3039         * elmo-multi.el (elmo-folder-list-importants): Don't call
3040         elmo-folder-list-messages-with-global-mark.
3041         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3042         (elmo-folder-unflag-important): Ditto.
3043         (elmo-folder-flag-as-read): Ditto.
3044         (elmo-folder-unflag-read): Ditto.
3045         (elmo-folder-flag-as-answered): Ditto.
3046         (elmo-folder-unflag-answered): Ditto.
3047
3048         * elmo-msgdb.el (elmo-msgdb-new-mark,
3049         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3050         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3051         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3052         (Moved to modb-legacy.el).
3053         (elmo-flag-table-get): Treat important flag too.
3054
3055         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3056         `mark' to `flag'.
3057         (elmo-map-folder-flag-as-important): Ditto.
3058         (elmo-map-folder-unflag-read): Ditto.
3059         (elmo-map-folder-flag-as-read): Ditto.
3060         (elmo-map-folder-unflag-answered): Ditto.
3061         (elmo-map-folder-flag-as-answered): Ditto.
3062         (elmo-folder-unflag-important): Ditto.
3063         (elmo-folder-flag-as-important): Ditto.
3064         (elmo-folder-unflag-read): Ditto.
3065         (elmo-folder-flag-as-read): Ditto.
3066         (elmo-folder-unflag-answered): Ditto.
3067         (elmo-folder-flag-as-answered): Ditto.
3068
3069         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3070         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3071         `flag'.
3072         (elmo-map-folder-unflag-important): Ditto.
3073         (elmo-map-folder-flag-as-read): Ditto.
3074         (elmo-map-folder-unflag-read): Ditto.
3075         (elmo-map-folder-flag-as-answered): Ditto.
3076         (elmo-map-folder-unflag-answered): Ditto.
3077
3078         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3079         `elmo-global-flags-set'.
3080         (elmo-global-flags-set): Added autoload setting.
3081
3082         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3083         `flag'.
3084
3085         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3086         `elmo-msgdb-global-mark-set'.
3087         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3088         Call `elmo-global-flags-set'.
3089         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3090         `flag'.
3091         (elmo-folder-flag-as-important-plugged): Ditto.
3092         (elmo-folder-unflag-read-plugged): Ditto.
3093         (elmo-folder-flag-as-read-plugged): Ditto.
3094         (elmo-folder-unflag-answered-plugged): Ditto.
3095         (elmo-folder-flag-as-answered-plugged): Ditto.
3096         (elmo-global-flags-set): Added autoload setting.
3097
3098         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3099         `flag'.
3100         (elmo-folder-unflag-read): Ditto.
3101         (elmo-folder-flag-as-important): Ditto.
3102         (elmo-folder-unflag-important): Ditto.
3103         (elmo-folder-flag-as-answered): Ditto.
3104         (elmo-folder-unflag-answered): Ditto.
3105
3106         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3107         change of `mark'->`flag'.
3108         (elmo-dop-queue-method-name-alist): Ditto.
3109         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3110         (elmo-folder-unflag-read-dop): Ditto.
3111         (elmo-folder-flag-as-important-dop): Ditto.
3112         (elmo-folder-unflag-important-dop): Ditto.
3113         (elmo-folder-flag-as-answered-dop): Ditto.
3114         (elmo-folder-unflag-answered-dop): Ditto.
3115
3116         * elmo-cache.el (elmo-folder-msgdb-create): Call
3117         `elmo-global-flags-set'.
3118
3119         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3120         Call `elmo-global-flags-set'.
3121         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3122         elmo-archive-parse-mmdf with argument `folder'.
3123         (elmo-archive-parse-mmdf): Added argument `folder';
3124         Call `elmo-global-flags-set'.
3125
3126         * elmo-version.el (elmo-version): Up to 2.11.14.
3127
3128 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3129
3130         * modb.el (elmo-msgdb-length): Define.
3131
3132         * elmo.el (elmo-make-folder): Fixed.
3133         (elmo-generic-folder-append-messages): Follow the API change.
3134
3135         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3136         API change.
3137
3138 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3139
3140         * modb.el: New file.
3141
3142         * modb-entity.el: Ditto.
3143
3144         * modb-legacy.el: Ditto.
3145
3146         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3147         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3148         of `elmo-msgdb-overview-get-entity'.
3149         (elmo-msgdb-get-field): Ditto.
3150         (elmo-msgdb-merge): Moved to `elmo.el'.
3151         (elmo-msgdb-length): Removed; redefine as modb method.
3152         (elmo-msgdb-change-mark): Abolish.
3153         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3154         (elmo-msgdb-match-condition): Don't use mark.
3155         (elmo-msgdb-overview-get-entity): Abolish.
3156         Split modb part into `modb*.el'.
3157
3158         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3159
3160         * elmo-shimbun.el (shimbun-mua-search-id): Use
3161         `elmo-msgdb-message-entity' instead of
3162         `elmo-msgdb-overview-get-entity'.
3163         (elmo-shimbun-folder-shimbun-header): Ditto.
3164         (elmo-shimbun-get-headers): Ditto.
3165         (elmo-shimbun-update-overview): Ditto.
3166
3167         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3168
3169         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3170
3171         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3172         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3173
3174         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3175         `elmo-msgdb-mark-to-flags'.
3176
3177         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3178         `elmo-msgdb-set-path'.
3179
3180         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3181  
3182         * elmo-version.el (elmo-version): Up to 2.11.13.
3183
3184         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3185
3186         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3187         of mark.
3188
3189 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3190
3191         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3192         mismatch.
3193
3194 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3195
3196         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3197         instead of `elmo-msgdb-get-cached'.
3198         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3199
3200         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3201         (elmo-msgdb-set-cached): Ditto.
3202         (elmo-msgdb-set-flag): Rewrite.
3203         (elmo-msgdb-unset-flag): Ditto.
3204
3205         * elmo-msgdb.el: Rewrite with luna.
3206
3207         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3208         (elmo-folder-msgdb): Follow the change above.
3209         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3210         (elmo-folder-unmark-important): Follow the API change.
3211         (elmo-folder-mark-as-important): Ditto.
3212         (elmo-folder-unmark-read): Ditto.
3213         (elmo-folder-mark-as-read): Ditto.
3214         (elmo-folder-unmark-answered): Ditto.
3215         (elmo-folder-mark-as-answered): Ditto.
3216         (elmo-folder-clear): Likewise.
3217
3218         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3219         instead of `elmo-msgdb-load' (renamed).
3220
3221         * elmo-version.el (elmo-version): Up to 2.11.12.
3222
3223 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3224
3225         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3226         change.
3227         (elmo-message-mark): Abolish.
3228         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3229         instead of `elmo-msgdb-change-mark'.
3230
3231         * elmo-pipe.el (elmo-message-mark): Abolish.
3232
3233         * elmo-multi.el (elmo-message-mark): Ditto.
3234
3235         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3236         (elmo-msgdb-unread-uncached-mark): Ditto.
3237         (elmo-msgdb-unread-cached-mark): Ditto.
3238         (elmo-msgdb-read-uncached-mark): Ditto.
3239         (elmo-msgdb-answered-cached-mark): Ditto.
3240         (elmo-msgdb-answered-uncached-mark): Ditto.
3241         (elmo-msgdb-important-mark): Ditto.
3242         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3243         `use-cache'.
3244         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3245         `flags'.
3246         (elmo-flag-table-load): Changed flag to list of flag.
3247         (elmo-flag-table-set): If flags is nil, set read flag.
3248         (elmo-flag-table-get): Return derived flags from global mark,
3249         cache status and saved flags.
3250         (elmo-msgdb-flag-table): Follow the change above.
3251         (elmo-msgdb-out-of-date-messages): New function.
3252
3253         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3254
3255         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3256
3257         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3258
3259         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3260         (elmo-nntp-msgdb-create-message): Ditto.
3261
3262         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3263
3264         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3265         independent.
3266         (elmo-folder-msgdb-create): Follow the API change.
3267
3268         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3269         (elmo-folder-append-messages): Ditto.
3270
3271         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3272         (elmo-folder-append-buffer): Ditto.
3273
3274         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3275
3276         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3277
3278         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3279         (elmo-archive-parse-mmdf): Ditto.
3280
3281         * elmo-version.el (elmo-version): Up to 2.11.11.
3282
3283 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3286         `elmo-msgdb-mark'.
3287
3288         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3289
3290         * elmo-pipe.el (elmo-message-flags): Defined.
3291
3292         * elmo-multi.el (elmo-message-flags): Ditto.
3293
3294 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3295
3296         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3297         `elmo-msgdb-delete-msgs'.
3298
3299         * elmo.el (elmo-folder-count-flags): Don't use
3300         `elmo-msgdb-get-mark-alist'.
3301         (elmo-folder-detach-messages): Follow the API change.
3302
3303         * elmo.el (elmo-folder-list-messages): Append killed messages into
3304         result if `visible-only' is nil.
3305
3306         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3307         canceled messages.
3308         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3309         (elmo-folder-update-number): Likewise.
3310
3311         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3312         (elmo-pop3-sort-msgdb-by-original-number): Use
3313         `elmo-msgdb-sort-entities'.
3314
3315         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3316         (elmo-msgdb-sort-by-date): Use it.
3317         (elmo-msgdb-overview-sort-by-date): Abolish.
3318
3319         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3320
3321         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3322         (elmo-msgdb-flags): New function.
3323         (elmo-msgdb-merge): Use elmo-msgdb-append.
3324
3325         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3326         change.
3327
3328         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3329
3330         * elmo-dop.el (elmo-folder-status-dop): Use
3331         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3332
3333 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3334
3335         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3336
3337         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3338
3339         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3340
3341         * elmo-util.el (elmo-with-progress-display): New macro.
3342
3343         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3344
3345 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3346
3347         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3348         `elmo-folder-list-message-entities' instead of
3349         `elmo-msgdb-get-overview'.
3350         (elmo-map-folder-list-message-locations): Ditto.
3351
3352         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3353         methods instead of treat directly).
3354         (elmo-msgdb-clear): Ditto.
3355         (elmo-msgdb-delete-msgs): Ditto.
3356         (elmo-msgdb-sort-by-date): Ditto.
3357
3358         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3359         local variables.
3360         (elmo-nntp-folder-msgdb-create): Follow the API change.
3361
3362         * elmo-version.el (elmo-version): Up to 2.11.10.
3363
3364 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3365
3366         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3367         (elmo-msgdb-flags-to-mark): Ditto.
3368         (elmo-msgdb-append-entity): Ditto.
3369
3370         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3371         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3372         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3373         (elmo-archive-parse-mmdf): Ditto.
3374
3375         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3376
3377         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3378
3379         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3380
3381         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3382
3383         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3384
3385         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3386
3387         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3388
3389         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3390
3391         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3392         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3393         to empty msgdb.
3394
3395         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3396         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3397         instead of directly construction.
3398         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3399         instead of construct msgdb.
3400
3401         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3402         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3403         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3404         instead of construct msgdb.
3405
3406 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3407
3408         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3409         when field is from or subject.
3410
3411 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3412
3413         * elmo-multi.el (elmo-message-entity-parent): Define.
3414         (elmo-folder-search): Rewrite.
3415
3416 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3417
3418         * elmo-multi.el (elmo-message-cached-p): Define.
3419
3420         * elmo.el (elmo-message-cached-p): New method.
3421         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3422         (elmo-message-flags): New method.
3423         (elmo-message-flagged-p): New function.
3424
3425         * elmo-version.el (elmo-version): Up to 2.11.9.
3426
3427 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3428
3429         * elmo-version.el (elmo-version): Up to 2.11.8.
3430
3431         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3432
3433         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3434
3435 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3436
3437         * elmo.el (elmo-folder-detach-messages): Undo last change.
3438
3439 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3440
3441         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3442
3443         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3444         only when src folder type is pop3.
3445
3446 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3447
3448         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3449         elmo-msgdb-overview-entity-get-number instead of
3450         elmo-message-entity-number.
3451
3452 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3453
3454         * elmo-version.el (elmo-version): Up to 2.11.7.
3455
3456 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3457
3458         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3459         function.
3460
3461         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3462         (elmo-msgdb-merge): New function.
3463         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3464         (elmo-msgdb-make-index): Rewrite.
3465
3466         * elmo-version.el (elmo-version): Up to 2.11.6.
3467
3468         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3469         use it as a the path for loading message entities.
3470
3471         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3472
3473 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3474
3475         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3476         message-modified slot of itself if it does not require target msgdb.
3477
3478         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3479         if folder length is zero.
3480         (elmo-mime-display-as-is): Ditto.
3481
3482         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3483
3484         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3485
3486 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3487
3488         * elmo.el (elmo-folder-set-message-modified): New method.
3489         (elmo-generic-folder-commit): Use it.
3490         (elmo-folder-synchronize): Ditto.
3491
3492         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3493         (elmo-folder-commit): Remove duplicate definition.
3494
3495 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3496
3497         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3498
3499 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3500
3501         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3502         (elmo-strict-folder-diff): Ditto.
3503         (elmo-folder-set-info-max-by-numdb): Simplify.
3504
3505         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3506         elmo-msgdb-list-messages.
3507
3508         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3509         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3510
3511 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3512
3513         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3514         visible-only is non-nil.
3515         (elmo-folder-confirm-appends): Changed message.
3516         (elmo-folder-synchronize): Added argument disable-killed.
3517
3518         * elmo-multi.el (elmo-folder-synchronize): Added argument
3519         disable-killed.
3520
3521         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3522
3523         * elmo-version.el (elmo-version): Up to 2.11.5.
3524
3525         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3526         elmo-list-filter.
3527
3528         * elmo-util.el (elmo-list-filter): Simplify.
3529
3530         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3531         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3532         (elmo-generic-folder-diff): Abolish argument.
3533         (elmo-msgdb-load): Don't use number-alist.
3534
3535         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3536
3537         * elmo-pipe.el (elmo-folder-diff): Ditto.
3538
3539         * elmo-nmz.el (elmo-folder-diff): Ditto.
3540
3541         * elmo-net.el (elmo-folder-diff): Ditto.
3542
3543         * elmo-maildir.el (elmo-folder-diff): Ditto.
3544
3545         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3546
3547         * elmo-multi.el (elmo-folder-diff): Ditto
3548         (elmo-multi-folder-diff): Rewrite.
3549
3550 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3551
3552         * elmo-pipe.el (elmo-folder-msgdb): Define.
3553
3554 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3555
3556         * elmo.el (elmo-message-set-cached): Define as a method.
3557
3558         * elmo-pipe.el (elmo-message-set-cached): Define.
3559         (elmo-find-fetch-strategy): Ditto.
3560
3561         * elmo-multi.el (elmo-message-set-cached): Define.
3562         (elmo-find-fetch-strategy): Rewrite.
3563
3564         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3565
3566         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3567
3568 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3569
3570         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3571         instead of number-alist.
3572
3573         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3574         mark nor message-id when msgdb of source folder is not loaded.
3575
3576         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3577
3578         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3579
3580 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3581
3582         * elmo.el (elmo-folder-length): Don't require msgdb.
3583
3584 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3587         (elmo-message-field): Ditto.
3588
3589         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3590         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3591         slot.
3592         (elmo-map-folder-list-answereds): Define.
3593         (elmo-maildir-list-location): Treat 'R' info.
3594         (elmo-folder-msgdb-create): Treat flag-table.
3595         (elmo-folder-append-messages): Save flag-table.
3596
3597 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3598
3599         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3600         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3601
3602 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3603
3604         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3605
3606         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3607         'read when mark is null.
3608
3609 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3610
3611         * elmo-version.el (elmo-version): Up to 2.11.4.
3612
3613 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3614
3615         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3616         (elmo-folder-mark-as-answered): Ditto.
3617
3618 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3619
3620         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3621         (elmo-pop3-get-session): Make msgdb directory after session.
3622         (elmo-folder-exists-p): Check exactly at the first time even when the
3623         elmo-pop3-exists-exactly is nil.
3624
3625         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3626         (elmo-folder-list-messages): Define instead of
3627         elmo-folder-list-messages-internal.
3628         (elmo-folder-check): Check destination folder.
3629         (elmo-folder-synchronize): Drain the pipe.
3630
3631         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3632         when msgdb is not loaded.
3633
3634         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3635
3636         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3637         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3638         messages.
3639
3640         * elmo.el (elmo-folder-kill-messages-before): New function.
3641         (elmo-folder-kill-messages): Ditto.
3642         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3643
3644         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3645         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3646         killed not by synchronize (e.g. scoring).
3647
3648 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3649
3650         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3651         treated.
3652         (elmo-folder-search): Follow the change above.
3653
3654         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3655         into the candidates of search field.
3656
3657 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3658
3659         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3660         (elmo-msgdb-unset-flag): Ditto.
3661
3662         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3663
3664 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3665
3666         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3667         (elmo-folder-commit): Define.
3668         (elmo-folder-synchronize): Ditto.
3669         (elmo-folder-list-flagged): Ditto.
3670         (elmo-folder-commit): Ditto.
3671         (elmo-folder-length): Ditto.
3672         (elmo-folder-count-flags): Ditto.
3673         (elmo-message-mark): Ditto.
3674         (elmo-message-field): Ditto.
3675         (elmo-message-entity): Ditto.
3676         (elmo-message-folder): Ditto.
3677
3678 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3679
3680         * elmo.el (elmo-message-field): Define as a method.
3681
3682         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3683         (elmo-message-field): Define.
3684
3685         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3686         (elmo-folder-list-importants): Ditto.
3687         (elmo-folder-list-answereds): Ditto.
3688
3689         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3690         qualifier.
3691         (elmo-folder-mark-as-read): Ditto.
3692         (elmo-folder-unmark-read): Ditto.
3693         (elmo-folder-mark-as-answered): Ditto.
3694         (elmo-folder-unmark-answered): Ditto.
3695         (elmo-folder-list-flagged): Define.
3696         (elmo-folder-commit): Ditto.
3697         (elmo-folder-length): Ditto.
3698         (elmo-folder-count-flags): Ditto.
3699
3700 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3701
3702         * elmo.el (elmo-folder-detach-messages): New method.
3703         (elmo-folder-move-messages): Use it.
3704         (elmo-folder-synchronize): Ditto.
3705
3706         * elmo-multi.el (elmo-folder-detach-messages): Define.
3707
3708         * elmo.el (elmo-message-copy-entity): New function.
3709         (elmo-message-entity-set-number): Ditto.
3710         (elmo-message-mark): Define as method.
3711
3712         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3713         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3714         (elmo-message-entity): Fixed last change.
3715         (elmo-message-mark): Define.
3716         (elmo-folder-msgdb-create): Abolish.
3717         (elmo-multi-folder-append-msgdb): Ditto.
3718         (elmo-multi-folder-diff): Fixed.
3719         (elmo-multi-split-number-alist): Removed.
3720         (elmo-multi-split-mark-alist): Removed.
3721         (elmo-folder-list-messages): Define.
3722         (elmo-folder-list-messages-internal): Removed.
3723
3724         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3725         local file messages.
3726         (elmo-folder-msgdb-create): Fixed read mark.
3727
3728 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3729
3730         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3731         if mark is nil.
3732
3733 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3734
3735         * elmo.el (elmo-folder-list-message-entities): Define as inline
3736         function.
3737         (elmo-folder-messages): Abolish.
3738
3739         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3740         folder.
3741         (elmo-folder-synchronize): Define.
3742         (elmo-message-entity): Define.
3743
3744 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3745
3746         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3747         elmo-imap4-session-select-mailbox.
3748
3749         * elmo.el (elmo-folder-move-messages): Don't display any message.
3750
3751         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3752         parsing.
3753         (elmo-imap4-session-check): Don't wait CHECK response.
3754         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3755
3756 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3757
3758         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3759
3760 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3761
3762         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3763         API.
3764         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3765
3766
3767         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3768         (elmo-folder-list-message-entities): Added argument in-msgdb and
3769         numbers.
3770         (elmo-folder-synchronize): Define as a method.
3771
3772         * elmo-nntp.el (elmo-folder-initialize): Don't use
3773         elmo-nntp-default-user if zero-length username is specified
3774         explicitly.
3775
3776 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3777
3778         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3779         server name in case with username.
3780         (XXX: this is ad-hoc fix against username includes "@", it
3781         should be solved fundamentally)
3782
3783 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3784
3785         * elmo-nntp.el (elmo-nntp-debug): New function.
3786         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3787         (elmo-network-authenticate-session): Hide auth-info from the log.
3788
3789         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3790         user name if it is equal to elmo-nntp-default-user.
3791
3792 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3793
3794         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3795         instead of shimbun-server-internal;
3796         Use shimbun-current-group instead of shimbun-current-group-internal.
3797         (elmo-folder-plugged-p): Use shimbun-server instead of
3798         shimbun-server-internal.
3799         (elmo-folder-set-plugged): Ditto.
3800         (elmo-net-port-info): Ditto.
3801         (elmo-folder-check): Ditto.
3802         (elmo-folder-expand-msgdb-path): Ditto.
3803         (elmo-folder-list-subfolders): Ditto.
3804
3805 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3806
3807         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3808         Convert field-name to lower case.
3809         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3810
3811 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3812
3813         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3814         `message' and `error' take format string.
3815
3816 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3817
3818         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3819
3820 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3821
3822         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3823         recursive call (can't byte compile on emacs 20.7).
3824
3825 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3826
3827         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3828         (elmo-folder-list-message-entities): New API.
3829         (elmo-message-entity): Ditto.
3830         (elmo-message-entity-parent): Ditto.
3831         (elmo-folder-do-each-message-entity): Ditto.
3832         (elmo-message-entity-number): Ditto.
3833         (elmo-message-entity-field): Ditto.
3834         (elmo-message-entity-set-field): Ditto.
3835         (elmo-folder-count-flags): Ditto.
3836         (elmo-folder-length): Ditto.
3837
3838         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3839         not.
3840
3841         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3842         (elmo-msgdb-count-marks): Abolish.
3843         (elmo-msgdb-make-entity): Ditto.
3844         (elmo-msgdb-do-each-entity): Ditto.
3845         (elmo-msgdb-message-entity): New inline function.
3846         (elmo-msgdb-message-entity-field): Ditto.
3847         (elmo-msgdb-message-entity-set-field): Ditto.
3848         (elmo-msgdb-make-message-entity): New function.
3849
3850 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3851
3852         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3853         to flag. (All other related portions are changed.)
3854         (elmo-folder-msgdb-create): Likewise.
3855         (elmo-generic-folder-append-messages): Use flag-table instead of
3856         seen-list.
3857         (elmo-folder-move-messages): Removed redundant process.
3858         (elmo-folder-synchronize): Likewise.
3859
3860         * elmo-msgdb.el (elmo-flag-table-get): New function.
3861         (elmo-flag-table-save): Fixed.
3862         (elmo-msgdb-length): New inline function.
3863         (elmo-msgdb-flag-table): New function.
3864         (elmo-msgdb-mark): Add optional argument new.
3865         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3866         (elmo-msgdb-seen-list): Ditto.
3867         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3868
3869
3870 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3871
3872         * elmo.el (elmo-message-set-mark): Abolish.
3873         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3874         (All related portions are changed.)
3875
3876         * elmo-msgdb.el (toplevel): Added comment.
3877         (elmo-load-msgdb): Added 4th element `path'.
3878         (elmo-msgdb-append): Follow the change above.
3879         (elmo-msgdb-clear): Ditto.
3880         (elmo-msgdb-delete-msgs): Ditto.
3881         (elmo-msgdb-get-path): New inline function.
3882         (elmo-msgdb-set-path): Ditto.
3883         (elmo-flag-table-filename): New variable.
3884         (elmo-flag-table-load): New function.
3885         (elmo-flag-table-set): Ditto.
3886         (elmo-flag-table-save): Ditto.
3887         (elmo-msgdb-get-field-value): Abolish.
3888         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3889
3890 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3891
3892         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3893         the folder has been deleted successfully.
3894         * elmo-imap4.el (elmo-folder-delete): Ditto.
3895         * elmo-archive.el (elmo-folder-delete): Ditto.
3896         * elmo-localdir.el (elmo-folder-delete): Ditto.
3897         * elmo-maildir.el (elmo-folder-delete): Ditto.
3898
3899 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3900
3901         * elmo-util.el (elmo-string-member-ignore-case): New function.
3902         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3903         (elmo-imap4-fetch-callback-1-subr): Likewise.
3904
3905 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3906
3907         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3908         the case of the name attribute "\Noselect".
3909
3910 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3911
3912         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3913
3914         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3915         flist, is not always a member of onum-alist.
3916
3917 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3918
3919         * elmo-version.el (elmo-version): Up to 2.11.3.
3920
3921 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3922
3923         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3924         copied from localdir's one.
3925
3926         * elmo-pipe.el (elmo-folder-rename): New method, rename
3927         destination folder with leaving source folder as it is.
3928
3929 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3930
3931         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3932         replace-regexp.
3933
3934 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3935
3936         * elmo-version.el (elmo-version): Up to 2.11.2.
3937
3938 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3939
3940         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3941         shimbun-open in case of "@".
3942         (elmo-folder-open-internal): Cope with shimbun = nil case.
3943         (elmo-folder-plugged-p): Ditto.
3944         (elmo-folder-list-subfolders): Make list for "@/" group.
3945
3946 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3947
3948         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3949         mailbox (e.g. for %~/something).
3950
3951 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3952
3953         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3954         Replace nested conditional with guard clauses.
3955
3956 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3957
3958         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3959         error [wl:11327].
3960
3961         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3962         print-depth.
3963
3964 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3965
3966         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3967         Replace nested conditional with guard clauses.
3968
3969 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3970
3971         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3972         (elmo-passwd-alist-save): Ditto.
3973         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3974
3975 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3976
3977         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3978         dir-name only if it is absolute path.
3979         (TODO: distinguish +/something and +something)
3980
3981 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3982
3983         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3984         path for "+~/something".
3985
3986 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3987
3988         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3989         as non-directory, cause error before rename-file.
3990         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3991         apropriately, mimic localdir's one.
3992         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3993
3994 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3995
3996         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3997
3998 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4001
4002         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4003         
4004         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4005         is included in the global-mark or not.
4006
4007 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4008
4009         * utf7.el (toplevel): Avoid error when the function
4010         find-coding-system does not exist.
4011
4012 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4013
4014         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4015         cache even if the folder is plugged.
4016         (elmo-nntp-search-primitive): Do nothing when body search is
4017         invoked (although it is not used by the change above).
4018         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4019
4020 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4021
4022         * elmo-version.el (elmo-version): Up to 2.11.1.
4023
4024 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4025
4026         * elmo-archive.el: Specify charset.
4027
4028 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4029
4030         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4031         process buffer lives or not.
4032
4033         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4034         while flushing queues (It causes infinite loop).
4035
4036 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4039
4040 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4041
4042         * utf7.el (toplevel): Check the ucs features dynamically.
4043         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4044
4045         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4046         folder is creatabe or not if it already exists.
4047
4048 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4049
4050         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4051
4052         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4053
4054         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4055         (elmo-imap4-read-response): Take care of garbage response.
4056
4057 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4058
4059         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4060         just return nil instead of error.
4061
4062 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4063
4064         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4065         search-key is "body".
4066
4067 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4068
4069         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4070         of elmo-string-matched-assoc to use match-data.
4071         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4072
4073 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4074
4075         * elmo-split.el (elmo-split->): New function.
4076         (elmo-split-<): Ditto.
4077
4078 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4079
4080         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4081         workaround for invalid message-id.
4082
4083 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4084
4085         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4086         return normal pop3 session or pop3 biff session.
4087
4088 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4089
4090         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4091         info part to the cur files when the new files already have it.
4092         (Adviced by Jared Rhine <jared@wordzoo.com>)
4093
4094 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4095
4096         * elmo-split.el (elmo-split-default-action): New variable.
4097         (elmo-split-subr): Use it if all other conditions are passed.
4098         Extend `fname' and rename it as `action'. (implemented
4099         Teranishi-san's idea in [wl:10800])
4100
4101 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4102
4103         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4104         * elmo-util.el: Ditto.
4105
4106 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4107
4108         * elmo.el (elmo-message-accessible-p): Renamed from
4109         elmo-message-cached-p and rewritten.
4110
4111 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4112
4113         * elmo.el (elmo-folder-list-flagged): New generic function.
4114         (elmo-folder-list-importants): New implementation.
4115         (elmo-folder-list-answereds): Ditto.
4116         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4117         Added 'digest'.
4118         (elmo-message-cached-p): New function.
4119         (elmo-message-set-flag): Ditto (no content).
4120         (elmo-message-unset-flag): Ditto.
4121         (elmo-folder-list-messages-mark-match): Abolish.
4122
4123         * elmo-util.el (elmo-regexp-opt): New function.
4124
4125         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4126         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4127         Added 'digest'.
4128         (elmo-msgdb-list-flagged): New function.
4129
4130         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4131         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4132         Added 'digest'.
4133
4134         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4135
4136 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4137
4138         * elmo-version.el (elmo-version): Up to 2.11.0.
4139
4140 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4141
4142         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4143         `elmo-file-cache-exists-p'; use proper mark that depends on
4144         `use-cache'.
4145         (elmo-msgdb-unset-flag): Ditto.
4146         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4147
4148         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4149         with 4th argument `use-cache'.
4150
4151 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4152
4153         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4154         (elmo-folder-mark-as-important): Ditto.
4155         (elmo-folder-unmark-read): Ditto.
4156         (elmo-folder-mark-as-read): Ditto.
4157         (elmo-folder-unmark-answered): Ditto.
4158         (elmo-folder-mark-as-answered): Ditto.
4159
4160         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4161         message status.
4162         (elmo-msgdb-mark): Likewise.
4163         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4164         (elmo-msgdb-unset-flag): Likewise.
4165
4166         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4167
4168 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4169
4170         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4171         `last:' filter.
4172
4173 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4174
4175         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4176         set spool-length to 0.
4177
4178 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4179
4180         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4181         (elmo-dop-queue-flush): Fixed last change.
4182
4183 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4184
4185         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4186         if require-msgdb slot is nil.
4187         (elmo-folder-list-importants): Likewise.
4188
4189 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4190
4191         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4192         mark is changed.
4193
4194         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4195         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4196         is changed.
4197
4198 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4199
4200         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4201
4202 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4203
4204         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4205
4206         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4207
4208 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4209
4210         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4211         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4212
4213 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4214
4215         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4216         the problem reported by Sean Rima [wl-en:180].
4217
4218 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4219
4220         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4221
4222         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4223
4224         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4225
4226         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4227
4228         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4229
4230         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4231
4232         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4233
4234 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4235
4236         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4237         status number.
4238
4239 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4240
4241         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4242         (elmo-folder-mark-as-read): Follow the API change.
4243         (elmo-message-set-cached): New function.
4244
4245         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4246
4247         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4248
4249         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4250         (elmo-folder-mark-as-important): Ditto.
4251         (elmo-folder-unmark-read): Ditto.
4252         (elmo-folder-mark-as-read): Ditto.
4253         (elmo-folder-unmark-answered): Ditto.
4254         (elmo-folder-mark-as-answered): Ditto.
4255
4256         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4257         (elmo-folder-unmark-important): Ditto.
4258         (elmo-folder-mark-as-read): Ditto.
4259         (elmo-folder-unmark-read): Ditto.
4260         (elmo-folder-mark-as-answered): Ditto.
4261         (elmo-folder-unmark-answered): Ditto.
4262
4263         * elmo-mark.el (toplevel): Removed some mark method definitions.
4264
4265         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4266         (elmo-map-folder-mark-as-answered): Ditto.
4267         (elmo-folder-unmark-important): Add :before qualifier.
4268         (elmo-folder-mark-as-important): Ditto.
4269         (elmo-folder-unmark-read): Ditto.
4270         (elmo-folder-mark-as-read): Ditto.
4271         (elmo-folder-unmark-answered): Define.
4272         (elmo-folder-mark-as-answered): Ditto.
4273
4274         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4275         (elmo-map-folder-unmark-answered): Ditto.
4276
4277         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4278
4279         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4280         (elmo-folder-mark-as-important): Ditto.
4281         (elmo-folder-unmark-read): Ditto.
4282         (elmo-folder-mark-as-read): Ditto.
4283         (elmo-folder-unmark-answered): Ditto.
4284         (elmo-folder-mark-as-answered): Ditto.
4285
4286         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4287         `mark'; evaluate mark condition.
4288         (elmo-msgdb-match-condition-internal): New function.
4289         (elmo-msgdb-match-condition): Call it; changed argument.
4290
4291         * elmo.el (elmo-folder-search): Follow the API change on
4292         `elmo-msgdb-match-condition'.
4293
4294 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4295
4296         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4297         original mark is non-nil.
4298
4299 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4300
4301         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4302         (elmo-map-folder-list-answereds): New method.
4303         (elmo-folder-list-unreads): Add :around qualifier.
4304         (elmo-folder-list-importants): Ditto.
4305         (elmo-folder-list-answereds): Ditto.
4306
4307 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4308
4309         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4310
4311         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4312         method if msgdb is not required.
4313         (elmo-filter-folder-list-importants): Don't treat global-mark.
4314
4315         * elmo.el (elmo-folder-list-importants): Ditto.
4316
4317         * elmo-net.el (elmo-folder-list-importants): Ditto.
4318
4319         * elmo-map.el (elmo-folder-list-importants): Ditto.
4320
4321         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4322
4323         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4324         (elmo-imap4-folder-list-any-plugged): New function.
4325         (elmo-imap4-search-internal-primitive): Use it.
4326
4327         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4328         only when require-msgdb slot is non-nil.
4329         (elmo-folder-close): Clear target folder's msgdb.
4330
4331 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4332
4333         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4334         (elmo-pop3-msgdb-create-by-header): Ditto.
4335         (elmo-pop3-msgdb-create-message): Ditto.
4336
4337         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4338
4339         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4340
4341         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4342
4343         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4344         (elmo-folder-msgdb-create): Ditto.
4345         (elmo-nntp-folder-msgdb-create): Ditto.
4346         (elmo-nntp-msgdb-create-by-header): Ditto.
4347         (elmo-nntp-msgdb-create-message): Ditto.
4348         (elmo-folder-list-unreads): Define.
4349
4350         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4351         (elmo-folder-append-messages): Ditto.
4352         (elmo-folder-list-unreads): Define.
4353         (elmo-folder-list-importants): Ditto.
4354         (elmo-folder-list-answereds): Ditto.
4355
4356         * elmo-net.el (elmo-folder-list-unreads): Define.
4357         (elmo-folder-list-importants): Ditto.
4358         (elmo-folder-list-answereds): Ditto.
4359         (elmo-folder-list-answereds-plugged): Ditto.
4360         (elmo-folder-msgdb-create): Follow the API change.
4361         (elmo-folder-msgdb-create-unplugged): Ditto.
4362         (elmo-folder-unmark-answered): Define.
4363         (elmo-folder-mark-as-answered-unplugged): Ditto.
4364         (elmo-folder-unmark-answered-unplugged): Ditto.
4365
4366         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4367         (elmo-msgdb-unread-uncached-mark): Ditto.
4368         (elmo-msgdb-unread-cached-mark): Ditto.
4369         (elmo-msgdb-read-uncached-mark): Ditto.
4370         (elmo-msgdb-answered-cached-mark): Ditto.
4371         (elmo-msgdb-answered-uncached-mark): Ditto.
4372         (elmo-msgdb-important-mark): Ditto.
4373         (elmo-msgdb-set-mark): Rewrite.
4374         (elmo-msgdb-count-marks): Rewrite.
4375         (elmo-msgdb-mark-alist-set): Abolish.
4376         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4377         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4378
4379         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4380         (elmo-folder-close): Define.
4381         (elmo-folder-msgdb-create): Follow the API change.
4382         (elmo-folder-list-unreads): Rewrite.
4383         (elmo-folder-mark-as-important): Ditto.
4384         (elmo-folder-unmark-important): Ditto.
4385         (elmo-folder-mark-as-read): Ditto.
4386         (elmo-folder-unmark-read): Ditto.
4387         (elmo-folder-mark-as-answered): Define.
4388         (elmo-folder-unmark-answered): Ditto.
4389
4390         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4391         (elmo-folder-append-messages): Ditto.
4392
4393         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4394
4395         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4396         (elmo-folder-list-importants): Ditto.
4397
4398         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4399         (elmo-folder-append-messages): Ditto.
4400
4401         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4402         change.
4403         (elmo-folder-msgdb-create-plugged): Ditto.
4404         (elmo-folder-append-messages): Ditto.
4405         (elmo-folder-list-answereds-plugged): Define.
4406         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4407         (elmo-folder-unmark-answered-plugged): Define.
4408         (elmo-folder-mark-as-answered-plugged): Ditto.
4409         (elmo-folder-search-requires-msgdb-p): Ditto.
4410
4411         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4412         (elmo-folder-initialize): Set it.
4413         (elmo-folder-msgdb): Define.
4414         (elmo-folder-check): Call elmo-folder-synchronize.
4415         (elmo-folder-close): Define.
4416         (elmo-folder-commit): Ditto.
4417         (elmo-folder-msgdb-create): Rewrite.
4418         (elmo-folder-list-unreads): Ditto.
4419         (elmo-folder-list-importants): Ditto.
4420         (elmo-folder-mark-as-read): Ditto.
4421         (elmo-folder-unmark-read): Ditto.
4422         (elmo-folder-mark-as-important): Ditto.
4423         (elmo-folder-unmark-important): Ditto.
4424         (elmo-folder-mark-as-answered): Define.
4425         (elmo-folder-unmark-answered): Ditto.
4426
4427         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4428         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4429         (elmo-dop-queue-method-name-alist): Likewise.
4430         (elmo-folder-mark-as-answered-dop): New inline function.
4431         (elmo-folder-unmark-answered-dop): Ditto.
4432         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4433
4434         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4435         (elmo-folder-msgdb-create): Ditto.
4436         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4437         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4438         (elmo-archive-parse-mmdf): Ditto.
4439
4440         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4441         (elmo-folder-list-unreads-internal): Ditto.
4442
4443         * elmo.el (elmo-folder-msgdb): Define as generic function.
4444         (elmo-folder-list-messages): Added argument `in-msgdb'.
4445         (elmo-folder-list-unreads): Define as generic function.
4446         (elmo-folder-list-importants): Ditto.
4447         (elmo-folder-list-answereds): Ditto.
4448         (elmo-folder-list-messages-with-global-mark): New function.
4449         (elmo-folder-msgdb-create): Removed mark arguments.
4450         (elmo-folder-unmark-answered): New generic function.
4451         (elmo-folder-mark-as-answered): Ditto.
4452         (elmo-folder-append-messages): Removed argunment `unread-marks'
4453         (elmo-folder-list-unreads-internal): Abolish.
4454         (elmo-folder-list-importants-internal): Ditto.
4455         (elmo-folder-search-requires-msgdb-p): New generic function.
4456         (elmo-folder-search-requires-msgdb-p-internal): New function.
4457         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4458         elmo-msgdb-load.
4459         (elmo-folder-search-fast): Added key 'mark'.
4460         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4461         instead of unread-marks argument.
4462         (elmo-folder-move-messages): Removed argunment `unread-marks'
4463         (elmo-folder-unmark-important): Define.
4464         (elmo-folder-mark-as-important): Ditto.
4465         (elmo-folder-unmark-read): Ditto.
4466         (elmo-folder-mark-as-read): Ditto.
4467         (elmo-folder-unmark-answered): Ditto.
4468         (elmo-folder-mark-as-answered): Ditto.
4469         (elmo-folder-replace-marks): Abolish.
4470         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4471         duplicates.
4472         (elmo-folder-synchronize): Removed mark arguments;
4473         return crosspost only number.
4474
4475 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4476
4477         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4478         Remove redundunt connectivity check.
4479
4480 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4481
4482         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4483         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4484
4485 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4486
4487         * pldap.el (ldap-decode-string): Return string as-is if
4488         `ldap-coding-system' is nil.
4489         (ldap-encode-string): Ditto.
4490         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4491         (ldap-default-host): Fixed docstring.
4492
4493 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4494
4495         * elmo-util.el (elmo-warning): Define as a macro which uses
4496         `display-warning' if it is defined as a function.
4497
4498         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4499         (elmo-split-equal): Use it.
4500         (elmo-split-match): Ditto.
4501         (elmo-split-message-entity): New buffer-local variable.
4502         (elmo-split-subr): Set it.
4503
4504         * elmo-version.el (elmo-version): Up to 2.9.15.
4505
4506 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4507
4508         * elmo-imap4.el (elmo-network-initialize-session):
4509         Check capability after starttls.
4510
4511 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * elmo-util.el (elmo-list-delete): Added optional argument
4514         DELETE-FUNCTION.
4515
4516         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4517
4518         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4519
4520         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4521
4522         * elmo-imap4.el (elmo-folder-initialize): Don't use
4523         elmo-imap4-default-mailbox.
4524
4525 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4526
4527         * elmo-split.el (toplevel): Use `product-provide'.
4528         (elmo-split): Checkdoc.
4529
4530 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4531
4532         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4533         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4534         the function `elmo-imap4-debug-1'.
4535
4536 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4537
4538         * elmo-split.el (elmo-split): Moved to run hooks and to show
4539         message from elmo-split-subr.
4540         (elmo-split-subr): Follow the change above.
4541
4542         * elmo-split.el (elmo-split-subr): New function (renamed from
4543         elmo-split-subr).
4544         (elmo-split): Changed to call elmo-split-subr by element of
4545         elmo-split-folder.
4546         (elmo-split-folder): Changed customization type to choice.
4547
4548 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4549
4550         * elmo-split.el (elmo-split-and): Fixed condition.
4551
4552 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4553
4554         * elmo-split.el: New file.
4555         (elmo-split): Fixed logic.
4556         Display "Test:" instead of "Folder:" when reharsal.
4557
4558         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4559         explicitly.
4560
4561         * elmo-version.el (elmo-version): Up to 2.9.14.
4562
4563         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4564         wl-expand-newtext).
4565
4566 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4567
4568         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4569         message with no message-id field.
4570
4571 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4572
4573         * elmo-version.el (elmo-version): Up to 2.9.13.
4574
4575         * elmo-dop.el (elmo-folder-status-dop): Fix.
4576
4577 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4578
4579         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4580
4581         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4582         changing default value of default-mime-charset.
4583         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4584
4585         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4586
4587         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4588         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4589         instead of elmo-dop-queue-method-name-alist to check merging queue.
4590         (elmo-folder-delete-messages-dop): Delete from queue if negative
4591         message number.
4592         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4593         file is already removed.
4594
4595 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4596
4597         * elmo-vars.el: Bind colon keywords for old Emacsen.
4598
4599 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4600
4601         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4602         against non-exsisting charset.
4603
4604 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4605
4606         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4607         Use eword-decode-and-unfold-unstructured-field-body.
4608
4609         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4610         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4611         exists to decode raw subject string.
4612         (toplevel): Require 'mime.
4613
4614         * elmo-version.el (elmo-version): Up to 2.9.12.
4615
4616 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4617
4618         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4619         (elmo-msgdb-set-mark): Ditto.
4620
4621         * elmo-version.el (elmo-version): Up to 2.9.11.
4622
4623 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4624
4625         * elmo-util.el (elmo-delete-match-files): New function.
4626
4627         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4628         instead of elmo-delete-directory.
4629
4630         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4631         elmo-hash-minimun-size as 63.
4632
4633         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4634         elmo-diff-unread is nil.
4635
4636         * elmo-imap4.el (elmo-folder-open): Fix.
4637
4638         * elmo.el (elmo-message-mark): Rewrite.
4639         (elmo-message-field): Ditto.
4640         (elmo-message-set-mark): Ditto.
4641         (elmo-folder-replace-marks): New function.
4642         (elmo-generic-folder-append-msgdb): Removed third argument for
4643         elmo-msgdb-append.
4644         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4645         (elmo-msgdb-load): New implementation.
4646
4647         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4648
4649         * elmo-util.el (elmo-list-insert): New implementation.
4650
4651         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4652         argument for elmo-msgdb-append.
4653         
4654
4655         * elmo-msgdb.el (elmo-load-msgdb): New function.
4656         (elmo-make-msgdb): Ditto.
4657         (elmo-msgdb-get-index): New inline function.
4658         (elmo-msgdb-set-index): Ditto.
4659         (elmo-msgdb-get-entity-hashtb): Ditto.
4660         (elmo-msgdb-get-mark-hashtb): Ditto.
4661         (elmo-msgdb-get-mark): Ditto.
4662         (elmo-msgdb-set-mark): Ditto.
4663         (elmo-msgdb-count-marks): Ditto.
4664         (elmo-msgdb-get-number): Ditto.
4665         (elmo-msgdb-get-field): Ditto.
4666         (elmo-msgdb-seen-list): Ditto.
4667         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4668         (elmo-msgdb-delete-msgs): Follow the changes above.
4669         (elmo-msgdb-overview-get-entity): Ditto.
4670         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4671         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4672         and rewritten.
4673         (elmo-msgdb-make-index): Likewise.
4674         (elmo-msgdb-append): Removed third argument.
4675         (elmo-msgdb-clear): Clear index as nil.
4676         (elmo-folder-set-info-hashtb): Removed.
4677         (elmo-folder-set-info-max-by-numdb): Ditto.
4678         (elmo-folder-info-make-hashtb): Ditto.
4679
4680         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4681
4682         * elmo-map.el (elmo-folder-pack-number): Ditto.
4683
4684 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-version.el (elmo-version): Up to 2.9.10.
4687
4688         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4689
4690         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4691
4692 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4693
4694         * elmo-utils.el (elmo-make-directory): Add option.
4695         Default file mode is 700.
4696
4697 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4698
4699         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4700
4701 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4702
4703         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4704         mime-charset.
4705
4706         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4707         and "smaller".
4708
4709 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4710
4711         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4712         (elmo-shimbun-folder-entity-hash): New function.
4713         (elmo-shimbun-folder-shimbun-header): Ditto.
4714         (elmo-shimbun-entity-to-header): Ditto.
4715         (elmo-shimbun-msgdb-to-headers): Removed.
4716         (elmo-shimbun-folder-setup): Ditto.
4717         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4718         for hash key.
4719         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4720         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4721         Removed useless local bind.
4722         (elmo-folder-open-internal): Don't call
4723         `elmo-shimbun-folder-setup'.
4724         (elmo-folder-close-internal): Clear entity-hash slot.
4725         (elmo-folder-clear): Ditto.
4726         (elmo-shimbun-msgdb-create-entity): Use
4727         `elmo-shimbun-folder-shimbun-header'.
4728         (elmo-map-message-fetch): Ditto.
4729         (elmo-shimbun-update-overview): Use overview entity instead of
4730         shimbun header to lookup id by references.
4731         (elmo-map-folder-list-message-locations): Use not only headers but
4732         also overviews to list locations.
4733
4734 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4735
4736         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4737         msgdb path.
4738
4739         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4740
4741 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4742
4743         * elmo-util.el (elmo-read-search-condition-internal): Give default
4744         value for date.
4745
4746 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4747
4748         * elmo-util.el (elmo-condition-parse-search-value): Accept
4749         YYYY-MM-DD format to search.
4750         * elmo-date.el (elmo-date-get-datevec): Likewise.
4751
4752 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4753
4754         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4755         debugging code.
4756
4757 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4758
4759         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4760         from t.
4761
4762         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4763
4764         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4765         case from `elmo-folder-exists-p'.
4766         (elmo-folder-exists-p): Removed.
4767         (elmo-folder-creatable-p) Ditto.
4768
4769         * elmo-net.el (elmo-folder-create): Defined.
4770         (elmo-folder-create-unplugged): New function.
4771         (elmo-folder-exists-p): Changed default value to nil from t.
4772
4773         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4774         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4775
4776         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4777         `elmo-create-folder-dop' and append queue
4778         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4779         (elmo-folder-create-dop-delayed): New function.
4780
4781         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4782
4783         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4784
4785         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4786         (elmo-folder-writable-p) : Ditto.
4787
4788         * elmo-version.el (elmo-version): Up to 2.9.9.
4789
4790 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4791
4792         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4793         `elmo-message-use-cache-p' returns nil.
4794         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4795         (ignore cache file and refer the substance in local folders)
4796
4797 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4798
4799         * elmo-version.el (elmo-version): Up to 2.9.8.
4800
4801 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4802
4803         * elmo-version.el (elmo-version): Up to 2.9.7.
4804
4805         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4806
4807 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4808
4809         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4810
4811 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4812
4813         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4814         from --early.
4815         (elmo-map-folder-list-message-locations): Reverse location list.
4816
4817 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4818
4819         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4820
4821 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4822
4823         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4824         as a key.
4825         (elmo-nntp-folder-list-subfolders): Follow the change above.
4826
4827 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4828
4829         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4830         name if authentication type is specified.
4831
4832 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4833
4834         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4835         variable.
4836         (elmo-default-nntp-stream-type): Ditto.
4837         (elmo-default-pop3-stream-type): Ditto.
4838
4839 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4840
4841         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4842
4843 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4844
4845         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4846         elmo-vars.el.
4847         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4848
4849         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4850         (elmo-maildir-folder-path): Ditto.
4851         (elmo-maildir-list): Ditto (abolished).
4852
4853 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4854
4855         * elmo-version.el (elmo-version): Up to 2.9.6.
4856
4857 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4858
4859         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4860         (elmo-maildir-folder-path): Ditto.
4861         (elmo-msgdb-directory): Ditto.
4862         (elmo-passwd-life-time): Ditto.
4863         (elmo-msgdb-extra-fields): Ditto.
4864         (elmo-enable-disconnected-operation): Ditto.
4865
4866 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4867
4868         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4869         other choices.
4870         (elmo-pop3-default-authenticate-type): Ditto.
4871
4872 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4873
4874         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4875         choices for custom.
4876         (elmo-pop3-default-authenticate-type): Ditto.
4877
4878 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4879
4880         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4881         mailbox to new-folder.
4882
4883 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4884
4885         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4886         less than new, set new as unread.
4887
4888         * elmo-util.el (elmo-string): Don't put text-property if nil.
4889
4890 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4891
4892         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4893         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4894
4895 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4896
4897         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4898         is nil on `completing-read'.
4899
4900 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4901
4902         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4903         for namespace part.
4904         (elmo-imap4-parse-namespace-subr): Ditto.
4905         (elmo-folder-list-subfolders): Append a delimiter when the specified
4906         folder path is a root with namespace and does not end with delimiter.
4907
4908 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4909
4910         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4911         was used.
4912
4913 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4914
4915         * elmo-util.el (elmo-save-buffer): The first argument of message
4916         is a format control string.
4917
4918 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4919
4920         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4921         `elmo-folder-diff').
4922         (elmo-diff-unread): Likewise.
4923
4924 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4925
4926         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4927         is t on `completing-read'.
4928
4929 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4930
4931         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4932         method of target folder with self mark-alist if MARK-ALIST is nil.
4933
4934 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4935
4936         * elmo-version.el (elmo-version): Up to 2.9.5.
4937
4938 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4939
4940         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4941         (elmo-dop-merge-funcs): Remove.
4942
4943 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4944
4945         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4946         Return t if PATH is directory, too.
4947         Use `dolist' instead of while loop.
4948
4949 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4950
4951         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4952         is deleted.
4953
4954 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4955
4956         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4957         return value to t.
4958         (elmo-folder-list-messages-unplugged): Return t if
4959         elmo-enable-disconnected-operation is nil.
4960
4961         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4962         `elmo-folder-list-messages-internal'.
4963
4964 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4965
4966         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4967         Change to looking-at `[23][0-9]+'.
4968         (elmo-network-initialize-session): Use 'error-msg'
4969         * elmo-net.el (elmo-network-open-session): Set unplugged
4970         if elmo-network-initialize-session returns 'elmo-open-err.
4971
4972 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4973
4974         * elmo-version.el (elmo-version): Up to 2.9.4.
4975
4976 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4977
4978         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4979         `elmo-folder-list-messages-internal'.
4980
4981 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4982
4983         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4984         (elmo-message-match-condition): New method.
4985         (elmo-folder-search-fast): New inline function.
4986         (elmo-msgdb-search): Removed.
4987
4988         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4989         target folder if it is unplugged.
4990         (elmo-folder-list-messages-internal): Return t if target folder is
4991         unplugged and itself is persistent; In this case, use list be
4992         searched already.
4993
4994         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4995         (elmo-msgdb-search-internal-primitive): Ditto.
4996         (elmo-msgdb-match-condition): New function.
4997         (elmo-msgdb-match-condition-primitive): Ditto.
4998
4999         * elmo-util.el (elmo-filter-condition-p): New macro.
5000
5001         * elmo-cache.el (elmo-folder-search): Removed.
5002
5003         * elmo-localdir.el (elmo-folder-search): Ditto.
5004
5005         * elmo-maildir.el (elmo-folder-search): Ditto.
5006
5007         * elmo-mark.el (elmo-folder-search): Ditto.
5008
5009         * elmo-nmz.el (elmo-folder-search): Ditto.
5010
5011         * elmo-sendlog.el (elmo-folder-search): Ditto.
5012
5013         * elmo-shimbun.el (elmo-folder-search): Ditto.
5014
5015         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5016         if folder is unplugged.
5017
5018         * elmo-nntp.el (elmo-folder-search): Likewise.
5019         (elmo-nntp-search-internal): New function.
5020
5021         * elmo-version.el (elmo-version): Up to 2.9.3.
5022
5023 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5024
5025         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5026
5027 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5028
5029         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5030
5031 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5032
5033         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5034
5035 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5036
5037         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5038         (elmo-map-folder-list-message-locations): Do drive letter conversion
5039         on Windows environment.
5040         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5041         (elmo-map-message-fetch): Ditto.
5042
5043 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5044
5045         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5046         (elmo-network-initialize-session): Ditto.
5047
5048 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5049
5050         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5051
5052         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5053
5054         * elmo-util.el (elmo-progress-clear): Ditto.
5055
5056         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5057         `DD-Mon-YYYY' type date.
5058
5059 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5060
5061         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5062         `elmo-date-make-sortable-string' instead of
5063         `timezone-make-date-sortable'.
5064
5065         * elmo-date.el (elmo-date-make-sortable-string): Use
5066         `timezone-make-time-string'.
5067
5068 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5069
5070         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5071
5072         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5073         `since'; Fix timezone.
5074
5075         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5076
5077         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5078
5079 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5080
5081         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5082
5083 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5084
5085         * elmo.el (elmo-generic-folder-append-messages): Make
5086         fetch-strategy with `use-cache' as 'maybe. Check return value of
5087         `elmo-message-fetch'.
5088         (elmo-message-fetch): Return return value of
5089         `elmo-message-fetch-with-cache-process'.
5090         (elmo-message-fetch-with-cache-process): Return non-nil if
5091         fetching was succeed. Load cache when fetching was failed and
5092         fetch-strategy-use-cache is 'maybe.
5093
5094         * elmo-util.el (elmo-file-cache-load): New function.
5095
5096         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5097         defun.
5098
5099         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5100         non-nil if fetching was succeed.
5101
5102         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5103
5104         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5105
5106         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5107         (elmo-message-fetch-with-cache-process): Likwise.
5108
5109         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5110
5111         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5112
5113         * elmo-version.el (elmo-version): Up to 2.9.2.
5114
5115 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5116
5117         * elmo.el (elmo-folder-delete): Delete msgdb path.
5118
5119         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5120
5121         * elmo-maildir.el (elmo-folder-delete): Ditto.
5122
5123         * elmo-localdir.el (elmo-folder-delete): Ditto.
5124
5125         * elmo-imap4.el (elmo-folder-delete): Ditto.
5126
5127 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5128
5129         * elmo.el (luna-define-class): Added `biff' slot.
5130
5131         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5132         (elmo-pop3-debug-inhibit-logging): Abolished.
5133         (elmo-network-close-session): Eliminated needless let.
5134         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5135         (elmo-pop3-send-command): Added `no-log' argument.
5136         (elmo-pop3-process-filter): Use `with-current-buffer'.
5137         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5138         if login failure.
5139         (elmo-pop3-auth-apop): Likewise.
5140         (elmo-network-authenticate-session): Likewise.
5141
5142         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5143         if biff folder.
5144
5145         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5146         string to determine protocol.
5147         (elmo-network-session-name-prefix): Abolished.
5148         (elmo-network-session-cache-key): Follow the change above.
5149         (elmo-network-open-session): Ditto.
5150
5151         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5152         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5153
5154         * elmo-version.el (elmo-version): Up to 2.9.1.
5155
5156         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5157         unmatch condition checking.
5158
5159         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5160         condition.
5161
5162 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5163
5164         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5165
5166 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5167
5168         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5169         test for while loop to execute at least one SEARCH command.
5170
5171 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5172
5173         * elmo-version.el (elmo-version): Up to 2.9.0.
5174
5175 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5176
5177         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5178         (elmo-archive-folder-path): Define.
5179         (elmo-folder-initialize): Setup `dir-name' slot.
5180         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5181         Use `dir-name' as prefix of each subfolders.
5182         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5183
5184 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5185
5186         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5187         (elmo-pipe-folder-list-target-messages): New internal function.
5188         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5189         `killed-list'.
5190         (elmo-pipe-folder-copied-list-load): New function.
5191         (elmo-pipe-folder-copied-list-save): Ditto.
5192         (elmo-folder-open-internal): Follow the change above.
5193         (elmo-folder-status): Fixed for copy.
5194
5195 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5196
5197         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5198
5199 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5200
5201         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5202         elmo-copy-file instead of elmo-add-name-to-file.
5203
5204         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5205
5206         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5207         "file://..." index.
5208
5209         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5210         of accept-process-output as 1.
5211         (elmo-pop3-read-contents): Ditto.
5212         (elmo-pop3-read-body): Ditto.
5213
5214 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5215
5216         * elmo-version.el (product-version-as-string): Remove define.
5217
5218 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5219
5220         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5221         (elmo-imap4-copy-messages): Chop number set using
5222         `elmo-imap4-number-set-chop-length'.
5223         (elmo-imap4-set-flag): Ditto.
5224         (elmo-imap4-search-internal-primitive): Ditto.
5225
5226 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5227
5228         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5229         `elmo-folder-make-temp-dir'
5230
5231         * elmo-vars.el (elmo-cache-directory): New variable.
5232         (elmo-cache-dir): Abolished.
5233         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5234
5235         * elmo-version.el (elmo-version): Up to 2.7.7.
5236
5237 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5238
5239         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5240         defcustom; Set default value as t.
5241
5242 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5243
5244         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5245         (ldap-search-program-arguments): Changed default value.
5246         (ldap-search-basic): Accept exit status 4.
5247         (ldap/field-body): Parse options.
5248         (ldap/collect-field): Ditto.
5249         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5250
5251         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5252         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5253         (elmo-imap4-accept-ok): Ditto.
5254         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5255         'notify-bye, only BYE error is reported.
5256         (elmo-folder-exists-p-plugged): Set no-error argument of
5257         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5258
5259         * elmo.el (elmo-imap4-bye-error): Changed message.
5260
5261         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5262         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5263         queues (It causes infinite loop).
5264
5265 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5266
5267         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5268         (RECENT UNSEEN MESSAGES) extension.
5269
5270 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5271
5272         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5273         Check number of overview fields.
5274
5275 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5276
5277         * elmo.el (elmo-folder-confirm-appends): Changed message.
5278         (elmo-folder-confirm-appends): Ditto.
5279
5280         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5281         `with-temp-buffer'.
5282         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5283
5284 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5285
5286         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5287         of elmo-folder-update-threshold is nil, which can be set by
5288         wl-summary-update-confirm-threshold.
5289
5290 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5291
5292         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5293         (elmo-nmz-index-alias-alist): Ditto.
5294         (elmo-map-folder-list-message-locations): Follow the change above.
5295
5296 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5297
5298         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5299
5300         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5301
5302         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5303
5304         * elmo-util.el (elmo-read): Ditto.
5305         (elmo-display-error): Ditto.
5306
5307         * elmo-vars.el (elmo-date-match): Ditto.
5308
5309         * pldap.el (ldap-coding-system): Ditto.
5310
5311         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5312         `elmo-inhibit-number-mapping' as nil.
5313
5314 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5315
5316         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5317         space delimiter for list response.
5318
5319 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5320
5321         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5322
5323 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5324
5325         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5326         (elmo-map-message-fetch): Fix.
5327         * elmo-map.el (elmo-folder-status): Fix for killed.
5328
5329 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5330
5331         * elmo-sendlog.el: New file.
5332         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5333
5334 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5335
5336         * acap.el (acap-logging-out): New buffer local variable.
5337         (acap-close): Set it.
5338         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5339         an error.
5340
5341 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5342
5343         * acap.el (acap-response-bye-p): New function.
5344         (acap-response-bye-message): Ditto.
5345         (acap-wait-for-response): If bye response is received, cause an error.
5346         (acap-parse-response): Make bye response when 'Bye' is received.
5347
5348 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5349
5350         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5351
5352 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5353
5354         * elmo-util.el (elmo-copy-file): Added argument
5355         `ok-if-already-exists'.
5356         (elmo-copy-file): Fixed typo.
5357
5358 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5359
5360         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5361
5362 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5363
5364         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5365
5366 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5367
5368         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5369         to killed-list.
5370
5371 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5372
5373         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5374         (elmo-folder-initialize): Fix for `copy'.
5375         (elmo-pipe-drain): Ditto.
5376         (elmo-folder-open-internal): Ditto.
5377         (elmo-folder-newsgroups): Fix.
5378
5379 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5380
5381         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5382         for each message.
5383
5384         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5385         recent value is returned from imap folder.
5386
5387         * elmo.el (elmo-folder-newsgroups): New generic function.
5388
5389         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5390         (elmo-folder-initialize): Set it.
5391         (elmo-folder-expand-msgdb-path): Use it.
5392         (elmo-folder-newsgroups): Define.
5393
5394         * elmo-filter.el (elmo-folder-newsgroups): Define.
5395
5396         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5397
5398         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5399
5400         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5401
5402 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5403
5404         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5405         user option.
5406         (elmo-shimbun-header-extra-field): New inline function.
5407         (elmo-shimbun-header-set-extra-field): Ditto.
5408         (elmo-shimbun-folder-header-hash-setup): Ditto.
5409         (elmo-shimbun-update-overview): Ditto.
5410         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5411         (elmo-shimbun-folder-setup): Use
5412         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5413         (elmo-shimbun-get-headers): Ditto.
5414         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5415         Insert `X-Shimbun-Id:' header if extra field is set.
5416         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5417         field's value instead of `shimbun-header-id'.
5418
5419         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5420         inline function.
5421         (elmo-msgdb-overview-entity-set-date): Ditto.
5422         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5423
5424 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5425
5426         * mmimap.el (mmimap-entity-section): Changed body node number from
5427         "0" to "1".
5428
5429 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5430
5431         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5432         `elmo-folder-delete-messages'.
5433
5434         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5435         (elmo-folder-initialize): Changed to expand alias into index path.
5436
5437         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5438         `elmo-mime-insert-header-from-buffer' with 6th arg
5439         `sorted-fields'.
5440
5441 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5442
5443         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5444
5445         * elmo.el (elmo-diff-new): New inline function.
5446         (elmo-diff-unread): Ditto.
5447         (elmo-diff-all): Ditto.
5448
5449         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5450         value from responseb.
5451         (elmo-imap4-folder-diff-plugged): Ditto.
5452         (elmo-imap4-server-diff-async): Added recent argument.
5453         (elmo-server-diff-async): Ditto.
5454         (elmo-imap4-folder-diff-plugged): Ditto.
5455
5456         * elmo-version.el (elmo-version): Up to 2.7.6.
5457
5458 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5459
5460         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5461         in quoted-stirng.
5462
5463 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5464
5465         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5466
5467         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5468
5469         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5470
5471         * elmo-multi.el (elmo-folder-initialize): Ditto.
5472
5473         * elmo-util.el (elmo-parse-token): New function.
5474         (elmo-parse-prefixed-element): Ditto.
5475
5476 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5477
5478         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5479         delete process.
5480         (elmo-imap4-accept-ok): Ditto.
5481
5482 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5483
5484         * mmimap.el (mime-imap-entity-header-string): Don't check first
5485         element of node-id is `0' (Follow last change).
5486
5487 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5488
5489         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5490         assigned irregular node-id to nested multipart section.
5491         (initialize-instance): Followed above change.
5492
5493 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5494
5495         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5496         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5497         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5498         `elmo-shimbun-get-headers');
5499         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5500         visible article on summary exists in headers).
5501         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5502
5503 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5504
5505         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5506         definition.
5507
5508 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5509
5510         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5511
5512 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5513
5514         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5515         header separator into loop condition.
5516
5517 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5518
5519         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5520         Return duplicate folder if it has subfolder.
5521
5522 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5523
5524         * elmo.el (elmo-make-folder): Add folder name error check.
5525
5526         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5527         (elmo-nntp-encode-group-string): New inline function.
5528         (elmo-nntp-decode-group-string): Ditto.
5529         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5530         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5531         Use `not' instead of `null';
5532         Use elmo-nntp-decode-group-string.
5533
5534         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5535
5536         * elmo-version.el (elmo-version): Up to 2.7.5.
5537
5538 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5539
5540         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5541         Hide progress gauge if `elmo-folder-move-messages' exits
5542         nonlocally.
5543
5544 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5545
5546         * elmo-imap4.el (elmo-folder-initialize): Use
5547         `elmo-imap4-encode-folder-string' for folder name.
5548
5549 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5550
5551         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5552         `done'.
5553
5554 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5555
5556         * elmo-util.el (elmo-progress-counter-alist): New internal
5557         variable.
5558         (elmo-progress-counter-value): New macro.
5559         (elmo-progress-counter-all-value): Ditto.
5560         (elmo-progress-counter-format): Ditto.
5561         (elmo-progress-counter-set-value): Ditto.
5562         (elmo-progress-set): New function.
5563         (elmo-progress-clear): Ditto.
5564         (elmo-progress-notify): Ditto.
5565
5566         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5567         counter.
5568
5569         * elmo.el (elmo-generic-folder-append-messages): Call
5570         `elmo-progress-notify'.
5571         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5572
5573         * elmo-archive.el (elmo-folder-append-messages): Call
5574         `elmo-progress-notify'.
5575
5576         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5577
5578         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5579
5580         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5581
5582 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5583
5584         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5585         'Create'.
5586         (elmo-message-encache-dop): Added argument `read'.
5587
5588         * elmo-shimbun.el (elmo-message-encache): Ditto.
5589
5590         * elmo-net.el (elmo-message-encache): Ditto.
5591
5592         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5593         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5594         elmo-imap4-seen-messages.
5595         (elmo-folder-msgdb-create-plugged): Initialize
5596         elmo-imap4-seen-messages;
5597         Set seen mark on elmo-imap4-seen-messages.
5598
5599         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5600
5601         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5602         elmo-folder-append-buffer.
5603         (elmo-folder-encache): Added optional argument `read'.
5604         (elmo-message-encache): Ditto.
5605
5606         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5607
5608         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5609
5610         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5611         if append buffer content succeds.
5612
5613 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5614
5615         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5616         elmo-display-progress.
5617
5618         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5619         Set 4th argument of mime-display-message.
5620         (elmo-mime-display-as-is): Ditto.
5621
5622 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5623
5624         * elmo-nmz.el (toplevel): Require 'mime-edit.
5625         (elmo-nmz-content-type-alist): Abolished.
5626         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5627         content is not a message.
5628         (elmo-map-message-fetch): Changed behavior exept for message content;
5629         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5630         content-type, Add From: and Subject: field.
5631
5632 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5633
5634         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5635         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5636         not a message.
5637
5638 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5639
5640         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5641         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5642
5643         * elmo-archive.el (elmo-folder-writable-p): Defined.
5644
5645         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5646
5647         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5648
5649         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5650
5651         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5652
5653         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5654
5655         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5656
5657         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5658
5659         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5660
5661 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5662
5663         * elmo-util.el (elmo-address-quote-specials): New function;
5664         Renamed from `wl-address-quote-specials'.
5665
5666 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5667
5668         * elmo-version.el (elmo-version): Up to 2.7.4.
5669
5670 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5671
5672         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5673
5674 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5675
5676         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5677         both compile-time and run-time to avoid byte-compile warning.
5678
5679 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5680
5681         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5682
5683 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5684
5685         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5686         option.
5687         (elmo-mime-display-as-is-internal): Use it.
5688
5689         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5690         if `read-passwd' is not defined.
5691
5692 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5693
5694         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5695         by original number.
5696         (elmo-folder-status): Call `elmo-folder-open-internal';
5697         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5698         (elmo-folder-close-internal): Set location-alist as nil.
5699         (elmo-folder-clear): Define.
5700         (elmo-folder-check): Don't set location-alist as nil.
5701
5702         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5703
5704 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5705
5706         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5707         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5708
5709         * mmimap.el (mime-imap-entity::requested): New slot.
5710         (mime-imap-location-fetch-entity-p): New generic function.
5711         (mime-decode-parameters): Define using `defun-maybe'.
5712         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5713         content-type structure.
5714         (mime-entity-body): Return empty body if
5715         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5716
5717         * elmo.el (elmo-message-displaying): New variable.
5718
5719         * elmo-mime.el (elmo-mime-message-display): Bind
5720         elmo-message-displaying as t.
5721
5722         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5723
5724 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5725
5726         * acap.el (acap-open): erase buffer before starting network process.
5727         (acap-store): Rewrite.
5728
5729 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5730
5731         * elmo-imap4.el (elmo-imap4-default-mailbox,
5732         elmo-imap4-default-server
5733         elmo-imap4-default-authenticate-type,
5734         elmo-imap4-default-user,
5735         elmo-imap4-default-port,
5736         elmo-imap4-default-stream-type,
5737         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5738
5739         * elmo-pop3.el (elmo-pop3-default-user,
5740         elmo-pop3-default-server,
5741         elmo-pop3-default-authenticate-type,
5742         elmo-pop3-default-port,
5743         elmo-pop3-default-stream-type,
5744         elmo-pop3-stream-type-alist): Ditto.
5745
5746         * elmo-nntp.el (elmo-nntp-default-server,
5747         elmo-nntp-default-user,
5748         elmo-nntp-default-port,
5749         elmo-nntp-default-stream-type,
5750         elmo-nntp-stream-type-alist): Ditto.
5751
5752         * elmo-vars.el: Follow changes above.
5753         (elmo-setting): New custom group; added 'elmo-setting group to
5754         above variables.
5755
5756         * elmo-version.el (elmo-version): Up to 2.7.3.
5757
5758         * acap.el (acap-parse-response): Don't delete process when BYE
5759         response (It causes hang-up on slow network environment).
5760         (toplevel): Added comment.
5761
5762 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5763
5764         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5765
5766         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5767         parsing NIL.
5768         (acap-parse-return-metadata): Ditto.
5769
5770         * slp.el: New file.
5771         (toplevel): Fixed typo.
5772
5773         * acap.el: New file.
5774         (acap-network-stream-open): Show "Connecting..." message.
5775         (acap-parse-response): Fixed problem for BYE untagged response.
5776         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5777         (toplevel): Added tiny comments.
5778
5779 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5780
5781         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5782         space delimiter for uidl response.
5783
5784 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5785
5786         * elmo-vars.el (elmo-use-semi): Eliminated.
5787
5788         * elmo-util.el (elmo-string-assoc-all): New function.
5789
5790 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5791
5792         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5793         property 'mime-preview-situation for `mime-preview-quit'.
5794
5795 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5796
5797         * elmo.el (elmo-message-fetch-with-cache-process): Call
5798         elmo-message-fetch-internal instead of causing an error when fetch
5799         strategy is 'entire but only 'section cache is available.
5800
5801 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5802
5803         * elmo-version.el (elmo-version): Up to 2.7.2.
5804
5805         * elmo.el (elmo-generic-folder-append-messages): Make
5806         fetch-strategy with `use-cache'.
5807
5808         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5809         (elmo-dop-queue-method-name): New macro.
5810
5811 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5812
5813         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5814         unbalanced parenthesis.
5815
5816 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5817
5818         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5819
5820 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5821
5822         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5823         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5824
5825 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5826
5827         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5828         local variables.
5829
5830 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5831
5832         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5833         (elmo-message-use-cache-p): Define.
5834         (elmo-folder-msgdb-create): Treat cache.
5835
5836 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5837
5838         * elmo-nntp.el (elmo-network-initialize-session): Call
5839         `elmo-nntp-send-mode-reader'.
5840         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5841
5842 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5843
5844         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5845         alist.
5846         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5847         assoc.
5848
5849         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5850         for `elmo-plugged-p'.
5851         (elmo-open-network-stream): Fixed stream-type argument.
5852
5853 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5854
5855         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5856         unknown archive type is specified.
5857
5858 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5859
5860         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5861
5862         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5863         while loading msgdb.
5864
5865         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5866         (elmo-folder-open-internal): Rewrite.
5867
5868 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo-mime.el (elmo-mime-display-as-is-internal):
5871         Adjust buffer-multibyte status.
5872
5873 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5874
5875         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5876         of elmo-condition-find-key.
5877
5878         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5879         (elmo-condition-in-msgdb-p): Ditto.
5880         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5881         argument.
5882
5883 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5884
5885         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5886
5887 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5888
5889         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5890         label for elmo-display-progress.
5891
5892 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5893
5894         * elmo.el (elmo-folder-clear): New method.
5895         (elmo-folder-clear): Define.
5896         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5897
5898         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5899         (elmo-folder-clear): Define.
5900
5901         * elmo-map.el (elmo-folder-clear): Define.
5902
5903         * elmo-version.el (elmo-version): Up to 2.7.1.
5904
5905 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5906
5907         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5908         updates.
5909
5910 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5913         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5914
5915 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5916
5917         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5918
5919         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5920         and re-written.
5921
5922         * elmo-imap4.el (elmo-folder-initialize): Use
5923         elmo-get-network-stream-type.
5924
5925         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5926
5927         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5928
5929 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5930
5931         * elmo.el (elmo-message-encache): Set unread argument for
5932         elmo-message-fetch.
5933
5934         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5935
5936         * elmo.el (elmo-net-port-info): New method.
5937
5938         * elmo-shimbun.el (elmo-net-port-info): Define.
5939         (elmo-message-encache): Ditto.
5940
5941         * elmo-net.el (elmo-net-port-info): Define as method.
5942
5943         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5944         unplugged status when elmo-enable-disconnected-operation is t.
5945
5946         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5947         of spool folder before checking new number.
5948
5949 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5950
5951         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5952         (elmo-network-setup-session): Ditto.
5953         (elmo-message-fetch-plugged): Ditto.
5954         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5955         (elmo-network-initialize-session): Ditto.
5956         (elmo-pop3-read-response): Abolish 3rd argument.
5957         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5958         (elmo-pop3-read-contents): Ditto.
5959         (elmo-pop3-read-body): Ditto.
5960         (elmo-folder-status): Call elmo-folder-close.
5961         (elmo-pop3-lock): Abolish.
5962         (elmo-pop3-unlock): Ditto.
5963         (elmo-pop3-locked-p): Ditto.
5964         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5965
5966 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5967
5968         * elmo-version.el (elmo-version): Up to 2.7.0.
5969
5970         * elmo-pop3.el (elmo-pop3-debug): New variable.
5971         (elmo-pop3-debug-inhibit-logging): Ditto.
5972         (elmo-pop3-debug): New function.
5973         (elmo-pop3-send-command): Call elmo-pop3-debug.
5974         (elmo-pop3-read-response): Added keep-lock optional argument;
5975         Don't unlock if keep-lock is non-nil.
5976         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5977         (elmo-network-authenticate-session): Bind
5978         elmo-pop3-debug-inhibit-logging as t.
5979         (elmo-network-setup-session): Call elmo-pop3-read-response with
5980         keep-lock argument.
5981         (elmo-pop3-read-msg): Ditto.
5982         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5983         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5984         (elmo-network-initialize-session): Call elmo-pop3-lock.
5985         (elmo-folder-close-internal): Don't clear location-alist slot.
5986         (elmo-folder-check): Clear location-alist slot.
5987
5988 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5989
5990         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5991         (elmo-pop3-send-command): Call elmo-pop3-lock.
5992         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5993         (elmo-pop3-read-contents): Ditto.
5994         (elmo-pop3-lock): New function.
5995         (elmo-pop3-unlock): Ditto.
5996         (elmo-pop3-locked-p): Ditto.
5997         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5998         returns t.
5999
6000 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6001
6002         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6003
6004         * elmo-util.el (elmo-file-field-primitive-condition-match):
6005         New inline function (Don't fetch file content if "first" or "last").
6006         (elmo-file-field-condition-match): Use
6007         elmo-file-field-primitive-condition-match.
6008
6009         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6010         "first".
6011
6012         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6013         (elmo-message-fetch-plugged): Fixed.
6014
6015         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6016
6017 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6018
6019         * elmo.el (elmo-folder-move-messages): Bind
6020         elmo-inhibit-display-retrieval-progress as t while moving messages.
6021
6022         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6023         New variable.
6024         (elmo-inhibit-display-retrieval-progress): Ditto.
6025
6026         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6027         for retrieval progress;
6028         Don't display progress when total buffer size is smaller than
6029         elmo-display-retrieval-progress-threshold.
6030         (elmo-message-fetch-plugged): Don't display progress when
6031         elmo-inhibit-display-retrieval-progress is non-nil.
6032
6033         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6034         for retrieval progress;
6035         Don't display progress when literal size is smaller than
6036         elmo-display-retrieval-progress-threshold.
6037         (elmo-imap4-message-fetch): Don't display progress when
6038         elmo-inhibit-display-retrieval-progress is non-nil.
6039
6040 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6043         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6044         (elmo-imap4-message-fetch): Likewise.
6045
6046         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6047         (elmo-shimbun-index-range-alist): Ditto.
6048         (elmo-shimbun-use-entire-index): Abolish.
6049         (shimbun-mua-use-entire-index): Ditto.
6050         (elmo-shimbun-folder): Added new slot `range'.
6051         (elmo-folder-initialize): Setup slot `range'.
6052
6053 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6054
6055         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6056         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6057         (elmo-shimbun-get-headers): Use return value of
6058         `shimbun-article-expiration-days'.
6059         (elmo-folder-close-internal): Clean up last-check slot.
6060
6061         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6062         (elmo-pop3-total-size): New variable.
6063         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6064
6065         * elmo.el (elmo-folder-reserve-status-p): New method.
6066
6067         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6068         (elmo-shimbun-use-entire-index): New user option.
6069         (shimbun-elmo-mua): New class.
6070         (shimbun-mua-search-id): Define.
6071         (shimbun-mua-use-entire-index): Ditto.
6072         (elmo-shimbun-folder:last-check): New slot.
6073         (elmo-shimbun-headers-cache-header-list): Abolish.
6074         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6075         (elmo-shimbun-headers-cache-header-hash): Ditto.
6076         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6077         (elmo-shimbun-headers-cache-last-check): Ditto.
6078         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6079         (elmo-shimbun-headers-check-p): Rewrite.
6080         (elmo-shimbun-msgdb-to-headers): New function.
6081         (elmo-shimbun-get-headers): Rewrite.
6082         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6083         (elmo-folder-open-internal): Get headers only if
6084         `elmo-shimbun-headers-check-p' is non-nil.
6085         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6086         is non-nil.
6087         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6088         (elmo-quit): Removed.
6089
6090         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6091         function.
6092         (elmo-msgdb-overview-entity-set-extra): Ditto.
6093         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6094
6095         * elmo-map.el (elmo-folder-status): Don't call
6096         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6097         is non-nil.
6098
6099 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6100
6101         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6102         of `elmo-msgdb-search-internal-primitive' when condition's car is
6103         `and' or `or'.
6104
6105 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6106
6107         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6108
6109 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6110
6111         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6112         call `elmo-pipe-drain'.
6113
6114 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6115
6116         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6117         typo. (elmo-cache-folder -> elmo-mark-folder)
6118
6119 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6120
6121         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6122         `elmo-message-fetch'.
6123
6124 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6125
6126         * elmo-net.el (elmo-message-encache): Fixed typo.
6127         (elmo-message-fetch-unplugged): Changed call
6128         `elmo-message-fetch-internal' without argument `outbuf'.
6129
6130 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6131
6132         * elmo.el (elmo-message-encache): Define as generic function.
6133         (elmo-message-fetch-field): New generic function.
6134         (elmo-message-fetch-with-cache-process): Cause an error when
6135         fetch strategy is 'entire but only 'section cache is available.
6136         (toplevel): Fixed nmz folder definition.
6137
6138         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6139         (elmo-msgdb-resume-list-filename): Ditto.
6140         (elmo-queue-filename): Ditto.
6141         (elmo-enable-disconnected-operation): Changed default value to t.
6142
6143         * elmo-util.el (elmo-cache-path-section-p): New function.
6144         (elmo-file-cache-get): Use it.
6145         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6146         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6147         (elmo-dop-queue-save): Ditto.
6148
6149         * elmo-net.el (elmo-folder-status-unplugged): Call
6150         elmo-folder-status-dop.
6151         (elmo-folder-list-messages-unplugged): Implemented.
6152         (elmo-folder-delete-messages-unplugged): Define.
6153         (elmo-folder-msgdb-create): Define.
6154         (elmo-folder-msgdb-create-unplugged): Define.
6155         (elmo-folder-mark-as-read-unplugged): Ditto.
6156         (elmo-folder-unmark-read-unplugged): Ditto.
6157         (elmo-folder-mark-as-important-unplugged): Ditto.
6158         (elmo-folder-unmark-important-unplugged): Ditto.
6159         (elmo-message-encache): Ditto.
6160
6161         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6162         (elmo-dop-queue-save): Ditto.
6163
6164         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6165         `elmo-folder-msgdb-create'.
6166         (elmo-folder-append-buffer): Implemented unplugged operation.
6167         (elmo-folder-append-messages): Call parent method in unplugged status.
6168         (elmo-message-fetch-unplugged): Removed definition.
6169         (elmo-message-fetch-field): Implemented.
6170
6171         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6172         (elmo-dop-folder): Removed variable definition.
6173         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6174         (elmo-dop-queue-flush): Implemented.
6175         (elmo-dop-queue-merge): Removed definition (TODO).
6176         (elmo-dop-spool-folder): New function.
6177         (elmo-dop-spool-folder-append-buffer): Ditto.
6178         (elmo-dop-spool-folder-list-messages): Ditto.
6179         (elmo-dop-list-deleting-messages): Ditto.
6180         (elmo-folder-append-buffer-dop): Ditto.
6181         (elmo-folder-delete-messages-dop): Ditto.
6182         (elmo-message-encache-dop): New inline function.
6183         (elmo-create-folder-dop): Ditto.
6184         (elmo-folder-mark-as-read-dop): Ditto.
6185         (elmo-folder-unmark-read-dop): Ditto.
6186         (elmo-folder-mark-as-important-dop): Ditto.
6187         (elmo-folder-unmark-important-dop): Ditto.
6188         (elmo-folder-status-dop): Fixed.
6189         (elmo-folder-append-buffer-dop-delayed): New function.
6190         (elmo-folder-delete-messages-dop-delayed): Ditto.
6191         (elmo-dop-msgdb): Ditto.
6192
6193 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6194
6195         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6196
6197 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6198
6199         * elmo.el (elmo-folder-move-messages): Fixed problem when
6200         `dst-folder' is 'null.
6201
6202 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6203
6204         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6205         instead of current mark.
6206
6207         * elmo-multi.el (elmo-folder-list-importants-internal): No
6208         operation if importants is not list.
6209
6210         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6211         Return t if importants is not list.
6212
6213         * elmo-map.el (elmo-map-folder-list-importants): Define.
6214         (elmo-folder-list-importants-internal): Check return value of
6215         `elmo-map-folder-list-importants-internal'.
6216
6217         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6218
6219         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6220
6221         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6222
6223         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6224
6225 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6226
6227         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6228         (Patch is provided by <kita@coe.nttdata.co.jp>).
6229
6230 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6231
6232         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6233         mark folder.
6234
6235 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6236
6237         * elmo.el (elmo-message-fetch): Define.
6238         (elmo-message-fetch-with-cache-process): New generic method.
6239         (elmo-message-fetch-internal): New generic method.
6240         (elmo-folder-synchronize):
6241
6242         * elmo-archive.el (elmo-message-fetch-internal): Define.
6243         (elmo-message-fetch): Eliminated.
6244
6245         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6246         (elmo-message-fetch): Eliminated.
6247
6248         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6249         argument OUTBUF.
6250         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6251
6252         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6253         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6254
6255         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6256         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6257
6258         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6259
6260         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6261
6262         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6263
6264         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6265         (elmo-message-fetch-unplugged): New generic method.
6266         (elmo-message-fetch-internal): Remove cache process (Renamed from
6267         `elmo-message-fetch').
6268
6269         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6270         (elmo-message-fetch): Eliminated.
6271         (elmo-message-fetch-unplugged): Ditto.
6272
6273         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6274
6275 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6276
6277         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6278         of `to-be-deleted' from number-alist to number-list.
6279
6280 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6281
6282         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6283         (elmo-folder-mark-as-important): Ditto.
6284
6285 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6286
6287         * elmo.el (elmo-folder): Added process-duplicates slot.
6288
6289         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6290         (elmo-folder-unmark-read): Ditto.
6291         (elmo-folder-unmark-important): Ditto.
6292         (elmo-folder-mark-as-important): Ditto.
6293
6294         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6295         duplicated message processing.
6296
6297         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6298
6299 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6300
6301         * elmo-util.el (elmo-list-subdirectories-1): New function.
6302         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6303         (elmo-mapcar-list-of-list): New function.
6304
6305         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6306         `elmo-mapcar-list-of-list' instead of `mapcar'.
6307
6308         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6309
6310         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6311         `elmo-have-link-count'. Return the fully qualified folder name.
6312
6313 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6314
6315         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6316         (elmo-shimbun-headers-cache): New internal variable.
6317         (elmo-shimbun-headers-cache-header-list): New inline function.
6318         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6319         (elmo-shimbun-headers-cache-header-hash): Ditto.
6320         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6321         (elmo-shimbun-headers-cache-last-check): Ditto.
6322         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6323         (elmo-shimbun-lapse-seconds): Ditto.
6324         (elmo-shimbun-headers-cache-check-p): Ditto.
6325         (elmo-shimbun-get-headers): New function.
6326         (elmo-folder-open-internal): Call it.
6327         (elmo-quit): Define (Clear headers-cache).
6328
6329 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6330
6331         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6332
6333         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6334         (elmo-msgdb-flist-save): Ditto.
6335
6336         * elmo-shimbun.el (elmo-folder-list-subfolders):
6337         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6338         (elmo-folder-exists-p): Ditto.
6339
6340         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6341         argument for `shimbun-header-insert'.
6342
6343 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6344
6345         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6346         at first time.
6347
6348         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6349         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6350
6351 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6352
6353         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6354         (elmo-folder-plugged-p): Define.
6355         (elmo-folder-set-plugged): Ditto.
6356         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6357         (elmo-folder-list-messages-internal): Return t if unplugged.
6358         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6359
6360         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6361         when elmo-folder-list-messages-internal method of children returns t.
6362
6363         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6364         pair is nil.
6365         (elmo-folder-open-internal): Don't update if unplugged status.
6366
6367 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6368
6369         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6370         new message.
6371
6372 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6373
6374         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6375
6376         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6377         saving.
6378
6379 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6380
6381         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6382
6383         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6384         (elmo-folder-open-internal): Set up headers slot.
6385         (elmo-folder-check): Call elmo-folder-close-internal and
6386         elmo-folder-open-internal.
6387         (elmo-folder-close-internal): Clean up headers slot.
6388
6389 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6390
6391         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6392         exactly folder list.
6393         (elmo-folder-append-messages): Fixed append archive with prefix.
6394
6395         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6396         make temp files with start-number.
6397
6398         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6399
6400 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6401
6402         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6403         argument `visible-only'.
6404         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6405         instead of `if'.
6406
6407         * elmo-pop3.el (elmo-folder-open-internal): Check
6408         `elmo-inhibit-number-mapping' is non-nil.
6409
6410         * elmo-pipe.el (elmo-folder-status): Fixed.
6411
6412 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6413
6414         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6415
6416         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6417         (elmo-folder-open-internal): Setup `header-hash' slot.
6418         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6419         information.
6420         (elmo-map-message-fetch): Ditto.
6421
6422 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6423
6424         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6425         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6426         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6427         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6428
6429         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6430
6431 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6432
6433         * sb-airs.el: Added footer.
6434
6435         * shimbun.el (shimbun-article): Define as luna-method.
6436
6437         * sb-tcup.el: New file.
6438
6439         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6440         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6441
6442 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6443
6444         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6445         (shimbun-get-headers): Ditto.
6446
6447         * elmo.el: Moved obsolete variable definitions from
6448         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6449
6450         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6451         groups.
6452
6453         * shimbun.el: New file.
6454
6455         * elmo-shimbun.el: New file.
6456
6457         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6458         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6459         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6460         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6461
6462 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6463
6464         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6465         hierarchy is t.
6466
6467 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6468
6469         * elmo.el (elmo-folder-msgdb): Define as macro.
6470         (elmo-folder-open): Added argument `load-msgdb'.
6471         (elmo-generic-folder-open): Ditto.
6472         (elmo-folder-encache): New function.
6473
6474         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6475
6476         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6477
6478         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6479         Eliminated argument FOLDER and added argument MSGDB.
6480         (elmo-dop-queue-load): Moved from elmo-dop.el.
6481         (elmo-dop-queue-save): Ditto.
6482
6483         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6484
6485         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6486
6487         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6488         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6489         (elmo-filter-folder-list-importants-internal): Ditto.
6490
6491         * elmo-map.el (elmo-folder-pack-number): Ditto.
6492
6493         * elmo-mime.el (elmo-mime-message-display): Ditto.
6494
6495         * elmo.el (elmo-generic-folder-commit): Ditto.
6496         (elmo-folder-list-unreads): Ditto.
6497         (elmo-folder-list-importants): Ditto.
6498         (elmo-generic-folder-commit): Ditto.
6499         (elmo-message-set-mark): Ditto.
6500         (elmo-generic-folder-append-msgdb): Ditto.
6501         (elmo-folder-synchronize): Ditto.
6502         (elmo-folder-messages): Ditto.
6503         (elmo-init): Call elmo-dop-queue-load.
6504         (elmo-folder-list-messages): Ditto.
6505
6506         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6507         (elmo-nntp-folder-process-crosspost): Ditto.
6508         (elmo-folder-list-unreads-internal): Ditto.
6509
6510         * elmo-dop.el: Removed old functions.
6511
6512 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6513
6514         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6515         `folder' to `msgdb'.
6516
6517 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6518
6519         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6520         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6521
6522         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6523         case-fold-search.
6524
6525 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6526
6527         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6528         defined.
6529
6530         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6531         (mmimap-parse-parameters-from-list): Define as alias for
6532         `mime-decode-parameter-plist' if it is defined as function.
6533         (mmimap-make-mime-entity): Added argument `number'.
6534         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6535         as 0.
6536         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6537
6538         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6539
6540         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6541
6542         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6543
6544 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6545
6546         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6547
6548         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6549         when elmo-imap4-default-authenticate-type is nil.
6550         (elmo-folder-list-subfolders): Ditto
6551         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6552         (elmo-imap4-fetch-callback-1-subr): Renamed from
6553         `elmo-imap4-fetch-callback-1' and define as inline function.
6554         (elmo-imap4-fetch-callback-1):
6555         Renamed from `elmo-imap4-fetch-callback'.
6556         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6557
6558         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6559         msgdb path (To keep compatibility with main trunk).
6560
6561         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6562
6563         * elmo-util.el (elmo-make-file-cache): Moved position of
6564         some macros.
6565
6566         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6567         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6568         instead of `elmo-pop3-inhibit-uidl'.
6569         (elmo-folder-exists-p): Ditto.
6570         (elmo-pop3-folder-list-messages): Ditto.
6571
6572         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6573         instead of `elmo-pop3-inhibit-uidl'.
6574         (elmo-folder-status): Ditto.
6575
6576         * elmo-dop.el (elmo-dop-folder): New variable.
6577         (elmo-dop-lock-message): Eliminated.
6578         (elmo-dop-unlock-message): Ditto.
6579         (elmo-dop-lock-list-load): Ditto.
6580         (elmo-dop-lock-list-save): Ditto.
6581         (elmo-dop-delete-folder): Ditto.
6582         (elmo-dop-rename-folder): Ditto.
6583
6584         * elmo.el: Removed incomplete commentary.
6585
6586 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6587
6588         * elmo.el (toplevel): Require 'elmo-version first;
6589         for little `recursive-load-depth' settings.
6590         Fix "ends here" comment.
6591
6592 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6593
6594         * elmo-util.el (toplevel): Require 'poem;
6595         Some functions are moved from elmo-cache.el.
6596
6597         * elmo-net.el (toplevel): Require 'elmo-cache.
6598
6599         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6600
6601         * elmo.el (toplevel): Ditto.
6602
6603         * elmo-cache.el: Rewrite with luna;
6604         Some functions are moved to elmo-util.el.
6605
6606         * elmo-internal.el (elmo-internal-folder-list): New variable.
6607         (elmo-internal-folder-initialize): Rewrite.
6608         (elmo-folder-list-subfolders): Ditto.
6609
6610         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6611         (elmo-cache-collect-sub-directories): Ditto.
6612
6613 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6614
6615         * elmo-version.el (elmo-version): Up to 2.5.8.
6616
6617         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6618
6619         * elmo-util.el (elmo-list-insert): New function.
6620
6621 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6622
6623         * elmo.el (elmo-init): New function.
6624         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6625
6626         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6627         (Renamed from `elmo-localdir-header-chop-length').
6628
6629         * elmo-pop3.el (elmo-pop3-use-cache,
6630         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6631
6632         * elmo-nntp.el (elmo-message-fetch): Define.
6633         (elmo-message-fetch-unplugged): Ditto.
6634         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6635         (elmo-nntp-use-cache): Ditto.
6636         (elmo-nntp-max-number-precedes-list-active): Ditto.
6637
6638         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6639
6640         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6641         `elmo-msgdb-insert-file-header'.
6642         Use `elmo-msgdb-file-header-chop-length'.
6643
6644         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6645         `elmo-vars.el'.
6646
6647         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6648         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6649         `elmo-msgdb-insert-file-header'.
6650
6651         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6652         Use new variable;
6653         Define obsolete variables with `elmo-define-obsolete-variable',
6654
6655         * elmo-util.el (elmo-warning-buffer-name): New constant.
6656         (elmo-warning): New function.
6657         (elmo-obsolete-variable-alist): New variable.
6658         (elmo-obsolete-variable-show-warnings): New variable.
6659         (elmo-define-obsolete-variable): New function.
6660         (elmo-resque-obsolete-variable): Ditto.
6661         (elmo-resque-obsolete-variables): Ditto.
6662
6663 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6664
6665         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6666         Eliminated.
6667
6668         * elmo-pop3.el, elmo-nntp.el: Use custom.
6669
6670 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6671
6672         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6673         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6674
6675 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * Luna-fy Kenichi OKADA's following changes.
6678         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6679         `nohide'.
6680         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6681
6682 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6683
6684         * elmo-util.el (elmo-display-progress): Prefer
6685         `progress-feedback-with-label' to `lprogress-display'.
6686
6687 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6688
6689         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6690
6691 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6692
6693         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6694         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6695         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6696         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6697         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6698         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6699         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6700         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6701         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6702         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6703         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6704         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6705         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6706
6707 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6708
6709         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6710         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6711
6712 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6713
6714         * elmo.el (elmo-folder-process-crosspost): New generic method.
6715         (elmo-folder-writable-p): Ditto.
6716         (elmo-folder-message-appendable-p): Eliminated.
6717         (elmo-generic-folder-append-msgdb): Rewrite.
6718         (elmo-newsgroups-hashtb): New internal variable.
6719         (elmo-crosspost-message-set): Eliminated.
6720         (elmo-crosspost-message-delete): Ditto.
6721         (elmo-setup-subscribed-newsgroups): New function.
6722         (elmo-crosspost-message-alist-modified): New internal variable.
6723         (elmo-crosspost-message-alist-load): New function (Renamed from
6724         `wl-crosspost-alist-load').
6725         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6726         `wl-crosspost-alist-save').
6727
6728         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6729
6730         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6731         `unreads'.
6732         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6733         elmo-newsgroups-hashtb).
6734         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6735         `elmo-nntp-folder-update-crosspost-message-alist'.
6736         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6737         `elmo-nntp-groups-hashtb'.
6738         (elmo-nntp-make-groups-hashtb): Eliminated.
6739         (elmo-nntp-parse-newsgroups): New function (Renamed from
6740         `wl-parse-newsgroups').
6741         (elmo-folder-creatable-p, elmo-folder-writable-p,
6742         elmo-folder-close-internal, elmo-folder-mark-as-read,
6743         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6744         Define.
6745         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6746
6747         * elmo-net.el (elmo-message-fetch): Check buffer size.
6748
6749         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6750
6751         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6752
6753         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6754         before `close' command.
6755
6756         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6757         `mark-alist' (All other related portions are changed).
6758
6759 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6760
6761         * elmo-util.el (elmo-create-hash-size): Eliminated.
6762         (elmo-make-hash) Make a hash with `one less than a power of two'
6763         length.
6764
6765         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6766         (elmo-hash-maximum-size): Changed value.
6767
6768 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6769
6770         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6771         (elmo-mime-message-display-as-is): Ditto.
6772
6773 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6774
6775         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6776         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6777
6778 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6779
6780         * elmo-mark.el: New file.
6781
6782         * elmo-internal.el: Rewrite (Almost empty).
6783
6784 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6785
6786         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6787         (mime-imap-entity-header-string): Ditto.
6788         (mmimap-entity-section): Rewrite.
6789
6790 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo-nmz.el: New file.
6793
6794         * elmo-pipe.el: Rewrite with luna.
6795
6796 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6797
6798         * elmo-archive.el: Rewrite with luna.
6799
6800         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6801         (elmo-folder-list-importants-internal): Ditto.
6802
6803 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6804
6805         * elmo-archive.el (elmo-archive-version): Abolish.
6806         (toplevel) Removed `boso' comment.
6807
6808 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6811         elmo-msgdb-add-msgs-to-seen-list-subr;
6812         Changed argument seen-marks to unread-marks.
6813
6814         * elmo-nntp.el: Rewrite with luna.
6815
6816 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6817
6818         * elmo-filter.el: Rewrite with luna.
6819
6820 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-pop3.el: Rewrite with luna.
6823
6824 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6825
6826         * elmo-multi.el: Rewrite with luna.
6827
6828         * elmo-vars.el (elmo-use-killed-list): Abolish.
6829         All other related portions are changed.
6830         (elmo-filename-replace-string-alist): Renamed from
6831         elmo-msgid-replace-string-alist.
6832
6833 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6836
6837         * elmo-map.el: New file.
6838         * elmo-maildir.el: Rewrite with luna.
6839
6840 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * elmo.el: Changed meaning of `elmo-folder-commit'.
6843         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6844
6845 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6846
6847         * elmo.el (elmo-folder-append-buffer): New function.
6848         (Renamed from `elmo-append-msg')
6849
6850 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6851
6852         * elmo-mime.el: New file.
6853
6854 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6855
6856         * elmo-cache.el: Rewrite.
6857
6858 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6859
6860         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6861
6862 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6863
6864         * elmo-vars.el (elmo): New group.
6865         (elmo-strict-diff-folder-regexp): New variable.
6866
6867         * elmo-util.el (elmo-call-func): Abolish.
6868         (elmo-folder-get-type): Ditto.
6869         (elmo-*-get-spec): Ditto.
6870         (elmo-*-spec-*): Ditto.
6871         (elmo-imap4-identical-name-space-p): Ditto.
6872         (elmo-folder-identical-system-p): Ditto.
6873         (elmo-folder-direct-copy-alist): Ditto.
6874         (elmo-folder-direct-copy-p): Ditto.
6875
6876         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6877         (elmo-folder-initialize): Define.
6878         (elmo-folder-get-primitive-list): Ditto.
6879
6880         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6881         (elmo-folder-initialize): Define.
6882         Renamed `elmo-network-session-host-internal' to
6883         `elmo-network-session-server-internal'.
6884
6885         * elmo-multi.el (elmo-multi-folder): New luna class.
6886         (elmo-folder-initialize): Define.
6887         (elmo-folder-get-primitive-list): Ditto.
6888         (elmo-folder-contains-type): Ditto.
6889         (elmo-message-use-cache-p): Ditto.
6890
6891         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6892         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6893
6894         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6895         (elmo-folder-initialize): Define.
6896
6897         * elmo-filter.el (elmo-filter-folder): New luna class.
6898         (elmo-folder-initialize): Define.
6899         (elmo-folder-get-primitive-list): Ditto.
6900         (elmo-folder-contains-type): Ditto.
6901
6902 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6903
6904         * elmo-imap4.el: Rewrite with luna.
6905
6906         * mmimap.el: New file.
6907
6908         * mmelmo.el, mmelmo-imap4.el: Removed.
6909
6910         * elmo-net.el: Ditto.
6911
6912         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6913         (elmo-folder-initialize): Define.
6914
6915         * elmo-archive.el (elmo-archive-folder): New luna class.
6916         (elmo-folder-initialize): Define.
6917
6918         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6919         `elmo-folder-msgdb-path'.
6920         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6921         `elmo-make-folder'.
6922
6923 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6924
6925         * elmo.el: New file.
6926
6927         * elmo2.el: Renamed to elmo.el.
6928
6929 \f
6930 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6931
6932         * elmo-cache.el (elmo-cache-expire-by-size): Count
6933         a disk usage for a cache file entry in KB even when
6934         its kind is a directory.
6935
6936 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6937
6938         * elmo-version.el (elmo-version): Up to 2.5.7.
6939
6940 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6941
6942         * elmo-version.el (elmo-version): Up to 2.5.6.
6943
6944 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-version.el (elmo-version): Up to 2.5.5.
6947
6948 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6949
6950         * elmo-imap4.el (elmo-network-authenticate-session):
6951         Fixed a logic for response checking.
6952
6953 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6954
6955         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6956         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6957         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6958         `sasl-mechanisms'.
6959
6960         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6961         for `starttls-open-stream' and `starttls-negotiate'.
6962
6963         * elmo-nntp.el: Remove autoload settings for
6964         `starttls-open-stream' and `starttls-negotiate'.
6965
6966         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6967         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6968         `luna-define-class' with `eval-and-compile'.
6969
6970 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6971
6972         * elmo-util.el (elmo-read-search-condition-internal):
6973         Require an element of table for searching field.
6974
6975 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6976
6977         * elmo-version.el (elmo-version): Up to 2.5.4.
6978
6979 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6980
6981         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6982
6983 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6984
6985         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6986
6987 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6988
6989         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6990         before greeting.
6991
6992 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6993
6994         * elmo-imap4.el (elmo-imap4-delete-folder):
6995         Send "close" before "delete" (Use commented out line).
6996         (elmo-imap4-rename-folder): Ditto.
6997
6998         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6999         folder string itself.
7000         (elmo-dop-list-deleted): New function.
7001         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7002         killed.
7003
7004         * elmo-util.el (elmo-string-rassoc-all): New function.
7005
7006 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7007
7008         * elmo-version.el (elmo-version): Up to 2.5.3.
7009
7010         * elmo-net.el (elmo-network-get-session): Changed logic for
7011         checking process status.
7012
7013         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7014         process is nil;
7015         Changed logic for checking process status.
7016
7017 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7018
7019         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7020         before greeting.
7021         (elmo-network-setup-session): Set UIDL hash size according to
7022         the length of list response.
7023         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7024         according to the length of list response;
7025         Return the length of list response.
7026         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7027
7028 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7029
7030         * elmo-imap4.el (toplevel): Require 'ssl.
7031         Add autoload 'starttls.
7032         * elmo-pop3.el (toplevel): Ditto.
7033         * elmo-nntp.el (toplevel): Ditto.
7034
7035 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7036
7037         * elmo-imap4.el (toplevel): defun at compile time.
7038         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7039         sasl-next-step, sasl-step-data, sasl-step-set-data.
7040         * elmo-pop3.el (toplevel): Ditto.
7041
7042 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7043
7044         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7045
7046 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7047
7048         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7049         if error.
7050         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7051         and `elmo-pop-auth-apop'.
7052
7053 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7054
7055         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7056
7057 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7058
7059         * elmo-pop3.el (elmo-network-authenticate-session): Split
7060         encoded response value.
7061
7062 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7063
7064         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7065         `elmo-pop3-force-login'.
7066         Redefine `sasl-mechanisms'.
7067         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7068
7069 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7070
7071         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7072         Delete `elmo-imap4-authenticator-alist'.
7073         (elmo-imap4-auth-cram-md5): Delete.
7074         (elmo-imap4-auth-digest-md5): Delete.
7075
7076 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7077
7078         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7079         (elmo-pop3-auth-scram-md5): Ditto.
7080         (elmo-pop3-auth-cram-md5): Ditto.
7081
7082 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7083
7084         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7085         Delete `elmo-pop3-authenticator-alist'.
7086
7087 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7088
7089         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7090         new SASL API.
7091         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7092
7093 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7094
7095         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7096
7097 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7098
7099         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7100         Fixed problem when `elmo-pop3-use-uidl' is nil.
7101         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7102
7103 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7104
7105         * elmo-version.el (elmo-version): Up to 2.5.2.
7106
7107 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7108
7109         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7110         New function.
7111         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7112         (elmo-pop3-msgdb-create-as-numlist): Use it.
7113
7114         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7115         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7116
7117         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7118         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7119
7120 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7121
7122         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7123         when elmo-mark-as-read is called with second argument nil.
7124
7125 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7126
7127         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7128         Moved to elmo-util.el.
7129
7130         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7131         Moved from elmo-pipe.el
7132
7133         * elmo-archive.el (elmo-archive-call-process): Enclose with
7134         static-if.
7135
7136         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7137         "RFC822" (because RFC822.PEEK is obsolete).
7138         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7139
7140 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7141
7142         * elmo-archive.el (elmo-archive-call-process): Don't check for
7143         the exit status when Nemacs is running.
7144
7145 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7146
7147         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7148         'plain.
7149
7150         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7151         (elmo-pop3-get-spec): Set default of auth to 'user.
7152
7153         * elmo-imap4.el (elmo-imap4-session-check):
7154         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7155         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7156         (elmo-imap4-auth-login): New function; Revival.
7157         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7158         `elmo-imap4-auth-login'.
7159
7160 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7161
7162         * elmo2.el (toplevel): Move `product-provide' declare.
7163         * mmelmo.el (toplevel): Ditto.
7164
7165 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7166
7167         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7168
7169 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7170
7171         * elmo-util.el (elmo-folder-get-store-type): New function.
7172         (elmo-folder-direct-copy-p): Use it.
7173
7174 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7175
7176         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7177         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7178         and result of `elmo-imap4-use-flag-p'.
7179         (elmo-imap4-fetch-callback-1): Set mark according to
7180         the result of `elmo-imap4-use-flag-p'.
7181
7182 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7183
7184         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7185         (elmo-generic-list-folder-unread): Ditto.
7186         (elmo-folder-get-info): Ditto.
7187         (elmo-folder-set-info-max-by-numdb): Ditto.
7188         (elmo-folder-get-info-max): Ditto.
7189         (elmo-folder-get-info-length): Ditto.
7190         (elmo-folder-get-info-unread): Ditto.
7191         (elmo-folder-info-make-hashtb): Ditto.
7192
7193         * elmo2.el: Removed above functions.
7194
7195 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7196
7197         * elmo-imap4.el (toplevel): Require 'ssl.
7198         Add autoload 'starttls.
7199         * elmo-pop3.el (toplevel): Ditto.
7200         * elmo-nntp.el (toplevel): Ditto.
7201
7202 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7203
7204         * elmo-imap4.el (toplevel): defun at compile time.
7205         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7206         sasl-next-step, sasl-step-data, sasl-step-set-data.
7207         * elmo-pop3.el (toplevel): Ditto.
7208
7209 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7210
7211         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7212
7213 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7214
7215         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7216         if error.
7217         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7218         and `elmo-pop-auth-apop'.
7219
7220 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7221
7222         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7223
7224 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7225
7226         * elmo-pop3.el (elmo-network-authenticate-session): Split
7227         encoded response value.
7228
7229 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7230
7231         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7232         `elmo-pop3-force-login'.
7233         Redefine `sasl-mechanisms'.
7234         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7235
7236 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7237
7238         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7239         Delete `elmo-imap4-authenticator-alist'.
7240         (elmo-imap4-auth-cram-md5): Delete.
7241         (elmo-imap4-auth-digest-md5): Delete.
7242
7243 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7244
7245         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7246         (elmo-pop3-auth-scram-md5): Ditto.
7247         (elmo-pop3-auth-cram-md5): Ditto.
7248
7249 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7250
7251         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7252         Delete `elmo-pop3-authenticator-alist'.
7253
7254 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7255
7256         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7257         new SASL API.
7258         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7259
7260 \f
7261 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7262
7263         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7264
7265 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7266
7267         * elmo-nntp.el (elmo-nntp-get-folders-info):
7268         Fixed problem when '\' character is contained in user-id.
7269         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7270
7271 \f
7272 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7273
7274         * elmo-imap4.el (elmo-imap4-delete-folder):
7275         Send "close" before "delete" (Use commented out line).
7276         (elmo-imap4-rename-folder): Ditto.
7277
7278         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7279         folder string itself.
7280         (elmo-dop-list-deleted): New function.
7281         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7282         killed.
7283
7284         * elmo-util.el (elmo-string-rassoc-all): New function.
7285
7286         * elmo-version.el (elmo-version): Up to 2.5.1.
7287
7288 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7289
7290         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7291
7292         * elmo-internal.el (elmo-internal-search): Fix last change.
7293
7294 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7295
7296         * elmo-internal.el (elmo-internal-search): Rewrite.
7297         (Fixed problem which is pointed out by Akihiro MOTOKI
7298         <motoki@da.jp.nec.com>)
7299
7300         * elmo-version.el (elmo-version): Up to 2.5.0.
7301
7302 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7303
7304         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7305
7306 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7307
7308         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7309         non-nil, make hierarchy.
7310
7311 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7312
7313         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7314         `elmo-pop3-use-uidl' must be bound to nil.
7315         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7316
7317 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7318
7319         * elmo-util.el (elmo-copy-file): Don't cause an error after
7320         `add-name-to-file' failed.
7321
7322         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7323         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7324
7325 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7326
7327         * elmo-version.el (elmo-version): Up to 2.3.93.
7328
7329 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7330
7331         * elmo-util.el (elmo-flatten): New function.
7332
7333 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7334
7335         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7336         sync Author header.
7337         * elmo-cache.el (toplevel): Ditto.
7338         * elmo-database.el (toplevel): Ditto.
7339         * elmo-date.el (toplevel): Ditto.
7340         * elmo-dop.el (toplevel): Ditto.
7341         * elmo-filter.el (toplevel): Ditto.
7342         * elmo-imap4.el (toplevel): Ditto.
7343         * elmo-internal.el (toplevel): Ditto.
7344         * elmo-localdir.el (toplevel): Ditto.
7345         * elmo-localnews.el (toplevel): Ditto.
7346         * elmo-maildir.el (toplevel): Ditto.
7347         * elmo-msgdb.el (toplevel): Ditto.
7348         * elmo-multi.el (toplevel): Ditto.
7349         * elmo-net.el (toplevel): Ditto.
7350         * elmo-nntp.el (toplevel): Ditto.
7351         * elmo-pipe.el (toplevel): Ditto.
7352         * elmo-pop3.el (toplevel): Ditto.
7353         * elmo-util.el (toplevel): Ditto.
7354         * elmo-vars.el (toplevel): Ditto.
7355         * elmo2.el (toplevel): Ditto.
7356         * mmelmo-imap4.el (toplevel): Ditto.
7357         * mmelmo.el (toplevel): Ditto.
7358
7359         * elmo-version.el (elmo-version): Move to top.
7360
7361         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7362         * elmo-imap4.el (toplevel): Ditto.
7363         * elmo-localdir.el (toplevel): Ditto.
7364         * elmo-msgdb.el (toplevel): Ditto.
7365         * elmo-nntp.el (toplevel): Ditto.
7366         * elmo-pop3.el (toplevel): Ditto.
7367         * elmo-version.el (toplevel): Ditto.
7368
7369         * elmo-localnews.el (toplevel): Added Keyword header.
7370
7371 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7372
7373         * elmo-version.el (product-version-as-string): Defined using
7374         `defun-maybe'.
7375         (toplevel): Use it.
7376
7377         * elmo-localdir.el (toplevel): Updated copyright notice.
7378         * elmo-version.el (toplevel): Ditto.
7379         * elmo-msgdb.el (toplevel): Ditto.
7380         * elmo-imap4.el (toplevel): Ditto.
7381         * elmo-nntp.el (toplevel): Ditto.
7382         * elmo-pop3.el (toplevel): Ditto.
7383
7384 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7385
7386         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7387         messages.
7388
7389         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7390         parameter value (It sometimes contains raw kanji).
7391
7392 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7393
7394         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7395         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7396
7397 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7398
7399         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7400
7401 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7402
7403         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7404         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7405
7406 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7407
7408         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7409         value if selecting folder succceeded.
7410         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7411
7412 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7413
7414         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7415         representation.
7416
7417         * elmo-util.el (elmo-string-matched-member): New function.
7418
7419 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7420
7421         * elmo-util.el (elmo-unintern): New macro.
7422         (elmo-number-set-member): Fixed docstring.
7423
7424         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7425         tag token.
7426
7427 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7428
7429         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7430         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7431
7432 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7433
7434         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7435         `no-error'.
7436         Added docstring.
7437         Return non-nil if selecting folder succeeded.
7438         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7439
7440 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7441
7442         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7443         `file-name-completion' returns t.
7444         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7445         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7446         directory if it does not exist.
7447         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7448         for iteration.
7449
7450 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7451
7452         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7453         enclosure (It's harmful in unplugged status).
7454
7455         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7456
7457         * mmelmo-1.el: Removed.
7458
7459         * mmelmo-2.el: Ditto.
7460
7461         * mmelmo-imap4-1.el: Ditto.
7462
7463         * mmelmo-imap4-2.el: Ditto.
7464
7465         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7466
7467         * mmelmo.el: Merged mmelmo-2.el.
7468
7469         * elmo-version.el (elmo-version): Up to 2.3.92.
7470
7471 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7472
7473         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7474         elmo-update-number): Remove last period in "...done." message.
7475         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7476         Ditto.
7477         * elmo-cache.el (elmo-cache-expire-by-size,
7478         elmo-cache-get-sorted-cache-file-list,
7479         elmo-cache-msgdb-create-as-numlist): Ditto.
7480         * elmo-dop.el (elmo-dop-save-pending-messages,
7481         (elmo-dop-flush-pending-append-operations): Ditto.
7482         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7483         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7484         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7485         (elmo-localdir-pack-number): Ditto.
7486         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7487         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7488         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7489         mime-write-entity-content): Ditto.
7490         * pldap.el (ldap-search-basic): Ditto.
7491
7492 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7493
7494         * elmo-version.el (elmo-version): Up to 2.3.91.
7495
7496         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7497         Only when filter is 'last'.
7498
7499         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7500         (elmo-condition-parse-search-value): Use it.
7501         (elmo-read-search-condition-internal): Quote value only when
7502         it is not an atom.
7503
7504 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7505
7506         * elmo2.el (elmo-generic-folder-diff): Fix.
7507
7508 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7509
7510         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7511         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7512         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7513         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7514         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7515         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7516
7517 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7518
7519         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7520         extra-fields.
7521
7522 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7523
7524         * elmo-version.el (elmo-version): Up to 2.3.90.
7525
7526         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7527         (elmo-imap4-list-folder-important): Ditto.
7528
7529 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7530
7531         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7532
7533 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7534
7535         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7536
7537 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7538
7539         * elmo-nntp.el (elmo-network-initialize-session):
7540         Add starttls negotiation.
7541
7542 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7543
7544         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7545         response.
7546         (elmo-network-setup-session): Define.
7547         Call `elmo-nntp-send-mode-reader' when session opened.
7548
7549 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7550
7551         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7552
7553 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7554
7555         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7556         an invalid SPACE character ahead of `SEARCH' command.  Move
7557         a valid SPACE character following `SEARCH' from conditional
7558         `format' arguments to control-strings.
7559
7560 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7561
7562         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7563         was succeeded.
7564
7565         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7566
7567 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7568
7569         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7570         `w32-get-true-file-link-count' as t.
7571
7572         * elmo-imap4.el (elmo-imap4-read): Abolished.
7573         (Renamed to `elmo-read' and moved to elmo-util.el)
7574         All other related portions are changed.
7575
7576         * elmo-util.el (elmo-read): New function.
7577         (elmo-condition-parse-search-value): Use it.
7578
7579 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7580
7581         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7582
7583         * elmo-nntp.el (elmo-nntp-session): Define.
7584         (elmo-nntp-setting): Abolished.
7585         All other related portions are changed.
7586         (elmo-nntp-get-server-command): Changed argument.
7587         (elmo-nntp-set-server-command): Ditto.
7588         (elmo-nntp-xover-p): Ditto.
7589         (elmo-nntp-set-xover): Ditto.
7590         (elmo-nntp-listgroup-p): Ditto.
7591         (elmo-nntp-set-listgroup): Ditto.
7592         (elmo-nntp-list-active-p): Ditto.
7593         (elmo-nntp-set-list-active): Ditto.
7594         (elmo-nntp-xhdr-p): Ditto.
7595         (elmo-nntp-set-xhdr): Ditto.
7596         (elmo-nntp-flush-connection): Abolished.
7597         (elmo-nntp-get-connection): Abolished.
7598         (elmo-nntp-get-session): New function.
7599         (elmo-network-initialize-session): Defined.
7600         (elmo-network-authenticate-session): Ditto.
7601         (elmo-nntp-send-mode-reader): Changed argument.
7602         (elmo-nntp-send-command): Changed argument.
7603         All other related portions are changed.
7604         (elmo-nntp-read-response): Ditto.
7605         (elmo-nntp-read-raw-response): Ditto.
7606         (elmo-nntp-read-contents): Ditto.
7607         (elmo-nntp-read-body): Ditto.
7608         (elmo-nntp-goto-folder): Abolished.
7609         (elmo-nntp-select-group): New function.
7610         All other related portions are changed.
7611         (This function substitutes `elmo-nntp-goto-folder')
7612         (elmo-nntp-msgdb-create-by-header): Rewrite.
7613         (elmo-nntp-get-overview): Eliminated.
7614         (elmo-nntp-get-message): Ditto.
7615         (elmo-nntp-open-connection) Abolished.
7616         (elmo-nntp-read-msg): Rewrite.
7617         (elmo-nntp-post): Ditto.
7618         (elmo-nntp-send-data): Abolished.
7619         (elmo-nntp-send-buffer): New function.
7620         (elmo-nntp-send-data-line): Define as inline function.
7621         (elmo-nntp-get-folders-info-prepare): Use session as key.
7622         (elmo-nntp-groups-read-response): Changed argument.
7623         (elmo-nntp-retrieve-headers): Ditto.
7624         (elmo-nntp-msgdb-create-message): Ditto.
7625
7626         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7627         when searching by 'since' or 'before'.
7628
7629 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7630
7631         * elmo-version.el (toplevel): Use product-version-as-string for set
7632         verstion-string, if defined.
7633
7634 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7635
7636         * elmo-util.el: Doc fixes.
7637
7638 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7639
7640         * elmo-archive.el (toplevel): Use product-provide.
7641         * elmo-cache.el (toplevel): Ditto.
7642         * elmo-database.el (toplevel): Ditto.
7643         * elmo-date.el (toplevel): Ditto.
7644         * elmo-dop.el (toplevel): Ditto.
7645         * elmo-filter.el (toplevel): Ditto.
7646         * elmo-imap4.el (toplevel): Ditto.
7647         * elmo-internal.el (toplevel): Ditto.
7648         * elmo-localdir.el (toplevel): Ditto.
7649         * elmo-localnews.el (toplevel): Ditto.
7650         * elmo-maildir.el (toplevel): Ditto.
7651         * elmo-msgdb.el (toplevel): Ditto.
7652         * elmo-multi.el (toplevel): Ditto.
7653         * elmo-net.el (toplevel): Ditto.
7654         * elmo-nntp.el (toplevel): Ditto.
7655         * elmo-pipe.el (toplevel): Ditto.
7656         * elmo-pop3.el (toplevel): Ditto.
7657         * elmo-util.el (toplevel): Ditto.
7658         * elmo-vars.el (toplevel): Ditto.
7659         * elmo2.el (toplevel): Ditto.
7660         * mmelmo-1.el (toplevel): Ditto.
7661         * mmelmo-2.el (toplevel): Ditto.
7662         * mmelmo-imap4-1.el (toplevel): Ditto.
7663         * mmelmo-imap4-2.el (toplevel): Ditto.
7664         * mmelmo-imap4.el (toplevel): Ditto.
7665         * mmelmo.el (toplevel): Ditto.
7666
7667 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7668
7669         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7670         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7671
7672 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7673
7674         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7675         before splitting.
7676         (elmo-multi-split-number-alist): Ditto.
7677
7678 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7679
7680         * elmo-version.el: New file.  Use product.el.
7681         * elmo2.el: Add (require 'elmo-version).
7682         * elmo-vars.el (elmo-appname, elmo-version): Move to
7683         elmo-version.el
7684
7685 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7686
7687         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7688         `elmo-msgdb-expand-path'.
7689         (elmo-msgdb-load): Ditto.
7690         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7691         (elmo-generic-list-folder-unread): Rewrite.
7692         (elmo-generic-list-folder-important): Changed argument.
7693         (elmo-list-folder-unread): Ditto.
7694         (elmo-list-folder-important): Ditto.
7695         (elmo-folder-diff): Rewrite.
7696         (elmo-generic-folder-diff): New function.
7697         (elmo-multi-get-number-alist-list): Abolished
7698         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7699         (elmo-multi-folder-diff): Moved to elmo-multi.el
7700         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7701
7702         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7703         `elmo-msgdb-expand-path'.
7704         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7705         (elmo-pop3-read-msg): Ditto.
7706         (elmo-pop3-delete-msgs): Ditto.
7707         (elmo-pop3-folder-diff): New alias.
7708
7709         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7710         `elmo-msgdb-expand-path'.
7711         (elmo-pipe-list-folder-unread): Changed arguments.
7712         (elmo-pipe-list-folder-important): Ditto.
7713         (elmo-pipe-folder-diff): New alias.
7714
7715         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7716         `elmo-msgdb-expand-path'.
7717         (elmo-nntp-max-of-folder): Ditto.
7718         (elmo-nntp-msgdb-create): Ditto.
7719         (elmo-nntp-delete-msgs): Ditto.
7720         (elmo-nntp-folder-diff): New alias.
7721
7722         * elmo-multi.el (elmo-multi-folder-diff): New function.
7723         (elmo-multi-split-mark-alist): Ditto.
7724         (elmo-multi-split-number-alist): Ditto.
7725         (elmo-multi-mark-alist-list): Abolished (Renamed to
7726         elmo-multi-split-mark-alist).
7727         (elmo-multi-list-folder-unread): Rewrite.
7728         (elmo-multi-list-folder-important): Ditto.
7729         (elmo-multi-list-folder): Set `spec' as 1st argument for
7730         `elmo-msgdb-expand-path'.
7731         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7732         instead of `elmo-multi-get-number-alist-list'.
7733
7734         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7735         If 1st argument is not string, treat as spec.
7736         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7737         `elmo-msgdb-expand-path'.
7738         (elmo-msgdb-flist-load): Ditto.
7739         (elmo-msgdb-flist-save): Ditto.
7740         (elmo-msgdb-delete-path): Ditto.
7741         (elmo-msgdb-rename-path): Ditto.
7742
7743         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7744         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7745         (elmo-maildir-delete-mark-msgs): Ditto.
7746         (elmo-maildir-msgdb-create): Ditto.
7747         (elmo-maildir-read-msg): Ditto.
7748         (elmo-maildir-delete-msgs): Ditto.
7749         (elmo-maildir-list-folder-subr): Ditto.
7750         (elmo-maildir-search): Ditto.
7751         (elmo-maildir-get-msg-filename): Ditto.
7752         (elmo-maildir-pack-number): Ditto.
7753         (elmo-maildir-folder-diff): New alias.
7754
7755         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7756
7757         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7758         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7759         (elmo-localdir-folder-diff): New alias.
7760
7761         * elmo-internal.el (elmo-internal-list-folder-subr):
7762         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7763         (elmo-internal-list-folder-by-location): Ditto.
7764         (elmo-internal-msgdb-create): Ditto.
7765         (elmo-internal-delete-msgs): Ditto.
7766         (elmo-internal-read-msg): Ditto.
7767         (elmo-internal-folder-diff): New alias.
7768
7769         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7770         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7771         `elmo-msgdb-expand-path'.
7772         (elmo-imap4-list-folder-unread): Changed arguments.
7773         (elmo-imap4-list-folder-important): Ditto.
7774
7775         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7776         (elmo-filter-list-folder-important): Ditto.
7777         (elmo-filter-folder-diff): New function.
7778
7779         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7780
7781         * elmo-cache.el (elmo-cache-list-folder):
7782         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7783         (elmo-cache-copy-msgs): Ditto.
7784         (elmo-cache-folder-diff): New alias.
7785
7786         * elmo-archive.el (elmo-archive-list-folder-subr):
7787         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7788         (elmo-archive-get-archive-name): Ditto.
7789         (elmo-archive-create-file): Ditto.
7790         (elmo-archive-append-msg): Ditto.
7791         (elmo-archive-copy-msgs): Ditto.
7792         (elmo-archive-copy-msgs-froms): Ditto.
7793         (elmo-archive-get-msg-filename): Ditto.
7794         (elmo-archive-folder-diff): New alias.
7795
7796 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7797
7798         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7799         (elmo-pop3-stream-type-alist): New variable.
7800         (elmo-nntp-stream-type-alist): New variable.
7801
7802         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7803         (elmo-kill-buffer): Ditto.
7804         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7805         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7806         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7807         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7808         (elmo-imap4-get-spec): Take into account
7809         `elmo-imap4-stream-type-alist'.
7810
7811 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7812
7813         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7814         (elmo-nntp-list-folders-get-cache): Ditto.
7815
7816 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7817
7818         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7819         character before 'uid'.
7820
7821 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7822
7823         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7824
7825         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7826
7827         * elmo-util.el (elmo-number-set-member): New function.
7828         (elmo-number-set-append-list): Ditto.
7829         (elmo-number-set-append): Ditto.
7830
7831         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7832         Use `elmo-number-set-member'.
7833         (elmo-living-messages): Ditto.
7834         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7835         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7836
7837         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7838         (elmo-imap4-add-to-cont-list): Abolished.
7839         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7840         instead of elmo-imap4-add-to-cont-list.
7841
7842         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7843         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7844
7845         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7846
7847 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7848
7849         * elmo-util.el (elmo-condition-parse-search-value):
7850         Fixed date parsing.
7851
7852 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7853
7854         * elmo-util.el (elmo-condition-find-key-internal): New function.
7855         (elmo-condition-find-key): Ditto.
7856
7857         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7858         (elmo-msgdb-search-internal): Ditto.
7859         (elmo-msgdb-search): Ditto.
7860
7861 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7862
7863         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7864         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7865
7866         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7867         (elmo-nntp-search-primitive): Fixed problem when condition is
7868         'unmatch'.
7869
7870         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7871
7872         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7873         (elmo-nntp-xhdr-p): New macro.
7874         (elmo-nntp-set-xhdr): Ditto.
7875         (elmo-nntp-parse-xhdr-response): New function.
7876         (elmo-nntp-retrieve-field): Ditto.
7877         (elmo-nntp-search-primitive): Ditto.
7878         (elmo-nntp-search): Implemented.
7879
7880         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7881
7882         * elmo-archive.el (elmo-archive-search): Set all number list to
7883         `elmo-archive-field-condition-match'
7884
7885         * elmo-localdir.el (elmo-localdir-search): Likewise.
7886
7887         * elmo-maildir.el (elmo-maildir-search): Likewise.
7888
7889 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7890
7891         * elmo-msgdb.el (elmo-living-messages): New function.
7892         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7893         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7894         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7895         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7896         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7897         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7898         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7899         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7900         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7901         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7902         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7903
7904 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7905
7906         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7907
7908         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7909
7910         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7911
7912         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7913         arguments for `SEARCH' command.
7914         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7915         All other related portions are changed.
7916
7917         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7918
7919         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7920         (elmo-list-folder-unread): Rewrite.
7921         (elmo-list-folder-important): Ditto.
7922
7923         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7924         (elmo-condition-parse-error): New inline function.
7925         (elmo-read-search-condition): New function.
7926         (elmo-read-search-condition-internal): Ditto.
7927         (elmo-parse-search-condition): Rewrite.
7928         (elmo-condition-parse): New function.
7929         (elmo-condition-parse-or-expr): Ditto.
7930         (elmo-condition-parse-and-expr): Ditto.
7931         (elmo-condition-parse-primitive): Ditto.
7932         (elmo-condition-parse-search-value): Ditto.
7933         (elmo-buffer-field-primitive-condition-match): Ditto.
7934         (elmo-buffer-field-condition-match): Rewrite.
7935         (elmo-file-field-condition-match): Ditto.
7936
7937         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7938         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7939
7940         * elmo-internal.el (elmo-internal-search): Set `number' and
7941         `number-list' argument of `elmo-file-field-condition-match'.
7942
7943         * elmo-maildir.el (elmo-maildir-search): Ditto.
7944
7945         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7946         `msgdb' as argument instead of `mark-alist'.
7947         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7948         `overview'.
7949
7950         * elmo-multi.el: Likewise.
7951
7952         * elmo-pipe.el: Likewise.
7953
7954         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7955         (elmo-imap4-search-internal): Rewrite.
7956         (elmo-imap4-search): Ditto.
7957
7958         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7959         (elmo-filter-list-folder-unread): Ditto.
7960         (elmo-filter-list-folder-important): Ditto.
7961         (elmo-filter-search): Rewrite.
7962
7963         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7964         `number-list' argument of `elmo-file-field-condition-match'.
7965         (elmo-cache-search): Ditto.
7966
7967         * elmo-localdir.el: Likewise.
7968
7969         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7970         number-list and pass it to `elmo-buffer-field-condition-match'.
7971         (elmo-archive-field-condition-match): Pass `number-list' to
7972         `elmo-archive-field-condition-match'
7973
7974 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7975
7976         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7977         `listgroup'.
7978
7979         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7980         (elmo-folder-diff-async-callback-data): Ditto.
7981         (elmo-folder-diff-async): New function.
7982
7983         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7984         (elmo-network-session-cache-key): Use it as a prefix of the session
7985         name.
7986         (elmo-network-open-session): Ditto.
7987
7988         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7989         (elmo-imap4-status-callback-data): Ditto.
7990         (elmo-imap4-server-diff-async-callback): New variable.
7991         (elmo-imap4-server-diff-async-callback-data): Ditto.
7992         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7993         `elmo-imap4-status-callback-data'.
7994         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7995         `elmo-imap4-status-callback-data' as nil.
7996         (elmo-imap4-server-diff): Ditto.
7997         (elmo-imap4-server-diff-async-callback-1): New function.
7998         (elmo-imap4-server-diff-async): Ditto.
7999         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8000
8001 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8002
8003         * elmo-util.el (elmo-list-delete): Doc fix.
8004         (elmo-delete-lists): Abolish.
8005         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8006         instead of `elmo-delete-lists'.
8007
8008 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8009
8010         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8011         before `sort'.
8012
8013 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8014
8015         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8016         `elmo-imap4-literal-subr'.
8017         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8018         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8019
8020 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8021
8022         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8023         (elmo-archive-list-folder): Fix.
8024         (elmo-archive-max-of-folder): Fix.
8025
8026 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8027
8028         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8029          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8030         (elmo-localdir-append-msg): Ditto.
8031         (elmo-localdir-list-folder): Fix for `nonsort'.
8032         (elmo-localdir-list-folder-subr): Fix for `killed'.
8033         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8034         (elmo-maildir-list-folder-subr): Ditto.
8035         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8036         (elmo-archive-list-folder-subr): Ditto.
8037         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8038         (elmo-internal-list-folder-subr): Ditto.
8039
8040 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8041
8042         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8043
8044 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8045
8046         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8047
8048 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8049
8050         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8051         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8052
8053         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8054         before greeting.
8055         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8056         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8057
8058 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8059
8060         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8061
8062         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8063         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8064         before STORE command.
8065
8066 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8067
8068         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8069
8070         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8071         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8072         of `response'.
8073         (elmo-imap4-list-folders): Removed unused local variable.
8074         (elmo-network-initialize-session): Ditto.
8075         (elmo-imap4-delete-msg-by-id): Ditto.
8076         (elmo-imap4-parse-fetch): Ditto.
8077         (elmo-imap4-copy-msgs): Ditto.
8078         Use `dst-spec' instead of `dst-folder'.
8079         (elmo-network-authenticate-session): Check authenticate type `plain'.
8080
8081 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8082
8083         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8084         garbage checking.
8085         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8086         `elmo-imap4-response-value'.
8087         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8088
8089 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8090
8091         * elmo-imap4.el (elmo-imap4-send-command):
8092         Cause elmo-imap4-bye-error when current response is BYE.
8093         (elmo-imap4-arrival-filter): Changed greeting response value.
8094
8095         * elmo2.el (elmo-imap4-bye-error): Define.
8096
8097         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8098         (elmo-imap4-server-diff): Ditto.
8099         (elmo-imap4-response-bye-p): New macro.
8100         (elmo-imap4-response-error-text): Get text from BYE response.
8101         (elmo-imap4-read-response): Return if BYE response.
8102         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8103         (elmo-imap4-folder-exists-p): Ditto.
8104         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8105         (elmo-imap4-parse-bye): New function.
8106         (elmo-imap4-parse-response): Remove needless let.
8107         Call `elmo-imap4-parse-bye'.
8108
8109 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8110
8111         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8112         the mailbox does not exist.
8113         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8114
8115 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8116
8117         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8118
8119 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8120
8121         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8122
8123         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8124         (elmo-network-initialize-session-buffer): Defined.
8125
8126         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8127         Abolished.
8128         (mmelmo-imap4-get-mime-entity): Rewrite.
8129
8130         * elmo2.el (elmo-error): Capitalize error message.
8131
8132         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8133         (elmo-network-session-buffer): New macro.
8134         (elmo-network-open-session): Use it.
8135
8136         * elmo-imap4.el: Rewrite.
8137
8138 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8139
8140         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8141
8142 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8143
8144         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8145         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8146         (elmo-imap4-create-msgdb-from-overview-string): Use
8147         `elmo-msgdb-create-overview-from-buffer'.
8148
8149 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8150
8151         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8152         (elmo-imap4-default-hierarchy-delimiter): New variable.
8153         (elmo-imap4-list-folders): Use it.
8154
8155 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8156
8157         * elmo-net.el (elmo-network-open-session): Add user and
8158         stream-type for process-buffer name.
8159
8160         * elmo-pop3.el (elmo-network-initialize-session): Call
8161         buffer-disable-undo.
8162
8163         * elmo-imap4.el (elmo-network-initialize-session):
8164         Set current-buffer as an argument for `buffer-disable-undo'.
8165
8166         * elmo-pop3.el (elmo-network-close-session): Don't use
8167         `process-live-p'.
8168
8169         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8170         Set default as 'user.
8171
8172         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8173
8174         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8175         and `elmo-imap4-flush-connection'.
8176
8177         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8178         (elmo-pop3-get-spec): Assume auth as symbol.
8179         (elmo-open-network-stream): Moved to `elmo-net'.
8180
8181         * elmo-pop3.el (toplevel): Require 'elmo-net.
8182         Define `sasl-cram-md5' to silence byte compilier.
8183         (elmo-pop3-connection-cache) Abolished.
8184         (elmo-pop3-authenticator-alist) New variable.
8185         (elmo-pop3-session): Define.
8186         (elmo-pop3-connection-get-process): Abolished.
8187         (elmo-pop3-connection-get-buffer): Ditto.
8188         (elmo-pop3-close-connection): Ditto.
8189         (elmo-pop3-flush-connection): Ditto.
8190         (elmo-pop3-get-connection): Ditto.
8191         (elmo-pop3-get-session): New function.
8192         (Replacement for `elmo-pop3-get-connection').
8193         All other related modules are changed.
8194         (elmo-network-close-session): Define.
8195         (elmo-pop3-send-command): Abolished argument `buffer'.
8196         All other related modules are changed.
8197         (elmo-pop3-read-response): Likewise.
8198         (elmo-pop3-open-connection): Abolished.
8199         (elmo-pop3-auth-user): New function.
8200         (elmo-pop3-auth-apop): Ditto.
8201         (elmo-pop3-auth-cram-md5): Ditto.
8202         (elmo-pop3-auth-scram-md5): Ditto.
8203         (elmo-pop3-auth-digest-md5): Ditto.
8204         (elmo-network-initialize-session): Define.
8205         (elmo-network-authenticate-session): Ditto.
8206         (elmo-network-setup-session): Ditto.
8207
8208         * elmo-imap4.el (toplevel): Require 'elmo-net.
8209         (elmo-imap4-session): Define.
8210         (elmo-imap4-connection-cache): Abolished.
8211         (elmo-imap4-password-key): Ditto.
8212         (elmo-imap4-flush-connection): Ditto.
8213         (elmo-imap4-get-connection): Ditto.
8214         All other related modules are changed.
8215         (elmo-imap4-get-session): New function
8216         (Replacement for `elmo-imap4-get-connection').
8217         (elmo-imap4-read-response): Abolished argument `buffer'.
8218         All other related modules are changed.
8219         (elmo-imap4-send-command): Likewise.
8220         (elmo-imap4-select-folder): Abolished.
8221         All other related modules are changed.
8222         (elmo-imap4-select-mailbox): New function.
8223         (Replacement for `elmo-imap4-select-folder').
8224         (elmo-imap4-auth-login): Simplify.
8225         (Assume current buffer as process buffer)
8226         (elmo-imap4-auth-cram-md5): Ditto.
8227         (elmo-imap4-auth-digest-md5): Ditto.
8228         (elmo-imap4-login): Ditto.
8229         (elmo-imap4-open-connection): Abolished.
8230         (elmo-imap4-open-connection-1): Abolished.
8231         (elmo-network-initialize-sessoin): Define.
8232         (elmo-network-authenticate-session): Ditto.
8233         (elmo-network-setup-session): Ditto.
8234
8235         * elmo-net.el: New module.
8236
8237 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8238
8239         * elmo-util.el (elmo-define-error): New function.
8240
8241         * elmo2.el (elmo-error): Define.
8242         (elmo-open-error): Define.
8243         (elmo-authenticate-error): Define.
8244
8245         * elmo-imap4.el (elmo-imap4-error): Abolish.
8246         (elmo-imap4-error-type): Abolish.
8247         (elmo-imap4-error-process): Abolish.
8248         (elmo-imap4-error-message): Abolish
8249         (elmo-imap4-list-folders): Don't quote lambda.
8250         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8251         (elmo-imap4-parse-namespace): Ditto.
8252         (elmo-imap4-open-connection): Rewrite.
8253         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8254         (elmo-imap4-get-connection): Abolish local variable `result'.
8255
8256 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8257
8258         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8259         wrong-type-argument error when auth is nil.
8260
8261 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8262
8263         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8264         (elmo-default-nntp-stream-type): Ditto.
8265         (elmo-default-pop3-stream-type): Ditto.
8266         (elmo-network-stream-type-alist): Ditto.
8267         (elmo-default-imap4-ssl): Abolished.
8268         (elmo-default-nntp-ssl): Ditto.
8269         (elmo-default-pop3-ssl): Ditto.
8270
8271         * elmo-util.el: (toplevel): Removed needless requires.
8272         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8273         (elmo-open-network-stream): Open network stream according to
8274         the value of `elmo-network-stream-type-alist'.
8275         (elmo-get-network-stream-type): New function.
8276         (elmo-network-stream-type-spec-string): New macro.
8277         (elmo-network-stream-type-symbol): Ditto.
8278         (elmo-network-stream-type-function): Ditto.
8279
8280         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8281         network-stream-type. All other related portions are changed.
8282         (elmo-pop3-open-connection): Ditto.
8283
8284         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8285         network-stream-type. All other related portions are changed.
8286
8287         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8288         network-stream-type.All other related portions are changed.
8289         (elmo-imap4-error): New macro.
8290         (elmo-imap4-error-type): Ditto.
8291         (elmo-imap4-error-process): Ditto.
8292         (elmo-imap4-error-message): Ditto.
8293         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8294         (elmo-imap4-auth-cram-md5): Ditto.
8295         (elmo-imap4-auth-digest-md5): Ditto.
8296         (elmo-imap4-login): Ditto.
8297         (elmo-imap4-open-connection): Remove password entry if authentication
8298         was in vain.
8299         (elmo-imap4-user-at-host): Abolished.
8300         (elmo-imap4-password-key): New buffer local variable.
8301         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8302         using protocol, port, auth and stream-type.
8303
8304         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8305
8306 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8307
8308         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8309
8310         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8311
8312         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8313         (elmo-imap4-authenticator-alist): New variable.
8314         (elmo-imap4-open-connection-1): Rename from
8315         elmo-imap4-open-connection.
8316         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8317         only wraps elmo-imap4-open-connection-1.
8318         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8319         user-at-host.
8320         (elmo-imap4-auth-login): New function.
8321         (elmo-imap4-auth-cram-md5): New function.
8322         (elmo-imap4-auth-digest-md5): New function.
8323         (elmo-imap4-login): New function.
8324
8325 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8326
8327         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8328         function `error'.
8329
8330 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8331
8332         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8333
8334 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8335
8336         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8337
8338 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8339
8340         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8341         for server responses, quote `*' regardless of where it appears.
8342
8343 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8344
8345         * elmo-maildir.el (elmo-maildir-commit): New alias.
8346
8347 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8348
8349         * elmo-util.el (elmo-display-progress):
8350                 Use `progress-feedback-with-label'.
8351
8352 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8353
8354         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8355         (elmo-imap4-non-atom-char-regex): Ditto.
8356         (elmo-imap4-non-text-char-regex): Ditto.
8357         (elmo-imap4-literal-threshold): Ditto.
8358         (elmo-imap4-atom-p): New function.
8359         (elmo-imap4-quotable-p): Ditto.
8360         (elmo-imap4-nil): Ditto.
8361         (elmo-imap4-atom): Ditto.
8362         (elmo-imap4-quoted): Ditto.
8363         (elmo-imap4-literal-subr): Ditto.
8364         (elmo-imap4-literal): Ditto.
8365         (elmo-imap4-buffer-literal): Ditto.
8366         (elmo-imap4-string-subr): Ditto.
8367         (elmo-imap4-string): Ditto.
8368         (elmo-imap4-buffer-string): Ditto.
8369         (elmo-imap4-astring-subr): Ditto.
8370         (elmo-imap4-astring): Ditto.
8371         (elmo-imap4-buffer-astring): Ditto.
8372         (elmo-imap4-nstring): Ditto.
8373         (elmo-imap4-buffer-nstring): Ditto.
8374         (elmo-imap4-mailbox): New alias.
8375         (elmo-imap4-field-body): Ditto.
8376         (elmo-imap4-userid): Ditto.
8377         (elmo-imap4-password): Ditto.
8378         (elmo-imap4-format-quoted): New function.
8379         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8380         arguments and handle "atom", "quoted" and "literal" string here.
8381         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8382         `elmo-imap4-send-command'.
8383         (elmo-imap4-folder-exists-p): Likewise.
8384         (elmo-imap4-create-folder): Likewise.
8385         (elmo-imap4-delete-folder): Likewise.
8386         (elmo-imap4-rename-folder): Likewise.
8387         (elmo-imap4-max-of-folder): Likewise.
8388         (elmo-imap4-check-validity): Likewise.
8389         (elmo-imap4-sync-validity): Likewise.
8390         (elmo-imap4-server-diff): Likewise.
8391         (elmo-imap4-select-folder): Likewise.
8392         (elmo-imap4-copy-msgs): Likewise.
8393         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8394         (elmo-imap4-mark-set-on-msgs): Likewise.
8395         (elmo-imap4-read-part): Likewise.
8396         (elmo-imap4-read-msg): Likewise.
8397         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8398         `elmo-imap4-password' for `elmo-imap4-send-command'.
8399         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8400         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8401         `elmo-imap4-buffer-literal'.
8402         (elmo-imap4-append-msg): Likewise.
8403
8404         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8405         `delete' for removing dead connection from the connection cache.
8406         Move deletion of the process buffer after that.
8407         (elmo-imap4-list): Change `defsubst' to `defun'.
8408         (elmo-imap4-commit): Make error message verbose.
8409         (elmo-imap4-search): Ditto.
8410         (elmo-imap4-list): Ditto.
8411         (elmo-imap4-select-folder): Ditto.
8412         (elmo-imap4-copy-msgs): Ditto.
8413         (elmo-imap4-delete-msg-by-id): Ditto.
8414         (elmo-imap4-append-msg-by-id): Ditto.
8415         (elmo-imap4-append-msg): Ditto.
8416
8417 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8418
8419         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8420         when dired is used on XEmacs.
8421
8422 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8423
8424         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8425         instead of `append'.
8426         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8427         `elmo-plugged-p' directly.
8428         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8429         of `elmo-plugged-p' directly.
8430
8431         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8432         Eliminate unused variable.  Use `memq' for checking a process status.
8433         Use `cons' instead of `append' for updating the connection cache.
8434         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8435         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8436
8437 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8438
8439         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8440         `elmo-imap4-read-point' exactly.
8441
8442         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8443         the local variable `folder' to `mailbox'.
8444         Rename the argument `fld' to `folder'.
8445
8446 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8447
8448         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8449         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8450
8451 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8452
8453         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8454         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8455         (elmo-pop3-uidl-number-hash): Ditto.
8456         (elmo-pop3-size-hash): Ditto.
8457         (elmo-pop3-uidl-done): Ditto.
8458         (elmo-pop3-list-done): Ditto.
8459         (elmo-pop3-connection-get-process): New defmacro.
8460         (elmo-pop3-connection-get-buffer): Ditto.
8461         (elmo-pop3-close-connection): Delete buffer and process.
8462         (elmo-pop3-flush-connection): Don't delete buffer and process.
8463         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8464         Setup UIDL and size hash.
8465         (elmo-pop3-send-command-no-erase): Deleted
8466         (elmo-pop3-send-command): Added optional argument `no-erase'.
8467         (elmo-pop3-parse-uidl-response): New function.
8468         (elmo-pop3-parse-list-response): Set size hash.
8469         (elmo-pop3-list-location): New function.
8470         (elmo-pop3-list-by-uidl-subr): Ditto.
8471         (elmo-pop3-list-by-list): Ditto.
8472         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8473         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8474         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8475         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8476         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8477         Use uidl.
8478         (elmo-pop3-uidl-to-number): New function.
8479         (elmo-pop3-number-to-uidl): Ditto.
8480         (elmo-pop3-number-to-size): Ditto.
8481         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8482         Set number by use of uidl.
8483         (elmo-pop3-msgdb-create-message): Likewise.
8484         Set size, loc-alist in msgdb.
8485         (elmo-pop3-read-msg): Set number by use of uidl.
8486         Added optional argument `msgdb'.
8487         (elmo-pop3-delete-msg): Ditto.
8488         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8489         (elmo-pop3-commit): Close connection.
8490
8491         * elmo-pipe.el (elmo-pipe-max-of-folder):
8492         Bind `elmo-pop3-use-uidl' as nil.
8493         (elmo-pipe-drain): Ditto.
8494         Call `elmo-commit'.
8495
8496         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8497         (elmo-msgdb-overview-entity-set-size): New defsubst.
8498
8499 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8500
8501         * elmo-vars.el (elmo-use-killed-list): New variable
8502         (Renamed from `elmo-nntp-use-killed-list').
8503         (elmo-nntp-use-killed-list): Eliminated.
8504
8505         * elmo-msgdb.el (elmo-msgdb-expand-path):
8506         Changed expanding msgdb path for elmo-multi.
8507
8508         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8509         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8510         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8511         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8512         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8513         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8514         (toplevel): Deleted time-stamp line.
8515
8516         * elmo2.el (elmo-clear-killed ): Defined as function
8517         (Abolished defining as a backend function).
8518         All other related modules are changed.
8519
8520 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8521
8522         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8523
8524 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8525
8526         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8527
8528 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8529
8530         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8531
8532 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8533
8534         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8535         asynchronous folder check.
8536
8537         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8538
8539         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8540         `elmo-nntp-use-killed-list'.
8541         (elmo-nntp-list-folder): Use killed list.
8542         (elmo-nntp-max-of-folder): Ditto.
8543         (elmo-nntp-msgdb-create): Set killed list.
8544
8545         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8546
8547         * elmo2.el (elmo-clear-killed): New backend function.
8548         All other related modules are changed.
8549
8550 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8551
8552         * elmo-util.el (elmo-imap4-spec-folder): Use
8553         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8554         All callers changed.
8555
8556 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8557
8558         * mmelmo-2.el (initialize-instance):
8559         Use `mime-buffer-entity-buffer-internal' instead of
8560         `mime-entity-buffer'.
8561
8562         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8563         (mime-entity-body): Implemented.
8564         (mime-goto-header-start-point): Deleted.
8565         (mime-goto-body-end-point): Ditto.
8566         (mime-entity-point-min): Ditto.
8567         (mime-entity-point-max): Ditto.
8568         (mime-entity-children): Ditto.
8569         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8570         instead of `mime-entity-buffer'.
8571         (mime-entity-header-buffer): Ditto.
8572         (mime-entity-body-buffer): Ditto.
8573         (mime-write-entity-content): Ditto.
8574
8575         * pldap.el (ldap-static-if): New macro.
8576         (toplevel): Use it instead of `static-if'.
8577
8578 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8579
8580         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8581         included in `attrs' argument.
8582
8583 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8584
8585         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8586
8587         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8588         (ldap-ldif-safe-init-char-regexp): Ditto.
8589         (ldap-ldif-safe-string-regexp): Ditto.
8590         (ldap/ldif-safe-string-p): New macro.
8591         (ldap/ldif-insert-field): Ditto.
8592         (ldap-modify): Use it.
8593         (ldap-add): Ditto.
8594         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8595         (ldap-decode-attribute): Decode only when `attr' is consp.
8596         (ldap-delete): Bind `ret'.
8597         (toplevel): Require 'cl at compile time.
8598         Removed (require 'poe) and (require 'std11).
8599         (pldap-version): Eliminated.
8600         (ldap-search-basic): Removed auth and dn binding.
8601         (ldap-ldif-field-name-regexp): New constant.
8602         (ldap-ldif-field-head-regexp): Ditto.
8603         (ldap-ldif-next-field-head-regexp): Ditto.
8604         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8605         (ldap/field-end): New function.
8606         (ldap/field-body): Use it.
8607         (ldap/collect-field): Ditto.
8608         (ldap-search-basic): Use `ldap/field-body'.
8609
8610 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8611
8612         * pldap.el (ldap-default-attribute-encoder): New user option.
8613         (ldap/field-body): Decode base64 string.
8614         (ldap/collect-field): Ditto.
8615         (ldap-encode-attribute): New function.
8616         (ldap-add-entries): Use it.
8617         (ldap-modify-entries): Ditto.
8618         (ldap-search-entries): Enclosed decoding function with
8619         `with-temp-buffer' and set as unibyte.
8620         (ldap-search-basic): Set process buffer as unibyte.
8621
8622         * elmo-util.el (elmo-folder-identical-system-p):
8623         Eliminated name space checking.
8624
8625         * pldap.el: New module.
8626         toplevel: Changed condition to detect built-in ldap feature.
8627         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8628         (ldap-add): Added error handling.
8629         (ldap-modify): Ditto.
8630         (ldap-delete): Ditto.
8631
8632 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8633
8634         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8635         Initialize local variables with `let'.  Inline a temporary
8636         variable for the progress percentage.  Sort `setq' to reduce
8637         function call in the while-loop.
8638
8639         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8640         into the conditional branch.
8641
8642 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8643
8644         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8645         Move a conditional out of the while-loop.
8646
8647 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8648
8649         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8650         elmo-msgdb-overview-get-entity-by-number.
8651         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8652         throw.
8653
8654 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8655
8656         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8657         the local variable for a packed number self descriptively.
8658
8659 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8660
8661         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8662         * elmo-localdir.el (elmo-localdir-pack-number): Use
8663         `elmo-msgdb-overview-get-entity' instead of
8664         `elmo-msgdb-overview-get-entity-by-number'.
8665         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8666         (elmo-msgdb-search-overview-entity): Removed.
8667         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8668         by message-id or number.
8669         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8670         instead of `elmo-msgdb-overview-get-entity-by-number'.
8671
8672 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8673
8674         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8675         non-nil, use hash table for overview.
8676         (elmo-hash-maximum-size): New variable.
8677         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8678         (elmo-msgdb-make-overview-hashtb): New function.
8679         (elmo-msgdb-clear-overview-hashtb): New function.
8680         (elmo-clear-hash-val): New macro.
8681         All other related modules are changed.
8682
8683 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8684
8685         * elmo2.el (elmo-move-msgs): If there's other message with
8686         same message-id, don't use cache.
8687
8688 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8689
8690         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8691         number is already packed.
8692
8693 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8694
8695         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8696
8697 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8698
8699         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8700         All other related modules are changed.
8701
8702 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8703
8704         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8705         of refiling failure on Maildir.
8706
8707 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8708
8709         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8710         decoded mime-charset with cache.
8711         (elmo-msgdb-overview-entity-get-from): Ditto.
8712         (elmo-msgdb-overview-entity-get-subject): Ditto.
8713         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8714
8715 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8716
8717         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8718         (elmo-remove-passwd): Fill password with 0 before erase.
8719         * elmo-vars.el (elmo-passwd-life-time): New variable.
8720
8721 \f
8722 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8723
8724         * elmo-cache.el (elmo-buffer-cache-add):
8725         Set message cache buffer as unibyte.
8726
8727 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8728
8729         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8730         become nil.
8731
8732 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8733
8734         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8735         when display is finished.
8736         (elmo-nntp-msgdb-create): Ditto.
8737         (elmo-nntp-groups-read-response): Ditto.
8738         (elmo-nntp-retrieve-headers): Ditto.
8739         (elmo-nntp-msgdb-create-message): Ditto.
8740         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8741         (elmo-pop3-msgdb-create-message): Ditto.
8742
8743 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8744
8745         * elmo-maildir.el (elmo-maildir-msgdb-create):
8746         Use `elmo-msgdb-sort-by-date'.
8747
8748 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8749
8750         * elmo2.el (elmo-read-msg-no-cache):
8751         Eliminated arguments after `outbuf'.
8752         Don't use cache even if it exists.
8753         (elmo-read-msg): Don't pass arguments after `outbuf' to
8754         `elmo-read-msg-no-cache'.
8755
8756 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8757
8758         * elmo-archive.el (elmo-archive-list-folders):
8759         Use `file-name-directory' if base folder does not exist.
8760
8761 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8762
8763         * elmo-archive.el (elmo-archive-list-folders): Don't use
8764         `file-name-directory'.
8765
8766 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8767
8768         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8769         If `force' is non-nil, try flushing all operation queues.
8770
8771 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8772
8773         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8774         as-binary-process.
8775
8776 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8777
8778         * elmo-util.el (elmo-display-progress): Fixed.
8779
8780 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8781
8782         * elmo-util.el (elmo-display-progress): New function.
8783         All other related modules are changed.