(elmo-collect-separators-internal): Add 2nd
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
4         optional argument `separators'.
5
6 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo.el (cache-changed): Abolish.
9         (status-changed): New signal.
10         (elmo-message-killed-p): New generic function and define for
11         elmo-folder.
12         (elmo-folder-recover-messages): Ditto.
13         (elmo-message-set-cached): Emit signal `status-changed' instead of
14         `cache-changed'.
15         (elmo-message-status): New macro.
16         (elmo-message-status-folder): Ditto.
17         (elmo-message-status-number): Ditto.
18         (elmo-message-status-set-flags): Ditto.
19         (elmo-message-status-set-killed): Ditto.
20         (elmo-message-status-flags): New function.
21         (elmo-message-status-cached-p): Ditto.
22         (elmo-message-status-killed-p): Ditto.
23
24         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
25         `status-changed' instead of `cache-changed'.
26         (elmo-folder-recover-messages): Define.
27         (elmo-message-killed-p): Ditto.
28
29         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
30         `status-changed' instead of `cache-changed'.
31
32         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
33         (elmo-message-killed-p): Define.
34         (elmo-folder-recover-messages): Ditto.
35
36         * elmo-version.el (elmo-version): Up to 2.15.3.
37
38 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo-signal.el (elmo-signal-bindings): Use cons to append
41         element into list.
42         (elmo-define-signal-handler): Add docstring.
43         (elmo-define-signal-filter): Ditto.
44
45         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
46
47 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
48
49         * elmo-util.el (elmo-flatten): Don't use recursive call.
50
51         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
52         assignment.
53         (elmo-folder-message-make-temp-files): Use `number-to-string'
54         instead of `int-to-string'.
55
56 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
57
58         * elmo-search.el (elmo-folder-delete-messages): Define.
59
60 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
61
62         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
63         customization type.
64         (elmo-mailing-list-count-spec-list): Ditto.
65
66         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
67         for `list-id'.
68
69 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
70
71         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
72         handling.
73
74 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
75
76         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
77         (elmo-mailing-list-count-spec-list): Ditto.
78
79         * elmo-util.el (elmo-map-until-success): New function.
80         (elmo-string-match-substring): Ditto.
81         (elmo-find-list-match-value): Ditto.
82
83         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
84         Removed.
85         (modb-entity-extract-ml-info-from-subject): Ditto.
86         (modb-entity-extract-ml-info-from-return-path): Ditto.
87         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
88         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
89         (modb-entity-extract-ml-info-from-mailman): Ditto.
90         (modb-entity-extract-mailing-list-info-functions): Ditto.
91         (modb-entity-extract-mailing-list-info): Rewrite with
92         `elmo-find-list-match-value'.
93
94 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
95
96         * elmo-net.el (elmo-network-session-retry-count): New user option.
97         (elmo-network-session-buffer-name): New internal function.
98         (elmo-network-session-buffer-create): Ditto.
99         (elmo-network-open-session): Retry open network session
100         `elmo-network-session-retry-count' times.
101
102 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
103
104         * elmo-util.el (elmo-list-filter): Rewritten.
105
106 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-util.el (elmo-string-member): Allow symbol element in list.
109
110 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
111
112         * elmo-search.el (elmo-make-search-engine): Use prefix
113         `elmo-search-' for require symbol instead of `else-'.
114         (elmo-search-engine-extprog): New class.
115         (elmo-search-engine-do-search): Remove nil from argument
116         list. Added argument pattern to evaluate element as function.
117         (elmo-search-engine-local-file): Derived from
118         `elmo-search-engine-extprog'.
119         (elmo-search-engine-create-message-entity): Check existance of file.
120         (elmo-search-engine-fetch-message): Ditto.
121         (elmo-search-namazu-index): Follow the API change.
122         (elmo-search-grep-target): Ditto.
123
124 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
125
126         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
127         characters of working buffer.
128
129         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
130         Does not bind `default-mime-charset'.
131         (elmo-msgdb-create-message-entity-from-buffer): Removed
132         unnecessary local bind.
133
134         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
135         function.
136         (modb-entity-extract-mailing-list-info-functions): Added it.
137
138 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
139
140         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
141         when number and message-id are non-nil.
142
143         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
144
145         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
146         conditional steatment.
147         (elmo-pop3-auth-apop): Likewise.
148         (elmo-network-authenticate-session): Likewise.
149
150 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
151
152         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
153         symbol `fill-column'.
154         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
155         decode field value.
156
157         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
158         (elmo-decoded-field-body): Ditto.
159
160 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
161
162         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
163         `tokens' to `params'.
164
165 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
166
167         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
168         working buffer.
169
170 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
171
172         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
173         decide index.
174
175 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
176
177         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
178         Set default value as nil.
179         (toplevel): Register search engines by
180         `elmo-search-register-engine' if there are not defined.
181
182         * elmo.el (autoload): Added autoload setting for
183         `elmo-search-register-engine'.
184
185 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
186
187         * elmo.el (toplevel): `[' is redefined as the prefix of the search
188         folder instead of nmz folder.
189         (elmo-nmz-default-index-path): Added obsolete variable setting.
190         (elmo-nmz-index-alias-alist): Ditto.
191         (elmo-nmz-use-drive-letter): Ditto.
192
193         * elmo-search.el (elmo-search-register-engine): New function.
194
195         * elmo-nmz.el: Removed.
196
197         * elmo-version.el (elmo-version): Up to 2.15.2.
198
199 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
200
201         * elmo-search.el: New file.
202
203 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
204
205         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
206         condition `larger' and `smaller'.
207
208 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
209
210         * elmo-util.el (elmo-safe-filename): Rewrite to replace
211         `"' (double quote) into "_Q_".
212
213 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
214
215         * elmo-net.el (elmo-net-quote-chars): Abolish.
216         (elmo-net-format-quoted): Ditto.
217
218 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
219
220         * elmo.el (elmo-get-folder-function): New variable.
221         (elmo-get-folder): New function.
222         (elmo-folder-rename): Call `elmo-make-folder' with specified
223         mime-charset.
224
225         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
226         `elmo-make-folder'.
227         (elmo-split-subr): Ditto.
228
229         * elmo-multi.el (elmo-folder-initialize): Ditto.
230
231         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
232
233         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
234         (elmo-flag-get-folder): Ditto.
235
236         * elmo-filter.el (elmo-folder-initialize): Ditto.
237
238         * elmo-access.el (elmo-folder-initialize): Ditto.
239         (elmo-access-folder-update-children): Ditto.
240
241         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
242         (elmo-dop-queue-flush): Ditto.
243         (elmo-folder-append-buffer-dop-delayed): Ditto.
244         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
245         mime-charset.
246
247         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
248         instead of `elmo-make-folder'.
249         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
250         destination folder instead of send `elmo-folder-rename-internal'.
251
252         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
253         slot of subfolder instead of create it.
254
255 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
256
257         * elmo-util.el (elmo-collect-separators): New function.
258         (elmo-collect-separators-internal): Ditto.
259         (elmo-collect-trail-separators): Ditto.
260         (elmo-parse-separated-tokens): Ditto.
261         (elmo-parse-separated-tokens-internal): Ditto.
262         (elmo-quote-syntactical-element): Ditto.
263
264         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
265         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
266
267         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
268         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
269         (elmo-nntp-folder-list-subfolders): Quote a user name.
270
271         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
272         (elmo-net-parse-network): Abolish.
273         (elmo-net-folder-set-parameters): New function.
274         (elmo-folder-initialize): Follow the above change.
275
276         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
277         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
278         (elmo-folder-list-subfolders): Use
279         `elmo-quote-syntactical-element' instead of
280         `elmo-net-format-quoted' to quote mailbox and user name.
281
282 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
283
284         * elmo-util.el (elmo-token-valid-p): New function.
285         (elmo-parse-token): Add optional argument `requirement'.
286         (elmo-parse-prefixed-element): Likewise.
287
288         * elmo-net.el (elmo-net-quote-chars): Renamed from
289         `elmo-net-quote-chars-regexp'.
290         (elmo-net-format-quoted): Add optional argument `extra-chars'.
291
292         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
293         by info document. Check token `uidl' is started an alphabet.
294
295         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
296         by info document. Check token `user' is started an alphabet.
297
298         * elmo-imap4.el (elmo-folder-initialize): Ditto.
299         (elmo-folder-list-subfolders): Quote user.
300
301 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
302
303         * elmo-util.el (elmo-quoted-specials-list): New constant.
304         (elmo-quoted-token): New function.
305
306         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
307         (elmo-net-format-quoted): New function.
308         (elmo-net-parse-network): Ditto.
309         (elmo-folder-initialize): Use it.
310
311         * elmo-nntp.el (elmo-folder-initialize): Use
312         `elmo-net-parse-network' to parse network specification instead of
313         `elmo-folder-initialize#elmo-net'.
314
315         * elmo-pop3.el (elmo-folder-initialize): Ditto.
316
317         * elmo-imap4.el (elmo-folder-initialize): Ditto.
318         (elmo-folder-list-subfolders): Quote folder name by
319         `elmo-net-format-quoted'.
320
321 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
322
323         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
324         (elmo-folder-search): Use it.
325
326 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
327
328         * modb-standard.el (modb-standard-loaded-message-id): Use
329         `elmo-msgdb-message-entity-field'.
330
331 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
332
333         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
334         without filename.
335
336 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
337
338         * elmo-util.el (elmo-set-auto-coding): New function.
339         (elmo-object-load): Use it.
340
341 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
342
343         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
344         (elmo-time<): Define as alias of `elmo-time-less-p'.
345         (elmo-time-to-datevec): New function.
346
347         * elmo-date.el (elmo-time-to-days): New function.
348
349 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
350
351         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
352         is not cons cell.
353
354 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
355
356         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
357         parenthesis.
358
359         * elmo-util.el (elmo-map-recursive): New function.
360
361         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
362         (modb-entity-encode-string-recursive): Ditto.
363
364 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
365
366         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
367         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
368         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
369         compare sequence number when last modified time is nil.
370
371 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
372
373         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
374
375         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
376
377 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
378
379         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
380         modification time of the file.
381
382 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
383
384         * elmo-util.el (elmo-condition-optimize): Discriminated against
385         preserved fields, extra fields and the other weight.
386
387 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
388
389         * modb-entity.el (initialize-instance): Define.
390         (modb-entity-handler-mime-charset): New internal function.
391         (modb-standard-entity-set-field): Use it.
392         (elmo-msgdb-message-entity-field): Ditto.
393         (elmo-msgdb-message-entity-field): Ditto.
394
395         * modb.el (elmo-msgdb-match-condition): Rewrite with
396         `elmo-condition-match'.
397         (elmo-msgdb-match-condition-primitive): New function.
398
399         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
400         arguments `flags' and `numbers'.
401         (elmo-msgdb-match-condition-primitive): Abolished (merged to
402         `elmo-msgdb-message-match-condition').
403         (modb-buffer-entity-handler): New class.
404
405         * elmo.el (elmo-folder-search): Optimize condition to use
406         `elmo-condition-optimize'.
407         (elmo-message-buffer-match-condition): New function.
408         (elmo-message-match-condition): Use
409         `elmo-message-buffer-match-condition' instead of
410         `elmo-buffer-field-condition-match'.
411
412         * elmo-util.el (elmo-condition-match): New function.
413         (elmo-condition-optimize): Ditto.
414         (elmo-buffer-field-primitive-condition-match): Abolish.
415         (elmo-buffer-field-condition-match): Ditto.
416
417         * elmo-archive.el (elmo-archive-field-condition-match): Use
418         `elmo-message-buffer-match-condition' instead of
419         `elmo-buffer-field-condition-match'.
420
421 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
422
423         * elmo-flag.el (elmo-global-flags-initialize): Check the
424         existence of the flag directory.
425
426 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
427
428         * elmo-access.el (elmo-folder-initialize): Call
429         `elmo-multi-connect-signals'.
430
431         * elmo-pipe.el (elmo-folder-close): Define.
432
433         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
434         children folders.
435
436         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
437         with target folder.
438
439         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
440         `number'.
441
442         * elmo-multi.el (elmo-message-entity): Don't use return value of
443         `elmo-message-entity-set-number'.
444
445 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
446
447         * modb.el (modb-generic): Added slot `mime-charset'.
448
449         * modb-standard.el (modb-standard): Added slot `overview-handler'.
450         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
451         and `modb-entity-handler-dump-parameters'.
452         (modb-standard-default-entity-handler): Abolish.
453         (elmo-msgdb-message-entity-handler): Save created handler by
454         instance slot.
455
456         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
457         (modb-entity-handler-list-parameters): New method.
458         (modb-entity-handler-equal-p): New function.
459         (modb-entity-handler-dump-parameters): Ditto.
460         (modb-entity-parse-address-string): Encode return value.
461         (modb-entity-make-address-string): Decode argument value.
462         (modb-entity-decode-string-recursive): New function.
463         (modb-entity-encode-string-recursive): Ditto.
464         (modb-standard-entity-normalizer): Set to encode field value.
465         (modb-standard-entity-specializer): Follow the above change.
466         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
467         mime-charset of handler.
468         (elmo-msgdb-message-entity-field): Ditto.
469         (elmo-msgdb-copy-message-entity): Fixed reference to internal
470         structure.
471         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
472
473         * elmo.el (elmo-folder): Added slot `mime-charset'.
474         (elmo-make-folder): Added argument `mime-charset'.
475         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
476         `mime-charest'.
477
478         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
479         (elmo-make-msgdb): Likewise.
480
481         * elmo-internal.el (elmo-internal-folder-initialize): Call
482         `luna-make-entity' with :mime-charset parameter.
483
484 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
485
486         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
487         encoded words in `from' and `subject' field.
488
489 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
490
491         * modb.el (elmo-msgdb-message-field): Add argument `type'.
492         (elmo-msgdb-match-condition): Get handler from entity instead of
493         msgdb.
494
495         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
496         (modb-standard-load-entity): Treat new file format.
497         (modb-standard-save-entity-1): Save as new file format.
498         (modb-standard-save-entity): Split messages into section here.
499         (elmo-msgdb-message-field): Follow the API change.
500         (modb-standard-default-entity-handler): New internal variable.
501         (elmo-msgdb-message-entity-handler): Define.
502
503         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
504         to `elmo-vars.el'.
505         (modb-entity-field-extractor-alist): New user option.
506         (elmo-msgdb-message-entity-field): Removed argument `decode' and
507         added argument `type'.
508         (elmo-msgdb-copy-message-entity): Add optional argument
509         `make-handler'.
510         (modb-set-field-converter): New function.
511         (modb-convert-field-value): Ditto.
512         (modb-entity-string-decoder): Ditto.
513         (modb-entity-string-encoder): Ditto.
514         (modb-entity-parse-date-string): Ditto.
515         (modb-entity-make-date-string): Ditto.
516         (modb-entity-mime-decoder): Ditto.
517         (modb-entity-mime-encoder): Ditto.
518         (modb-entity-address-list-decoder): Ditto.
519         (modb-entity-address-list-encoder): Ditto.
520         (modb-entity-parse-address-string): Ditto.
521         (modb-entity-make-address-string): Ditto.
522         (modb-entity-create-field-indices): Ditto.
523         (modb-legacy-entity-field-slots): New constant.
524         (modb-legacy-entity-field-indices): Ditto.
525         (modb-legacy-entity-normalizer): New variable.
526         (modb-legacy-entity-specializer): Ditto.
527         (modb-legacy-entity-field-index): New macro.
528         (modb-legacy-entity-set-field): New function.
529         (modb-legacy-make-message-entity): Rewrite.
530         (elmo-msgdb-create-message-entity-from-buffer): Use
531         `elmo-msgdb-get-references-from-buffer'. Use
532         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
533         Use `modb-legacy-entity-set-field' instead of
534         `elmo-msgdb-message-entity-set-field'.
535         (elmo-msgdb-message-entity-field): Rewrite.
536         (elmo-msgdb-message-entity-set-field): Ditto.
537         (elmo-msgdb-copy-message-entity): Make new entity by
538         `make-handler' if it specified.
539         (elmo-msgdb-message-match-condition): Define a method of
540         `modb-entity-handler' and follow the API change.
541         (modb-standard-entity-handler): New class.
542         (modb-entity-extract-ml-info-from-x-sequence): New function.
543         (modb-entity-extract-ml-info-from-subject): Ditto.
544         (modb-entity-extract-ml-info-from-return-path): Ditto.
545         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
546         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
547         (modb-entity-extract-mailing-list-info): Ditto.
548         (modb-entity-extract-mailing-list-info-functions): New variable.
549
550         * elmo.el (elmo-message-field): Add optional argument `type'.
551
552         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
553         from `modb-entity.el'.
554
555         * elmo-util.el (elmo-object-load): Decode by coding-system from
556         `set-auto-coding-function'.
557         (elmo-object-save): Use `detect-mime-charset-region' and add
558         coding cookie if encode.
559         (elmo-msgdb-get-references-from-buffer): New function.
560         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
561
562         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
563
564         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
565         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
566         instead of `shimbun-make-header' and follow the API change.
567         (elmo-shimbun-update-overview): Follow the API change.
568         (elmo-map-folder-list-message-locations): Ditto.
569
570         * elmo-pipe.el (elmo-message-field): Ditto.
571
572         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
573         Ditto.
574
575         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
576
577         * elmo-multi.el (elmo-message-field): Ditto.
578
579         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
580         (elmo-msgdb-sort-by-date): Ditto.
581         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
582         `elmo-message-entity-field'.
583         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
584         change.
585         (elmo-msgdb-overview-entity-get-from): Ditto.
586         (elmo-msgdb-overview-entity-get-subject): Ditto.
587         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
588         (elmo-msgdb-overview-entity-get-date): Ditto.
589         (elmo-msgdb-overview-entity-get-to): Ditto.
590         (elmo-msgdb-overview-entity-get-cc): Ditto.
591
592         * elmo-mime.el (elmo-message-mime-entity): Ditto.
593         (elmo-mime-collect-message/partial-pieces): Ditto.
594
595         * elmo-filter.el (elmo-message-field): Ditto.
596
597         * elmo-date.el (elmo-datevec-to-time): New function.
598         (elmo-time-parse-date-string): Ditto.
599         (elmo-time-make-date-string): Ditto.
600         (elmo-time<): Ditto.
601
602         * elmo-version.el (elmo-version): Up to 2.15.1.
603
604 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
605
606         * elmo-flag.el (elmo-global-flags-initialize): Don't include
607         member of elmo-local-flags.
608
609 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
610
611         * elmo-version.el (elmo-version): Up to 2.15.0.
612
613 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
614
615         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
616         `ignore-msgdb' is non-nil.
617
618 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
619
620         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
621         (elmo-condition-in-msgdb-p): Ditto.
622         (elmo-file-field-primitive-condition-match): Ditto.
623         (elmo-file-field-condition-match): Ditto.
624
625         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
626
627 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
628
629         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
630         subdirectories here.
631         (elmo-global-flags-initialize): New function.
632
633         * elmo.el (toplevel): Added autoload setting for
634         `elmo-global-flags-initialize'.
635
636 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
637
638         * elmo.el (message-number-changed): Define new signal.
639         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
640         message-number-changed signal.
641         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
642         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
643         Respect `elmo-pack-number-check-strict'.
644
645 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
646
647         * elmo-signal.el (elmo-connect-signal): Document.
648         (elmo-emit-signal): Ditto.
649         (elmo-emit-signal): It should pass source argument to filter and
650         handler, not slot-source.
651
652 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * modb.el (elmo-msgdb-update-entity): New API and define generic
655         implement.
656
657         * modb-standard.el (elmo-msgdb-update-entity): Define.
658
659         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
660         API and define generic implement.
661
662         * elmo.el (update-overview): New singnal.
663
664         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
665         `elmo-msgdb-update-entity' and emit signal `update-overview'.
666         (elmo-message-entity-parent): Define.
667
668         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
669         `update-overview'.
670
671         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
672
673         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
674
675 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
676
677         * elmo.el (elmo-folder-synchronize): Sort the return value of
678         `elmo-list-diff'.
679
680         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
681         list.
682
683 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
684
685         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
686         `default-enable-multibyte-characters'.
687         (elmo-object-load): Use `with-temp-buffer' instead of
688         `elmo-set-work-buf'.
689         (elmo-object-save): Ditto.
690         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
691         `elmo-set-work-buf'.
692         (elmo-decoded-field-body): Ditto.
693
694         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
695
696         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
697         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
698
699         * elmo-version.el (elmo-version): Up to 2.13.3.
700
701 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
702
703         * elmo-util.el (elmo-list-diff): Fix the last change.
704         Reverse order of result lists.
705
706 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
707
708         * modb-standard.el (elmo-msgdb-set-flag): Use
709         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
710         (elmo-msgdb-unset-flag): Ditto.
711
712         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
713         `elmo-list-diff'.
714
715         * elmo-util.el (elmo-list-diff): Rewrite.
716         (elmo-list-diff-nonsortable): New function.
717
718 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
719
720         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
721         `elmo-multibypte-buffer-name'.  All referers are updated.
722
723 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
726         (elmo-mime-entity-fragment-p): New function.
727         (mime-elmo-buffer-entity): Added slot `reassembled'.
728         (elmo-message-mime-entity): Added 4th argument `reassemble'.
729         (elmo-message-mime-entity-internal): New function (renamed from
730         `elmo-message-mime-entity').
731         (elmo-mime-inherit-field-list-from-enclosed): New constant.
732         (elmo-mime-make-reassembled-mime-entity): New function.
733         (elmo-message-reassembled-mime-entity): Ditto.
734         (elmo-mime-collect-message/partial-pieces): Ditto.
735
736 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * elmo.el (elmo-message-fetch-string): Disable multibyte.
739
740         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
741         (elmo-with-enable-multibyte): New macro.
742
743         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
744
745 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
746
747         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
748         argument `number'.
749         (elmo-filter-connect-signals): Follow the above change.
750
751 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
752
753         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
754
755         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
756         that only the first flag is used.
757
758 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
759
760         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
761         if available.
762
763 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
764
765         * elmo-signal.el: New file.
766
767         * elmo.el (toplevel): Require elmo-signal.
768         (flag-changing, flag-changed, cache-changed): New signal.
769         (elmo-folder): Remove slog `handlers'.
770         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
771         `elmo-folder-notify-event'.
772         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
773         (elmo-folder-unset-flag): Ditto.
774         (elmo-event-handler): Abolish.
775         (elmo-event-handler-flag-changed): Ditto.
776         (elmo-event-handler-cache-changed): Ditto.
777         (elmo-folder-add-handler): Ditto.
778         (elmo-folder-remove-handler): Ditto.
779         (elmo-folder-notify-event): Ditto.
780
781         * elmo-pipe.el (toplevel): Require elmo-signal.
782         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
783         (elmo-pipe-connect-signals): New function.
784         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
785         (elmo-folder-set-flag): Ditto.
786         (elmo-folder-unset-flag): Ditto.
787         (elmo-message-set-cached): Ditto.
788
789         * elmo-multi.el (toplevel): Require elmo-signal.
790         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
791         (elmo-multi-connect-signals): New function.
792         (elmo-multi-map-numbers): Ditto.
793         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
794         (elmo-message-fetch): Ditto.
795         (elmo-folder-set-flag): Ditto.
796         (elmo-folder-unset-flag): Ditto.
797
798         * elmo-filter.el (toplevel): Require elmo-signal.
799         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
800         (elmo-filter-connect-signals): New function.
801         (elmo-filter-add-flag-count): Ditto.
802         (elmo-message-fetch): Does not call
803         `elmo-filter-folder-countup-message-flags' and
804         `elmo-folder-notify-event'.
805         (elmo-message-set-cached): Ditto.
806         (elmo-folder-set-flag): Ditto.
807         (elmo-folder-unset-flag): Ditto.
808
809         * elmo-version.el (elmo-version): Up to 2.13.2.
810
811 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
812
813         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
814         `flags'.
815
816 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
817
818         * elmo-filter.el (elmo-message-set-cached): Call
819         `elmo-folder-notify-event' with event `cache-changed'.
820
821         * elmo-multi.el (elmo-message-set-cached): Ditto.
822
823         * elmo-pipe.el (elmo-message-set-cached): Ditto.
824
825 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
826
827         * elmo.el (elmo-folder-encache): Abolish.
828
829 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
830
831         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
832         (elmo-folder-next-message-number-dop): Return appropriate negative
833         integer.
834
835 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
836
837         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
838         clearing pending operations.
839         (elmo-folder-next-message-number-dop): Return appropriate negative
840         integer.
841
842 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
843
844         * elmo.el (toplevel): Added autoload setting for `md5'.
845         (elmo-msgdb-path-encode-threshold): New user option.
846         (elmo-folder-msgdb-path): Encode msgdb path if its length is
847         longer than `elmo-msgdb-path-encode-threshold'.
848
849         * elmo-flag.el (elmo-global-mark-migrate): Use
850         `elmo-folder-expand-msgdb-path' instead of
851         `elmo-folder-msgdb-path'.
852
853 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
854
855         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
856         element of the difference is nil.
857
858 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
859
860         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
861         to the check logic of file systems which are weak in colon character.
862
863 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
864
865         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
866
867 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
868
869         * elmo-maildir.el (elmo-maildir-move-file): New function.
870         (elmo-folder-append-buffer): Use it.
871         (elmo-folder-append-messages): Ditto.
872         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
873
874         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
875         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
876
877         * elmo-maildir.el (elmo-maildir-separator): New user option.
878         (elmo-maildir-adjust-separator): New macro.
879         (elmo-maildir-list-location): Use it.
880         (elmo-maildir-update-current): Ditto.
881         (elmo-maildir-set-mark): Ditto.
882         (elmo-maildir-delete-mark): Ditto.
883         (These changes are based on Hiroya Murata's patch [wl: 13437])
884
885 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
886
887         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
888
889 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
890
891         * elmo-flag.el (elmo-flag-valid-p): Simplify.
892         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
893         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
894
895 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
896
897         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
898         Use `with-temp-buffer'.
899
900 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
901
902         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
903
904         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
905         `wl-read-search-condition').
906         (elmo-read-search-condition-internal): Likewise.
907
908         * elmo-flag.el (elmo-flag-char-regexp): New constant.
909         (elmo-flag-valid-p): New function.
910         (elmo-folder-initialize): Check flag name is valid.
911
912 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
913
914         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
915         delimiter to obtain root mailbox itself.
916
917 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
918
919         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
920         type mismatch.
921
922 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
923
924         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
925         as t.
926
927 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
928
929         * elmo-shimbun.el (toplevel): Require cl at compile.
930
931         * elmo-nntp.el (toplevel): Ditto.
932
933         * elmo-nmz.el (toplevel): Ditto.
934
935         * elmo-multi.el (toplevel): Ditto.
936
937         * elmo-file.el (toplevel): Ditto.
938
939         * elmo-dop.el (toplevel): Ditto.
940
941         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
942
943 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
944
945         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
946         as nil.
947
948         * elmo.el (elmo-message-fetch): Return t even when the output buffer
949         size of elmo-message-fetch-internal is 0 byte.
950
951 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
952
953         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
954
955 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
956
957         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
958         always plugged.
959
960 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
961
962         * elmo-maildir.el (elmo-map-message-fetch): Call
963         `elmo-map-folder-set-flag'.
964
965         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
966         (elmo-message-fetch): Merge from
967         `elmo-message-fetch-with-cache-process'.
968
969         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
970         (elmo-message-fetch): Define.
971
972         * elmo-nntp.el (elmo-message-fetch): Renamed from
973         `elmo-message-fetch-with-cache-process'.
974
975         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
976         (elmo-message-fetch): Define.
977
978         * elmo-util.el (elmo-condition-parse-primitive): Downcase
979         search-key.
980
981         * elmo-shimbun.el (shimbun-mua-search-id): Use
982         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
983         (elmo-shimbun-folder-shimbun-header): Ditto.
984         (elmo-shimbun-get-headers): Ditto.
985         (elmo-shimbun-update-overview): Ditto.
986
987         * elmo-pipe.el (elmo-folder-detach-messages): Define.
988
989         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
990         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
991
992 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
993
994         * elmo.el (elmo-message-fetch): Unset unread flag on server when
995         message is cached.
996         (elmo-message-fetch-string): Fixed argument.
997
998 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
999
1000         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1001         exchange order of arguments `section' and `unread'.
1002         (elmo-message-encache): Follow the API change.
1003         (elmo-message-match-condition): Ditto.
1004         (elmo-generic-folder-append-messages): Ditto.
1005         (elmo-message-fetch-string): New function.
1006
1007         * elmo-split.el (elmo-split-subr): Ditto.
1008
1009         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1010
1011         * elmo-pipe.el (elmo-message-fetch): Ditto.
1012
1013         * elmo-multi.el (elmo-message-fetch): Ditto.
1014
1015         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1016
1017         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1018
1019         * elmo-filter.el (elmo-message-fetch): Ditto.
1020
1021         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1022
1023         * elmo-imap4.el (mime-imap-location-section-body): Use
1024         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1025         follow the API change.
1026
1027 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1028
1029         * elmo-access.el: New file.
1030
1031         * elmo-null.el: Ditto.
1032
1033         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1034
1035 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1036
1037         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1038         (elmo-network-session): New attribute `last-accessed'.
1039         (elmo-network-get-session): Discard network cache if elapsed time
1040         since last-accessed is larger than elmo-network-session-idle-timeout.
1041
1042 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1043
1044         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1045         and added `number', `require-entireness'.
1046         (elmo-find-fetch-strategy): Rewrite.
1047         (elmo-message-fetch): Unset `unread' flag when argument unread is
1048         non-nil.
1049
1050         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1051
1052         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1053         (elmo-message-fetch): Notify event `flag-changed'.
1054
1055         * elmo-pipe.el: Likewise.
1056
1057         * elmo-mime.el (elmo-mime-entity): New class.
1058         (elmo-mime-entity-display-p): New generic function.
1059         (elmo-mime-entity-display): Ditto.
1060         (elmo-mime-entity-display-as-is): Ditto.
1061         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1062         elmo-mime-entity.
1063         (elmo-make-mime-message-location): Removed.
1064         (elmo-mime-message-display): Ditto.
1065         (elmo-mime-display-as-is): Ditto.
1066         (elmo-message-mime-entity): New function.
1067
1068         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1069
1070         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1071         change.
1072         (elmo-message-fetch): Re-count flagged message number and notify
1073         event `flag-changed'.
1074
1075         * elmo-version.el (elmo-version): Up to 2.13.1.
1076
1077 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1078
1079         * elmo-filter.el (elmo-message-field): Define.
1080         (elmo-message-set-field): Ditto.
1081
1082 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1083
1084         * elmo.el (elmo-message-set-cached): Call
1085         `elmo-folder-notify-event' with cache-changed.
1086         (elmo-event-handler-cache-changed): New generic function.
1087
1088 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1089
1090         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1091         instead of elmo-add-name-to-file.
1092         (elmo-folder-append-messages): Ditto.
1093
1094 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1095
1096         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1097
1098 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1099
1100         * elmo-version.el (elmo-version): Up to 2.13.0.
1101
1102         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1103         `auto'.
1104
1105         * modb-standard.el (modb-standard-economize-entity-size): Changed
1106         default value to `t'.
1107
1108         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1109         `standard'.
1110
1111         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1112         after parsing greeting string.
1113
1114 2004-11-23  Daishi Kato <daishi@axlight.com>
1115
1116         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1117         New user option.
1118         (elmo-spam-spamoracle-call): Use it.
1119
1120 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1121
1122         * elmo.el (elmo-message-accessible-p): Message in dop spool
1123         is accessible.
1124
1125 2004-11-23  Daishi Kato <daishi@axlight.com>
1126
1127         * elsp-spamoracle.el: New file.
1128
1129 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1130
1131         * elmo.el (elmo-message-flags-for-append): New function.
1132         (elmo-generic-folder-append-messages): Use it.
1133
1134         * elmo-split.el (elmo-split-subr): Ditto.
1135
1136         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1137         `flags' and use elmo-folder-append-buffer instead of
1138         write-region-as-binary.
1139         (elmo-dop-filter-pending-messages): New function.
1140         (elmo-folder-append-buffer-dop): Call
1141         elmo-dop-spool-folder-append-buffer with `flag'.
1142         (elmo-folder-set-flag-dop): Filter messages by
1143         elmo-dop-filter-pending-messages.
1144         (elmo-folder-unset-flag-dop): Ditto.
1145         (elmo-folder-append-buffer-dop-delayed): Use
1146         elmo-message-flags-for-append to get flags of the message and
1147         simplify.
1148
1149 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1150
1151         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1152
1153 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1154
1155         * elmo.el (elmo-folder): Added handlers slot.
1156         (elmo-event-handler): New class.
1157         (elmo-event-handler-flag-changed): New API.
1158         (elmo-folder-add-handler): New function.
1159         (elmo-folder-remove-handler): Ditto.
1160         (elmo-folder-notify-event): Ditto.
1161         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1162         `flag-changed'.
1163         (elmo-folder-unset-flag): Ditto.
1164
1165         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1166         (elmo-folder-unset-flag): Ditto.
1167
1168         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1169         (elmo-folder-unset-flag): Ditto.
1170
1171         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1172         (elmo-folder-unset-flag): Ditto.
1173
1174         * elmo-version.el (elmo-version): Up to 2.11.33.
1175
1176 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1177
1178         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1179
1180 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1181
1182         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1183
1184         * elmo-flag.el (elmo-folder-unset-flag): Define.
1185         (elmo-global-flag-detach): Do process when the flag is not target
1186         flag.
1187
1188 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1189
1190         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1191         variable.
1192         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1193
1194 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1195
1196         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1197         function.
1198         (elmo-folder-delete-messages): Detach messages before delete
1199         messages from target folder.
1200         (elmo-folder-detach-messages): Set updated number-list to slot.
1201
1202 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1203
1204         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1205
1206 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1207
1208         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1209
1210 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1211
1212         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1213         internal use only).
1214         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1215         not modified.
1216         (elmo-folder-delete-messages): Define.
1217         (elmo-folder-move-messages): Don't call
1218         `elmo-folder-detach-messages'.
1219         (elmo-folder-synchronize): Rewrite.
1220         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1221
1222         * elmo-util.el (elmo-last): New function.
1223         (elmo-set-list): Ditto.
1224         (elmo-number-set-delete-list): Ditto.
1225         (elmo-number-set-delete): Ditto.
1226
1227         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1228
1229         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1230         `elmo-folder-delete-messages' and don't delete location map.
1231         (elmo-folder-detach-messages): Define.
1232
1233         * elmo-imap4.el (elmo-folder-delete): Use
1234         `elmo-folder-delete-messages-internal' instead of
1235         `elmo-folder-delete-messages'.
1236
1237         * elmo-filter.el (elmo-folder-delete-messages): Call
1238         `elmo-folder-detach-messages'.
1239         (elmo-folder-detach-messages): Don't call
1240         `elmo-folder-detach-messages' for target folder.
1241
1242         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1243         message deletion is succeeded.
1244
1245         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1246
1247         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1248         from `elmo-folder-delete-messages'.
1249
1250         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1251
1252         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1253
1254         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1255
1256         * elmo-version.el (elmo-version): Up to 2.11.32.
1257
1258 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1259
1260         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1261         (elmo-global-flag-list): Added obsolete variable setting.
1262
1263         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1264
1265         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1266         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1267         `elmo-mime-display-header-analysis' is nil.
1268
1269         * elmo-flag.el (elmo-global-flags): Renamed from
1270         `elmo-global-flag-list' (All other related portions are changed).
1271         (elmo-local-flags): New variable.
1272         (elmo-local-flag-p): New function.
1273         (elmo-global-flag-set-internal): Cause an error when flag is not
1274         global.
1275
1276 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1277
1278         * elmo-util.el (elmo-concat-path): Treat empty path.
1279
1280 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1281
1282         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1283         field-or-fields).
1284         (elmo-split-address-match): Ditto.
1285         (elmo-split-equal): Ditto.
1286         (elmo-split-match): Ditto.
1287
1288 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1289
1290         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1291         (elmo-generic-folder-append-messages): If src message exists but
1292         has no flag, pass (read) for the FLAG argument of
1293         `elmo-folder-append-buffer'. Otherwise, pass nil.
1294
1295         * elmo-split.el (elmo-split-subr): Likewise.
1296
1297         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1298
1299         * elmo-multi.el (elmo-message-flags): Ditto.
1300
1301         * elmo-filter.el (elmo-message-flags): Ditto.
1302
1303         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1304         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1305         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1306         
1307 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1308
1309         * elmo-split.el (elmo-split-rule): Update comment.
1310         (elmo-split-address-equal): Allow 2nd argument to be a list.
1311         (elmo-split-address-match): Ditto.
1312         (elmo-split-equal): Ditto.
1313         (elmo-split-match): Ditto.
1314
1315 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1316
1317         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1318         (elmo-folder-append-msgdb): Don't treat `read'.
1319         (elmo-message-flags): Don't return `read'.
1320
1321         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1322         (elmo-folder-unset-read-delayed): Ditto.
1323
1324         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1325
1326 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1327
1328         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1329         deletion.
1330
1331 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1332
1333         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1334         header.
1335
1336 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1337
1338         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1339         here.
1340         (elmo-msgdb-save): Bind inhibit-quit.
1341         (modb-standard-message-entity): Ditto.
1342
1343 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1344
1345         * elmo-database.el: No need to require elmo-msgdb.
1346
1347 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1348
1349         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1350         instead of `elmo-list-subdirectories'.
1351
1352 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1353
1354         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1355         group entry.
1356         (elmo-folder-exists-p): "[" is empty.
1357         (elmo-folder-list-subfolders): Define.
1358         (elmo-folder-have-subfolder-p): Ditto.
1359
1360 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1361
1362         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1363
1364 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1365
1366         * elmo-filter.el (elmo-folder-local-p): Define.
1367
1368 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1369
1370         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1371         when entity is garbaged.
1372         (modb-standard-save-entity-1): Don't modify the original entity.
1373
1374 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1375
1376         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1377
1378 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1379
1380         * elmo.el (elmo-strict-folder-diff): Use
1381         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1382
1383 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1386         (elmo-msgdb-message-number): Ditto.
1387         (elmo-msgdb-message-field): Ditto.
1388
1389         * modb-standard.el (modb-standard-economize-entity-size): New user
1390         option.
1391         (modb-standard-loaded-message-id): New inline function.
1392         (modb-standard-load-entity): Use it.
1393         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1394         throw message-id string away.
1395         (elmo-msgdb-flag-available-p): Define.
1396         (elmo-msgdb-message-number): Ditto.
1397         (elmo-msgdb-message-field): Ditto.
1398
1399         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1400         (suppoted -> supported).
1401         (modb-legacy-supported-flag-p): Ditto.
1402         (elmo-msgdb-set-flag): Ditto.
1403         (elmo-msgdb-unset-flag): Ditto.
1404         (elmo-msgdb-flag-available-p): Define.
1405
1406         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1407         is `t', treat it as legacy entity.
1408         
1409         * elmo.el (elmo-message-flag-available-p): New generic function.
1410         (elmo-message-number): Ditto.
1411         (elmo-message-field): Use `elmo-msgdb-message-field'.
1412
1413         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1414
1415         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1416         (elmo-message-number): Ditto.
1417
1418         * elmo-multi.el (elmo-message-number): Define.
1419         (elmo-message-flag-available-p): Ditto.
1420
1421         * elmo-filter.el (elmo-message-flag-available-p): Define.
1422         (elmo-message-number): Ditto.
1423
1424         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1425         (elmo-folder-initialize): Load `max-number'.
1426         (elmo-folder-commit): Save it.
1427         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1428         (elmo-global-flag-set-internal): Set up max-number slot.
1429
1430 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1431
1432         * elmo-version.el (elmo-version): Up to 2.11.31.
1433
1434 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1435
1436         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1437         unibyte string of the current buffer for the argument of `md5'
1438         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1439
1440 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1441
1442         * modb-legacy.el (modb-legacy-flag-list): New constant.
1443         (modb-legacy-suppoted-flag-p): New internal function.
1444         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1445         (elmo-msgdb-unset-flag): Ditto.
1446
1447 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1448
1449         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1450
1451         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1452         from msgdb.
1453
1454 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1455
1456         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1457         (follow the API change).
1458
1459         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1460
1461 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1462
1463         * modb-standard.el (modb-standard-digest-flags): Abolish.
1464         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1465
1466         * elmo-vars.el (elmo-digest-flags): New variable.
1467         (elmo-preserved-flags): Moved from elmo-flag.el.
1468
1469         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1470         (elmo-imap4-flag-to-imap-criteria): Ditto.
1471         (elmo-imap4-folder-list-flagged): Use it.
1472
1473         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1474
1475         * elmo.el (elmo-folder-count-flags): Changed return value.
1476
1477         * elmo-flag.el (elmo-preserved-flags): New variable.
1478         (elmo-get-global-flags): Use it.
1479
1480         * modb-standard.el (modb-standard-digest-flags): New variable.
1481         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1482         Changed behavior of `any'.
1483
1484         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1485         which are defined the Internet draft
1486         (draft-melnikov-imap-keywords-03.txt).
1487         (elmo-imap4-flags-to-imap): New function.
1488         (elmo-folder-append-buffer): Use it.
1489
1490         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1491         in the docstring.
1492
1493         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1494         avoid the bug of Emacs 21.3.
1495
1496 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1497
1498         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1499         function find-coding-system does not exist.
1500
1501 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1502
1503         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1504         parsing.
1505
1506 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1507
1508         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1509         response codes.
1510
1511 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1512
1513         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1514         (elmo-network-close-session): Follow the changes in
1515         `elmo-pop3-read-response'.
1516         (elmo-pop3-auth-user): Ditto.
1517         (elmo-pop3-auth-apop): Ditto.
1518         (elmo-network-initialize-session): Ditto.
1519         (elmo-network-authenticate-session): Ditto.
1520         (elmo-network-setup-session): Ditto.
1521         (elmo-folder-status): Ditto.
1522         (elmo-message-fetch-plugged): Ditto.
1523         (elmo-pop3-delete-msg): Ditto.
1524
1525 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1526
1527         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1528         on failure.
1529
1530 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1533         style.
1534         (elmo-bind-directory): Ditto.
1535
1536 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1537
1538         * elmo.el (elmo-folder-append-messages): Note on return value.
1539         * elmo-archive.el (elmo-folder-append-messages): Don't return
1540         message numbers which could not be appended.
1541
1542 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1543
1544         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1545
1546 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1547
1548         * elmo-version.el (elmo-version): Up to 2.11.30.
1549
1550 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1551
1552         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1553         `mask'.
1554
1555         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1556
1557         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1558         (elmo-multi-split-numbers): Add elmo-folder object into each
1559         element of return value at first.
1560         (elmo-folder-delete-messages): Follow the above change.
1561         (elmo-folder-detach-messages): Ditto.
1562
1563         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1564         number which is synchronized in target folder.
1565
1566 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1567
1568         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1569         Change default value to symbol `all'.
1570         (elmo-map-message-fetch): Change condition to update overview
1571         follow the above.
1572
1573 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1574
1575         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1576         behavior to update overview.
1577         (elmo-shimbun-update-overview-folder-list): Note it.
1578
1579 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1580
1581         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1582         recursive call.
1583
1584 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1585
1586         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1587         buffer-disable-undo, it is unnecessary.
1588         (elmo-spam-register-good-messages): Ditto.
1589
1590         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1591         Ditto.
1592
1593         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1594
1595 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1596
1597         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1598         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1599         elmo-set-buffer-multibyte.
1600         (elmo-object-load): Ditto.
1601         (elmo-save-buffer): Ditto.
1602         (elmo-delete-char): Ditto.
1603         (elmo-file-field-primitive-condition-match): Ditto.
1604         (elmo-mime-string): Ditto.
1605
1606         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1607         (elmo-archive-field-condition-match): Ditto.
1608
1609         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1610
1611         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1612
1613         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1614         (elmo-nntp-msgdb-create-message): Ditto.
1615
1616         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1617
1618         * elmo.el (elmo-message-match-condition): Ditto.
1619         (elmo-message-match-condition): Ditto.
1620
1621         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1622         Ditto.
1623
1624         * elmo-version.el (elmo-version): Up to 2.11.29.
1625
1626         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1627         (elsp-header): New backend.
1628
1629         * elmo-util.el (elmo-decoded-field-body): New function.
1630
1631 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1632
1633         * elmo-version.el (elmo-version): Up to 2.11.28.
1634
1635 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1636
1637         * elmo-filter.el: Rewrite.
1638
1639         * elmo-version.el (elmo-version): Up to 2.11.27.
1640
1641 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1642
1643         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1644         msgdb path for the localdir folder with absolute path.
1645
1646         * utf7.el: Synch up with latest gnus/utf7.el;
1647         Modified for latest Emacs.
1648
1649 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1650
1651         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1652         shimbun backend couldn't open.
1653
1654 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1655
1656         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1657         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1658         when a destination folder is a filter folder.
1659
1660 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1661
1662         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1663         (elmo-generic-folder-append-messages): Call elmo-message-flags
1664         with argument `msgid'.
1665
1666         * elmo-split.el (elmo-split-subr): Ditto.
1667
1668         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1669
1670         * elmo-multi.el (elmo-message-flags): Ditto.
1671
1672 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1673
1674         * elmo.el (elmo-folder): Add new slot `flag-table'.
1675         (elmo-folder-flag-table): New API.
1676         (elmo-folder-close-flag-table): Ditto.
1677         (elmo-folder-preserve-flags): New function.
1678         (elmo-generic-folder-append-messages): Use
1679         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1680         Flag of a non-registered message, it sets to nil.
1681         Does not set flag to flag-table.
1682
1683         * elmo-maildir.el (elmo-folder-append-buffer): Use
1684         `elmo-folder-preserve-flags'.
1685         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1686         `elmo-folder-close-flag-table'.
1687
1688         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1689         (elmo-archive-folder-append-buffer): Use
1690         `elmo-folder-preserve-flags'.
1691
1692         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1693
1694         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1695
1696         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1697         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1698         `elmo-folder-close-flag-table'.
1699
1700         * elmo-version.el (elmo-version): Up to 2.11.26.
1701
1702 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1703
1704         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1705
1706         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1707         md5's 4th and 5th argument (non-existent in flim one).
1708
1709 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1710
1711         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1712         message, It sets to nil.
1713
1714 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1715
1716         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1717         list is non-nil.
1718
1719 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1720
1721         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1722
1723         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1724
1725         * elmo-util.el (elmo-uniq-sorted-list): New function.
1726         (elmo-make-number-list): Ditto.
1727         (elmo-number-set-to-number-list): Use elmo-make-number-list
1728         and don't use nreverse.
1729
1730 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1731
1732         * elmo-version.el (elmo-version): Up to 2.11.25.
1733
1734 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1735
1736         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1737         field not exists in message, Use md5 message digest of header.
1738
1739 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1740
1741         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1742         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1743         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1744         * elmo-split.el (elmo-split-subr): Check return value of
1745         elmo-folder-append-buffer.
1746
1747         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1748         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1749
1750         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1751         message-id.
1752
1753 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1754
1755         * elmo-split.el (elmo-split-subr): Append message with flag.
1756
1757         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1758         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1759         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1760
1761 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1762
1763         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1764         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1765         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1766
1767 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1768
1769         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1770         with a function call of `process-buffer'.  All callers are updated.
1771         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1772         Remove redundant `set-buffer' in a while loop.
1773
1774 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1775
1776         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1777         calls.
1778
1779 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1780
1781         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1782         elsp-spamfilter-register-buffer-internal with current buffer.
1783         (elmo-spam-register-spam-buffer): Ditto.
1784         (elmo-spam-register-good-buffer): Ditto.
1785
1786 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1787
1788         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1789         if it is not contained in the response(A workaround for courier-imap).
1790
1791 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1792
1793         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1794         parenthesis.
1795
1796 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1797
1798         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1799         range.
1800
1801 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1802
1803         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1804         of nconc.
1805
1806         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1807         argument handler.
1808         (elmo-msgdb-message-match-condition): Follow the change above.
1809
1810 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1811
1812         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1813         folder name.
1814
1815 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1816
1817         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1818
1819 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1820
1821         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1822
1823 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1824
1825         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1826         not found.
1827
1828 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1829
1830         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1831         value.
1832         (elmo-file-command-argument): Undo last change for cygwin.
1833         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1834         Don't return nil.
1835         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1836
1837 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1838
1839         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1840         value returned from elmo-file-find is nil.
1841
1842 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1843
1844         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1845         to elmo-vars.el.
1846
1847         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1848         instead of insert-file-contents-as-binary.
1849         (elmo-message-set-field): New generic function.
1850
1851         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1852         behavior change on `split-string'.
1853
1854         * elmo-file.el (elmo-file-find): New function.
1855         (elmo-file-command): New user option.
1856         (elmo-file-command-argument): Ditto.
1857         (elmo-file-fetch-max-size): Ditto.
1858         (elmo-file-detect-format): New function.
1859         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1860         Use elmo-file-detect-format.
1861         (elmo-map-folder-list-message-locations): Don't treat directories.
1862
1863 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1864
1865         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1866         (elmo-passwd-alist-clear): Shred password before clear.
1867         (elmo-remove-passwd): Remove all mached pair.
1868
1869 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1870
1871         * elmo.el (elmo-folder-synchronize): Fix description of the return
1872         value.
1873
1874 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1875
1876         * elmo.el (elmo-message-fetch-bodystructure): New method.
1877         (elmo-message-fetch-bodystructure): Define default.
1878
1879         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1880         elmo-message-fetch-bodystructure.
1881         (elmo-message-fetch-bodystructure): Define.
1882
1883         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1884
1885 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1886
1887         * elmo-filter.el (elmo-message-folder): Define.
1888
1889 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1890
1891         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1892         elmo-delete-cr-buffer.
1893
1894         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1895
1896         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1897
1898         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1899
1900         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1901         type seems to be a text.
1902
1903 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1904
1905         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1906         (elmo-spam-register-good-buffer): Ditto.
1907         (elmo-spam-spamassassin-register-messages): Ditto.
1908
1909         * elmo-util.el (elmo-string-member-ignore-case): Define with
1910         static-cond.
1911
1912 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1913
1914         * elmo.el (elmo-folder-type): Undo last change.
1915
1916         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1917
1918         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1919         warnings.
1920
1921         * elmo-file.el: New file.
1922         
1923         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1924
1925         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1926         variable.
1927         (elmo-spam-spamassassin-register-messages): New inline function.
1928         (elmo-spam-register-spam-messages): Define.
1929         (elmo-spam-register-good-messages): Ditto.
1930
1931         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1932         Fixed typo.
1933
1934         * elmo.el (toplevel): Added autoload setting for
1935         `elmo-get-global-flags'.
1936         (elmo-message-has-global-flag-p): New function.
1937         (elmo-message-set-global-flags): Ditto.
1938         (elmo-folder-type): Improvement for name: format.
1939
1940         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1941         availability of keyword flags.
1942         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1943         (elmo-folder-list-flagged-plugged): Renamed from
1944         elmo-folder-list-flagged-unplugged.
1945         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1946         accept any flag as keyword flag.
1947         (elmo-folder-set-flag-plugged): Accept keyword flags.
1948         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1949
1950         * elmo-flag.el (elmo-get-global-flags): New function.
1951
1952         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1953         folders.
1954
1955         * elmo-version.el (elmo-version): Up to 2.11.24.
1956
1957 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1958
1959         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1960         elmo-multiple-field-body instead of std11-field-body to check all
1961         headers.
1962
1963 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1964
1965         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1966         or "size".
1967
1968 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1969
1970         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1971         unintern is unbound.
1972
1973 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1974
1975         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1976         Protect from infinite loop.
1977
1978 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1979
1980         * elsp-bogofilter.el
1981         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1982         (elmo-spam-bogofilter-register-messages): New internal function.
1983         (elmo-spam-register-spam-messages): Define.
1984         (elmo-spam-register-good-messages): Ditto.
1985
1986 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1987
1988         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1989         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1990         (elmo-spam-bogofilter-call): Fixed the last change.
1991         (elmo-spam-bogofilter-arguments): Ditto.
1992
1993         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1994         Follow the options change of latest bogofilter.
1995
1996         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1997         (elmo-spam-bogofilter-good-switch): Ditto.
1998         (elmo-spam-bogofilter-arguments-alist): New user option.
1999         (elmo-spam-bogofilter-debug): Ditto.
2000         (elmo-spam-bogofilter-call): Renamed from
2001         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2002         is non-nil, insert output in buffer for debug.
2003         (elmo-spam-bogofilter-arguments): New macro.
2004         (elmo-spam-buffer-spam-p): Use it.
2005         (elsp-bogofilter-register-buffer): Ditto.
2006
2007 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2008
2009         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2010         regexp.
2011
2012 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2013
2014         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2015         value as "ruby".
2016         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2017         (elmo-spam-bsfilter-program): Set default value as full path for
2018         `bsfilter'.
2019         (elmo-spam-bsfilter-debug): New user option.
2020         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2021         non-nil, insert output in buffer for debug. Fix treating of
2022         argument.
2023
2024 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2025
2026         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2027         `elmo-maildir-flag-specs' element instead of one.
2028         (elmo-map-folder-unset-flag): Ditto.
2029         (Reported by Ken Makimura <macky@astem.or.jp>)
2030
2031         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2032         (elmo-folder-unset-flag-plugged): Ditto.
2033
2034 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2035
2036         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2037         to `reads' slot only if `in-msgdb' is nil.
2038
2039 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2040
2041         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2042         and complement argument list.
2043
2044 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2045
2046         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2047         instead of elmo-folder-list-flagged.
2048
2049 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2050
2051         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2052
2053         * elsp-bsfilter.el: New file.
2054
2055         * elmo-pipe.el (elmo-folder-list-unreads,
2056         elmo-folder-list-answereds,
2057         elmo-folder-list-importants,
2058         elmo-folder-flag-as-important,
2059         elmo-folder-unflag-important,
2060         elmo-folder-flag-as-read,
2061         elmo-folder-unflag-read,
2062         elmo-folder-flag-as-answered,
2063         elmo-folder-unflag-answered): Remove.
2064         (elmo-folder-set-flag): Define.
2065         (elmo-folder-unset-flag): Ditto.
2066
2067         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2068         (elmo-folder-set-flag): Define.
2069         (elmo-folder-unset-flag): Ditto.
2070         (elmo-folder-list-unreads): Remove.
2071         (elmo-folder-list-flagged): Define.
2072
2073         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2074         (elmo-folder-list-unreads,
2075         elmo-folder-list-importants,
2076         elmo-folder-list-answereds,
2077         elmo-folder-list-unreads-plugged,
2078         elmo-folder-list-importants-plugged,
2079         elmo-folder-list-answereds-plugged): Remove.
2080         (elmo-folder-list-flagged-plugged): New method.
2081         (elmo-folder-unflag-important,
2082         elmo-folder-flag-as-important,
2083         elmo-folder-unflag-read,
2084         elmo-folder-flag-as-read,
2085         elmo-folder-unflag-answered,
2086         elmo-folder-flag-as-answered,
2087         elmo-folder-flag-as-read-unplugged,
2088         elmo-folder-unflag-read-unplugged,
2089         elmo-folder-flag-as-important-unplugged,
2090         elmo-folder-unflag-important-unplugged,
2091         elmo-folder-flag-as-answered-unplugged,
2092         elmo-folder-unflag-answered-unplugged): Remove.
2093         (elmo-folder-set-flag): Define.
2094         (elmo-folder-unset-flag): Ditto.
2095         (elmo-folder-set-flag-unplugged): Ditto.
2096         (elmo-folder-unset-flag-unplugged): Ditto.
2097
2098         * elmo-multi.el (elmo-folder-list-unreads,
2099         elmo-folder-list-answereds,
2100         elmo-folder-list-importants,
2101         elmo-folder-flag-as-important,
2102         elmo-folder-unflag-important,
2103         elmo-folder-flag-as-read,
2104         elmo-folder-unflag-read,
2105         elmo-folder-flag-as-answered,
2106         elmo-folder-unflag-answered): Remove.
2107         (elmo-folder-set-flag): Define.
2108         (elmo-folder-unset-flag): Ditto.
2109
2110         * elmo-map.el (elmo-map-folder-unflag-important,
2111         elmo-map-folder-flag-as-important,
2112         elmo-map-folder-unflag-read,
2113         elmo-map-folder-flag-as-read,
2114         elmo-map-folder-unflag-answered,
2115         elmo-map-folder-flag-as-answered): Remove.
2116         (elmo-map-folder-set-flag): New method.
2117         (elmo-map-folder-unset-flag): Ditto.
2118         (elmo-map-folder-list-unreads,
2119         elmo-map-folder-list-importants,
2120         elmo-map-folder-list-answereds): Remove.
2121         (elmo-folder-list-flagged-internal): Define.
2122         (elmo-map-folder-list-flagged): New method.
2123
2124         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2125         (elmo-map-folder-list-unreads,
2126         elmo-map-folder-list-importants,
2127         elmo-map-folder-list-flagged): Remove.
2128         (elmo-map-folder-list-flagged): Define.
2129         (elmo-map-folder-flag-as-important,
2130         elmo-map-folder-unflag-important,
2131         elmo-map-folder-flag-as-read,
2132         elmo-map-folder-unflag-read,
2133         elmo-map-folder-flag-as-answered,
2134         elmo-map-folder-unflag-answered): Remove.
2135         (elmo-maildir-set-mark-messages): New internal function.
2136         (elmo-map-folder-set-flag): Define.
2137         (elmo-map-folder-unset-flag): Ditto.
2138
2139         * elmo.el (toplevel): Added autoload setting for
2140         `elmo-folder-list-global-flag-messages'.
2141         (elmo-folder-list-unreads,
2142         elmo-folder-list-importants,
2143         elmo-folder-list-answereds): Remove.
2144         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2145         Return a list whitch merged with messages have global flag.
2146         (elmo-folder-list-flagged-internal): New method.
2147         (elmo-folder-unflag-important,
2148         elmo-folder-flag-as-important,
2149         elmo-folder-unflag-read,
2150         elmo-folder-flag-as-read,
2151         elmo-folder-unflag-answered,
2152         elmo-folder-flag-as-answered): Remove.
2153         (elmo-folder-set-flag): New method.
2154         (elmo-folder-unset-flag): Ditto.
2155         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2156         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2157
2158         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2159         (elmo-folder-list-unreads-plugged,
2160         elmo-folder-list-importants-plugged,
2161         elmo-folder-list-answereds-plugged,
2162         elmo-folder-list-flagged-unplugged,
2163         elmo-folder-unflag-important-plugged,
2164         elmo-folder-flag-as-important-plugged,
2165         elmo-folder-unflag-read-plugged,
2166         elmo-folder-flag-as-read-plugged,
2167         elmo-folder-unflag-answered-plugged,
2168         elmo-folder-flag-as-answered-plugged): Remove.
2169         (elmo-folder-set-flag-plugged,
2170         elmo-folder-unset-flag-plugged): Define.
2171
2172         * elmo-flag.el (elmo-folder-initialize): Register to
2173         `elmo-global-flag-list' if flag is not global.
2174         (elmo-folder-append-messages): Set flag to source messages.
2175
2176         * elmo-filter.el (elmo-filter-folder-list-unreads,
2177         elmo-folder-list-unreads,
2178         elmo-filter-folder-list-importants,
2179         elmo-folder-list-importants,
2180         elmo-folder-flag-as-read,
2181         elmo-folder-unflag-read,
2182         elmo-folder-flag-as-important,
2183         elmo-folder-unflag-important,
2184         elmo-folder-flag-as-answered,
2185         elmo-folder-unflag-answered): Remove.
2186         (elmo-folder-set-flag): Define.
2187         (elmo-folder-unset-flag): Ditto.
2188
2189         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2190         elmo-folder-unflag-read-dop,
2191         elmo-folder-flag-as-important-dop,
2192         elmo-folder-unflag-important-dop,
2193         elmo-folder-flag-as-answered-dop,
2194         elmo-folder-unflag-answered-dop): Remove.
2195         (elmo-folder-set-flag-dop,
2196         elmo-folder-unset-flag-dop,
2197         elmo-folder-set-important-delayed,
2198         elmo-folder-unset-important-delayed,
2199         elmo-folder-set-read-delayed,
2200         elmo-folder-unset-read-delayed,
2201         elmo-folder-set-answered-delayed,
2202         elmo-folder-unset-answered-delayed): New function.
2203         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2204         (elmo-dop-queue-method-name-alist): Ditto.
2205
2206         * elmo-version.el (elmo-version): Up to 2.11.23.
2207
2208 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2209
2210         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2211
2212         * elsp-sa.el: New file.
2213
2214 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * modb-standard.el (modb-standard-message-entity): New function.
2217         (elmo-msgdb-message-entity): Use it.
2218
2219 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2220
2221         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2222         behavior when one-level is nil.
2223
2224         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2225
2226         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2227
2228 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2229
2230         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2231         get max number.
2232         (elmo-generic-folder-diff): Ditto.
2233
2234         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2235         (elmo-folder-update-number): Ditto.
2236
2237         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2238         (elmo-folder-next-message-number-dop): Ditto.
2239
2240 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2241
2242         * elmo-filter.el (elmo-folder-msgdb-create): Use
2243         `elmo-message-entity' and `elmo-message-flags' instead of
2244         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2245
2246 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2247
2248         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2249         `if-exists'.
2250
2251 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2252
2253         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2254
2255         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2256
2257         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2258
2259 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2260
2261         * elmo-version.el (elmo-version): Up to 2.11.22.
2262
2263 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2264
2265         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2266
2267 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2268
2269         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2270         if the message dose not exist.
2271
2272 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2273
2274         * elmo-version.el (elmo-version): Up to 2.11.21.
2275
2276 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2277
2278         * modb-standard.el (toplevel): Don't require mime.
2279
2280 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2281
2282         * elsp-bogofilter.el (toplevel): Don't require path-util.
2283         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2284         (elmo-spam-bogofilter-header): Abolish.
2285         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2286         (elmo-spam-bogofilter-args): New user option.
2287         (elsp-bogofilter-call-bogofilter): New internal function.
2288         (elmo-spam-buffer-spam-p): Use it.
2289         (elsp-bogofilter-register-buffer): Renamed from
2290         `elmo-spam-bogofilter-register-buffer';
2291         Use `elsp-bogofilter-call-bogofilter'.
2292         (elmo-spam-register-spam-buffer): Follow the change above.
2293         (elmo-spam-register-good-buffer): Ditto.
2294
2295 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2296
2297         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2298         message-id is nil do nothing.
2299
2300 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2301
2302         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2303         Revival.
2304         (elmo-imap4-session): Removed use-flag slot.
2305         (elmo-imap4-session-select-mailbox): Undo last change.
2306         (elmo-folder-use-flag-p): Use
2307         elmo-imap4-disuse-server-flag-mailbox-regexp.
2308
2309 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2310
2311         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2312         (elmo-imap4-session-select-mailbox): Set it up.
2313         (elmo-folder-use-flag-p): Return value of use-flag slot.
2314
2315 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2318         message-id is nil.
2319         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2320
2321         * modb-entity.el (elmo-message-entity-handler): Likewise.
2322
2323 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2324
2325         * elmo.el (toplevel): Remove setting of autoloding for
2326         elmo-global-flag-initialize.
2327         (elmo-init): Don't call elmo-global-flag-initialize.
2328         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2329
2330         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2331         (elmo-global-mark-migrate): Don't call it.
2332         (elmo-global-mark-upgrade): Ditto.
2333
2334 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2335
2336         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2337         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2338
2339         * elmo-vars.el (elmo-init-hook): New user option.
2340
2341         * elmo.el (elmo-init): Run the elmo-init-hook.
2342
2343         * elmo-flag.el (elmo-global-mark-migrate): New function.
2344
2345 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2346
2347         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2348         Undo last change (move to elmo-msgdb-unset-flag).
2349         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2350         flag is unset.
2351
2352 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2353
2354         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2355         read flag is set.
2356         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2357         (elmo-msgdb-unset-flag): Ditto.
2358
2359 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2360
2361         * elmo-split.el (elmo-split): Return split message count.
2362
2363 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2364
2365         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2366         is nil.
2367
2368 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2369
2370         * elmo.el (elmo-folder-unflag-important): Call
2371         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2372         a symbol `always'.
2373
2374         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2375         before unset flag.
2376         (elmo-global-flag-detach): Delete the message from flag folder, if
2377         `delete-if-none' is a symbol `always'.
2378
2379 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2380
2381         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2382         `elmo-spam-spamfilter-decode-buffer'.
2383         (elsp-spamfilter-register-buffer-internal): New internal function.
2384         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2385         (elmo-spam-register-spam-buffer): Ditto.
2386         (elmo-spam-register-good-buffer): Ditto.
2387
2388         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2389         change.
2390         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2391         (elmo-spam-register-spam-buffer): Follow the API change.
2392         (elmo-spam-register-good-buffer): Ditto.
2393
2394         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2395         (elmo-split-spam-p): Added argument plist; Call
2396         `elmo-spam-buffer-spam-p' with new argument register.
2397
2398         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2399         `register'.
2400         (elmo-spam-message-spam-p): Ditto.
2401         (elmo-spam-register-spam-buffer): Added optional argument
2402         `restore'.
2403         (elmo-spam-register-good-buffer): Ditto.
2404         (elmo-spam-register-spam-messages): Ditto.
2405         (elmo-spam-register-good-messages): Ditto.
2406
2407 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2408
2409         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2410         register into good corpus.
2411         (elmo-spam-register-good-buffer): Fixed to register into bad
2412         corpus.
2413
2414 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2415
2416         * elmo-version.el (elmo-version): Up to 2.11.20.
2417
2418         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2419         change.
2420
2421         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2422         flag without depending on \Recent flag.
2423
2424 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2425
2426         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2427         (elmo-spam-modified-p): Defined.
2428         (elmo-spam-save-status): Set `modified' slot to nil.
2429         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2430         (elmo-spam-register-good-buffer): Ditto.
2431
2432         * elmo-spam.el (elmo-spam-modified-p): New API.
2433
2434 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2435
2436         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2437         duplicate definition.
2438
2439         * elmo-util.el (elmo-unfold-field-body): New function.
2440         (elmo-msgdb-get-message-id-from-buffer): Use it.
2441
2442         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2443         Fixed the last change; Use elmo-unfold-field-body.
2444
2445 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2446
2447         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2448         Unfold date value.
2449
2450 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2451
2452         * elmo-spam.el (elmo-spam-save-status): New API.
2453
2454         * elsp-spamfilter.el: New file.
2455
2456 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2457
2458         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2459
2460 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2461
2462         * elmo-split.el (elmo-split-spam-p): New function.
2463
2464         * elmo-spam.el: New file.
2465
2466         * elsp-bogofilter.el: Ditto.
2467
2468 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2469
2470         * elmo.el (elmo-folder-next-message-number): New API.
2471         (elmo-folder-next-message-number): Define.
2472         (elmo-message-field): Don't check folder length.
2473
2474         * elmo-net.el (elmo-folder-next-message-number): Define.
2475         (elmo-folder-next-message-number-unplugged): Define.
2476
2477         * elmo-map.el (elmo-folder-next-message-number): Define.
2478         (elmo-folder-delete-messages): Clear hash value.
2479
2480         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2481
2482         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2483         (elmo-folder-delete-messages-dop-delayed): Always return t.
2484
2485         * elmo-version.el (elmo-version): Up to 2.11.19.
2486
2487 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2488
2489         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2490         change.
2491
2492         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2493         identical cons cell into the mark-alist and the hash table.
2494
2495 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2496
2497         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2498         elmo-folder-list-messages with argument `visible-only' as t.
2499
2500         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2501         (elmo-folder-msgdb-create): Check the target folder.
2502
2503 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2504
2505         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2506         `permanentflag' instead of `flags'.
2507         (elmo-folder-open): Ditto.
2508         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2509         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2510         (elmo-folder-use-flag-p): Always return t.
2511         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2512         `permanentflags' does not exist.
2513         (elmo-folder-open): Ditto.
2514
2515 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2516
2517         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2518         is nil.
2519         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2520
2521         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2522         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2523         response.
2524         (elmo-folder-open): Ditto.
2525         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2526         slot of the session includes the flag.
2527         (elmo-imap4-session-flag-available-p): New function.
2528         (elmo-imap4-folder-list-flagged): Ditto.
2529         (elmo-folder-list-unreads-plugged): Use it.
2530         (elmo-folder-list-importants-plugged): Ditto.
2531         (elmo-folder-list-answereds-plugged): Ditto.
2532         (elmo-imap4-search-internal-primitive): Ditto.
2533         (elmo-imap4-folder-list-any-plugged,
2534         elmo-imap4-folder-list-digest-plugged): Abolish.
2535
2536         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2537         if numbers is nil.
2538
2539 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2540
2541         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2542
2543 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2544
2545         * elmo-util.el (elmo-get-hash-val): Simplify.
2546         (elmo-set-hash-val): Rewrite.
2547
2548 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2549
2550         * elmo.el (elmo-folder-list-messages): Append killed messages into
2551         result if `visible-only' is nil and `in-msgdb' is non-nil.
2552
2553         * elmo-util.el (elmo-uniq-list): Added optional argument
2554         `delete-function'.
2555
2556         * modb.el (elmo-msgdb-flag-count): New API.
2557
2558         * modb-standard.el (modb-standard): Added slot flag-count.
2559         (modb-standard-countup-flags): New function.
2560         (modb-standard-load-flag): Call it.
2561         (elmo-msgdb-append): Ditto.
2562         (elmo-msgdb-clear): Clear slot flag-count.
2563         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2564         (elmo-msgdb-unset-flag): Treat `all' flag and call
2565         modb-standard-countup-flags.
2566         (elmo-msgdb-flag-count): Define.
2567         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2568         (elmo-msgdb-delete-messages): Ditto.
2569
2570         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2571         (elmo-msgdb-flag-count): Define.
2572
2573         * elmo.el (elmo-folder-list-messages): Undo last change.
2574         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2575         (elmo-folder-kill-messages): Unset all flags to numbers.
2576
2577         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2578         elmo-folder-kill-messages.
2579
2580         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2581         (elmo-nntp-folder-delete-messages): Abolish.
2582
2583         * elmo-version.el (elmo-version): Up to 2.11.18.
2584
2585 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2586
2587         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2588         (elmo-folder-kill-messages-range): New function.
2589         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2590         instead of elmo-folder-kill-messages-before.
2591
2592 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2593
2594         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2595         elmo-imap4-current-msgdb to decide entity handler.
2596
2597 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2598
2599         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2600
2601         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2602         inline function.
2603         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2604         (elmo-msgdb-overview-entity-set-number,
2605         elmo-msgdb-overview-entity-get-references,
2606         elmo-msgdb-overview-entity-set-references,
2607         elmo-msgdb-overview-entity-get-from-no-decode,
2608         elmo-msgdb-overview-entity-get-from,
2609         elmo-msgdb-overview-entity-set-from,
2610         elmo-msgdb-overview-entity-get-subject,
2611         elmo-msgdb-overview-entity-get-subject-no-decode,
2612         elmo-msgdb-overview-entity-set-subject,
2613         elmo-msgdb-overview-entity-get-date,
2614         elmo-msgdb-overview-entity-set-date,
2615         elmo-msgdb-overview-entity-get-to,
2616         elmo-msgdb-overview-entity-get-cc,
2617         elmo-msgdb-overview-entity-get-size,
2618         elmo-msgdb-overview-entity-set-size,
2619         elmo-msgdb-overview-entity-get-extra,
2620         elmo-msgdb-overview-entity-set-extra,
2621         elmo-msgdb-overview-entity-get-extra-field,
2622         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2623         (elmo-msgdb-make-index): Use
2624         `elmo-msgdb-overview-entity-get-number-internal'.
2625         (elmo-msgdb-clear-index): Ditto.
2626         (elmo-msgdb-append-entity): Ditto;
2627         Use `elmo-msgdb-overview-entity-get-id-internal'.
2628
2629         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2630         elmo-msgdb-overview-entity-set-number,
2631         elmo-msgdb-overview-entity-get-references,
2632         elmo-msgdb-overview-entity-set-references,
2633         elmo-msgdb-overview-entity-get-from-no-decode,
2634         elmo-msgdb-overview-entity-get-from,
2635         elmo-msgdb-overview-entity-set-from,
2636         elmo-msgdb-overview-entity-get-subject,
2637         elmo-msgdb-overview-entity-get-subject-no-decode,
2638         elmo-msgdb-overview-entity-set-subject,
2639         elmo-msgdb-overview-entity-get-date,
2640         elmo-msgdb-overview-entity-set-date,
2641         elmo-msgdb-overview-entity-get-to,
2642         elmo-msgdb-overview-entity-get-cc,
2643         elmo-msgdb-overview-entity-get-size,
2644         elmo-msgdb-overview-entity-set-size,
2645         elmo-msgdb-overview-entity-get-extra,
2646         elmo-msgdb-overview-entity-set-extra,
2647         elmo-msgdb-overview-entity-get-extra-field,
2648         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2649         and rewrote for backward compatibility.
2650
2651 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2652
2653         * elmo.el (elmo-message-entity-number,
2654         elmo-message-entity-set-number,
2655         elmo-message-entity-field,
2656         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2657
2658         * elmo-msgdb.el (elmo-message-entity-number,
2659         elmo-message-entity-set-number,
2660         elmo-message-entity-field,
2661         elmo-message-entity-set-field): Moved from elmo.el.
2662
2663 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2664
2665         * elmo.el (toplevel): Changed definition orders.
2666
2667 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2668
2669         * modb.el (elmo-msgdb-search): New API .
2670         (elmo-msgdb-match-condition): Ditto.
2671
2672         * modb-standard.el (elmo-msgdb-search): Define.
2673
2674         * modb-legacy.el (elmo-msgdb-search): Ditto.
2675
2676         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2677         from elmo-msgdb-match-condition-internal.
2678
2679         * elmo.el (elmo-folder-search-fast): Abolish.
2680         (elmo-folder-search): Use elmo-msgdb-search and
2681         elmo-with-progress-display.
2682
2683         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2684         as msgdb API.
2685
2686         * elmo.el (elmo-folder): Remove slot message-modified and
2687         flag-modified.
2688         (elmo-folder-set-message-modified): Abolish.
2689         (elmo-generic-folder-commit): Follow the change above.
2690         (elmo-folder-synchronize): Ditto.
2691
2692         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2693
2694         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2695
2696         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2697
2698 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2699
2700         * modb-standard.el (modb-standard-make-message-entity,
2701         elmo-msgdb-make-message-entity,
2702         elmo-msgdb-create-message-entity-from-buffer,
2703         elmo-msgdb-message-entity-number,
2704         elmo-msgdb-message-entity-set-number,
2705         elmo-msgdb-message-entity-field,
2706         elmo-msgdb-message-entity-set-field,
2707         elmo-msgdb-copy-message-entity,
2708         elmo-msgdb-match-condition-internal): Remove.
2709
2710         * modb-entity.el: New file (again).
2711
2712         * modb.el (toplevel): Require modb-entity.
2713         (elmo-msgdb-message-entity-handler): New method.
2714
2715         * modb-standard.el (modb-standard-entity-id): Use
2716         elmo-message-entity-handler.
2717         (modb-standard-load-entity): Ditto.
2718         (elmo-msgdb-append-entity): Ditto.
2719         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2720
2721         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2722         elmo-msgdb-decoded-cache-hashtb,
2723         (modb-legacy-make-message-entity,
2724         elmo-msgdb-make-message-entity,
2725         elmo-msgdb-create-message-entity-from-buffer,
2726         elmo-msgdb-message-entity-number,
2727         elmo-msgdb-message-entity-set-number,
2728         elmo-msgdb-message-entity-field,
2729         elmo-msgdb-message-entity-set-field,
2730         elmo-msgdb-copy-message-entity,
2731         elmo-msgdb-match-condition-internal,
2732         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2733
2734         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2735         (elmo-message-entity-set-number): Ditto.
2736         (elmo-message-entity-field): Ditto.
2737         (elmo-message-entity-set-field): Ditto.
2738
2739         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2740
2741         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2742
2743         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2744
2745         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2746         (elmo-nntp-msgdb-create-message): Ditto.
2747
2748         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2749         (elmo-folder-msgdb-create): Add unread flag.
2750
2751         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2752
2753         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2754
2755         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2756
2757         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2758
2759         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2760         elmo-msgdb-messge-entity-handler.
2761         * elmo-version.el (elmo-version): Up to 2.11.17.
2762
2763 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2764
2765         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2766         change.
2767
2768 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2769
2770         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2771
2772         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2773         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2774         (elmo-msgdb-flag-table): Ditto.
2775         (elmo-msgdb-sort-by-date): Ditto.
2776
2777         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2778
2779         * modb-standard.el (toplevel): Require mime.
2780         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2781         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2782         elmo-msgdb-message-entity-number.
2783         (elmo-msgdb-append-entity): Ditto.
2784         (elmo-msgdb-create-message-entity-from-file): Remove.
2785         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2786         corresponds to the entity.
2787         (elmo-msgdb-message-entity-number): Do nothing currently.
2788         (elmo-msgdb-message-entity-field): Ditto.
2789         (elmo-msgdb-message-entity-set-field): Ditto.
2790         (elmo-msgdb-copy-message-entity): Ditto.
2791         (elmo-msgdb-match-condition-internal): Ditto.
2792
2793         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2794         elmo-util.el.
2795         (elmo-msgdb-create-message-entity-from-file): Remove.
2796
2797         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2798         modb-legacy.el.
2799         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2800
2801         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2802
2803 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2804
2805         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2806         (elmo-msgdb-message-entity-field): Ditto.
2807         (elmo-msgdb-message-entity-number): Ditto.
2808
2809 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2810
2811         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2812         Fixed how to set extra field into entity.
2813         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2814         symbol.
2815
2816         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2817         Fixed how to set extra field into entity.
2818         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2819         symbol.
2820
2821 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2822
2823         * modb.el (elmo-message-entity-db): New function.
2824         (elmo-msgdb-make-message-entity): New API.
2825         (elmo-msgdb-message-entity-number): Ditto.
2826         (elmo-msgdb-message-entity-set-number): Ditto.
2827         (elmo-msgdb-message-entity-field): Ditto.
2828         (elmo-msgdb-message-entity-set-field): Ditto.
2829         (elmo-msgdb-copy-message-entity): Ditto.
2830         (elmo-msgdb-create-message-entity-from-file): Ditto.
2831         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2832         (elmo-msgdb-match-condition-internal): Ditto.
2833
2834         * modb-standard.el (modb-legacy): Require modb-legacy.
2835         (modb-standard-make-message-entity): New inline function.
2836         (elmo-msgdb-make-message-entity): Define.
2837         (elmo-msgdb-create-message-entity-from-file): Ditto.
2838         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2839         (elmo-msgdb-message-entity-field): Ditto.
2840         (elmo-msgdb-message-entity-set-field): Ditto.
2841         (elmo-msgdb-copy-message-entity): Ditto.
2842         (elmo-msgdb-match-condition-internal): Ditto.
2843
2844         * modb-legacy.el: Don't require modb-entity.
2845         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2846         (elmo-msgdb-match-condition-primitive): Ditto.
2847         (elmo-msgdb-get-decoded-cache): Ditto.
2848         (elmo-msgdb-overview-entity-get-id): Ditto.
2849         (elmo-msgdb-overview-entity-get-number): Ditto.
2850         (elmo-msgdb-overview-entity-set-number): Ditto.
2851         (elmo-msgdb-overview-entity-get-references): Ditto.
2852         (elmo-msgdb-overview-entity-set-references): Ditto.
2853         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2854         (elmo-msgdb-overview-entity-get-from): Ditto.
2855         (elmo-msgdb-overview-entity-set-from): Ditto.
2856         (elmo-msgdb-overview-entity-get-subject): Ditto.
2857         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2858         (elmo-msgdb-overview-entity-set-subject): Ditto.
2859         (elmo-msgdb-overview-entity-get-date): Ditto.
2860         (elmo-msgdb-overview-entity-set-date): Ditto.
2861         (elmo-msgdb-overview-entity-get-to): Ditto.
2862         (elmo-msgdb-overview-entity-get-cc): Ditto.
2863         (elmo-msgdb-overview-entity-get-size): Ditto.
2864         (elmo-msgdb-overview-entity-set-size): Ditto.
2865         (elmo-msgdb-overview-entity-get-extra): Ditto.
2866         (elmo-msgdb-overview-entity-set-extra): Ditto.
2867         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2868         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2869         (elmo-msgdb-number-load): Ditto.
2870         (elmo-msgdb-overview-load): Ditto.
2871         (elmo-msgdb-mark-load): Ditto.
2872         (elmo-msgdb-number-save): Ditto.
2873         (elmo-msgdb-mark-save): Ditto.
2874         (elmo-msgdb-overview-save): Ditto.
2875         (modb-legacy-make-message-entity): New inline function.
2876         (elmo-msgdb-insert-file-header): Ditto.
2877         (elmo-msgdb-make-message-entity): Define.
2878         (elmo-msgdb-create-message-entity-from-file): Ditto.
2879         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2880         (elmo-msgdb-message-entity-number): Ditto.
2881         (elmo-msgdb-message-entity-set-number): Ditto.
2882         (elmo-msgdb-message-entity-field): Ditto.
2883         (elmo-msgdb-message-entity-set-field): Ditto.
2884         (elmo-msgdb-copy-message-entity): Ditto.
2885         (elmo-msgdb-match-condition-internal): Ditto.
2886
2887         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2888         (elmo-message-copy-entity): Rewrite.
2889         (elmo-message-entity-number): Ditto.
2890         (elmo-message-entity-set-number): Ditto.
2891         (elmo-message-entity-field): Use elmo-message-entity-db.
2892         (elmo-message-entity-set-field): Ditto.
2893         (elmo-message-field): Rewrite.
2894
2895         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2896         elmo-msgdb.el
2897         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2898
2899         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2900         elmo-message-entity-field.
2901         (elmo-shimbun-folder-shimbun-header): Ditto.
2902         (elmo-shimbun-entity-to-header): Ditto.
2903         (elmo-folder-msgdb-create): Ditto.
2904         (elmo-shimbun-msgdb-create-entity): Ditto;
2905         Use elmo-msgdb-create-message-entity-from-buffer.
2906         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2907         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2908
2909         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2910         elmo-msgdb-create-message-entity-from-file and 
2911         elmo-message-entity-field.
2912
2913         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2914         elmo-message-entity-number.
2915         (elmo-pop3-msgdb-create-message): Use
2916         elmo-msgdb-create-message-entity-from-buffer,
2917         elmo-message-entity-set-field, elmo-message-entity-number and
2918         elmo-message-entity-set-number.
2919
2920         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2921         the API change in elmo-msgdb-make-message-entity.
2922         (elmo-nntp-msgdb-create-message): Use
2923         elmo-msgdb-create-message-entity-from-buffer.
2924
2925         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2926         elmo-message-entity-field and
2927         elmo-msgdb-create-message-entity-from-file.
2928
2929         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2930         (elmo-msgdb-get-field): Abolish.
2931         (elmo-msgdb-get-number): Rewrite.
2932         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2933         (elmo-msgdb-flag-table): Ditto.
2934         (elmo-msgdb-get-last-message-id,
2935         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2936         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2937         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2938         (elmo-msgdb-create-overview-from-buffer,
2939         elmo-msgdb-overview-get-parent-entity): Abolish.
2940
2941         * elmo-mime.el (elmo-mime-display-as-is): Use
2942         elmo-message-entity-field.
2943
2944         * elmo-map.el (elmo-folder-pack-numbers): Use
2945         elmo-message-entity-set-number.
2946
2947         * elmo-maildir.el (elmo-folder-msgdb-create): 
2948         elmo-msgdb-create-message-entity-from-file instead of
2949         elmo-msgdb-create-overview-entity-from-file.
2950
2951         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2952         msgdb.
2953         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2954         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2955
2956         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2957         elmo-messge-entity-field and elmo-message-entity-number.
2958         (elmo-imap4-fetch-callback-1): Call
2959         elmo-msgdb-create-message-entity-from-buffer instead of
2960         elmo-msgdb-create-overview-from-buffer. 
2961         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2962         (elmo-find-fetch-strategy): Likewise.
2963
2964         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2965         elmo-localdir-msgdb-create-entity with argument msgdb.
2966
2967         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2968         and elmo-message-entity-set-number.
2969
2970         * elmo-cache.el (elmo-folder-msgdb-create): Use
2971         elmo-message-entity-field.
2972         (elmo-folder-msgdb-create): Call
2973         elmo-msgdb-create-message-entity-from-file instead of
2974         elmo-msgdb-create-overview-entity-from-file.
2975
2976         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2977         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2978         instead of elmo-msgdb-create-overview-from-buffer.
2979         (elmo-archive-msgdb-create-entity): Ditto.
2980         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2981         elmo-message-entity-field.
2982         (elmo-archive-parse-mmdf): Ditto.
2983
2984         * modb-entity.el: Removed.
2985
2986         * elmo-version.el (elmo-version): Up to 2.11.16.
2987
2988 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2989
2990         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2991         `is-local'.
2992         (elmo-folder-flag-as-answered): Ditto.
2993
2994 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2995
2996         * modb-standard.el: New file.
2997
2998         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2999         elmo-msgdb-convert-type is `sync'.
3000
3001         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3002         (elmo-msgdb-convert-type): New user option.
3003
3004         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3005         (elmo-load-msgdb): Auto detect saved type.
3006
3007         * elmo-version.el (elmo-version): Up to 2.11.15.
3008
3009 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3010
3011         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3012
3013         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3014         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3015         with argument `delete-if-none' when dst-folder is 'null.
3016
3017         * elmo-flag.el (elmo-folder-append-messages): Defined.
3018         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3019
3020 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3021
3022         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3023
3024 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3025
3026         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3027         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3028         (elmo-folder-commit): Ditto.
3029
3030 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3031
3032         * elmo-flag.el: New file.
3033
3034         * elmo-mark.el: Removed.
3035
3036         * modb-legacy.el (modb-legacy-new-mark,
3037         modb-legacy-unread-uncached-mark,
3038         modb-legacy-unread-cached-mark,
3039         modb-legacy-read-uncached-mark,
3040         modb-legacy-answered-cached-mark,
3041         modb-legacy-answered-uncached-mark,
3042         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3043         All other related portions are changed.
3044
3045         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3046         (elmo-folder-list-messages-with-global-mark): Abolish.
3047         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3048         (elmo-folder-flag-as-important): Ditto.
3049         (elmo-folder-unflag-read): Ditto.
3050         (elmo-folder-flag-as-read): Ditto.
3051         (elmo-folder-unflag-answered): Ditto.
3052         (elmo-folder-flag-as-answered): Ditto.
3053         (elmo-message-encache): Return the cache path.
3054         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3055         (elmo-message-set-flag): Transitional implementation.
3056         (elmo-message-unset-flag): Ditto.
3057         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3058         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3059         (elmo-init): Call elmo-global-flag-initialize.
3060         (toplevel): Added autoload settings for elmo-flag.
3061
3062         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3063
3064         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3065         (elmo-file-cache-delete): Don't treat global-mark.
3066
3067         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3068
3069         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3070
3071         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3072         `elmo-global-flags-set'.
3073
3074         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3075         `flag'.
3076         (elmo-folder-unflag-read): Ditto.
3077         (elmo-folder-unflag-important): Ditto.
3078         (elmo-folder-flag-as-important): Ditto.
3079         (elmo-folder-unflag-answered): Ditto.
3080         (elmo-folder-flag-as-answered): Ditto.
3081
3082         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3083         `elmo-global-flags-set'.
3084         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3085
3086         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3087
3088         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3089         `flag'.
3090         (elmo-folder-flag-as-important): Ditto.
3091         (elmo-folder-unflag-important): Ditto.
3092         (elmo-folder-flag-as-important): Ditto.
3093         (elmo-folder-unflag-read): Ditto.
3094         (elmo-folder-flag-as-read): Ditto.
3095         (elmo-folder-unflag-answered): Ditto.
3096         (elmo-folder-flag-as-answered): Ditto.
3097
3098         * elmo-multi.el (elmo-folder-list-importants): Don't call
3099         elmo-folder-list-messages-with-global-mark.
3100         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3101         (elmo-folder-unflag-important): Ditto.
3102         (elmo-folder-flag-as-read): Ditto.
3103         (elmo-folder-unflag-read): Ditto.
3104         (elmo-folder-flag-as-answered): Ditto.
3105         (elmo-folder-unflag-answered): Ditto.
3106
3107         * elmo-msgdb.el (elmo-msgdb-new-mark,
3108         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3109         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3110         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3111         (Moved to modb-legacy.el).
3112         (elmo-flag-table-get): Treat important flag too.
3113
3114         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3115         `mark' to `flag'.
3116         (elmo-map-folder-flag-as-important): Ditto.
3117         (elmo-map-folder-unflag-read): Ditto.
3118         (elmo-map-folder-flag-as-read): Ditto.
3119         (elmo-map-folder-unflag-answered): Ditto.
3120         (elmo-map-folder-flag-as-answered): Ditto.
3121         (elmo-folder-unflag-important): Ditto.
3122         (elmo-folder-flag-as-important): Ditto.
3123         (elmo-folder-unflag-read): Ditto.
3124         (elmo-folder-flag-as-read): Ditto.
3125         (elmo-folder-unflag-answered): Ditto.
3126         (elmo-folder-flag-as-answered): Ditto.
3127
3128         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3129         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3130         `flag'.
3131         (elmo-map-folder-unflag-important): Ditto.
3132         (elmo-map-folder-flag-as-read): Ditto.
3133         (elmo-map-folder-unflag-read): Ditto.
3134         (elmo-map-folder-flag-as-answered): Ditto.
3135         (elmo-map-folder-unflag-answered): Ditto.
3136
3137         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3138         `elmo-global-flags-set'.
3139         (elmo-global-flags-set): Added autoload setting.
3140
3141         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3142         `flag'.
3143
3144         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3145         `elmo-msgdb-global-mark-set'.
3146         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3147         Call `elmo-global-flags-set'.
3148         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3149         `flag'.
3150         (elmo-folder-flag-as-important-plugged): Ditto.
3151         (elmo-folder-unflag-read-plugged): Ditto.
3152         (elmo-folder-flag-as-read-plugged): Ditto.
3153         (elmo-folder-unflag-answered-plugged): Ditto.
3154         (elmo-folder-flag-as-answered-plugged): Ditto.
3155         (elmo-global-flags-set): Added autoload setting.
3156
3157         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3158         `flag'.
3159         (elmo-folder-unflag-read): Ditto.
3160         (elmo-folder-flag-as-important): Ditto.
3161         (elmo-folder-unflag-important): Ditto.
3162         (elmo-folder-flag-as-answered): Ditto.
3163         (elmo-folder-unflag-answered): Ditto.
3164
3165         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3166         change of `mark'->`flag'.
3167         (elmo-dop-queue-method-name-alist): Ditto.
3168         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3169         (elmo-folder-unflag-read-dop): Ditto.
3170         (elmo-folder-flag-as-important-dop): Ditto.
3171         (elmo-folder-unflag-important-dop): Ditto.
3172         (elmo-folder-flag-as-answered-dop): Ditto.
3173         (elmo-folder-unflag-answered-dop): Ditto.
3174
3175         * elmo-cache.el (elmo-folder-msgdb-create): Call
3176         `elmo-global-flags-set'.
3177
3178         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3179         Call `elmo-global-flags-set'.
3180         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3181         elmo-archive-parse-mmdf with argument `folder'.
3182         (elmo-archive-parse-mmdf): Added argument `folder';
3183         Call `elmo-global-flags-set'.
3184
3185         * elmo-version.el (elmo-version): Up to 2.11.14.
3186
3187 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3188
3189         * modb.el (elmo-msgdb-length): Define.
3190
3191         * elmo.el (elmo-make-folder): Fixed.
3192         (elmo-generic-folder-append-messages): Follow the API change.
3193
3194         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3195         API change.
3196
3197 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3198
3199         * modb.el: New file.
3200
3201         * modb-entity.el: Ditto.
3202
3203         * modb-legacy.el: Ditto.
3204
3205         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3206         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3207         of `elmo-msgdb-overview-get-entity'.
3208         (elmo-msgdb-get-field): Ditto.
3209         (elmo-msgdb-merge): Moved to `elmo.el'.
3210         (elmo-msgdb-length): Removed; redefine as modb method.
3211         (elmo-msgdb-change-mark): Abolish.
3212         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3213         (elmo-msgdb-match-condition): Don't use mark.
3214         (elmo-msgdb-overview-get-entity): Abolish.
3215         Split modb part into `modb*.el'.
3216
3217         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3218
3219         * elmo-shimbun.el (shimbun-mua-search-id): Use
3220         `elmo-msgdb-message-entity' instead of
3221         `elmo-msgdb-overview-get-entity'.
3222         (elmo-shimbun-folder-shimbun-header): Ditto.
3223         (elmo-shimbun-get-headers): Ditto.
3224         (elmo-shimbun-update-overview): Ditto.
3225
3226         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3227
3228         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3229
3230         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3231         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3232
3233         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3234         `elmo-msgdb-mark-to-flags'.
3235
3236         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3237         `elmo-msgdb-set-path'.
3238
3239         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3240  
3241         * elmo-version.el (elmo-version): Up to 2.11.13.
3242
3243         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3244
3245         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3246         of mark.
3247
3248 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3249
3250         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3251         mismatch.
3252
3253 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3254
3255         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3256         instead of `elmo-msgdb-get-cached'.
3257         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3258
3259         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3260         (elmo-msgdb-set-cached): Ditto.
3261         (elmo-msgdb-set-flag): Rewrite.
3262         (elmo-msgdb-unset-flag): Ditto.
3263
3264         * elmo-msgdb.el: Rewrite with luna.
3265
3266         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3267         (elmo-folder-msgdb): Follow the change above.
3268         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3269         (elmo-folder-unmark-important): Follow the API change.
3270         (elmo-folder-mark-as-important): Ditto.
3271         (elmo-folder-unmark-read): Ditto.
3272         (elmo-folder-mark-as-read): Ditto.
3273         (elmo-folder-unmark-answered): Ditto.
3274         (elmo-folder-mark-as-answered): Ditto.
3275         (elmo-folder-clear): Likewise.
3276
3277         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3278         instead of `elmo-msgdb-load' (renamed).
3279
3280         * elmo-version.el (elmo-version): Up to 2.11.12.
3281
3282 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3283
3284         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3285         change.
3286         (elmo-message-mark): Abolish.
3287         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3288         instead of `elmo-msgdb-change-mark'.
3289
3290         * elmo-pipe.el (elmo-message-mark): Abolish.
3291
3292         * elmo-multi.el (elmo-message-mark): Ditto.
3293
3294         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3295         (elmo-msgdb-unread-uncached-mark): Ditto.
3296         (elmo-msgdb-unread-cached-mark): Ditto.
3297         (elmo-msgdb-read-uncached-mark): Ditto.
3298         (elmo-msgdb-answered-cached-mark): Ditto.
3299         (elmo-msgdb-answered-uncached-mark): Ditto.
3300         (elmo-msgdb-important-mark): Ditto.
3301         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3302         `use-cache'.
3303         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3304         `flags'.
3305         (elmo-flag-table-load): Changed flag to list of flag.
3306         (elmo-flag-table-set): If flags is nil, set read flag.
3307         (elmo-flag-table-get): Return derived flags from global mark,
3308         cache status and saved flags.
3309         (elmo-msgdb-flag-table): Follow the change above.
3310         (elmo-msgdb-out-of-date-messages): New function.
3311
3312         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3313
3314         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3315
3316         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3317
3318         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3319         (elmo-nntp-msgdb-create-message): Ditto.
3320
3321         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3322
3323         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3324         independent.
3325         (elmo-folder-msgdb-create): Follow the API change.
3326
3327         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3328         (elmo-folder-append-messages): Ditto.
3329
3330         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3331         (elmo-folder-append-buffer): Ditto.
3332
3333         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3334
3335         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3336
3337         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3338         (elmo-archive-parse-mmdf): Ditto.
3339
3340         * elmo-version.el (elmo-version): Up to 2.11.11.
3341
3342 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3343
3344         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3345         `elmo-msgdb-mark'.
3346
3347         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3348
3349         * elmo-pipe.el (elmo-message-flags): Defined.
3350
3351         * elmo-multi.el (elmo-message-flags): Ditto.
3352
3353 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3354
3355         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3356         `elmo-msgdb-delete-msgs'.
3357
3358         * elmo.el (elmo-folder-count-flags): Don't use
3359         `elmo-msgdb-get-mark-alist'.
3360         (elmo-folder-detach-messages): Follow the API change.
3361
3362         * elmo.el (elmo-folder-list-messages): Append killed messages into
3363         result if `visible-only' is nil.
3364
3365         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3366         canceled messages.
3367         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3368         (elmo-folder-update-number): Likewise.
3369
3370         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3371         (elmo-pop3-sort-msgdb-by-original-number): Use
3372         `elmo-msgdb-sort-entities'.
3373
3374         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3375         (elmo-msgdb-sort-by-date): Use it.
3376         (elmo-msgdb-overview-sort-by-date): Abolish.
3377
3378         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3379
3380         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3381         (elmo-msgdb-flags): New function.
3382         (elmo-msgdb-merge): Use elmo-msgdb-append.
3383
3384         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3385         change.
3386
3387         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3388
3389         * elmo-dop.el (elmo-folder-status-dop): Use
3390         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3391
3392 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3393
3394         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3395
3396         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3397
3398         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3399
3400         * elmo-util.el (elmo-with-progress-display): New macro.
3401
3402         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3403
3404 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3405
3406         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3407         `elmo-folder-list-message-entities' instead of
3408         `elmo-msgdb-get-overview'.
3409         (elmo-map-folder-list-message-locations): Ditto.
3410
3411         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3412         methods instead of treat directly).
3413         (elmo-msgdb-clear): Ditto.
3414         (elmo-msgdb-delete-msgs): Ditto.
3415         (elmo-msgdb-sort-by-date): Ditto.
3416
3417         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3418         local variables.
3419         (elmo-nntp-folder-msgdb-create): Follow the API change.
3420
3421         * elmo-version.el (elmo-version): Up to 2.11.10.
3422
3423 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3424
3425         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3426         (elmo-msgdb-flags-to-mark): Ditto.
3427         (elmo-msgdb-append-entity): Ditto.
3428
3429         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3430         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3431         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3432         (elmo-archive-parse-mmdf): Ditto.
3433
3434         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3435
3436         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3437
3438         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3439
3440         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3441
3442         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3443
3444         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3445
3446         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3447
3448         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3449
3450         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3451         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3452         to empty msgdb.
3453
3454         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3455         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3456         instead of directly construction.
3457         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3458         instead of construct msgdb.
3459
3460         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3461         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3462         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3463         instead of construct msgdb.
3464
3465 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3466
3467         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3468         when field is from or subject.
3469
3470 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3471
3472         * elmo-multi.el (elmo-message-entity-parent): Define.
3473         (elmo-folder-search): Rewrite.
3474
3475 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3476
3477         * elmo-multi.el (elmo-message-cached-p): Define.
3478
3479         * elmo.el (elmo-message-cached-p): New method.
3480         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3481         (elmo-message-flags): New method.
3482         (elmo-message-flagged-p): New function.
3483
3484         * elmo-version.el (elmo-version): Up to 2.11.9.
3485
3486 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3487
3488         * elmo-version.el (elmo-version): Up to 2.11.8.
3489
3490         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3491
3492         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3493
3494 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3495
3496         * elmo.el (elmo-folder-detach-messages): Undo last change.
3497
3498 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3499
3500         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3501
3502         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3503         only when src folder type is pop3.
3504
3505 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3506
3507         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3508         elmo-msgdb-overview-entity-get-number instead of
3509         elmo-message-entity-number.
3510
3511 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3512
3513         * elmo-version.el (elmo-version): Up to 2.11.7.
3514
3515 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3516
3517         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3518         function.
3519
3520         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3521         (elmo-msgdb-merge): New function.
3522         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3523         (elmo-msgdb-make-index): Rewrite.
3524
3525         * elmo-version.el (elmo-version): Up to 2.11.6.
3526
3527         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3528         use it as a the path for loading message entities.
3529
3530         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3531
3532 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3533
3534         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3535         message-modified slot of itself if it does not require target msgdb.
3536
3537         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3538         if folder length is zero.
3539         (elmo-mime-display-as-is): Ditto.
3540
3541         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3542
3543         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3544
3545 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3546
3547         * elmo.el (elmo-folder-set-message-modified): New method.
3548         (elmo-generic-folder-commit): Use it.
3549         (elmo-folder-synchronize): Ditto.
3550
3551         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3552         (elmo-folder-commit): Remove duplicate definition.
3553
3554 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3555
3556         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3557
3558 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3559
3560         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3561         (elmo-strict-folder-diff): Ditto.
3562         (elmo-folder-set-info-max-by-numdb): Simplify.
3563
3564         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3565         elmo-msgdb-list-messages.
3566
3567         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3568         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3569
3570 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3571
3572         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3573         visible-only is non-nil.
3574         (elmo-folder-confirm-appends): Changed message.
3575         (elmo-folder-synchronize): Added argument disable-killed.
3576
3577         * elmo-multi.el (elmo-folder-synchronize): Added argument
3578         disable-killed.
3579
3580         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3581
3582         * elmo-version.el (elmo-version): Up to 2.11.5.
3583
3584         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3585         elmo-list-filter.
3586
3587         * elmo-util.el (elmo-list-filter): Simplify.
3588
3589         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3590         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3591         (elmo-generic-folder-diff): Abolish argument.
3592         (elmo-msgdb-load): Don't use number-alist.
3593
3594         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3595
3596         * elmo-pipe.el (elmo-folder-diff): Ditto.
3597
3598         * elmo-nmz.el (elmo-folder-diff): Ditto.
3599
3600         * elmo-net.el (elmo-folder-diff): Ditto.
3601
3602         * elmo-maildir.el (elmo-folder-diff): Ditto.
3603
3604         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3605
3606         * elmo-multi.el (elmo-folder-diff): Ditto
3607         (elmo-multi-folder-diff): Rewrite.
3608
3609 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3610
3611         * elmo-pipe.el (elmo-folder-msgdb): Define.
3612
3613 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3614
3615         * elmo.el (elmo-message-set-cached): Define as a method.
3616
3617         * elmo-pipe.el (elmo-message-set-cached): Define.
3618         (elmo-find-fetch-strategy): Ditto.
3619
3620         * elmo-multi.el (elmo-message-set-cached): Define.
3621         (elmo-find-fetch-strategy): Rewrite.
3622
3623         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3624
3625         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3626
3627 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3628
3629         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3630         instead of number-alist.
3631
3632         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3633         mark nor message-id when msgdb of source folder is not loaded.
3634
3635         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3636
3637         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3638
3639 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3640
3641         * elmo.el (elmo-folder-length): Don't require msgdb.
3642
3643 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3644
3645         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3646         (elmo-message-field): Ditto.
3647
3648         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3649         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3650         slot.
3651         (elmo-map-folder-list-answereds): Define.
3652         (elmo-maildir-list-location): Treat 'R' info.
3653         (elmo-folder-msgdb-create): Treat flag-table.
3654         (elmo-folder-append-messages): Save flag-table.
3655
3656 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3657
3658         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3659         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3660
3661 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3662
3663         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3664
3665         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3666         'read when mark is null.
3667
3668 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3669
3670         * elmo-version.el (elmo-version): Up to 2.11.4.
3671
3672 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3673
3674         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3675         (elmo-folder-mark-as-answered): Ditto.
3676
3677 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3678
3679         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3680         (elmo-pop3-get-session): Make msgdb directory after session.
3681         (elmo-folder-exists-p): Check exactly at the first time even when the
3682         elmo-pop3-exists-exactly is nil.
3683
3684         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3685         (elmo-folder-list-messages): Define instead of
3686         elmo-folder-list-messages-internal.
3687         (elmo-folder-check): Check destination folder.
3688         (elmo-folder-synchronize): Drain the pipe.
3689
3690         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3691         when msgdb is not loaded.
3692
3693         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3694
3695         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3696         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3697         messages.
3698
3699         * elmo.el (elmo-folder-kill-messages-before): New function.
3700         (elmo-folder-kill-messages): Ditto.
3701         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3702
3703         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3704         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3705         killed not by synchronize (e.g. scoring).
3706
3707 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3708
3709         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3710         treated.
3711         (elmo-folder-search): Follow the change above.
3712
3713         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3714         into the candidates of search field.
3715
3716 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3717
3718         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3719         (elmo-msgdb-unset-flag): Ditto.
3720
3721         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3722
3723 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3724
3725         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3726         (elmo-folder-commit): Define.
3727         (elmo-folder-synchronize): Ditto.
3728         (elmo-folder-list-flagged): Ditto.
3729         (elmo-folder-commit): Ditto.
3730         (elmo-folder-length): Ditto.
3731         (elmo-folder-count-flags): Ditto.
3732         (elmo-message-mark): Ditto.
3733         (elmo-message-field): Ditto.
3734         (elmo-message-entity): Ditto.
3735         (elmo-message-folder): Ditto.
3736
3737 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3738
3739         * elmo.el (elmo-message-field): Define as a method.
3740
3741         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3742         (elmo-message-field): Define.
3743
3744         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3745         (elmo-folder-list-importants): Ditto.
3746         (elmo-folder-list-answereds): Ditto.
3747
3748         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3749         qualifier.
3750         (elmo-folder-mark-as-read): Ditto.
3751         (elmo-folder-unmark-read): Ditto.
3752         (elmo-folder-mark-as-answered): Ditto.
3753         (elmo-folder-unmark-answered): Ditto.
3754         (elmo-folder-list-flagged): Define.
3755         (elmo-folder-commit): Ditto.
3756         (elmo-folder-length): Ditto.
3757         (elmo-folder-count-flags): Ditto.
3758
3759 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3760
3761         * elmo.el (elmo-folder-detach-messages): New method.
3762         (elmo-folder-move-messages): Use it.
3763         (elmo-folder-synchronize): Ditto.
3764
3765         * elmo-multi.el (elmo-folder-detach-messages): Define.
3766
3767         * elmo.el (elmo-message-copy-entity): New function.
3768         (elmo-message-entity-set-number): Ditto.
3769         (elmo-message-mark): Define as method.
3770
3771         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3772         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3773         (elmo-message-entity): Fixed last change.
3774         (elmo-message-mark): Define.
3775         (elmo-folder-msgdb-create): Abolish.
3776         (elmo-multi-folder-append-msgdb): Ditto.
3777         (elmo-multi-folder-diff): Fixed.
3778         (elmo-multi-split-number-alist): Removed.
3779         (elmo-multi-split-mark-alist): Removed.
3780         (elmo-folder-list-messages): Define.
3781         (elmo-folder-list-messages-internal): Removed.
3782
3783         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3784         local file messages.
3785         (elmo-folder-msgdb-create): Fixed read mark.
3786
3787 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3788
3789         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3790         if mark is nil.
3791
3792 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3793
3794         * elmo.el (elmo-folder-list-message-entities): Define as inline
3795         function.
3796         (elmo-folder-messages): Abolish.
3797
3798         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3799         folder.
3800         (elmo-folder-synchronize): Define.
3801         (elmo-message-entity): Define.
3802
3803 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3804
3805         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3806         elmo-imap4-session-select-mailbox.
3807
3808         * elmo.el (elmo-folder-move-messages): Don't display any message.
3809
3810         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3811         parsing.
3812         (elmo-imap4-session-check): Don't wait CHECK response.
3813         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3814
3815 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3816
3817         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3818
3819 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3820
3821         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3822         API.
3823         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3824
3825
3826         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3827         (elmo-folder-list-message-entities): Added argument in-msgdb and
3828         numbers.
3829         (elmo-folder-synchronize): Define as a method.
3830
3831         * elmo-nntp.el (elmo-folder-initialize): Don't use
3832         elmo-nntp-default-user if zero-length username is specified
3833         explicitly.
3834
3835 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3836
3837         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3838         server name in case with username.
3839         (XXX: this is ad-hoc fix against username includes "@", it
3840         should be solved fundamentally)
3841
3842 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3843
3844         * elmo-nntp.el (elmo-nntp-debug): New function.
3845         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3846         (elmo-network-authenticate-session): Hide auth-info from the log.
3847
3848         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3849         user name if it is equal to elmo-nntp-default-user.
3850
3851 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3852
3853         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3854         instead of shimbun-server-internal;
3855         Use shimbun-current-group instead of shimbun-current-group-internal.
3856         (elmo-folder-plugged-p): Use shimbun-server instead of
3857         shimbun-server-internal.
3858         (elmo-folder-set-plugged): Ditto.
3859         (elmo-net-port-info): Ditto.
3860         (elmo-folder-check): Ditto.
3861         (elmo-folder-expand-msgdb-path): Ditto.
3862         (elmo-folder-list-subfolders): Ditto.
3863
3864 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3865
3866         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3867         Convert field-name to lower case.
3868         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3869
3870 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3871
3872         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3873         `message' and `error' take format string.
3874
3875 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3876
3877         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3878
3879 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3880
3881         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3882         recursive call (can't byte compile on emacs 20.7).
3883
3884 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3885
3886         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3887         (elmo-folder-list-message-entities): New API.
3888         (elmo-message-entity): Ditto.
3889         (elmo-message-entity-parent): Ditto.
3890         (elmo-folder-do-each-message-entity): Ditto.
3891         (elmo-message-entity-number): Ditto.
3892         (elmo-message-entity-field): Ditto.
3893         (elmo-message-entity-set-field): Ditto.
3894         (elmo-folder-count-flags): Ditto.
3895         (elmo-folder-length): Ditto.
3896
3897         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3898         not.
3899
3900         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3901         (elmo-msgdb-count-marks): Abolish.
3902         (elmo-msgdb-make-entity): Ditto.
3903         (elmo-msgdb-do-each-entity): Ditto.
3904         (elmo-msgdb-message-entity): New inline function.
3905         (elmo-msgdb-message-entity-field): Ditto.
3906         (elmo-msgdb-message-entity-set-field): Ditto.
3907         (elmo-msgdb-make-message-entity): New function.
3908
3909 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3910
3911         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3912         to flag. (All other related portions are changed.)
3913         (elmo-folder-msgdb-create): Likewise.
3914         (elmo-generic-folder-append-messages): Use flag-table instead of
3915         seen-list.
3916         (elmo-folder-move-messages): Removed redundant process.
3917         (elmo-folder-synchronize): Likewise.
3918
3919         * elmo-msgdb.el (elmo-flag-table-get): New function.
3920         (elmo-flag-table-save): Fixed.
3921         (elmo-msgdb-length): New inline function.
3922         (elmo-msgdb-flag-table): New function.
3923         (elmo-msgdb-mark): Add optional argument new.
3924         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3925         (elmo-msgdb-seen-list): Ditto.
3926         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3927
3928
3929 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3930
3931         * elmo.el (elmo-message-set-mark): Abolish.
3932         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3933         (All related portions are changed.)
3934
3935         * elmo-msgdb.el (toplevel): Added comment.
3936         (elmo-load-msgdb): Added 4th element `path'.
3937         (elmo-msgdb-append): Follow the change above.
3938         (elmo-msgdb-clear): Ditto.
3939         (elmo-msgdb-delete-msgs): Ditto.
3940         (elmo-msgdb-get-path): New inline function.
3941         (elmo-msgdb-set-path): Ditto.
3942         (elmo-flag-table-filename): New variable.
3943         (elmo-flag-table-load): New function.
3944         (elmo-flag-table-set): Ditto.
3945         (elmo-flag-table-save): Ditto.
3946         (elmo-msgdb-get-field-value): Abolish.
3947         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3948
3949 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3950
3951         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3952         the folder has been deleted successfully.
3953         * elmo-imap4.el (elmo-folder-delete): Ditto.
3954         * elmo-archive.el (elmo-folder-delete): Ditto.
3955         * elmo-localdir.el (elmo-folder-delete): Ditto.
3956         * elmo-maildir.el (elmo-folder-delete): Ditto.
3957
3958 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3959
3960         * elmo-util.el (elmo-string-member-ignore-case): New function.
3961         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3962         (elmo-imap4-fetch-callback-1-subr): Likewise.
3963
3964 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3965
3966         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3967         the case of the name attribute "\Noselect".
3968
3969 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3970
3971         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3972
3973         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3974         flist, is not always a member of onum-alist.
3975
3976 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3977
3978         * elmo-version.el (elmo-version): Up to 2.11.3.
3979
3980 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3981
3982         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3983         copied from localdir's one.
3984
3985         * elmo-pipe.el (elmo-folder-rename): New method, rename
3986         destination folder with leaving source folder as it is.
3987
3988 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3989
3990         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3991         replace-regexp.
3992
3993 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3994
3995         * elmo-version.el (elmo-version): Up to 2.11.2.
3996
3997 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3998
3999         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4000         shimbun-open in case of "@".
4001         (elmo-folder-open-internal): Cope with shimbun = nil case.
4002         (elmo-folder-plugged-p): Ditto.
4003         (elmo-folder-list-subfolders): Make list for "@/" group.
4004
4005 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4006
4007         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4008         mailbox (e.g. for %~/something).
4009
4010 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4011
4012         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4013         Replace nested conditional with guard clauses.
4014
4015 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4016
4017         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4018         error [wl:11327].
4019
4020         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4021         print-depth.
4022
4023 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4024
4025         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4026         Replace nested conditional with guard clauses.
4027
4028 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4029
4030         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4031         (elmo-passwd-alist-save): Ditto.
4032         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4033
4034 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4035
4036         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4037         dir-name only if it is absolute path.
4038         (TODO: distinguish +/something and +something)
4039
4040 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4041
4042         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4043         path for "+~/something".
4044
4045 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4046
4047         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4048         as non-directory, cause error before rename-file.
4049         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4050         apropriately, mimic localdir's one.
4051         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4052
4053 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4054
4055         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4056
4057 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4058
4059         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4060
4061         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4062         
4063         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4064         is included in the global-mark or not.
4065
4066 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4067
4068         * utf7.el (toplevel): Avoid error when the function
4069         find-coding-system does not exist.
4070
4071 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4072
4073         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4074         cache even if the folder is plugged.
4075         (elmo-nntp-search-primitive): Do nothing when body search is
4076         invoked (although it is not used by the change above).
4077         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4078
4079 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4080
4081         * elmo-version.el (elmo-version): Up to 2.11.1.
4082
4083 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4084
4085         * elmo-archive.el: Specify charset.
4086
4087 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4088
4089         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4090         process buffer lives or not.
4091
4092         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4093         while flushing queues (It causes infinite loop).
4094
4095 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4096
4097         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4098
4099 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4100
4101         * utf7.el (toplevel): Check the ucs features dynamically.
4102         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4103
4104         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4105         folder is creatabe or not if it already exists.
4106
4107 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4108
4109         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4110
4111         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4112
4113         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4114         (elmo-imap4-read-response): Take care of garbage response.
4115
4116 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4117
4118         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4119         just return nil instead of error.
4120
4121 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4122
4123         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4124         search-key is "body".
4125
4126 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4127
4128         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4129         of elmo-string-matched-assoc to use match-data.
4130         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4131
4132 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4133
4134         * elmo-split.el (elmo-split->): New function.
4135         (elmo-split-<): Ditto.
4136
4137 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4138
4139         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4140         workaround for invalid message-id.
4141
4142 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4143
4144         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4145         return normal pop3 session or pop3 biff session.
4146
4147 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4148
4149         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4150         info part to the cur files when the new files already have it.
4151         (Adviced by Jared Rhine <jared@wordzoo.com>)
4152
4153 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4154
4155         * elmo-split.el (elmo-split-default-action): New variable.
4156         (elmo-split-subr): Use it if all other conditions are passed.
4157         Extend `fname' and rename it as `action'. (implemented
4158         Teranishi-san's idea in [wl:10800])
4159
4160 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4161
4162         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4163         * elmo-util.el: Ditto.
4164
4165 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4166
4167         * elmo.el (elmo-message-accessible-p): Renamed from
4168         elmo-message-cached-p and rewritten.
4169
4170 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4171
4172         * elmo.el (elmo-folder-list-flagged): New generic function.
4173         (elmo-folder-list-importants): New implementation.
4174         (elmo-folder-list-answereds): Ditto.
4175         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4176         Added 'digest'.
4177         (elmo-message-cached-p): New function.
4178         (elmo-message-set-flag): Ditto (no content).
4179         (elmo-message-unset-flag): Ditto.
4180         (elmo-folder-list-messages-mark-match): Abolish.
4181
4182         * elmo-util.el (elmo-regexp-opt): New function.
4183
4184         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4185         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4186         Added 'digest'.
4187         (elmo-msgdb-list-flagged): New function.
4188
4189         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4190         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4191         Added 'digest'.
4192
4193         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4194
4195 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4196
4197         * elmo-version.el (elmo-version): Up to 2.11.0.
4198
4199 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4200
4201         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4202         `elmo-file-cache-exists-p'; use proper mark that depends on
4203         `use-cache'.
4204         (elmo-msgdb-unset-flag): Ditto.
4205         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4206
4207         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4208         with 4th argument `use-cache'.
4209
4210 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4211
4212         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4213         (elmo-folder-mark-as-important): Ditto.
4214         (elmo-folder-unmark-read): Ditto.
4215         (elmo-folder-mark-as-read): Ditto.
4216         (elmo-folder-unmark-answered): Ditto.
4217         (elmo-folder-mark-as-answered): Ditto.
4218
4219         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4220         message status.
4221         (elmo-msgdb-mark): Likewise.
4222         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4223         (elmo-msgdb-unset-flag): Likewise.
4224
4225         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4226
4227 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4228
4229         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4230         `last:' filter.
4231
4232 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4233
4234         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4235         set spool-length to 0.
4236
4237 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4238
4239         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4240         (elmo-dop-queue-flush): Fixed last change.
4241
4242 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4243
4244         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4245         if require-msgdb slot is nil.
4246         (elmo-folder-list-importants): Likewise.
4247
4248 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4249
4250         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4251         mark is changed.
4252
4253         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4254         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4255         is changed.
4256
4257 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4258
4259         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4260
4261 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4262
4263         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4264
4265         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4266
4267 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4268
4269         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4270         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4271
4272 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4273
4274         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4275         the problem reported by Sean Rima [wl-en:180].
4276
4277 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4278
4279         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4280
4281         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4282
4283         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4284
4285         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4286
4287         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4288
4289         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4290
4291         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4292
4293 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4294
4295         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4296         status number.
4297
4298 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4299
4300         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4301         (elmo-folder-mark-as-read): Follow the API change.
4302         (elmo-message-set-cached): New function.
4303
4304         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4305
4306         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4307
4308         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4309         (elmo-folder-mark-as-important): Ditto.
4310         (elmo-folder-unmark-read): Ditto.
4311         (elmo-folder-mark-as-read): Ditto.
4312         (elmo-folder-unmark-answered): Ditto.
4313         (elmo-folder-mark-as-answered): Ditto.
4314
4315         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4316         (elmo-folder-unmark-important): Ditto.
4317         (elmo-folder-mark-as-read): Ditto.
4318         (elmo-folder-unmark-read): Ditto.
4319         (elmo-folder-mark-as-answered): Ditto.
4320         (elmo-folder-unmark-answered): Ditto.
4321
4322         * elmo-mark.el (toplevel): Removed some mark method definitions.
4323
4324         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4325         (elmo-map-folder-mark-as-answered): Ditto.
4326         (elmo-folder-unmark-important): Add :before qualifier.
4327         (elmo-folder-mark-as-important): Ditto.
4328         (elmo-folder-unmark-read): Ditto.
4329         (elmo-folder-mark-as-read): Ditto.
4330         (elmo-folder-unmark-answered): Define.
4331         (elmo-folder-mark-as-answered): Ditto.
4332
4333         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4334         (elmo-map-folder-unmark-answered): Ditto.
4335
4336         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4337
4338         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4339         (elmo-folder-mark-as-important): Ditto.
4340         (elmo-folder-unmark-read): Ditto.
4341         (elmo-folder-mark-as-read): Ditto.
4342         (elmo-folder-unmark-answered): Ditto.
4343         (elmo-folder-mark-as-answered): Ditto.
4344
4345         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4346         `mark'; evaluate mark condition.
4347         (elmo-msgdb-match-condition-internal): New function.
4348         (elmo-msgdb-match-condition): Call it; changed argument.
4349
4350         * elmo.el (elmo-folder-search): Follow the API change on
4351         `elmo-msgdb-match-condition'.
4352
4353 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4354
4355         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4356         original mark is non-nil.
4357
4358 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4359
4360         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4361         (elmo-map-folder-list-answereds): New method.
4362         (elmo-folder-list-unreads): Add :around qualifier.
4363         (elmo-folder-list-importants): Ditto.
4364         (elmo-folder-list-answereds): Ditto.
4365
4366 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4367
4368         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4369
4370         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4371         method if msgdb is not required.
4372         (elmo-filter-folder-list-importants): Don't treat global-mark.
4373
4374         * elmo.el (elmo-folder-list-importants): Ditto.
4375
4376         * elmo-net.el (elmo-folder-list-importants): Ditto.
4377
4378         * elmo-map.el (elmo-folder-list-importants): Ditto.
4379
4380         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4381
4382         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4383         (elmo-imap4-folder-list-any-plugged): New function.
4384         (elmo-imap4-search-internal-primitive): Use it.
4385
4386         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4387         only when require-msgdb slot is non-nil.
4388         (elmo-folder-close): Clear target folder's msgdb.
4389
4390 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4391
4392         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4393         (elmo-pop3-msgdb-create-by-header): Ditto.
4394         (elmo-pop3-msgdb-create-message): Ditto.
4395
4396         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4397
4398         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4399
4400         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4401
4402         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4403         (elmo-folder-msgdb-create): Ditto.
4404         (elmo-nntp-folder-msgdb-create): Ditto.
4405         (elmo-nntp-msgdb-create-by-header): Ditto.
4406         (elmo-nntp-msgdb-create-message): Ditto.
4407         (elmo-folder-list-unreads): Define.
4408
4409         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4410         (elmo-folder-append-messages): Ditto.
4411         (elmo-folder-list-unreads): Define.
4412         (elmo-folder-list-importants): Ditto.
4413         (elmo-folder-list-answereds): Ditto.
4414
4415         * elmo-net.el (elmo-folder-list-unreads): Define.
4416         (elmo-folder-list-importants): Ditto.
4417         (elmo-folder-list-answereds): Ditto.
4418         (elmo-folder-list-answereds-plugged): Ditto.
4419         (elmo-folder-msgdb-create): Follow the API change.
4420         (elmo-folder-msgdb-create-unplugged): Ditto.
4421         (elmo-folder-unmark-answered): Define.
4422         (elmo-folder-mark-as-answered-unplugged): Ditto.
4423         (elmo-folder-unmark-answered-unplugged): Ditto.
4424
4425         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4426         (elmo-msgdb-unread-uncached-mark): Ditto.
4427         (elmo-msgdb-unread-cached-mark): Ditto.
4428         (elmo-msgdb-read-uncached-mark): Ditto.
4429         (elmo-msgdb-answered-cached-mark): Ditto.
4430         (elmo-msgdb-answered-uncached-mark): Ditto.
4431         (elmo-msgdb-important-mark): Ditto.
4432         (elmo-msgdb-set-mark): Rewrite.
4433         (elmo-msgdb-count-marks): Rewrite.
4434         (elmo-msgdb-mark-alist-set): Abolish.
4435         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4436         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4437
4438         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4439         (elmo-folder-close): Define.
4440         (elmo-folder-msgdb-create): Follow the API change.
4441         (elmo-folder-list-unreads): Rewrite.
4442         (elmo-folder-mark-as-important): Ditto.
4443         (elmo-folder-unmark-important): Ditto.
4444         (elmo-folder-mark-as-read): Ditto.
4445         (elmo-folder-unmark-read): Ditto.
4446         (elmo-folder-mark-as-answered): Define.
4447         (elmo-folder-unmark-answered): Ditto.
4448
4449         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4450         (elmo-folder-append-messages): Ditto.
4451
4452         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4453
4454         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4455         (elmo-folder-list-importants): Ditto.
4456
4457         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4458         (elmo-folder-append-messages): Ditto.
4459
4460         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4461         change.
4462         (elmo-folder-msgdb-create-plugged): Ditto.
4463         (elmo-folder-append-messages): Ditto.
4464         (elmo-folder-list-answereds-plugged): Define.
4465         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4466         (elmo-folder-unmark-answered-plugged): Define.
4467         (elmo-folder-mark-as-answered-plugged): Ditto.
4468         (elmo-folder-search-requires-msgdb-p): Ditto.
4469
4470         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4471         (elmo-folder-initialize): Set it.
4472         (elmo-folder-msgdb): Define.
4473         (elmo-folder-check): Call elmo-folder-synchronize.
4474         (elmo-folder-close): Define.
4475         (elmo-folder-commit): Ditto.
4476         (elmo-folder-msgdb-create): Rewrite.
4477         (elmo-folder-list-unreads): Ditto.
4478         (elmo-folder-list-importants): Ditto.
4479         (elmo-folder-mark-as-read): Ditto.
4480         (elmo-folder-unmark-read): Ditto.
4481         (elmo-folder-mark-as-important): Ditto.
4482         (elmo-folder-unmark-important): Ditto.
4483         (elmo-folder-mark-as-answered): Define.
4484         (elmo-folder-unmark-answered): Ditto.
4485
4486         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4487         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4488         (elmo-dop-queue-method-name-alist): Likewise.
4489         (elmo-folder-mark-as-answered-dop): New inline function.
4490         (elmo-folder-unmark-answered-dop): Ditto.
4491         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4492
4493         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4494         (elmo-folder-msgdb-create): Ditto.
4495         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4496         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4497         (elmo-archive-parse-mmdf): Ditto.
4498
4499         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4500         (elmo-folder-list-unreads-internal): Ditto.
4501
4502         * elmo.el (elmo-folder-msgdb): Define as generic function.
4503         (elmo-folder-list-messages): Added argument `in-msgdb'.
4504         (elmo-folder-list-unreads): Define as generic function.
4505         (elmo-folder-list-importants): Ditto.
4506         (elmo-folder-list-answereds): Ditto.
4507         (elmo-folder-list-messages-with-global-mark): New function.
4508         (elmo-folder-msgdb-create): Removed mark arguments.
4509         (elmo-folder-unmark-answered): New generic function.
4510         (elmo-folder-mark-as-answered): Ditto.
4511         (elmo-folder-append-messages): Removed argunment `unread-marks'
4512         (elmo-folder-list-unreads-internal): Abolish.
4513         (elmo-folder-list-importants-internal): Ditto.
4514         (elmo-folder-search-requires-msgdb-p): New generic function.
4515         (elmo-folder-search-requires-msgdb-p-internal): New function.
4516         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4517         elmo-msgdb-load.
4518         (elmo-folder-search-fast): Added key 'mark'.
4519         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4520         instead of unread-marks argument.
4521         (elmo-folder-move-messages): Removed argunment `unread-marks'
4522         (elmo-folder-unmark-important): Define.
4523         (elmo-folder-mark-as-important): Ditto.
4524         (elmo-folder-unmark-read): Ditto.
4525         (elmo-folder-mark-as-read): Ditto.
4526         (elmo-folder-unmark-answered): Ditto.
4527         (elmo-folder-mark-as-answered): Ditto.
4528         (elmo-folder-replace-marks): Abolish.
4529         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4530         duplicates.
4531         (elmo-folder-synchronize): Removed mark arguments;
4532         return crosspost only number.
4533
4534 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4535
4536         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4537         Remove redundunt connectivity check.
4538
4539 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4540
4541         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4542         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4543
4544 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4545
4546         * pldap.el (ldap-decode-string): Return string as-is if
4547         `ldap-coding-system' is nil.
4548         (ldap-encode-string): Ditto.
4549         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4550         (ldap-default-host): Fixed docstring.
4551
4552 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4553
4554         * elmo-util.el (elmo-warning): Define as a macro which uses
4555         `display-warning' if it is defined as a function.
4556
4557         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4558         (elmo-split-equal): Use it.
4559         (elmo-split-match): Ditto.
4560         (elmo-split-message-entity): New buffer-local variable.
4561         (elmo-split-subr): Set it.
4562
4563         * elmo-version.el (elmo-version): Up to 2.9.15.
4564
4565 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4566
4567         * elmo-imap4.el (elmo-network-initialize-session):
4568         Check capability after starttls.
4569
4570 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4571
4572         * elmo-util.el (elmo-list-delete): Added optional argument
4573         DELETE-FUNCTION.
4574
4575         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4576
4577         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4578
4579         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4580
4581         * elmo-imap4.el (elmo-folder-initialize): Don't use
4582         elmo-imap4-default-mailbox.
4583
4584 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4585
4586         * elmo-split.el (toplevel): Use `product-provide'.
4587         (elmo-split): Checkdoc.
4588
4589 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4590
4591         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4592         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4593         the function `elmo-imap4-debug-1'.
4594
4595 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4596
4597         * elmo-split.el (elmo-split): Moved to run hooks and to show
4598         message from elmo-split-subr.
4599         (elmo-split-subr): Follow the change above.
4600
4601         * elmo-split.el (elmo-split-subr): New function (renamed from
4602         elmo-split-subr).
4603         (elmo-split): Changed to call elmo-split-subr by element of
4604         elmo-split-folder.
4605         (elmo-split-folder): Changed customization type to choice.
4606
4607 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4608
4609         * elmo-split.el (elmo-split-and): Fixed condition.
4610
4611 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4612
4613         * elmo-split.el: New file.
4614         (elmo-split): Fixed logic.
4615         Display "Test:" instead of "Folder:" when reharsal.
4616
4617         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4618         explicitly.
4619
4620         * elmo-version.el (elmo-version): Up to 2.9.14.
4621
4622         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4623         wl-expand-newtext).
4624
4625 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4626
4627         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4628         message with no message-id field.
4629
4630 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4631
4632         * elmo-version.el (elmo-version): Up to 2.9.13.
4633
4634         * elmo-dop.el (elmo-folder-status-dop): Fix.
4635
4636 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4637
4638         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4639
4640         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4641         changing default value of default-mime-charset.
4642         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4643
4644         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4645
4646         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4647         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4648         instead of elmo-dop-queue-method-name-alist to check merging queue.
4649         (elmo-folder-delete-messages-dop): Delete from queue if negative
4650         message number.
4651         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4652         file is already removed.
4653
4654 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4655
4656         * elmo-vars.el: Bind colon keywords for old Emacsen.
4657
4658 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4659
4660         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4661         against non-exsisting charset.
4662
4663 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4664
4665         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4666         Use eword-decode-and-unfold-unstructured-field-body.
4667
4668         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4669         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4670         exists to decode raw subject string.
4671         (toplevel): Require 'mime.
4672
4673         * elmo-version.el (elmo-version): Up to 2.9.12.
4674
4675 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4676
4677         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4678         (elmo-msgdb-set-mark): Ditto.
4679
4680         * elmo-version.el (elmo-version): Up to 2.9.11.
4681
4682 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4683
4684         * elmo-util.el (elmo-delete-match-files): New function.
4685
4686         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4687         instead of elmo-delete-directory.
4688
4689         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4690         elmo-hash-minimun-size as 63.
4691
4692         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4693         elmo-diff-unread is nil.
4694
4695         * elmo-imap4.el (elmo-folder-open): Fix.
4696
4697         * elmo.el (elmo-message-mark): Rewrite.
4698         (elmo-message-field): Ditto.
4699         (elmo-message-set-mark): Ditto.
4700         (elmo-folder-replace-marks): New function.
4701         (elmo-generic-folder-append-msgdb): Removed third argument for
4702         elmo-msgdb-append.
4703         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4704         (elmo-msgdb-load): New implementation.
4705
4706         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4707
4708         * elmo-util.el (elmo-list-insert): New implementation.
4709
4710         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4711         argument for elmo-msgdb-append.
4712         
4713
4714         * elmo-msgdb.el (elmo-load-msgdb): New function.
4715         (elmo-make-msgdb): Ditto.
4716         (elmo-msgdb-get-index): New inline function.
4717         (elmo-msgdb-set-index): Ditto.
4718         (elmo-msgdb-get-entity-hashtb): Ditto.
4719         (elmo-msgdb-get-mark-hashtb): Ditto.
4720         (elmo-msgdb-get-mark): Ditto.
4721         (elmo-msgdb-set-mark): Ditto.
4722         (elmo-msgdb-count-marks): Ditto.
4723         (elmo-msgdb-get-number): Ditto.
4724         (elmo-msgdb-get-field): Ditto.
4725         (elmo-msgdb-seen-list): Ditto.
4726         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4727         (elmo-msgdb-delete-msgs): Follow the changes above.
4728         (elmo-msgdb-overview-get-entity): Ditto.
4729         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4730         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4731         and rewritten.
4732         (elmo-msgdb-make-index): Likewise.
4733         (elmo-msgdb-append): Removed third argument.
4734         (elmo-msgdb-clear): Clear index as nil.
4735         (elmo-folder-set-info-hashtb): Removed.
4736         (elmo-folder-set-info-max-by-numdb): Ditto.
4737         (elmo-folder-info-make-hashtb): Ditto.
4738
4739         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4740
4741         * elmo-map.el (elmo-folder-pack-number): Ditto.
4742
4743 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4744
4745         * elmo-version.el (elmo-version): Up to 2.9.10.
4746
4747         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4748
4749         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4750
4751 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4752
4753         * elmo-utils.el (elmo-make-directory): Add option.
4754         Default file mode is 700.
4755
4756 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4757
4758         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4759
4760 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4761
4762         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4763         mime-charset.
4764
4765         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4766         and "smaller".
4767
4768 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4769
4770         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4771         (elmo-shimbun-folder-entity-hash): New function.
4772         (elmo-shimbun-folder-shimbun-header): Ditto.
4773         (elmo-shimbun-entity-to-header): Ditto.
4774         (elmo-shimbun-msgdb-to-headers): Removed.
4775         (elmo-shimbun-folder-setup): Ditto.
4776         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4777         for hash key.
4778         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4779         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4780         Removed useless local bind.
4781         (elmo-folder-open-internal): Don't call
4782         `elmo-shimbun-folder-setup'.
4783         (elmo-folder-close-internal): Clear entity-hash slot.
4784         (elmo-folder-clear): Ditto.
4785         (elmo-shimbun-msgdb-create-entity): Use
4786         `elmo-shimbun-folder-shimbun-header'.
4787         (elmo-map-message-fetch): Ditto.
4788         (elmo-shimbun-update-overview): Use overview entity instead of
4789         shimbun header to lookup id by references.
4790         (elmo-map-folder-list-message-locations): Use not only headers but
4791         also overviews to list locations.
4792
4793 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4794
4795         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4796         msgdb path.
4797
4798         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4799
4800 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4801
4802         * elmo-util.el (elmo-read-search-condition-internal): Give default
4803         value for date.
4804
4805 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4806
4807         * elmo-util.el (elmo-condition-parse-search-value): Accept
4808         YYYY-MM-DD format to search.
4809         * elmo-date.el (elmo-date-get-datevec): Likewise.
4810
4811 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4812
4813         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4814         debugging code.
4815
4816 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4817
4818         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4819         from t.
4820
4821         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4822
4823         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4824         case from `elmo-folder-exists-p'.
4825         (elmo-folder-exists-p): Removed.
4826         (elmo-folder-creatable-p) Ditto.
4827
4828         * elmo-net.el (elmo-folder-create): Defined.
4829         (elmo-folder-create-unplugged): New function.
4830         (elmo-folder-exists-p): Changed default value to nil from t.
4831
4832         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4833         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4834
4835         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4836         `elmo-create-folder-dop' and append queue
4837         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4838         (elmo-folder-create-dop-delayed): New function.
4839
4840         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4841
4842         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4843
4844         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4845         (elmo-folder-writable-p) : Ditto.
4846
4847         * elmo-version.el (elmo-version): Up to 2.9.9.
4848
4849 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4850
4851         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4852         `elmo-message-use-cache-p' returns nil.
4853         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4854         (ignore cache file and refer the substance in local folders)
4855
4856 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4857
4858         * elmo-version.el (elmo-version): Up to 2.9.8.
4859
4860 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4861
4862         * elmo-version.el (elmo-version): Up to 2.9.7.
4863
4864         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4865
4866 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4867
4868         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4869
4870 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4871
4872         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4873         from --early.
4874         (elmo-map-folder-list-message-locations): Reverse location list.
4875
4876 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4877
4878         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4879
4880 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4881
4882         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4883         as a key.
4884         (elmo-nntp-folder-list-subfolders): Follow the change above.
4885
4886 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4887
4888         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4889         name if authentication type is specified.
4890
4891 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4892
4893         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4894         variable.
4895         (elmo-default-nntp-stream-type): Ditto.
4896         (elmo-default-pop3-stream-type): Ditto.
4897
4898 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4899
4900         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4901
4902 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4903
4904         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4905         elmo-vars.el.
4906         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4907
4908         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4909         (elmo-maildir-folder-path): Ditto.
4910         (elmo-maildir-list): Ditto (abolished).
4911
4912 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4913
4914         * elmo-version.el (elmo-version): Up to 2.9.6.
4915
4916 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4917
4918         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4919         (elmo-maildir-folder-path): Ditto.
4920         (elmo-msgdb-directory): Ditto.
4921         (elmo-passwd-life-time): Ditto.
4922         (elmo-msgdb-extra-fields): Ditto.
4923         (elmo-enable-disconnected-operation): Ditto.
4924
4925 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4926
4927         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4928         other choices.
4929         (elmo-pop3-default-authenticate-type): Ditto.
4930
4931 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4932
4933         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4934         choices for custom.
4935         (elmo-pop3-default-authenticate-type): Ditto.
4936
4937 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4938
4939         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4940         mailbox to new-folder.
4941
4942 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4943
4944         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4945         less than new, set new as unread.
4946
4947         * elmo-util.el (elmo-string): Don't put text-property if nil.
4948
4949 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4950
4951         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4952         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4953
4954 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4955
4956         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4957         is nil on `completing-read'.
4958
4959 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4960
4961         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4962         for namespace part.
4963         (elmo-imap4-parse-namespace-subr): Ditto.
4964         (elmo-folder-list-subfolders): Append a delimiter when the specified
4965         folder path is a root with namespace and does not end with delimiter.
4966
4967 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4968
4969         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4970         was used.
4971
4972 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4973
4974         * elmo-util.el (elmo-save-buffer): The first argument of message
4975         is a format control string.
4976
4977 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4978
4979         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4980         `elmo-folder-diff').
4981         (elmo-diff-unread): Likewise.
4982
4983 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4984
4985         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4986         is t on `completing-read'.
4987
4988 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4989
4990         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4991         method of target folder with self mark-alist if MARK-ALIST is nil.
4992
4993 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4994
4995         * elmo-version.el (elmo-version): Up to 2.9.5.
4996
4997 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4998
4999         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5000         (elmo-dop-merge-funcs): Remove.
5001
5002 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5003
5004         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5005         Return t if PATH is directory, too.
5006         Use `dolist' instead of while loop.
5007
5008 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5009
5010         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5011         is deleted.
5012
5013 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5014
5015         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5016         return value to t.
5017         (elmo-folder-list-messages-unplugged): Return t if
5018         elmo-enable-disconnected-operation is nil.
5019
5020         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5021         `elmo-folder-list-messages-internal'.
5022
5023 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5024
5025         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5026         Change to looking-at `[23][0-9]+'.
5027         (elmo-network-initialize-session): Use 'error-msg'
5028         * elmo-net.el (elmo-network-open-session): Set unplugged
5029         if elmo-network-initialize-session returns 'elmo-open-err.
5030
5031 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5032
5033         * elmo-version.el (elmo-version): Up to 2.9.4.
5034
5035 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5036
5037         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5038         `elmo-folder-list-messages-internal'.
5039
5040 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5041
5042         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5043         (elmo-message-match-condition): New method.
5044         (elmo-folder-search-fast): New inline function.
5045         (elmo-msgdb-search): Removed.
5046
5047         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5048         target folder if it is unplugged.
5049         (elmo-folder-list-messages-internal): Return t if target folder is
5050         unplugged and itself is persistent; In this case, use list be
5051         searched already.
5052
5053         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5054         (elmo-msgdb-search-internal-primitive): Ditto.
5055         (elmo-msgdb-match-condition): New function.
5056         (elmo-msgdb-match-condition-primitive): Ditto.
5057
5058         * elmo-util.el (elmo-filter-condition-p): New macro.
5059
5060         * elmo-cache.el (elmo-folder-search): Removed.
5061
5062         * elmo-localdir.el (elmo-folder-search): Ditto.
5063
5064         * elmo-maildir.el (elmo-folder-search): Ditto.
5065
5066         * elmo-mark.el (elmo-folder-search): Ditto.
5067
5068         * elmo-nmz.el (elmo-folder-search): Ditto.
5069
5070         * elmo-sendlog.el (elmo-folder-search): Ditto.
5071
5072         * elmo-shimbun.el (elmo-folder-search): Ditto.
5073
5074         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5075         if folder is unplugged.
5076
5077         * elmo-nntp.el (elmo-folder-search): Likewise.
5078         (elmo-nntp-search-internal): New function.
5079
5080         * elmo-version.el (elmo-version): Up to 2.9.3.
5081
5082 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5083
5084         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5085
5086 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5087
5088         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5089
5090 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5091
5092         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5093
5094 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5097         (elmo-map-folder-list-message-locations): Do drive letter conversion
5098         on Windows environment.
5099         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5100         (elmo-map-message-fetch): Ditto.
5101
5102 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5103
5104         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5105         (elmo-network-initialize-session): Ditto.
5106
5107 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5108
5109         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5110
5111         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5112
5113         * elmo-util.el (elmo-progress-clear): Ditto.
5114
5115         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5116         `DD-Mon-YYYY' type date.
5117
5118 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5119
5120         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5121         `elmo-date-make-sortable-string' instead of
5122         `timezone-make-date-sortable'.
5123
5124         * elmo-date.el (elmo-date-make-sortable-string): Use
5125         `timezone-make-time-string'.
5126
5127 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5128
5129         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5130
5131         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5132         `since'; Fix timezone.
5133
5134         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5135
5136         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5137
5138 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5139
5140         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5141
5142 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5143
5144         * elmo.el (elmo-generic-folder-append-messages): Make
5145         fetch-strategy with `use-cache' as 'maybe. Check return value of
5146         `elmo-message-fetch'.
5147         (elmo-message-fetch): Return return value of
5148         `elmo-message-fetch-with-cache-process'.
5149         (elmo-message-fetch-with-cache-process): Return non-nil if
5150         fetching was succeed. Load cache when fetching was failed and
5151         fetch-strategy-use-cache is 'maybe.
5152
5153         * elmo-util.el (elmo-file-cache-load): New function.
5154
5155         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5156         defun.
5157
5158         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5159         non-nil if fetching was succeed.
5160
5161         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5162
5163         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5164
5165         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5166         (elmo-message-fetch-with-cache-process): Likwise.
5167
5168         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5169
5170         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5171
5172         * elmo-version.el (elmo-version): Up to 2.9.2.
5173
5174 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5175
5176         * elmo.el (elmo-folder-delete): Delete msgdb path.
5177
5178         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5179
5180         * elmo-maildir.el (elmo-folder-delete): Ditto.
5181
5182         * elmo-localdir.el (elmo-folder-delete): Ditto.
5183
5184         * elmo-imap4.el (elmo-folder-delete): Ditto.
5185
5186 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5187
5188         * elmo.el (luna-define-class): Added `biff' slot.
5189
5190         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5191         (elmo-pop3-debug-inhibit-logging): Abolished.
5192         (elmo-network-close-session): Eliminated needless let.
5193         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5194         (elmo-pop3-send-command): Added `no-log' argument.
5195         (elmo-pop3-process-filter): Use `with-current-buffer'.
5196         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5197         if login failure.
5198         (elmo-pop3-auth-apop): Likewise.
5199         (elmo-network-authenticate-session): Likewise.
5200
5201         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5202         if biff folder.
5203
5204         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5205         string to determine protocol.
5206         (elmo-network-session-name-prefix): Abolished.
5207         (elmo-network-session-cache-key): Follow the change above.
5208         (elmo-network-open-session): Ditto.
5209
5210         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5211         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5212
5213         * elmo-version.el (elmo-version): Up to 2.9.1.
5214
5215         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5216         unmatch condition checking.
5217
5218         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5219         condition.
5220
5221 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5222
5223         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5224
5225 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5226
5227         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5228         test for while loop to execute at least one SEARCH command.
5229
5230 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5231
5232         * elmo-version.el (elmo-version): Up to 2.9.0.
5233
5234 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5235
5236         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5237         (elmo-archive-folder-path): Define.
5238         (elmo-folder-initialize): Setup `dir-name' slot.
5239         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5240         Use `dir-name' as prefix of each subfolders.
5241         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5242
5243 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5244
5245         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5246         (elmo-pipe-folder-list-target-messages): New internal function.
5247         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5248         `killed-list'.
5249         (elmo-pipe-folder-copied-list-load): New function.
5250         (elmo-pipe-folder-copied-list-save): Ditto.
5251         (elmo-folder-open-internal): Follow the change above.
5252         (elmo-folder-status): Fixed for copy.
5253
5254 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5255
5256         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5257
5258 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5259
5260         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5261         elmo-copy-file instead of elmo-add-name-to-file.
5262
5263         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5264
5265         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5266         "file://..." index.
5267
5268         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5269         of accept-process-output as 1.
5270         (elmo-pop3-read-contents): Ditto.
5271         (elmo-pop3-read-body): Ditto.
5272
5273 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5274
5275         * elmo-version.el (product-version-as-string): Remove define.
5276
5277 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5278
5279         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5280         (elmo-imap4-copy-messages): Chop number set using
5281         `elmo-imap4-number-set-chop-length'.
5282         (elmo-imap4-set-flag): Ditto.
5283         (elmo-imap4-search-internal-primitive): Ditto.
5284
5285 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5286
5287         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5288         `elmo-folder-make-temp-dir'
5289
5290         * elmo-vars.el (elmo-cache-directory): New variable.
5291         (elmo-cache-dir): Abolished.
5292         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5293
5294         * elmo-version.el (elmo-version): Up to 2.7.7.
5295
5296 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5297
5298         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5299         defcustom; Set default value as t.
5300
5301 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5302
5303         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5304         (ldap-search-program-arguments): Changed default value.
5305         (ldap-search-basic): Accept exit status 4.
5306         (ldap/field-body): Parse options.
5307         (ldap/collect-field): Ditto.
5308         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5309
5310         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5311         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5312         (elmo-imap4-accept-ok): Ditto.
5313         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5314         'notify-bye, only BYE error is reported.
5315         (elmo-folder-exists-p-plugged): Set no-error argument of
5316         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5317
5318         * elmo.el (elmo-imap4-bye-error): Changed message.
5319
5320         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5321         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5322         queues (It causes infinite loop).
5323
5324 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5325
5326         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5327         (RECENT UNSEEN MESSAGES) extension.
5328
5329 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5330
5331         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5332         Check number of overview fields.
5333
5334 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5335
5336         * elmo.el (elmo-folder-confirm-appends): Changed message.
5337         (elmo-folder-confirm-appends): Ditto.
5338
5339         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5340         `with-temp-buffer'.
5341         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5342
5343 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5344
5345         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5346         of elmo-folder-update-threshold is nil, which can be set by
5347         wl-summary-update-confirm-threshold.
5348
5349 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5350
5351         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5352         (elmo-nmz-index-alias-alist): Ditto.
5353         (elmo-map-folder-list-message-locations): Follow the change above.
5354
5355 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5356
5357         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5358
5359         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5360
5361         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5362
5363         * elmo-util.el (elmo-read): Ditto.
5364         (elmo-display-error): Ditto.
5365
5366         * elmo-vars.el (elmo-date-match): Ditto.
5367
5368         * pldap.el (ldap-coding-system): Ditto.
5369
5370         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5371         `elmo-inhibit-number-mapping' as nil.
5372
5373 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5374
5375         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5376         space delimiter for list response.
5377
5378 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5379
5380         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5381
5382 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5383
5384         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5385         (elmo-map-message-fetch): Fix.
5386         * elmo-map.el (elmo-folder-status): Fix for killed.
5387
5388 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5389
5390         * elmo-sendlog.el: New file.
5391         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5392
5393 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5394
5395         * acap.el (acap-logging-out): New buffer local variable.
5396         (acap-close): Set it.
5397         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5398         an error.
5399
5400 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5401
5402         * acap.el (acap-response-bye-p): New function.
5403         (acap-response-bye-message): Ditto.
5404         (acap-wait-for-response): If bye response is received, cause an error.
5405         (acap-parse-response): Make bye response when 'Bye' is received.
5406
5407 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5408
5409         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5410
5411 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5412
5413         * elmo-util.el (elmo-copy-file): Added argument
5414         `ok-if-already-exists'.
5415         (elmo-copy-file): Fixed typo.
5416
5417 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5418
5419         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5420
5421 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5422
5423         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5424
5425 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5426
5427         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5428         to killed-list.
5429
5430 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5431
5432         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5433         (elmo-folder-initialize): Fix for `copy'.
5434         (elmo-pipe-drain): Ditto.
5435         (elmo-folder-open-internal): Ditto.
5436         (elmo-folder-newsgroups): Fix.
5437
5438 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5439
5440         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5441         for each message.
5442
5443         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5444         recent value is returned from imap folder.
5445
5446         * elmo.el (elmo-folder-newsgroups): New generic function.
5447
5448         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5449         (elmo-folder-initialize): Set it.
5450         (elmo-folder-expand-msgdb-path): Use it.
5451         (elmo-folder-newsgroups): Define.
5452
5453         * elmo-filter.el (elmo-folder-newsgroups): Define.
5454
5455         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5456
5457         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5458
5459         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5460
5461 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5462
5463         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5464         user option.
5465         (elmo-shimbun-header-extra-field): New inline function.
5466         (elmo-shimbun-header-set-extra-field): Ditto.
5467         (elmo-shimbun-folder-header-hash-setup): Ditto.
5468         (elmo-shimbun-update-overview): Ditto.
5469         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5470         (elmo-shimbun-folder-setup): Use
5471         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5472         (elmo-shimbun-get-headers): Ditto.
5473         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5474         Insert `X-Shimbun-Id:' header if extra field is set.
5475         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5476         field's value instead of `shimbun-header-id'.
5477
5478         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5479         inline function.
5480         (elmo-msgdb-overview-entity-set-date): Ditto.
5481         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5482
5483 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5484
5485         * mmimap.el (mmimap-entity-section): Changed body node number from
5486         "0" to "1".
5487
5488 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5489
5490         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5491         `elmo-folder-delete-messages'.
5492
5493         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5494         (elmo-folder-initialize): Changed to expand alias into index path.
5495
5496         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5497         `elmo-mime-insert-header-from-buffer' with 6th arg
5498         `sorted-fields'.
5499
5500 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5501
5502         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5503
5504         * elmo.el (elmo-diff-new): New inline function.
5505         (elmo-diff-unread): Ditto.
5506         (elmo-diff-all): Ditto.
5507
5508         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5509         value from responseb.
5510         (elmo-imap4-folder-diff-plugged): Ditto.
5511         (elmo-imap4-server-diff-async): Added recent argument.
5512         (elmo-server-diff-async): Ditto.
5513         (elmo-imap4-folder-diff-plugged): Ditto.
5514
5515         * elmo-version.el (elmo-version): Up to 2.7.6.
5516
5517 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5518
5519         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5520         in quoted-stirng.
5521
5522 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5523
5524         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5525
5526         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5527
5528         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5529
5530         * elmo-multi.el (elmo-folder-initialize): Ditto.
5531
5532         * elmo-util.el (elmo-parse-token): New function.
5533         (elmo-parse-prefixed-element): Ditto.
5534
5535 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5536
5537         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5538         delete process.
5539         (elmo-imap4-accept-ok): Ditto.
5540
5541 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5542
5543         * mmimap.el (mime-imap-entity-header-string): Don't check first
5544         element of node-id is `0' (Follow last change).
5545
5546 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5547
5548         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5549         assigned irregular node-id to nested multipart section.
5550         (initialize-instance): Followed above change.
5551
5552 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5553
5554         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5555         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5556         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5557         `elmo-shimbun-get-headers');
5558         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5559         visible article on summary exists in headers).
5560         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5561
5562 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5563
5564         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5565         definition.
5566
5567 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5568
5569         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5570
5571 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5572
5573         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5574         header separator into loop condition.
5575
5576 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5577
5578         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5579         Return duplicate folder if it has subfolder.
5580
5581 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5582
5583         * elmo.el (elmo-make-folder): Add folder name error check.
5584
5585         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5586         (elmo-nntp-encode-group-string): New inline function.
5587         (elmo-nntp-decode-group-string): Ditto.
5588         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5589         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5590         Use `not' instead of `null';
5591         Use elmo-nntp-decode-group-string.
5592
5593         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5594
5595         * elmo-version.el (elmo-version): Up to 2.7.5.
5596
5597 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5598
5599         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5600         Hide progress gauge if `elmo-folder-move-messages' exits
5601         nonlocally.
5602
5603 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5604
5605         * elmo-imap4.el (elmo-folder-initialize): Use
5606         `elmo-imap4-encode-folder-string' for folder name.
5607
5608 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5609
5610         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5611         `done'.
5612
5613 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5614
5615         * elmo-util.el (elmo-progress-counter-alist): New internal
5616         variable.
5617         (elmo-progress-counter-value): New macro.
5618         (elmo-progress-counter-all-value): Ditto.
5619         (elmo-progress-counter-format): Ditto.
5620         (elmo-progress-counter-set-value): Ditto.
5621         (elmo-progress-set): New function.
5622         (elmo-progress-clear): Ditto.
5623         (elmo-progress-notify): Ditto.
5624
5625         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5626         counter.
5627
5628         * elmo.el (elmo-generic-folder-append-messages): Call
5629         `elmo-progress-notify'.
5630         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5631
5632         * elmo-archive.el (elmo-folder-append-messages): Call
5633         `elmo-progress-notify'.
5634
5635         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5636
5637         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5638
5639         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5640
5641 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5642
5643         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5644         'Create'.
5645         (elmo-message-encache-dop): Added argument `read'.
5646
5647         * elmo-shimbun.el (elmo-message-encache): Ditto.
5648
5649         * elmo-net.el (elmo-message-encache): Ditto.
5650
5651         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5652         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5653         elmo-imap4-seen-messages.
5654         (elmo-folder-msgdb-create-plugged): Initialize
5655         elmo-imap4-seen-messages;
5656         Set seen mark on elmo-imap4-seen-messages.
5657
5658         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5659
5660         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5661         elmo-folder-append-buffer.
5662         (elmo-folder-encache): Added optional argument `read'.
5663         (elmo-message-encache): Ditto.
5664
5665         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5666
5667         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5668
5669         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5670         if append buffer content succeds.
5671
5672 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5675         elmo-display-progress.
5676
5677         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5678         Set 4th argument of mime-display-message.
5679         (elmo-mime-display-as-is): Ditto.
5680
5681 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5682
5683         * elmo-nmz.el (toplevel): Require 'mime-edit.
5684         (elmo-nmz-content-type-alist): Abolished.
5685         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5686         content is not a message.
5687         (elmo-map-message-fetch): Changed behavior exept for message content;
5688         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5689         content-type, Add From: and Subject: field.
5690
5691 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5692
5693         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5694         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5695         not a message.
5696
5697 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5698
5699         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5700         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5701
5702         * elmo-archive.el (elmo-folder-writable-p): Defined.
5703
5704         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5705
5706         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5707
5708         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5709
5710         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5711
5712         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5713
5714         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5715
5716         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5717
5718         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5719
5720 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5721
5722         * elmo-util.el (elmo-address-quote-specials): New function;
5723         Renamed from `wl-address-quote-specials'.
5724
5725 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5726
5727         * elmo-version.el (elmo-version): Up to 2.7.4.
5728
5729 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5730
5731         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5732
5733 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5734
5735         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5736         both compile-time and run-time to avoid byte-compile warning.
5737
5738 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5739
5740         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5741
5742 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5745         option.
5746         (elmo-mime-display-as-is-internal): Use it.
5747
5748         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5749         if `read-passwd' is not defined.
5750
5751 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5752
5753         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5754         by original number.
5755         (elmo-folder-status): Call `elmo-folder-open-internal';
5756         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5757         (elmo-folder-close-internal): Set location-alist as nil.
5758         (elmo-folder-clear): Define.
5759         (elmo-folder-check): Don't set location-alist as nil.
5760
5761         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5762
5763 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5764
5765         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5766         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5767
5768         * mmimap.el (mime-imap-entity::requested): New slot.
5769         (mime-imap-location-fetch-entity-p): New generic function.
5770         (mime-decode-parameters): Define using `defun-maybe'.
5771         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5772         content-type structure.
5773         (mime-entity-body): Return empty body if
5774         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5775
5776         * elmo.el (elmo-message-displaying): New variable.
5777
5778         * elmo-mime.el (elmo-mime-message-display): Bind
5779         elmo-message-displaying as t.
5780
5781         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5782
5783 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5784
5785         * acap.el (acap-open): erase buffer before starting network process.
5786         (acap-store): Rewrite.
5787
5788 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5789
5790         * elmo-imap4.el (elmo-imap4-default-mailbox,
5791         elmo-imap4-default-server
5792         elmo-imap4-default-authenticate-type,
5793         elmo-imap4-default-user,
5794         elmo-imap4-default-port,
5795         elmo-imap4-default-stream-type,
5796         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5797
5798         * elmo-pop3.el (elmo-pop3-default-user,
5799         elmo-pop3-default-server,
5800         elmo-pop3-default-authenticate-type,
5801         elmo-pop3-default-port,
5802         elmo-pop3-default-stream-type,
5803         elmo-pop3-stream-type-alist): Ditto.
5804
5805         * elmo-nntp.el (elmo-nntp-default-server,
5806         elmo-nntp-default-user,
5807         elmo-nntp-default-port,
5808         elmo-nntp-default-stream-type,
5809         elmo-nntp-stream-type-alist): Ditto.
5810
5811         * elmo-vars.el: Follow changes above.
5812         (elmo-setting): New custom group; added 'elmo-setting group to
5813         above variables.
5814
5815         * elmo-version.el (elmo-version): Up to 2.7.3.
5816
5817         * acap.el (acap-parse-response): Don't delete process when BYE
5818         response (It causes hang-up on slow network environment).
5819         (toplevel): Added comment.
5820
5821 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5822
5823         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5824
5825         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5826         parsing NIL.
5827         (acap-parse-return-metadata): Ditto.
5828
5829         * slp.el: New file.
5830         (toplevel): Fixed typo.
5831
5832         * acap.el: New file.
5833         (acap-network-stream-open): Show "Connecting..." message.
5834         (acap-parse-response): Fixed problem for BYE untagged response.
5835         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5836         (toplevel): Added tiny comments.
5837
5838 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5839
5840         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5841         space delimiter for uidl response.
5842
5843 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5844
5845         * elmo-vars.el (elmo-use-semi): Eliminated.
5846
5847         * elmo-util.el (elmo-string-assoc-all): New function.
5848
5849 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5850
5851         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5852         property 'mime-preview-situation for `mime-preview-quit'.
5853
5854 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5855
5856         * elmo.el (elmo-message-fetch-with-cache-process): Call
5857         elmo-message-fetch-internal instead of causing an error when fetch
5858         strategy is 'entire but only 'section cache is available.
5859
5860 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5861
5862         * elmo-version.el (elmo-version): Up to 2.7.2.
5863
5864         * elmo.el (elmo-generic-folder-append-messages): Make
5865         fetch-strategy with `use-cache'.
5866
5867         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5868         (elmo-dop-queue-method-name): New macro.
5869
5870 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5871
5872         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5873         unbalanced parenthesis.
5874
5875 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5876
5877         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5878
5879 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5880
5881         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5882         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5883
5884 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5885
5886         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5887         local variables.
5888
5889 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5890
5891         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5892         (elmo-message-use-cache-p): Define.
5893         (elmo-folder-msgdb-create): Treat cache.
5894
5895 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5896
5897         * elmo-nntp.el (elmo-network-initialize-session): Call
5898         `elmo-nntp-send-mode-reader'.
5899         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5900
5901 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5902
5903         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5904         alist.
5905         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5906         assoc.
5907
5908         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5909         for `elmo-plugged-p'.
5910         (elmo-open-network-stream): Fixed stream-type argument.
5911
5912 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5913
5914         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5915         unknown archive type is specified.
5916
5917 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5918
5919         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5920
5921         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5922         while loading msgdb.
5923
5924         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5925         (elmo-folder-open-internal): Rewrite.
5926
5927 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5928
5929         * elmo-mime.el (elmo-mime-display-as-is-internal):
5930         Adjust buffer-multibyte status.
5931
5932 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5933
5934         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5935         of elmo-condition-find-key.
5936
5937         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5938         (elmo-condition-in-msgdb-p): Ditto.
5939         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5940         argument.
5941
5942 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5943
5944         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5945
5946 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5947
5948         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5949         label for elmo-display-progress.
5950
5951 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5952
5953         * elmo.el (elmo-folder-clear): New method.
5954         (elmo-folder-clear): Define.
5955         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5956
5957         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5958         (elmo-folder-clear): Define.
5959
5960         * elmo-map.el (elmo-folder-clear): Define.
5961
5962         * elmo-version.el (elmo-version): Up to 2.7.1.
5963
5964 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5967         updates.
5968
5969 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5970
5971         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5972         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5973
5974 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5975
5976         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5977
5978         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5979         and re-written.
5980
5981         * elmo-imap4.el (elmo-folder-initialize): Use
5982         elmo-get-network-stream-type.
5983
5984         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5985
5986         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5987
5988 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5989
5990         * elmo.el (elmo-message-encache): Set unread argument for
5991         elmo-message-fetch.
5992
5993         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5994
5995         * elmo.el (elmo-net-port-info): New method.
5996
5997         * elmo-shimbun.el (elmo-net-port-info): Define.
5998         (elmo-message-encache): Ditto.
5999
6000         * elmo-net.el (elmo-net-port-info): Define as method.
6001
6002         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6003         unplugged status when elmo-enable-disconnected-operation is t.
6004
6005         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6006         of spool folder before checking new number.
6007
6008 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6009
6010         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6011         (elmo-network-setup-session): Ditto.
6012         (elmo-message-fetch-plugged): Ditto.
6013         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6014         (elmo-network-initialize-session): Ditto.
6015         (elmo-pop3-read-response): Abolish 3rd argument.
6016         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6017         (elmo-pop3-read-contents): Ditto.
6018         (elmo-pop3-read-body): Ditto.
6019         (elmo-folder-status): Call elmo-folder-close.
6020         (elmo-pop3-lock): Abolish.
6021         (elmo-pop3-unlock): Ditto.
6022         (elmo-pop3-locked-p): Ditto.
6023         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6024
6025 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6026
6027         * elmo-version.el (elmo-version): Up to 2.7.0.
6028
6029         * elmo-pop3.el (elmo-pop3-debug): New variable.
6030         (elmo-pop3-debug-inhibit-logging): Ditto.
6031         (elmo-pop3-debug): New function.
6032         (elmo-pop3-send-command): Call elmo-pop3-debug.
6033         (elmo-pop3-read-response): Added keep-lock optional argument;
6034         Don't unlock if keep-lock is non-nil.
6035         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6036         (elmo-network-authenticate-session): Bind
6037         elmo-pop3-debug-inhibit-logging as t.
6038         (elmo-network-setup-session): Call elmo-pop3-read-response with
6039         keep-lock argument.
6040         (elmo-pop3-read-msg): Ditto.
6041         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6042         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6043         (elmo-network-initialize-session): Call elmo-pop3-lock.
6044         (elmo-folder-close-internal): Don't clear location-alist slot.
6045         (elmo-folder-check): Clear location-alist slot.
6046
6047 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6048
6049         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6050         (elmo-pop3-send-command): Call elmo-pop3-lock.
6051         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6052         (elmo-pop3-read-contents): Ditto.
6053         (elmo-pop3-lock): New function.
6054         (elmo-pop3-unlock): Ditto.
6055         (elmo-pop3-locked-p): Ditto.
6056         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6057         returns t.
6058
6059 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6060
6061         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6062
6063         * elmo-util.el (elmo-file-field-primitive-condition-match):
6064         New inline function (Don't fetch file content if "first" or "last").
6065         (elmo-file-field-condition-match): Use
6066         elmo-file-field-primitive-condition-match.
6067
6068         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6069         "first".
6070
6071         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6072         (elmo-message-fetch-plugged): Fixed.
6073
6074         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6075
6076 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6077
6078         * elmo.el (elmo-folder-move-messages): Bind
6079         elmo-inhibit-display-retrieval-progress as t while moving messages.
6080
6081         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6082         New variable.
6083         (elmo-inhibit-display-retrieval-progress): Ditto.
6084
6085         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6086         for retrieval progress;
6087         Don't display progress when total buffer size is smaller than
6088         elmo-display-retrieval-progress-threshold.
6089         (elmo-message-fetch-plugged): Don't display progress when
6090         elmo-inhibit-display-retrieval-progress is non-nil.
6091
6092         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6093         for retrieval progress;
6094         Don't display progress when literal size is smaller than
6095         elmo-display-retrieval-progress-threshold.
6096         (elmo-imap4-message-fetch): Don't display progress when
6097         elmo-inhibit-display-retrieval-progress is non-nil.
6098
6099 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6100
6101         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6102         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6103         (elmo-imap4-message-fetch): Likewise.
6104
6105         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6106         (elmo-shimbun-index-range-alist): Ditto.
6107         (elmo-shimbun-use-entire-index): Abolish.
6108         (shimbun-mua-use-entire-index): Ditto.
6109         (elmo-shimbun-folder): Added new slot `range'.
6110         (elmo-folder-initialize): Setup slot `range'.
6111
6112 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6113
6114         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6115         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6116         (elmo-shimbun-get-headers): Use return value of
6117         `shimbun-article-expiration-days'.
6118         (elmo-folder-close-internal): Clean up last-check slot.
6119
6120         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6121         (elmo-pop3-total-size): New variable.
6122         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6123
6124         * elmo.el (elmo-folder-reserve-status-p): New method.
6125
6126         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6127         (elmo-shimbun-use-entire-index): New user option.
6128         (shimbun-elmo-mua): New class.
6129         (shimbun-mua-search-id): Define.
6130         (shimbun-mua-use-entire-index): Ditto.
6131         (elmo-shimbun-folder:last-check): New slot.
6132         (elmo-shimbun-headers-cache-header-list): Abolish.
6133         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6134         (elmo-shimbun-headers-cache-header-hash): Ditto.
6135         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6136         (elmo-shimbun-headers-cache-last-check): Ditto.
6137         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6138         (elmo-shimbun-headers-check-p): Rewrite.
6139         (elmo-shimbun-msgdb-to-headers): New function.
6140         (elmo-shimbun-get-headers): Rewrite.
6141         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6142         (elmo-folder-open-internal): Get headers only if
6143         `elmo-shimbun-headers-check-p' is non-nil.
6144         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6145         is non-nil.
6146         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6147         (elmo-quit): Removed.
6148
6149         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6150         function.
6151         (elmo-msgdb-overview-entity-set-extra): Ditto.
6152         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6153
6154         * elmo-map.el (elmo-folder-status): Don't call
6155         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6156         is non-nil.
6157
6158 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6159
6160         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6161         of `elmo-msgdb-search-internal-primitive' when condition's car is
6162         `and' or `or'.
6163
6164 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6165
6166         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6167
6168 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6169
6170         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6171         call `elmo-pipe-drain'.
6172
6173 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6174
6175         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6176         typo. (elmo-cache-folder -> elmo-mark-folder)
6177
6178 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6179
6180         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6181         `elmo-message-fetch'.
6182
6183 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6184
6185         * elmo-net.el (elmo-message-encache): Fixed typo.
6186         (elmo-message-fetch-unplugged): Changed call
6187         `elmo-message-fetch-internal' without argument `outbuf'.
6188
6189 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6190
6191         * elmo.el (elmo-message-encache): Define as generic function.
6192         (elmo-message-fetch-field): New generic function.
6193         (elmo-message-fetch-with-cache-process): Cause an error when
6194         fetch strategy is 'entire but only 'section cache is available.
6195         (toplevel): Fixed nmz folder definition.
6196
6197         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6198         (elmo-msgdb-resume-list-filename): Ditto.
6199         (elmo-queue-filename): Ditto.
6200         (elmo-enable-disconnected-operation): Changed default value to t.
6201
6202         * elmo-util.el (elmo-cache-path-section-p): New function.
6203         (elmo-file-cache-get): Use it.
6204         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6205         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6206         (elmo-dop-queue-save): Ditto.
6207
6208         * elmo-net.el (elmo-folder-status-unplugged): Call
6209         elmo-folder-status-dop.
6210         (elmo-folder-list-messages-unplugged): Implemented.
6211         (elmo-folder-delete-messages-unplugged): Define.
6212         (elmo-folder-msgdb-create): Define.
6213         (elmo-folder-msgdb-create-unplugged): Define.
6214         (elmo-folder-mark-as-read-unplugged): Ditto.
6215         (elmo-folder-unmark-read-unplugged): Ditto.
6216         (elmo-folder-mark-as-important-unplugged): Ditto.
6217         (elmo-folder-unmark-important-unplugged): Ditto.
6218         (elmo-message-encache): Ditto.
6219
6220         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6221         (elmo-dop-queue-save): Ditto.
6222
6223         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6224         `elmo-folder-msgdb-create'.
6225         (elmo-folder-append-buffer): Implemented unplugged operation.
6226         (elmo-folder-append-messages): Call parent method in unplugged status.
6227         (elmo-message-fetch-unplugged): Removed definition.
6228         (elmo-message-fetch-field): Implemented.
6229
6230         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6231         (elmo-dop-folder): Removed variable definition.
6232         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6233         (elmo-dop-queue-flush): Implemented.
6234         (elmo-dop-queue-merge): Removed definition (TODO).
6235         (elmo-dop-spool-folder): New function.
6236         (elmo-dop-spool-folder-append-buffer): Ditto.
6237         (elmo-dop-spool-folder-list-messages): Ditto.
6238         (elmo-dop-list-deleting-messages): Ditto.
6239         (elmo-folder-append-buffer-dop): Ditto.
6240         (elmo-folder-delete-messages-dop): Ditto.
6241         (elmo-message-encache-dop): New inline function.
6242         (elmo-create-folder-dop): Ditto.
6243         (elmo-folder-mark-as-read-dop): Ditto.
6244         (elmo-folder-unmark-read-dop): Ditto.
6245         (elmo-folder-mark-as-important-dop): Ditto.
6246         (elmo-folder-unmark-important-dop): Ditto.
6247         (elmo-folder-status-dop): Fixed.
6248         (elmo-folder-append-buffer-dop-delayed): New function.
6249         (elmo-folder-delete-messages-dop-delayed): Ditto.
6250         (elmo-dop-msgdb): Ditto.
6251
6252 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6253
6254         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6255
6256 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6257
6258         * elmo.el (elmo-folder-move-messages): Fixed problem when
6259         `dst-folder' is 'null.
6260
6261 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6262
6263         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6264         instead of current mark.
6265
6266         * elmo-multi.el (elmo-folder-list-importants-internal): No
6267         operation if importants is not list.
6268
6269         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6270         Return t if importants is not list.
6271
6272         * elmo-map.el (elmo-map-folder-list-importants): Define.
6273         (elmo-folder-list-importants-internal): Check return value of
6274         `elmo-map-folder-list-importants-internal'.
6275
6276         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6277
6278         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6279
6280         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6281
6282         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6283
6284 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6285
6286         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6287         (Patch is provided by <kita@coe.nttdata.co.jp>).
6288
6289 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6290
6291         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6292         mark folder.
6293
6294 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6295
6296         * elmo.el (elmo-message-fetch): Define.
6297         (elmo-message-fetch-with-cache-process): New generic method.
6298         (elmo-message-fetch-internal): New generic method.
6299         (elmo-folder-synchronize):
6300
6301         * elmo-archive.el (elmo-message-fetch-internal): Define.
6302         (elmo-message-fetch): Eliminated.
6303
6304         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6305         (elmo-message-fetch): Eliminated.
6306
6307         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6308         argument OUTBUF.
6309         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6310
6311         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6312         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6313
6314         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6315         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6316
6317         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6318
6319         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6320
6321         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6322
6323         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6324         (elmo-message-fetch-unplugged): New generic method.
6325         (elmo-message-fetch-internal): Remove cache process (Renamed from
6326         `elmo-message-fetch').
6327
6328         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6329         (elmo-message-fetch): Eliminated.
6330         (elmo-message-fetch-unplugged): Ditto.
6331
6332         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6333
6334 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6335
6336         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6337         of `to-be-deleted' from number-alist to number-list.
6338
6339 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6340
6341         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6342         (elmo-folder-mark-as-important): Ditto.
6343
6344 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6345
6346         * elmo.el (elmo-folder): Added process-duplicates slot.
6347
6348         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6349         (elmo-folder-unmark-read): Ditto.
6350         (elmo-folder-unmark-important): Ditto.
6351         (elmo-folder-mark-as-important): Ditto.
6352
6353         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6354         duplicated message processing.
6355
6356         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6357
6358 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6359
6360         * elmo-util.el (elmo-list-subdirectories-1): New function.
6361         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6362         (elmo-mapcar-list-of-list): New function.
6363
6364         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6365         `elmo-mapcar-list-of-list' instead of `mapcar'.
6366
6367         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6368
6369         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6370         `elmo-have-link-count'. Return the fully qualified folder name.
6371
6372 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6373
6374         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6375         (elmo-shimbun-headers-cache): New internal variable.
6376         (elmo-shimbun-headers-cache-header-list): New inline function.
6377         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6378         (elmo-shimbun-headers-cache-header-hash): Ditto.
6379         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6380         (elmo-shimbun-headers-cache-last-check): Ditto.
6381         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6382         (elmo-shimbun-lapse-seconds): Ditto.
6383         (elmo-shimbun-headers-cache-check-p): Ditto.
6384         (elmo-shimbun-get-headers): New function.
6385         (elmo-folder-open-internal): Call it.
6386         (elmo-quit): Define (Clear headers-cache).
6387
6388 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6389
6390         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6391
6392         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6393         (elmo-msgdb-flist-save): Ditto.
6394
6395         * elmo-shimbun.el (elmo-folder-list-subfolders):
6396         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6397         (elmo-folder-exists-p): Ditto.
6398
6399         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6400         argument for `shimbun-header-insert'.
6401
6402 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6403
6404         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6405         at first time.
6406
6407         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6408         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6409
6410 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6411
6412         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6413         (elmo-folder-plugged-p): Define.
6414         (elmo-folder-set-plugged): Ditto.
6415         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6416         (elmo-folder-list-messages-internal): Return t if unplugged.
6417         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6418
6419         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6420         when elmo-folder-list-messages-internal method of children returns t.
6421
6422         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6423         pair is nil.
6424         (elmo-folder-open-internal): Don't update if unplugged status.
6425
6426 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6429         new message.
6430
6431 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6432
6433         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6434
6435         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6436         saving.
6437
6438 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6439
6440         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6441
6442         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6443         (elmo-folder-open-internal): Set up headers slot.
6444         (elmo-folder-check): Call elmo-folder-close-internal and
6445         elmo-folder-open-internal.
6446         (elmo-folder-close-internal): Clean up headers slot.
6447
6448 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6449
6450         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6451         exactly folder list.
6452         (elmo-folder-append-messages): Fixed append archive with prefix.
6453
6454         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6455         make temp files with start-number.
6456
6457         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6458
6459 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6460
6461         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6462         argument `visible-only'.
6463         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6464         instead of `if'.
6465
6466         * elmo-pop3.el (elmo-folder-open-internal): Check
6467         `elmo-inhibit-number-mapping' is non-nil.
6468
6469         * elmo-pipe.el (elmo-folder-status): Fixed.
6470
6471 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6472
6473         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6474
6475         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6476         (elmo-folder-open-internal): Setup `header-hash' slot.
6477         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6478         information.
6479         (elmo-map-message-fetch): Ditto.
6480
6481 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6482
6483         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6484         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6485         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6486         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6487
6488         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6489
6490 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6491
6492         * sb-airs.el: Added footer.
6493
6494         * shimbun.el (shimbun-article): Define as luna-method.
6495
6496         * sb-tcup.el: New file.
6497
6498         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6499         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6500
6501 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6502
6503         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6504         (shimbun-get-headers): Ditto.
6505
6506         * elmo.el: Moved obsolete variable definitions from
6507         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6508
6509         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6510         groups.
6511
6512         * shimbun.el: New file.
6513
6514         * elmo-shimbun.el: New file.
6515
6516         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6517         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6518         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6519         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6520
6521 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6522
6523         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6524         hierarchy is t.
6525
6526 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6527
6528         * elmo.el (elmo-folder-msgdb): Define as macro.
6529         (elmo-folder-open): Added argument `load-msgdb'.
6530         (elmo-generic-folder-open): Ditto.
6531         (elmo-folder-encache): New function.
6532
6533         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6534
6535         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6536
6537         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6538         Eliminated argument FOLDER and added argument MSGDB.
6539         (elmo-dop-queue-load): Moved from elmo-dop.el.
6540         (elmo-dop-queue-save): Ditto.
6541
6542         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6543
6544         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6545
6546         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6547         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6548         (elmo-filter-folder-list-importants-internal): Ditto.
6549
6550         * elmo-map.el (elmo-folder-pack-number): Ditto.
6551
6552         * elmo-mime.el (elmo-mime-message-display): Ditto.
6553
6554         * elmo.el (elmo-generic-folder-commit): Ditto.
6555         (elmo-folder-list-unreads): Ditto.
6556         (elmo-folder-list-importants): Ditto.
6557         (elmo-generic-folder-commit): Ditto.
6558         (elmo-message-set-mark): Ditto.
6559         (elmo-generic-folder-append-msgdb): Ditto.
6560         (elmo-folder-synchronize): Ditto.
6561         (elmo-folder-messages): Ditto.
6562         (elmo-init): Call elmo-dop-queue-load.
6563         (elmo-folder-list-messages): Ditto.
6564
6565         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6566         (elmo-nntp-folder-process-crosspost): Ditto.
6567         (elmo-folder-list-unreads-internal): Ditto.
6568
6569         * elmo-dop.el: Removed old functions.
6570
6571 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6572
6573         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6574         `folder' to `msgdb'.
6575
6576 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6577
6578         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6579         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6580
6581         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6582         case-fold-search.
6583
6584 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6585
6586         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6587         defined.
6588
6589         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6590         (mmimap-parse-parameters-from-list): Define as alias for
6591         `mime-decode-parameter-plist' if it is defined as function.
6592         (mmimap-make-mime-entity): Added argument `number'.
6593         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6594         as 0.
6595         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6596
6597         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6598
6599         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6600
6601         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6602
6603 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6604
6605         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6606
6607         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6608         when elmo-imap4-default-authenticate-type is nil.
6609         (elmo-folder-list-subfolders): Ditto
6610         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6611         (elmo-imap4-fetch-callback-1-subr): Renamed from
6612         `elmo-imap4-fetch-callback-1' and define as inline function.
6613         (elmo-imap4-fetch-callback-1):
6614         Renamed from `elmo-imap4-fetch-callback'.
6615         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6616
6617         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6618         msgdb path (To keep compatibility with main trunk).
6619
6620         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6621
6622         * elmo-util.el (elmo-make-file-cache): Moved position of
6623         some macros.
6624
6625         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6626         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6627         instead of `elmo-pop3-inhibit-uidl'.
6628         (elmo-folder-exists-p): Ditto.
6629         (elmo-pop3-folder-list-messages): Ditto.
6630
6631         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6632         instead of `elmo-pop3-inhibit-uidl'.
6633         (elmo-folder-status): Ditto.
6634
6635         * elmo-dop.el (elmo-dop-folder): New variable.
6636         (elmo-dop-lock-message): Eliminated.
6637         (elmo-dop-unlock-message): Ditto.
6638         (elmo-dop-lock-list-load): Ditto.
6639         (elmo-dop-lock-list-save): Ditto.
6640         (elmo-dop-delete-folder): Ditto.
6641         (elmo-dop-rename-folder): Ditto.
6642
6643         * elmo.el: Removed incomplete commentary.
6644
6645 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6646
6647         * elmo.el (toplevel): Require 'elmo-version first;
6648         for little `recursive-load-depth' settings.
6649         Fix "ends here" comment.
6650
6651 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6652
6653         * elmo-util.el (toplevel): Require 'poem;
6654         Some functions are moved from elmo-cache.el.
6655
6656         * elmo-net.el (toplevel): Require 'elmo-cache.
6657
6658         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6659
6660         * elmo.el (toplevel): Ditto.
6661
6662         * elmo-cache.el: Rewrite with luna;
6663         Some functions are moved to elmo-util.el.
6664
6665         * elmo-internal.el (elmo-internal-folder-list): New variable.
6666         (elmo-internal-folder-initialize): Rewrite.
6667         (elmo-folder-list-subfolders): Ditto.
6668
6669         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6670         (elmo-cache-collect-sub-directories): Ditto.
6671
6672 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * elmo-version.el (elmo-version): Up to 2.5.8.
6675
6676         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6677
6678         * elmo-util.el (elmo-list-insert): New function.
6679
6680 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6681
6682         * elmo.el (elmo-init): New function.
6683         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6684
6685         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6686         (Renamed from `elmo-localdir-header-chop-length').
6687
6688         * elmo-pop3.el (elmo-pop3-use-cache,
6689         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6690
6691         * elmo-nntp.el (elmo-message-fetch): Define.
6692         (elmo-message-fetch-unplugged): Ditto.
6693         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6694         (elmo-nntp-use-cache): Ditto.
6695         (elmo-nntp-max-number-precedes-list-active): Ditto.
6696
6697         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6698
6699         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6700         `elmo-msgdb-insert-file-header'.
6701         Use `elmo-msgdb-file-header-chop-length'.
6702
6703         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6704         `elmo-vars.el'.
6705
6706         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6707         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6708         `elmo-msgdb-insert-file-header'.
6709
6710         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6711         Use new variable;
6712         Define obsolete variables with `elmo-define-obsolete-variable',
6713
6714         * elmo-util.el (elmo-warning-buffer-name): New constant.
6715         (elmo-warning): New function.
6716         (elmo-obsolete-variable-alist): New variable.
6717         (elmo-obsolete-variable-show-warnings): New variable.
6718         (elmo-define-obsolete-variable): New function.
6719         (elmo-resque-obsolete-variable): Ditto.
6720         (elmo-resque-obsolete-variables): Ditto.
6721
6722 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6723
6724         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6725         Eliminated.
6726
6727         * elmo-pop3.el, elmo-nntp.el: Use custom.
6728
6729 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6730
6731         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6732         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6733
6734 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * Luna-fy Kenichi OKADA's following changes.
6737         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6738         `nohide'.
6739         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6740
6741 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6742
6743         * elmo-util.el (elmo-display-progress): Prefer
6744         `progress-feedback-with-label' to `lprogress-display'.
6745
6746 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6747
6748         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6749
6750 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6751
6752         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6753         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6754         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6755         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6756         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6757         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6758         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6759         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6760         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6761         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6762         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6763         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6764         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6765
6766 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6767
6768         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6769         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6770
6771 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo.el (elmo-folder-process-crosspost): New generic method.
6774         (elmo-folder-writable-p): Ditto.
6775         (elmo-folder-message-appendable-p): Eliminated.
6776         (elmo-generic-folder-append-msgdb): Rewrite.
6777         (elmo-newsgroups-hashtb): New internal variable.
6778         (elmo-crosspost-message-set): Eliminated.
6779         (elmo-crosspost-message-delete): Ditto.
6780         (elmo-setup-subscribed-newsgroups): New function.
6781         (elmo-crosspost-message-alist-modified): New internal variable.
6782         (elmo-crosspost-message-alist-load): New function (Renamed from
6783         `wl-crosspost-alist-load').
6784         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6785         `wl-crosspost-alist-save').
6786
6787         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6788
6789         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6790         `unreads'.
6791         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6792         elmo-newsgroups-hashtb).
6793         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6794         `elmo-nntp-folder-update-crosspost-message-alist'.
6795         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6796         `elmo-nntp-groups-hashtb'.
6797         (elmo-nntp-make-groups-hashtb): Eliminated.
6798         (elmo-nntp-parse-newsgroups): New function (Renamed from
6799         `wl-parse-newsgroups').
6800         (elmo-folder-creatable-p, elmo-folder-writable-p,
6801         elmo-folder-close-internal, elmo-folder-mark-as-read,
6802         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6803         Define.
6804         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6805
6806         * elmo-net.el (elmo-message-fetch): Check buffer size.
6807
6808         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6809
6810         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6811
6812         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6813         before `close' command.
6814
6815         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6816         `mark-alist' (All other related portions are changed).
6817
6818 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6819
6820         * elmo-util.el (elmo-create-hash-size): Eliminated.
6821         (elmo-make-hash) Make a hash with `one less than a power of two'
6822         length.
6823
6824         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6825         (elmo-hash-maximum-size): Changed value.
6826
6827 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6828
6829         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6830         (elmo-mime-message-display-as-is): Ditto.
6831
6832 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6833
6834         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6835         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6836
6837 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6838
6839         * elmo-mark.el: New file.
6840
6841         * elmo-internal.el: Rewrite (Almost empty).
6842
6843 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6844
6845         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6846         (mime-imap-entity-header-string): Ditto.
6847         (mmimap-entity-section): Rewrite.
6848
6849 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6850
6851         * elmo-nmz.el: New file.
6852
6853         * elmo-pipe.el: Rewrite with luna.
6854
6855 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6856
6857         * elmo-archive.el: Rewrite with luna.
6858
6859         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6860         (elmo-folder-list-importants-internal): Ditto.
6861
6862 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6863
6864         * elmo-archive.el (elmo-archive-version): Abolish.
6865         (toplevel) Removed `boso' comment.
6866
6867 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6868
6869         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6870         elmo-msgdb-add-msgs-to-seen-list-subr;
6871         Changed argument seen-marks to unread-marks.
6872
6873         * elmo-nntp.el: Rewrite with luna.
6874
6875 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6876
6877         * elmo-filter.el: Rewrite with luna.
6878
6879 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6880
6881         * elmo-pop3.el: Rewrite with luna.
6882
6883 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6884
6885         * elmo-multi.el: Rewrite with luna.
6886
6887         * elmo-vars.el (elmo-use-killed-list): Abolish.
6888         All other related portions are changed.
6889         (elmo-filename-replace-string-alist): Renamed from
6890         elmo-msgid-replace-string-alist.
6891
6892 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6895
6896         * elmo-map.el: New file.
6897         * elmo-maildir.el: Rewrite with luna.
6898
6899 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6900
6901         * elmo.el: Changed meaning of `elmo-folder-commit'.
6902         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6903
6904 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6905
6906         * elmo.el (elmo-folder-append-buffer): New function.
6907         (Renamed from `elmo-append-msg')
6908
6909 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6910
6911         * elmo-mime.el: New file.
6912
6913 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6914
6915         * elmo-cache.el: Rewrite.
6916
6917 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6918
6919         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6920
6921 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6922
6923         * elmo-vars.el (elmo): New group.
6924         (elmo-strict-diff-folder-regexp): New variable.
6925
6926         * elmo-util.el (elmo-call-func): Abolish.
6927         (elmo-folder-get-type): Ditto.
6928         (elmo-*-get-spec): Ditto.
6929         (elmo-*-spec-*): Ditto.
6930         (elmo-imap4-identical-name-space-p): Ditto.
6931         (elmo-folder-identical-system-p): Ditto.
6932         (elmo-folder-direct-copy-alist): Ditto.
6933         (elmo-folder-direct-copy-p): Ditto.
6934
6935         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6936         (elmo-folder-initialize): Define.
6937         (elmo-folder-get-primitive-list): Ditto.
6938
6939         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6940         (elmo-folder-initialize): Define.
6941         Renamed `elmo-network-session-host-internal' to
6942         `elmo-network-session-server-internal'.
6943
6944         * elmo-multi.el (elmo-multi-folder): New luna class.
6945         (elmo-folder-initialize): Define.
6946         (elmo-folder-get-primitive-list): Ditto.
6947         (elmo-folder-contains-type): Ditto.
6948         (elmo-message-use-cache-p): Ditto.
6949
6950         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6951         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6952
6953         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6954         (elmo-folder-initialize): Define.
6955
6956         * elmo-filter.el (elmo-filter-folder): New luna class.
6957         (elmo-folder-initialize): Define.
6958         (elmo-folder-get-primitive-list): Ditto.
6959         (elmo-folder-contains-type): Ditto.
6960
6961 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6962
6963         * elmo-imap4.el: Rewrite with luna.
6964
6965         * mmimap.el: New file.
6966
6967         * mmelmo.el, mmelmo-imap4.el: Removed.
6968
6969         * elmo-net.el: Ditto.
6970
6971         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6972         (elmo-folder-initialize): Define.
6973
6974         * elmo-archive.el (elmo-archive-folder): New luna class.
6975         (elmo-folder-initialize): Define.
6976
6977         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6978         `elmo-folder-msgdb-path'.
6979         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6980         `elmo-make-folder'.
6981
6982 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6983
6984         * elmo.el: New file.
6985
6986         * elmo2.el: Renamed to elmo.el.
6987
6988 \f
6989 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6990
6991         * elmo-cache.el (elmo-cache-expire-by-size): Count
6992         a disk usage for a cache file entry in KB even when
6993         its kind is a directory.
6994
6995 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6996
6997         * elmo-version.el (elmo-version): Up to 2.5.7.
6998
6999 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7000
7001         * elmo-version.el (elmo-version): Up to 2.5.6.
7002
7003 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7004
7005         * elmo-version.el (elmo-version): Up to 2.5.5.
7006
7007 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7008
7009         * elmo-imap4.el (elmo-network-authenticate-session):
7010         Fixed a logic for response checking.
7011
7012 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7013
7014         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7015         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7016         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7017         `sasl-mechanisms'.
7018
7019         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7020         for `starttls-open-stream' and `starttls-negotiate'.
7021
7022         * elmo-nntp.el: Remove autoload settings for
7023         `starttls-open-stream' and `starttls-negotiate'.
7024
7025         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7026         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7027         `luna-define-class' with `eval-and-compile'.
7028
7029 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7030
7031         * elmo-util.el (elmo-read-search-condition-internal):
7032         Require an element of table for searching field.
7033
7034 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7035
7036         * elmo-version.el (elmo-version): Up to 2.5.4.
7037
7038 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7039
7040         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7041
7042 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7043
7044         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7045
7046 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7047
7048         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7049         before greeting.
7050
7051 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7052
7053         * elmo-imap4.el (elmo-imap4-delete-folder):
7054         Send "close" before "delete" (Use commented out line).
7055         (elmo-imap4-rename-folder): Ditto.
7056
7057         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7058         folder string itself.
7059         (elmo-dop-list-deleted): New function.
7060         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7061         killed.
7062
7063         * elmo-util.el (elmo-string-rassoc-all): New function.
7064
7065 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7066
7067         * elmo-version.el (elmo-version): Up to 2.5.3.
7068
7069         * elmo-net.el (elmo-network-get-session): Changed logic for
7070         checking process status.
7071
7072         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7073         process is nil;
7074         Changed logic for checking process status.
7075
7076 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7077
7078         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7079         before greeting.
7080         (elmo-network-setup-session): Set UIDL hash size according to
7081         the length of list response.
7082         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7083         according to the length of list response;
7084         Return the length of list response.
7085         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7086
7087 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7088
7089         * elmo-imap4.el (toplevel): Require 'ssl.
7090         Add autoload 'starttls.
7091         * elmo-pop3.el (toplevel): Ditto.
7092         * elmo-nntp.el (toplevel): Ditto.
7093
7094 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7095
7096         * elmo-imap4.el (toplevel): defun at compile time.
7097         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7098         sasl-next-step, sasl-step-data, sasl-step-set-data.
7099         * elmo-pop3.el (toplevel): Ditto.
7100
7101 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7102
7103         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7104
7105 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7106
7107         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7108         if error.
7109         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7110         and `elmo-pop-auth-apop'.
7111
7112 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7113
7114         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7115
7116 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7117
7118         * elmo-pop3.el (elmo-network-authenticate-session): Split
7119         encoded response value.
7120
7121 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7122
7123         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7124         `elmo-pop3-force-login'.
7125         Redefine `sasl-mechanisms'.
7126         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7127
7128 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7129
7130         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7131         Delete `elmo-imap4-authenticator-alist'.
7132         (elmo-imap4-auth-cram-md5): Delete.
7133         (elmo-imap4-auth-digest-md5): Delete.
7134
7135 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7136
7137         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7138         (elmo-pop3-auth-scram-md5): Ditto.
7139         (elmo-pop3-auth-cram-md5): Ditto.
7140
7141 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7142
7143         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7144         Delete `elmo-pop3-authenticator-alist'.
7145
7146 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7147
7148         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7149         new SASL API.
7150         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7151
7152 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7153
7154         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7155
7156 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7157
7158         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7159         Fixed problem when `elmo-pop3-use-uidl' is nil.
7160         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7161
7162 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7163
7164         * elmo-version.el (elmo-version): Up to 2.5.2.
7165
7166 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7167
7168         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7169         New function.
7170         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7171         (elmo-pop3-msgdb-create-as-numlist): Use it.
7172
7173         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7174         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7175
7176         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7177         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7178
7179 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7180
7181         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7182         when elmo-mark-as-read is called with second argument nil.
7183
7184 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7185
7186         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7187         Moved to elmo-util.el.
7188
7189         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7190         Moved from elmo-pipe.el
7191
7192         * elmo-archive.el (elmo-archive-call-process): Enclose with
7193         static-if.
7194
7195         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7196         "RFC822" (because RFC822.PEEK is obsolete).
7197         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7198
7199 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7200
7201         * elmo-archive.el (elmo-archive-call-process): Don't check for
7202         the exit status when Nemacs is running.
7203
7204 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7207         'plain.
7208
7209         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7210         (elmo-pop3-get-spec): Set default of auth to 'user.
7211
7212         * elmo-imap4.el (elmo-imap4-session-check):
7213         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7214         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7215         (elmo-imap4-auth-login): New function; Revival.
7216         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7217         `elmo-imap4-auth-login'.
7218
7219 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7220
7221         * elmo2.el (toplevel): Move `product-provide' declare.
7222         * mmelmo.el (toplevel): Ditto.
7223
7224 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7225
7226         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7227
7228 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7229
7230         * elmo-util.el (elmo-folder-get-store-type): New function.
7231         (elmo-folder-direct-copy-p): Use it.
7232
7233 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7236         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7237         and result of `elmo-imap4-use-flag-p'.
7238         (elmo-imap4-fetch-callback-1): Set mark according to
7239         the result of `elmo-imap4-use-flag-p'.
7240
7241 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7242
7243         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7244         (elmo-generic-list-folder-unread): Ditto.
7245         (elmo-folder-get-info): Ditto.
7246         (elmo-folder-set-info-max-by-numdb): Ditto.
7247         (elmo-folder-get-info-max): Ditto.
7248         (elmo-folder-get-info-length): Ditto.
7249         (elmo-folder-get-info-unread): Ditto.
7250         (elmo-folder-info-make-hashtb): Ditto.
7251
7252         * elmo2.el: Removed above functions.
7253
7254 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7255
7256         * elmo-imap4.el (toplevel): Require 'ssl.
7257         Add autoload 'starttls.
7258         * elmo-pop3.el (toplevel): Ditto.
7259         * elmo-nntp.el (toplevel): Ditto.
7260
7261 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7262
7263         * elmo-imap4.el (toplevel): defun at compile time.
7264         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7265         sasl-next-step, sasl-step-data, sasl-step-set-data.
7266         * elmo-pop3.el (toplevel): Ditto.
7267
7268 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7269
7270         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7271
7272 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7273
7274         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7275         if error.
7276         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7277         and `elmo-pop-auth-apop'.
7278
7279 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7280
7281         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7282
7283 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7284
7285         * elmo-pop3.el (elmo-network-authenticate-session): Split
7286         encoded response value.
7287
7288 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7289
7290         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7291         `elmo-pop3-force-login'.
7292         Redefine `sasl-mechanisms'.
7293         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7294
7295 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7296
7297         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7298         Delete `elmo-imap4-authenticator-alist'.
7299         (elmo-imap4-auth-cram-md5): Delete.
7300         (elmo-imap4-auth-digest-md5): Delete.
7301
7302 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7303
7304         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7305         (elmo-pop3-auth-scram-md5): Ditto.
7306         (elmo-pop3-auth-cram-md5): Ditto.
7307
7308 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7309
7310         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7311         Delete `elmo-pop3-authenticator-alist'.
7312
7313 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7314
7315         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7316         new SASL API.
7317         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7318
7319 \f
7320 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7321
7322         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7323
7324 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7325
7326         * elmo-nntp.el (elmo-nntp-get-folders-info):
7327         Fixed problem when '\' character is contained in user-id.
7328         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7329
7330 \f
7331 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7332
7333         * elmo-imap4.el (elmo-imap4-delete-folder):
7334         Send "close" before "delete" (Use commented out line).
7335         (elmo-imap4-rename-folder): Ditto.
7336
7337         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7338         folder string itself.
7339         (elmo-dop-list-deleted): New function.
7340         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7341         killed.
7342
7343         * elmo-util.el (elmo-string-rassoc-all): New function.
7344
7345         * elmo-version.el (elmo-version): Up to 2.5.1.
7346
7347 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7348
7349         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7350
7351         * elmo-internal.el (elmo-internal-search): Fix last change.
7352
7353 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7354
7355         * elmo-internal.el (elmo-internal-search): Rewrite.
7356         (Fixed problem which is pointed out by Akihiro MOTOKI
7357         <motoki@da.jp.nec.com>)
7358
7359         * elmo-version.el (elmo-version): Up to 2.5.0.
7360
7361 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7362
7363         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7364
7365 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7366
7367         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7368         non-nil, make hierarchy.
7369
7370 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7371
7372         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7373         `elmo-pop3-use-uidl' must be bound to nil.
7374         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7375
7376 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7377
7378         * elmo-util.el (elmo-copy-file): Don't cause an error after
7379         `add-name-to-file' failed.
7380
7381         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7382         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7383
7384 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7385
7386         * elmo-version.el (elmo-version): Up to 2.3.93.
7387
7388 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * elmo-util.el (elmo-flatten): New function.
7391
7392 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7393
7394         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7395         sync Author header.
7396         * elmo-cache.el (toplevel): Ditto.
7397         * elmo-database.el (toplevel): Ditto.
7398         * elmo-date.el (toplevel): Ditto.
7399         * elmo-dop.el (toplevel): Ditto.
7400         * elmo-filter.el (toplevel): Ditto.
7401         * elmo-imap4.el (toplevel): Ditto.
7402         * elmo-internal.el (toplevel): Ditto.
7403         * elmo-localdir.el (toplevel): Ditto.
7404         * elmo-localnews.el (toplevel): Ditto.
7405         * elmo-maildir.el (toplevel): Ditto.
7406         * elmo-msgdb.el (toplevel): Ditto.
7407         * elmo-multi.el (toplevel): Ditto.
7408         * elmo-net.el (toplevel): Ditto.
7409         * elmo-nntp.el (toplevel): Ditto.
7410         * elmo-pipe.el (toplevel): Ditto.
7411         * elmo-pop3.el (toplevel): Ditto.
7412         * elmo-util.el (toplevel): Ditto.
7413         * elmo-vars.el (toplevel): Ditto.
7414         * elmo2.el (toplevel): Ditto.
7415         * mmelmo-imap4.el (toplevel): Ditto.
7416         * mmelmo.el (toplevel): Ditto.
7417
7418         * elmo-version.el (elmo-version): Move to top.
7419
7420         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7421         * elmo-imap4.el (toplevel): Ditto.
7422         * elmo-localdir.el (toplevel): Ditto.
7423         * elmo-msgdb.el (toplevel): Ditto.
7424         * elmo-nntp.el (toplevel): Ditto.
7425         * elmo-pop3.el (toplevel): Ditto.
7426         * elmo-version.el (toplevel): Ditto.
7427
7428         * elmo-localnews.el (toplevel): Added Keyword header.
7429
7430 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7431
7432         * elmo-version.el (product-version-as-string): Defined using
7433         `defun-maybe'.
7434         (toplevel): Use it.
7435
7436         * elmo-localdir.el (toplevel): Updated copyright notice.
7437         * elmo-version.el (toplevel): Ditto.
7438         * elmo-msgdb.el (toplevel): Ditto.
7439         * elmo-imap4.el (toplevel): Ditto.
7440         * elmo-nntp.el (toplevel): Ditto.
7441         * elmo-pop3.el (toplevel): Ditto.
7442
7443 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7444
7445         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7446         messages.
7447
7448         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7449         parameter value (It sometimes contains raw kanji).
7450
7451 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7454         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7455
7456 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7457
7458         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7459
7460 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7461
7462         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7463         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7464
7465 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7466
7467         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7468         value if selecting folder succceeded.
7469         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7470
7471 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7472
7473         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7474         representation.
7475
7476         * elmo-util.el (elmo-string-matched-member): New function.
7477
7478 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7479
7480         * elmo-util.el (elmo-unintern): New macro.
7481         (elmo-number-set-member): Fixed docstring.
7482
7483         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7484         tag token.
7485
7486 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7487
7488         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7489         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7490
7491 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7492
7493         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7494         `no-error'.
7495         Added docstring.
7496         Return non-nil if selecting folder succeeded.
7497         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7498
7499 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7500
7501         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7502         `file-name-completion' returns t.
7503         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7504         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7505         directory if it does not exist.
7506         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7507         for iteration.
7508
7509 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7510
7511         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7512         enclosure (It's harmful in unplugged status).
7513
7514         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7515
7516         * mmelmo-1.el: Removed.
7517
7518         * mmelmo-2.el: Ditto.
7519
7520         * mmelmo-imap4-1.el: Ditto.
7521
7522         * mmelmo-imap4-2.el: Ditto.
7523
7524         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7525
7526         * mmelmo.el: Merged mmelmo-2.el.
7527
7528         * elmo-version.el (elmo-version): Up to 2.3.92.
7529
7530 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7531
7532         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7533         elmo-update-number): Remove last period in "...done." message.
7534         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7535         Ditto.
7536         * elmo-cache.el (elmo-cache-expire-by-size,
7537         elmo-cache-get-sorted-cache-file-list,
7538         elmo-cache-msgdb-create-as-numlist): Ditto.
7539         * elmo-dop.el (elmo-dop-save-pending-messages,
7540         (elmo-dop-flush-pending-append-operations): Ditto.
7541         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7542         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7543         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7544         (elmo-localdir-pack-number): Ditto.
7545         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7546         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7547         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7548         mime-write-entity-content): Ditto.
7549         * pldap.el (ldap-search-basic): Ditto.
7550
7551 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7552
7553         * elmo-version.el (elmo-version): Up to 2.3.91.
7554
7555         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7556         Only when filter is 'last'.
7557
7558         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7559         (elmo-condition-parse-search-value): Use it.
7560         (elmo-read-search-condition-internal): Quote value only when
7561         it is not an atom.
7562
7563 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7564
7565         * elmo2.el (elmo-generic-folder-diff): Fix.
7566
7567 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7568
7569         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7570         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7571         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7572         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7573         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7574         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7575
7576 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7577
7578         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7579         extra-fields.
7580
7581 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7582
7583         * elmo-version.el (elmo-version): Up to 2.3.90.
7584
7585         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7586         (elmo-imap4-list-folder-important): Ditto.
7587
7588 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7589
7590         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7591
7592 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7593
7594         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7595
7596 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7597
7598         * elmo-nntp.el (elmo-network-initialize-session):
7599         Add starttls negotiation.
7600
7601 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7602
7603         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7604         response.
7605         (elmo-network-setup-session): Define.
7606         Call `elmo-nntp-send-mode-reader' when session opened.
7607
7608 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7609
7610         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7611
7612 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7613
7614         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7615         an invalid SPACE character ahead of `SEARCH' command.  Move
7616         a valid SPACE character following `SEARCH' from conditional
7617         `format' arguments to control-strings.
7618
7619 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7620
7621         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7622         was succeeded.
7623
7624         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7625
7626 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7627
7628         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7629         `w32-get-true-file-link-count' as t.
7630
7631         * elmo-imap4.el (elmo-imap4-read): Abolished.
7632         (Renamed to `elmo-read' and moved to elmo-util.el)
7633         All other related portions are changed.
7634
7635         * elmo-util.el (elmo-read): New function.
7636         (elmo-condition-parse-search-value): Use it.
7637
7638 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7641
7642         * elmo-nntp.el (elmo-nntp-session): Define.
7643         (elmo-nntp-setting): Abolished.
7644         All other related portions are changed.
7645         (elmo-nntp-get-server-command): Changed argument.
7646         (elmo-nntp-set-server-command): Ditto.
7647         (elmo-nntp-xover-p): Ditto.
7648         (elmo-nntp-set-xover): Ditto.
7649         (elmo-nntp-listgroup-p): Ditto.
7650         (elmo-nntp-set-listgroup): Ditto.
7651         (elmo-nntp-list-active-p): Ditto.
7652         (elmo-nntp-set-list-active): Ditto.
7653         (elmo-nntp-xhdr-p): Ditto.
7654         (elmo-nntp-set-xhdr): Ditto.
7655         (elmo-nntp-flush-connection): Abolished.
7656         (elmo-nntp-get-connection): Abolished.
7657         (elmo-nntp-get-session): New function.
7658         (elmo-network-initialize-session): Defined.
7659         (elmo-network-authenticate-session): Ditto.
7660         (elmo-nntp-send-mode-reader): Changed argument.
7661         (elmo-nntp-send-command): Changed argument.
7662         All other related portions are changed.
7663         (elmo-nntp-read-response): Ditto.
7664         (elmo-nntp-read-raw-response): Ditto.
7665         (elmo-nntp-read-contents): Ditto.
7666         (elmo-nntp-read-body): Ditto.
7667         (elmo-nntp-goto-folder): Abolished.
7668         (elmo-nntp-select-group): New function.
7669         All other related portions are changed.
7670         (This function substitutes `elmo-nntp-goto-folder')
7671         (elmo-nntp-msgdb-create-by-header): Rewrite.
7672         (elmo-nntp-get-overview): Eliminated.
7673         (elmo-nntp-get-message): Ditto.
7674         (elmo-nntp-open-connection) Abolished.
7675         (elmo-nntp-read-msg): Rewrite.
7676         (elmo-nntp-post): Ditto.
7677         (elmo-nntp-send-data): Abolished.
7678         (elmo-nntp-send-buffer): New function.
7679         (elmo-nntp-send-data-line): Define as inline function.
7680         (elmo-nntp-get-folders-info-prepare): Use session as key.
7681         (elmo-nntp-groups-read-response): Changed argument.
7682         (elmo-nntp-retrieve-headers): Ditto.
7683         (elmo-nntp-msgdb-create-message): Ditto.
7684
7685         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7686         when searching by 'since' or 'before'.
7687
7688 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7689
7690         * elmo-version.el (toplevel): Use product-version-as-string for set
7691         verstion-string, if defined.
7692
7693 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7694
7695         * elmo-util.el: Doc fixes.
7696
7697 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7698
7699         * elmo-archive.el (toplevel): Use product-provide.
7700         * elmo-cache.el (toplevel): Ditto.
7701         * elmo-database.el (toplevel): Ditto.
7702         * elmo-date.el (toplevel): Ditto.
7703         * elmo-dop.el (toplevel): Ditto.
7704         * elmo-filter.el (toplevel): Ditto.
7705         * elmo-imap4.el (toplevel): Ditto.
7706         * elmo-internal.el (toplevel): Ditto.
7707         * elmo-localdir.el (toplevel): Ditto.
7708         * elmo-localnews.el (toplevel): Ditto.
7709         * elmo-maildir.el (toplevel): Ditto.
7710         * elmo-msgdb.el (toplevel): Ditto.
7711         * elmo-multi.el (toplevel): Ditto.
7712         * elmo-net.el (toplevel): Ditto.
7713         * elmo-nntp.el (toplevel): Ditto.
7714         * elmo-pipe.el (toplevel): Ditto.
7715         * elmo-pop3.el (toplevel): Ditto.
7716         * elmo-util.el (toplevel): Ditto.
7717         * elmo-vars.el (toplevel): Ditto.
7718         * elmo2.el (toplevel): Ditto.
7719         * mmelmo-1.el (toplevel): Ditto.
7720         * mmelmo-2.el (toplevel): Ditto.
7721         * mmelmo-imap4-1.el (toplevel): Ditto.
7722         * mmelmo-imap4-2.el (toplevel): Ditto.
7723         * mmelmo-imap4.el (toplevel): Ditto.
7724         * mmelmo.el (toplevel): Ditto.
7725
7726 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7727
7728         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7729         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7730
7731 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7732
7733         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7734         before splitting.
7735         (elmo-multi-split-number-alist): Ditto.
7736
7737 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7738
7739         * elmo-version.el: New file.  Use product.el.
7740         * elmo2.el: Add (require 'elmo-version).
7741         * elmo-vars.el (elmo-appname, elmo-version): Move to
7742         elmo-version.el
7743
7744 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7747         `elmo-msgdb-expand-path'.
7748         (elmo-msgdb-load): Ditto.
7749         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7750         (elmo-generic-list-folder-unread): Rewrite.
7751         (elmo-generic-list-folder-important): Changed argument.
7752         (elmo-list-folder-unread): Ditto.
7753         (elmo-list-folder-important): Ditto.
7754         (elmo-folder-diff): Rewrite.
7755         (elmo-generic-folder-diff): New function.
7756         (elmo-multi-get-number-alist-list): Abolished
7757         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7758         (elmo-multi-folder-diff): Moved to elmo-multi.el
7759         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7760
7761         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7762         `elmo-msgdb-expand-path'.
7763         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7764         (elmo-pop3-read-msg): Ditto.
7765         (elmo-pop3-delete-msgs): Ditto.
7766         (elmo-pop3-folder-diff): New alias.
7767
7768         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7769         `elmo-msgdb-expand-path'.
7770         (elmo-pipe-list-folder-unread): Changed arguments.
7771         (elmo-pipe-list-folder-important): Ditto.
7772         (elmo-pipe-folder-diff): New alias.
7773
7774         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7775         `elmo-msgdb-expand-path'.
7776         (elmo-nntp-max-of-folder): Ditto.
7777         (elmo-nntp-msgdb-create): Ditto.
7778         (elmo-nntp-delete-msgs): Ditto.
7779         (elmo-nntp-folder-diff): New alias.
7780
7781         * elmo-multi.el (elmo-multi-folder-diff): New function.
7782         (elmo-multi-split-mark-alist): Ditto.
7783         (elmo-multi-split-number-alist): Ditto.
7784         (elmo-multi-mark-alist-list): Abolished (Renamed to
7785         elmo-multi-split-mark-alist).
7786         (elmo-multi-list-folder-unread): Rewrite.
7787         (elmo-multi-list-folder-important): Ditto.
7788         (elmo-multi-list-folder): Set `spec' as 1st argument for
7789         `elmo-msgdb-expand-path'.
7790         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7791         instead of `elmo-multi-get-number-alist-list'.
7792
7793         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7794         If 1st argument is not string, treat as spec.
7795         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7796         `elmo-msgdb-expand-path'.
7797         (elmo-msgdb-flist-load): Ditto.
7798         (elmo-msgdb-flist-save): Ditto.
7799         (elmo-msgdb-delete-path): Ditto.
7800         (elmo-msgdb-rename-path): Ditto.
7801
7802         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7803         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7804         (elmo-maildir-delete-mark-msgs): Ditto.
7805         (elmo-maildir-msgdb-create): Ditto.
7806         (elmo-maildir-read-msg): Ditto.
7807         (elmo-maildir-delete-msgs): Ditto.
7808         (elmo-maildir-list-folder-subr): Ditto.
7809         (elmo-maildir-search): Ditto.
7810         (elmo-maildir-get-msg-filename): Ditto.
7811         (elmo-maildir-pack-number): Ditto.
7812         (elmo-maildir-folder-diff): New alias.
7813
7814         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7815
7816         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7817         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7818         (elmo-localdir-folder-diff): New alias.
7819
7820         * elmo-internal.el (elmo-internal-list-folder-subr):
7821         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7822         (elmo-internal-list-folder-by-location): Ditto.
7823         (elmo-internal-msgdb-create): Ditto.
7824         (elmo-internal-delete-msgs): Ditto.
7825         (elmo-internal-read-msg): Ditto.
7826         (elmo-internal-folder-diff): New alias.
7827
7828         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7829         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7830         `elmo-msgdb-expand-path'.
7831         (elmo-imap4-list-folder-unread): Changed arguments.
7832         (elmo-imap4-list-folder-important): Ditto.
7833
7834         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7835         (elmo-filter-list-folder-important): Ditto.
7836         (elmo-filter-folder-diff): New function.
7837
7838         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7839
7840         * elmo-cache.el (elmo-cache-list-folder):
7841         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7842         (elmo-cache-copy-msgs): Ditto.
7843         (elmo-cache-folder-diff): New alias.
7844
7845         * elmo-archive.el (elmo-archive-list-folder-subr):
7846         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7847         (elmo-archive-get-archive-name): Ditto.
7848         (elmo-archive-create-file): Ditto.
7849         (elmo-archive-append-msg): Ditto.
7850         (elmo-archive-copy-msgs): Ditto.
7851         (elmo-archive-copy-msgs-froms): Ditto.
7852         (elmo-archive-get-msg-filename): Ditto.
7853         (elmo-archive-folder-diff): New alias.
7854
7855 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7856
7857         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7858         (elmo-pop3-stream-type-alist): New variable.
7859         (elmo-nntp-stream-type-alist): New variable.
7860
7861         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7862         (elmo-kill-buffer): Ditto.
7863         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7864         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7865         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7866         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7867         (elmo-imap4-get-spec): Take into account
7868         `elmo-imap4-stream-type-alist'.
7869
7870 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7871
7872         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7873         (elmo-nntp-list-folders-get-cache): Ditto.
7874
7875 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7876
7877         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7878         character before 'uid'.
7879
7880 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7881
7882         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7883
7884         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7885
7886         * elmo-util.el (elmo-number-set-member): New function.
7887         (elmo-number-set-append-list): Ditto.
7888         (elmo-number-set-append): Ditto.
7889
7890         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7891         Use `elmo-number-set-member'.
7892         (elmo-living-messages): Ditto.
7893         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7894         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7895
7896         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7897         (elmo-imap4-add-to-cont-list): Abolished.
7898         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7899         instead of elmo-imap4-add-to-cont-list.
7900
7901         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7902         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7903
7904         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7905
7906 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7907
7908         * elmo-util.el (elmo-condition-parse-search-value):
7909         Fixed date parsing.
7910
7911 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7912
7913         * elmo-util.el (elmo-condition-find-key-internal): New function.
7914         (elmo-condition-find-key): Ditto.
7915
7916         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7917         (elmo-msgdb-search-internal): Ditto.
7918         (elmo-msgdb-search): Ditto.
7919
7920 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7921
7922         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7923         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7924
7925         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7926         (elmo-nntp-search-primitive): Fixed problem when condition is
7927         'unmatch'.
7928
7929         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7930
7931         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7932         (elmo-nntp-xhdr-p): New macro.
7933         (elmo-nntp-set-xhdr): Ditto.
7934         (elmo-nntp-parse-xhdr-response): New function.
7935         (elmo-nntp-retrieve-field): Ditto.
7936         (elmo-nntp-search-primitive): Ditto.
7937         (elmo-nntp-search): Implemented.
7938
7939         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7940
7941         * elmo-archive.el (elmo-archive-search): Set all number list to
7942         `elmo-archive-field-condition-match'
7943
7944         * elmo-localdir.el (elmo-localdir-search): Likewise.
7945
7946         * elmo-maildir.el (elmo-maildir-search): Likewise.
7947
7948 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7949
7950         * elmo-msgdb.el (elmo-living-messages): New function.
7951         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7952         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7953         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7954         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7955         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7956         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7957         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7958         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7959         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7960         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7961         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7962
7963 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7964
7965         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7966
7967         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7968
7969         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7970
7971         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7972         arguments for `SEARCH' command.
7973         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7974         All other related portions are changed.
7975
7976         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7977
7978         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7979         (elmo-list-folder-unread): Rewrite.
7980         (elmo-list-folder-important): Ditto.
7981
7982         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7983         (elmo-condition-parse-error): New inline function.
7984         (elmo-read-search-condition): New function.
7985         (elmo-read-search-condition-internal): Ditto.
7986         (elmo-parse-search-condition): Rewrite.
7987         (elmo-condition-parse): New function.
7988         (elmo-condition-parse-or-expr): Ditto.
7989         (elmo-condition-parse-and-expr): Ditto.
7990         (elmo-condition-parse-primitive): Ditto.
7991         (elmo-condition-parse-search-value): Ditto.
7992         (elmo-buffer-field-primitive-condition-match): Ditto.
7993         (elmo-buffer-field-condition-match): Rewrite.
7994         (elmo-file-field-condition-match): Ditto.
7995
7996         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7997         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7998
7999         * elmo-internal.el (elmo-internal-search): Set `number' and
8000         `number-list' argument of `elmo-file-field-condition-match'.
8001
8002         * elmo-maildir.el (elmo-maildir-search): Ditto.
8003
8004         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8005         `msgdb' as argument instead of `mark-alist'.
8006         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8007         `overview'.
8008
8009         * elmo-multi.el: Likewise.
8010
8011         * elmo-pipe.el: Likewise.
8012
8013         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8014         (elmo-imap4-search-internal): Rewrite.
8015         (elmo-imap4-search): Ditto.
8016
8017         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8018         (elmo-filter-list-folder-unread): Ditto.
8019         (elmo-filter-list-folder-important): Ditto.
8020         (elmo-filter-search): Rewrite.
8021
8022         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8023         `number-list' argument of `elmo-file-field-condition-match'.
8024         (elmo-cache-search): Ditto.
8025
8026         * elmo-localdir.el: Likewise.
8027
8028         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8029         number-list and pass it to `elmo-buffer-field-condition-match'.
8030         (elmo-archive-field-condition-match): Pass `number-list' to
8031         `elmo-archive-field-condition-match'
8032
8033 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8034
8035         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8036         `listgroup'.
8037
8038         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8039         (elmo-folder-diff-async-callback-data): Ditto.
8040         (elmo-folder-diff-async): New function.
8041
8042         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8043         (elmo-network-session-cache-key): Use it as a prefix of the session
8044         name.
8045         (elmo-network-open-session): Ditto.
8046
8047         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8048         (elmo-imap4-status-callback-data): Ditto.
8049         (elmo-imap4-server-diff-async-callback): New variable.
8050         (elmo-imap4-server-diff-async-callback-data): Ditto.
8051         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8052         `elmo-imap4-status-callback-data'.
8053         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8054         `elmo-imap4-status-callback-data' as nil.
8055         (elmo-imap4-server-diff): Ditto.
8056         (elmo-imap4-server-diff-async-callback-1): New function.
8057         (elmo-imap4-server-diff-async): Ditto.
8058         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8059
8060 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8061
8062         * elmo-util.el (elmo-list-delete): Doc fix.
8063         (elmo-delete-lists): Abolish.
8064         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8065         instead of `elmo-delete-lists'.
8066
8067 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8068
8069         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8070         before `sort'.
8071
8072 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8073
8074         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8075         `elmo-imap4-literal-subr'.
8076         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8077         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8078
8079 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8080
8081         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8082         (elmo-archive-list-folder): Fix.
8083         (elmo-archive-max-of-folder): Fix.
8084
8085 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8086
8087         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8088          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8089         (elmo-localdir-append-msg): Ditto.
8090         (elmo-localdir-list-folder): Fix for `nonsort'.
8091         (elmo-localdir-list-folder-subr): Fix for `killed'.
8092         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8093         (elmo-maildir-list-folder-subr): Ditto.
8094         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8095         (elmo-archive-list-folder-subr): Ditto.
8096         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8097         (elmo-internal-list-folder-subr): Ditto.
8098
8099 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8100
8101         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8102
8103 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8104
8105         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8106
8107 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8108
8109         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8110         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8111
8112         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8113         before greeting.
8114         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8115         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8116
8117 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8118
8119         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8120
8121         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8122         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8123         before STORE command.
8124
8125 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8126
8127         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8128
8129         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8130         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8131         of `response'.
8132         (elmo-imap4-list-folders): Removed unused local variable.
8133         (elmo-network-initialize-session): Ditto.
8134         (elmo-imap4-delete-msg-by-id): Ditto.
8135         (elmo-imap4-parse-fetch): Ditto.
8136         (elmo-imap4-copy-msgs): Ditto.
8137         Use `dst-spec' instead of `dst-folder'.
8138         (elmo-network-authenticate-session): Check authenticate type `plain'.
8139
8140 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8141
8142         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8143         garbage checking.
8144         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8145         `elmo-imap4-response-value'.
8146         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8147
8148 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8149
8150         * elmo-imap4.el (elmo-imap4-send-command):
8151         Cause elmo-imap4-bye-error when current response is BYE.
8152         (elmo-imap4-arrival-filter): Changed greeting response value.
8153
8154         * elmo2.el (elmo-imap4-bye-error): Define.
8155
8156         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8157         (elmo-imap4-server-diff): Ditto.
8158         (elmo-imap4-response-bye-p): New macro.
8159         (elmo-imap4-response-error-text): Get text from BYE response.
8160         (elmo-imap4-read-response): Return if BYE response.
8161         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8162         (elmo-imap4-folder-exists-p): Ditto.
8163         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8164         (elmo-imap4-parse-bye): New function.
8165         (elmo-imap4-parse-response): Remove needless let.
8166         Call `elmo-imap4-parse-bye'.
8167
8168 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8171         the mailbox does not exist.
8172         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8173
8174 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8175
8176         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8177
8178 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8179
8180         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8181
8182         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8183         (elmo-network-initialize-session-buffer): Defined.
8184
8185         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8186         Abolished.
8187         (mmelmo-imap4-get-mime-entity): Rewrite.
8188
8189         * elmo2.el (elmo-error): Capitalize error message.
8190
8191         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8192         (elmo-network-session-buffer): New macro.
8193         (elmo-network-open-session): Use it.
8194
8195         * elmo-imap4.el: Rewrite.
8196
8197 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8198
8199         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8200
8201 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8202
8203         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8204         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8205         (elmo-imap4-create-msgdb-from-overview-string): Use
8206         `elmo-msgdb-create-overview-from-buffer'.
8207
8208 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8209
8210         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8211         (elmo-imap4-default-hierarchy-delimiter): New variable.
8212         (elmo-imap4-list-folders): Use it.
8213
8214 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8215
8216         * elmo-net.el (elmo-network-open-session): Add user and
8217         stream-type for process-buffer name.
8218
8219         * elmo-pop3.el (elmo-network-initialize-session): Call
8220         buffer-disable-undo.
8221
8222         * elmo-imap4.el (elmo-network-initialize-session):
8223         Set current-buffer as an argument for `buffer-disable-undo'.
8224
8225         * elmo-pop3.el (elmo-network-close-session): Don't use
8226         `process-live-p'.
8227
8228         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8229         Set default as 'user.
8230
8231         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8232
8233         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8234         and `elmo-imap4-flush-connection'.
8235
8236         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8237         (elmo-pop3-get-spec): Assume auth as symbol.
8238         (elmo-open-network-stream): Moved to `elmo-net'.
8239
8240         * elmo-pop3.el (toplevel): Require 'elmo-net.
8241         Define `sasl-cram-md5' to silence byte compilier.
8242         (elmo-pop3-connection-cache) Abolished.
8243         (elmo-pop3-authenticator-alist) New variable.
8244         (elmo-pop3-session): Define.
8245         (elmo-pop3-connection-get-process): Abolished.
8246         (elmo-pop3-connection-get-buffer): Ditto.
8247         (elmo-pop3-close-connection): Ditto.
8248         (elmo-pop3-flush-connection): Ditto.
8249         (elmo-pop3-get-connection): Ditto.
8250         (elmo-pop3-get-session): New function.
8251         (Replacement for `elmo-pop3-get-connection').
8252         All other related modules are changed.
8253         (elmo-network-close-session): Define.
8254         (elmo-pop3-send-command): Abolished argument `buffer'.
8255         All other related modules are changed.
8256         (elmo-pop3-read-response): Likewise.
8257         (elmo-pop3-open-connection): Abolished.
8258         (elmo-pop3-auth-user): New function.
8259         (elmo-pop3-auth-apop): Ditto.
8260         (elmo-pop3-auth-cram-md5): Ditto.
8261         (elmo-pop3-auth-scram-md5): Ditto.
8262         (elmo-pop3-auth-digest-md5): Ditto.
8263         (elmo-network-initialize-session): Define.
8264         (elmo-network-authenticate-session): Ditto.
8265         (elmo-network-setup-session): Ditto.
8266
8267         * elmo-imap4.el (toplevel): Require 'elmo-net.
8268         (elmo-imap4-session): Define.
8269         (elmo-imap4-connection-cache): Abolished.
8270         (elmo-imap4-password-key): Ditto.
8271         (elmo-imap4-flush-connection): Ditto.
8272         (elmo-imap4-get-connection): Ditto.
8273         All other related modules are changed.
8274         (elmo-imap4-get-session): New function
8275         (Replacement for `elmo-imap4-get-connection').
8276         (elmo-imap4-read-response): Abolished argument `buffer'.
8277         All other related modules are changed.
8278         (elmo-imap4-send-command): Likewise.
8279         (elmo-imap4-select-folder): Abolished.
8280         All other related modules are changed.
8281         (elmo-imap4-select-mailbox): New function.
8282         (Replacement for `elmo-imap4-select-folder').
8283         (elmo-imap4-auth-login): Simplify.
8284         (Assume current buffer as process buffer)
8285         (elmo-imap4-auth-cram-md5): Ditto.
8286         (elmo-imap4-auth-digest-md5): Ditto.
8287         (elmo-imap4-login): Ditto.
8288         (elmo-imap4-open-connection): Abolished.
8289         (elmo-imap4-open-connection-1): Abolished.
8290         (elmo-network-initialize-sessoin): Define.
8291         (elmo-network-authenticate-session): Ditto.
8292         (elmo-network-setup-session): Ditto.
8293
8294         * elmo-net.el: New module.
8295
8296 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8297
8298         * elmo-util.el (elmo-define-error): New function.
8299
8300         * elmo2.el (elmo-error): Define.
8301         (elmo-open-error): Define.
8302         (elmo-authenticate-error): Define.
8303
8304         * elmo-imap4.el (elmo-imap4-error): Abolish.
8305         (elmo-imap4-error-type): Abolish.
8306         (elmo-imap4-error-process): Abolish.
8307         (elmo-imap4-error-message): Abolish
8308         (elmo-imap4-list-folders): Don't quote lambda.
8309         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8310         (elmo-imap4-parse-namespace): Ditto.
8311         (elmo-imap4-open-connection): Rewrite.
8312         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8313         (elmo-imap4-get-connection): Abolish local variable `result'.
8314
8315 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8316
8317         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8318         wrong-type-argument error when auth is nil.
8319
8320 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8321
8322         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8323         (elmo-default-nntp-stream-type): Ditto.
8324         (elmo-default-pop3-stream-type): Ditto.
8325         (elmo-network-stream-type-alist): Ditto.
8326         (elmo-default-imap4-ssl): Abolished.
8327         (elmo-default-nntp-ssl): Ditto.
8328         (elmo-default-pop3-ssl): Ditto.
8329
8330         * elmo-util.el: (toplevel): Removed needless requires.
8331         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8332         (elmo-open-network-stream): Open network stream according to
8333         the value of `elmo-network-stream-type-alist'.
8334         (elmo-get-network-stream-type): New function.
8335         (elmo-network-stream-type-spec-string): New macro.
8336         (elmo-network-stream-type-symbol): Ditto.
8337         (elmo-network-stream-type-function): Ditto.
8338
8339         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8340         network-stream-type. All other related portions are changed.
8341         (elmo-pop3-open-connection): Ditto.
8342
8343         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8344         network-stream-type. All other related portions are changed.
8345
8346         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8347         network-stream-type.All other related portions are changed.
8348         (elmo-imap4-error): New macro.
8349         (elmo-imap4-error-type): Ditto.
8350         (elmo-imap4-error-process): Ditto.
8351         (elmo-imap4-error-message): Ditto.
8352         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8353         (elmo-imap4-auth-cram-md5): Ditto.
8354         (elmo-imap4-auth-digest-md5): Ditto.
8355         (elmo-imap4-login): Ditto.
8356         (elmo-imap4-open-connection): Remove password entry if authentication
8357         was in vain.
8358         (elmo-imap4-user-at-host): Abolished.
8359         (elmo-imap4-password-key): New buffer local variable.
8360         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8361         using protocol, port, auth and stream-type.
8362
8363         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8364
8365 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8366
8367         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8368
8369         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8370
8371         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8372         (elmo-imap4-authenticator-alist): New variable.
8373         (elmo-imap4-open-connection-1): Rename from
8374         elmo-imap4-open-connection.
8375         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8376         only wraps elmo-imap4-open-connection-1.
8377         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8378         user-at-host.
8379         (elmo-imap4-auth-login): New function.
8380         (elmo-imap4-auth-cram-md5): New function.
8381         (elmo-imap4-auth-digest-md5): New function.
8382         (elmo-imap4-login): New function.
8383
8384 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8385
8386         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8387         function `error'.
8388
8389 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8390
8391         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8392
8393 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8394
8395         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8396
8397 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8398
8399         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8400         for server responses, quote `*' regardless of where it appears.
8401
8402 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8403
8404         * elmo-maildir.el (elmo-maildir-commit): New alias.
8405
8406 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8407
8408         * elmo-util.el (elmo-display-progress):
8409                 Use `progress-feedback-with-label'.
8410
8411 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8412
8413         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8414         (elmo-imap4-non-atom-char-regex): Ditto.
8415         (elmo-imap4-non-text-char-regex): Ditto.
8416         (elmo-imap4-literal-threshold): Ditto.
8417         (elmo-imap4-atom-p): New function.
8418         (elmo-imap4-quotable-p): Ditto.
8419         (elmo-imap4-nil): Ditto.
8420         (elmo-imap4-atom): Ditto.
8421         (elmo-imap4-quoted): Ditto.
8422         (elmo-imap4-literal-subr): Ditto.
8423         (elmo-imap4-literal): Ditto.
8424         (elmo-imap4-buffer-literal): Ditto.
8425         (elmo-imap4-string-subr): Ditto.
8426         (elmo-imap4-string): Ditto.
8427         (elmo-imap4-buffer-string): Ditto.
8428         (elmo-imap4-astring-subr): Ditto.
8429         (elmo-imap4-astring): Ditto.
8430         (elmo-imap4-buffer-astring): Ditto.
8431         (elmo-imap4-nstring): Ditto.
8432         (elmo-imap4-buffer-nstring): Ditto.
8433         (elmo-imap4-mailbox): New alias.
8434         (elmo-imap4-field-body): Ditto.
8435         (elmo-imap4-userid): Ditto.
8436         (elmo-imap4-password): Ditto.
8437         (elmo-imap4-format-quoted): New function.
8438         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8439         arguments and handle "atom", "quoted" and "literal" string here.
8440         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8441         `elmo-imap4-send-command'.
8442         (elmo-imap4-folder-exists-p): Likewise.
8443         (elmo-imap4-create-folder): Likewise.
8444         (elmo-imap4-delete-folder): Likewise.
8445         (elmo-imap4-rename-folder): Likewise.
8446         (elmo-imap4-max-of-folder): Likewise.
8447         (elmo-imap4-check-validity): Likewise.
8448         (elmo-imap4-sync-validity): Likewise.
8449         (elmo-imap4-server-diff): Likewise.
8450         (elmo-imap4-select-folder): Likewise.
8451         (elmo-imap4-copy-msgs): Likewise.
8452         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8453         (elmo-imap4-mark-set-on-msgs): Likewise.
8454         (elmo-imap4-read-part): Likewise.
8455         (elmo-imap4-read-msg): Likewise.
8456         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8457         `elmo-imap4-password' for `elmo-imap4-send-command'.
8458         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8459         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8460         `elmo-imap4-buffer-literal'.
8461         (elmo-imap4-append-msg): Likewise.
8462
8463         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8464         `delete' for removing dead connection from the connection cache.
8465         Move deletion of the process buffer after that.
8466         (elmo-imap4-list): Change `defsubst' to `defun'.
8467         (elmo-imap4-commit): Make error message verbose.
8468         (elmo-imap4-search): Ditto.
8469         (elmo-imap4-list): Ditto.
8470         (elmo-imap4-select-folder): Ditto.
8471         (elmo-imap4-copy-msgs): Ditto.
8472         (elmo-imap4-delete-msg-by-id): Ditto.
8473         (elmo-imap4-append-msg-by-id): Ditto.
8474         (elmo-imap4-append-msg): Ditto.
8475
8476 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8477
8478         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8479         when dired is used on XEmacs.
8480
8481 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8482
8483         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8484         instead of `append'.
8485         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8486         `elmo-plugged-p' directly.
8487         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8488         of `elmo-plugged-p' directly.
8489
8490         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8491         Eliminate unused variable.  Use `memq' for checking a process status.
8492         Use `cons' instead of `append' for updating the connection cache.
8493         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8494         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8495
8496 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8497
8498         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8499         `elmo-imap4-read-point' exactly.
8500
8501         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8502         the local variable `folder' to `mailbox'.
8503         Rename the argument `fld' to `folder'.
8504
8505 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8506
8507         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8508         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8509
8510 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8511
8512         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8513         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8514         (elmo-pop3-uidl-number-hash): Ditto.
8515         (elmo-pop3-size-hash): Ditto.
8516         (elmo-pop3-uidl-done): Ditto.
8517         (elmo-pop3-list-done): Ditto.
8518         (elmo-pop3-connection-get-process): New defmacro.
8519         (elmo-pop3-connection-get-buffer): Ditto.
8520         (elmo-pop3-close-connection): Delete buffer and process.
8521         (elmo-pop3-flush-connection): Don't delete buffer and process.
8522         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8523         Setup UIDL and size hash.
8524         (elmo-pop3-send-command-no-erase): Deleted
8525         (elmo-pop3-send-command): Added optional argument `no-erase'.
8526         (elmo-pop3-parse-uidl-response): New function.
8527         (elmo-pop3-parse-list-response): Set size hash.
8528         (elmo-pop3-list-location): New function.
8529         (elmo-pop3-list-by-uidl-subr): Ditto.
8530         (elmo-pop3-list-by-list): Ditto.
8531         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8532         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8533         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8534         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8535         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8536         Use uidl.
8537         (elmo-pop3-uidl-to-number): New function.
8538         (elmo-pop3-number-to-uidl): Ditto.
8539         (elmo-pop3-number-to-size): Ditto.
8540         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8541         Set number by use of uidl.
8542         (elmo-pop3-msgdb-create-message): Likewise.
8543         Set size, loc-alist in msgdb.
8544         (elmo-pop3-read-msg): Set number by use of uidl.
8545         Added optional argument `msgdb'.
8546         (elmo-pop3-delete-msg): Ditto.
8547         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8548         (elmo-pop3-commit): Close connection.
8549
8550         * elmo-pipe.el (elmo-pipe-max-of-folder):
8551         Bind `elmo-pop3-use-uidl' as nil.
8552         (elmo-pipe-drain): Ditto.
8553         Call `elmo-commit'.
8554
8555         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8556         (elmo-msgdb-overview-entity-set-size): New defsubst.
8557
8558 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8559
8560         * elmo-vars.el (elmo-use-killed-list): New variable
8561         (Renamed from `elmo-nntp-use-killed-list').
8562         (elmo-nntp-use-killed-list): Eliminated.
8563
8564         * elmo-msgdb.el (elmo-msgdb-expand-path):
8565         Changed expanding msgdb path for elmo-multi.
8566
8567         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8568         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8569         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8570         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8571         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8572         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8573         (toplevel): Deleted time-stamp line.
8574
8575         * elmo2.el (elmo-clear-killed ): Defined as function
8576         (Abolished defining as a backend function).
8577         All other related modules are changed.
8578
8579 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8580
8581         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8582
8583 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8584
8585         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8586
8587 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8588
8589         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8590
8591 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8592
8593         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8594         asynchronous folder check.
8595
8596         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8597
8598         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8599         `elmo-nntp-use-killed-list'.
8600         (elmo-nntp-list-folder): Use killed list.
8601         (elmo-nntp-max-of-folder): Ditto.
8602         (elmo-nntp-msgdb-create): Set killed list.
8603
8604         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8605
8606         * elmo2.el (elmo-clear-killed): New backend function.
8607         All other related modules are changed.
8608
8609 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8610
8611         * elmo-util.el (elmo-imap4-spec-folder): Use
8612         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8613         All callers changed.
8614
8615 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8616
8617         * mmelmo-2.el (initialize-instance):
8618         Use `mime-buffer-entity-buffer-internal' instead of
8619         `mime-entity-buffer'.
8620
8621         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8622         (mime-entity-body): Implemented.
8623         (mime-goto-header-start-point): Deleted.
8624         (mime-goto-body-end-point): Ditto.
8625         (mime-entity-point-min): Ditto.
8626         (mime-entity-point-max): Ditto.
8627         (mime-entity-children): Ditto.
8628         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8629         instead of `mime-entity-buffer'.
8630         (mime-entity-header-buffer): Ditto.
8631         (mime-entity-body-buffer): Ditto.
8632         (mime-write-entity-content): Ditto.
8633
8634         * pldap.el (ldap-static-if): New macro.
8635         (toplevel): Use it instead of `static-if'.
8636
8637 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8638
8639         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8640         included in `attrs' argument.
8641
8642 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8643
8644         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8645
8646         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8647         (ldap-ldif-safe-init-char-regexp): Ditto.
8648         (ldap-ldif-safe-string-regexp): Ditto.
8649         (ldap/ldif-safe-string-p): New macro.
8650         (ldap/ldif-insert-field): Ditto.
8651         (ldap-modify): Use it.
8652         (ldap-add): Ditto.
8653         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8654         (ldap-decode-attribute): Decode only when `attr' is consp.
8655         (ldap-delete): Bind `ret'.
8656         (toplevel): Require 'cl at compile time.
8657         Removed (require 'poe) and (require 'std11).
8658         (pldap-version): Eliminated.
8659         (ldap-search-basic): Removed auth and dn binding.
8660         (ldap-ldif-field-name-regexp): New constant.
8661         (ldap-ldif-field-head-regexp): Ditto.
8662         (ldap-ldif-next-field-head-regexp): Ditto.
8663         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8664         (ldap/field-end): New function.
8665         (ldap/field-body): Use it.
8666         (ldap/collect-field): Ditto.
8667         (ldap-search-basic): Use `ldap/field-body'.
8668
8669 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8670
8671         * pldap.el (ldap-default-attribute-encoder): New user option.
8672         (ldap/field-body): Decode base64 string.
8673         (ldap/collect-field): Ditto.
8674         (ldap-encode-attribute): New function.
8675         (ldap-add-entries): Use it.
8676         (ldap-modify-entries): Ditto.
8677         (ldap-search-entries): Enclosed decoding function with
8678         `with-temp-buffer' and set as unibyte.
8679         (ldap-search-basic): Set process buffer as unibyte.
8680
8681         * elmo-util.el (elmo-folder-identical-system-p):
8682         Eliminated name space checking.
8683
8684         * pldap.el: New module.
8685         toplevel: Changed condition to detect built-in ldap feature.
8686         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8687         (ldap-add): Added error handling.
8688         (ldap-modify): Ditto.
8689         (ldap-delete): Ditto.
8690
8691 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8692
8693         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8694         Initialize local variables with `let'.  Inline a temporary
8695         variable for the progress percentage.  Sort `setq' to reduce
8696         function call in the while-loop.
8697
8698         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8699         into the conditional branch.
8700
8701 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8702
8703         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8704         Move a conditional out of the while-loop.
8705
8706 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8707
8708         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8709         elmo-msgdb-overview-get-entity-by-number.
8710         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8711         throw.
8712
8713 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8714
8715         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8716         the local variable for a packed number self descriptively.
8717
8718 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8719
8720         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8721         * elmo-localdir.el (elmo-localdir-pack-number): Use
8722         `elmo-msgdb-overview-get-entity' instead of
8723         `elmo-msgdb-overview-get-entity-by-number'.
8724         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8725         (elmo-msgdb-search-overview-entity): Removed.
8726         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8727         by message-id or number.
8728         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8729         instead of `elmo-msgdb-overview-get-entity-by-number'.
8730
8731 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8732
8733         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8734         non-nil, use hash table for overview.
8735         (elmo-hash-maximum-size): New variable.
8736         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8737         (elmo-msgdb-make-overview-hashtb): New function.
8738         (elmo-msgdb-clear-overview-hashtb): New function.
8739         (elmo-clear-hash-val): New macro.
8740         All other related modules are changed.
8741
8742 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8743
8744         * elmo2.el (elmo-move-msgs): If there's other message with
8745         same message-id, don't use cache.
8746
8747 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8748
8749         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8750         number is already packed.
8751
8752 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8753
8754         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8755
8756 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8757
8758         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8759         All other related modules are changed.
8760
8761 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8762
8763         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8764         of refiling failure on Maildir.
8765
8766 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8767
8768         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8769         decoded mime-charset with cache.
8770         (elmo-msgdb-overview-entity-get-from): Ditto.
8771         (elmo-msgdb-overview-entity-get-subject): Ditto.
8772         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8773
8774 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8775
8776         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8777         (elmo-remove-passwd): Fill password with 0 before erase.
8778         * elmo-vars.el (elmo-passwd-life-time): New variable.
8779
8780 \f
8781 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8782
8783         * elmo-cache.el (elmo-buffer-cache-add):
8784         Set message cache buffer as unibyte.
8785
8786 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8787
8788         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8789         become nil.
8790
8791 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8792
8793         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8794         when display is finished.
8795         (elmo-nntp-msgdb-create): Ditto.
8796         (elmo-nntp-groups-read-response): Ditto.
8797         (elmo-nntp-retrieve-headers): Ditto.
8798         (elmo-nntp-msgdb-create-message): Ditto.
8799         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8800         (elmo-pop3-msgdb-create-message): Ditto.
8801
8802 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8803
8804         * elmo-maildir.el (elmo-maildir-msgdb-create):
8805         Use `elmo-msgdb-sort-by-date'.
8806
8807 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8808
8809         * elmo2.el (elmo-read-msg-no-cache):
8810         Eliminated arguments after `outbuf'.
8811         Don't use cache even if it exists.
8812         (elmo-read-msg): Don't pass arguments after `outbuf' to
8813         `elmo-read-msg-no-cache'.
8814
8815 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8816
8817         * elmo-archive.el (elmo-archive-list-folders):
8818         Use `file-name-directory' if base folder does not exist.
8819
8820 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8821
8822         * elmo-archive.el (elmo-archive-list-folders): Don't use
8823         `file-name-directory'.
8824
8825 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8826
8827         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8828         If `force' is non-nil, try flushing all operation queues.
8829
8830 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8831
8832         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8833         as-binary-process.
8834
8835 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8836
8837         * elmo-util.el (elmo-display-progress): Fixed.
8838
8839 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8840
8841         * elmo-util.el (elmo-display-progress): New function.
8842         All other related modules are changed.