(modb-entity-extract-ml-info-from-mailman): New
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
4         function.
5         (modb-entity-extract-mailing-list-info-functions): Added it.
6
7 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8
9         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
10         when number and message-id are non-nil.
11
12         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
13
14         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
15         conditional steatment.
16         (elmo-pop3-auth-apop): Likewise.
17         (elmo-network-authenticate-session): Likewise.
18
19 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
22         symbol `fill-column'.
23         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
24         decode field value.
25
26         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
27         (elmo-decoded-field-body): Ditto.
28
29 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
30
31         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
32         `tokens' to `params'.
33
34 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
35
36         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
37         working buffer.
38
39 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
40
41         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
42         decide index.
43
44 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
45
46         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
47         Set default value as nil.
48         (toplevel): Register search engines by
49         `elmo-search-register-engine' if there are not defined.
50
51         * elmo.el (autoload): Added autoload setting for
52         `elmo-search-register-engine'.
53
54 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
55
56         * elmo.el (toplevel): `[' is redefined as the prefix of the search
57         folder instead of nmz folder.
58         (elmo-nmz-default-index-path): Added obsolete variable setting.
59         (elmo-nmz-index-alias-alist): Ditto.
60         (elmo-nmz-use-drive-letter): Ditto.
61
62         * elmo-search.el (elmo-search-register-engine): New function.
63
64         * elmo-nmz.el: Removed.
65
66         * elmo-version.el (elmo-version): Up to 2.15.2.
67
68 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
69
70         * elmo-search.el: New file.
71
72 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
73
74         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
75         condition `larger' and `smaller'.
76
77 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
78
79         * elmo-util.el (elmo-safe-filename): Rewrite to replace
80         `"' (double quote) into "_Q_".
81
82 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
83
84         * elmo-net.el (elmo-net-quote-chars): Abolish.
85         (elmo-net-format-quoted): Ditto.
86
87 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
88
89         * elmo.el (elmo-get-folder-function): New variable.
90         (elmo-get-folder): New function.
91         (elmo-folder-rename): Call `elmo-make-folder' with specified
92         mime-charset.
93
94         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
95         `elmo-make-folder'.
96         (elmo-split-subr): Ditto.
97
98         * elmo-multi.el (elmo-folder-initialize): Ditto.
99
100         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
101
102         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
103         (elmo-flag-get-folder): Ditto.
104
105         * elmo-filter.el (elmo-folder-initialize): Ditto.
106
107         * elmo-access.el (elmo-folder-initialize): Ditto.
108         (elmo-access-folder-update-children): Ditto.
109
110         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
111         (elmo-dop-queue-flush): Ditto.
112         (elmo-folder-append-buffer-dop-delayed): Ditto.
113         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
114         mime-charset.
115
116         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
117         instead of `elmo-make-folder'.
118         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
119         destination folder instead of send `elmo-folder-rename-internal'.
120
121         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
122         slot of subfolder instead of create it.
123
124 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
125
126         * elmo-util.el (elmo-collect-separators): New function.
127         (elmo-collect-separators-internal): Ditto.
128         (elmo-collect-trail-separators): Ditto.
129         (elmo-parse-separated-tokens): Ditto.
130         (elmo-parse-separated-tokens-internal): Ditto.
131         (elmo-quote-syntactical-element): Ditto.
132
133         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
134         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
135
136         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
137         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
138         (elmo-nntp-folder-list-subfolders): Quote a user name.
139
140         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
141         (elmo-net-parse-network): Abolish.
142         (elmo-net-folder-set-parameters): New function.
143         (elmo-folder-initialize): Follow the above change.
144
145         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
146         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
147         (elmo-folder-list-subfolders): Use
148         `elmo-quote-syntactical-element' instead of
149         `elmo-net-format-quoted' to quote mailbox and user name.
150
151 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
152
153         * elmo-util.el (elmo-token-valid-p): New function.
154         (elmo-parse-token): Add optional argument `requirement'.
155         (elmo-parse-prefixed-element): Likewise.
156
157         * elmo-net.el (elmo-net-quote-chars): Renamed from
158         `elmo-net-quote-chars-regexp'.
159         (elmo-net-format-quoted): Add optional argument `extra-chars'.
160
161         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
162         by info document. Check token `uidl' is started an alphabet.
163
164         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
165         by info document. Check token `user' is started an alphabet.
166
167         * elmo-imap4.el (elmo-folder-initialize): Ditto.
168         (elmo-folder-list-subfolders): Quote user.
169
170 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
171
172         * elmo-util.el (elmo-quoted-specials-list): New constant.
173         (elmo-quoted-token): New function.
174
175         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
176         (elmo-net-format-quoted): New function.
177         (elmo-net-parse-network): Ditto.
178         (elmo-folder-initialize): Use it.
179
180         * elmo-nntp.el (elmo-folder-initialize): Use
181         `elmo-net-parse-network' to parse network specification instead of
182         `elmo-folder-initialize#elmo-net'.
183
184         * elmo-pop3.el (elmo-folder-initialize): Ditto.
185
186         * elmo-imap4.el (elmo-folder-initialize): Ditto.
187         (elmo-folder-list-subfolders): Quote folder name by
188         `elmo-net-format-quoted'.
189
190 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
191
192         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
193         (elmo-folder-search): Use it.
194
195 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * modb-standard.el (modb-standard-loaded-message-id): Use
198         `elmo-msgdb-message-entity-field'.
199
200 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
203         without filename.
204
205 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
206
207         * elmo-util.el (elmo-set-auto-coding): New function.
208         (elmo-object-load): Use it.
209
210 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
211
212         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
213         (elmo-time<): Define as alias of `elmo-time-less-p'.
214         (elmo-time-to-datevec): New function.
215
216         * elmo-date.el (elmo-time-to-days): New function.
217
218 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
219
220         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
221         is not cons cell.
222
223 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
226         parenthesis.
227
228         * elmo-util.el (elmo-map-recursive): New function.
229
230         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
231         (modb-entity-encode-string-recursive): Ditto.
232
233 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
234
235         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
236         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
237         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
238         compare sequence number when last modified time is nil.
239
240 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
241
242         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
243
244         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
245
246 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
247
248         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
249         modification time of the file.
250
251 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
252
253         * elmo-util.el (elmo-condition-optimize): Discriminated against
254         preserved fields, extra fields and the other weight.
255
256 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
257
258         * modb-entity.el (initialize-instance): Define.
259         (modb-entity-handler-mime-charset): New internal function.
260         (modb-standard-entity-set-field): Use it.
261         (elmo-msgdb-message-entity-field): Ditto.
262         (elmo-msgdb-message-entity-field): Ditto.
263
264         * modb.el (elmo-msgdb-match-condition): Rewrite with
265         `elmo-condition-match'.
266         (elmo-msgdb-match-condition-primitive): New function.
267
268         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
269         arguments `flags' and `numbers'.
270         (elmo-msgdb-match-condition-primitive): Abolished (merged to
271         `elmo-msgdb-message-match-condition').
272         (modb-buffer-entity-handler): New class.
273
274         * elmo.el (elmo-folder-search): Optimize condition to use
275         `elmo-condition-optimize'.
276         (elmo-message-buffer-match-condition): New function.
277         (elmo-message-match-condition): Use
278         `elmo-message-buffer-match-condition' instead of
279         `elmo-buffer-field-condition-match'.
280
281         * elmo-util.el (elmo-condition-match): New function.
282         (elmo-condition-optimize): Ditto.
283         (elmo-buffer-field-primitive-condition-match): Abolish.
284         (elmo-buffer-field-condition-match): Ditto.
285
286         * elmo-archive.el (elmo-archive-field-condition-match): Use
287         `elmo-message-buffer-match-condition' instead of
288         `elmo-buffer-field-condition-match'.
289
290 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elmo-flag.el (elmo-global-flags-initialize): Check the
293         existence of the flag directory.
294
295 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
296
297         * elmo-access.el (elmo-folder-initialize): Call
298         `elmo-multi-connect-signals'.
299
300         * elmo-pipe.el (elmo-folder-close): Define.
301
302         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
303         children folders.
304
305         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
306         with target folder.
307
308         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
309         `number'.
310
311         * elmo-multi.el (elmo-message-entity): Don't use return value of
312         `elmo-message-entity-set-number'.
313
314 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
315
316         * modb.el (modb-generic): Added slot `mime-charset'.
317
318         * modb-standard.el (modb-standard): Added slot `overview-handler'.
319         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
320         and `modb-entity-handler-dump-parameters'.
321         (modb-standard-default-entity-handler): Abolish.
322         (elmo-msgdb-message-entity-handler): Save created handler by
323         instance slot.
324
325         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
326         (modb-entity-handler-list-parameters): New method.
327         (modb-entity-handler-equal-p): New function.
328         (modb-entity-handler-dump-parameters): Ditto.
329         (modb-entity-parse-address-string): Encode return value.
330         (modb-entity-make-address-string): Decode argument value.
331         (modb-entity-decode-string-recursive): New function.
332         (modb-entity-encode-string-recursive): Ditto.
333         (modb-standard-entity-normalizer): Set to encode field value.
334         (modb-standard-entity-specializer): Follow the above change.
335         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
336         mime-charset of handler.
337         (elmo-msgdb-message-entity-field): Ditto.
338         (elmo-msgdb-copy-message-entity): Fixed reference to internal
339         structure.
340         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
341
342         * elmo.el (elmo-folder): Added slot `mime-charset'.
343         (elmo-make-folder): Added argument `mime-charset'.
344         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
345         `mime-charest'.
346
347         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
348         (elmo-make-msgdb): Likewise.
349
350         * elmo-internal.el (elmo-internal-folder-initialize): Call
351         `luna-make-entity' with :mime-charset parameter.
352
353 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
354
355         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
356         encoded words in `from' and `subject' field.
357
358 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
359
360         * modb.el (elmo-msgdb-message-field): Add argument `type'.
361         (elmo-msgdb-match-condition): Get handler from entity instead of
362         msgdb.
363
364         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
365         (modb-standard-load-entity): Treat new file format.
366         (modb-standard-save-entity-1): Save as new file format.
367         (modb-standard-save-entity): Split messages into section here.
368         (elmo-msgdb-message-field): Follow the API change.
369         (modb-standard-default-entity-handler): New internal variable.
370         (elmo-msgdb-message-entity-handler): Define.
371
372         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
373         to `elmo-vars.el'.
374         (modb-entity-field-extractor-alist): New user option.
375         (elmo-msgdb-message-entity-field): Removed argument `decode' and
376         added argument `type'.
377         (elmo-msgdb-copy-message-entity): Add optional argument
378         `make-handler'.
379         (modb-set-field-converter): New function.
380         (modb-convert-field-value): Ditto.
381         (modb-entity-string-decoder): Ditto.
382         (modb-entity-string-encoder): Ditto.
383         (modb-entity-parse-date-string): Ditto.
384         (modb-entity-make-date-string): Ditto.
385         (modb-entity-mime-decoder): Ditto.
386         (modb-entity-mime-encoder): Ditto.
387         (modb-entity-address-list-decoder): Ditto.
388         (modb-entity-address-list-encoder): Ditto.
389         (modb-entity-parse-address-string): Ditto.
390         (modb-entity-make-address-string): Ditto.
391         (modb-entity-create-field-indices): Ditto.
392         (modb-legacy-entity-field-slots): New constant.
393         (modb-legacy-entity-field-indices): Ditto.
394         (modb-legacy-entity-normalizer): New variable.
395         (modb-legacy-entity-specializer): Ditto.
396         (modb-legacy-entity-field-index): New macro.
397         (modb-legacy-entity-set-field): New function.
398         (modb-legacy-make-message-entity): Rewrite.
399         (elmo-msgdb-create-message-entity-from-buffer): Use
400         `elmo-msgdb-get-references-from-buffer'. Use
401         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
402         Use `modb-legacy-entity-set-field' instead of
403         `elmo-msgdb-message-entity-set-field'.
404         (elmo-msgdb-message-entity-field): Rewrite.
405         (elmo-msgdb-message-entity-set-field): Ditto.
406         (elmo-msgdb-copy-message-entity): Make new entity by
407         `make-handler' if it specified.
408         (elmo-msgdb-message-match-condition): Define a method of
409         `modb-entity-handler' and follow the API change.
410         (modb-standard-entity-handler): New class.
411         (modb-entity-extract-ml-info-from-x-sequence): New function.
412         (modb-entity-extract-ml-info-from-subject): Ditto.
413         (modb-entity-extract-ml-info-from-return-path): Ditto.
414         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
415         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
416         (modb-entity-extract-mailing-list-info): Ditto.
417         (modb-entity-extract-mailing-list-info-functions): New variable.
418
419         * elmo.el (elmo-message-field): Add optional argument `type'.
420
421         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
422         from `modb-entity.el'.
423
424         * elmo-util.el (elmo-object-load): Decode by coding-system from
425         `set-auto-coding-function'.
426         (elmo-object-save): Use `detect-mime-charset-region' and add
427         coding cookie if encode.
428         (elmo-msgdb-get-references-from-buffer): New function.
429         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
430
431         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
432
433         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
434         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
435         instead of `shimbun-make-header' and follow the API change.
436         (elmo-shimbun-update-overview): Follow the API change.
437         (elmo-map-folder-list-message-locations): Ditto.
438
439         * elmo-pipe.el (elmo-message-field): Ditto.
440
441         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
442         Ditto.
443
444         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
445
446         * elmo-multi.el (elmo-message-field): Ditto.
447
448         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
449         (elmo-msgdb-sort-by-date): Ditto.
450         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
451         `elmo-message-entity-field'.
452         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
453         change.
454         (elmo-msgdb-overview-entity-get-from): Ditto.
455         (elmo-msgdb-overview-entity-get-subject): Ditto.
456         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
457         (elmo-msgdb-overview-entity-get-date): Ditto.
458         (elmo-msgdb-overview-entity-get-to): Ditto.
459         (elmo-msgdb-overview-entity-get-cc): Ditto.
460
461         * elmo-mime.el (elmo-message-mime-entity): Ditto.
462         (elmo-mime-collect-message/partial-pieces): Ditto.
463
464         * elmo-filter.el (elmo-message-field): Ditto.
465
466         * elmo-date.el (elmo-datevec-to-time): New function.
467         (elmo-time-parse-date-string): Ditto.
468         (elmo-time-make-date-string): Ditto.
469         (elmo-time<): Ditto.
470
471         * elmo-version.el (elmo-version): Up to 2.15.1.
472
473 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
474
475         * elmo-flag.el (elmo-global-flags-initialize): Don't include
476         member of elmo-local-flags.
477
478 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
479
480         * elmo-version.el (elmo-version): Up to 2.15.0.
481
482 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
483
484         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
485         `ignore-msgdb' is non-nil.
486
487 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
488
489         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
490         (elmo-condition-in-msgdb-p): Ditto.
491         (elmo-file-field-primitive-condition-match): Ditto.
492         (elmo-file-field-condition-match): Ditto.
493
494         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
495
496 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
497
498         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
499         subdirectories here.
500         (elmo-global-flags-initialize): New function.
501
502         * elmo.el (toplevel): Added autoload setting for
503         `elmo-global-flags-initialize'.
504
505 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
506
507         * elmo.el (message-number-changed): Define new signal.
508         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
509         message-number-changed signal.
510         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
511         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
512         Respect `elmo-pack-number-check-strict'.
513
514 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
515
516         * elmo-signal.el (elmo-connect-signal): Document.
517         (elmo-emit-signal): Ditto.
518         (elmo-emit-signal): It should pass source argument to filter and
519         handler, not slot-source.
520
521 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
522
523         * modb.el (elmo-msgdb-update-entity): New API and define generic
524         implement.
525
526         * modb-standard.el (elmo-msgdb-update-entity): Define.
527
528         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
529         API and define generic implement.
530
531         * elmo.el (update-overview): New singnal.
532
533         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
534         `elmo-msgdb-update-entity' and emit signal `update-overview'.
535         (elmo-message-entity-parent): Define.
536
537         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
538         `update-overview'.
539
540         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
541
542         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
543
544 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
545
546         * elmo.el (elmo-folder-synchronize): Sort the return value of
547         `elmo-list-diff'.
548
549         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
550         list.
551
552 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
553
554         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
555         `default-enable-multibyte-characters'.
556         (elmo-object-load): Use `with-temp-buffer' instead of
557         `elmo-set-work-buf'.
558         (elmo-object-save): Ditto.
559         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
560         `elmo-set-work-buf'.
561         (elmo-decoded-field-body): Ditto.
562
563         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
564
565         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
566         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
567
568         * elmo-version.el (elmo-version): Up to 2.13.3.
569
570 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
571
572         * elmo-util.el (elmo-list-diff): Fix the last change.
573         Reverse order of result lists.
574
575 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
576
577         * modb-standard.el (elmo-msgdb-set-flag): Use
578         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
579         (elmo-msgdb-unset-flag): Ditto.
580
581         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
582         `elmo-list-diff'.
583
584         * elmo-util.el (elmo-list-diff): Rewrite.
585         (elmo-list-diff-nonsortable): New function.
586
587 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
588
589         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
590         `elmo-multibypte-buffer-name'.  All referers are updated.
591
592 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
593
594         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
595         (elmo-mime-entity-fragment-p): New function.
596         (mime-elmo-buffer-entity): Added slot `reassembled'.
597         (elmo-message-mime-entity): Added 4th argument `reassemble'.
598         (elmo-message-mime-entity-internal): New function (renamed from
599         `elmo-message-mime-entity').
600         (elmo-mime-inherit-field-list-from-enclosed): New constant.
601         (elmo-mime-make-reassembled-mime-entity): New function.
602         (elmo-message-reassembled-mime-entity): Ditto.
603         (elmo-mime-collect-message/partial-pieces): Ditto.
604
605 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
606
607         * elmo.el (elmo-message-fetch-string): Disable multibyte.
608
609         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
610         (elmo-with-enable-multibyte): New macro.
611
612         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
613
614 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
615
616         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
617         argument `number'.
618         (elmo-filter-connect-signals): Follow the above change.
619
620 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
621
622         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
623
624         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
625         that only the first flag is used.
626
627 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
628
629         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
630         if available.
631
632 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
633
634         * elmo-signal.el: New file.
635
636         * elmo.el (toplevel): Require elmo-signal.
637         (flag-changing, flag-changed, cache-changed): New signal.
638         (elmo-folder): Remove slog `handlers'.
639         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
640         `elmo-folder-notify-event'.
641         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
642         (elmo-folder-unset-flag): Ditto.
643         (elmo-event-handler): Abolish.
644         (elmo-event-handler-flag-changed): Ditto.
645         (elmo-event-handler-cache-changed): Ditto.
646         (elmo-folder-add-handler): Ditto.
647         (elmo-folder-remove-handler): Ditto.
648         (elmo-folder-notify-event): Ditto.
649
650         * elmo-pipe.el (toplevel): Require elmo-signal.
651         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
652         (elmo-pipe-connect-signals): New function.
653         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
654         (elmo-folder-set-flag): Ditto.
655         (elmo-folder-unset-flag): Ditto.
656         (elmo-message-set-cached): Ditto.
657
658         * elmo-multi.el (toplevel): Require elmo-signal.
659         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
660         (elmo-multi-connect-signals): New function.
661         (elmo-multi-map-numbers): Ditto.
662         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
663         (elmo-message-fetch): Ditto.
664         (elmo-folder-set-flag): Ditto.
665         (elmo-folder-unset-flag): Ditto.
666
667         * elmo-filter.el (toplevel): Require elmo-signal.
668         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
669         (elmo-filter-connect-signals): New function.
670         (elmo-filter-add-flag-count): Ditto.
671         (elmo-message-fetch): Does not call
672         `elmo-filter-folder-countup-message-flags' and
673         `elmo-folder-notify-event'.
674         (elmo-message-set-cached): Ditto.
675         (elmo-folder-set-flag): Ditto.
676         (elmo-folder-unset-flag): Ditto.
677
678         * elmo-version.el (elmo-version): Up to 2.13.2.
679
680 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
681
682         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
683         `flags'.
684
685 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
686
687         * elmo-filter.el (elmo-message-set-cached): Call
688         `elmo-folder-notify-event' with event `cache-changed'.
689
690         * elmo-multi.el (elmo-message-set-cached): Ditto.
691
692         * elmo-pipe.el (elmo-message-set-cached): Ditto.
693
694 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
695
696         * elmo.el (elmo-folder-encache): Abolish.
697
698 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
699
700         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
701         (elmo-folder-next-message-number-dop): Return appropriate negative
702         integer.
703
704 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
705
706         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
707         clearing pending operations.
708         (elmo-folder-next-message-number-dop): Return appropriate negative
709         integer.
710
711 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
712
713         * elmo.el (toplevel): Added autoload setting for `md5'.
714         (elmo-msgdb-path-encode-threshold): New user option.
715         (elmo-folder-msgdb-path): Encode msgdb path if its length is
716         longer than `elmo-msgdb-path-encode-threshold'.
717
718         * elmo-flag.el (elmo-global-mark-migrate): Use
719         `elmo-folder-expand-msgdb-path' instead of
720         `elmo-folder-msgdb-path'.
721
722 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
723
724         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
725         element of the difference is nil.
726
727 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
728
729         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
730         to the check logic of file systems which are weak in colon character.
731
732 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
733
734         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
735
736 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
737
738         * elmo-maildir.el (elmo-maildir-move-file): New function.
739         (elmo-folder-append-buffer): Use it.
740         (elmo-folder-append-messages): Ditto.
741         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
742
743         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
744         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
745
746         * elmo-maildir.el (elmo-maildir-separator): New user option.
747         (elmo-maildir-adjust-separator): New macro.
748         (elmo-maildir-list-location): Use it.
749         (elmo-maildir-update-current): Ditto.
750         (elmo-maildir-set-mark): Ditto.
751         (elmo-maildir-delete-mark): Ditto.
752         (These changes are based on Hiroya Murata's patch [wl: 13437])
753
754 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
755
756         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
757
758 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
759
760         * elmo-flag.el (elmo-flag-valid-p): Simplify.
761         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
762         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
763
764 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
765
766         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
767         Use `with-temp-buffer'.
768
769 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
770
771         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
772
773         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
774         `wl-read-search-condition').
775         (elmo-read-search-condition-internal): Likewise.
776
777         * elmo-flag.el (elmo-flag-char-regexp): New constant.
778         (elmo-flag-valid-p): New function.
779         (elmo-folder-initialize): Check flag name is valid.
780
781 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
782
783         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
784         delimiter to obtain root mailbox itself.
785
786 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
787
788         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
789         type mismatch.
790
791 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
792
793         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
794         as t.
795
796 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
797
798         * elmo-shimbun.el (toplevel): Require cl at compile.
799
800         * elmo-nntp.el (toplevel): Ditto.
801
802         * elmo-nmz.el (toplevel): Ditto.
803
804         * elmo-multi.el (toplevel): Ditto.
805
806         * elmo-file.el (toplevel): Ditto.
807
808         * elmo-dop.el (toplevel): Ditto.
809
810         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
811
812 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
813
814         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
815         as nil.
816
817         * elmo.el (elmo-message-fetch): Return t even when the output buffer
818         size of elmo-message-fetch-internal is 0 byte.
819
820 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
821
822         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
823
824 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
825
826         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
827         always plugged.
828
829 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
830
831         * elmo-maildir.el (elmo-map-message-fetch): Call
832         `elmo-map-folder-set-flag'.
833
834         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
835         (elmo-message-fetch): Merge from
836         `elmo-message-fetch-with-cache-process'.
837
838         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
839         (elmo-message-fetch): Define.
840
841         * elmo-nntp.el (elmo-message-fetch): Renamed from
842         `elmo-message-fetch-with-cache-process'.
843
844         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
845         (elmo-message-fetch): Define.
846
847         * elmo-util.el (elmo-condition-parse-primitive): Downcase
848         search-key.
849
850         * elmo-shimbun.el (shimbun-mua-search-id): Use
851         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
852         (elmo-shimbun-folder-shimbun-header): Ditto.
853         (elmo-shimbun-get-headers): Ditto.
854         (elmo-shimbun-update-overview): Ditto.
855
856         * elmo-pipe.el (elmo-folder-detach-messages): Define.
857
858         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
859         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
860
861 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
862
863         * elmo.el (elmo-message-fetch): Unset unread flag on server when
864         message is cached.
865         (elmo-message-fetch-string): Fixed argument.
866
867 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
868
869         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
870         exchange order of arguments `section' and `unread'.
871         (elmo-message-encache): Follow the API change.
872         (elmo-message-match-condition): Ditto.
873         (elmo-generic-folder-append-messages): Ditto.
874         (elmo-message-fetch-string): New function.
875
876         * elmo-split.el (elmo-split-subr): Ditto.
877
878         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
879
880         * elmo-pipe.el (elmo-message-fetch): Ditto.
881
882         * elmo-multi.el (elmo-message-fetch): Ditto.
883
884         * elmo-mime.el (elmo-message-mime-entity): Ditto.
885
886         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
887
888         * elmo-filter.el (elmo-message-fetch): Ditto.
889
890         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
891
892         * elmo-imap4.el (mime-imap-location-section-body): Use
893         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
894         follow the API change.
895
896 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * elmo-access.el: New file.
899
900         * elmo-null.el: Ditto.
901
902         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
903
904 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
905
906         * elmo-net.el (elmo-network-session-idle-timeout): New option.
907         (elmo-network-session): New attribute `last-accessed'.
908         (elmo-network-get-session): Discard network cache if elapsed time
909         since last-accessed is larger than elmo-network-session-idle-timeout.
910
911 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
912
913         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
914         and added `number', `require-entireness'.
915         (elmo-find-fetch-strategy): Rewrite.
916         (elmo-message-fetch): Unset `unread' flag when argument unread is
917         non-nil.
918
919         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
920
921         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
922         (elmo-message-fetch): Notify event `flag-changed'.
923
924         * elmo-pipe.el: Likewise.
925
926         * elmo-mime.el (elmo-mime-entity): New class.
927         (elmo-mime-entity-display-p): New generic function.
928         (elmo-mime-entity-display): Ditto.
929         (elmo-mime-entity-display-as-is): Ditto.
930         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
931         elmo-mime-entity.
932         (elmo-make-mime-message-location): Removed.
933         (elmo-mime-message-display): Ditto.
934         (elmo-mime-display-as-is): Ditto.
935         (elmo-message-mime-entity): New function.
936
937         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
938
939         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
940         change.
941         (elmo-message-fetch): Re-count flagged message number and notify
942         event `flag-changed'.
943
944         * elmo-version.el (elmo-version): Up to 2.13.1.
945
946 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
947
948         * elmo-filter.el (elmo-message-field): Define.
949         (elmo-message-set-field): Ditto.
950
951 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
952
953         * elmo.el (elmo-message-set-cached): Call
954         `elmo-folder-notify-event' with cache-changed.
955         (elmo-event-handler-cache-changed): New generic function.
956
957 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
958
959         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
960         instead of elmo-add-name-to-file.
961         (elmo-folder-append-messages): Ditto.
962
963 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
964
965         * elmo.el (elmo-folder-update-threshold): Add nil to range.
966
967 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
968
969         * elmo-version.el (elmo-version): Up to 2.13.0.
970
971         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
972         `auto'.
973
974         * modb-standard.el (modb-standard-economize-entity-size): Changed
975         default value to `t'.
976
977         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
978         `standard'.
979
980         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
981         after parsing greeting string.
982
983 2004-11-23  Daishi Kato <daishi@axlight.com>
984
985         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
986         New user option.
987         (elmo-spam-spamoracle-call): Use it.
988
989 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
990
991         * elmo.el (elmo-message-accessible-p): Message in dop spool
992         is accessible.
993
994 2004-11-23  Daishi Kato <daishi@axlight.com>
995
996         * elsp-spamoracle.el: New file.
997
998 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
999
1000         * elmo.el (elmo-message-flags-for-append): New function.
1001         (elmo-generic-folder-append-messages): Use it.
1002
1003         * elmo-split.el (elmo-split-subr): Ditto.
1004
1005         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1006         `flags' and use elmo-folder-append-buffer instead of
1007         write-region-as-binary.
1008         (elmo-dop-filter-pending-messages): New function.
1009         (elmo-folder-append-buffer-dop): Call
1010         elmo-dop-spool-folder-append-buffer with `flag'.
1011         (elmo-folder-set-flag-dop): Filter messages by
1012         elmo-dop-filter-pending-messages.
1013         (elmo-folder-unset-flag-dop): Ditto.
1014         (elmo-folder-append-buffer-dop-delayed): Use
1015         elmo-message-flags-for-append to get flags of the message and
1016         simplify.
1017
1018 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1019
1020         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1021
1022 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1023
1024         * elmo.el (elmo-folder): Added handlers slot.
1025         (elmo-event-handler): New class.
1026         (elmo-event-handler-flag-changed): New API.
1027         (elmo-folder-add-handler): New function.
1028         (elmo-folder-remove-handler): Ditto.
1029         (elmo-folder-notify-event): Ditto.
1030         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1031         `flag-changed'.
1032         (elmo-folder-unset-flag): Ditto.
1033
1034         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1035         (elmo-folder-unset-flag): Ditto.
1036
1037         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1038         (elmo-folder-unset-flag): Ditto.
1039
1040         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1041         (elmo-folder-unset-flag): Ditto.
1042
1043         * elmo-version.el (elmo-version): Up to 2.11.33.
1044
1045 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1046
1047         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1048
1049 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1050
1051         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1052
1053         * elmo-flag.el (elmo-folder-unset-flag): Define.
1054         (elmo-global-flag-detach): Do process when the flag is not target
1055         flag.
1056
1057 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1058
1059         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1060         variable.
1061         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1062
1063 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1066         function.
1067         (elmo-folder-delete-messages): Detach messages before delete
1068         messages from target folder.
1069         (elmo-folder-detach-messages): Set updated number-list to slot.
1070
1071 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1072
1073         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1074
1075 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1076
1077         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1078
1079 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1080
1081         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1082         internal use only).
1083         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1084         not modified.
1085         (elmo-folder-delete-messages): Define.
1086         (elmo-folder-move-messages): Don't call
1087         `elmo-folder-detach-messages'.
1088         (elmo-folder-synchronize): Rewrite.
1089         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1090
1091         * elmo-util.el (elmo-last): New function.
1092         (elmo-set-list): Ditto.
1093         (elmo-number-set-delete-list): Ditto.
1094         (elmo-number-set-delete): Ditto.
1095
1096         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1097
1098         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1099         `elmo-folder-delete-messages' and don't delete location map.
1100         (elmo-folder-detach-messages): Define.
1101
1102         * elmo-imap4.el (elmo-folder-delete): Use
1103         `elmo-folder-delete-messages-internal' instead of
1104         `elmo-folder-delete-messages'.
1105
1106         * elmo-filter.el (elmo-folder-delete-messages): Call
1107         `elmo-folder-detach-messages'.
1108         (elmo-folder-detach-messages): Don't call
1109         `elmo-folder-detach-messages' for target folder.
1110
1111         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1112         message deletion is succeeded.
1113
1114         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1115
1116         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1117         from `elmo-folder-delete-messages'.
1118
1119         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1120
1121         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1122
1123         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1124
1125         * elmo-version.el (elmo-version): Up to 2.11.32.
1126
1127 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1128
1129         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1130         (elmo-global-flag-list): Added obsolete variable setting.
1131
1132         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1133
1134         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1135         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1136         `elmo-mime-display-header-analysis' is nil.
1137
1138         * elmo-flag.el (elmo-global-flags): Renamed from
1139         `elmo-global-flag-list' (All other related portions are changed).
1140         (elmo-local-flags): New variable.
1141         (elmo-local-flag-p): New function.
1142         (elmo-global-flag-set-internal): Cause an error when flag is not
1143         global.
1144
1145 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1146
1147         * elmo-util.el (elmo-concat-path): Treat empty path.
1148
1149 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1150
1151         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1152         field-or-fields).
1153         (elmo-split-address-match): Ditto.
1154         (elmo-split-equal): Ditto.
1155         (elmo-split-match): Ditto.
1156
1157 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1158
1159         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1160         (elmo-generic-folder-append-messages): If src message exists but
1161         has no flag, pass (read) for the FLAG argument of
1162         `elmo-folder-append-buffer'. Otherwise, pass nil.
1163
1164         * elmo-split.el (elmo-split-subr): Likewise.
1165
1166         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1167
1168         * elmo-multi.el (elmo-message-flags): Ditto.
1169
1170         * elmo-filter.el (elmo-message-flags): Ditto.
1171
1172         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1173         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1174         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1175         
1176 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1177
1178         * elmo-split.el (elmo-split-rule): Update comment.
1179         (elmo-split-address-equal): Allow 2nd argument to be a list.
1180         (elmo-split-address-match): Ditto.
1181         (elmo-split-equal): Ditto.
1182         (elmo-split-match): Ditto.
1183
1184 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1185
1186         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1187         (elmo-folder-append-msgdb): Don't treat `read'.
1188         (elmo-message-flags): Don't return `read'.
1189
1190         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1191         (elmo-folder-unset-read-delayed): Ditto.
1192
1193         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1194
1195 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1196
1197         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1198         deletion.
1199
1200 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1201
1202         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1203         header.
1204
1205 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1206
1207         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1208         here.
1209         (elmo-msgdb-save): Bind inhibit-quit.
1210         (modb-standard-message-entity): Ditto.
1211
1212 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1213
1214         * elmo-database.el: No need to require elmo-msgdb.
1215
1216 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1217
1218         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1219         instead of `elmo-list-subdirectories'.
1220
1221 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1222
1223         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1224         group entry.
1225         (elmo-folder-exists-p): "[" is empty.
1226         (elmo-folder-list-subfolders): Define.
1227         (elmo-folder-have-subfolder-p): Ditto.
1228
1229 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1230
1231         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1232
1233 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1234
1235         * elmo-filter.el (elmo-folder-local-p): Define.
1236
1237 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1238
1239         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1240         when entity is garbaged.
1241         (modb-standard-save-entity-1): Don't modify the original entity.
1242
1243 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1244
1245         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1246
1247 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1248
1249         * elmo.el (elmo-strict-folder-diff): Use
1250         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1251
1252 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1253
1254         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1255         (elmo-msgdb-message-number): Ditto.
1256         (elmo-msgdb-message-field): Ditto.
1257
1258         * modb-standard.el (modb-standard-economize-entity-size): New user
1259         option.
1260         (modb-standard-loaded-message-id): New inline function.
1261         (modb-standard-load-entity): Use it.
1262         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1263         throw message-id string away.
1264         (elmo-msgdb-flag-available-p): Define.
1265         (elmo-msgdb-message-number): Ditto.
1266         (elmo-msgdb-message-field): Ditto.
1267
1268         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1269         (suppoted -> supported).
1270         (modb-legacy-supported-flag-p): Ditto.
1271         (elmo-msgdb-set-flag): Ditto.
1272         (elmo-msgdb-unset-flag): Ditto.
1273         (elmo-msgdb-flag-available-p): Define.
1274
1275         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1276         is `t', treat it as legacy entity.
1277         
1278         * elmo.el (elmo-message-flag-available-p): New generic function.
1279         (elmo-message-number): Ditto.
1280         (elmo-message-field): Use `elmo-msgdb-message-field'.
1281
1282         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1283
1284         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1285         (elmo-message-number): Ditto.
1286
1287         * elmo-multi.el (elmo-message-number): Define.
1288         (elmo-message-flag-available-p): Ditto.
1289
1290         * elmo-filter.el (elmo-message-flag-available-p): Define.
1291         (elmo-message-number): Ditto.
1292
1293         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1294         (elmo-folder-initialize): Load `max-number'.
1295         (elmo-folder-commit): Save it.
1296         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1297         (elmo-global-flag-set-internal): Set up max-number slot.
1298
1299 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1300
1301         * elmo-version.el (elmo-version): Up to 2.11.31.
1302
1303 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1304
1305         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1306         unibyte string of the current buffer for the argument of `md5'
1307         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1308
1309 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1310
1311         * modb-legacy.el (modb-legacy-flag-list): New constant.
1312         (modb-legacy-suppoted-flag-p): New internal function.
1313         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1314         (elmo-msgdb-unset-flag): Ditto.
1315
1316 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1317
1318         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1319
1320         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1321         from msgdb.
1322
1323 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1324
1325         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1326         (follow the API change).
1327
1328         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1329
1330 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1331
1332         * modb-standard.el (modb-standard-digest-flags): Abolish.
1333         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1334
1335         * elmo-vars.el (elmo-digest-flags): New variable.
1336         (elmo-preserved-flags): Moved from elmo-flag.el.
1337
1338         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1339         (elmo-imap4-flag-to-imap-criteria): Ditto.
1340         (elmo-imap4-folder-list-flagged): Use it.
1341
1342         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1343
1344         * elmo.el (elmo-folder-count-flags): Changed return value.
1345
1346         * elmo-flag.el (elmo-preserved-flags): New variable.
1347         (elmo-get-global-flags): Use it.
1348
1349         * modb-standard.el (modb-standard-digest-flags): New variable.
1350         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1351         Changed behavior of `any'.
1352
1353         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1354         which are defined the Internet draft
1355         (draft-melnikov-imap-keywords-03.txt).
1356         (elmo-imap4-flags-to-imap): New function.
1357         (elmo-folder-append-buffer): Use it.
1358
1359         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1360         in the docstring.
1361
1362         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1363         avoid the bug of Emacs 21.3.
1364
1365 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1366
1367         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1368         function find-coding-system does not exist.
1369
1370 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1371
1372         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1373         parsing.
1374
1375 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1376
1377         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1378         response codes.
1379
1380 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1381
1382         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1383         (elmo-network-close-session): Follow the changes in
1384         `elmo-pop3-read-response'.
1385         (elmo-pop3-auth-user): Ditto.
1386         (elmo-pop3-auth-apop): Ditto.
1387         (elmo-network-initialize-session): Ditto.
1388         (elmo-network-authenticate-session): Ditto.
1389         (elmo-network-setup-session): Ditto.
1390         (elmo-folder-status): Ditto.
1391         (elmo-message-fetch-plugged): Ditto.
1392         (elmo-pop3-delete-msg): Ditto.
1393
1394 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1395
1396         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1397         on failure.
1398
1399 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1400
1401         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1402         style.
1403         (elmo-bind-directory): Ditto.
1404
1405 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1406
1407         * elmo.el (elmo-folder-append-messages): Note on return value.
1408         * elmo-archive.el (elmo-folder-append-messages): Don't return
1409         message numbers which could not be appended.
1410
1411 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1412
1413         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1414
1415 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1416
1417         * elmo-version.el (elmo-version): Up to 2.11.30.
1418
1419 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1420
1421         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1422         `mask'.
1423
1424         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1425
1426         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1427         (elmo-multi-split-numbers): Add elmo-folder object into each
1428         element of return value at first.
1429         (elmo-folder-delete-messages): Follow the above change.
1430         (elmo-folder-detach-messages): Ditto.
1431
1432         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1433         number which is synchronized in target folder.
1434
1435 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1436
1437         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1438         Change default value to symbol `all'.
1439         (elmo-map-message-fetch): Change condition to update overview
1440         follow the above.
1441
1442 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1443
1444         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1445         behavior to update overview.
1446         (elmo-shimbun-update-overview-folder-list): Note it.
1447
1448 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1449
1450         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1451         recursive call.
1452
1453 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1454
1455         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1456         buffer-disable-undo, it is unnecessary.
1457         (elmo-spam-register-good-messages): Ditto.
1458
1459         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1460         Ditto.
1461
1462         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1463
1464 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1465
1466         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1467         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1468         elmo-set-buffer-multibyte.
1469         (elmo-object-load): Ditto.
1470         (elmo-save-buffer): Ditto.
1471         (elmo-delete-char): Ditto.
1472         (elmo-file-field-primitive-condition-match): Ditto.
1473         (elmo-mime-string): Ditto.
1474
1475         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1476         (elmo-archive-field-condition-match): Ditto.
1477
1478         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1479
1480         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1481
1482         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1483         (elmo-nntp-msgdb-create-message): Ditto.
1484
1485         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1486
1487         * elmo.el (elmo-message-match-condition): Ditto.
1488         (elmo-message-match-condition): Ditto.
1489
1490         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1491         Ditto.
1492
1493         * elmo-version.el (elmo-version): Up to 2.11.29.
1494
1495         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1496         (elsp-header): New backend.
1497
1498         * elmo-util.el (elmo-decoded-field-body): New function.
1499
1500 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1501
1502         * elmo-version.el (elmo-version): Up to 2.11.28.
1503
1504 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1505
1506         * elmo-filter.el: Rewrite.
1507
1508         * elmo-version.el (elmo-version): Up to 2.11.27.
1509
1510 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1511
1512         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1513         msgdb path for the localdir folder with absolute path.
1514
1515         * utf7.el: Synch up with latest gnus/utf7.el;
1516         Modified for latest Emacs.
1517
1518 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1519
1520         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1521         shimbun backend couldn't open.
1522
1523 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1524
1525         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1526         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1527         when a destination folder is a filter folder.
1528
1529 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1530
1531         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1532         (elmo-generic-folder-append-messages): Call elmo-message-flags
1533         with argument `msgid'.
1534
1535         * elmo-split.el (elmo-split-subr): Ditto.
1536
1537         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1538
1539         * elmo-multi.el (elmo-message-flags): Ditto.
1540
1541 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1542
1543         * elmo.el (elmo-folder): Add new slot `flag-table'.
1544         (elmo-folder-flag-table): New API.
1545         (elmo-folder-close-flag-table): Ditto.
1546         (elmo-folder-preserve-flags): New function.
1547         (elmo-generic-folder-append-messages): Use
1548         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1549         Flag of a non-registered message, it sets to nil.
1550         Does not set flag to flag-table.
1551
1552         * elmo-maildir.el (elmo-folder-append-buffer): Use
1553         `elmo-folder-preserve-flags'.
1554         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1555         `elmo-folder-close-flag-table'.
1556
1557         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1558         (elmo-archive-folder-append-buffer): Use
1559         `elmo-folder-preserve-flags'.
1560
1561         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1562
1563         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1564
1565         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1566         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1567         `elmo-folder-close-flag-table'.
1568
1569         * elmo-version.el (elmo-version): Up to 2.11.26.
1570
1571 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1572
1573         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1574
1575         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1576         md5's 4th and 5th argument (non-existent in flim one).
1577
1578 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1579
1580         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1581         message, It sets to nil.
1582
1583 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1584
1585         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1586         list is non-nil.
1587
1588 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1589
1590         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1591
1592         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1593
1594         * elmo-util.el (elmo-uniq-sorted-list): New function.
1595         (elmo-make-number-list): Ditto.
1596         (elmo-number-set-to-number-list): Use elmo-make-number-list
1597         and don't use nreverse.
1598
1599 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1600
1601         * elmo-version.el (elmo-version): Up to 2.11.25.
1602
1603 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1604
1605         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1606         field not exists in message, Use md5 message digest of header.
1607
1608 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1609
1610         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1611         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1612         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1613         * elmo-split.el (elmo-split-subr): Check return value of
1614         elmo-folder-append-buffer.
1615
1616         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1617         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1618
1619         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1620         message-id.
1621
1622 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1623
1624         * elmo-split.el (elmo-split-subr): Append message with flag.
1625
1626         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1627         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1628         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1629
1630 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1631
1632         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1633         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1634         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1635
1636 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1637
1638         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1639         with a function call of `process-buffer'.  All callers are updated.
1640         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1641         Remove redundant `set-buffer' in a while loop.
1642
1643 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1644
1645         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1646         calls.
1647
1648 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1649
1650         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1651         elsp-spamfilter-register-buffer-internal with current buffer.
1652         (elmo-spam-register-spam-buffer): Ditto.
1653         (elmo-spam-register-good-buffer): Ditto.
1654
1655 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1656
1657         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1658         if it is not contained in the response(A workaround for courier-imap).
1659
1660 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1661
1662         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1663         parenthesis.
1664
1665 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1666
1667         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1668         range.
1669
1670 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1673         of nconc.
1674
1675         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1676         argument handler.
1677         (elmo-msgdb-message-match-condition): Follow the change above.
1678
1679 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1680
1681         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1682         folder name.
1683
1684 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1685
1686         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1687
1688 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1689
1690         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1691
1692 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1693
1694         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1695         not found.
1696
1697 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1698
1699         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1700         value.
1701         (elmo-file-command-argument): Undo last change for cygwin.
1702         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1703         Don't return nil.
1704         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1705
1706 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1707
1708         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1709         value returned from elmo-file-find is nil.
1710
1711 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1712
1713         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1714         to elmo-vars.el.
1715
1716         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1717         instead of insert-file-contents-as-binary.
1718         (elmo-message-set-field): New generic function.
1719
1720         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1721         behavior change on `split-string'.
1722
1723         * elmo-file.el (elmo-file-find): New function.
1724         (elmo-file-command): New user option.
1725         (elmo-file-command-argument): Ditto.
1726         (elmo-file-fetch-max-size): Ditto.
1727         (elmo-file-detect-format): New function.
1728         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1729         Use elmo-file-detect-format.
1730         (elmo-map-folder-list-message-locations): Don't treat directories.
1731
1732 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1733
1734         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1735         (elmo-passwd-alist-clear): Shred password before clear.
1736         (elmo-remove-passwd): Remove all mached pair.
1737
1738 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1739
1740         * elmo.el (elmo-folder-synchronize): Fix description of the return
1741         value.
1742
1743 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1744
1745         * elmo.el (elmo-message-fetch-bodystructure): New method.
1746         (elmo-message-fetch-bodystructure): Define default.
1747
1748         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1749         elmo-message-fetch-bodystructure.
1750         (elmo-message-fetch-bodystructure): Define.
1751
1752         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1753
1754 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1755
1756         * elmo-filter.el (elmo-message-folder): Define.
1757
1758 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1759
1760         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1761         elmo-delete-cr-buffer.
1762
1763         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1764
1765         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1766
1767         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1768
1769         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1770         type seems to be a text.
1771
1772 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1773
1774         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1775         (elmo-spam-register-good-buffer): Ditto.
1776         (elmo-spam-spamassassin-register-messages): Ditto.
1777
1778         * elmo-util.el (elmo-string-member-ignore-case): Define with
1779         static-cond.
1780
1781 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1782
1783         * elmo.el (elmo-folder-type): Undo last change.
1784
1785         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1786
1787         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1788         warnings.
1789
1790         * elmo-file.el: New file.
1791         
1792         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1793
1794         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1795         variable.
1796         (elmo-spam-spamassassin-register-messages): New inline function.
1797         (elmo-spam-register-spam-messages): Define.
1798         (elmo-spam-register-good-messages): Ditto.
1799
1800         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1801         Fixed typo.
1802
1803         * elmo.el (toplevel): Added autoload setting for
1804         `elmo-get-global-flags'.
1805         (elmo-message-has-global-flag-p): New function.
1806         (elmo-message-set-global-flags): Ditto.
1807         (elmo-folder-type): Improvement for name: format.
1808
1809         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1810         availability of keyword flags.
1811         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1812         (elmo-folder-list-flagged-plugged): Renamed from
1813         elmo-folder-list-flagged-unplugged.
1814         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1815         accept any flag as keyword flag.
1816         (elmo-folder-set-flag-plugged): Accept keyword flags.
1817         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1818
1819         * elmo-flag.el (elmo-get-global-flags): New function.
1820
1821         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1822         folders.
1823
1824         * elmo-version.el (elmo-version): Up to 2.11.24.
1825
1826 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1827
1828         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1829         elmo-multiple-field-body instead of std11-field-body to check all
1830         headers.
1831
1832 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1833
1834         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1835         or "size".
1836
1837 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1838
1839         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1840         unintern is unbound.
1841
1842 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1843
1844         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1845         Protect from infinite loop.
1846
1847 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1848
1849         * elsp-bogofilter.el
1850         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1851         (elmo-spam-bogofilter-register-messages): New internal function.
1852         (elmo-spam-register-spam-messages): Define.
1853         (elmo-spam-register-good-messages): Ditto.
1854
1855 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1856
1857         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1858         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1859         (elmo-spam-bogofilter-call): Fixed the last change.
1860         (elmo-spam-bogofilter-arguments): Ditto.
1861
1862         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1863         Follow the options change of latest bogofilter.
1864
1865         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1866         (elmo-spam-bogofilter-good-switch): Ditto.
1867         (elmo-spam-bogofilter-arguments-alist): New user option.
1868         (elmo-spam-bogofilter-debug): Ditto.
1869         (elmo-spam-bogofilter-call): Renamed from
1870         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1871         is non-nil, insert output in buffer for debug.
1872         (elmo-spam-bogofilter-arguments): New macro.
1873         (elmo-spam-buffer-spam-p): Use it.
1874         (elsp-bogofilter-register-buffer): Ditto.
1875
1876 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1877
1878         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1879         regexp.
1880
1881 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1882
1883         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1884         value as "ruby".
1885         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1886         (elmo-spam-bsfilter-program): Set default value as full path for
1887         `bsfilter'.
1888         (elmo-spam-bsfilter-debug): New user option.
1889         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1890         non-nil, insert output in buffer for debug. Fix treating of
1891         argument.
1892
1893 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1894
1895         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1896         `elmo-maildir-flag-specs' element instead of one.
1897         (elmo-map-folder-unset-flag): Ditto.
1898         (Reported by Ken Makimura <macky@astem.or.jp>)
1899
1900         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1901         (elmo-folder-unset-flag-plugged): Ditto.
1902
1903 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1904
1905         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1906         to `reads' slot only if `in-msgdb' is nil.
1907
1908 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1909
1910         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1911         and complement argument list.
1912
1913 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1914
1915         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1916         instead of elmo-folder-list-flagged.
1917
1918 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1919
1920         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1921
1922         * elsp-bsfilter.el: New file.
1923
1924         * elmo-pipe.el (elmo-folder-list-unreads,
1925         elmo-folder-list-answereds,
1926         elmo-folder-list-importants,
1927         elmo-folder-flag-as-important,
1928         elmo-folder-unflag-important,
1929         elmo-folder-flag-as-read,
1930         elmo-folder-unflag-read,
1931         elmo-folder-flag-as-answered,
1932         elmo-folder-unflag-answered): Remove.
1933         (elmo-folder-set-flag): Define.
1934         (elmo-folder-unset-flag): Ditto.
1935
1936         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1937         (elmo-folder-set-flag): Define.
1938         (elmo-folder-unset-flag): Ditto.
1939         (elmo-folder-list-unreads): Remove.
1940         (elmo-folder-list-flagged): Define.
1941
1942         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1943         (elmo-folder-list-unreads,
1944         elmo-folder-list-importants,
1945         elmo-folder-list-answereds,
1946         elmo-folder-list-unreads-plugged,
1947         elmo-folder-list-importants-plugged,
1948         elmo-folder-list-answereds-plugged): Remove.
1949         (elmo-folder-list-flagged-plugged): New method.
1950         (elmo-folder-unflag-important,
1951         elmo-folder-flag-as-important,
1952         elmo-folder-unflag-read,
1953         elmo-folder-flag-as-read,
1954         elmo-folder-unflag-answered,
1955         elmo-folder-flag-as-answered,
1956         elmo-folder-flag-as-read-unplugged,
1957         elmo-folder-unflag-read-unplugged,
1958         elmo-folder-flag-as-important-unplugged,
1959         elmo-folder-unflag-important-unplugged,
1960         elmo-folder-flag-as-answered-unplugged,
1961         elmo-folder-unflag-answered-unplugged): Remove.
1962         (elmo-folder-set-flag): Define.
1963         (elmo-folder-unset-flag): Ditto.
1964         (elmo-folder-set-flag-unplugged): Ditto.
1965         (elmo-folder-unset-flag-unplugged): Ditto.
1966
1967         * elmo-multi.el (elmo-folder-list-unreads,
1968         elmo-folder-list-answereds,
1969         elmo-folder-list-importants,
1970         elmo-folder-flag-as-important,
1971         elmo-folder-unflag-important,
1972         elmo-folder-flag-as-read,
1973         elmo-folder-unflag-read,
1974         elmo-folder-flag-as-answered,
1975         elmo-folder-unflag-answered): Remove.
1976         (elmo-folder-set-flag): Define.
1977         (elmo-folder-unset-flag): Ditto.
1978
1979         * elmo-map.el (elmo-map-folder-unflag-important,
1980         elmo-map-folder-flag-as-important,
1981         elmo-map-folder-unflag-read,
1982         elmo-map-folder-flag-as-read,
1983         elmo-map-folder-unflag-answered,
1984         elmo-map-folder-flag-as-answered): Remove.
1985         (elmo-map-folder-set-flag): New method.
1986         (elmo-map-folder-unset-flag): Ditto.
1987         (elmo-map-folder-list-unreads,
1988         elmo-map-folder-list-importants,
1989         elmo-map-folder-list-answereds): Remove.
1990         (elmo-folder-list-flagged-internal): Define.
1991         (elmo-map-folder-list-flagged): New method.
1992
1993         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1994         (elmo-map-folder-list-unreads,
1995         elmo-map-folder-list-importants,
1996         elmo-map-folder-list-flagged): Remove.
1997         (elmo-map-folder-list-flagged): Define.
1998         (elmo-map-folder-flag-as-important,
1999         elmo-map-folder-unflag-important,
2000         elmo-map-folder-flag-as-read,
2001         elmo-map-folder-unflag-read,
2002         elmo-map-folder-flag-as-answered,
2003         elmo-map-folder-unflag-answered): Remove.
2004         (elmo-maildir-set-mark-messages): New internal function.
2005         (elmo-map-folder-set-flag): Define.
2006         (elmo-map-folder-unset-flag): Ditto.
2007
2008         * elmo.el (toplevel): Added autoload setting for
2009         `elmo-folder-list-global-flag-messages'.
2010         (elmo-folder-list-unreads,
2011         elmo-folder-list-importants,
2012         elmo-folder-list-answereds): Remove.
2013         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2014         Return a list whitch merged with messages have global flag.
2015         (elmo-folder-list-flagged-internal): New method.
2016         (elmo-folder-unflag-important,
2017         elmo-folder-flag-as-important,
2018         elmo-folder-unflag-read,
2019         elmo-folder-flag-as-read,
2020         elmo-folder-unflag-answered,
2021         elmo-folder-flag-as-answered): Remove.
2022         (elmo-folder-set-flag): New method.
2023         (elmo-folder-unset-flag): Ditto.
2024         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2025         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2026
2027         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2028         (elmo-folder-list-unreads-plugged,
2029         elmo-folder-list-importants-plugged,
2030         elmo-folder-list-answereds-plugged,
2031         elmo-folder-list-flagged-unplugged,
2032         elmo-folder-unflag-important-plugged,
2033         elmo-folder-flag-as-important-plugged,
2034         elmo-folder-unflag-read-plugged,
2035         elmo-folder-flag-as-read-plugged,
2036         elmo-folder-unflag-answered-plugged,
2037         elmo-folder-flag-as-answered-plugged): Remove.
2038         (elmo-folder-set-flag-plugged,
2039         elmo-folder-unset-flag-plugged): Define.
2040
2041         * elmo-flag.el (elmo-folder-initialize): Register to
2042         `elmo-global-flag-list' if flag is not global.
2043         (elmo-folder-append-messages): Set flag to source messages.
2044
2045         * elmo-filter.el (elmo-filter-folder-list-unreads,
2046         elmo-folder-list-unreads,
2047         elmo-filter-folder-list-importants,
2048         elmo-folder-list-importants,
2049         elmo-folder-flag-as-read,
2050         elmo-folder-unflag-read,
2051         elmo-folder-flag-as-important,
2052         elmo-folder-unflag-important,
2053         elmo-folder-flag-as-answered,
2054         elmo-folder-unflag-answered): Remove.
2055         (elmo-folder-set-flag): Define.
2056         (elmo-folder-unset-flag): Ditto.
2057
2058         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2059         elmo-folder-unflag-read-dop,
2060         elmo-folder-flag-as-important-dop,
2061         elmo-folder-unflag-important-dop,
2062         elmo-folder-flag-as-answered-dop,
2063         elmo-folder-unflag-answered-dop): Remove.
2064         (elmo-folder-set-flag-dop,
2065         elmo-folder-unset-flag-dop,
2066         elmo-folder-set-important-delayed,
2067         elmo-folder-unset-important-delayed,
2068         elmo-folder-set-read-delayed,
2069         elmo-folder-unset-read-delayed,
2070         elmo-folder-set-answered-delayed,
2071         elmo-folder-unset-answered-delayed): New function.
2072         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2073         (elmo-dop-queue-method-name-alist): Ditto.
2074
2075         * elmo-version.el (elmo-version): Up to 2.11.23.
2076
2077 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2078
2079         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2080
2081         * elsp-sa.el: New file.
2082
2083 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2084
2085         * modb-standard.el (modb-standard-message-entity): New function.
2086         (elmo-msgdb-message-entity): Use it.
2087
2088 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2089
2090         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2091         behavior when one-level is nil.
2092
2093         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2094
2095         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2096
2097 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2098
2099         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2100         get max number.
2101         (elmo-generic-folder-diff): Ditto.
2102
2103         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2104         (elmo-folder-update-number): Ditto.
2105
2106         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2107         (elmo-folder-next-message-number-dop): Ditto.
2108
2109 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2110
2111         * elmo-filter.el (elmo-folder-msgdb-create): Use
2112         `elmo-message-entity' and `elmo-message-flags' instead of
2113         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2114
2115 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2116
2117         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2118         `if-exists'.
2119
2120 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2121
2122         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2123
2124         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2125
2126         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2127
2128 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2129
2130         * elmo-version.el (elmo-version): Up to 2.11.22.
2131
2132 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2133
2134         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2135
2136 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2137
2138         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2139         if the message dose not exist.
2140
2141 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2142
2143         * elmo-version.el (elmo-version): Up to 2.11.21.
2144
2145 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * modb-standard.el (toplevel): Don't require mime.
2148
2149 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2150
2151         * elsp-bogofilter.el (toplevel): Don't require path-util.
2152         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2153         (elmo-spam-bogofilter-header): Abolish.
2154         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2155         (elmo-spam-bogofilter-args): New user option.
2156         (elsp-bogofilter-call-bogofilter): New internal function.
2157         (elmo-spam-buffer-spam-p): Use it.
2158         (elsp-bogofilter-register-buffer): Renamed from
2159         `elmo-spam-bogofilter-register-buffer';
2160         Use `elsp-bogofilter-call-bogofilter'.
2161         (elmo-spam-register-spam-buffer): Follow the change above.
2162         (elmo-spam-register-good-buffer): Ditto.
2163
2164 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2165
2166         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2167         message-id is nil do nothing.
2168
2169 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2170
2171         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2172         Revival.
2173         (elmo-imap4-session): Removed use-flag slot.
2174         (elmo-imap4-session-select-mailbox): Undo last change.
2175         (elmo-folder-use-flag-p): Use
2176         elmo-imap4-disuse-server-flag-mailbox-regexp.
2177
2178 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2179
2180         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2181         (elmo-imap4-session-select-mailbox): Set it up.
2182         (elmo-folder-use-flag-p): Return value of use-flag slot.
2183
2184 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2185
2186         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2187         message-id is nil.
2188         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2189
2190         * modb-entity.el (elmo-message-entity-handler): Likewise.
2191
2192 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2193
2194         * elmo.el (toplevel): Remove setting of autoloding for
2195         elmo-global-flag-initialize.
2196         (elmo-init): Don't call elmo-global-flag-initialize.
2197         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2198
2199         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2200         (elmo-global-mark-migrate): Don't call it.
2201         (elmo-global-mark-upgrade): Ditto.
2202
2203 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2204
2205         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2206         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2207
2208         * elmo-vars.el (elmo-init-hook): New user option.
2209
2210         * elmo.el (elmo-init): Run the elmo-init-hook.
2211
2212         * elmo-flag.el (elmo-global-mark-migrate): New function.
2213
2214 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2217         Undo last change (move to elmo-msgdb-unset-flag).
2218         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2219         flag is unset.
2220
2221 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2222
2223         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2224         read flag is set.
2225         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2226         (elmo-msgdb-unset-flag): Ditto.
2227
2228 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2229
2230         * elmo-split.el (elmo-split): Return split message count.
2231
2232 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2233
2234         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2235         is nil.
2236
2237 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2238
2239         * elmo.el (elmo-folder-unflag-important): Call
2240         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2241         a symbol `always'.
2242
2243         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2244         before unset flag.
2245         (elmo-global-flag-detach): Delete the message from flag folder, if
2246         `delete-if-none' is a symbol `always'.
2247
2248 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2249
2250         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2251         `elmo-spam-spamfilter-decode-buffer'.
2252         (elsp-spamfilter-register-buffer-internal): New internal function.
2253         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2254         (elmo-spam-register-spam-buffer): Ditto.
2255         (elmo-spam-register-good-buffer): Ditto.
2256
2257         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2258         change.
2259         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2260         (elmo-spam-register-spam-buffer): Follow the API change.
2261         (elmo-spam-register-good-buffer): Ditto.
2262
2263         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2264         (elmo-split-spam-p): Added argument plist; Call
2265         `elmo-spam-buffer-spam-p' with new argument register.
2266
2267         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2268         `register'.
2269         (elmo-spam-message-spam-p): Ditto.
2270         (elmo-spam-register-spam-buffer): Added optional argument
2271         `restore'.
2272         (elmo-spam-register-good-buffer): Ditto.
2273         (elmo-spam-register-spam-messages): Ditto.
2274         (elmo-spam-register-good-messages): Ditto.
2275
2276 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2277
2278         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2279         register into good corpus.
2280         (elmo-spam-register-good-buffer): Fixed to register into bad
2281         corpus.
2282
2283 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2284
2285         * elmo-version.el (elmo-version): Up to 2.11.20.
2286
2287         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2288         change.
2289
2290         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2291         flag without depending on \Recent flag.
2292
2293 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2294
2295         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2296         (elmo-spam-modified-p): Defined.
2297         (elmo-spam-save-status): Set `modified' slot to nil.
2298         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2299         (elmo-spam-register-good-buffer): Ditto.
2300
2301         * elmo-spam.el (elmo-spam-modified-p): New API.
2302
2303 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2304
2305         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2306         duplicate definition.
2307
2308         * elmo-util.el (elmo-unfold-field-body): New function.
2309         (elmo-msgdb-get-message-id-from-buffer): Use it.
2310
2311         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2312         Fixed the last change; Use elmo-unfold-field-body.
2313
2314 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2315
2316         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2317         Unfold date value.
2318
2319 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2320
2321         * elmo-spam.el (elmo-spam-save-status): New API.
2322
2323         * elsp-spamfilter.el: New file.
2324
2325 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2326
2327         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2328
2329 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2330
2331         * elmo-split.el (elmo-split-spam-p): New function.
2332
2333         * elmo-spam.el: New file.
2334
2335         * elsp-bogofilter.el: Ditto.
2336
2337 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2338
2339         * elmo.el (elmo-folder-next-message-number): New API.
2340         (elmo-folder-next-message-number): Define.
2341         (elmo-message-field): Don't check folder length.
2342
2343         * elmo-net.el (elmo-folder-next-message-number): Define.
2344         (elmo-folder-next-message-number-unplugged): Define.
2345
2346         * elmo-map.el (elmo-folder-next-message-number): Define.
2347         (elmo-folder-delete-messages): Clear hash value.
2348
2349         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2350
2351         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2352         (elmo-folder-delete-messages-dop-delayed): Always return t.
2353
2354         * elmo-version.el (elmo-version): Up to 2.11.19.
2355
2356 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2357
2358         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2359         change.
2360
2361         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2362         identical cons cell into the mark-alist and the hash table.
2363
2364 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2365
2366         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2367         elmo-folder-list-messages with argument `visible-only' as t.
2368
2369         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2370         (elmo-folder-msgdb-create): Check the target folder.
2371
2372 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2373
2374         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2375         `permanentflag' instead of `flags'.
2376         (elmo-folder-open): Ditto.
2377         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2378         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2379         (elmo-folder-use-flag-p): Always return t.
2380         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2381         `permanentflags' does not exist.
2382         (elmo-folder-open): Ditto.
2383
2384 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2385
2386         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2387         is nil.
2388         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2389
2390         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2391         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2392         response.
2393         (elmo-folder-open): Ditto.
2394         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2395         slot of the session includes the flag.
2396         (elmo-imap4-session-flag-available-p): New function.
2397         (elmo-imap4-folder-list-flagged): Ditto.
2398         (elmo-folder-list-unreads-plugged): Use it.
2399         (elmo-folder-list-importants-plugged): Ditto.
2400         (elmo-folder-list-answereds-plugged): Ditto.
2401         (elmo-imap4-search-internal-primitive): Ditto.
2402         (elmo-imap4-folder-list-any-plugged,
2403         elmo-imap4-folder-list-digest-plugged): Abolish.
2404
2405         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2406         if numbers is nil.
2407
2408 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2409
2410         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2411
2412 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2413
2414         * elmo-util.el (elmo-get-hash-val): Simplify.
2415         (elmo-set-hash-val): Rewrite.
2416
2417 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2418
2419         * elmo.el (elmo-folder-list-messages): Append killed messages into
2420         result if `visible-only' is nil and `in-msgdb' is non-nil.
2421
2422         * elmo-util.el (elmo-uniq-list): Added optional argument
2423         `delete-function'.
2424
2425         * modb.el (elmo-msgdb-flag-count): New API.
2426
2427         * modb-standard.el (modb-standard): Added slot flag-count.
2428         (modb-standard-countup-flags): New function.
2429         (modb-standard-load-flag): Call it.
2430         (elmo-msgdb-append): Ditto.
2431         (elmo-msgdb-clear): Clear slot flag-count.
2432         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2433         (elmo-msgdb-unset-flag): Treat `all' flag and call
2434         modb-standard-countup-flags.
2435         (elmo-msgdb-flag-count): Define.
2436         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2437         (elmo-msgdb-delete-messages): Ditto.
2438
2439         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2440         (elmo-msgdb-flag-count): Define.
2441
2442         * elmo.el (elmo-folder-list-messages): Undo last change.
2443         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2444         (elmo-folder-kill-messages): Unset all flags to numbers.
2445
2446         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2447         elmo-folder-kill-messages.
2448
2449         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2450         (elmo-nntp-folder-delete-messages): Abolish.
2451
2452         * elmo-version.el (elmo-version): Up to 2.11.18.
2453
2454 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2455
2456         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2457         (elmo-folder-kill-messages-range): New function.
2458         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2459         instead of elmo-folder-kill-messages-before.
2460
2461 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2462
2463         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2464         elmo-imap4-current-msgdb to decide entity handler.
2465
2466 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2467
2468         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2469
2470         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2471         inline function.
2472         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2473         (elmo-msgdb-overview-entity-set-number,
2474         elmo-msgdb-overview-entity-get-references,
2475         elmo-msgdb-overview-entity-set-references,
2476         elmo-msgdb-overview-entity-get-from-no-decode,
2477         elmo-msgdb-overview-entity-get-from,
2478         elmo-msgdb-overview-entity-set-from,
2479         elmo-msgdb-overview-entity-get-subject,
2480         elmo-msgdb-overview-entity-get-subject-no-decode,
2481         elmo-msgdb-overview-entity-set-subject,
2482         elmo-msgdb-overview-entity-get-date,
2483         elmo-msgdb-overview-entity-set-date,
2484         elmo-msgdb-overview-entity-get-to,
2485         elmo-msgdb-overview-entity-get-cc,
2486         elmo-msgdb-overview-entity-get-size,
2487         elmo-msgdb-overview-entity-set-size,
2488         elmo-msgdb-overview-entity-get-extra,
2489         elmo-msgdb-overview-entity-set-extra,
2490         elmo-msgdb-overview-entity-get-extra-field,
2491         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2492         (elmo-msgdb-make-index): Use
2493         `elmo-msgdb-overview-entity-get-number-internal'.
2494         (elmo-msgdb-clear-index): Ditto.
2495         (elmo-msgdb-append-entity): Ditto;
2496         Use `elmo-msgdb-overview-entity-get-id-internal'.
2497
2498         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2499         elmo-msgdb-overview-entity-set-number,
2500         elmo-msgdb-overview-entity-get-references,
2501         elmo-msgdb-overview-entity-set-references,
2502         elmo-msgdb-overview-entity-get-from-no-decode,
2503         elmo-msgdb-overview-entity-get-from,
2504         elmo-msgdb-overview-entity-set-from,
2505         elmo-msgdb-overview-entity-get-subject,
2506         elmo-msgdb-overview-entity-get-subject-no-decode,
2507         elmo-msgdb-overview-entity-set-subject,
2508         elmo-msgdb-overview-entity-get-date,
2509         elmo-msgdb-overview-entity-set-date,
2510         elmo-msgdb-overview-entity-get-to,
2511         elmo-msgdb-overview-entity-get-cc,
2512         elmo-msgdb-overview-entity-get-size,
2513         elmo-msgdb-overview-entity-set-size,
2514         elmo-msgdb-overview-entity-get-extra,
2515         elmo-msgdb-overview-entity-set-extra,
2516         elmo-msgdb-overview-entity-get-extra-field,
2517         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2518         and rewrote for backward compatibility.
2519
2520 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2521
2522         * elmo.el (elmo-message-entity-number,
2523         elmo-message-entity-set-number,
2524         elmo-message-entity-field,
2525         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2526
2527         * elmo-msgdb.el (elmo-message-entity-number,
2528         elmo-message-entity-set-number,
2529         elmo-message-entity-field,
2530         elmo-message-entity-set-field): Moved from elmo.el.
2531
2532 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2533
2534         * elmo.el (toplevel): Changed definition orders.
2535
2536 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2537
2538         * modb.el (elmo-msgdb-search): New API .
2539         (elmo-msgdb-match-condition): Ditto.
2540
2541         * modb-standard.el (elmo-msgdb-search): Define.
2542
2543         * modb-legacy.el (elmo-msgdb-search): Ditto.
2544
2545         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2546         from elmo-msgdb-match-condition-internal.
2547
2548         * elmo.el (elmo-folder-search-fast): Abolish.
2549         (elmo-folder-search): Use elmo-msgdb-search and
2550         elmo-with-progress-display.
2551
2552         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2553         as msgdb API.
2554
2555         * elmo.el (elmo-folder): Remove slot message-modified and
2556         flag-modified.
2557         (elmo-folder-set-message-modified): Abolish.
2558         (elmo-generic-folder-commit): Follow the change above.
2559         (elmo-folder-synchronize): Ditto.
2560
2561         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2562
2563         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2564
2565         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2566
2567 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2568
2569         * modb-standard.el (modb-standard-make-message-entity,
2570         elmo-msgdb-make-message-entity,
2571         elmo-msgdb-create-message-entity-from-buffer,
2572         elmo-msgdb-message-entity-number,
2573         elmo-msgdb-message-entity-set-number,
2574         elmo-msgdb-message-entity-field,
2575         elmo-msgdb-message-entity-set-field,
2576         elmo-msgdb-copy-message-entity,
2577         elmo-msgdb-match-condition-internal): Remove.
2578
2579         * modb-entity.el: New file (again).
2580
2581         * modb.el (toplevel): Require modb-entity.
2582         (elmo-msgdb-message-entity-handler): New method.
2583
2584         * modb-standard.el (modb-standard-entity-id): Use
2585         elmo-message-entity-handler.
2586         (modb-standard-load-entity): Ditto.
2587         (elmo-msgdb-append-entity): Ditto.
2588         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2589
2590         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2591         elmo-msgdb-decoded-cache-hashtb,
2592         (modb-legacy-make-message-entity,
2593         elmo-msgdb-make-message-entity,
2594         elmo-msgdb-create-message-entity-from-buffer,
2595         elmo-msgdb-message-entity-number,
2596         elmo-msgdb-message-entity-set-number,
2597         elmo-msgdb-message-entity-field,
2598         elmo-msgdb-message-entity-set-field,
2599         elmo-msgdb-copy-message-entity,
2600         elmo-msgdb-match-condition-internal,
2601         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2602
2603         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2604         (elmo-message-entity-set-number): Ditto.
2605         (elmo-message-entity-field): Ditto.
2606         (elmo-message-entity-set-field): Ditto.
2607
2608         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2609
2610         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2611
2612         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2613
2614         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2615         (elmo-nntp-msgdb-create-message): Ditto.
2616
2617         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2618         (elmo-folder-msgdb-create): Add unread flag.
2619
2620         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2621
2622         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2623
2624         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2625
2626         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2627
2628         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2629         elmo-msgdb-messge-entity-handler.
2630         * elmo-version.el (elmo-version): Up to 2.11.17.
2631
2632 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2633
2634         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2635         change.
2636
2637 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2638
2639         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2640
2641         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2642         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2643         (elmo-msgdb-flag-table): Ditto.
2644         (elmo-msgdb-sort-by-date): Ditto.
2645
2646         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2647
2648         * modb-standard.el (toplevel): Require mime.
2649         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2650         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2651         elmo-msgdb-message-entity-number.
2652         (elmo-msgdb-append-entity): Ditto.
2653         (elmo-msgdb-create-message-entity-from-file): Remove.
2654         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2655         corresponds to the entity.
2656         (elmo-msgdb-message-entity-number): Do nothing currently.
2657         (elmo-msgdb-message-entity-field): Ditto.
2658         (elmo-msgdb-message-entity-set-field): Ditto.
2659         (elmo-msgdb-copy-message-entity): Ditto.
2660         (elmo-msgdb-match-condition-internal): Ditto.
2661
2662         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2663         elmo-util.el.
2664         (elmo-msgdb-create-message-entity-from-file): Remove.
2665
2666         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2667         modb-legacy.el.
2668         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2669
2670         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2671
2672 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2673
2674         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2675         (elmo-msgdb-message-entity-field): Ditto.
2676         (elmo-msgdb-message-entity-number): Ditto.
2677
2678 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2679
2680         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2681         Fixed how to set extra field into entity.
2682         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2683         symbol.
2684
2685         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2686         Fixed how to set extra field into entity.
2687         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2688         symbol.
2689
2690 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2691
2692         * modb.el (elmo-message-entity-db): New function.
2693         (elmo-msgdb-make-message-entity): New API.
2694         (elmo-msgdb-message-entity-number): Ditto.
2695         (elmo-msgdb-message-entity-set-number): Ditto.
2696         (elmo-msgdb-message-entity-field): Ditto.
2697         (elmo-msgdb-message-entity-set-field): Ditto.
2698         (elmo-msgdb-copy-message-entity): Ditto.
2699         (elmo-msgdb-create-message-entity-from-file): Ditto.
2700         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2701         (elmo-msgdb-match-condition-internal): Ditto.
2702
2703         * modb-standard.el (modb-legacy): Require modb-legacy.
2704         (modb-standard-make-message-entity): New inline function.
2705         (elmo-msgdb-make-message-entity): Define.
2706         (elmo-msgdb-create-message-entity-from-file): Ditto.
2707         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2708         (elmo-msgdb-message-entity-field): Ditto.
2709         (elmo-msgdb-message-entity-set-field): Ditto.
2710         (elmo-msgdb-copy-message-entity): Ditto.
2711         (elmo-msgdb-match-condition-internal): Ditto.
2712
2713         * modb-legacy.el: Don't require modb-entity.
2714         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2715         (elmo-msgdb-match-condition-primitive): Ditto.
2716         (elmo-msgdb-get-decoded-cache): Ditto.
2717         (elmo-msgdb-overview-entity-get-id): Ditto.
2718         (elmo-msgdb-overview-entity-get-number): Ditto.
2719         (elmo-msgdb-overview-entity-set-number): Ditto.
2720         (elmo-msgdb-overview-entity-get-references): Ditto.
2721         (elmo-msgdb-overview-entity-set-references): Ditto.
2722         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2723         (elmo-msgdb-overview-entity-get-from): Ditto.
2724         (elmo-msgdb-overview-entity-set-from): Ditto.
2725         (elmo-msgdb-overview-entity-get-subject): Ditto.
2726         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2727         (elmo-msgdb-overview-entity-set-subject): Ditto.
2728         (elmo-msgdb-overview-entity-get-date): Ditto.
2729         (elmo-msgdb-overview-entity-set-date): Ditto.
2730         (elmo-msgdb-overview-entity-get-to): Ditto.
2731         (elmo-msgdb-overview-entity-get-cc): Ditto.
2732         (elmo-msgdb-overview-entity-get-size): Ditto.
2733         (elmo-msgdb-overview-entity-set-size): Ditto.
2734         (elmo-msgdb-overview-entity-get-extra): Ditto.
2735         (elmo-msgdb-overview-entity-set-extra): Ditto.
2736         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2737         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2738         (elmo-msgdb-number-load): Ditto.
2739         (elmo-msgdb-overview-load): Ditto.
2740         (elmo-msgdb-mark-load): Ditto.
2741         (elmo-msgdb-number-save): Ditto.
2742         (elmo-msgdb-mark-save): Ditto.
2743         (elmo-msgdb-overview-save): Ditto.
2744         (modb-legacy-make-message-entity): New inline function.
2745         (elmo-msgdb-insert-file-header): Ditto.
2746         (elmo-msgdb-make-message-entity): Define.
2747         (elmo-msgdb-create-message-entity-from-file): Ditto.
2748         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2749         (elmo-msgdb-message-entity-number): Ditto.
2750         (elmo-msgdb-message-entity-set-number): Ditto.
2751         (elmo-msgdb-message-entity-field): Ditto.
2752         (elmo-msgdb-message-entity-set-field): Ditto.
2753         (elmo-msgdb-copy-message-entity): Ditto.
2754         (elmo-msgdb-match-condition-internal): Ditto.
2755
2756         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2757         (elmo-message-copy-entity): Rewrite.
2758         (elmo-message-entity-number): Ditto.
2759         (elmo-message-entity-set-number): Ditto.
2760         (elmo-message-entity-field): Use elmo-message-entity-db.
2761         (elmo-message-entity-set-field): Ditto.
2762         (elmo-message-field): Rewrite.
2763
2764         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2765         elmo-msgdb.el
2766         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2767
2768         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2769         elmo-message-entity-field.
2770         (elmo-shimbun-folder-shimbun-header): Ditto.
2771         (elmo-shimbun-entity-to-header): Ditto.
2772         (elmo-folder-msgdb-create): Ditto.
2773         (elmo-shimbun-msgdb-create-entity): Ditto;
2774         Use elmo-msgdb-create-message-entity-from-buffer.
2775         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2776         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2777
2778         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2779         elmo-msgdb-create-message-entity-from-file and 
2780         elmo-message-entity-field.
2781
2782         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2783         elmo-message-entity-number.
2784         (elmo-pop3-msgdb-create-message): Use
2785         elmo-msgdb-create-message-entity-from-buffer,
2786         elmo-message-entity-set-field, elmo-message-entity-number and
2787         elmo-message-entity-set-number.
2788
2789         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2790         the API change in elmo-msgdb-make-message-entity.
2791         (elmo-nntp-msgdb-create-message): Use
2792         elmo-msgdb-create-message-entity-from-buffer.
2793
2794         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2795         elmo-message-entity-field and
2796         elmo-msgdb-create-message-entity-from-file.
2797
2798         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2799         (elmo-msgdb-get-field): Abolish.
2800         (elmo-msgdb-get-number): Rewrite.
2801         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2802         (elmo-msgdb-flag-table): Ditto.
2803         (elmo-msgdb-get-last-message-id,
2804         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2805         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2806         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2807         (elmo-msgdb-create-overview-from-buffer,
2808         elmo-msgdb-overview-get-parent-entity): Abolish.
2809
2810         * elmo-mime.el (elmo-mime-display-as-is): Use
2811         elmo-message-entity-field.
2812
2813         * elmo-map.el (elmo-folder-pack-numbers): Use
2814         elmo-message-entity-set-number.
2815
2816         * elmo-maildir.el (elmo-folder-msgdb-create): 
2817         elmo-msgdb-create-message-entity-from-file instead of
2818         elmo-msgdb-create-overview-entity-from-file.
2819
2820         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2821         msgdb.
2822         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2823         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2824
2825         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2826         elmo-messge-entity-field and elmo-message-entity-number.
2827         (elmo-imap4-fetch-callback-1): Call
2828         elmo-msgdb-create-message-entity-from-buffer instead of
2829         elmo-msgdb-create-overview-from-buffer. 
2830         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2831         (elmo-find-fetch-strategy): Likewise.
2832
2833         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2834         elmo-localdir-msgdb-create-entity with argument msgdb.
2835
2836         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2837         and elmo-message-entity-set-number.
2838
2839         * elmo-cache.el (elmo-folder-msgdb-create): Use
2840         elmo-message-entity-field.
2841         (elmo-folder-msgdb-create): Call
2842         elmo-msgdb-create-message-entity-from-file instead of
2843         elmo-msgdb-create-overview-entity-from-file.
2844
2845         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2846         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2847         instead of elmo-msgdb-create-overview-from-buffer.
2848         (elmo-archive-msgdb-create-entity): Ditto.
2849         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2850         elmo-message-entity-field.
2851         (elmo-archive-parse-mmdf): Ditto.
2852
2853         * modb-entity.el: Removed.
2854
2855         * elmo-version.el (elmo-version): Up to 2.11.16.
2856
2857 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2858
2859         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2860         `is-local'.
2861         (elmo-folder-flag-as-answered): Ditto.
2862
2863 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2864
2865         * modb-standard.el: New file.
2866
2867         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2868         elmo-msgdb-convert-type is `sync'.
2869
2870         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2871         (elmo-msgdb-convert-type): New user option.
2872
2873         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2874         (elmo-load-msgdb): Auto detect saved type.
2875
2876         * elmo-version.el (elmo-version): Up to 2.11.15.
2877
2878 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2879
2880         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2881
2882         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2883         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2884         with argument `delete-if-none' when dst-folder is 'null.
2885
2886         * elmo-flag.el (elmo-folder-append-messages): Defined.
2887         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2888
2889 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2890
2891         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2892
2893 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2894
2895         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2896         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2897         (elmo-folder-commit): Ditto.
2898
2899 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2900
2901         * elmo-flag.el: New file.
2902
2903         * elmo-mark.el: Removed.
2904
2905         * modb-legacy.el (modb-legacy-new-mark,
2906         modb-legacy-unread-uncached-mark,
2907         modb-legacy-unread-cached-mark,
2908         modb-legacy-read-uncached-mark,
2909         modb-legacy-answered-cached-mark,
2910         modb-legacy-answered-uncached-mark,
2911         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2912         All other related portions are changed.
2913
2914         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2915         (elmo-folder-list-messages-with-global-mark): Abolish.
2916         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2917         (elmo-folder-flag-as-important): Ditto.
2918         (elmo-folder-unflag-read): Ditto.
2919         (elmo-folder-flag-as-read): Ditto.
2920         (elmo-folder-unflag-answered): Ditto.
2921         (elmo-folder-flag-as-answered): Ditto.
2922         (elmo-message-encache): Return the cache path.
2923         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2924         (elmo-message-set-flag): Transitional implementation.
2925         (elmo-message-unset-flag): Ditto.
2926         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2927         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2928         (elmo-init): Call elmo-global-flag-initialize.
2929         (toplevel): Added autoload settings for elmo-flag.
2930
2931         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2932
2933         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2934         (elmo-file-cache-delete): Don't treat global-mark.
2935
2936         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2937
2938         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2939
2940         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2941         `elmo-global-flags-set'.
2942
2943         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2944         `flag'.
2945         (elmo-folder-unflag-read): Ditto.
2946         (elmo-folder-unflag-important): Ditto.
2947         (elmo-folder-flag-as-important): Ditto.
2948         (elmo-folder-unflag-answered): Ditto.
2949         (elmo-folder-flag-as-answered): Ditto.
2950
2951         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2952         `elmo-global-flags-set'.
2953         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2954
2955         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2956
2957         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2958         `flag'.
2959         (elmo-folder-flag-as-important): Ditto.
2960         (elmo-folder-unflag-important): Ditto.
2961         (elmo-folder-flag-as-important): Ditto.
2962         (elmo-folder-unflag-read): Ditto.
2963         (elmo-folder-flag-as-read): Ditto.
2964         (elmo-folder-unflag-answered): Ditto.
2965         (elmo-folder-flag-as-answered): Ditto.
2966
2967         * elmo-multi.el (elmo-folder-list-importants): Don't call
2968         elmo-folder-list-messages-with-global-mark.
2969         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2970         (elmo-folder-unflag-important): Ditto.
2971         (elmo-folder-flag-as-read): Ditto.
2972         (elmo-folder-unflag-read): Ditto.
2973         (elmo-folder-flag-as-answered): Ditto.
2974         (elmo-folder-unflag-answered): Ditto.
2975
2976         * elmo-msgdb.el (elmo-msgdb-new-mark,
2977         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2978         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2979         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2980         (Moved to modb-legacy.el).
2981         (elmo-flag-table-get): Treat important flag too.
2982
2983         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2984         `mark' to `flag'.
2985         (elmo-map-folder-flag-as-important): Ditto.
2986         (elmo-map-folder-unflag-read): Ditto.
2987         (elmo-map-folder-flag-as-read): Ditto.
2988         (elmo-map-folder-unflag-answered): Ditto.
2989         (elmo-map-folder-flag-as-answered): Ditto.
2990         (elmo-folder-unflag-important): Ditto.
2991         (elmo-folder-flag-as-important): Ditto.
2992         (elmo-folder-unflag-read): Ditto.
2993         (elmo-folder-flag-as-read): Ditto.
2994         (elmo-folder-unflag-answered): Ditto.
2995         (elmo-folder-flag-as-answered): Ditto.
2996
2997         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2998         (elmo-map-folder-flag-as-important): Renamed from `mark' to
2999         `flag'.
3000         (elmo-map-folder-unflag-important): Ditto.
3001         (elmo-map-folder-flag-as-read): Ditto.
3002         (elmo-map-folder-unflag-read): Ditto.
3003         (elmo-map-folder-flag-as-answered): Ditto.
3004         (elmo-map-folder-unflag-answered): Ditto.
3005
3006         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3007         `elmo-global-flags-set'.
3008         (elmo-global-flags-set): Added autoload setting.
3009
3010         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3011         `flag'.
3012
3013         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3014         `elmo-msgdb-global-mark-set'.
3015         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3016         Call `elmo-global-flags-set'.
3017         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3018         `flag'.
3019         (elmo-folder-flag-as-important-plugged): Ditto.
3020         (elmo-folder-unflag-read-plugged): Ditto.
3021         (elmo-folder-flag-as-read-plugged): Ditto.
3022         (elmo-folder-unflag-answered-plugged): Ditto.
3023         (elmo-folder-flag-as-answered-plugged): Ditto.
3024         (elmo-global-flags-set): Added autoload setting.
3025
3026         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3027         `flag'.
3028         (elmo-folder-unflag-read): Ditto.
3029         (elmo-folder-flag-as-important): Ditto.
3030         (elmo-folder-unflag-important): Ditto.
3031         (elmo-folder-flag-as-answered): Ditto.
3032         (elmo-folder-unflag-answered): Ditto.
3033
3034         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3035         change of `mark'->`flag'.
3036         (elmo-dop-queue-method-name-alist): Ditto.
3037         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3038         (elmo-folder-unflag-read-dop): Ditto.
3039         (elmo-folder-flag-as-important-dop): Ditto.
3040         (elmo-folder-unflag-important-dop): Ditto.
3041         (elmo-folder-flag-as-answered-dop): Ditto.
3042         (elmo-folder-unflag-answered-dop): Ditto.
3043
3044         * elmo-cache.el (elmo-folder-msgdb-create): Call
3045         `elmo-global-flags-set'.
3046
3047         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3048         Call `elmo-global-flags-set'.
3049         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3050         elmo-archive-parse-mmdf with argument `folder'.
3051         (elmo-archive-parse-mmdf): Added argument `folder';
3052         Call `elmo-global-flags-set'.
3053
3054         * elmo-version.el (elmo-version): Up to 2.11.14.
3055
3056 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3057
3058         * modb.el (elmo-msgdb-length): Define.
3059
3060         * elmo.el (elmo-make-folder): Fixed.
3061         (elmo-generic-folder-append-messages): Follow the API change.
3062
3063         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3064         API change.
3065
3066 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3067
3068         * modb.el: New file.
3069
3070         * modb-entity.el: Ditto.
3071
3072         * modb-legacy.el: Ditto.
3073
3074         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3075         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3076         of `elmo-msgdb-overview-get-entity'.
3077         (elmo-msgdb-get-field): Ditto.
3078         (elmo-msgdb-merge): Moved to `elmo.el'.
3079         (elmo-msgdb-length): Removed; redefine as modb method.
3080         (elmo-msgdb-change-mark): Abolish.
3081         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3082         (elmo-msgdb-match-condition): Don't use mark.
3083         (elmo-msgdb-overview-get-entity): Abolish.
3084         Split modb part into `modb*.el'.
3085
3086         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3087
3088         * elmo-shimbun.el (shimbun-mua-search-id): Use
3089         `elmo-msgdb-message-entity' instead of
3090         `elmo-msgdb-overview-get-entity'.
3091         (elmo-shimbun-folder-shimbun-header): Ditto.
3092         (elmo-shimbun-get-headers): Ditto.
3093         (elmo-shimbun-update-overview): Ditto.
3094
3095         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3096
3097         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3098
3099         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3100         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3101
3102         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3103         `elmo-msgdb-mark-to-flags'.
3104
3105         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3106         `elmo-msgdb-set-path'.
3107
3108         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3109  
3110         * elmo-version.el (elmo-version): Up to 2.11.13.
3111
3112         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3113
3114         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3115         of mark.
3116
3117 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3118
3119         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3120         mismatch.
3121
3122 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3123
3124         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3125         instead of `elmo-msgdb-get-cached'.
3126         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3127
3128         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3129         (elmo-msgdb-set-cached): Ditto.
3130         (elmo-msgdb-set-flag): Rewrite.
3131         (elmo-msgdb-unset-flag): Ditto.
3132
3133         * elmo-msgdb.el: Rewrite with luna.
3134
3135         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3136         (elmo-folder-msgdb): Follow the change above.
3137         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3138         (elmo-folder-unmark-important): Follow the API change.
3139         (elmo-folder-mark-as-important): Ditto.
3140         (elmo-folder-unmark-read): Ditto.
3141         (elmo-folder-mark-as-read): Ditto.
3142         (elmo-folder-unmark-answered): Ditto.
3143         (elmo-folder-mark-as-answered): Ditto.
3144         (elmo-folder-clear): Likewise.
3145
3146         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3147         instead of `elmo-msgdb-load' (renamed).
3148
3149         * elmo-version.el (elmo-version): Up to 2.11.12.
3150
3151 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3152
3153         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3154         change.
3155         (elmo-message-mark): Abolish.
3156         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3157         instead of `elmo-msgdb-change-mark'.
3158
3159         * elmo-pipe.el (elmo-message-mark): Abolish.
3160
3161         * elmo-multi.el (elmo-message-mark): Ditto.
3162
3163         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3164         (elmo-msgdb-unread-uncached-mark): Ditto.
3165         (elmo-msgdb-unread-cached-mark): Ditto.
3166         (elmo-msgdb-read-uncached-mark): Ditto.
3167         (elmo-msgdb-answered-cached-mark): Ditto.
3168         (elmo-msgdb-answered-uncached-mark): Ditto.
3169         (elmo-msgdb-important-mark): Ditto.
3170         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3171         `use-cache'.
3172         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3173         `flags'.
3174         (elmo-flag-table-load): Changed flag to list of flag.
3175         (elmo-flag-table-set): If flags is nil, set read flag.
3176         (elmo-flag-table-get): Return derived flags from global mark,
3177         cache status and saved flags.
3178         (elmo-msgdb-flag-table): Follow the change above.
3179         (elmo-msgdb-out-of-date-messages): New function.
3180
3181         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3182
3183         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3184
3185         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3186
3187         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3188         (elmo-nntp-msgdb-create-message): Ditto.
3189
3190         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3191
3192         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3193         independent.
3194         (elmo-folder-msgdb-create): Follow the API change.
3195
3196         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3197         (elmo-folder-append-messages): Ditto.
3198
3199         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3200         (elmo-folder-append-buffer): Ditto.
3201
3202         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3203
3204         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3205
3206         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3207         (elmo-archive-parse-mmdf): Ditto.
3208
3209         * elmo-version.el (elmo-version): Up to 2.11.11.
3210
3211 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3212
3213         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3214         `elmo-msgdb-mark'.
3215
3216         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3217
3218         * elmo-pipe.el (elmo-message-flags): Defined.
3219
3220         * elmo-multi.el (elmo-message-flags): Ditto.
3221
3222 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3223
3224         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3225         `elmo-msgdb-delete-msgs'.
3226
3227         * elmo.el (elmo-folder-count-flags): Don't use
3228         `elmo-msgdb-get-mark-alist'.
3229         (elmo-folder-detach-messages): Follow the API change.
3230
3231         * elmo.el (elmo-folder-list-messages): Append killed messages into
3232         result if `visible-only' is nil.
3233
3234         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3235         canceled messages.
3236         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3237         (elmo-folder-update-number): Likewise.
3238
3239         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3240         (elmo-pop3-sort-msgdb-by-original-number): Use
3241         `elmo-msgdb-sort-entities'.
3242
3243         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3244         (elmo-msgdb-sort-by-date): Use it.
3245         (elmo-msgdb-overview-sort-by-date): Abolish.
3246
3247         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3248
3249         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3250         (elmo-msgdb-flags): New function.
3251         (elmo-msgdb-merge): Use elmo-msgdb-append.
3252
3253         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3254         change.
3255
3256         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3257
3258         * elmo-dop.el (elmo-folder-status-dop): Use
3259         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3260
3261 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3262
3263         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3264
3265         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3266
3267         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3268
3269         * elmo-util.el (elmo-with-progress-display): New macro.
3270
3271         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3272
3273 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3274
3275         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3276         `elmo-folder-list-message-entities' instead of
3277         `elmo-msgdb-get-overview'.
3278         (elmo-map-folder-list-message-locations): Ditto.
3279
3280         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3281         methods instead of treat directly).
3282         (elmo-msgdb-clear): Ditto.
3283         (elmo-msgdb-delete-msgs): Ditto.
3284         (elmo-msgdb-sort-by-date): Ditto.
3285
3286         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3287         local variables.
3288         (elmo-nntp-folder-msgdb-create): Follow the API change.
3289
3290         * elmo-version.el (elmo-version): Up to 2.11.10.
3291
3292 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3293
3294         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3295         (elmo-msgdb-flags-to-mark): Ditto.
3296         (elmo-msgdb-append-entity): Ditto.
3297
3298         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3299         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3300         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3301         (elmo-archive-parse-mmdf): Ditto.
3302
3303         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3304
3305         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3306
3307         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3308
3309         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3310
3311         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3312
3313         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3314
3315         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3316
3317         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3318
3319         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3320         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3321         to empty msgdb.
3322
3323         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3324         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3325         instead of directly construction.
3326         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3327         instead of construct msgdb.
3328
3329         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3330         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3331         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3332         instead of construct msgdb.
3333
3334 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3335
3336         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3337         when field is from or subject.
3338
3339 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3340
3341         * elmo-multi.el (elmo-message-entity-parent): Define.
3342         (elmo-folder-search): Rewrite.
3343
3344 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3345
3346         * elmo-multi.el (elmo-message-cached-p): Define.
3347
3348         * elmo.el (elmo-message-cached-p): New method.
3349         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3350         (elmo-message-flags): New method.
3351         (elmo-message-flagged-p): New function.
3352
3353         * elmo-version.el (elmo-version): Up to 2.11.9.
3354
3355 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3356
3357         * elmo-version.el (elmo-version): Up to 2.11.8.
3358
3359         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3360
3361         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3362
3363 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3364
3365         * elmo.el (elmo-folder-detach-messages): Undo last change.
3366
3367 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3368
3369         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3370
3371         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3372         only when src folder type is pop3.
3373
3374 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3375
3376         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3377         elmo-msgdb-overview-entity-get-number instead of
3378         elmo-message-entity-number.
3379
3380 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3381
3382         * elmo-version.el (elmo-version): Up to 2.11.7.
3383
3384 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3385
3386         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3387         function.
3388
3389         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3390         (elmo-msgdb-merge): New function.
3391         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3392         (elmo-msgdb-make-index): Rewrite.
3393
3394         * elmo-version.el (elmo-version): Up to 2.11.6.
3395
3396         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3397         use it as a the path for loading message entities.
3398
3399         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3400
3401 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3402
3403         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3404         message-modified slot of itself if it does not require target msgdb.
3405
3406         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3407         if folder length is zero.
3408         (elmo-mime-display-as-is): Ditto.
3409
3410         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3411
3412         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3413
3414 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3415
3416         * elmo.el (elmo-folder-set-message-modified): New method.
3417         (elmo-generic-folder-commit): Use it.
3418         (elmo-folder-synchronize): Ditto.
3419
3420         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3421         (elmo-folder-commit): Remove duplicate definition.
3422
3423 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3424
3425         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3426
3427 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3428
3429         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3430         (elmo-strict-folder-diff): Ditto.
3431         (elmo-folder-set-info-max-by-numdb): Simplify.
3432
3433         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3434         elmo-msgdb-list-messages.
3435
3436         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3437         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3438
3439 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3440
3441         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3442         visible-only is non-nil.
3443         (elmo-folder-confirm-appends): Changed message.
3444         (elmo-folder-synchronize): Added argument disable-killed.
3445
3446         * elmo-multi.el (elmo-folder-synchronize): Added argument
3447         disable-killed.
3448
3449         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3450
3451         * elmo-version.el (elmo-version): Up to 2.11.5.
3452
3453         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3454         elmo-list-filter.
3455
3456         * elmo-util.el (elmo-list-filter): Simplify.
3457
3458         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3459         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3460         (elmo-generic-folder-diff): Abolish argument.
3461         (elmo-msgdb-load): Don't use number-alist.
3462
3463         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3464
3465         * elmo-pipe.el (elmo-folder-diff): Ditto.
3466
3467         * elmo-nmz.el (elmo-folder-diff): Ditto.
3468
3469         * elmo-net.el (elmo-folder-diff): Ditto.
3470
3471         * elmo-maildir.el (elmo-folder-diff): Ditto.
3472
3473         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3474
3475         * elmo-multi.el (elmo-folder-diff): Ditto
3476         (elmo-multi-folder-diff): Rewrite.
3477
3478 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3479
3480         * elmo-pipe.el (elmo-folder-msgdb): Define.
3481
3482 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3483
3484         * elmo.el (elmo-message-set-cached): Define as a method.
3485
3486         * elmo-pipe.el (elmo-message-set-cached): Define.
3487         (elmo-find-fetch-strategy): Ditto.
3488
3489         * elmo-multi.el (elmo-message-set-cached): Define.
3490         (elmo-find-fetch-strategy): Rewrite.
3491
3492         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3493
3494         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3495
3496 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3497
3498         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3499         instead of number-alist.
3500
3501         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3502         mark nor message-id when msgdb of source folder is not loaded.
3503
3504         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3505
3506         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3507
3508 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3509
3510         * elmo.el (elmo-folder-length): Don't require msgdb.
3511
3512 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3513
3514         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3515         (elmo-message-field): Ditto.
3516
3517         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3518         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3519         slot.
3520         (elmo-map-folder-list-answereds): Define.
3521         (elmo-maildir-list-location): Treat 'R' info.
3522         (elmo-folder-msgdb-create): Treat flag-table.
3523         (elmo-folder-append-messages): Save flag-table.
3524
3525 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3526
3527         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3528         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3529
3530 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3531
3532         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3533
3534         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3535         'read when mark is null.
3536
3537 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3538
3539         * elmo-version.el (elmo-version): Up to 2.11.4.
3540
3541 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3542
3543         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3544         (elmo-folder-mark-as-answered): Ditto.
3545
3546 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3547
3548         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3549         (elmo-pop3-get-session): Make msgdb directory after session.
3550         (elmo-folder-exists-p): Check exactly at the first time even when the
3551         elmo-pop3-exists-exactly is nil.
3552
3553         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3554         (elmo-folder-list-messages): Define instead of
3555         elmo-folder-list-messages-internal.
3556         (elmo-folder-check): Check destination folder.
3557         (elmo-folder-synchronize): Drain the pipe.
3558
3559         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3560         when msgdb is not loaded.
3561
3562         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3563
3564         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3565         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3566         messages.
3567
3568         * elmo.el (elmo-folder-kill-messages-before): New function.
3569         (elmo-folder-kill-messages): Ditto.
3570         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3571
3572         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3573         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3574         killed not by synchronize (e.g. scoring).
3575
3576 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3579         treated.
3580         (elmo-folder-search): Follow the change above.
3581
3582         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3583         into the candidates of search field.
3584
3585 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3586
3587         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3588         (elmo-msgdb-unset-flag): Ditto.
3589
3590         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3591
3592 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3593
3594         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3595         (elmo-folder-commit): Define.
3596         (elmo-folder-synchronize): Ditto.
3597         (elmo-folder-list-flagged): Ditto.
3598         (elmo-folder-commit): Ditto.
3599         (elmo-folder-length): Ditto.
3600         (elmo-folder-count-flags): Ditto.
3601         (elmo-message-mark): Ditto.
3602         (elmo-message-field): Ditto.
3603         (elmo-message-entity): Ditto.
3604         (elmo-message-folder): Ditto.
3605
3606 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3607
3608         * elmo.el (elmo-message-field): Define as a method.
3609
3610         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3611         (elmo-message-field): Define.
3612
3613         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3614         (elmo-folder-list-importants): Ditto.
3615         (elmo-folder-list-answereds): Ditto.
3616
3617         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3618         qualifier.
3619         (elmo-folder-mark-as-read): Ditto.
3620         (elmo-folder-unmark-read): Ditto.
3621         (elmo-folder-mark-as-answered): Ditto.
3622         (elmo-folder-unmark-answered): Ditto.
3623         (elmo-folder-list-flagged): Define.
3624         (elmo-folder-commit): Ditto.
3625         (elmo-folder-length): Ditto.
3626         (elmo-folder-count-flags): Ditto.
3627
3628 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3629
3630         * elmo.el (elmo-folder-detach-messages): New method.
3631         (elmo-folder-move-messages): Use it.
3632         (elmo-folder-synchronize): Ditto.
3633
3634         * elmo-multi.el (elmo-folder-detach-messages): Define.
3635
3636         * elmo.el (elmo-message-copy-entity): New function.
3637         (elmo-message-entity-set-number): Ditto.
3638         (elmo-message-mark): Define as method.
3639
3640         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3641         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3642         (elmo-message-entity): Fixed last change.
3643         (elmo-message-mark): Define.
3644         (elmo-folder-msgdb-create): Abolish.
3645         (elmo-multi-folder-append-msgdb): Ditto.
3646         (elmo-multi-folder-diff): Fixed.
3647         (elmo-multi-split-number-alist): Removed.
3648         (elmo-multi-split-mark-alist): Removed.
3649         (elmo-folder-list-messages): Define.
3650         (elmo-folder-list-messages-internal): Removed.
3651
3652         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3653         local file messages.
3654         (elmo-folder-msgdb-create): Fixed read mark.
3655
3656 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3657
3658         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3659         if mark is nil.
3660
3661 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3662
3663         * elmo.el (elmo-folder-list-message-entities): Define as inline
3664         function.
3665         (elmo-folder-messages): Abolish.
3666
3667         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3668         folder.
3669         (elmo-folder-synchronize): Define.
3670         (elmo-message-entity): Define.
3671
3672 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3673
3674         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3675         elmo-imap4-session-select-mailbox.
3676
3677         * elmo.el (elmo-folder-move-messages): Don't display any message.
3678
3679         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3680         parsing.
3681         (elmo-imap4-session-check): Don't wait CHECK response.
3682         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3683
3684 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3685
3686         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3687
3688 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3689
3690         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3691         API.
3692         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3693
3694
3695         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3696         (elmo-folder-list-message-entities): Added argument in-msgdb and
3697         numbers.
3698         (elmo-folder-synchronize): Define as a method.
3699
3700         * elmo-nntp.el (elmo-folder-initialize): Don't use
3701         elmo-nntp-default-user if zero-length username is specified
3702         explicitly.
3703
3704 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3705
3706         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3707         server name in case with username.
3708         (XXX: this is ad-hoc fix against username includes "@", it
3709         should be solved fundamentally)
3710
3711 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3712
3713         * elmo-nntp.el (elmo-nntp-debug): New function.
3714         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3715         (elmo-network-authenticate-session): Hide auth-info from the log.
3716
3717         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3718         user name if it is equal to elmo-nntp-default-user.
3719
3720 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3721
3722         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3723         instead of shimbun-server-internal;
3724         Use shimbun-current-group instead of shimbun-current-group-internal.
3725         (elmo-folder-plugged-p): Use shimbun-server instead of
3726         shimbun-server-internal.
3727         (elmo-folder-set-plugged): Ditto.
3728         (elmo-net-port-info): Ditto.
3729         (elmo-folder-check): Ditto.
3730         (elmo-folder-expand-msgdb-path): Ditto.
3731         (elmo-folder-list-subfolders): Ditto.
3732
3733 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3734
3735         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3736         Convert field-name to lower case.
3737         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3738
3739 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3740
3741         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3742         `message' and `error' take format string.
3743
3744 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3745
3746         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3747
3748 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3749
3750         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3751         recursive call (can't byte compile on emacs 20.7).
3752
3753 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3754
3755         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3756         (elmo-folder-list-message-entities): New API.
3757         (elmo-message-entity): Ditto.
3758         (elmo-message-entity-parent): Ditto.
3759         (elmo-folder-do-each-message-entity): Ditto.
3760         (elmo-message-entity-number): Ditto.
3761         (elmo-message-entity-field): Ditto.
3762         (elmo-message-entity-set-field): Ditto.
3763         (elmo-folder-count-flags): Ditto.
3764         (elmo-folder-length): Ditto.
3765
3766         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3767         not.
3768
3769         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3770         (elmo-msgdb-count-marks): Abolish.
3771         (elmo-msgdb-make-entity): Ditto.
3772         (elmo-msgdb-do-each-entity): Ditto.
3773         (elmo-msgdb-message-entity): New inline function.
3774         (elmo-msgdb-message-entity-field): Ditto.
3775         (elmo-msgdb-message-entity-set-field): Ditto.
3776         (elmo-msgdb-make-message-entity): New function.
3777
3778 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3779
3780         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3781         to flag. (All other related portions are changed.)
3782         (elmo-folder-msgdb-create): Likewise.
3783         (elmo-generic-folder-append-messages): Use flag-table instead of
3784         seen-list.
3785         (elmo-folder-move-messages): Removed redundant process.
3786         (elmo-folder-synchronize): Likewise.
3787
3788         * elmo-msgdb.el (elmo-flag-table-get): New function.
3789         (elmo-flag-table-save): Fixed.
3790         (elmo-msgdb-length): New inline function.
3791         (elmo-msgdb-flag-table): New function.
3792         (elmo-msgdb-mark): Add optional argument new.
3793         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3794         (elmo-msgdb-seen-list): Ditto.
3795         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3796
3797
3798 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3799
3800         * elmo.el (elmo-message-set-mark): Abolish.
3801         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3802         (All related portions are changed.)
3803
3804         * elmo-msgdb.el (toplevel): Added comment.
3805         (elmo-load-msgdb): Added 4th element `path'.
3806         (elmo-msgdb-append): Follow the change above.
3807         (elmo-msgdb-clear): Ditto.
3808         (elmo-msgdb-delete-msgs): Ditto.
3809         (elmo-msgdb-get-path): New inline function.
3810         (elmo-msgdb-set-path): Ditto.
3811         (elmo-flag-table-filename): New variable.
3812         (elmo-flag-table-load): New function.
3813         (elmo-flag-table-set): Ditto.
3814         (elmo-flag-table-save): Ditto.
3815         (elmo-msgdb-get-field-value): Abolish.
3816         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3817
3818 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3819
3820         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3821         the folder has been deleted successfully.
3822         * elmo-imap4.el (elmo-folder-delete): Ditto.
3823         * elmo-archive.el (elmo-folder-delete): Ditto.
3824         * elmo-localdir.el (elmo-folder-delete): Ditto.
3825         * elmo-maildir.el (elmo-folder-delete): Ditto.
3826
3827 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3828
3829         * elmo-util.el (elmo-string-member-ignore-case): New function.
3830         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3831         (elmo-imap4-fetch-callback-1-subr): Likewise.
3832
3833 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3834
3835         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3836         the case of the name attribute "\Noselect".
3837
3838 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3839
3840         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3841
3842         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3843         flist, is not always a member of onum-alist.
3844
3845 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3846
3847         * elmo-version.el (elmo-version): Up to 2.11.3.
3848
3849 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3850
3851         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3852         copied from localdir's one.
3853
3854         * elmo-pipe.el (elmo-folder-rename): New method, rename
3855         destination folder with leaving source folder as it is.
3856
3857 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3858
3859         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3860         replace-regexp.
3861
3862 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3863
3864         * elmo-version.el (elmo-version): Up to 2.11.2.
3865
3866 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3867
3868         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3869         shimbun-open in case of "@".
3870         (elmo-folder-open-internal): Cope with shimbun = nil case.
3871         (elmo-folder-plugged-p): Ditto.
3872         (elmo-folder-list-subfolders): Make list for "@/" group.
3873
3874 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3875
3876         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3877         mailbox (e.g. for %~/something).
3878
3879 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3880
3881         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3882         Replace nested conditional with guard clauses.
3883
3884 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3885
3886         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3887         error [wl:11327].
3888
3889         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3890         print-depth.
3891
3892 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3893
3894         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3895         Replace nested conditional with guard clauses.
3896
3897 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3898
3899         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3900         (elmo-passwd-alist-save): Ditto.
3901         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3902
3903 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3904
3905         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3906         dir-name only if it is absolute path.
3907         (TODO: distinguish +/something and +something)
3908
3909 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3910
3911         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3912         path for "+~/something".
3913
3914 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3915
3916         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3917         as non-directory, cause error before rename-file.
3918         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3919         apropriately, mimic localdir's one.
3920         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3921
3922 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3923
3924         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3925
3926 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3927
3928         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3929
3930         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3931         
3932         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3933         is included in the global-mark or not.
3934
3935 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3936
3937         * utf7.el (toplevel): Avoid error when the function
3938         find-coding-system does not exist.
3939
3940 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3941
3942         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3943         cache even if the folder is plugged.
3944         (elmo-nntp-search-primitive): Do nothing when body search is
3945         invoked (although it is not used by the change above).
3946         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3947
3948 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3949
3950         * elmo-version.el (elmo-version): Up to 2.11.1.
3951
3952 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3953
3954         * elmo-archive.el: Specify charset.
3955
3956 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3957
3958         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3959         process buffer lives or not.
3960
3961         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3962         while flushing queues (It causes infinite loop).
3963
3964 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3965
3966         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3967
3968 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3969
3970         * utf7.el (toplevel): Check the ucs features dynamically.
3971         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
3972
3973         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3974         folder is creatabe or not if it already exists.
3975
3976 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
3977
3978         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3979
3980         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3981
3982         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3983         (elmo-imap4-read-response): Take care of garbage response.
3984
3985 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3986
3987         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3988         just return nil instead of error.
3989
3990 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3991
3992         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3993         search-key is "body".
3994
3995 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3996
3997         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3998         of elmo-string-matched-assoc to use match-data.
3999         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4000
4001 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4002
4003         * elmo-split.el (elmo-split->): New function.
4004         (elmo-split-<): Ditto.
4005
4006 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4007
4008         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4009         workaround for invalid message-id.
4010
4011 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4012
4013         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4014         return normal pop3 session or pop3 biff session.
4015
4016 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4017
4018         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4019         info part to the cur files when the new files already have it.
4020         (Adviced by Jared Rhine <jared@wordzoo.com>)
4021
4022 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4023
4024         * elmo-split.el (elmo-split-default-action): New variable.
4025         (elmo-split-subr): Use it if all other conditions are passed.
4026         Extend `fname' and rename it as `action'. (implemented
4027         Teranishi-san's idea in [wl:10800])
4028
4029 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4030
4031         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4032         * elmo-util.el: Ditto.
4033
4034 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4035
4036         * elmo.el (elmo-message-accessible-p): Renamed from
4037         elmo-message-cached-p and rewritten.
4038
4039 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4040
4041         * elmo.el (elmo-folder-list-flagged): New generic function.
4042         (elmo-folder-list-importants): New implementation.
4043         (elmo-folder-list-answereds): Ditto.
4044         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4045         Added 'digest'.
4046         (elmo-message-cached-p): New function.
4047         (elmo-message-set-flag): Ditto (no content).
4048         (elmo-message-unset-flag): Ditto.
4049         (elmo-folder-list-messages-mark-match): Abolish.
4050
4051         * elmo-util.el (elmo-regexp-opt): New function.
4052
4053         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4054         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4055         Added 'digest'.
4056         (elmo-msgdb-list-flagged): New function.
4057
4058         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4059         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4060         Added 'digest'.
4061
4062         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4063
4064 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4065
4066         * elmo-version.el (elmo-version): Up to 2.11.0.
4067
4068 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4069
4070         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4071         `elmo-file-cache-exists-p'; use proper mark that depends on
4072         `use-cache'.
4073         (elmo-msgdb-unset-flag): Ditto.
4074         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4075
4076         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4077         with 4th argument `use-cache'.
4078
4079 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4080
4081         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4082         (elmo-folder-mark-as-important): Ditto.
4083         (elmo-folder-unmark-read): Ditto.
4084         (elmo-folder-mark-as-read): Ditto.
4085         (elmo-folder-unmark-answered): Ditto.
4086         (elmo-folder-mark-as-answered): Ditto.
4087
4088         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4089         message status.
4090         (elmo-msgdb-mark): Likewise.
4091         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4092         (elmo-msgdb-unset-flag): Likewise.
4093
4094         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4095
4096 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4097
4098         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4099         `last:' filter.
4100
4101 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4102
4103         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4104         set spool-length to 0.
4105
4106 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4107
4108         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4109         (elmo-dop-queue-flush): Fixed last change.
4110
4111 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4112
4113         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4114         if require-msgdb slot is nil.
4115         (elmo-folder-list-importants): Likewise.
4116
4117 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4118
4119         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4120         mark is changed.
4121
4122         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4123         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4124         is changed.
4125
4126 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4127
4128         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4129
4130 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4131
4132         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4133
4134         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4135
4136 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4137
4138         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4139         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4140
4141 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4142
4143         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4144         the problem reported by Sean Rima [wl-en:180].
4145
4146 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4147
4148         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4149
4150         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4151
4152         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4153
4154         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4155
4156         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4157
4158         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4159
4160         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4161
4162 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4163
4164         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4165         status number.
4166
4167 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4168
4169         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4170         (elmo-folder-mark-as-read): Follow the API change.
4171         (elmo-message-set-cached): New function.
4172
4173         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4174
4175         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4176
4177         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4178         (elmo-folder-mark-as-important): Ditto.
4179         (elmo-folder-unmark-read): Ditto.
4180         (elmo-folder-mark-as-read): Ditto.
4181         (elmo-folder-unmark-answered): Ditto.
4182         (elmo-folder-mark-as-answered): Ditto.
4183
4184         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4185         (elmo-folder-unmark-important): Ditto.
4186         (elmo-folder-mark-as-read): Ditto.
4187         (elmo-folder-unmark-read): Ditto.
4188         (elmo-folder-mark-as-answered): Ditto.
4189         (elmo-folder-unmark-answered): Ditto.
4190
4191         * elmo-mark.el (toplevel): Removed some mark method definitions.
4192
4193         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4194         (elmo-map-folder-mark-as-answered): Ditto.
4195         (elmo-folder-unmark-important): Add :before qualifier.
4196         (elmo-folder-mark-as-important): Ditto.
4197         (elmo-folder-unmark-read): Ditto.
4198         (elmo-folder-mark-as-read): Ditto.
4199         (elmo-folder-unmark-answered): Define.
4200         (elmo-folder-mark-as-answered): Ditto.
4201
4202         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4203         (elmo-map-folder-unmark-answered): Ditto.
4204
4205         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4206
4207         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4208         (elmo-folder-mark-as-important): Ditto.
4209         (elmo-folder-unmark-read): Ditto.
4210         (elmo-folder-mark-as-read): Ditto.
4211         (elmo-folder-unmark-answered): Ditto.
4212         (elmo-folder-mark-as-answered): Ditto.
4213
4214         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4215         `mark'; evaluate mark condition.
4216         (elmo-msgdb-match-condition-internal): New function.
4217         (elmo-msgdb-match-condition): Call it; changed argument.
4218
4219         * elmo.el (elmo-folder-search): Follow the API change on
4220         `elmo-msgdb-match-condition'.
4221
4222 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4223
4224         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4225         original mark is non-nil.
4226
4227 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4228
4229         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4230         (elmo-map-folder-list-answereds): New method.
4231         (elmo-folder-list-unreads): Add :around qualifier.
4232         (elmo-folder-list-importants): Ditto.
4233         (elmo-folder-list-answereds): Ditto.
4234
4235 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4236
4237         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4238
4239         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4240         method if msgdb is not required.
4241         (elmo-filter-folder-list-importants): Don't treat global-mark.
4242
4243         * elmo.el (elmo-folder-list-importants): Ditto.
4244
4245         * elmo-net.el (elmo-folder-list-importants): Ditto.
4246
4247         * elmo-map.el (elmo-folder-list-importants): Ditto.
4248
4249         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4250
4251         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4252         (elmo-imap4-folder-list-any-plugged): New function.
4253         (elmo-imap4-search-internal-primitive): Use it.
4254
4255         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4256         only when require-msgdb slot is non-nil.
4257         (elmo-folder-close): Clear target folder's msgdb.
4258
4259 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4260
4261         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4262         (elmo-pop3-msgdb-create-by-header): Ditto.
4263         (elmo-pop3-msgdb-create-message): Ditto.
4264
4265         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4266
4267         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4268
4269         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4270
4271         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4272         (elmo-folder-msgdb-create): Ditto.
4273         (elmo-nntp-folder-msgdb-create): Ditto.
4274         (elmo-nntp-msgdb-create-by-header): Ditto.
4275         (elmo-nntp-msgdb-create-message): Ditto.
4276         (elmo-folder-list-unreads): Define.
4277
4278         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4279         (elmo-folder-append-messages): Ditto.
4280         (elmo-folder-list-unreads): Define.
4281         (elmo-folder-list-importants): Ditto.
4282         (elmo-folder-list-answereds): Ditto.
4283
4284         * elmo-net.el (elmo-folder-list-unreads): Define.
4285         (elmo-folder-list-importants): Ditto.
4286         (elmo-folder-list-answereds): Ditto.
4287         (elmo-folder-list-answereds-plugged): Ditto.
4288         (elmo-folder-msgdb-create): Follow the API change.
4289         (elmo-folder-msgdb-create-unplugged): Ditto.
4290         (elmo-folder-unmark-answered): Define.
4291         (elmo-folder-mark-as-answered-unplugged): Ditto.
4292         (elmo-folder-unmark-answered-unplugged): Ditto.
4293
4294         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4295         (elmo-msgdb-unread-uncached-mark): Ditto.
4296         (elmo-msgdb-unread-cached-mark): Ditto.
4297         (elmo-msgdb-read-uncached-mark): Ditto.
4298         (elmo-msgdb-answered-cached-mark): Ditto.
4299         (elmo-msgdb-answered-uncached-mark): Ditto.
4300         (elmo-msgdb-important-mark): Ditto.
4301         (elmo-msgdb-set-mark): Rewrite.
4302         (elmo-msgdb-count-marks): Rewrite.
4303         (elmo-msgdb-mark-alist-set): Abolish.
4304         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4305         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4306
4307         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4308         (elmo-folder-close): Define.
4309         (elmo-folder-msgdb-create): Follow the API change.
4310         (elmo-folder-list-unreads): Rewrite.
4311         (elmo-folder-mark-as-important): Ditto.
4312         (elmo-folder-unmark-important): Ditto.
4313         (elmo-folder-mark-as-read): Ditto.
4314         (elmo-folder-unmark-read): Ditto.
4315         (elmo-folder-mark-as-answered): Define.
4316         (elmo-folder-unmark-answered): Ditto.
4317
4318         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4319         (elmo-folder-append-messages): Ditto.
4320
4321         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4322
4323         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4324         (elmo-folder-list-importants): Ditto.
4325
4326         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4327         (elmo-folder-append-messages): Ditto.
4328
4329         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4330         change.
4331         (elmo-folder-msgdb-create-plugged): Ditto.
4332         (elmo-folder-append-messages): Ditto.
4333         (elmo-folder-list-answereds-plugged): Define.
4334         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4335         (elmo-folder-unmark-answered-plugged): Define.
4336         (elmo-folder-mark-as-answered-plugged): Ditto.
4337         (elmo-folder-search-requires-msgdb-p): Ditto.
4338
4339         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4340         (elmo-folder-initialize): Set it.
4341         (elmo-folder-msgdb): Define.
4342         (elmo-folder-check): Call elmo-folder-synchronize.
4343         (elmo-folder-close): Define.
4344         (elmo-folder-commit): Ditto.
4345         (elmo-folder-msgdb-create): Rewrite.
4346         (elmo-folder-list-unreads): Ditto.
4347         (elmo-folder-list-importants): Ditto.
4348         (elmo-folder-mark-as-read): Ditto.
4349         (elmo-folder-unmark-read): Ditto.
4350         (elmo-folder-mark-as-important): Ditto.
4351         (elmo-folder-unmark-important): Ditto.
4352         (elmo-folder-mark-as-answered): Define.
4353         (elmo-folder-unmark-answered): Ditto.
4354
4355         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4356         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4357         (elmo-dop-queue-method-name-alist): Likewise.
4358         (elmo-folder-mark-as-answered-dop): New inline function.
4359         (elmo-folder-unmark-answered-dop): Ditto.
4360         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4361
4362         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4363         (elmo-folder-msgdb-create): Ditto.
4364         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4365         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4366         (elmo-archive-parse-mmdf): Ditto.
4367
4368         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4369         (elmo-folder-list-unreads-internal): Ditto.
4370
4371         * elmo.el (elmo-folder-msgdb): Define as generic function.
4372         (elmo-folder-list-messages): Added argument `in-msgdb'.
4373         (elmo-folder-list-unreads): Define as generic function.
4374         (elmo-folder-list-importants): Ditto.
4375         (elmo-folder-list-answereds): Ditto.
4376         (elmo-folder-list-messages-with-global-mark): New function.
4377         (elmo-folder-msgdb-create): Removed mark arguments.
4378         (elmo-folder-unmark-answered): New generic function.
4379         (elmo-folder-mark-as-answered): Ditto.
4380         (elmo-folder-append-messages): Removed argunment `unread-marks'
4381         (elmo-folder-list-unreads-internal): Abolish.
4382         (elmo-folder-list-importants-internal): Ditto.
4383         (elmo-folder-search-requires-msgdb-p): New generic function.
4384         (elmo-folder-search-requires-msgdb-p-internal): New function.
4385         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4386         elmo-msgdb-load.
4387         (elmo-folder-search-fast): Added key 'mark'.
4388         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4389         instead of unread-marks argument.
4390         (elmo-folder-move-messages): Removed argunment `unread-marks'
4391         (elmo-folder-unmark-important): Define.
4392         (elmo-folder-mark-as-important): Ditto.
4393         (elmo-folder-unmark-read): Ditto.
4394         (elmo-folder-mark-as-read): Ditto.
4395         (elmo-folder-unmark-answered): Ditto.
4396         (elmo-folder-mark-as-answered): Ditto.
4397         (elmo-folder-replace-marks): Abolish.
4398         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4399         duplicates.
4400         (elmo-folder-synchronize): Removed mark arguments;
4401         return crosspost only number.
4402
4403 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4404
4405         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4406         Remove redundunt connectivity check.
4407
4408 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4409
4410         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4411         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4412
4413 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4414
4415         * pldap.el (ldap-decode-string): Return string as-is if
4416         `ldap-coding-system' is nil.
4417         (ldap-encode-string): Ditto.
4418         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4419         (ldap-default-host): Fixed docstring.
4420
4421 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4422
4423         * elmo-util.el (elmo-warning): Define as a macro which uses
4424         `display-warning' if it is defined as a function.
4425
4426         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4427         (elmo-split-equal): Use it.
4428         (elmo-split-match): Ditto.
4429         (elmo-split-message-entity): New buffer-local variable.
4430         (elmo-split-subr): Set it.
4431
4432         * elmo-version.el (elmo-version): Up to 2.9.15.
4433
4434 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4435
4436         * elmo-imap4.el (elmo-network-initialize-session):
4437         Check capability after starttls.
4438
4439 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4440
4441         * elmo-util.el (elmo-list-delete): Added optional argument
4442         DELETE-FUNCTION.
4443
4444         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4445
4446         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4447
4448         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4449
4450         * elmo-imap4.el (elmo-folder-initialize): Don't use
4451         elmo-imap4-default-mailbox.
4452
4453 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4454
4455         * elmo-split.el (toplevel): Use `product-provide'.
4456         (elmo-split): Checkdoc.
4457
4458 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4459
4460         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4461         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4462         the function `elmo-imap4-debug-1'.
4463
4464 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4465
4466         * elmo-split.el (elmo-split): Moved to run hooks and to show
4467         message from elmo-split-subr.
4468         (elmo-split-subr): Follow the change above.
4469
4470         * elmo-split.el (elmo-split-subr): New function (renamed from
4471         elmo-split-subr).
4472         (elmo-split): Changed to call elmo-split-subr by element of
4473         elmo-split-folder.
4474         (elmo-split-folder): Changed customization type to choice.
4475
4476 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4477
4478         * elmo-split.el (elmo-split-and): Fixed condition.
4479
4480 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4481
4482         * elmo-split.el: New file.
4483         (elmo-split): Fixed logic.
4484         Display "Test:" instead of "Folder:" when reharsal.
4485
4486         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4487         explicitly.
4488
4489         * elmo-version.el (elmo-version): Up to 2.9.14.
4490
4491         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4492         wl-expand-newtext).
4493
4494 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4495
4496         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4497         message with no message-id field.
4498
4499 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4500
4501         * elmo-version.el (elmo-version): Up to 2.9.13.
4502
4503         * elmo-dop.el (elmo-folder-status-dop): Fix.
4504
4505 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4506
4507         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4508
4509         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4510         changing default value of default-mime-charset.
4511         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4512
4513         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4514
4515         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4516         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4517         instead of elmo-dop-queue-method-name-alist to check merging queue.
4518         (elmo-folder-delete-messages-dop): Delete from queue if negative
4519         message number.
4520         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4521         file is already removed.
4522
4523 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4524
4525         * elmo-vars.el: Bind colon keywords for old Emacsen.
4526
4527 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4528
4529         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4530         against non-exsisting charset.
4531
4532 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4533
4534         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4535         Use eword-decode-and-unfold-unstructured-field-body.
4536
4537         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4538         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4539         exists to decode raw subject string.
4540         (toplevel): Require 'mime.
4541
4542         * elmo-version.el (elmo-version): Up to 2.9.12.
4543
4544 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4545
4546         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4547         (elmo-msgdb-set-mark): Ditto.
4548
4549         * elmo-version.el (elmo-version): Up to 2.9.11.
4550
4551 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4552
4553         * elmo-util.el (elmo-delete-match-files): New function.
4554
4555         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4556         instead of elmo-delete-directory.
4557
4558         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4559         elmo-hash-minimun-size as 63.
4560
4561         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4562         elmo-diff-unread is nil.
4563
4564         * elmo-imap4.el (elmo-folder-open): Fix.
4565
4566         * elmo.el (elmo-message-mark): Rewrite.
4567         (elmo-message-field): Ditto.
4568         (elmo-message-set-mark): Ditto.
4569         (elmo-folder-replace-marks): New function.
4570         (elmo-generic-folder-append-msgdb): Removed third argument for
4571         elmo-msgdb-append.
4572         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4573         (elmo-msgdb-load): New implementation.
4574
4575         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4576
4577         * elmo-util.el (elmo-list-insert): New implementation.
4578
4579         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4580         argument for elmo-msgdb-append.
4581         
4582
4583         * elmo-msgdb.el (elmo-load-msgdb): New function.
4584         (elmo-make-msgdb): Ditto.
4585         (elmo-msgdb-get-index): New inline function.
4586         (elmo-msgdb-set-index): Ditto.
4587         (elmo-msgdb-get-entity-hashtb): Ditto.
4588         (elmo-msgdb-get-mark-hashtb): Ditto.
4589         (elmo-msgdb-get-mark): Ditto.
4590         (elmo-msgdb-set-mark): Ditto.
4591         (elmo-msgdb-count-marks): Ditto.
4592         (elmo-msgdb-get-number): Ditto.
4593         (elmo-msgdb-get-field): Ditto.
4594         (elmo-msgdb-seen-list): Ditto.
4595         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4596         (elmo-msgdb-delete-msgs): Follow the changes above.
4597         (elmo-msgdb-overview-get-entity): Ditto.
4598         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4599         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4600         and rewritten.
4601         (elmo-msgdb-make-index): Likewise.
4602         (elmo-msgdb-append): Removed third argument.
4603         (elmo-msgdb-clear): Clear index as nil.
4604         (elmo-folder-set-info-hashtb): Removed.
4605         (elmo-folder-set-info-max-by-numdb): Ditto.
4606         (elmo-folder-info-make-hashtb): Ditto.
4607
4608         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4609
4610         * elmo-map.el (elmo-folder-pack-number): Ditto.
4611
4612 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4613
4614         * elmo-version.el (elmo-version): Up to 2.9.10.
4615
4616         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4617
4618         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4619
4620 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4621
4622         * elmo-utils.el (elmo-make-directory): Add option.
4623         Default file mode is 700.
4624
4625 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4626
4627         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4628
4629 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4630
4631         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4632         mime-charset.
4633
4634         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4635         and "smaller".
4636
4637 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4638
4639         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4640         (elmo-shimbun-folder-entity-hash): New function.
4641         (elmo-shimbun-folder-shimbun-header): Ditto.
4642         (elmo-shimbun-entity-to-header): Ditto.
4643         (elmo-shimbun-msgdb-to-headers): Removed.
4644         (elmo-shimbun-folder-setup): Ditto.
4645         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4646         for hash key.
4647         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4648         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4649         Removed useless local bind.
4650         (elmo-folder-open-internal): Don't call
4651         `elmo-shimbun-folder-setup'.
4652         (elmo-folder-close-internal): Clear entity-hash slot.
4653         (elmo-folder-clear): Ditto.
4654         (elmo-shimbun-msgdb-create-entity): Use
4655         `elmo-shimbun-folder-shimbun-header'.
4656         (elmo-map-message-fetch): Ditto.
4657         (elmo-shimbun-update-overview): Use overview entity instead of
4658         shimbun header to lookup id by references.
4659         (elmo-map-folder-list-message-locations): Use not only headers but
4660         also overviews to list locations.
4661
4662 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4663
4664         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4665         msgdb path.
4666
4667         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4668
4669 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4670
4671         * elmo-util.el (elmo-read-search-condition-internal): Give default
4672         value for date.
4673
4674 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4675
4676         * elmo-util.el (elmo-condition-parse-search-value): Accept
4677         YYYY-MM-DD format to search.
4678         * elmo-date.el (elmo-date-get-datevec): Likewise.
4679
4680 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4681
4682         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4683         debugging code.
4684
4685 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4686
4687         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4688         from t.
4689
4690         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4691
4692         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4693         case from `elmo-folder-exists-p'.
4694         (elmo-folder-exists-p): Removed.
4695         (elmo-folder-creatable-p) Ditto.
4696
4697         * elmo-net.el (elmo-folder-create): Defined.
4698         (elmo-folder-create-unplugged): New function.
4699         (elmo-folder-exists-p): Changed default value to nil from t.
4700
4701         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4702         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4703
4704         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4705         `elmo-create-folder-dop' and append queue
4706         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4707         (elmo-folder-create-dop-delayed): New function.
4708
4709         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4710
4711         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4712
4713         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4714         (elmo-folder-writable-p) : Ditto.
4715
4716         * elmo-version.el (elmo-version): Up to 2.9.9.
4717
4718 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4719
4720         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4721         `elmo-message-use-cache-p' returns nil.
4722         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4723         (ignore cache file and refer the substance in local folders)
4724
4725 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4726
4727         * elmo-version.el (elmo-version): Up to 2.9.8.
4728
4729 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4730
4731         * elmo-version.el (elmo-version): Up to 2.9.7.
4732
4733         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4734
4735 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4736
4737         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4738
4739 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4740
4741         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4742         from --early.
4743         (elmo-map-folder-list-message-locations): Reverse location list.
4744
4745 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4746
4747         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4748
4749 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4750
4751         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4752         as a key.
4753         (elmo-nntp-folder-list-subfolders): Follow the change above.
4754
4755 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4756
4757         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4758         name if authentication type is specified.
4759
4760 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4761
4762         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4763         variable.
4764         (elmo-default-nntp-stream-type): Ditto.
4765         (elmo-default-pop3-stream-type): Ditto.
4766
4767 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4768
4769         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4770
4771 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4772
4773         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4774         elmo-vars.el.
4775         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4776
4777         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4778         (elmo-maildir-folder-path): Ditto.
4779         (elmo-maildir-list): Ditto (abolished).
4780
4781 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4782
4783         * elmo-version.el (elmo-version): Up to 2.9.6.
4784
4785 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4786
4787         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4788         (elmo-maildir-folder-path): Ditto.
4789         (elmo-msgdb-directory): Ditto.
4790         (elmo-passwd-life-time): Ditto.
4791         (elmo-msgdb-extra-fields): Ditto.
4792         (elmo-enable-disconnected-operation): Ditto.
4793
4794 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4795
4796         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4797         other choices.
4798         (elmo-pop3-default-authenticate-type): Ditto.
4799
4800 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4801
4802         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4803         choices for custom.
4804         (elmo-pop3-default-authenticate-type): Ditto.
4805
4806 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4807
4808         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4809         mailbox to new-folder.
4810
4811 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4812
4813         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4814         less than new, set new as unread.
4815
4816         * elmo-util.el (elmo-string): Don't put text-property if nil.
4817
4818 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4819
4820         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4821         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4822
4823 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4824
4825         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4826         is nil on `completing-read'.
4827
4828 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4829
4830         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4831         for namespace part.
4832         (elmo-imap4-parse-namespace-subr): Ditto.
4833         (elmo-folder-list-subfolders): Append a delimiter when the specified
4834         folder path is a root with namespace and does not end with delimiter.
4835
4836 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4837
4838         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4839         was used.
4840
4841 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4842
4843         * elmo-util.el (elmo-save-buffer): The first argument of message
4844         is a format control string.
4845
4846 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4847
4848         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4849         `elmo-folder-diff').
4850         (elmo-diff-unread): Likewise.
4851
4852 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4853
4854         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4855         is t on `completing-read'.
4856
4857 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4858
4859         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4860         method of target folder with self mark-alist if MARK-ALIST is nil.
4861
4862 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4863
4864         * elmo-version.el (elmo-version): Up to 2.9.5.
4865
4866 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4867
4868         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4869         (elmo-dop-merge-funcs): Remove.
4870
4871 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4872
4873         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4874         Return t if PATH is directory, too.
4875         Use `dolist' instead of while loop.
4876
4877 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4878
4879         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4880         is deleted.
4881
4882 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4883
4884         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4885         return value to t.
4886         (elmo-folder-list-messages-unplugged): Return t if
4887         elmo-enable-disconnected-operation is nil.
4888
4889         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4890         `elmo-folder-list-messages-internal'.
4891
4892 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4893
4894         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4895         Change to looking-at `[23][0-9]+'.
4896         (elmo-network-initialize-session): Use 'error-msg'
4897         * elmo-net.el (elmo-network-open-session): Set unplugged
4898         if elmo-network-initialize-session returns 'elmo-open-err.
4899
4900 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4901
4902         * elmo-version.el (elmo-version): Up to 2.9.4.
4903
4904 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4905
4906         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4907         `elmo-folder-list-messages-internal'.
4908
4909 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4910
4911         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4912         (elmo-message-match-condition): New method.
4913         (elmo-folder-search-fast): New inline function.
4914         (elmo-msgdb-search): Removed.
4915
4916         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4917         target folder if it is unplugged.
4918         (elmo-folder-list-messages-internal): Return t if target folder is
4919         unplugged and itself is persistent; In this case, use list be
4920         searched already.
4921
4922         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4923         (elmo-msgdb-search-internal-primitive): Ditto.
4924         (elmo-msgdb-match-condition): New function.
4925         (elmo-msgdb-match-condition-primitive): Ditto.
4926
4927         * elmo-util.el (elmo-filter-condition-p): New macro.
4928
4929         * elmo-cache.el (elmo-folder-search): Removed.
4930
4931         * elmo-localdir.el (elmo-folder-search): Ditto.
4932
4933         * elmo-maildir.el (elmo-folder-search): Ditto.
4934
4935         * elmo-mark.el (elmo-folder-search): Ditto.
4936
4937         * elmo-nmz.el (elmo-folder-search): Ditto.
4938
4939         * elmo-sendlog.el (elmo-folder-search): Ditto.
4940
4941         * elmo-shimbun.el (elmo-folder-search): Ditto.
4942
4943         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4944         if folder is unplugged.
4945
4946         * elmo-nntp.el (elmo-folder-search): Likewise.
4947         (elmo-nntp-search-internal): New function.
4948
4949         * elmo-version.el (elmo-version): Up to 2.9.3.
4950
4951 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4952
4953         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4954
4955 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4956
4957         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4958
4959 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4960
4961         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4962
4963 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4964
4965         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4966         (elmo-map-folder-list-message-locations): Do drive letter conversion
4967         on Windows environment.
4968         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4969         (elmo-map-message-fetch): Ditto.
4970
4971 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
4972
4973         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4974         (elmo-network-initialize-session): Ditto.
4975
4976 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4977
4978         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4979
4980         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4981
4982         * elmo-util.el (elmo-progress-clear): Ditto.
4983
4984         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4985         `DD-Mon-YYYY' type date.
4986
4987 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4988
4989         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4990         `elmo-date-make-sortable-string' instead of
4991         `timezone-make-date-sortable'.
4992
4993         * elmo-date.el (elmo-date-make-sortable-string): Use
4994         `timezone-make-time-string'.
4995
4996 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4997
4998         * elmo.el (elmo-folder-synchronize): Delete important messages too.
4999
5000         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5001         `since'; Fix timezone.
5002
5003         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5004
5005         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5006
5007 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5008
5009         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5010
5011 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5012
5013         * elmo.el (elmo-generic-folder-append-messages): Make
5014         fetch-strategy with `use-cache' as 'maybe. Check return value of
5015         `elmo-message-fetch'.
5016         (elmo-message-fetch): Return return value of
5017         `elmo-message-fetch-with-cache-process'.
5018         (elmo-message-fetch-with-cache-process): Return non-nil if
5019         fetching was succeed. Load cache when fetching was failed and
5020         fetch-strategy-use-cache is 'maybe.
5021
5022         * elmo-util.el (elmo-file-cache-load): New function.
5023
5024         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5025         defun.
5026
5027         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5028         non-nil if fetching was succeed.
5029
5030         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5031
5032         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5033
5034         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5035         (elmo-message-fetch-with-cache-process): Likwise.
5036
5037         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5038
5039         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5040
5041         * elmo-version.el (elmo-version): Up to 2.9.2.
5042
5043 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5044
5045         * elmo.el (elmo-folder-delete): Delete msgdb path.
5046
5047         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5048
5049         * elmo-maildir.el (elmo-folder-delete): Ditto.
5050
5051         * elmo-localdir.el (elmo-folder-delete): Ditto.
5052
5053         * elmo-imap4.el (elmo-folder-delete): Ditto.
5054
5055 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5056
5057         * elmo.el (luna-define-class): Added `biff' slot.
5058
5059         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5060         (elmo-pop3-debug-inhibit-logging): Abolished.
5061         (elmo-network-close-session): Eliminated needless let.
5062         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5063         (elmo-pop3-send-command): Added `no-log' argument.
5064         (elmo-pop3-process-filter): Use `with-current-buffer'.
5065         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5066         if login failure.
5067         (elmo-pop3-auth-apop): Likewise.
5068         (elmo-network-authenticate-session): Likewise.
5069
5070         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5071         if biff folder.
5072
5073         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5074         string to determine protocol.
5075         (elmo-network-session-name-prefix): Abolished.
5076         (elmo-network-session-cache-key): Follow the change above.
5077         (elmo-network-open-session): Ditto.
5078
5079         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5080         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5081
5082         * elmo-version.el (elmo-version): Up to 2.9.1.
5083
5084         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5085         unmatch condition checking.
5086
5087         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5088         condition.
5089
5090 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5091
5092         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5093
5094 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5097         test for while loop to execute at least one SEARCH command.
5098
5099 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5100
5101         * elmo-version.el (elmo-version): Up to 2.9.0.
5102
5103 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5104
5105         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5106         (elmo-archive-folder-path): Define.
5107         (elmo-folder-initialize): Setup `dir-name' slot.
5108         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5109         Use `dir-name' as prefix of each subfolders.
5110         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5111
5112 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5113
5114         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5115         (elmo-pipe-folder-list-target-messages): New internal function.
5116         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5117         `killed-list'.
5118         (elmo-pipe-folder-copied-list-load): New function.
5119         (elmo-pipe-folder-copied-list-save): Ditto.
5120         (elmo-folder-open-internal): Follow the change above.
5121         (elmo-folder-status): Fixed for copy.
5122
5123 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5124
5125         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5126
5127 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5128
5129         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5130         elmo-copy-file instead of elmo-add-name-to-file.
5131
5132         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5133
5134         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5135         "file://..." index.
5136
5137         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5138         of accept-process-output as 1.
5139         (elmo-pop3-read-contents): Ditto.
5140         (elmo-pop3-read-body): Ditto.
5141
5142 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5143
5144         * elmo-version.el (product-version-as-string): Remove define.
5145
5146 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5147
5148         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5149         (elmo-imap4-copy-messages): Chop number set using
5150         `elmo-imap4-number-set-chop-length'.
5151         (elmo-imap4-set-flag): Ditto.
5152         (elmo-imap4-search-internal-primitive): Ditto.
5153
5154 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5155
5156         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5157         `elmo-folder-make-temp-dir'
5158
5159         * elmo-vars.el (elmo-cache-directory): New variable.
5160         (elmo-cache-dir): Abolished.
5161         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5162
5163         * elmo-version.el (elmo-version): Up to 2.7.7.
5164
5165 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5166
5167         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5168         defcustom; Set default value as t.
5169
5170 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5171
5172         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5173         (ldap-search-program-arguments): Changed default value.
5174         (ldap-search-basic): Accept exit status 4.
5175         (ldap/field-body): Parse options.
5176         (ldap/collect-field): Ditto.
5177         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5178
5179         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5180         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5181         (elmo-imap4-accept-ok): Ditto.
5182         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5183         'notify-bye, only BYE error is reported.
5184         (elmo-folder-exists-p-plugged): Set no-error argument of
5185         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5186
5187         * elmo.el (elmo-imap4-bye-error): Changed message.
5188
5189         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5190         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5191         queues (It causes infinite loop).
5192
5193 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5194
5195         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5196         (RECENT UNSEEN MESSAGES) extension.
5197
5198 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5199
5200         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5201         Check number of overview fields.
5202
5203 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo.el (elmo-folder-confirm-appends): Changed message.
5206         (elmo-folder-confirm-appends): Ditto.
5207
5208         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5209         `with-temp-buffer'.
5210         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5211
5212 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5213
5214         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5215         of elmo-folder-update-threshold is nil, which can be set by
5216         wl-summary-update-confirm-threshold.
5217
5218 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5219
5220         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5221         (elmo-nmz-index-alias-alist): Ditto.
5222         (elmo-map-folder-list-message-locations): Follow the change above.
5223
5224 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5225
5226         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5227
5228         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5229
5230         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5231
5232         * elmo-util.el (elmo-read): Ditto.
5233         (elmo-display-error): Ditto.
5234
5235         * elmo-vars.el (elmo-date-match): Ditto.
5236
5237         * pldap.el (ldap-coding-system): Ditto.
5238
5239         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5240         `elmo-inhibit-number-mapping' as nil.
5241
5242 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5243
5244         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5245         space delimiter for list response.
5246
5247 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5248
5249         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5250
5251 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5252
5253         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5254         (elmo-map-message-fetch): Fix.
5255         * elmo-map.el (elmo-folder-status): Fix for killed.
5256
5257 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5258
5259         * elmo-sendlog.el: New file.
5260         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5261
5262 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5263
5264         * acap.el (acap-logging-out): New buffer local variable.
5265         (acap-close): Set it.
5266         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5267         an error.
5268
5269 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5270
5271         * acap.el (acap-response-bye-p): New function.
5272         (acap-response-bye-message): Ditto.
5273         (acap-wait-for-response): If bye response is received, cause an error.
5274         (acap-parse-response): Make bye response when 'Bye' is received.
5275
5276 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5277
5278         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5279
5280 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5281
5282         * elmo-util.el (elmo-copy-file): Added argument
5283         `ok-if-already-exists'.
5284         (elmo-copy-file): Fixed typo.
5285
5286 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5287
5288         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5289
5290 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5291
5292         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5293
5294 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5295
5296         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5297         to killed-list.
5298
5299 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5300
5301         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5302         (elmo-folder-initialize): Fix for `copy'.
5303         (elmo-pipe-drain): Ditto.
5304         (elmo-folder-open-internal): Ditto.
5305         (elmo-folder-newsgroups): Fix.
5306
5307 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5308
5309         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5310         for each message.
5311
5312         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5313         recent value is returned from imap folder.
5314
5315         * elmo.el (elmo-folder-newsgroups): New generic function.
5316
5317         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5318         (elmo-folder-initialize): Set it.
5319         (elmo-folder-expand-msgdb-path): Use it.
5320         (elmo-folder-newsgroups): Define.
5321
5322         * elmo-filter.el (elmo-folder-newsgroups): Define.
5323
5324         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5325
5326         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5327
5328         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5329
5330 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5331
5332         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5333         user option.
5334         (elmo-shimbun-header-extra-field): New inline function.
5335         (elmo-shimbun-header-set-extra-field): Ditto.
5336         (elmo-shimbun-folder-header-hash-setup): Ditto.
5337         (elmo-shimbun-update-overview): Ditto.
5338         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5339         (elmo-shimbun-folder-setup): Use
5340         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5341         (elmo-shimbun-get-headers): Ditto.
5342         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5343         Insert `X-Shimbun-Id:' header if extra field is set.
5344         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5345         field's value instead of `shimbun-header-id'.
5346
5347         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5348         inline function.
5349         (elmo-msgdb-overview-entity-set-date): Ditto.
5350         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5351
5352 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5353
5354         * mmimap.el (mmimap-entity-section): Changed body node number from
5355         "0" to "1".
5356
5357 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5358
5359         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5360         `elmo-folder-delete-messages'.
5361
5362         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5363         (elmo-folder-initialize): Changed to expand alias into index path.
5364
5365         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5366         `elmo-mime-insert-header-from-buffer' with 6th arg
5367         `sorted-fields'.
5368
5369 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5370
5371         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5372
5373         * elmo.el (elmo-diff-new): New inline function.
5374         (elmo-diff-unread): Ditto.
5375         (elmo-diff-all): Ditto.
5376
5377         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5378         value from responseb.
5379         (elmo-imap4-folder-diff-plugged): Ditto.
5380         (elmo-imap4-server-diff-async): Added recent argument.
5381         (elmo-server-diff-async): Ditto.
5382         (elmo-imap4-folder-diff-plugged): Ditto.
5383
5384         * elmo-version.el (elmo-version): Up to 2.7.6.
5385
5386 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5387
5388         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5389         in quoted-stirng.
5390
5391 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5392
5393         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5394
5395         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5396
5397         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5398
5399         * elmo-multi.el (elmo-folder-initialize): Ditto.
5400
5401         * elmo-util.el (elmo-parse-token): New function.
5402         (elmo-parse-prefixed-element): Ditto.
5403
5404 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5405
5406         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5407         delete process.
5408         (elmo-imap4-accept-ok): Ditto.
5409
5410 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5411
5412         * mmimap.el (mime-imap-entity-header-string): Don't check first
5413         element of node-id is `0' (Follow last change).
5414
5415 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5416
5417         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5418         assigned irregular node-id to nested multipart section.
5419         (initialize-instance): Followed above change.
5420
5421 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5422
5423         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5424         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5425         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5426         `elmo-shimbun-get-headers');
5427         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5428         visible article on summary exists in headers).
5429         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5430
5431 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5432
5433         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5434         definition.
5435
5436 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5437
5438         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5439
5440 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5441
5442         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5443         header separator into loop condition.
5444
5445 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5446
5447         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5448         Return duplicate folder if it has subfolder.
5449
5450 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * elmo.el (elmo-make-folder): Add folder name error check.
5453
5454         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5455         (elmo-nntp-encode-group-string): New inline function.
5456         (elmo-nntp-decode-group-string): Ditto.
5457         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5458         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5459         Use `not' instead of `null';
5460         Use elmo-nntp-decode-group-string.
5461
5462         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5463
5464         * elmo-version.el (elmo-version): Up to 2.7.5.
5465
5466 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5467
5468         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5469         Hide progress gauge if `elmo-folder-move-messages' exits
5470         nonlocally.
5471
5472 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5473
5474         * elmo-imap4.el (elmo-folder-initialize): Use
5475         `elmo-imap4-encode-folder-string' for folder name.
5476
5477 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5478
5479         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5480         `done'.
5481
5482 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5483
5484         * elmo-util.el (elmo-progress-counter-alist): New internal
5485         variable.
5486         (elmo-progress-counter-value): New macro.
5487         (elmo-progress-counter-all-value): Ditto.
5488         (elmo-progress-counter-format): Ditto.
5489         (elmo-progress-counter-set-value): Ditto.
5490         (elmo-progress-set): New function.
5491         (elmo-progress-clear): Ditto.
5492         (elmo-progress-notify): Ditto.
5493
5494         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5495         counter.
5496
5497         * elmo.el (elmo-generic-folder-append-messages): Call
5498         `elmo-progress-notify'.
5499         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5500
5501         * elmo-archive.el (elmo-folder-append-messages): Call
5502         `elmo-progress-notify'.
5503
5504         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5505
5506         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5507
5508         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5509
5510 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5511
5512         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5513         'Create'.
5514         (elmo-message-encache-dop): Added argument `read'.
5515
5516         * elmo-shimbun.el (elmo-message-encache): Ditto.
5517
5518         * elmo-net.el (elmo-message-encache): Ditto.
5519
5520         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5521         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5522         elmo-imap4-seen-messages.
5523         (elmo-folder-msgdb-create-plugged): Initialize
5524         elmo-imap4-seen-messages;
5525         Set seen mark on elmo-imap4-seen-messages.
5526
5527         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5528
5529         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5530         elmo-folder-append-buffer.
5531         (elmo-folder-encache): Added optional argument `read'.
5532         (elmo-message-encache): Ditto.
5533
5534         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5535
5536         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5537
5538         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5539         if append buffer content succeds.
5540
5541 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5542
5543         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5544         elmo-display-progress.
5545
5546         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5547         Set 4th argument of mime-display-message.
5548         (elmo-mime-display-as-is): Ditto.
5549
5550 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5551
5552         * elmo-nmz.el (toplevel): Require 'mime-edit.
5553         (elmo-nmz-content-type-alist): Abolished.
5554         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5555         content is not a message.
5556         (elmo-map-message-fetch): Changed behavior exept for message content;
5557         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5558         content-type, Add From: and Subject: field.
5559
5560 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5561
5562         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5563         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5564         not a message.
5565
5566 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5567
5568         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5569         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5570
5571         * elmo-archive.el (elmo-folder-writable-p): Defined.
5572
5573         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5574
5575         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5576
5577         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5578
5579         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5580
5581         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5582
5583         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5584
5585         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5586
5587         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5588
5589 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5590
5591         * elmo-util.el (elmo-address-quote-specials): New function;
5592         Renamed from `wl-address-quote-specials'.
5593
5594 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5595
5596         * elmo-version.el (elmo-version): Up to 2.7.4.
5597
5598 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5599
5600         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5601
5602 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5603
5604         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5605         both compile-time and run-time to avoid byte-compile warning.
5606
5607 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5608
5609         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5610
5611 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5612
5613         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5614         option.
5615         (elmo-mime-display-as-is-internal): Use it.
5616
5617         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5618         if `read-passwd' is not defined.
5619
5620 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5621
5622         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5623         by original number.
5624         (elmo-folder-status): Call `elmo-folder-open-internal';
5625         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5626         (elmo-folder-close-internal): Set location-alist as nil.
5627         (elmo-folder-clear): Define.
5628         (elmo-folder-check): Don't set location-alist as nil.
5629
5630         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5631
5632 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5633
5634         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5635         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5636
5637         * mmimap.el (mime-imap-entity::requested): New slot.
5638         (mime-imap-location-fetch-entity-p): New generic function.
5639         (mime-decode-parameters): Define using `defun-maybe'.
5640         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5641         content-type structure.
5642         (mime-entity-body): Return empty body if
5643         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5644
5645         * elmo.el (elmo-message-displaying): New variable.
5646
5647         * elmo-mime.el (elmo-mime-message-display): Bind
5648         elmo-message-displaying as t.
5649
5650         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5651
5652 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5653
5654         * acap.el (acap-open): erase buffer before starting network process.
5655         (acap-store): Rewrite.
5656
5657 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5658
5659         * elmo-imap4.el (elmo-imap4-default-mailbox,
5660         elmo-imap4-default-server
5661         elmo-imap4-default-authenticate-type,
5662         elmo-imap4-default-user,
5663         elmo-imap4-default-port,
5664         elmo-imap4-default-stream-type,
5665         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5666
5667         * elmo-pop3.el (elmo-pop3-default-user,
5668         elmo-pop3-default-server,
5669         elmo-pop3-default-authenticate-type,
5670         elmo-pop3-default-port,
5671         elmo-pop3-default-stream-type,
5672         elmo-pop3-stream-type-alist): Ditto.
5673
5674         * elmo-nntp.el (elmo-nntp-default-server,
5675         elmo-nntp-default-user,
5676         elmo-nntp-default-port,
5677         elmo-nntp-default-stream-type,
5678         elmo-nntp-stream-type-alist): Ditto.
5679
5680         * elmo-vars.el: Follow changes above.
5681         (elmo-setting): New custom group; added 'elmo-setting group to
5682         above variables.
5683
5684         * elmo-version.el (elmo-version): Up to 2.7.3.
5685
5686         * acap.el (acap-parse-response): Don't delete process when BYE
5687         response (It causes hang-up on slow network environment).
5688         (toplevel): Added comment.
5689
5690 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5691
5692         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5693
5694         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5695         parsing NIL.
5696         (acap-parse-return-metadata): Ditto.
5697
5698         * slp.el: New file.
5699         (toplevel): Fixed typo.
5700
5701         * acap.el: New file.
5702         (acap-network-stream-open): Show "Connecting..." message.
5703         (acap-parse-response): Fixed problem for BYE untagged response.
5704         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5705         (toplevel): Added tiny comments.
5706
5707 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5708
5709         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5710         space delimiter for uidl response.
5711
5712 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5713
5714         * elmo-vars.el (elmo-use-semi): Eliminated.
5715
5716         * elmo-util.el (elmo-string-assoc-all): New function.
5717
5718 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5719
5720         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5721         property 'mime-preview-situation for `mime-preview-quit'.
5722
5723 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5724
5725         * elmo.el (elmo-message-fetch-with-cache-process): Call
5726         elmo-message-fetch-internal instead of causing an error when fetch
5727         strategy is 'entire but only 'section cache is available.
5728
5729 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5730
5731         * elmo-version.el (elmo-version): Up to 2.7.2.
5732
5733         * elmo.el (elmo-generic-folder-append-messages): Make
5734         fetch-strategy with `use-cache'.
5735
5736         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5737         (elmo-dop-queue-method-name): New macro.
5738
5739 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5740
5741         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5742         unbalanced parenthesis.
5743
5744 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5745
5746         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5747
5748 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5749
5750         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5751         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5752
5753 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5754
5755         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5756         local variables.
5757
5758 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5759
5760         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5761         (elmo-message-use-cache-p): Define.
5762         (elmo-folder-msgdb-create): Treat cache.
5763
5764 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5765
5766         * elmo-nntp.el (elmo-network-initialize-session): Call
5767         `elmo-nntp-send-mode-reader'.
5768         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5769
5770 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5771
5772         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5773         alist.
5774         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5775         assoc.
5776
5777         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5778         for `elmo-plugged-p'.
5779         (elmo-open-network-stream): Fixed stream-type argument.
5780
5781 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5782
5783         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5784         unknown archive type is specified.
5785
5786 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5787
5788         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5789
5790         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5791         while loading msgdb.
5792
5793         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5794         (elmo-folder-open-internal): Rewrite.
5795
5796 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5797
5798         * elmo-mime.el (elmo-mime-display-as-is-internal):
5799         Adjust buffer-multibyte status.
5800
5801 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5802
5803         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5804         of elmo-condition-find-key.
5805
5806         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5807         (elmo-condition-in-msgdb-p): Ditto.
5808         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5809         argument.
5810
5811 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5814
5815 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5818         label for elmo-display-progress.
5819
5820 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5821
5822         * elmo.el (elmo-folder-clear): New method.
5823         (elmo-folder-clear): Define.
5824         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5825
5826         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5827         (elmo-folder-clear): Define.
5828
5829         * elmo-map.el (elmo-folder-clear): Define.
5830
5831         * elmo-version.el (elmo-version): Up to 2.7.1.
5832
5833 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5834
5835         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5836         updates.
5837
5838 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5839
5840         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5841         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5842
5843 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5844
5845         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5846
5847         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5848         and re-written.
5849
5850         * elmo-imap4.el (elmo-folder-initialize): Use
5851         elmo-get-network-stream-type.
5852
5853         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5854
5855         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5856
5857 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5858
5859         * elmo.el (elmo-message-encache): Set unread argument for
5860         elmo-message-fetch.
5861
5862         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5863
5864         * elmo.el (elmo-net-port-info): New method.
5865
5866         * elmo-shimbun.el (elmo-net-port-info): Define.
5867         (elmo-message-encache): Ditto.
5868
5869         * elmo-net.el (elmo-net-port-info): Define as method.
5870
5871         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5872         unplugged status when elmo-enable-disconnected-operation is t.
5873
5874         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5875         of spool folder before checking new number.
5876
5877 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5878
5879         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5880         (elmo-network-setup-session): Ditto.
5881         (elmo-message-fetch-plugged): Ditto.
5882         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5883         (elmo-network-initialize-session): Ditto.
5884         (elmo-pop3-read-response): Abolish 3rd argument.
5885         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5886         (elmo-pop3-read-contents): Ditto.
5887         (elmo-pop3-read-body): Ditto.
5888         (elmo-folder-status): Call elmo-folder-close.
5889         (elmo-pop3-lock): Abolish.
5890         (elmo-pop3-unlock): Ditto.
5891         (elmo-pop3-locked-p): Ditto.
5892         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5893
5894 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5895
5896         * elmo-version.el (elmo-version): Up to 2.7.0.
5897
5898         * elmo-pop3.el (elmo-pop3-debug): New variable.
5899         (elmo-pop3-debug-inhibit-logging): Ditto.
5900         (elmo-pop3-debug): New function.
5901         (elmo-pop3-send-command): Call elmo-pop3-debug.
5902         (elmo-pop3-read-response): Added keep-lock optional argument;
5903         Don't unlock if keep-lock is non-nil.
5904         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5905         (elmo-network-authenticate-session): Bind
5906         elmo-pop3-debug-inhibit-logging as t.
5907         (elmo-network-setup-session): Call elmo-pop3-read-response with
5908         keep-lock argument.
5909         (elmo-pop3-read-msg): Ditto.
5910         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5911         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5912         (elmo-network-initialize-session): Call elmo-pop3-lock.
5913         (elmo-folder-close-internal): Don't clear location-alist slot.
5914         (elmo-folder-check): Clear location-alist slot.
5915
5916 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5917
5918         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5919         (elmo-pop3-send-command): Call elmo-pop3-lock.
5920         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5921         (elmo-pop3-read-contents): Ditto.
5922         (elmo-pop3-lock): New function.
5923         (elmo-pop3-unlock): Ditto.
5924         (elmo-pop3-locked-p): Ditto.
5925         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5926         returns t.
5927
5928 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5929
5930         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5931
5932         * elmo-util.el (elmo-file-field-primitive-condition-match):
5933         New inline function (Don't fetch file content if "first" or "last").
5934         (elmo-file-field-condition-match): Use
5935         elmo-file-field-primitive-condition-match.
5936
5937         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5938         "first".
5939
5940         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5941         (elmo-message-fetch-plugged): Fixed.
5942
5943         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5944
5945 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5946
5947         * elmo.el (elmo-folder-move-messages): Bind
5948         elmo-inhibit-display-retrieval-progress as t while moving messages.
5949
5950         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5951         New variable.
5952         (elmo-inhibit-display-retrieval-progress): Ditto.
5953
5954         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5955         for retrieval progress;
5956         Don't display progress when total buffer size is smaller than
5957         elmo-display-retrieval-progress-threshold.
5958         (elmo-message-fetch-plugged): Don't display progress when
5959         elmo-inhibit-display-retrieval-progress is non-nil.
5960
5961         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5962         for retrieval progress;
5963         Don't display progress when literal size is smaller than
5964         elmo-display-retrieval-progress-threshold.
5965         (elmo-imap4-message-fetch): Don't display progress when
5966         elmo-inhibit-display-retrieval-progress is non-nil.
5967
5968 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5969
5970         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5971         (elmo-imap4-find-next-line): Display progress whille literal fetching.
5972         (elmo-imap4-message-fetch): Likewise.
5973
5974         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5975         (elmo-shimbun-index-range-alist): Ditto.
5976         (elmo-shimbun-use-entire-index): Abolish.
5977         (shimbun-mua-use-entire-index): Ditto.
5978         (elmo-shimbun-folder): Added new slot `range'.
5979         (elmo-folder-initialize): Setup slot `range'.
5980
5981 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
5982
5983         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5984         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5985         (elmo-shimbun-get-headers): Use return value of
5986         `shimbun-article-expiration-days'.
5987         (elmo-folder-close-internal): Clean up last-check slot.
5988
5989         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5990         (elmo-pop3-total-size): New variable.
5991         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5992
5993         * elmo.el (elmo-folder-reserve-status-p): New method.
5994
5995         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5996         (elmo-shimbun-use-entire-index): New user option.
5997         (shimbun-elmo-mua): New class.
5998         (shimbun-mua-search-id): Define.
5999         (shimbun-mua-use-entire-index): Ditto.
6000         (elmo-shimbun-folder:last-check): New slot.
6001         (elmo-shimbun-headers-cache-header-list): Abolish.
6002         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6003         (elmo-shimbun-headers-cache-header-hash): Ditto.
6004         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6005         (elmo-shimbun-headers-cache-last-check): Ditto.
6006         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6007         (elmo-shimbun-headers-check-p): Rewrite.
6008         (elmo-shimbun-msgdb-to-headers): New function.
6009         (elmo-shimbun-get-headers): Rewrite.
6010         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6011         (elmo-folder-open-internal): Get headers only if
6012         `elmo-shimbun-headers-check-p' is non-nil.
6013         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6014         is non-nil.
6015         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6016         (elmo-quit): Removed.
6017
6018         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6019         function.
6020         (elmo-msgdb-overview-entity-set-extra): Ditto.
6021         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6022
6023         * elmo-map.el (elmo-folder-status): Don't call
6024         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6025         is non-nil.
6026
6027 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6028
6029         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6030         of `elmo-msgdb-search-internal-primitive' when condition's car is
6031         `and' or `or'.
6032
6033 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6034
6035         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6036
6037 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6038
6039         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6040         call `elmo-pipe-drain'.
6041
6042 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6043
6044         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6045         typo. (elmo-cache-folder -> elmo-mark-folder)
6046
6047 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6048
6049         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6050         `elmo-message-fetch'.
6051
6052 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6053
6054         * elmo-net.el (elmo-message-encache): Fixed typo.
6055         (elmo-message-fetch-unplugged): Changed call
6056         `elmo-message-fetch-internal' without argument `outbuf'.
6057
6058 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6059
6060         * elmo.el (elmo-message-encache): Define as generic function.
6061         (elmo-message-fetch-field): New generic function.
6062         (elmo-message-fetch-with-cache-process): Cause an error when
6063         fetch strategy is 'entire but only 'section cache is available.
6064         (toplevel): Fixed nmz folder definition.
6065
6066         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6067         (elmo-msgdb-resume-list-filename): Ditto.
6068         (elmo-queue-filename): Ditto.
6069         (elmo-enable-disconnected-operation): Changed default value to t.
6070
6071         * elmo-util.el (elmo-cache-path-section-p): New function.
6072         (elmo-file-cache-get): Use it.
6073         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6074         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6075         (elmo-dop-queue-save): Ditto.
6076
6077         * elmo-net.el (elmo-folder-status-unplugged): Call
6078         elmo-folder-status-dop.
6079         (elmo-folder-list-messages-unplugged): Implemented.
6080         (elmo-folder-delete-messages-unplugged): Define.
6081         (elmo-folder-msgdb-create): Define.
6082         (elmo-folder-msgdb-create-unplugged): Define.
6083         (elmo-folder-mark-as-read-unplugged): Ditto.
6084         (elmo-folder-unmark-read-unplugged): Ditto.
6085         (elmo-folder-mark-as-important-unplugged): Ditto.
6086         (elmo-folder-unmark-important-unplugged): Ditto.
6087         (elmo-message-encache): Ditto.
6088
6089         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6090         (elmo-dop-queue-save): Ditto.
6091
6092         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6093         `elmo-folder-msgdb-create'.
6094         (elmo-folder-append-buffer): Implemented unplugged operation.
6095         (elmo-folder-append-messages): Call parent method in unplugged status.
6096         (elmo-message-fetch-unplugged): Removed definition.
6097         (elmo-message-fetch-field): Implemented.
6098
6099         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6100         (elmo-dop-folder): Removed variable definition.
6101         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6102         (elmo-dop-queue-flush): Implemented.
6103         (elmo-dop-queue-merge): Removed definition (TODO).
6104         (elmo-dop-spool-folder): New function.
6105         (elmo-dop-spool-folder-append-buffer): Ditto.
6106         (elmo-dop-spool-folder-list-messages): Ditto.
6107         (elmo-dop-list-deleting-messages): Ditto.
6108         (elmo-folder-append-buffer-dop): Ditto.
6109         (elmo-folder-delete-messages-dop): Ditto.
6110         (elmo-message-encache-dop): New inline function.
6111         (elmo-create-folder-dop): Ditto.
6112         (elmo-folder-mark-as-read-dop): Ditto.
6113         (elmo-folder-unmark-read-dop): Ditto.
6114         (elmo-folder-mark-as-important-dop): Ditto.
6115         (elmo-folder-unmark-important-dop): Ditto.
6116         (elmo-folder-status-dop): Fixed.
6117         (elmo-folder-append-buffer-dop-delayed): New function.
6118         (elmo-folder-delete-messages-dop-delayed): Ditto.
6119         (elmo-dop-msgdb): Ditto.
6120
6121 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6122
6123         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6124
6125 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6126
6127         * elmo.el (elmo-folder-move-messages): Fixed problem when
6128         `dst-folder' is 'null.
6129
6130 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6131
6132         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6133         instead of current mark.
6134
6135         * elmo-multi.el (elmo-folder-list-importants-internal): No
6136         operation if importants is not list.
6137
6138         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6139         Return t if importants is not list.
6140
6141         * elmo-map.el (elmo-map-folder-list-importants): Define.
6142         (elmo-folder-list-importants-internal): Check return value of
6143         `elmo-map-folder-list-importants-internal'.
6144
6145         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6146
6147         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6148
6149         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6150
6151         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6152
6153 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6154
6155         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6156         (Patch is provided by <kita@coe.nttdata.co.jp>).
6157
6158 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6159
6160         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6161         mark folder.
6162
6163 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6164
6165         * elmo.el (elmo-message-fetch): Define.
6166         (elmo-message-fetch-with-cache-process): New generic method.
6167         (elmo-message-fetch-internal): New generic method.
6168         (elmo-folder-synchronize):
6169
6170         * elmo-archive.el (elmo-message-fetch-internal): Define.
6171         (elmo-message-fetch): Eliminated.
6172
6173         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6174         (elmo-message-fetch): Eliminated.
6175
6176         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6177         argument OUTBUF.
6178         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6179
6180         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6181         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6182
6183         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6184         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6185
6186         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6187
6188         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6189
6190         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6191
6192         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6193         (elmo-message-fetch-unplugged): New generic method.
6194         (elmo-message-fetch-internal): Remove cache process (Renamed from
6195         `elmo-message-fetch').
6196
6197         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6198         (elmo-message-fetch): Eliminated.
6199         (elmo-message-fetch-unplugged): Ditto.
6200
6201         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6202
6203 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6204
6205         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6206         of `to-be-deleted' from number-alist to number-list.
6207
6208 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6209
6210         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6211         (elmo-folder-mark-as-important): Ditto.
6212
6213 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6214
6215         * elmo.el (elmo-folder): Added process-duplicates slot.
6216
6217         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6218         (elmo-folder-unmark-read): Ditto.
6219         (elmo-folder-unmark-important): Ditto.
6220         (elmo-folder-mark-as-important): Ditto.
6221
6222         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6223         duplicated message processing.
6224
6225         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6226
6227 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6228
6229         * elmo-util.el (elmo-list-subdirectories-1): New function.
6230         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6231         (elmo-mapcar-list-of-list): New function.
6232
6233         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6234         `elmo-mapcar-list-of-list' instead of `mapcar'.
6235
6236         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6237
6238         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6239         `elmo-have-link-count'. Return the fully qualified folder name.
6240
6241 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6242
6243         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6244         (elmo-shimbun-headers-cache): New internal variable.
6245         (elmo-shimbun-headers-cache-header-list): New inline function.
6246         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6247         (elmo-shimbun-headers-cache-header-hash): Ditto.
6248         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6249         (elmo-shimbun-headers-cache-last-check): Ditto.
6250         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6251         (elmo-shimbun-lapse-seconds): Ditto.
6252         (elmo-shimbun-headers-cache-check-p): Ditto.
6253         (elmo-shimbun-get-headers): New function.
6254         (elmo-folder-open-internal): Call it.
6255         (elmo-quit): Define (Clear headers-cache).
6256
6257 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6258
6259         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6260
6261         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6262         (elmo-msgdb-flist-save): Ditto.
6263
6264         * elmo-shimbun.el (elmo-folder-list-subfolders):
6265         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6266         (elmo-folder-exists-p): Ditto.
6267
6268         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6269         argument for `shimbun-header-insert'.
6270
6271 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6272
6273         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6274         at first time.
6275
6276         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6277         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6278
6279 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6280
6281         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6282         (elmo-folder-plugged-p): Define.
6283         (elmo-folder-set-plugged): Ditto.
6284         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6285         (elmo-folder-list-messages-internal): Return t if unplugged.
6286         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6287
6288         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6289         when elmo-folder-list-messages-internal method of children returns t.
6290
6291         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6292         pair is nil.
6293         (elmo-folder-open-internal): Don't update if unplugged status.
6294
6295 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6296
6297         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6298         new message.
6299
6300 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6301
6302         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6303
6304         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6305         saving.
6306
6307 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6308
6309         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6310
6311         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6312         (elmo-folder-open-internal): Set up headers slot.
6313         (elmo-folder-check): Call elmo-folder-close-internal and
6314         elmo-folder-open-internal.
6315         (elmo-folder-close-internal): Clean up headers slot.
6316
6317 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6318
6319         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6320         exactly folder list.
6321         (elmo-folder-append-messages): Fixed append archive with prefix.
6322
6323         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6324         make temp files with start-number.
6325
6326         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6327
6328 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6329
6330         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6331         argument `visible-only'.
6332         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6333         instead of `if'.
6334
6335         * elmo-pop3.el (elmo-folder-open-internal): Check
6336         `elmo-inhibit-number-mapping' is non-nil.
6337
6338         * elmo-pipe.el (elmo-folder-status): Fixed.
6339
6340 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6341
6342         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6343
6344         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6345         (elmo-folder-open-internal): Setup `header-hash' slot.
6346         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6347         information.
6348         (elmo-map-message-fetch): Ditto.
6349
6350 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6351
6352         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6353         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6354         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6355         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6356
6357         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6358
6359 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6360
6361         * sb-airs.el: Added footer.
6362
6363         * shimbun.el (shimbun-article): Define as luna-method.
6364
6365         * sb-tcup.el: New file.
6366
6367         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6368         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6369
6370 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6371
6372         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6373         (shimbun-get-headers): Ditto.
6374
6375         * elmo.el: Moved obsolete variable definitions from
6376         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6377
6378         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6379         groups.
6380
6381         * shimbun.el: New file.
6382
6383         * elmo-shimbun.el: New file.
6384
6385         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6386         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6387         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6388         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6389
6390 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6391
6392         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6393         hierarchy is t.
6394
6395 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6396
6397         * elmo.el (elmo-folder-msgdb): Define as macro.
6398         (elmo-folder-open): Added argument `load-msgdb'.
6399         (elmo-generic-folder-open): Ditto.
6400         (elmo-folder-encache): New function.
6401
6402         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6403
6404         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6405
6406         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6407         Eliminated argument FOLDER and added argument MSGDB.
6408         (elmo-dop-queue-load): Moved from elmo-dop.el.
6409         (elmo-dop-queue-save): Ditto.
6410
6411         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6412
6413         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6414
6415         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6416         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6417         (elmo-filter-folder-list-importants-internal): Ditto.
6418
6419         * elmo-map.el (elmo-folder-pack-number): Ditto.
6420
6421         * elmo-mime.el (elmo-mime-message-display): Ditto.
6422
6423         * elmo.el (elmo-generic-folder-commit): Ditto.
6424         (elmo-folder-list-unreads): Ditto.
6425         (elmo-folder-list-importants): Ditto.
6426         (elmo-generic-folder-commit): Ditto.
6427         (elmo-message-set-mark): Ditto.
6428         (elmo-generic-folder-append-msgdb): Ditto.
6429         (elmo-folder-synchronize): Ditto.
6430         (elmo-folder-messages): Ditto.
6431         (elmo-init): Call elmo-dop-queue-load.
6432         (elmo-folder-list-messages): Ditto.
6433
6434         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6435         (elmo-nntp-folder-process-crosspost): Ditto.
6436         (elmo-folder-list-unreads-internal): Ditto.
6437
6438         * elmo-dop.el: Removed old functions.
6439
6440 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6441
6442         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6443         `folder' to `msgdb'.
6444
6445 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6446
6447         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6448         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6449
6450         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6451         case-fold-search.
6452
6453 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6454
6455         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6456         defined.
6457
6458         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6459         (mmimap-parse-parameters-from-list): Define as alias for
6460         `mime-decode-parameter-plist' if it is defined as function.
6461         (mmimap-make-mime-entity): Added argument `number'.
6462         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6463         as 0.
6464         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6465
6466         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6467
6468         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6469
6470         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6471
6472 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6473
6474         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6475
6476         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6477         when elmo-imap4-default-authenticate-type is nil.
6478         (elmo-folder-list-subfolders): Ditto
6479         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6480         (elmo-imap4-fetch-callback-1-subr): Renamed from
6481         `elmo-imap4-fetch-callback-1' and define as inline function.
6482         (elmo-imap4-fetch-callback-1):
6483         Renamed from `elmo-imap4-fetch-callback'.
6484         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6485
6486         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6487         msgdb path (To keep compatibility with main trunk).
6488
6489         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6490
6491         * elmo-util.el (elmo-make-file-cache): Moved position of
6492         some macros.
6493
6494         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6495         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6496         instead of `elmo-pop3-inhibit-uidl'.
6497         (elmo-folder-exists-p): Ditto.
6498         (elmo-pop3-folder-list-messages): Ditto.
6499
6500         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6501         instead of `elmo-pop3-inhibit-uidl'.
6502         (elmo-folder-status): Ditto.
6503
6504         * elmo-dop.el (elmo-dop-folder): New variable.
6505         (elmo-dop-lock-message): Eliminated.
6506         (elmo-dop-unlock-message): Ditto.
6507         (elmo-dop-lock-list-load): Ditto.
6508         (elmo-dop-lock-list-save): Ditto.
6509         (elmo-dop-delete-folder): Ditto.
6510         (elmo-dop-rename-folder): Ditto.
6511
6512         * elmo.el: Removed incomplete commentary.
6513
6514 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6515
6516         * elmo.el (toplevel): Require 'elmo-version first;
6517         for little `recursive-load-depth' settings.
6518         Fix "ends here" comment.
6519
6520 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6521
6522         * elmo-util.el (toplevel): Require 'poem;
6523         Some functions are moved from elmo-cache.el.
6524
6525         * elmo-net.el (toplevel): Require 'elmo-cache.
6526
6527         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6528
6529         * elmo.el (toplevel): Ditto.
6530
6531         * elmo-cache.el: Rewrite with luna;
6532         Some functions are moved to elmo-util.el.
6533
6534         * elmo-internal.el (elmo-internal-folder-list): New variable.
6535         (elmo-internal-folder-initialize): Rewrite.
6536         (elmo-folder-list-subfolders): Ditto.
6537
6538         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6539         (elmo-cache-collect-sub-directories): Ditto.
6540
6541 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6542
6543         * elmo-version.el (elmo-version): Up to 2.5.8.
6544
6545         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6546
6547         * elmo-util.el (elmo-list-insert): New function.
6548
6549 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6550
6551         * elmo.el (elmo-init): New function.
6552         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6553
6554         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6555         (Renamed from `elmo-localdir-header-chop-length').
6556
6557         * elmo-pop3.el (elmo-pop3-use-cache,
6558         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6559
6560         * elmo-nntp.el (elmo-message-fetch): Define.
6561         (elmo-message-fetch-unplugged): Ditto.
6562         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6563         (elmo-nntp-use-cache): Ditto.
6564         (elmo-nntp-max-number-precedes-list-active): Ditto.
6565
6566         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6567
6568         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6569         `elmo-msgdb-insert-file-header'.
6570         Use `elmo-msgdb-file-header-chop-length'.
6571
6572         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6573         `elmo-vars.el'.
6574
6575         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6576         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6577         `elmo-msgdb-insert-file-header'.
6578
6579         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6580         Use new variable;
6581         Define obsolete variables with `elmo-define-obsolete-variable',
6582
6583         * elmo-util.el (elmo-warning-buffer-name): New constant.
6584         (elmo-warning): New function.
6585         (elmo-obsolete-variable-alist): New variable.
6586         (elmo-obsolete-variable-show-warnings): New variable.
6587         (elmo-define-obsolete-variable): New function.
6588         (elmo-resque-obsolete-variable): Ditto.
6589         (elmo-resque-obsolete-variables): Ditto.
6590
6591 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6592
6593         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6594         Eliminated.
6595
6596         * elmo-pop3.el, elmo-nntp.el: Use custom.
6597
6598 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6599
6600         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6601         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6602
6603 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6604
6605         * Luna-fy Kenichi OKADA's following changes.
6606         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6607         `nohide'.
6608         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6609
6610 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6611
6612         * elmo-util.el (elmo-display-progress): Prefer
6613         `progress-feedback-with-label' to `lprogress-display'.
6614
6615 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6616
6617         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6618
6619 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6620
6621         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6622         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6623         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6624         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6625         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6626         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6627         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6628         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6629         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6630         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6631         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6632         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6633         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6634
6635 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6636
6637         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6638         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6639
6640 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6641
6642         * elmo.el (elmo-folder-process-crosspost): New generic method.
6643         (elmo-folder-writable-p): Ditto.
6644         (elmo-folder-message-appendable-p): Eliminated.
6645         (elmo-generic-folder-append-msgdb): Rewrite.
6646         (elmo-newsgroups-hashtb): New internal variable.
6647         (elmo-crosspost-message-set): Eliminated.
6648         (elmo-crosspost-message-delete): Ditto.
6649         (elmo-setup-subscribed-newsgroups): New function.
6650         (elmo-crosspost-message-alist-modified): New internal variable.
6651         (elmo-crosspost-message-alist-load): New function (Renamed from
6652         `wl-crosspost-alist-load').
6653         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6654         `wl-crosspost-alist-save').
6655
6656         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6657
6658         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6659         `unreads'.
6660         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6661         elmo-newsgroups-hashtb).
6662         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6663         `elmo-nntp-folder-update-crosspost-message-alist'.
6664         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6665         `elmo-nntp-groups-hashtb'.
6666         (elmo-nntp-make-groups-hashtb): Eliminated.
6667         (elmo-nntp-parse-newsgroups): New function (Renamed from
6668         `wl-parse-newsgroups').
6669         (elmo-folder-creatable-p, elmo-folder-writable-p,
6670         elmo-folder-close-internal, elmo-folder-mark-as-read,
6671         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6672         Define.
6673         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6674
6675         * elmo-net.el (elmo-message-fetch): Check buffer size.
6676
6677         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6678
6679         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6680
6681         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6682         before `close' command.
6683
6684         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6685         `mark-alist' (All other related portions are changed).
6686
6687 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6688
6689         * elmo-util.el (elmo-create-hash-size): Eliminated.
6690         (elmo-make-hash) Make a hash with `one less than a power of two'
6691         length.
6692
6693         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6694         (elmo-hash-maximum-size): Changed value.
6695
6696 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6697
6698         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6699         (elmo-mime-message-display-as-is): Ditto.
6700
6701 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6702
6703         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6704         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6705
6706 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6707
6708         * elmo-mark.el: New file.
6709
6710         * elmo-internal.el: Rewrite (Almost empty).
6711
6712 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6713
6714         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6715         (mime-imap-entity-header-string): Ditto.
6716         (mmimap-entity-section): Rewrite.
6717
6718 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6719
6720         * elmo-nmz.el: New file.
6721
6722         * elmo-pipe.el: Rewrite with luna.
6723
6724 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-archive.el: Rewrite with luna.
6727
6728         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6729         (elmo-folder-list-importants-internal): Ditto.
6730
6731 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6732
6733         * elmo-archive.el (elmo-archive-version): Abolish.
6734         (toplevel) Removed `boso' comment.
6735
6736 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6737
6738         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6739         elmo-msgdb-add-msgs-to-seen-list-subr;
6740         Changed argument seen-marks to unread-marks.
6741
6742         * elmo-nntp.el: Rewrite with luna.
6743
6744 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6745
6746         * elmo-filter.el: Rewrite with luna.
6747
6748 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6749
6750         * elmo-pop3.el: Rewrite with luna.
6751
6752 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo-multi.el: Rewrite with luna.
6755
6756         * elmo-vars.el (elmo-use-killed-list): Abolish.
6757         All other related portions are changed.
6758         (elmo-filename-replace-string-alist): Renamed from
6759         elmo-msgid-replace-string-alist.
6760
6761 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6762
6763         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6764
6765         * elmo-map.el: New file.
6766         * elmo-maildir.el: Rewrite with luna.
6767
6768 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6769
6770         * elmo.el: Changed meaning of `elmo-folder-commit'.
6771         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6772
6773 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6774
6775         * elmo.el (elmo-folder-append-buffer): New function.
6776         (Renamed from `elmo-append-msg')
6777
6778 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6779
6780         * elmo-mime.el: New file.
6781
6782 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-cache.el: Rewrite.
6785
6786 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6787
6788         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6789
6790 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo-vars.el (elmo): New group.
6793         (elmo-strict-diff-folder-regexp): New variable.
6794
6795         * elmo-util.el (elmo-call-func): Abolish.
6796         (elmo-folder-get-type): Ditto.
6797         (elmo-*-get-spec): Ditto.
6798         (elmo-*-spec-*): Ditto.
6799         (elmo-imap4-identical-name-space-p): Ditto.
6800         (elmo-folder-identical-system-p): Ditto.
6801         (elmo-folder-direct-copy-alist): Ditto.
6802         (elmo-folder-direct-copy-p): Ditto.
6803
6804         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6805         (elmo-folder-initialize): Define.
6806         (elmo-folder-get-primitive-list): Ditto.
6807
6808         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6809         (elmo-folder-initialize): Define.
6810         Renamed `elmo-network-session-host-internal' to
6811         `elmo-network-session-server-internal'.
6812
6813         * elmo-multi.el (elmo-multi-folder): New luna class.
6814         (elmo-folder-initialize): Define.
6815         (elmo-folder-get-primitive-list): Ditto.
6816         (elmo-folder-contains-type): Ditto.
6817         (elmo-message-use-cache-p): Ditto.
6818
6819         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6820         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6821
6822         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6823         (elmo-folder-initialize): Define.
6824
6825         * elmo-filter.el (elmo-filter-folder): New luna class.
6826         (elmo-folder-initialize): Define.
6827         (elmo-folder-get-primitive-list): Ditto.
6828         (elmo-folder-contains-type): Ditto.
6829
6830 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6831
6832         * elmo-imap4.el: Rewrite with luna.
6833
6834         * mmimap.el: New file.
6835
6836         * mmelmo.el, mmelmo-imap4.el: Removed.
6837
6838         * elmo-net.el: Ditto.
6839
6840         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6841         (elmo-folder-initialize): Define.
6842
6843         * elmo-archive.el (elmo-archive-folder): New luna class.
6844         (elmo-folder-initialize): Define.
6845
6846         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6847         `elmo-folder-msgdb-path'.
6848         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6849         `elmo-make-folder'.
6850
6851 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6852
6853         * elmo.el: New file.
6854
6855         * elmo2.el: Renamed to elmo.el.
6856
6857 \f
6858 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6859
6860         * elmo-cache.el (elmo-cache-expire-by-size): Count
6861         a disk usage for a cache file entry in KB even when
6862         its kind is a directory.
6863
6864 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6865
6866         * elmo-version.el (elmo-version): Up to 2.5.7.
6867
6868 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6869
6870         * elmo-version.el (elmo-version): Up to 2.5.6.
6871
6872 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6873
6874         * elmo-version.el (elmo-version): Up to 2.5.5.
6875
6876 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6877
6878         * elmo-imap4.el (elmo-network-authenticate-session):
6879         Fixed a logic for response checking.
6880
6881 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6882
6883         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6884         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6885         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6886         `sasl-mechanisms'.
6887
6888         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6889         for `starttls-open-stream' and `starttls-negotiate'.
6890
6891         * elmo-nntp.el: Remove autoload settings for
6892         `starttls-open-stream' and `starttls-negotiate'.
6893
6894         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6895         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6896         `luna-define-class' with `eval-and-compile'.
6897
6898 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6899
6900         * elmo-util.el (elmo-read-search-condition-internal):
6901         Require an element of table for searching field.
6902
6903 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6904
6905         * elmo-version.el (elmo-version): Up to 2.5.4.
6906
6907 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6908
6909         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6910
6911 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6912
6913         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6914
6915 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6916
6917         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6918         before greeting.
6919
6920 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6921
6922         * elmo-imap4.el (elmo-imap4-delete-folder):
6923         Send "close" before "delete" (Use commented out line).
6924         (elmo-imap4-rename-folder): Ditto.
6925
6926         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6927         folder string itself.
6928         (elmo-dop-list-deleted): New function.
6929         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6930         killed.
6931
6932         * elmo-util.el (elmo-string-rassoc-all): New function.
6933
6934 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6935
6936         * elmo-version.el (elmo-version): Up to 2.5.3.
6937
6938         * elmo-net.el (elmo-network-get-session): Changed logic for
6939         checking process status.
6940
6941         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6942         process is nil;
6943         Changed logic for checking process status.
6944
6945 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6946
6947         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6948         before greeting.
6949         (elmo-network-setup-session): Set UIDL hash size according to
6950         the length of list response.
6951         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6952         according to the length of list response;
6953         Return the length of list response.
6954         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6955
6956 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6957
6958         * elmo-imap4.el (toplevel): Require 'ssl.
6959         Add autoload 'starttls.
6960         * elmo-pop3.el (toplevel): Ditto.
6961         * elmo-nntp.el (toplevel): Ditto.
6962
6963 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6964
6965         * elmo-imap4.el (toplevel): defun at compile time.
6966         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6967         sasl-next-step, sasl-step-data, sasl-step-set-data.
6968         * elmo-pop3.el (toplevel): Ditto.
6969
6970 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6971
6972         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6973
6974 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6975
6976         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6977         if error.
6978         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6979         and `elmo-pop-auth-apop'.
6980
6981 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6982
6983         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6984
6985 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6986
6987         * elmo-pop3.el (elmo-network-authenticate-session): Split
6988         encoded response value.
6989
6990 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6991
6992         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6993         `elmo-pop3-force-login'.
6994         Redefine `sasl-mechanisms'.
6995         * elmo-vars.el (elmo-pop3-force-login): Ditto.
6996
6997 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6998
6999         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7000         Delete `elmo-imap4-authenticator-alist'.
7001         (elmo-imap4-auth-cram-md5): Delete.
7002         (elmo-imap4-auth-digest-md5): Delete.
7003
7004 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7005
7006         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7007         (elmo-pop3-auth-scram-md5): Ditto.
7008         (elmo-pop3-auth-cram-md5): Ditto.
7009
7010 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7011
7012         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7013         Delete `elmo-pop3-authenticator-alist'.
7014
7015 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7016
7017         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7018         new SASL API.
7019         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7020
7021 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7022
7023         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7024
7025 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7026
7027         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7028         Fixed problem when `elmo-pop3-use-uidl' is nil.
7029         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7030
7031 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7032
7033         * elmo-version.el (elmo-version): Up to 2.5.2.
7034
7035 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7036
7037         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7038         New function.
7039         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7040         (elmo-pop3-msgdb-create-as-numlist): Use it.
7041
7042         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7043         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7044
7045         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7046         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7047
7048 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7049
7050         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7051         when elmo-mark-as-read is called with second argument nil.
7052
7053 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7054
7055         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7056         Moved to elmo-util.el.
7057
7058         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7059         Moved from elmo-pipe.el
7060
7061         * elmo-archive.el (elmo-archive-call-process): Enclose with
7062         static-if.
7063
7064         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7065         "RFC822" (because RFC822.PEEK is obsolete).
7066         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7067
7068 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7069
7070         * elmo-archive.el (elmo-archive-call-process): Don't check for
7071         the exit status when Nemacs is running.
7072
7073 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7074
7075         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7076         'plain.
7077
7078         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7079         (elmo-pop3-get-spec): Set default of auth to 'user.
7080
7081         * elmo-imap4.el (elmo-imap4-session-check):
7082         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7083         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7084         (elmo-imap4-auth-login): New function; Revival.
7085         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7086         `elmo-imap4-auth-login'.
7087
7088 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7089
7090         * elmo2.el (toplevel): Move `product-provide' declare.
7091         * mmelmo.el (toplevel): Ditto.
7092
7093 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7094
7095         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7096
7097 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7098
7099         * elmo-util.el (elmo-folder-get-store-type): New function.
7100         (elmo-folder-direct-copy-p): Use it.
7101
7102 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7103
7104         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7105         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7106         and result of `elmo-imap4-use-flag-p'.
7107         (elmo-imap4-fetch-callback-1): Set mark according to
7108         the result of `elmo-imap4-use-flag-p'.
7109
7110 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7111
7112         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7113         (elmo-generic-list-folder-unread): Ditto.
7114         (elmo-folder-get-info): Ditto.
7115         (elmo-folder-set-info-max-by-numdb): Ditto.
7116         (elmo-folder-get-info-max): Ditto.
7117         (elmo-folder-get-info-length): Ditto.
7118         (elmo-folder-get-info-unread): Ditto.
7119         (elmo-folder-info-make-hashtb): Ditto.
7120
7121         * elmo2.el: Removed above functions.
7122
7123 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7124
7125         * elmo-imap4.el (toplevel): Require 'ssl.
7126         Add autoload 'starttls.
7127         * elmo-pop3.el (toplevel): Ditto.
7128         * elmo-nntp.el (toplevel): Ditto.
7129
7130 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7131
7132         * elmo-imap4.el (toplevel): defun at compile time.
7133         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7134         sasl-next-step, sasl-step-data, sasl-step-set-data.
7135         * elmo-pop3.el (toplevel): Ditto.
7136
7137 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7138
7139         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7140
7141 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7142
7143         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7144         if error.
7145         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7146         and `elmo-pop-auth-apop'.
7147
7148 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7149
7150         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7151
7152 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7153
7154         * elmo-pop3.el (elmo-network-authenticate-session): Split
7155         encoded response value.
7156
7157 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7158
7159         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7160         `elmo-pop3-force-login'.
7161         Redefine `sasl-mechanisms'.
7162         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7163
7164 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7165
7166         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7167         Delete `elmo-imap4-authenticator-alist'.
7168         (elmo-imap4-auth-cram-md5): Delete.
7169         (elmo-imap4-auth-digest-md5): Delete.
7170
7171 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7172
7173         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7174         (elmo-pop3-auth-scram-md5): Ditto.
7175         (elmo-pop3-auth-cram-md5): Ditto.
7176
7177 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7178
7179         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7180         Delete `elmo-pop3-authenticator-alist'.
7181
7182 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7183
7184         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7185         new SASL API.
7186         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7187
7188 \f
7189 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7190
7191         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7192
7193 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * elmo-nntp.el (elmo-nntp-get-folders-info):
7196         Fixed problem when '\' character is contained in user-id.
7197         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7198
7199 \f
7200 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7201
7202         * elmo-imap4.el (elmo-imap4-delete-folder):
7203         Send "close" before "delete" (Use commented out line).
7204         (elmo-imap4-rename-folder): Ditto.
7205
7206         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7207         folder string itself.
7208         (elmo-dop-list-deleted): New function.
7209         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7210         killed.
7211
7212         * elmo-util.el (elmo-string-rassoc-all): New function.
7213
7214         * elmo-version.el (elmo-version): Up to 2.5.1.
7215
7216 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7219
7220         * elmo-internal.el (elmo-internal-search): Fix last change.
7221
7222 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo-internal.el (elmo-internal-search): Rewrite.
7225         (Fixed problem which is pointed out by Akihiro MOTOKI
7226         <motoki@da.jp.nec.com>)
7227
7228         * elmo-version.el (elmo-version): Up to 2.5.0.
7229
7230 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7231
7232         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7233
7234 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7235
7236         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7237         non-nil, make hierarchy.
7238
7239 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7240
7241         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7242         `elmo-pop3-use-uidl' must be bound to nil.
7243         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7244
7245 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7246
7247         * elmo-util.el (elmo-copy-file): Don't cause an error after
7248         `add-name-to-file' failed.
7249
7250         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7251         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7252
7253 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7254
7255         * elmo-version.el (elmo-version): Up to 2.3.93.
7256
7257 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7258
7259         * elmo-util.el (elmo-flatten): New function.
7260
7261 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7262
7263         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7264         sync Author header.
7265         * elmo-cache.el (toplevel): Ditto.
7266         * elmo-database.el (toplevel): Ditto.
7267         * elmo-date.el (toplevel): Ditto.
7268         * elmo-dop.el (toplevel): Ditto.
7269         * elmo-filter.el (toplevel): Ditto.
7270         * elmo-imap4.el (toplevel): Ditto.
7271         * elmo-internal.el (toplevel): Ditto.
7272         * elmo-localdir.el (toplevel): Ditto.
7273         * elmo-localnews.el (toplevel): Ditto.
7274         * elmo-maildir.el (toplevel): Ditto.
7275         * elmo-msgdb.el (toplevel): Ditto.
7276         * elmo-multi.el (toplevel): Ditto.
7277         * elmo-net.el (toplevel): Ditto.
7278         * elmo-nntp.el (toplevel): Ditto.
7279         * elmo-pipe.el (toplevel): Ditto.
7280         * elmo-pop3.el (toplevel): Ditto.
7281         * elmo-util.el (toplevel): Ditto.
7282         * elmo-vars.el (toplevel): Ditto.
7283         * elmo2.el (toplevel): Ditto.
7284         * mmelmo-imap4.el (toplevel): Ditto.
7285         * mmelmo.el (toplevel): Ditto.
7286
7287         * elmo-version.el (elmo-version): Move to top.
7288
7289         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7290         * elmo-imap4.el (toplevel): Ditto.
7291         * elmo-localdir.el (toplevel): Ditto.
7292         * elmo-msgdb.el (toplevel): Ditto.
7293         * elmo-nntp.el (toplevel): Ditto.
7294         * elmo-pop3.el (toplevel): Ditto.
7295         * elmo-version.el (toplevel): Ditto.
7296
7297         * elmo-localnews.el (toplevel): Added Keyword header.
7298
7299 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7300
7301         * elmo-version.el (product-version-as-string): Defined using
7302         `defun-maybe'.
7303         (toplevel): Use it.
7304
7305         * elmo-localdir.el (toplevel): Updated copyright notice.
7306         * elmo-version.el (toplevel): Ditto.
7307         * elmo-msgdb.el (toplevel): Ditto.
7308         * elmo-imap4.el (toplevel): Ditto.
7309         * elmo-nntp.el (toplevel): Ditto.
7310         * elmo-pop3.el (toplevel): Ditto.
7311
7312 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7313
7314         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7315         messages.
7316
7317         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7318         parameter value (It sometimes contains raw kanji).
7319
7320 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7321
7322         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7323         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7324
7325 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7326
7327         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7328
7329 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7330
7331         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7332         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7333
7334 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7335
7336         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7337         value if selecting folder succceeded.
7338         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7339
7340 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7341
7342         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7343         representation.
7344
7345         * elmo-util.el (elmo-string-matched-member): New function.
7346
7347 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7348
7349         * elmo-util.el (elmo-unintern): New macro.
7350         (elmo-number-set-member): Fixed docstring.
7351
7352         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7353         tag token.
7354
7355 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7356
7357         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7358         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7359
7360 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7361
7362         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7363         `no-error'.
7364         Added docstring.
7365         Return non-nil if selecting folder succeeded.
7366         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7367
7368 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7369
7370         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7371         `file-name-completion' returns t.
7372         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7373         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7374         directory if it does not exist.
7375         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7376         for iteration.
7377
7378 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7379
7380         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7381         enclosure (It's harmful in unplugged status).
7382
7383         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7384
7385         * mmelmo-1.el: Removed.
7386
7387         * mmelmo-2.el: Ditto.
7388
7389         * mmelmo-imap4-1.el: Ditto.
7390
7391         * mmelmo-imap4-2.el: Ditto.
7392
7393         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7394
7395         * mmelmo.el: Merged mmelmo-2.el.
7396
7397         * elmo-version.el (elmo-version): Up to 2.3.92.
7398
7399 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7400
7401         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7402         elmo-update-number): Remove last period in "...done." message.
7403         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7404         Ditto.
7405         * elmo-cache.el (elmo-cache-expire-by-size,
7406         elmo-cache-get-sorted-cache-file-list,
7407         elmo-cache-msgdb-create-as-numlist): Ditto.
7408         * elmo-dop.el (elmo-dop-save-pending-messages,
7409         (elmo-dop-flush-pending-append-operations): Ditto.
7410         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7411         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7412         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7413         (elmo-localdir-pack-number): Ditto.
7414         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7415         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7416         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7417         mime-write-entity-content): Ditto.
7418         * pldap.el (ldap-search-basic): Ditto.
7419
7420 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7421
7422         * elmo-version.el (elmo-version): Up to 2.3.91.
7423
7424         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7425         Only when filter is 'last'.
7426
7427         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7428         (elmo-condition-parse-search-value): Use it.
7429         (elmo-read-search-condition-internal): Quote value only when
7430         it is not an atom.
7431
7432 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7433
7434         * elmo2.el (elmo-generic-folder-diff): Fix.
7435
7436 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7437
7438         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7439         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7440         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7441         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7442         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7443         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7444
7445 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7446
7447         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7448         extra-fields.
7449
7450 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7451
7452         * elmo-version.el (elmo-version): Up to 2.3.90.
7453
7454         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7455         (elmo-imap4-list-folder-important): Ditto.
7456
7457 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7458
7459         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7460
7461 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7462
7463         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7464
7465 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7466
7467         * elmo-nntp.el (elmo-network-initialize-session):
7468         Add starttls negotiation.
7469
7470 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7471
7472         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7473         response.
7474         (elmo-network-setup-session): Define.
7475         Call `elmo-nntp-send-mode-reader' when session opened.
7476
7477 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7478
7479         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7480
7481 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7482
7483         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7484         an invalid SPACE character ahead of `SEARCH' command.  Move
7485         a valid SPACE character following `SEARCH' from conditional
7486         `format' arguments to control-strings.
7487
7488 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7489
7490         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7491         was succeeded.
7492
7493         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7494
7495 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7496
7497         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7498         `w32-get-true-file-link-count' as t.
7499
7500         * elmo-imap4.el (elmo-imap4-read): Abolished.
7501         (Renamed to `elmo-read' and moved to elmo-util.el)
7502         All other related portions are changed.
7503
7504         * elmo-util.el (elmo-read): New function.
7505         (elmo-condition-parse-search-value): Use it.
7506
7507 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7508
7509         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7510
7511         * elmo-nntp.el (elmo-nntp-session): Define.
7512         (elmo-nntp-setting): Abolished.
7513         All other related portions are changed.
7514         (elmo-nntp-get-server-command): Changed argument.
7515         (elmo-nntp-set-server-command): Ditto.
7516         (elmo-nntp-xover-p): Ditto.
7517         (elmo-nntp-set-xover): Ditto.
7518         (elmo-nntp-listgroup-p): Ditto.
7519         (elmo-nntp-set-listgroup): Ditto.
7520         (elmo-nntp-list-active-p): Ditto.
7521         (elmo-nntp-set-list-active): Ditto.
7522         (elmo-nntp-xhdr-p): Ditto.
7523         (elmo-nntp-set-xhdr): Ditto.
7524         (elmo-nntp-flush-connection): Abolished.
7525         (elmo-nntp-get-connection): Abolished.
7526         (elmo-nntp-get-session): New function.
7527         (elmo-network-initialize-session): Defined.
7528         (elmo-network-authenticate-session): Ditto.
7529         (elmo-nntp-send-mode-reader): Changed argument.
7530         (elmo-nntp-send-command): Changed argument.
7531         All other related portions are changed.
7532         (elmo-nntp-read-response): Ditto.
7533         (elmo-nntp-read-raw-response): Ditto.
7534         (elmo-nntp-read-contents): Ditto.
7535         (elmo-nntp-read-body): Ditto.
7536         (elmo-nntp-goto-folder): Abolished.
7537         (elmo-nntp-select-group): New function.
7538         All other related portions are changed.
7539         (This function substitutes `elmo-nntp-goto-folder')
7540         (elmo-nntp-msgdb-create-by-header): Rewrite.
7541         (elmo-nntp-get-overview): Eliminated.
7542         (elmo-nntp-get-message): Ditto.
7543         (elmo-nntp-open-connection) Abolished.
7544         (elmo-nntp-read-msg): Rewrite.
7545         (elmo-nntp-post): Ditto.
7546         (elmo-nntp-send-data): Abolished.
7547         (elmo-nntp-send-buffer): New function.
7548         (elmo-nntp-send-data-line): Define as inline function.
7549         (elmo-nntp-get-folders-info-prepare): Use session as key.
7550         (elmo-nntp-groups-read-response): Changed argument.
7551         (elmo-nntp-retrieve-headers): Ditto.
7552         (elmo-nntp-msgdb-create-message): Ditto.
7553
7554         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7555         when searching by 'since' or 'before'.
7556
7557 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7558
7559         * elmo-version.el (toplevel): Use product-version-as-string for set
7560         verstion-string, if defined.
7561
7562 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7563
7564         * elmo-util.el: Doc fixes.
7565
7566 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7567
7568         * elmo-archive.el (toplevel): Use product-provide.
7569         * elmo-cache.el (toplevel): Ditto.
7570         * elmo-database.el (toplevel): Ditto.
7571         * elmo-date.el (toplevel): Ditto.
7572         * elmo-dop.el (toplevel): Ditto.
7573         * elmo-filter.el (toplevel): Ditto.
7574         * elmo-imap4.el (toplevel): Ditto.
7575         * elmo-internal.el (toplevel): Ditto.
7576         * elmo-localdir.el (toplevel): Ditto.
7577         * elmo-localnews.el (toplevel): Ditto.
7578         * elmo-maildir.el (toplevel): Ditto.
7579         * elmo-msgdb.el (toplevel): Ditto.
7580         * elmo-multi.el (toplevel): Ditto.
7581         * elmo-net.el (toplevel): Ditto.
7582         * elmo-nntp.el (toplevel): Ditto.
7583         * elmo-pipe.el (toplevel): Ditto.
7584         * elmo-pop3.el (toplevel): Ditto.
7585         * elmo-util.el (toplevel): Ditto.
7586         * elmo-vars.el (toplevel): Ditto.
7587         * elmo2.el (toplevel): Ditto.
7588         * mmelmo-1.el (toplevel): Ditto.
7589         * mmelmo-2.el (toplevel): Ditto.
7590         * mmelmo-imap4-1.el (toplevel): Ditto.
7591         * mmelmo-imap4-2.el (toplevel): Ditto.
7592         * mmelmo-imap4.el (toplevel): Ditto.
7593         * mmelmo.el (toplevel): Ditto.
7594
7595 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7596
7597         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7598         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7599
7600 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7601
7602         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7603         before splitting.
7604         (elmo-multi-split-number-alist): Ditto.
7605
7606 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7607
7608         * elmo-version.el: New file.  Use product.el.
7609         * elmo2.el: Add (require 'elmo-version).
7610         * elmo-vars.el (elmo-appname, elmo-version): Move to
7611         elmo-version.el
7612
7613 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7614
7615         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7616         `elmo-msgdb-expand-path'.
7617         (elmo-msgdb-load): Ditto.
7618         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7619         (elmo-generic-list-folder-unread): Rewrite.
7620         (elmo-generic-list-folder-important): Changed argument.
7621         (elmo-list-folder-unread): Ditto.
7622         (elmo-list-folder-important): Ditto.
7623         (elmo-folder-diff): Rewrite.
7624         (elmo-generic-folder-diff): New function.
7625         (elmo-multi-get-number-alist-list): Abolished
7626         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7627         (elmo-multi-folder-diff): Moved to elmo-multi.el
7628         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7629
7630         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7631         `elmo-msgdb-expand-path'.
7632         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7633         (elmo-pop3-read-msg): Ditto.
7634         (elmo-pop3-delete-msgs): Ditto.
7635         (elmo-pop3-folder-diff): New alias.
7636
7637         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7638         `elmo-msgdb-expand-path'.
7639         (elmo-pipe-list-folder-unread): Changed arguments.
7640         (elmo-pipe-list-folder-important): Ditto.
7641         (elmo-pipe-folder-diff): New alias.
7642
7643         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7644         `elmo-msgdb-expand-path'.
7645         (elmo-nntp-max-of-folder): Ditto.
7646         (elmo-nntp-msgdb-create): Ditto.
7647         (elmo-nntp-delete-msgs): Ditto.
7648         (elmo-nntp-folder-diff): New alias.
7649
7650         * elmo-multi.el (elmo-multi-folder-diff): New function.
7651         (elmo-multi-split-mark-alist): Ditto.
7652         (elmo-multi-split-number-alist): Ditto.
7653         (elmo-multi-mark-alist-list): Abolished (Renamed to
7654         elmo-multi-split-mark-alist).
7655         (elmo-multi-list-folder-unread): Rewrite.
7656         (elmo-multi-list-folder-important): Ditto.
7657         (elmo-multi-list-folder): Set `spec' as 1st argument for
7658         `elmo-msgdb-expand-path'.
7659         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7660         instead of `elmo-multi-get-number-alist-list'.
7661
7662         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7663         If 1st argument is not string, treat as spec.
7664         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7665         `elmo-msgdb-expand-path'.
7666         (elmo-msgdb-flist-load): Ditto.
7667         (elmo-msgdb-flist-save): Ditto.
7668         (elmo-msgdb-delete-path): Ditto.
7669         (elmo-msgdb-rename-path): Ditto.
7670
7671         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7672         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7673         (elmo-maildir-delete-mark-msgs): Ditto.
7674         (elmo-maildir-msgdb-create): Ditto.
7675         (elmo-maildir-read-msg): Ditto.
7676         (elmo-maildir-delete-msgs): Ditto.
7677         (elmo-maildir-list-folder-subr): Ditto.
7678         (elmo-maildir-search): Ditto.
7679         (elmo-maildir-get-msg-filename): Ditto.
7680         (elmo-maildir-pack-number): Ditto.
7681         (elmo-maildir-folder-diff): New alias.
7682
7683         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7684
7685         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7686         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7687         (elmo-localdir-folder-diff): New alias.
7688
7689         * elmo-internal.el (elmo-internal-list-folder-subr):
7690         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7691         (elmo-internal-list-folder-by-location): Ditto.
7692         (elmo-internal-msgdb-create): Ditto.
7693         (elmo-internal-delete-msgs): Ditto.
7694         (elmo-internal-read-msg): Ditto.
7695         (elmo-internal-folder-diff): New alias.
7696
7697         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7698         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7699         `elmo-msgdb-expand-path'.
7700         (elmo-imap4-list-folder-unread): Changed arguments.
7701         (elmo-imap4-list-folder-important): Ditto.
7702
7703         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7704         (elmo-filter-list-folder-important): Ditto.
7705         (elmo-filter-folder-diff): New function.
7706
7707         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7708
7709         * elmo-cache.el (elmo-cache-list-folder):
7710         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7711         (elmo-cache-copy-msgs): Ditto.
7712         (elmo-cache-folder-diff): New alias.
7713
7714         * elmo-archive.el (elmo-archive-list-folder-subr):
7715         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7716         (elmo-archive-get-archive-name): Ditto.
7717         (elmo-archive-create-file): Ditto.
7718         (elmo-archive-append-msg): Ditto.
7719         (elmo-archive-copy-msgs): Ditto.
7720         (elmo-archive-copy-msgs-froms): Ditto.
7721         (elmo-archive-get-msg-filename): Ditto.
7722         (elmo-archive-folder-diff): New alias.
7723
7724 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7725
7726         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7727         (elmo-pop3-stream-type-alist): New variable.
7728         (elmo-nntp-stream-type-alist): New variable.
7729
7730         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7731         (elmo-kill-buffer): Ditto.
7732         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7733         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7734         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7735         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7736         (elmo-imap4-get-spec): Take into account
7737         `elmo-imap4-stream-type-alist'.
7738
7739 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7740
7741         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7742         (elmo-nntp-list-folders-get-cache): Ditto.
7743
7744 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7747         character before 'uid'.
7748
7749 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7750
7751         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7752
7753         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7754
7755         * elmo-util.el (elmo-number-set-member): New function.
7756         (elmo-number-set-append-list): Ditto.
7757         (elmo-number-set-append): Ditto.
7758
7759         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7760         Use `elmo-number-set-member'.
7761         (elmo-living-messages): Ditto.
7762         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7763         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7764
7765         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7766         (elmo-imap4-add-to-cont-list): Abolished.
7767         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7768         instead of elmo-imap4-add-to-cont-list.
7769
7770         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7771         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7772
7773         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7774
7775 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7776
7777         * elmo-util.el (elmo-condition-parse-search-value):
7778         Fixed date parsing.
7779
7780 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7781
7782         * elmo-util.el (elmo-condition-find-key-internal): New function.
7783         (elmo-condition-find-key): Ditto.
7784
7785         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7786         (elmo-msgdb-search-internal): Ditto.
7787         (elmo-msgdb-search): Ditto.
7788
7789 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7790
7791         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7792         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7793
7794         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7795         (elmo-nntp-search-primitive): Fixed problem when condition is
7796         'unmatch'.
7797
7798         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7799
7800         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7801         (elmo-nntp-xhdr-p): New macro.
7802         (elmo-nntp-set-xhdr): Ditto.
7803         (elmo-nntp-parse-xhdr-response): New function.
7804         (elmo-nntp-retrieve-field): Ditto.
7805         (elmo-nntp-search-primitive): Ditto.
7806         (elmo-nntp-search): Implemented.
7807
7808         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7809
7810         * elmo-archive.el (elmo-archive-search): Set all number list to
7811         `elmo-archive-field-condition-match'
7812
7813         * elmo-localdir.el (elmo-localdir-search): Likewise.
7814
7815         * elmo-maildir.el (elmo-maildir-search): Likewise.
7816
7817 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7818
7819         * elmo-msgdb.el (elmo-living-messages): New function.
7820         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7821         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7822         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7823         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7824         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7825         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7826         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7827         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7828         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7829         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7830         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7831
7832 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7835
7836         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7837
7838         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7839
7840         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7841         arguments for `SEARCH' command.
7842         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7843         All other related portions are changed.
7844
7845         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7846
7847         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7848         (elmo-list-folder-unread): Rewrite.
7849         (elmo-list-folder-important): Ditto.
7850
7851         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7852         (elmo-condition-parse-error): New inline function.
7853         (elmo-read-search-condition): New function.
7854         (elmo-read-search-condition-internal): Ditto.
7855         (elmo-parse-search-condition): Rewrite.
7856         (elmo-condition-parse): New function.
7857         (elmo-condition-parse-or-expr): Ditto.
7858         (elmo-condition-parse-and-expr): Ditto.
7859         (elmo-condition-parse-primitive): Ditto.
7860         (elmo-condition-parse-search-value): Ditto.
7861         (elmo-buffer-field-primitive-condition-match): Ditto.
7862         (elmo-buffer-field-condition-match): Rewrite.
7863         (elmo-file-field-condition-match): Ditto.
7864
7865         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7866         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7867
7868         * elmo-internal.el (elmo-internal-search): Set `number' and
7869         `number-list' argument of `elmo-file-field-condition-match'.
7870
7871         * elmo-maildir.el (elmo-maildir-search): Ditto.
7872
7873         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7874         `msgdb' as argument instead of `mark-alist'.
7875         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7876         `overview'.
7877
7878         * elmo-multi.el: Likewise.
7879
7880         * elmo-pipe.el: Likewise.
7881
7882         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7883         (elmo-imap4-search-internal): Rewrite.
7884         (elmo-imap4-search): Ditto.
7885
7886         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7887         (elmo-filter-list-folder-unread): Ditto.
7888         (elmo-filter-list-folder-important): Ditto.
7889         (elmo-filter-search): Rewrite.
7890
7891         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7892         `number-list' argument of `elmo-file-field-condition-match'.
7893         (elmo-cache-search): Ditto.
7894
7895         * elmo-localdir.el: Likewise.
7896
7897         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7898         number-list and pass it to `elmo-buffer-field-condition-match'.
7899         (elmo-archive-field-condition-match): Pass `number-list' to
7900         `elmo-archive-field-condition-match'
7901
7902 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7903
7904         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7905         `listgroup'.
7906
7907         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7908         (elmo-folder-diff-async-callback-data): Ditto.
7909         (elmo-folder-diff-async): New function.
7910
7911         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7912         (elmo-network-session-cache-key): Use it as a prefix of the session
7913         name.
7914         (elmo-network-open-session): Ditto.
7915
7916         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7917         (elmo-imap4-status-callback-data): Ditto.
7918         (elmo-imap4-server-diff-async-callback): New variable.
7919         (elmo-imap4-server-diff-async-callback-data): Ditto.
7920         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7921         `elmo-imap4-status-callback-data'.
7922         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7923         `elmo-imap4-status-callback-data' as nil.
7924         (elmo-imap4-server-diff): Ditto.
7925         (elmo-imap4-server-diff-async-callback-1): New function.
7926         (elmo-imap4-server-diff-async): Ditto.
7927         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7928
7929 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7930
7931         * elmo-util.el (elmo-list-delete): Doc fix.
7932         (elmo-delete-lists): Abolish.
7933         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7934         instead of `elmo-delete-lists'.
7935
7936 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7937
7938         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7939         before `sort'.
7940
7941 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7942
7943         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7944         `elmo-imap4-literal-subr'.
7945         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7946         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7947
7948 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7949
7950         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7951         (elmo-archive-list-folder): Fix.
7952         (elmo-archive-max-of-folder): Fix.
7953
7954 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7955
7956         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7957          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7958         (elmo-localdir-append-msg): Ditto.
7959         (elmo-localdir-list-folder): Fix for `nonsort'.
7960         (elmo-localdir-list-folder-subr): Fix for `killed'.
7961         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7962         (elmo-maildir-list-folder-subr): Ditto.
7963         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7964         (elmo-archive-list-folder-subr): Ditto.
7965         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7966         (elmo-internal-list-folder-subr): Ditto.
7967
7968 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7969
7970         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7971
7972 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
7973
7974         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7975
7976 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7979         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7980
7981         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7982         before greeting.
7983         (elmo-imap4-read-part): Use "body.peek" to fetch part.
7984         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7985
7986 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
7987
7988         * mmelmo-imap4-2.el (mime-entity-children): Defined.
7989
7990         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7991         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7992         before STORE command.
7993
7994 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
7995
7996         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7997
7998         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7999         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8000         of `response'.
8001         (elmo-imap4-list-folders): Removed unused local variable.
8002         (elmo-network-initialize-session): Ditto.
8003         (elmo-imap4-delete-msg-by-id): Ditto.
8004         (elmo-imap4-parse-fetch): Ditto.
8005         (elmo-imap4-copy-msgs): Ditto.
8006         Use `dst-spec' instead of `dst-folder'.
8007         (elmo-network-authenticate-session): Check authenticate type `plain'.
8008
8009 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8010
8011         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8012         garbage checking.
8013         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8014         `elmo-imap4-response-value'.
8015         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8016
8017 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8018
8019         * elmo-imap4.el (elmo-imap4-send-command):
8020         Cause elmo-imap4-bye-error when current response is BYE.
8021         (elmo-imap4-arrival-filter): Changed greeting response value.
8022
8023         * elmo2.el (elmo-imap4-bye-error): Define.
8024
8025         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8026         (elmo-imap4-server-diff): Ditto.
8027         (elmo-imap4-response-bye-p): New macro.
8028         (elmo-imap4-response-error-text): Get text from BYE response.
8029         (elmo-imap4-read-response): Return if BYE response.
8030         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8031         (elmo-imap4-folder-exists-p): Ditto.
8032         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8033         (elmo-imap4-parse-bye): New function.
8034         (elmo-imap4-parse-response): Remove needless let.
8035         Call `elmo-imap4-parse-bye'.
8036
8037 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8038
8039         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8040         the mailbox does not exist.
8041         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8042
8043 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8044
8045         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8046
8047 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8048
8049         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8050
8051         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8052         (elmo-network-initialize-session-buffer): Defined.
8053
8054         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8055         Abolished.
8056         (mmelmo-imap4-get-mime-entity): Rewrite.
8057
8058         * elmo2.el (elmo-error): Capitalize error message.
8059
8060         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8061         (elmo-network-session-buffer): New macro.
8062         (elmo-network-open-session): Use it.
8063
8064         * elmo-imap4.el: Rewrite.
8065
8066 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8067
8068         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8069
8070 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8071
8072         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8073         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8074         (elmo-imap4-create-msgdb-from-overview-string): Use
8075         `elmo-msgdb-create-overview-from-buffer'.
8076
8077 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8078
8079         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8080         (elmo-imap4-default-hierarchy-delimiter): New variable.
8081         (elmo-imap4-list-folders): Use it.
8082
8083 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8084
8085         * elmo-net.el (elmo-network-open-session): Add user and
8086         stream-type for process-buffer name.
8087
8088         * elmo-pop3.el (elmo-network-initialize-session): Call
8089         buffer-disable-undo.
8090
8091         * elmo-imap4.el (elmo-network-initialize-session):
8092         Set current-buffer as an argument for `buffer-disable-undo'.
8093
8094         * elmo-pop3.el (elmo-network-close-session): Don't use
8095         `process-live-p'.
8096
8097         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8098         Set default as 'user.
8099
8100         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8101
8102         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8103         and `elmo-imap4-flush-connection'.
8104
8105         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8106         (elmo-pop3-get-spec): Assume auth as symbol.
8107         (elmo-open-network-stream): Moved to `elmo-net'.
8108
8109         * elmo-pop3.el (toplevel): Require 'elmo-net.
8110         Define `sasl-cram-md5' to silence byte compilier.
8111         (elmo-pop3-connection-cache) Abolished.
8112         (elmo-pop3-authenticator-alist) New variable.
8113         (elmo-pop3-session): Define.
8114         (elmo-pop3-connection-get-process): Abolished.
8115         (elmo-pop3-connection-get-buffer): Ditto.
8116         (elmo-pop3-close-connection): Ditto.
8117         (elmo-pop3-flush-connection): Ditto.
8118         (elmo-pop3-get-connection): Ditto.
8119         (elmo-pop3-get-session): New function.
8120         (Replacement for `elmo-pop3-get-connection').
8121         All other related modules are changed.
8122         (elmo-network-close-session): Define.
8123         (elmo-pop3-send-command): Abolished argument `buffer'.
8124         All other related modules are changed.
8125         (elmo-pop3-read-response): Likewise.
8126         (elmo-pop3-open-connection): Abolished.
8127         (elmo-pop3-auth-user): New function.
8128         (elmo-pop3-auth-apop): Ditto.
8129         (elmo-pop3-auth-cram-md5): Ditto.
8130         (elmo-pop3-auth-scram-md5): Ditto.
8131         (elmo-pop3-auth-digest-md5): Ditto.
8132         (elmo-network-initialize-session): Define.
8133         (elmo-network-authenticate-session): Ditto.
8134         (elmo-network-setup-session): Ditto.
8135
8136         * elmo-imap4.el (toplevel): Require 'elmo-net.
8137         (elmo-imap4-session): Define.
8138         (elmo-imap4-connection-cache): Abolished.
8139         (elmo-imap4-password-key): Ditto.
8140         (elmo-imap4-flush-connection): Ditto.
8141         (elmo-imap4-get-connection): Ditto.
8142         All other related modules are changed.
8143         (elmo-imap4-get-session): New function
8144         (Replacement for `elmo-imap4-get-connection').
8145         (elmo-imap4-read-response): Abolished argument `buffer'.
8146         All other related modules are changed.
8147         (elmo-imap4-send-command): Likewise.
8148         (elmo-imap4-select-folder): Abolished.
8149         All other related modules are changed.
8150         (elmo-imap4-select-mailbox): New function.
8151         (Replacement for `elmo-imap4-select-folder').
8152         (elmo-imap4-auth-login): Simplify.
8153         (Assume current buffer as process buffer)
8154         (elmo-imap4-auth-cram-md5): Ditto.
8155         (elmo-imap4-auth-digest-md5): Ditto.
8156         (elmo-imap4-login): Ditto.
8157         (elmo-imap4-open-connection): Abolished.
8158         (elmo-imap4-open-connection-1): Abolished.
8159         (elmo-network-initialize-sessoin): Define.
8160         (elmo-network-authenticate-session): Ditto.
8161         (elmo-network-setup-session): Ditto.
8162
8163         * elmo-net.el: New module.
8164
8165 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8166
8167         * elmo-util.el (elmo-define-error): New function.
8168
8169         * elmo2.el (elmo-error): Define.
8170         (elmo-open-error): Define.
8171         (elmo-authenticate-error): Define.
8172
8173         * elmo-imap4.el (elmo-imap4-error): Abolish.
8174         (elmo-imap4-error-type): Abolish.
8175         (elmo-imap4-error-process): Abolish.
8176         (elmo-imap4-error-message): Abolish
8177         (elmo-imap4-list-folders): Don't quote lambda.
8178         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8179         (elmo-imap4-parse-namespace): Ditto.
8180         (elmo-imap4-open-connection): Rewrite.
8181         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8182         (elmo-imap4-get-connection): Abolish local variable `result'.
8183
8184 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8185
8186         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8187         wrong-type-argument error when auth is nil.
8188
8189 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8190
8191         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8192         (elmo-default-nntp-stream-type): Ditto.
8193         (elmo-default-pop3-stream-type): Ditto.
8194         (elmo-network-stream-type-alist): Ditto.
8195         (elmo-default-imap4-ssl): Abolished.
8196         (elmo-default-nntp-ssl): Ditto.
8197         (elmo-default-pop3-ssl): Ditto.
8198
8199         * elmo-util.el: (toplevel): Removed needless requires.
8200         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8201         (elmo-open-network-stream): Open network stream according to
8202         the value of `elmo-network-stream-type-alist'.
8203         (elmo-get-network-stream-type): New function.
8204         (elmo-network-stream-type-spec-string): New macro.
8205         (elmo-network-stream-type-symbol): Ditto.
8206         (elmo-network-stream-type-function): Ditto.
8207
8208         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8209         network-stream-type. All other related portions are changed.
8210         (elmo-pop3-open-connection): Ditto.
8211
8212         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8213         network-stream-type. All other related portions are changed.
8214
8215         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8216         network-stream-type.All other related portions are changed.
8217         (elmo-imap4-error): New macro.
8218         (elmo-imap4-error-type): Ditto.
8219         (elmo-imap4-error-process): Ditto.
8220         (elmo-imap4-error-message): Ditto.
8221         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8222         (elmo-imap4-auth-cram-md5): Ditto.
8223         (elmo-imap4-auth-digest-md5): Ditto.
8224         (elmo-imap4-login): Ditto.
8225         (elmo-imap4-open-connection): Remove password entry if authentication
8226         was in vain.
8227         (elmo-imap4-user-at-host): Abolished.
8228         (elmo-imap4-password-key): New buffer local variable.
8229         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8230         using protocol, port, auth and stream-type.
8231
8232         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8233
8234 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8235
8236         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8237
8238         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8239
8240         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8241         (elmo-imap4-authenticator-alist): New variable.
8242         (elmo-imap4-open-connection-1): Rename from
8243         elmo-imap4-open-connection.
8244         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8245         only wraps elmo-imap4-open-connection-1.
8246         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8247         user-at-host.
8248         (elmo-imap4-auth-login): New function.
8249         (elmo-imap4-auth-cram-md5): New function.
8250         (elmo-imap4-auth-digest-md5): New function.
8251         (elmo-imap4-login): New function.
8252
8253 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8254
8255         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8256         function `error'.
8257
8258 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8259
8260         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8261
8262 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8263
8264         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8265
8266 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8267
8268         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8269         for server responses, quote `*' regardless of where it appears.
8270
8271 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8272
8273         * elmo-maildir.el (elmo-maildir-commit): New alias.
8274
8275 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8276
8277         * elmo-util.el (elmo-display-progress):
8278                 Use `progress-feedback-with-label'.
8279
8280 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8281
8282         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8283         (elmo-imap4-non-atom-char-regex): Ditto.
8284         (elmo-imap4-non-text-char-regex): Ditto.
8285         (elmo-imap4-literal-threshold): Ditto.
8286         (elmo-imap4-atom-p): New function.
8287         (elmo-imap4-quotable-p): Ditto.
8288         (elmo-imap4-nil): Ditto.
8289         (elmo-imap4-atom): Ditto.
8290         (elmo-imap4-quoted): Ditto.
8291         (elmo-imap4-literal-subr): Ditto.
8292         (elmo-imap4-literal): Ditto.
8293         (elmo-imap4-buffer-literal): Ditto.
8294         (elmo-imap4-string-subr): Ditto.
8295         (elmo-imap4-string): Ditto.
8296         (elmo-imap4-buffer-string): Ditto.
8297         (elmo-imap4-astring-subr): Ditto.
8298         (elmo-imap4-astring): Ditto.
8299         (elmo-imap4-buffer-astring): Ditto.
8300         (elmo-imap4-nstring): Ditto.
8301         (elmo-imap4-buffer-nstring): Ditto.
8302         (elmo-imap4-mailbox): New alias.
8303         (elmo-imap4-field-body): Ditto.
8304         (elmo-imap4-userid): Ditto.
8305         (elmo-imap4-password): Ditto.
8306         (elmo-imap4-format-quoted): New function.
8307         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8308         arguments and handle "atom", "quoted" and "literal" string here.
8309         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8310         `elmo-imap4-send-command'.
8311         (elmo-imap4-folder-exists-p): Likewise.
8312         (elmo-imap4-create-folder): Likewise.
8313         (elmo-imap4-delete-folder): Likewise.
8314         (elmo-imap4-rename-folder): Likewise.
8315         (elmo-imap4-max-of-folder): Likewise.
8316         (elmo-imap4-check-validity): Likewise.
8317         (elmo-imap4-sync-validity): Likewise.
8318         (elmo-imap4-server-diff): Likewise.
8319         (elmo-imap4-select-folder): Likewise.
8320         (elmo-imap4-copy-msgs): Likewise.
8321         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8322         (elmo-imap4-mark-set-on-msgs): Likewise.
8323         (elmo-imap4-read-part): Likewise.
8324         (elmo-imap4-read-msg): Likewise.
8325         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8326         `elmo-imap4-password' for `elmo-imap4-send-command'.
8327         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8328         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8329         `elmo-imap4-buffer-literal'.
8330         (elmo-imap4-append-msg): Likewise.
8331
8332         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8333         `delete' for removing dead connection from the connection cache.
8334         Move deletion of the process buffer after that.
8335         (elmo-imap4-list): Change `defsubst' to `defun'.
8336         (elmo-imap4-commit): Make error message verbose.
8337         (elmo-imap4-search): Ditto.
8338         (elmo-imap4-list): Ditto.
8339         (elmo-imap4-select-folder): Ditto.
8340         (elmo-imap4-copy-msgs): Ditto.
8341         (elmo-imap4-delete-msg-by-id): Ditto.
8342         (elmo-imap4-append-msg-by-id): Ditto.
8343         (elmo-imap4-append-msg): Ditto.
8344
8345 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8346
8347         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8348         when dired is used on XEmacs.
8349
8350 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8351
8352         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8353         instead of `append'.
8354         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8355         `elmo-plugged-p' directly.
8356         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8357         of `elmo-plugged-p' directly.
8358
8359         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8360         Eliminate unused variable.  Use `memq' for checking a process status.
8361         Use `cons' instead of `append' for updating the connection cache.
8362         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8363         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8364
8365 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8366
8367         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8368         `elmo-imap4-read-point' exactly.
8369
8370         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8371         the local variable `folder' to `mailbox'.
8372         Rename the argument `fld' to `folder'.
8373
8374 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8375
8376         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8377         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8378
8379 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8380
8381         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8382         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8383         (elmo-pop3-uidl-number-hash): Ditto.
8384         (elmo-pop3-size-hash): Ditto.
8385         (elmo-pop3-uidl-done): Ditto.
8386         (elmo-pop3-list-done): Ditto.
8387         (elmo-pop3-connection-get-process): New defmacro.
8388         (elmo-pop3-connection-get-buffer): Ditto.
8389         (elmo-pop3-close-connection): Delete buffer and process.
8390         (elmo-pop3-flush-connection): Don't delete buffer and process.
8391         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8392         Setup UIDL and size hash.
8393         (elmo-pop3-send-command-no-erase): Deleted
8394         (elmo-pop3-send-command): Added optional argument `no-erase'.
8395         (elmo-pop3-parse-uidl-response): New function.
8396         (elmo-pop3-parse-list-response): Set size hash.
8397         (elmo-pop3-list-location): New function.
8398         (elmo-pop3-list-by-uidl-subr): Ditto.
8399         (elmo-pop3-list-by-list): Ditto.
8400         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8401         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8402         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8403         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8404         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8405         Use uidl.
8406         (elmo-pop3-uidl-to-number): New function.
8407         (elmo-pop3-number-to-uidl): Ditto.
8408         (elmo-pop3-number-to-size): Ditto.
8409         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8410         Set number by use of uidl.
8411         (elmo-pop3-msgdb-create-message): Likewise.
8412         Set size, loc-alist in msgdb.
8413         (elmo-pop3-read-msg): Set number by use of uidl.
8414         Added optional argument `msgdb'.
8415         (elmo-pop3-delete-msg): Ditto.
8416         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8417         (elmo-pop3-commit): Close connection.
8418
8419         * elmo-pipe.el (elmo-pipe-max-of-folder):
8420         Bind `elmo-pop3-use-uidl' as nil.
8421         (elmo-pipe-drain): Ditto.
8422         Call `elmo-commit'.
8423
8424         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8425         (elmo-msgdb-overview-entity-set-size): New defsubst.
8426
8427 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8428
8429         * elmo-vars.el (elmo-use-killed-list): New variable
8430         (Renamed from `elmo-nntp-use-killed-list').
8431         (elmo-nntp-use-killed-list): Eliminated.
8432
8433         * elmo-msgdb.el (elmo-msgdb-expand-path):
8434         Changed expanding msgdb path for elmo-multi.
8435
8436         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8437         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8438         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8439         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8440         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8441         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8442         (toplevel): Deleted time-stamp line.
8443
8444         * elmo2.el (elmo-clear-killed ): Defined as function
8445         (Abolished defining as a backend function).
8446         All other related modules are changed.
8447
8448 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8449
8450         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8451
8452 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8453
8454         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8455
8456 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8457
8458         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8459
8460 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8461
8462         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8463         asynchronous folder check.
8464
8465         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8466
8467         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8468         `elmo-nntp-use-killed-list'.
8469         (elmo-nntp-list-folder): Use killed list.
8470         (elmo-nntp-max-of-folder): Ditto.
8471         (elmo-nntp-msgdb-create): Set killed list.
8472
8473         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8474
8475         * elmo2.el (elmo-clear-killed): New backend function.
8476         All other related modules are changed.
8477
8478 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8479
8480         * elmo-util.el (elmo-imap4-spec-folder): Use
8481         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8482         All callers changed.
8483
8484 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8485
8486         * mmelmo-2.el (initialize-instance):
8487         Use `mime-buffer-entity-buffer-internal' instead of
8488         `mime-entity-buffer'.
8489
8490         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8491         (mime-entity-body): Implemented.
8492         (mime-goto-header-start-point): Deleted.
8493         (mime-goto-body-end-point): Ditto.
8494         (mime-entity-point-min): Ditto.
8495         (mime-entity-point-max): Ditto.
8496         (mime-entity-children): Ditto.
8497         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8498         instead of `mime-entity-buffer'.
8499         (mime-entity-header-buffer): Ditto.
8500         (mime-entity-body-buffer): Ditto.
8501         (mime-write-entity-content): Ditto.
8502
8503         * pldap.el (ldap-static-if): New macro.
8504         (toplevel): Use it instead of `static-if'.
8505
8506 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8507
8508         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8509         included in `attrs' argument.
8510
8511 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8512
8513         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8514
8515         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8516         (ldap-ldif-safe-init-char-regexp): Ditto.
8517         (ldap-ldif-safe-string-regexp): Ditto.
8518         (ldap/ldif-safe-string-p): New macro.
8519         (ldap/ldif-insert-field): Ditto.
8520         (ldap-modify): Use it.
8521         (ldap-add): Ditto.
8522         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8523         (ldap-decode-attribute): Decode only when `attr' is consp.
8524         (ldap-delete): Bind `ret'.
8525         (toplevel): Require 'cl at compile time.
8526         Removed (require 'poe) and (require 'std11).
8527         (pldap-version): Eliminated.
8528         (ldap-search-basic): Removed auth and dn binding.
8529         (ldap-ldif-field-name-regexp): New constant.
8530         (ldap-ldif-field-head-regexp): Ditto.
8531         (ldap-ldif-next-field-head-regexp): Ditto.
8532         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8533         (ldap/field-end): New function.
8534         (ldap/field-body): Use it.
8535         (ldap/collect-field): Ditto.
8536         (ldap-search-basic): Use `ldap/field-body'.
8537
8538 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8539
8540         * pldap.el (ldap-default-attribute-encoder): New user option.
8541         (ldap/field-body): Decode base64 string.
8542         (ldap/collect-field): Ditto.
8543         (ldap-encode-attribute): New function.
8544         (ldap-add-entries): Use it.
8545         (ldap-modify-entries): Ditto.
8546         (ldap-search-entries): Enclosed decoding function with
8547         `with-temp-buffer' and set as unibyte.
8548         (ldap-search-basic): Set process buffer as unibyte.
8549
8550         * elmo-util.el (elmo-folder-identical-system-p):
8551         Eliminated name space checking.
8552
8553         * pldap.el: New module.
8554         toplevel: Changed condition to detect built-in ldap feature.
8555         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8556         (ldap-add): Added error handling.
8557         (ldap-modify): Ditto.
8558         (ldap-delete): Ditto.
8559
8560 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8561
8562         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8563         Initialize local variables with `let'.  Inline a temporary
8564         variable for the progress percentage.  Sort `setq' to reduce
8565         function call in the while-loop.
8566
8567         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8568         into the conditional branch.
8569
8570 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8571
8572         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8573         Move a conditional out of the while-loop.
8574
8575 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8576
8577         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8578         elmo-msgdb-overview-get-entity-by-number.
8579         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8580         throw.
8581
8582 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8583
8584         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8585         the local variable for a packed number self descriptively.
8586
8587 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8588
8589         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8590         * elmo-localdir.el (elmo-localdir-pack-number): Use
8591         `elmo-msgdb-overview-get-entity' instead of
8592         `elmo-msgdb-overview-get-entity-by-number'.
8593         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8594         (elmo-msgdb-search-overview-entity): Removed.
8595         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8596         by message-id or number.
8597         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8598         instead of `elmo-msgdb-overview-get-entity-by-number'.
8599
8600 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8601
8602         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8603         non-nil, use hash table for overview.
8604         (elmo-hash-maximum-size): New variable.
8605         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8606         (elmo-msgdb-make-overview-hashtb): New function.
8607         (elmo-msgdb-clear-overview-hashtb): New function.
8608         (elmo-clear-hash-val): New macro.
8609         All other related modules are changed.
8610
8611 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8612
8613         * elmo2.el (elmo-move-msgs): If there's other message with
8614         same message-id, don't use cache.
8615
8616 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8617
8618         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8619         number is already packed.
8620
8621 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8622
8623         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8624
8625 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8626
8627         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8628         All other related modules are changed.
8629
8630 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8631
8632         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8633         of refiling failure on Maildir.
8634
8635 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8636
8637         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8638         decoded mime-charset with cache.
8639         (elmo-msgdb-overview-entity-get-from): Ditto.
8640         (elmo-msgdb-overview-entity-get-subject): Ditto.
8641         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8642
8643 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8644
8645         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8646         (elmo-remove-passwd): Fill password with 0 before erase.
8647         * elmo-vars.el (elmo-passwd-life-time): New variable.
8648
8649 \f
8650 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8651
8652         * elmo-cache.el (elmo-buffer-cache-add):
8653         Set message cache buffer as unibyte.
8654
8655 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8656
8657         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8658         become nil.
8659
8660 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8661
8662         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8663         when display is finished.
8664         (elmo-nntp-msgdb-create): Ditto.
8665         (elmo-nntp-groups-read-response): Ditto.
8666         (elmo-nntp-retrieve-headers): Ditto.
8667         (elmo-nntp-msgdb-create-message): Ditto.
8668         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8669         (elmo-pop3-msgdb-create-message): Ditto.
8670
8671 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8672
8673         * elmo-maildir.el (elmo-maildir-msgdb-create):
8674         Use `elmo-msgdb-sort-by-date'.
8675
8676 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8677
8678         * elmo2.el (elmo-read-msg-no-cache):
8679         Eliminated arguments after `outbuf'.
8680         Don't use cache even if it exists.
8681         (elmo-read-msg): Don't pass arguments after `outbuf' to
8682         `elmo-read-msg-no-cache'.
8683
8684 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8685
8686         * elmo-archive.el (elmo-archive-list-folders):
8687         Use `file-name-directory' if base folder does not exist.
8688
8689 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8690
8691         * elmo-archive.el (elmo-archive-list-folders): Don't use
8692         `file-name-directory'.
8693
8694 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8695
8696         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8697         If `force' is non-nil, try flushing all operation queues.
8698
8699 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8700
8701         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8702         as-binary-process.
8703
8704 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8705
8706         * elmo-util.el (elmo-display-progress): Fixed.
8707
8708 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8709
8710         * elmo-util.el (elmo-display-progress): New function.
8711         All other related modules are changed.