* modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
4         field `real field' into each element of list.
5         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
6         (elmo-msgdb-message-entity-field): Ditto.
7         (modb-entity-ml-info-real-fields): New function.
8
9         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
10
11         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
12         `elmo-msgdb-extra-fields'.
13
14 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
15
16         * elmo-util.el (elmo-passwd-alist-load): Move point to min
17         position before read.
18
19 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
20
21         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
22         (elmo-global-flags-initialize): Ditto.
23
24 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
25
26         * elmo-archive.el (toplevel): Don't require emu, std11
27         and elmo-localdir.
28
29         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
30         definition.
31
32 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
33
34         * elmo.el (elmo-folder-confirm-appends): Display folder name.
35
36 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
37
38         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
39         literals.
40
41 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
42
43         * elmo-maildir.el (elmo-maildir-list-location): Reduce
44         `elmo-get-last-modification-time' call.
45
46 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
47
48         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
49         expression.
50         (elmo-maildir-set-mark): Ditto.
51         (elmo-maildir-delete-mark): Ditto.
52
53 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
54
55         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
56         optional argument `separators'.
57
58 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
59
60         * elmo.el (cache-changed): Abolish.
61         (status-changed): New signal.
62         (elmo-message-killed-p): New generic function and define for
63         elmo-folder.
64         (elmo-folder-recover-messages): Ditto.
65         (elmo-message-set-cached): Emit signal `status-changed' instead of
66         `cache-changed'.
67         (elmo-message-status): New macro.
68         (elmo-message-status-folder): Ditto.
69         (elmo-message-status-number): Ditto.
70         (elmo-message-status-set-flags): Ditto.
71         (elmo-message-status-set-killed): Ditto.
72         (elmo-message-status-flags): New function.
73         (elmo-message-status-cached-p): Ditto.
74         (elmo-message-status-killed-p): Ditto.
75
76         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
77         `status-changed' instead of `cache-changed'.
78         (elmo-folder-recover-messages): Define.
79         (elmo-message-killed-p): Ditto.
80
81         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
82         `status-changed' instead of `cache-changed'.
83
84         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
85         (elmo-message-killed-p): Define.
86         (elmo-folder-recover-messages): Ditto.
87
88         * elmo-version.el (elmo-version): Up to 2.15.3.
89
90 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
91
92         * elmo-signal.el (elmo-signal-bindings): Use cons to append
93         element into list.
94         (elmo-define-signal-handler): Add docstring.
95         (elmo-define-signal-filter): Ditto.
96
97         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
98
99 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
100
101         * elmo-util.el (elmo-flatten): Don't use recursive call.
102
103         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
104         assignment.
105         (elmo-folder-message-make-temp-files): Use `number-to-string'
106         instead of `int-to-string'.
107
108 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
109
110         * elmo-search.el (elmo-folder-delete-messages): Define.
111
112 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
113
114         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
115         customization type.
116         (elmo-mailing-list-count-spec-list): Ditto.
117
118         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
119         for `list-id'.
120
121 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
122
123         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
124         handling.
125
126 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
127
128         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
129         (elmo-mailing-list-count-spec-list): Ditto.
130
131         * elmo-util.el (elmo-map-until-success): New function.
132         (elmo-string-match-substring): Ditto.
133         (elmo-find-list-match-value): Ditto.
134
135         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
136         Removed.
137         (modb-entity-extract-ml-info-from-subject): Ditto.
138         (modb-entity-extract-ml-info-from-return-path): Ditto.
139         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
140         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
141         (modb-entity-extract-ml-info-from-mailman): Ditto.
142         (modb-entity-extract-mailing-list-info-functions): Ditto.
143         (modb-entity-extract-mailing-list-info): Rewrite with
144         `elmo-find-list-match-value'.
145
146 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
147
148         * elmo-net.el (elmo-network-session-retry-count): New user option.
149         (elmo-network-session-buffer-name): New internal function.
150         (elmo-network-session-buffer-create): Ditto.
151         (elmo-network-open-session): Retry open network session
152         `elmo-network-session-retry-count' times.
153
154 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
155
156         * elmo-util.el (elmo-list-filter): Rewritten.
157
158 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
159
160         * elmo-util.el (elmo-string-member): Allow symbol element in list.
161
162 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-search.el (elmo-make-search-engine): Use prefix
165         `elmo-search-' for require symbol instead of `else-'.
166         (elmo-search-engine-extprog): New class.
167         (elmo-search-engine-do-search): Remove nil from argument
168         list. Added argument pattern to evaluate element as function.
169         (elmo-search-engine-local-file): Derived from
170         `elmo-search-engine-extprog'.
171         (elmo-search-engine-create-message-entity): Check existance of file.
172         (elmo-search-engine-fetch-message): Ditto.
173         (elmo-search-namazu-index): Follow the API change.
174         (elmo-search-grep-target): Ditto.
175
176 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
177
178         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
179         characters of working buffer.
180
181         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
182         Does not bind `default-mime-charset'.
183         (elmo-msgdb-create-message-entity-from-buffer): Removed
184         unnecessary local bind.
185
186         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
187         function.
188         (modb-entity-extract-mailing-list-info-functions): Added it.
189
190 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
191
192         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
193         when number and message-id are non-nil.
194
195         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
196
197         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
198         conditional steatment.
199         (elmo-pop3-auth-apop): Likewise.
200         (elmo-network-authenticate-session): Likewise.
201
202 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
203
204         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
205         symbol `fill-column'.
206         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
207         decode field value.
208
209         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
210         (elmo-decoded-field-body): Ditto.
211
212 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
215         `tokens' to `params'.
216
217 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
218
219         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
220         working buffer.
221
222 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
223
224         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
225         decide index.
226
227 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
228
229         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
230         Set default value as nil.
231         (toplevel): Register search engines by
232         `elmo-search-register-engine' if there are not defined.
233
234         * elmo.el (autoload): Added autoload setting for
235         `elmo-search-register-engine'.
236
237 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
238
239         * elmo.el (toplevel): `[' is redefined as the prefix of the search
240         folder instead of nmz folder.
241         (elmo-nmz-default-index-path): Added obsolete variable setting.
242         (elmo-nmz-index-alias-alist): Ditto.
243         (elmo-nmz-use-drive-letter): Ditto.
244
245         * elmo-search.el (elmo-search-register-engine): New function.
246
247         * elmo-nmz.el: Removed.
248
249         * elmo-version.el (elmo-version): Up to 2.15.2.
250
251 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
252
253         * elmo-search.el: New file.
254
255 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
256
257         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
258         condition `larger' and `smaller'.
259
260 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
261
262         * elmo-util.el (elmo-safe-filename): Rewrite to replace
263         `"' (double quote) into "_Q_".
264
265 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
266
267         * elmo-net.el (elmo-net-quote-chars): Abolish.
268         (elmo-net-format-quoted): Ditto.
269
270 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
271
272         * elmo.el (elmo-get-folder-function): New variable.
273         (elmo-get-folder): New function.
274         (elmo-folder-rename): Call `elmo-make-folder' with specified
275         mime-charset.
276
277         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
278         `elmo-make-folder'.
279         (elmo-split-subr): Ditto.
280
281         * elmo-multi.el (elmo-folder-initialize): Ditto.
282
283         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
284
285         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
286         (elmo-flag-get-folder): Ditto.
287
288         * elmo-filter.el (elmo-folder-initialize): Ditto.
289
290         * elmo-access.el (elmo-folder-initialize): Ditto.
291         (elmo-access-folder-update-children): Ditto.
292
293         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
294         (elmo-dop-queue-flush): Ditto.
295         (elmo-folder-append-buffer-dop-delayed): Ditto.
296         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
297         mime-charset.
298
299         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
300         instead of `elmo-make-folder'.
301         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
302         destination folder instead of send `elmo-folder-rename-internal'.
303
304         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
305         slot of subfolder instead of create it.
306
307 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
308
309         * elmo-util.el (elmo-collect-separators): New function.
310         (elmo-collect-separators-internal): Ditto.
311         (elmo-collect-trail-separators): Ditto.
312         (elmo-parse-separated-tokens): Ditto.
313         (elmo-parse-separated-tokens-internal): Ditto.
314         (elmo-quote-syntactical-element): Ditto.
315
316         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
317         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
318
319         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
320         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
321         (elmo-nntp-folder-list-subfolders): Quote a user name.
322
323         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
324         (elmo-net-parse-network): Abolish.
325         (elmo-net-folder-set-parameters): New function.
326         (elmo-folder-initialize): Follow the above change.
327
328         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
329         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
330         (elmo-folder-list-subfolders): Use
331         `elmo-quote-syntactical-element' instead of
332         `elmo-net-format-quoted' to quote mailbox and user name.
333
334 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
335
336         * elmo-util.el (elmo-token-valid-p): New function.
337         (elmo-parse-token): Add optional argument `requirement'.
338         (elmo-parse-prefixed-element): Likewise.
339
340         * elmo-net.el (elmo-net-quote-chars): Renamed from
341         `elmo-net-quote-chars-regexp'.
342         (elmo-net-format-quoted): Add optional argument `extra-chars'.
343
344         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
345         by info document. Check token `uidl' is started an alphabet.
346
347         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
348         by info document. Check token `user' is started an alphabet.
349
350         * elmo-imap4.el (elmo-folder-initialize): Ditto.
351         (elmo-folder-list-subfolders): Quote user.
352
353 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
354
355         * elmo-util.el (elmo-quoted-specials-list): New constant.
356         (elmo-quoted-token): New function.
357
358         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
359         (elmo-net-format-quoted): New function.
360         (elmo-net-parse-network): Ditto.
361         (elmo-folder-initialize): Use it.
362
363         * elmo-nntp.el (elmo-folder-initialize): Use
364         `elmo-net-parse-network' to parse network specification instead of
365         `elmo-folder-initialize#elmo-net'.
366
367         * elmo-pop3.el (elmo-folder-initialize): Ditto.
368
369         * elmo-imap4.el (elmo-folder-initialize): Ditto.
370         (elmo-folder-list-subfolders): Quote folder name by
371         `elmo-net-format-quoted'.
372
373 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
374
375         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
376         (elmo-folder-search): Use it.
377
378 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
379
380         * modb-standard.el (modb-standard-loaded-message-id): Use
381         `elmo-msgdb-message-entity-field'.
382
383 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
384
385         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
386         without filename.
387
388 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
389
390         * elmo-util.el (elmo-set-auto-coding): New function.
391         (elmo-object-load): Use it.
392
393 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
394
395         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
396         (elmo-time<): Define as alias of `elmo-time-less-p'.
397         (elmo-time-to-datevec): New function.
398
399         * elmo-date.el (elmo-time-to-days): New function.
400
401 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
402
403         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
404         is not cons cell.
405
406 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
407
408         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
409         parenthesis.
410
411         * elmo-util.el (elmo-map-recursive): New function.
412
413         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
414         (modb-entity-encode-string-recursive): Ditto.
415
416 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
417
418         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
419         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
420         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
421         compare sequence number when last modified time is nil.
422
423 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
424
425         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
426
427         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
428
429 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
430
431         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
432         modification time of the file.
433
434 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
435
436         * elmo-util.el (elmo-condition-optimize): Discriminated against
437         preserved fields, extra fields and the other weight.
438
439 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
440
441         * modb-entity.el (initialize-instance): Define.
442         (modb-entity-handler-mime-charset): New internal function.
443         (modb-standard-entity-set-field): Use it.
444         (elmo-msgdb-message-entity-field): Ditto.
445         (elmo-msgdb-message-entity-field): Ditto.
446
447         * modb.el (elmo-msgdb-match-condition): Rewrite with
448         `elmo-condition-match'.
449         (elmo-msgdb-match-condition-primitive): New function.
450
451         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
452         arguments `flags' and `numbers'.
453         (elmo-msgdb-match-condition-primitive): Abolished (merged to
454         `elmo-msgdb-message-match-condition').
455         (modb-buffer-entity-handler): New class.
456
457         * elmo.el (elmo-folder-search): Optimize condition to use
458         `elmo-condition-optimize'.
459         (elmo-message-buffer-match-condition): New function.
460         (elmo-message-match-condition): Use
461         `elmo-message-buffer-match-condition' instead of
462         `elmo-buffer-field-condition-match'.
463
464         * elmo-util.el (elmo-condition-match): New function.
465         (elmo-condition-optimize): Ditto.
466         (elmo-buffer-field-primitive-condition-match): Abolish.
467         (elmo-buffer-field-condition-match): Ditto.
468
469         * elmo-archive.el (elmo-archive-field-condition-match): Use
470         `elmo-message-buffer-match-condition' instead of
471         `elmo-buffer-field-condition-match'.
472
473 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
474
475         * elmo-flag.el (elmo-global-flags-initialize): Check the
476         existence of the flag directory.
477
478 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-access.el (elmo-folder-initialize): Call
481         `elmo-multi-connect-signals'.
482
483         * elmo-pipe.el (elmo-folder-close): Define.
484
485         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
486         children folders.
487
488         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
489         with target folder.
490
491         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
492         `number'.
493
494         * elmo-multi.el (elmo-message-entity): Don't use return value of
495         `elmo-message-entity-set-number'.
496
497 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * modb.el (modb-generic): Added slot `mime-charset'.
500
501         * modb-standard.el (modb-standard): Added slot `overview-handler'.
502         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
503         and `modb-entity-handler-dump-parameters'.
504         (modb-standard-default-entity-handler): Abolish.
505         (elmo-msgdb-message-entity-handler): Save created handler by
506         instance slot.
507
508         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
509         (modb-entity-handler-list-parameters): New method.
510         (modb-entity-handler-equal-p): New function.
511         (modb-entity-handler-dump-parameters): Ditto.
512         (modb-entity-parse-address-string): Encode return value.
513         (modb-entity-make-address-string): Decode argument value.
514         (modb-entity-decode-string-recursive): New function.
515         (modb-entity-encode-string-recursive): Ditto.
516         (modb-standard-entity-normalizer): Set to encode field value.
517         (modb-standard-entity-specializer): Follow the above change.
518         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
519         mime-charset of handler.
520         (elmo-msgdb-message-entity-field): Ditto.
521         (elmo-msgdb-copy-message-entity): Fixed reference to internal
522         structure.
523         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
524
525         * elmo.el (elmo-folder): Added slot `mime-charset'.
526         (elmo-make-folder): Added argument `mime-charset'.
527         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
528         `mime-charest'.
529
530         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
531         (elmo-make-msgdb): Likewise.
532
533         * elmo-internal.el (elmo-internal-folder-initialize): Call
534         `luna-make-entity' with :mime-charset parameter.
535
536 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
537
538         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
539         encoded words in `from' and `subject' field.
540
541 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * modb.el (elmo-msgdb-message-field): Add argument `type'.
544         (elmo-msgdb-match-condition): Get handler from entity instead of
545         msgdb.
546
547         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
548         (modb-standard-load-entity): Treat new file format.
549         (modb-standard-save-entity-1): Save as new file format.
550         (modb-standard-save-entity): Split messages into section here.
551         (elmo-msgdb-message-field): Follow the API change.
552         (modb-standard-default-entity-handler): New internal variable.
553         (elmo-msgdb-message-entity-handler): Define.
554
555         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
556         to `elmo-vars.el'.
557         (modb-entity-field-extractor-alist): New user option.
558         (elmo-msgdb-message-entity-field): Removed argument `decode' and
559         added argument `type'.
560         (elmo-msgdb-copy-message-entity): Add optional argument
561         `make-handler'.
562         (modb-set-field-converter): New function.
563         (modb-convert-field-value): Ditto.
564         (modb-entity-string-decoder): Ditto.
565         (modb-entity-string-encoder): Ditto.
566         (modb-entity-parse-date-string): Ditto.
567         (modb-entity-make-date-string): Ditto.
568         (modb-entity-mime-decoder): Ditto.
569         (modb-entity-mime-encoder): Ditto.
570         (modb-entity-address-list-decoder): Ditto.
571         (modb-entity-address-list-encoder): Ditto.
572         (modb-entity-parse-address-string): Ditto.
573         (modb-entity-make-address-string): Ditto.
574         (modb-entity-create-field-indices): Ditto.
575         (modb-legacy-entity-field-slots): New constant.
576         (modb-legacy-entity-field-indices): Ditto.
577         (modb-legacy-entity-normalizer): New variable.
578         (modb-legacy-entity-specializer): Ditto.
579         (modb-legacy-entity-field-index): New macro.
580         (modb-legacy-entity-set-field): New function.
581         (modb-legacy-make-message-entity): Rewrite.
582         (elmo-msgdb-create-message-entity-from-buffer): Use
583         `elmo-msgdb-get-references-from-buffer'. Use
584         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
585         Use `modb-legacy-entity-set-field' instead of
586         `elmo-msgdb-message-entity-set-field'.
587         (elmo-msgdb-message-entity-field): Rewrite.
588         (elmo-msgdb-message-entity-set-field): Ditto.
589         (elmo-msgdb-copy-message-entity): Make new entity by
590         `make-handler' if it specified.
591         (elmo-msgdb-message-match-condition): Define a method of
592         `modb-entity-handler' and follow the API change.
593         (modb-standard-entity-handler): New class.
594         (modb-entity-extract-ml-info-from-x-sequence): New function.
595         (modb-entity-extract-ml-info-from-subject): Ditto.
596         (modb-entity-extract-ml-info-from-return-path): Ditto.
597         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
598         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
599         (modb-entity-extract-mailing-list-info): Ditto.
600         (modb-entity-extract-mailing-list-info-functions): New variable.
601
602         * elmo.el (elmo-message-field): Add optional argument `type'.
603
604         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
605         from `modb-entity.el'.
606
607         * elmo-util.el (elmo-object-load): Decode by coding-system from
608         `set-auto-coding-function'.
609         (elmo-object-save): Use `detect-mime-charset-region' and add
610         coding cookie if encode.
611         (elmo-msgdb-get-references-from-buffer): New function.
612         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
613
614         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
615
616         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
617         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
618         instead of `shimbun-make-header' and follow the API change.
619         (elmo-shimbun-update-overview): Follow the API change.
620         (elmo-map-folder-list-message-locations): Ditto.
621
622         * elmo-pipe.el (elmo-message-field): Ditto.
623
624         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
625         Ditto.
626
627         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
628
629         * elmo-multi.el (elmo-message-field): Ditto.
630
631         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
632         (elmo-msgdb-sort-by-date): Ditto.
633         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
634         `elmo-message-entity-field'.
635         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
636         change.
637         (elmo-msgdb-overview-entity-get-from): Ditto.
638         (elmo-msgdb-overview-entity-get-subject): Ditto.
639         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
640         (elmo-msgdb-overview-entity-get-date): Ditto.
641         (elmo-msgdb-overview-entity-get-to): Ditto.
642         (elmo-msgdb-overview-entity-get-cc): Ditto.
643
644         * elmo-mime.el (elmo-message-mime-entity): Ditto.
645         (elmo-mime-collect-message/partial-pieces): Ditto.
646
647         * elmo-filter.el (elmo-message-field): Ditto.
648
649         * elmo-date.el (elmo-datevec-to-time): New function.
650         (elmo-time-parse-date-string): Ditto.
651         (elmo-time-make-date-string): Ditto.
652         (elmo-time<): Ditto.
653
654         * elmo-version.el (elmo-version): Up to 2.15.1.
655
656 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
657
658         * elmo-flag.el (elmo-global-flags-initialize): Don't include
659         member of elmo-local-flags.
660
661 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
662
663         * elmo-version.el (elmo-version): Up to 2.15.0.
664
665 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
666
667         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
668         `ignore-msgdb' is non-nil.
669
670 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
671
672         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
673         (elmo-condition-in-msgdb-p): Ditto.
674         (elmo-file-field-primitive-condition-match): Ditto.
675         (elmo-file-field-condition-match): Ditto.
676
677         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
678
679 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
680
681         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
682         subdirectories here.
683         (elmo-global-flags-initialize): New function.
684
685         * elmo.el (toplevel): Added autoload setting for
686         `elmo-global-flags-initialize'.
687
688 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
689
690         * elmo.el (message-number-changed): Define new signal.
691         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
692         message-number-changed signal.
693         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
694         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
695         Respect `elmo-pack-number-check-strict'.
696
697 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
698
699         * elmo-signal.el (elmo-connect-signal): Document.
700         (elmo-emit-signal): Ditto.
701         (elmo-emit-signal): It should pass source argument to filter and
702         handler, not slot-source.
703
704 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * modb.el (elmo-msgdb-update-entity): New API and define generic
707         implement.
708
709         * modb-standard.el (elmo-msgdb-update-entity): Define.
710
711         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
712         API and define generic implement.
713
714         * elmo.el (update-overview): New singnal.
715
716         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
717         `elmo-msgdb-update-entity' and emit signal `update-overview'.
718         (elmo-message-entity-parent): Define.
719
720         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
721         `update-overview'.
722
723         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
724
725         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
726
727 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
728
729         * elmo.el (elmo-folder-synchronize): Sort the return value of
730         `elmo-list-diff'.
731
732         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
733         list.
734
735 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
736
737         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
738         `default-enable-multibyte-characters'.
739         (elmo-object-load): Use `with-temp-buffer' instead of
740         `elmo-set-work-buf'.
741         (elmo-object-save): Ditto.
742         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
743         `elmo-set-work-buf'.
744         (elmo-decoded-field-body): Ditto.
745
746         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
747
748         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
749         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
750
751         * elmo-version.el (elmo-version): Up to 2.13.3.
752
753 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
754
755         * elmo-util.el (elmo-list-diff): Fix the last change.
756         Reverse order of result lists.
757
758 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
759
760         * modb-standard.el (elmo-msgdb-set-flag): Use
761         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
762         (elmo-msgdb-unset-flag): Ditto.
763
764         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
765         `elmo-list-diff'.
766
767         * elmo-util.el (elmo-list-diff): Rewrite.
768         (elmo-list-diff-nonsortable): New function.
769
770 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
771
772         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
773         `elmo-multibypte-buffer-name'.  All referers are updated.
774
775 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
776
777         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
778         (elmo-mime-entity-fragment-p): New function.
779         (mime-elmo-buffer-entity): Added slot `reassembled'.
780         (elmo-message-mime-entity): Added 4th argument `reassemble'.
781         (elmo-message-mime-entity-internal): New function (renamed from
782         `elmo-message-mime-entity').
783         (elmo-mime-inherit-field-list-from-enclosed): New constant.
784         (elmo-mime-make-reassembled-mime-entity): New function.
785         (elmo-message-reassembled-mime-entity): Ditto.
786         (elmo-mime-collect-message/partial-pieces): Ditto.
787
788 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
789
790         * elmo.el (elmo-message-fetch-string): Disable multibyte.
791
792         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
793         (elmo-with-enable-multibyte): New macro.
794
795         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
796
797 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
798
799         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
800         argument `number'.
801         (elmo-filter-connect-signals): Follow the above change.
802
803 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
804
805         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
806
807         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
808         that only the first flag is used.
809
810 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
811
812         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
813         if available.
814
815 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
816
817         * elmo-signal.el: New file.
818
819         * elmo.el (toplevel): Require elmo-signal.
820         (flag-changing, flag-changed, cache-changed): New signal.
821         (elmo-folder): Remove slog `handlers'.
822         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
823         `elmo-folder-notify-event'.
824         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
825         (elmo-folder-unset-flag): Ditto.
826         (elmo-event-handler): Abolish.
827         (elmo-event-handler-flag-changed): Ditto.
828         (elmo-event-handler-cache-changed): Ditto.
829         (elmo-folder-add-handler): Ditto.
830         (elmo-folder-remove-handler): Ditto.
831         (elmo-folder-notify-event): Ditto.
832
833         * elmo-pipe.el (toplevel): Require elmo-signal.
834         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
835         (elmo-pipe-connect-signals): New function.
836         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
837         (elmo-folder-set-flag): Ditto.
838         (elmo-folder-unset-flag): Ditto.
839         (elmo-message-set-cached): Ditto.
840
841         * elmo-multi.el (toplevel): Require elmo-signal.
842         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
843         (elmo-multi-connect-signals): New function.
844         (elmo-multi-map-numbers): Ditto.
845         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
846         (elmo-message-fetch): Ditto.
847         (elmo-folder-set-flag): Ditto.
848         (elmo-folder-unset-flag): Ditto.
849
850         * elmo-filter.el (toplevel): Require elmo-signal.
851         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
852         (elmo-filter-connect-signals): New function.
853         (elmo-filter-add-flag-count): Ditto.
854         (elmo-message-fetch): Does not call
855         `elmo-filter-folder-countup-message-flags' and
856         `elmo-folder-notify-event'.
857         (elmo-message-set-cached): Ditto.
858         (elmo-folder-set-flag): Ditto.
859         (elmo-folder-unset-flag): Ditto.
860
861         * elmo-version.el (elmo-version): Up to 2.13.2.
862
863 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
864
865         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
866         `flags'.
867
868 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
869
870         * elmo-filter.el (elmo-message-set-cached): Call
871         `elmo-folder-notify-event' with event `cache-changed'.
872
873         * elmo-multi.el (elmo-message-set-cached): Ditto.
874
875         * elmo-pipe.el (elmo-message-set-cached): Ditto.
876
877 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
878
879         * elmo.el (elmo-folder-encache): Abolish.
880
881 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
882
883         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
884         (elmo-folder-next-message-number-dop): Return appropriate negative
885         integer.
886
887 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
888
889         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
890         clearing pending operations.
891         (elmo-folder-next-message-number-dop): Return appropriate negative
892         integer.
893
894 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
895
896         * elmo.el (toplevel): Added autoload setting for `md5'.
897         (elmo-msgdb-path-encode-threshold): New user option.
898         (elmo-folder-msgdb-path): Encode msgdb path if its length is
899         longer than `elmo-msgdb-path-encode-threshold'.
900
901         * elmo-flag.el (elmo-global-mark-migrate): Use
902         `elmo-folder-expand-msgdb-path' instead of
903         `elmo-folder-msgdb-path'.
904
905 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
906
907         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
908         element of the difference is nil.
909
910 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
911
912         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
913         to the check logic of file systems which are weak in colon character.
914
915 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
916
917         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
918
919 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
920
921         * elmo-maildir.el (elmo-maildir-move-file): New function.
922         (elmo-folder-append-buffer): Use it.
923         (elmo-folder-append-messages): Ditto.
924         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
925
926         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
927         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
928
929         * elmo-maildir.el (elmo-maildir-separator): New user option.
930         (elmo-maildir-adjust-separator): New macro.
931         (elmo-maildir-list-location): Use it.
932         (elmo-maildir-update-current): Ditto.
933         (elmo-maildir-set-mark): Ditto.
934         (elmo-maildir-delete-mark): Ditto.
935         (These changes are based on Hiroya Murata's patch [wl: 13437])
936
937 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
938
939         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
940
941 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
942
943         * elmo-flag.el (elmo-flag-valid-p): Simplify.
944         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
945         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
946
947 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
948
949         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
950         Use `with-temp-buffer'.
951
952 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
953
954         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
955
956         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
957         `wl-read-search-condition').
958         (elmo-read-search-condition-internal): Likewise.
959
960         * elmo-flag.el (elmo-flag-char-regexp): New constant.
961         (elmo-flag-valid-p): New function.
962         (elmo-folder-initialize): Check flag name is valid.
963
964 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
965
966         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
967         delimiter to obtain root mailbox itself.
968
969 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
970
971         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
972         type mismatch.
973
974 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
975
976         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
977         as t.
978
979 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
980
981         * elmo-shimbun.el (toplevel): Require cl at compile.
982
983         * elmo-nntp.el (toplevel): Ditto.
984
985         * elmo-nmz.el (toplevel): Ditto.
986
987         * elmo-multi.el (toplevel): Ditto.
988
989         * elmo-file.el (toplevel): Ditto.
990
991         * elmo-dop.el (toplevel): Ditto.
992
993         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
994
995 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
996
997         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
998         as nil.
999
1000         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1001         size of elmo-message-fetch-internal is 0 byte.
1002
1003 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1004
1005         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1006
1007 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1008
1009         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1010         always plugged.
1011
1012 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1013
1014         * elmo-maildir.el (elmo-map-message-fetch): Call
1015         `elmo-map-folder-set-flag'.
1016
1017         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1018         (elmo-message-fetch): Merge from
1019         `elmo-message-fetch-with-cache-process'.
1020
1021         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1022         (elmo-message-fetch): Define.
1023
1024         * elmo-nntp.el (elmo-message-fetch): Renamed from
1025         `elmo-message-fetch-with-cache-process'.
1026
1027         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1028         (elmo-message-fetch): Define.
1029
1030         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1031         search-key.
1032
1033         * elmo-shimbun.el (shimbun-mua-search-id): Use
1034         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1035         (elmo-shimbun-folder-shimbun-header): Ditto.
1036         (elmo-shimbun-get-headers): Ditto.
1037         (elmo-shimbun-update-overview): Ditto.
1038
1039         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1040
1041         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1042         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1043
1044 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1045
1046         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1047         message is cached.
1048         (elmo-message-fetch-string): Fixed argument.
1049
1050 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1051
1052         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1053         exchange order of arguments `section' and `unread'.
1054         (elmo-message-encache): Follow the API change.
1055         (elmo-message-match-condition): Ditto.
1056         (elmo-generic-folder-append-messages): Ditto.
1057         (elmo-message-fetch-string): New function.
1058
1059         * elmo-split.el (elmo-split-subr): Ditto.
1060
1061         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1062
1063         * elmo-pipe.el (elmo-message-fetch): Ditto.
1064
1065         * elmo-multi.el (elmo-message-fetch): Ditto.
1066
1067         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1068
1069         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1070
1071         * elmo-filter.el (elmo-message-fetch): Ditto.
1072
1073         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1074
1075         * elmo-imap4.el (mime-imap-location-section-body): Use
1076         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1077         follow the API change.
1078
1079 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1080
1081         * elmo-access.el: New file.
1082
1083         * elmo-null.el: Ditto.
1084
1085         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1086
1087 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1088
1089         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1090         (elmo-network-session): New attribute `last-accessed'.
1091         (elmo-network-get-session): Discard network cache if elapsed time
1092         since last-accessed is larger than elmo-network-session-idle-timeout.
1093
1094 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1095
1096         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1097         and added `number', `require-entireness'.
1098         (elmo-find-fetch-strategy): Rewrite.
1099         (elmo-message-fetch): Unset `unread' flag when argument unread is
1100         non-nil.
1101
1102         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1103
1104         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1105         (elmo-message-fetch): Notify event `flag-changed'.
1106
1107         * elmo-pipe.el: Likewise.
1108
1109         * elmo-mime.el (elmo-mime-entity): New class.
1110         (elmo-mime-entity-display-p): New generic function.
1111         (elmo-mime-entity-display): Ditto.
1112         (elmo-mime-entity-display-as-is): Ditto.
1113         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1114         elmo-mime-entity.
1115         (elmo-make-mime-message-location): Removed.
1116         (elmo-mime-message-display): Ditto.
1117         (elmo-mime-display-as-is): Ditto.
1118         (elmo-message-mime-entity): New function.
1119
1120         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1121
1122         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1123         change.
1124         (elmo-message-fetch): Re-count flagged message number and notify
1125         event `flag-changed'.
1126
1127         * elmo-version.el (elmo-version): Up to 2.13.1.
1128
1129 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1130
1131         * elmo-filter.el (elmo-message-field): Define.
1132         (elmo-message-set-field): Ditto.
1133
1134 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1135
1136         * elmo.el (elmo-message-set-cached): Call
1137         `elmo-folder-notify-event' with cache-changed.
1138         (elmo-event-handler-cache-changed): New generic function.
1139
1140 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1141
1142         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1143         instead of elmo-add-name-to-file.
1144         (elmo-folder-append-messages): Ditto.
1145
1146 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1147
1148         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1149
1150 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1151
1152         * elmo-version.el (elmo-version): Up to 2.13.0.
1153
1154         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1155         `auto'.
1156
1157         * modb-standard.el (modb-standard-economize-entity-size): Changed
1158         default value to `t'.
1159
1160         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1161         `standard'.
1162
1163         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1164         after parsing greeting string.
1165
1166 2004-11-23  Daishi Kato <daishi@axlight.com>
1167
1168         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1169         New user option.
1170         (elmo-spam-spamoracle-call): Use it.
1171
1172 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1173
1174         * elmo.el (elmo-message-accessible-p): Message in dop spool
1175         is accessible.
1176
1177 2004-11-23  Daishi Kato <daishi@axlight.com>
1178
1179         * elsp-spamoracle.el: New file.
1180
1181 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1182
1183         * elmo.el (elmo-message-flags-for-append): New function.
1184         (elmo-generic-folder-append-messages): Use it.
1185
1186         * elmo-split.el (elmo-split-subr): Ditto.
1187
1188         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1189         `flags' and use elmo-folder-append-buffer instead of
1190         write-region-as-binary.
1191         (elmo-dop-filter-pending-messages): New function.
1192         (elmo-folder-append-buffer-dop): Call
1193         elmo-dop-spool-folder-append-buffer with `flag'.
1194         (elmo-folder-set-flag-dop): Filter messages by
1195         elmo-dop-filter-pending-messages.
1196         (elmo-folder-unset-flag-dop): Ditto.
1197         (elmo-folder-append-buffer-dop-delayed): Use
1198         elmo-message-flags-for-append to get flags of the message and
1199         simplify.
1200
1201 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1202
1203         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1204
1205 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1206
1207         * elmo.el (elmo-folder): Added handlers slot.
1208         (elmo-event-handler): New class.
1209         (elmo-event-handler-flag-changed): New API.
1210         (elmo-folder-add-handler): New function.
1211         (elmo-folder-remove-handler): Ditto.
1212         (elmo-folder-notify-event): Ditto.
1213         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1214         `flag-changed'.
1215         (elmo-folder-unset-flag): Ditto.
1216
1217         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1218         (elmo-folder-unset-flag): Ditto.
1219
1220         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1221         (elmo-folder-unset-flag): Ditto.
1222
1223         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1224         (elmo-folder-unset-flag): Ditto.
1225
1226         * elmo-version.el (elmo-version): Up to 2.11.33.
1227
1228 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1229
1230         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1231
1232 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1233
1234         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1235
1236         * elmo-flag.el (elmo-folder-unset-flag): Define.
1237         (elmo-global-flag-detach): Do process when the flag is not target
1238         flag.
1239
1240 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1241
1242         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1243         variable.
1244         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1245
1246 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1247
1248         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1249         function.
1250         (elmo-folder-delete-messages): Detach messages before delete
1251         messages from target folder.
1252         (elmo-folder-detach-messages): Set updated number-list to slot.
1253
1254 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1257
1258 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1259
1260         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1261
1262 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1263
1264         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1265         internal use only).
1266         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1267         not modified.
1268         (elmo-folder-delete-messages): Define.
1269         (elmo-folder-move-messages): Don't call
1270         `elmo-folder-detach-messages'.
1271         (elmo-folder-synchronize): Rewrite.
1272         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1273
1274         * elmo-util.el (elmo-last): New function.
1275         (elmo-set-list): Ditto.
1276         (elmo-number-set-delete-list): Ditto.
1277         (elmo-number-set-delete): Ditto.
1278
1279         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1280
1281         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1282         `elmo-folder-delete-messages' and don't delete location map.
1283         (elmo-folder-detach-messages): Define.
1284
1285         * elmo-imap4.el (elmo-folder-delete): Use
1286         `elmo-folder-delete-messages-internal' instead of
1287         `elmo-folder-delete-messages'.
1288
1289         * elmo-filter.el (elmo-folder-delete-messages): Call
1290         `elmo-folder-detach-messages'.
1291         (elmo-folder-detach-messages): Don't call
1292         `elmo-folder-detach-messages' for target folder.
1293
1294         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1295         message deletion is succeeded.
1296
1297         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1298
1299         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1300         from `elmo-folder-delete-messages'.
1301
1302         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1303
1304         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1305
1306         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1307
1308         * elmo-version.el (elmo-version): Up to 2.11.32.
1309
1310 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1311
1312         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1313         (elmo-global-flag-list): Added obsolete variable setting.
1314
1315         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1316
1317         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1318         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1319         `elmo-mime-display-header-analysis' is nil.
1320
1321         * elmo-flag.el (elmo-global-flags): Renamed from
1322         `elmo-global-flag-list' (All other related portions are changed).
1323         (elmo-local-flags): New variable.
1324         (elmo-local-flag-p): New function.
1325         (elmo-global-flag-set-internal): Cause an error when flag is not
1326         global.
1327
1328 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1329
1330         * elmo-util.el (elmo-concat-path): Treat empty path.
1331
1332 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1333
1334         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1335         field-or-fields).
1336         (elmo-split-address-match): Ditto.
1337         (elmo-split-equal): Ditto.
1338         (elmo-split-match): Ditto.
1339
1340 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1341
1342         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1343         (elmo-generic-folder-append-messages): If src message exists but
1344         has no flag, pass (read) for the FLAG argument of
1345         `elmo-folder-append-buffer'. Otherwise, pass nil.
1346
1347         * elmo-split.el (elmo-split-subr): Likewise.
1348
1349         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1350
1351         * elmo-multi.el (elmo-message-flags): Ditto.
1352
1353         * elmo-filter.el (elmo-message-flags): Ditto.
1354
1355         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1356         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1357         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1358         
1359 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1360
1361         * elmo-split.el (elmo-split-rule): Update comment.
1362         (elmo-split-address-equal): Allow 2nd argument to be a list.
1363         (elmo-split-address-match): Ditto.
1364         (elmo-split-equal): Ditto.
1365         (elmo-split-match): Ditto.
1366
1367 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1368
1369         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1370         (elmo-folder-append-msgdb): Don't treat `read'.
1371         (elmo-message-flags): Don't return `read'.
1372
1373         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1374         (elmo-folder-unset-read-delayed): Ditto.
1375
1376         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1377
1378 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1379
1380         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1381         deletion.
1382
1383 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1386         header.
1387
1388 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1389
1390         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1391         here.
1392         (elmo-msgdb-save): Bind inhibit-quit.
1393         (modb-standard-message-entity): Ditto.
1394
1395 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1396
1397         * elmo-database.el: No need to require elmo-msgdb.
1398
1399 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1400
1401         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1402         instead of `elmo-list-subdirectories'.
1403
1404 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1405
1406         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1407         group entry.
1408         (elmo-folder-exists-p): "[" is empty.
1409         (elmo-folder-list-subfolders): Define.
1410         (elmo-folder-have-subfolder-p): Ditto.
1411
1412 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1413
1414         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1415
1416 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1417
1418         * elmo-filter.el (elmo-folder-local-p): Define.
1419
1420 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1421
1422         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1423         when entity is garbaged.
1424         (modb-standard-save-entity-1): Don't modify the original entity.
1425
1426 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1427
1428         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1429
1430 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1431
1432         * elmo.el (elmo-strict-folder-diff): Use
1433         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1434
1435 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1436
1437         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1438         (elmo-msgdb-message-number): Ditto.
1439         (elmo-msgdb-message-field): Ditto.
1440
1441         * modb-standard.el (modb-standard-economize-entity-size): New user
1442         option.
1443         (modb-standard-loaded-message-id): New inline function.
1444         (modb-standard-load-entity): Use it.
1445         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1446         throw message-id string away.
1447         (elmo-msgdb-flag-available-p): Define.
1448         (elmo-msgdb-message-number): Ditto.
1449         (elmo-msgdb-message-field): Ditto.
1450
1451         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1452         (suppoted -> supported).
1453         (modb-legacy-supported-flag-p): Ditto.
1454         (elmo-msgdb-set-flag): Ditto.
1455         (elmo-msgdb-unset-flag): Ditto.
1456         (elmo-msgdb-flag-available-p): Define.
1457
1458         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1459         is `t', treat it as legacy entity.
1460         
1461         * elmo.el (elmo-message-flag-available-p): New generic function.
1462         (elmo-message-number): Ditto.
1463         (elmo-message-field): Use `elmo-msgdb-message-field'.
1464
1465         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1466
1467         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1468         (elmo-message-number): Ditto.
1469
1470         * elmo-multi.el (elmo-message-number): Define.
1471         (elmo-message-flag-available-p): Ditto.
1472
1473         * elmo-filter.el (elmo-message-flag-available-p): Define.
1474         (elmo-message-number): Ditto.
1475
1476         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1477         (elmo-folder-initialize): Load `max-number'.
1478         (elmo-folder-commit): Save it.
1479         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1480         (elmo-global-flag-set-internal): Set up max-number slot.
1481
1482 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1483
1484         * elmo-version.el (elmo-version): Up to 2.11.31.
1485
1486 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1487
1488         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1489         unibyte string of the current buffer for the argument of `md5'
1490         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1491
1492 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1493
1494         * modb-legacy.el (modb-legacy-flag-list): New constant.
1495         (modb-legacy-suppoted-flag-p): New internal function.
1496         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1497         (elmo-msgdb-unset-flag): Ditto.
1498
1499 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1500
1501         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1502
1503         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1504         from msgdb.
1505
1506 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1507
1508         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1509         (follow the API change).
1510
1511         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1512
1513 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1514
1515         * modb-standard.el (modb-standard-digest-flags): Abolish.
1516         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1517
1518         * elmo-vars.el (elmo-digest-flags): New variable.
1519         (elmo-preserved-flags): Moved from elmo-flag.el.
1520
1521         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1522         (elmo-imap4-flag-to-imap-criteria): Ditto.
1523         (elmo-imap4-folder-list-flagged): Use it.
1524
1525         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1526
1527         * elmo.el (elmo-folder-count-flags): Changed return value.
1528
1529         * elmo-flag.el (elmo-preserved-flags): New variable.
1530         (elmo-get-global-flags): Use it.
1531
1532         * modb-standard.el (modb-standard-digest-flags): New variable.
1533         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1534         Changed behavior of `any'.
1535
1536         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1537         which are defined the Internet draft
1538         (draft-melnikov-imap-keywords-03.txt).
1539         (elmo-imap4-flags-to-imap): New function.
1540         (elmo-folder-append-buffer): Use it.
1541
1542         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1543         in the docstring.
1544
1545         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1546         avoid the bug of Emacs 21.3.
1547
1548 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1549
1550         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1551         function find-coding-system does not exist.
1552
1553 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1554
1555         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1556         parsing.
1557
1558 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1559
1560         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1561         response codes.
1562
1563 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1564
1565         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1566         (elmo-network-close-session): Follow the changes in
1567         `elmo-pop3-read-response'.
1568         (elmo-pop3-auth-user): Ditto.
1569         (elmo-pop3-auth-apop): Ditto.
1570         (elmo-network-initialize-session): Ditto.
1571         (elmo-network-authenticate-session): Ditto.
1572         (elmo-network-setup-session): Ditto.
1573         (elmo-folder-status): Ditto.
1574         (elmo-message-fetch-plugged): Ditto.
1575         (elmo-pop3-delete-msg): Ditto.
1576
1577 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1578
1579         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1580         on failure.
1581
1582 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1583
1584         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1585         style.
1586         (elmo-bind-directory): Ditto.
1587
1588 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1589
1590         * elmo.el (elmo-folder-append-messages): Note on return value.
1591         * elmo-archive.el (elmo-folder-append-messages): Don't return
1592         message numbers which could not be appended.
1593
1594 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1595
1596         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1597
1598 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1599
1600         * elmo-version.el (elmo-version): Up to 2.11.30.
1601
1602 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1603
1604         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1605         `mask'.
1606
1607         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1608
1609         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1610         (elmo-multi-split-numbers): Add elmo-folder object into each
1611         element of return value at first.
1612         (elmo-folder-delete-messages): Follow the above change.
1613         (elmo-folder-detach-messages): Ditto.
1614
1615         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1616         number which is synchronized in target folder.
1617
1618 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1619
1620         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1621         Change default value to symbol `all'.
1622         (elmo-map-message-fetch): Change condition to update overview
1623         follow the above.
1624
1625 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1626
1627         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1628         behavior to update overview.
1629         (elmo-shimbun-update-overview-folder-list): Note it.
1630
1631 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1632
1633         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1634         recursive call.
1635
1636 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1637
1638         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1639         buffer-disable-undo, it is unnecessary.
1640         (elmo-spam-register-good-messages): Ditto.
1641
1642         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1643         Ditto.
1644
1645         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1646
1647 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1648
1649         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1650         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1651         elmo-set-buffer-multibyte.
1652         (elmo-object-load): Ditto.
1653         (elmo-save-buffer): Ditto.
1654         (elmo-delete-char): Ditto.
1655         (elmo-file-field-primitive-condition-match): Ditto.
1656         (elmo-mime-string): Ditto.
1657
1658         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1659         (elmo-archive-field-condition-match): Ditto.
1660
1661         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1662
1663         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1664
1665         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1666         (elmo-nntp-msgdb-create-message): Ditto.
1667
1668         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1669
1670         * elmo.el (elmo-message-match-condition): Ditto.
1671         (elmo-message-match-condition): Ditto.
1672
1673         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1674         Ditto.
1675
1676         * elmo-version.el (elmo-version): Up to 2.11.29.
1677
1678         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1679         (elsp-header): New backend.
1680
1681         * elmo-util.el (elmo-decoded-field-body): New function.
1682
1683 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1684
1685         * elmo-version.el (elmo-version): Up to 2.11.28.
1686
1687 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1688
1689         * elmo-filter.el: Rewrite.
1690
1691         * elmo-version.el (elmo-version): Up to 2.11.27.
1692
1693 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1694
1695         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1696         msgdb path for the localdir folder with absolute path.
1697
1698         * utf7.el: Synch up with latest gnus/utf7.el;
1699         Modified for latest Emacs.
1700
1701 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1704         shimbun backend couldn't open.
1705
1706 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1707
1708         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1709         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1710         when a destination folder is a filter folder.
1711
1712 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1713
1714         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1715         (elmo-generic-folder-append-messages): Call elmo-message-flags
1716         with argument `msgid'.
1717
1718         * elmo-split.el (elmo-split-subr): Ditto.
1719
1720         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1721
1722         * elmo-multi.el (elmo-message-flags): Ditto.
1723
1724 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1725
1726         * elmo.el (elmo-folder): Add new slot `flag-table'.
1727         (elmo-folder-flag-table): New API.
1728         (elmo-folder-close-flag-table): Ditto.
1729         (elmo-folder-preserve-flags): New function.
1730         (elmo-generic-folder-append-messages): Use
1731         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1732         Flag of a non-registered message, it sets to nil.
1733         Does not set flag to flag-table.
1734
1735         * elmo-maildir.el (elmo-folder-append-buffer): Use
1736         `elmo-folder-preserve-flags'.
1737         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1738         `elmo-folder-close-flag-table'.
1739
1740         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1741         (elmo-archive-folder-append-buffer): Use
1742         `elmo-folder-preserve-flags'.
1743
1744         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1745
1746         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1747
1748         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1749         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1750         `elmo-folder-close-flag-table'.
1751
1752         * elmo-version.el (elmo-version): Up to 2.11.26.
1753
1754 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1755
1756         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1757
1758         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1759         md5's 4th and 5th argument (non-existent in flim one).
1760
1761 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1762
1763         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1764         message, It sets to nil.
1765
1766 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1767
1768         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1769         list is non-nil.
1770
1771 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1772
1773         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1774
1775         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1776
1777         * elmo-util.el (elmo-uniq-sorted-list): New function.
1778         (elmo-make-number-list): Ditto.
1779         (elmo-number-set-to-number-list): Use elmo-make-number-list
1780         and don't use nreverse.
1781
1782 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1783
1784         * elmo-version.el (elmo-version): Up to 2.11.25.
1785
1786 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1787
1788         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1789         field not exists in message, Use md5 message digest of header.
1790
1791 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1792
1793         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1794         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1795         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1796         * elmo-split.el (elmo-split-subr): Check return value of
1797         elmo-folder-append-buffer.
1798
1799         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1800         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1801
1802         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1803         message-id.
1804
1805 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1806
1807         * elmo-split.el (elmo-split-subr): Append message with flag.
1808
1809         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1810         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1811         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1812
1813 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1814
1815         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1816         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1817         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1818
1819 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1820
1821         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1822         with a function call of `process-buffer'.  All callers are updated.
1823         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1824         Remove redundant `set-buffer' in a while loop.
1825
1826 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1827
1828         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1829         calls.
1830
1831 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1834         elsp-spamfilter-register-buffer-internal with current buffer.
1835         (elmo-spam-register-spam-buffer): Ditto.
1836         (elmo-spam-register-good-buffer): Ditto.
1837
1838 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1839
1840         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1841         if it is not contained in the response(A workaround for courier-imap).
1842
1843 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1844
1845         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1846         parenthesis.
1847
1848 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1849
1850         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1851         range.
1852
1853 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1854
1855         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1856         of nconc.
1857
1858         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1859         argument handler.
1860         (elmo-msgdb-message-match-condition): Follow the change above.
1861
1862 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1863
1864         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1865         folder name.
1866
1867 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1868
1869         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1870
1871 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1872
1873         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1874
1875 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1878         not found.
1879
1880 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1881
1882         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1883         value.
1884         (elmo-file-command-argument): Undo last change for cygwin.
1885         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1886         Don't return nil.
1887         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1888
1889 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1890
1891         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1892         value returned from elmo-file-find is nil.
1893
1894 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1895
1896         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1897         to elmo-vars.el.
1898
1899         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1900         instead of insert-file-contents-as-binary.
1901         (elmo-message-set-field): New generic function.
1902
1903         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1904         behavior change on `split-string'.
1905
1906         * elmo-file.el (elmo-file-find): New function.
1907         (elmo-file-command): New user option.
1908         (elmo-file-command-argument): Ditto.
1909         (elmo-file-fetch-max-size): Ditto.
1910         (elmo-file-detect-format): New function.
1911         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1912         Use elmo-file-detect-format.
1913         (elmo-map-folder-list-message-locations): Don't treat directories.
1914
1915 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1916
1917         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1918         (elmo-passwd-alist-clear): Shred password before clear.
1919         (elmo-remove-passwd): Remove all mached pair.
1920
1921 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1922
1923         * elmo.el (elmo-folder-synchronize): Fix description of the return
1924         value.
1925
1926 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1927
1928         * elmo.el (elmo-message-fetch-bodystructure): New method.
1929         (elmo-message-fetch-bodystructure): Define default.
1930
1931         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1932         elmo-message-fetch-bodystructure.
1933         (elmo-message-fetch-bodystructure): Define.
1934
1935         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1936
1937 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1938
1939         * elmo-filter.el (elmo-message-folder): Define.
1940
1941 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1942
1943         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1944         elmo-delete-cr-buffer.
1945
1946         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1947
1948         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1949
1950         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1951
1952         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1953         type seems to be a text.
1954
1955 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1956
1957         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1958         (elmo-spam-register-good-buffer): Ditto.
1959         (elmo-spam-spamassassin-register-messages): Ditto.
1960
1961         * elmo-util.el (elmo-string-member-ignore-case): Define with
1962         static-cond.
1963
1964 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1965
1966         * elmo.el (elmo-folder-type): Undo last change.
1967
1968         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1969
1970         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1971         warnings.
1972
1973         * elmo-file.el: New file.
1974         
1975         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1976
1977         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1978         variable.
1979         (elmo-spam-spamassassin-register-messages): New inline function.
1980         (elmo-spam-register-spam-messages): Define.
1981         (elmo-spam-register-good-messages): Ditto.
1982
1983         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1984         Fixed typo.
1985
1986         * elmo.el (toplevel): Added autoload setting for
1987         `elmo-get-global-flags'.
1988         (elmo-message-has-global-flag-p): New function.
1989         (elmo-message-set-global-flags): Ditto.
1990         (elmo-folder-type): Improvement for name: format.
1991
1992         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1993         availability of keyword flags.
1994         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1995         (elmo-folder-list-flagged-plugged): Renamed from
1996         elmo-folder-list-flagged-unplugged.
1997         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1998         accept any flag as keyword flag.
1999         (elmo-folder-set-flag-plugged): Accept keyword flags.
2000         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2001
2002         * elmo-flag.el (elmo-get-global-flags): New function.
2003
2004         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2005         folders.
2006
2007         * elmo-version.el (elmo-version): Up to 2.11.24.
2008
2009 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2010
2011         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2012         elmo-multiple-field-body instead of std11-field-body to check all
2013         headers.
2014
2015 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2016
2017         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2018         or "size".
2019
2020 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2021
2022         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2023         unintern is unbound.
2024
2025 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2026
2027         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2028         Protect from infinite loop.
2029
2030 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2031
2032         * elsp-bogofilter.el
2033         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2034         (elmo-spam-bogofilter-register-messages): New internal function.
2035         (elmo-spam-register-spam-messages): Define.
2036         (elmo-spam-register-good-messages): Ditto.
2037
2038 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2039
2040         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2041         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2042         (elmo-spam-bogofilter-call): Fixed the last change.
2043         (elmo-spam-bogofilter-arguments): Ditto.
2044
2045         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2046         Follow the options change of latest bogofilter.
2047
2048         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2049         (elmo-spam-bogofilter-good-switch): Ditto.
2050         (elmo-spam-bogofilter-arguments-alist): New user option.
2051         (elmo-spam-bogofilter-debug): Ditto.
2052         (elmo-spam-bogofilter-call): Renamed from
2053         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2054         is non-nil, insert output in buffer for debug.
2055         (elmo-spam-bogofilter-arguments): New macro.
2056         (elmo-spam-buffer-spam-p): Use it.
2057         (elsp-bogofilter-register-buffer): Ditto.
2058
2059 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2060
2061         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2062         regexp.
2063
2064 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2065
2066         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2067         value as "ruby".
2068         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2069         (elmo-spam-bsfilter-program): Set default value as full path for
2070         `bsfilter'.
2071         (elmo-spam-bsfilter-debug): New user option.
2072         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2073         non-nil, insert output in buffer for debug. Fix treating of
2074         argument.
2075
2076 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2077
2078         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2079         `elmo-maildir-flag-specs' element instead of one.
2080         (elmo-map-folder-unset-flag): Ditto.
2081         (Reported by Ken Makimura <macky@astem.or.jp>)
2082
2083         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2084         (elmo-folder-unset-flag-plugged): Ditto.
2085
2086 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2087
2088         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2089         to `reads' slot only if `in-msgdb' is nil.
2090
2091 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2092
2093         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2094         and complement argument list.
2095
2096 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2097
2098         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2099         instead of elmo-folder-list-flagged.
2100
2101 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2102
2103         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2104
2105         * elsp-bsfilter.el: New file.
2106
2107         * elmo-pipe.el (elmo-folder-list-unreads,
2108         elmo-folder-list-answereds,
2109         elmo-folder-list-importants,
2110         elmo-folder-flag-as-important,
2111         elmo-folder-unflag-important,
2112         elmo-folder-flag-as-read,
2113         elmo-folder-unflag-read,
2114         elmo-folder-flag-as-answered,
2115         elmo-folder-unflag-answered): Remove.
2116         (elmo-folder-set-flag): Define.
2117         (elmo-folder-unset-flag): Ditto.
2118
2119         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2120         (elmo-folder-set-flag): Define.
2121         (elmo-folder-unset-flag): Ditto.
2122         (elmo-folder-list-unreads): Remove.
2123         (elmo-folder-list-flagged): Define.
2124
2125         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2126         (elmo-folder-list-unreads,
2127         elmo-folder-list-importants,
2128         elmo-folder-list-answereds,
2129         elmo-folder-list-unreads-plugged,
2130         elmo-folder-list-importants-plugged,
2131         elmo-folder-list-answereds-plugged): Remove.
2132         (elmo-folder-list-flagged-plugged): New method.
2133         (elmo-folder-unflag-important,
2134         elmo-folder-flag-as-important,
2135         elmo-folder-unflag-read,
2136         elmo-folder-flag-as-read,
2137         elmo-folder-unflag-answered,
2138         elmo-folder-flag-as-answered,
2139         elmo-folder-flag-as-read-unplugged,
2140         elmo-folder-unflag-read-unplugged,
2141         elmo-folder-flag-as-important-unplugged,
2142         elmo-folder-unflag-important-unplugged,
2143         elmo-folder-flag-as-answered-unplugged,
2144         elmo-folder-unflag-answered-unplugged): Remove.
2145         (elmo-folder-set-flag): Define.
2146         (elmo-folder-unset-flag): Ditto.
2147         (elmo-folder-set-flag-unplugged): Ditto.
2148         (elmo-folder-unset-flag-unplugged): Ditto.
2149
2150         * elmo-multi.el (elmo-folder-list-unreads,
2151         elmo-folder-list-answereds,
2152         elmo-folder-list-importants,
2153         elmo-folder-flag-as-important,
2154         elmo-folder-unflag-important,
2155         elmo-folder-flag-as-read,
2156         elmo-folder-unflag-read,
2157         elmo-folder-flag-as-answered,
2158         elmo-folder-unflag-answered): Remove.
2159         (elmo-folder-set-flag): Define.
2160         (elmo-folder-unset-flag): Ditto.
2161
2162         * elmo-map.el (elmo-map-folder-unflag-important,
2163         elmo-map-folder-flag-as-important,
2164         elmo-map-folder-unflag-read,
2165         elmo-map-folder-flag-as-read,
2166         elmo-map-folder-unflag-answered,
2167         elmo-map-folder-flag-as-answered): Remove.
2168         (elmo-map-folder-set-flag): New method.
2169         (elmo-map-folder-unset-flag): Ditto.
2170         (elmo-map-folder-list-unreads,
2171         elmo-map-folder-list-importants,
2172         elmo-map-folder-list-answereds): Remove.
2173         (elmo-folder-list-flagged-internal): Define.
2174         (elmo-map-folder-list-flagged): New method.
2175
2176         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2177         (elmo-map-folder-list-unreads,
2178         elmo-map-folder-list-importants,
2179         elmo-map-folder-list-flagged): Remove.
2180         (elmo-map-folder-list-flagged): Define.
2181         (elmo-map-folder-flag-as-important,
2182         elmo-map-folder-unflag-important,
2183         elmo-map-folder-flag-as-read,
2184         elmo-map-folder-unflag-read,
2185         elmo-map-folder-flag-as-answered,
2186         elmo-map-folder-unflag-answered): Remove.
2187         (elmo-maildir-set-mark-messages): New internal function.
2188         (elmo-map-folder-set-flag): Define.
2189         (elmo-map-folder-unset-flag): Ditto.
2190
2191         * elmo.el (toplevel): Added autoload setting for
2192         `elmo-folder-list-global-flag-messages'.
2193         (elmo-folder-list-unreads,
2194         elmo-folder-list-importants,
2195         elmo-folder-list-answereds): Remove.
2196         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2197         Return a list whitch merged with messages have global flag.
2198         (elmo-folder-list-flagged-internal): New method.
2199         (elmo-folder-unflag-important,
2200         elmo-folder-flag-as-important,
2201         elmo-folder-unflag-read,
2202         elmo-folder-flag-as-read,
2203         elmo-folder-unflag-answered,
2204         elmo-folder-flag-as-answered): Remove.
2205         (elmo-folder-set-flag): New method.
2206         (elmo-folder-unset-flag): Ditto.
2207         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2208         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2209
2210         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2211         (elmo-folder-list-unreads-plugged,
2212         elmo-folder-list-importants-plugged,
2213         elmo-folder-list-answereds-plugged,
2214         elmo-folder-list-flagged-unplugged,
2215         elmo-folder-unflag-important-plugged,
2216         elmo-folder-flag-as-important-plugged,
2217         elmo-folder-unflag-read-plugged,
2218         elmo-folder-flag-as-read-plugged,
2219         elmo-folder-unflag-answered-plugged,
2220         elmo-folder-flag-as-answered-plugged): Remove.
2221         (elmo-folder-set-flag-plugged,
2222         elmo-folder-unset-flag-plugged): Define.
2223
2224         * elmo-flag.el (elmo-folder-initialize): Register to
2225         `elmo-global-flag-list' if flag is not global.
2226         (elmo-folder-append-messages): Set flag to source messages.
2227
2228         * elmo-filter.el (elmo-filter-folder-list-unreads,
2229         elmo-folder-list-unreads,
2230         elmo-filter-folder-list-importants,
2231         elmo-folder-list-importants,
2232         elmo-folder-flag-as-read,
2233         elmo-folder-unflag-read,
2234         elmo-folder-flag-as-important,
2235         elmo-folder-unflag-important,
2236         elmo-folder-flag-as-answered,
2237         elmo-folder-unflag-answered): Remove.
2238         (elmo-folder-set-flag): Define.
2239         (elmo-folder-unset-flag): Ditto.
2240
2241         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2242         elmo-folder-unflag-read-dop,
2243         elmo-folder-flag-as-important-dop,
2244         elmo-folder-unflag-important-dop,
2245         elmo-folder-flag-as-answered-dop,
2246         elmo-folder-unflag-answered-dop): Remove.
2247         (elmo-folder-set-flag-dop,
2248         elmo-folder-unset-flag-dop,
2249         elmo-folder-set-important-delayed,
2250         elmo-folder-unset-important-delayed,
2251         elmo-folder-set-read-delayed,
2252         elmo-folder-unset-read-delayed,
2253         elmo-folder-set-answered-delayed,
2254         elmo-folder-unset-answered-delayed): New function.
2255         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2256         (elmo-dop-queue-method-name-alist): Ditto.
2257
2258         * elmo-version.el (elmo-version): Up to 2.11.23.
2259
2260 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2261
2262         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2263
2264         * elsp-sa.el: New file.
2265
2266 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2267
2268         * modb-standard.el (modb-standard-message-entity): New function.
2269         (elmo-msgdb-message-entity): Use it.
2270
2271 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2272
2273         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2274         behavior when one-level is nil.
2275
2276         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2277
2278         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2279
2280 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2281
2282         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2283         get max number.
2284         (elmo-generic-folder-diff): Ditto.
2285
2286         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2287         (elmo-folder-update-number): Ditto.
2288
2289         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2290         (elmo-folder-next-message-number-dop): Ditto.
2291
2292 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2293
2294         * elmo-filter.el (elmo-folder-msgdb-create): Use
2295         `elmo-message-entity' and `elmo-message-flags' instead of
2296         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2297
2298 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2299
2300         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2301         `if-exists'.
2302
2303 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2304
2305         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2306
2307         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2308
2309         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2310
2311 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2312
2313         * elmo-version.el (elmo-version): Up to 2.11.22.
2314
2315 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2318
2319 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2320
2321         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2322         if the message dose not exist.
2323
2324 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2325
2326         * elmo-version.el (elmo-version): Up to 2.11.21.
2327
2328 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2329
2330         * modb-standard.el (toplevel): Don't require mime.
2331
2332 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2333
2334         * elsp-bogofilter.el (toplevel): Don't require path-util.
2335         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2336         (elmo-spam-bogofilter-header): Abolish.
2337         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2338         (elmo-spam-bogofilter-args): New user option.
2339         (elsp-bogofilter-call-bogofilter): New internal function.
2340         (elmo-spam-buffer-spam-p): Use it.
2341         (elsp-bogofilter-register-buffer): Renamed from
2342         `elmo-spam-bogofilter-register-buffer';
2343         Use `elsp-bogofilter-call-bogofilter'.
2344         (elmo-spam-register-spam-buffer): Follow the change above.
2345         (elmo-spam-register-good-buffer): Ditto.
2346
2347 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2348
2349         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2350         message-id is nil do nothing.
2351
2352 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2353
2354         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2355         Revival.
2356         (elmo-imap4-session): Removed use-flag slot.
2357         (elmo-imap4-session-select-mailbox): Undo last change.
2358         (elmo-folder-use-flag-p): Use
2359         elmo-imap4-disuse-server-flag-mailbox-regexp.
2360
2361 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2362
2363         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2364         (elmo-imap4-session-select-mailbox): Set it up.
2365         (elmo-folder-use-flag-p): Return value of use-flag slot.
2366
2367 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2370         message-id is nil.
2371         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2372
2373         * modb-entity.el (elmo-message-entity-handler): Likewise.
2374
2375 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2376
2377         * elmo.el (toplevel): Remove setting of autoloding for
2378         elmo-global-flag-initialize.
2379         (elmo-init): Don't call elmo-global-flag-initialize.
2380         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2381
2382         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2383         (elmo-global-mark-migrate): Don't call it.
2384         (elmo-global-mark-upgrade): Ditto.
2385
2386 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2387
2388         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2389         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2390
2391         * elmo-vars.el (elmo-init-hook): New user option.
2392
2393         * elmo.el (elmo-init): Run the elmo-init-hook.
2394
2395         * elmo-flag.el (elmo-global-mark-migrate): New function.
2396
2397 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2398
2399         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2400         Undo last change (move to elmo-msgdb-unset-flag).
2401         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2402         flag is unset.
2403
2404 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2405
2406         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2407         read flag is set.
2408         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2409         (elmo-msgdb-unset-flag): Ditto.
2410
2411 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2412
2413         * elmo-split.el (elmo-split): Return split message count.
2414
2415 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2416
2417         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2418         is nil.
2419
2420 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2421
2422         * elmo.el (elmo-folder-unflag-important): Call
2423         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2424         a symbol `always'.
2425
2426         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2427         before unset flag.
2428         (elmo-global-flag-detach): Delete the message from flag folder, if
2429         `delete-if-none' is a symbol `always'.
2430
2431 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2432
2433         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2434         `elmo-spam-spamfilter-decode-buffer'.
2435         (elsp-spamfilter-register-buffer-internal): New internal function.
2436         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2437         (elmo-spam-register-spam-buffer): Ditto.
2438         (elmo-spam-register-good-buffer): Ditto.
2439
2440         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2441         change.
2442         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2443         (elmo-spam-register-spam-buffer): Follow the API change.
2444         (elmo-spam-register-good-buffer): Ditto.
2445
2446         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2447         (elmo-split-spam-p): Added argument plist; Call
2448         `elmo-spam-buffer-spam-p' with new argument register.
2449
2450         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2451         `register'.
2452         (elmo-spam-message-spam-p): Ditto.
2453         (elmo-spam-register-spam-buffer): Added optional argument
2454         `restore'.
2455         (elmo-spam-register-good-buffer): Ditto.
2456         (elmo-spam-register-spam-messages): Ditto.
2457         (elmo-spam-register-good-messages): Ditto.
2458
2459 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2460
2461         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2462         register into good corpus.
2463         (elmo-spam-register-good-buffer): Fixed to register into bad
2464         corpus.
2465
2466 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2467
2468         * elmo-version.el (elmo-version): Up to 2.11.20.
2469
2470         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2471         change.
2472
2473         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2474         flag without depending on \Recent flag.
2475
2476 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2477
2478         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2479         (elmo-spam-modified-p): Defined.
2480         (elmo-spam-save-status): Set `modified' slot to nil.
2481         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2482         (elmo-spam-register-good-buffer): Ditto.
2483
2484         * elmo-spam.el (elmo-spam-modified-p): New API.
2485
2486 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2487
2488         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2489         duplicate definition.
2490
2491         * elmo-util.el (elmo-unfold-field-body): New function.
2492         (elmo-msgdb-get-message-id-from-buffer): Use it.
2493
2494         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2495         Fixed the last change; Use elmo-unfold-field-body.
2496
2497 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2498
2499         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2500         Unfold date value.
2501
2502 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2503
2504         * elmo-spam.el (elmo-spam-save-status): New API.
2505
2506         * elsp-spamfilter.el: New file.
2507
2508 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2509
2510         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2511
2512 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2513
2514         * elmo-split.el (elmo-split-spam-p): New function.
2515
2516         * elmo-spam.el: New file.
2517
2518         * elsp-bogofilter.el: Ditto.
2519
2520 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2521
2522         * elmo.el (elmo-folder-next-message-number): New API.
2523         (elmo-folder-next-message-number): Define.
2524         (elmo-message-field): Don't check folder length.
2525
2526         * elmo-net.el (elmo-folder-next-message-number): Define.
2527         (elmo-folder-next-message-number-unplugged): Define.
2528
2529         * elmo-map.el (elmo-folder-next-message-number): Define.
2530         (elmo-folder-delete-messages): Clear hash value.
2531
2532         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2533
2534         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2535         (elmo-folder-delete-messages-dop-delayed): Always return t.
2536
2537         * elmo-version.el (elmo-version): Up to 2.11.19.
2538
2539 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2540
2541         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2542         change.
2543
2544         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2545         identical cons cell into the mark-alist and the hash table.
2546
2547 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2548
2549         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2550         elmo-folder-list-messages with argument `visible-only' as t.
2551
2552         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2553         (elmo-folder-msgdb-create): Check the target folder.
2554
2555 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2556
2557         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2558         `permanentflag' instead of `flags'.
2559         (elmo-folder-open): Ditto.
2560         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2561         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2562         (elmo-folder-use-flag-p): Always return t.
2563         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2564         `permanentflags' does not exist.
2565         (elmo-folder-open): Ditto.
2566
2567 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2568
2569         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2570         is nil.
2571         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2572
2573         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2574         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2575         response.
2576         (elmo-folder-open): Ditto.
2577         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2578         slot of the session includes the flag.
2579         (elmo-imap4-session-flag-available-p): New function.
2580         (elmo-imap4-folder-list-flagged): Ditto.
2581         (elmo-folder-list-unreads-plugged): Use it.
2582         (elmo-folder-list-importants-plugged): Ditto.
2583         (elmo-folder-list-answereds-plugged): Ditto.
2584         (elmo-imap4-search-internal-primitive): Ditto.
2585         (elmo-imap4-folder-list-any-plugged,
2586         elmo-imap4-folder-list-digest-plugged): Abolish.
2587
2588         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2589         if numbers is nil.
2590
2591 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2592
2593         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2594
2595 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2596
2597         * elmo-util.el (elmo-get-hash-val): Simplify.
2598         (elmo-set-hash-val): Rewrite.
2599
2600 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2601
2602         * elmo.el (elmo-folder-list-messages): Append killed messages into
2603         result if `visible-only' is nil and `in-msgdb' is non-nil.
2604
2605         * elmo-util.el (elmo-uniq-list): Added optional argument
2606         `delete-function'.
2607
2608         * modb.el (elmo-msgdb-flag-count): New API.
2609
2610         * modb-standard.el (modb-standard): Added slot flag-count.
2611         (modb-standard-countup-flags): New function.
2612         (modb-standard-load-flag): Call it.
2613         (elmo-msgdb-append): Ditto.
2614         (elmo-msgdb-clear): Clear slot flag-count.
2615         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2616         (elmo-msgdb-unset-flag): Treat `all' flag and call
2617         modb-standard-countup-flags.
2618         (elmo-msgdb-flag-count): Define.
2619         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2620         (elmo-msgdb-delete-messages): Ditto.
2621
2622         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2623         (elmo-msgdb-flag-count): Define.
2624
2625         * elmo.el (elmo-folder-list-messages): Undo last change.
2626         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2627         (elmo-folder-kill-messages): Unset all flags to numbers.
2628
2629         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2630         elmo-folder-kill-messages.
2631
2632         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2633         (elmo-nntp-folder-delete-messages): Abolish.
2634
2635         * elmo-version.el (elmo-version): Up to 2.11.18.
2636
2637 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2638
2639         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2640         (elmo-folder-kill-messages-range): New function.
2641         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2642         instead of elmo-folder-kill-messages-before.
2643
2644 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2645
2646         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2647         elmo-imap4-current-msgdb to decide entity handler.
2648
2649 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2650
2651         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2652
2653         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2654         inline function.
2655         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2656         (elmo-msgdb-overview-entity-set-number,
2657         elmo-msgdb-overview-entity-get-references,
2658         elmo-msgdb-overview-entity-set-references,
2659         elmo-msgdb-overview-entity-get-from-no-decode,
2660         elmo-msgdb-overview-entity-get-from,
2661         elmo-msgdb-overview-entity-set-from,
2662         elmo-msgdb-overview-entity-get-subject,
2663         elmo-msgdb-overview-entity-get-subject-no-decode,
2664         elmo-msgdb-overview-entity-set-subject,
2665         elmo-msgdb-overview-entity-get-date,
2666         elmo-msgdb-overview-entity-set-date,
2667         elmo-msgdb-overview-entity-get-to,
2668         elmo-msgdb-overview-entity-get-cc,
2669         elmo-msgdb-overview-entity-get-size,
2670         elmo-msgdb-overview-entity-set-size,
2671         elmo-msgdb-overview-entity-get-extra,
2672         elmo-msgdb-overview-entity-set-extra,
2673         elmo-msgdb-overview-entity-get-extra-field,
2674         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2675         (elmo-msgdb-make-index): Use
2676         `elmo-msgdb-overview-entity-get-number-internal'.
2677         (elmo-msgdb-clear-index): Ditto.
2678         (elmo-msgdb-append-entity): Ditto;
2679         Use `elmo-msgdb-overview-entity-get-id-internal'.
2680
2681         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2682         elmo-msgdb-overview-entity-set-number,
2683         elmo-msgdb-overview-entity-get-references,
2684         elmo-msgdb-overview-entity-set-references,
2685         elmo-msgdb-overview-entity-get-from-no-decode,
2686         elmo-msgdb-overview-entity-get-from,
2687         elmo-msgdb-overview-entity-set-from,
2688         elmo-msgdb-overview-entity-get-subject,
2689         elmo-msgdb-overview-entity-get-subject-no-decode,
2690         elmo-msgdb-overview-entity-set-subject,
2691         elmo-msgdb-overview-entity-get-date,
2692         elmo-msgdb-overview-entity-set-date,
2693         elmo-msgdb-overview-entity-get-to,
2694         elmo-msgdb-overview-entity-get-cc,
2695         elmo-msgdb-overview-entity-get-size,
2696         elmo-msgdb-overview-entity-set-size,
2697         elmo-msgdb-overview-entity-get-extra,
2698         elmo-msgdb-overview-entity-set-extra,
2699         elmo-msgdb-overview-entity-get-extra-field,
2700         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2701         and rewrote for backward compatibility.
2702
2703 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2704
2705         * elmo.el (elmo-message-entity-number,
2706         elmo-message-entity-set-number,
2707         elmo-message-entity-field,
2708         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2709
2710         * elmo-msgdb.el (elmo-message-entity-number,
2711         elmo-message-entity-set-number,
2712         elmo-message-entity-field,
2713         elmo-message-entity-set-field): Moved from elmo.el.
2714
2715 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2716
2717         * elmo.el (toplevel): Changed definition orders.
2718
2719 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2720
2721         * modb.el (elmo-msgdb-search): New API .
2722         (elmo-msgdb-match-condition): Ditto.
2723
2724         * modb-standard.el (elmo-msgdb-search): Define.
2725
2726         * modb-legacy.el (elmo-msgdb-search): Ditto.
2727
2728         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2729         from elmo-msgdb-match-condition-internal.
2730
2731         * elmo.el (elmo-folder-search-fast): Abolish.
2732         (elmo-folder-search): Use elmo-msgdb-search and
2733         elmo-with-progress-display.
2734
2735         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2736         as msgdb API.
2737
2738         * elmo.el (elmo-folder): Remove slot message-modified and
2739         flag-modified.
2740         (elmo-folder-set-message-modified): Abolish.
2741         (elmo-generic-folder-commit): Follow the change above.
2742         (elmo-folder-synchronize): Ditto.
2743
2744         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2745
2746         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2747
2748         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2749
2750 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2751
2752         * modb-standard.el (modb-standard-make-message-entity,
2753         elmo-msgdb-make-message-entity,
2754         elmo-msgdb-create-message-entity-from-buffer,
2755         elmo-msgdb-message-entity-number,
2756         elmo-msgdb-message-entity-set-number,
2757         elmo-msgdb-message-entity-field,
2758         elmo-msgdb-message-entity-set-field,
2759         elmo-msgdb-copy-message-entity,
2760         elmo-msgdb-match-condition-internal): Remove.
2761
2762         * modb-entity.el: New file (again).
2763
2764         * modb.el (toplevel): Require modb-entity.
2765         (elmo-msgdb-message-entity-handler): New method.
2766
2767         * modb-standard.el (modb-standard-entity-id): Use
2768         elmo-message-entity-handler.
2769         (modb-standard-load-entity): Ditto.
2770         (elmo-msgdb-append-entity): Ditto.
2771         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2772
2773         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2774         elmo-msgdb-decoded-cache-hashtb,
2775         (modb-legacy-make-message-entity,
2776         elmo-msgdb-make-message-entity,
2777         elmo-msgdb-create-message-entity-from-buffer,
2778         elmo-msgdb-message-entity-number,
2779         elmo-msgdb-message-entity-set-number,
2780         elmo-msgdb-message-entity-field,
2781         elmo-msgdb-message-entity-set-field,
2782         elmo-msgdb-copy-message-entity,
2783         elmo-msgdb-match-condition-internal,
2784         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2785
2786         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2787         (elmo-message-entity-set-number): Ditto.
2788         (elmo-message-entity-field): Ditto.
2789         (elmo-message-entity-set-field): Ditto.
2790
2791         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2792
2793         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2794
2795         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2796
2797         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2798         (elmo-nntp-msgdb-create-message): Ditto.
2799
2800         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2801         (elmo-folder-msgdb-create): Add unread flag.
2802
2803         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2804
2805         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2806
2807         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2808
2809         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2810
2811         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2812         elmo-msgdb-messge-entity-handler.
2813         * elmo-version.el (elmo-version): Up to 2.11.17.
2814
2815 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2816
2817         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2818         change.
2819
2820 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2821
2822         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2823
2824         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2825         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2826         (elmo-msgdb-flag-table): Ditto.
2827         (elmo-msgdb-sort-by-date): Ditto.
2828
2829         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2830
2831         * modb-standard.el (toplevel): Require mime.
2832         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2833         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2834         elmo-msgdb-message-entity-number.
2835         (elmo-msgdb-append-entity): Ditto.
2836         (elmo-msgdb-create-message-entity-from-file): Remove.
2837         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2838         corresponds to the entity.
2839         (elmo-msgdb-message-entity-number): Do nothing currently.
2840         (elmo-msgdb-message-entity-field): Ditto.
2841         (elmo-msgdb-message-entity-set-field): Ditto.
2842         (elmo-msgdb-copy-message-entity): Ditto.
2843         (elmo-msgdb-match-condition-internal): Ditto.
2844
2845         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2846         elmo-util.el.
2847         (elmo-msgdb-create-message-entity-from-file): Remove.
2848
2849         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2850         modb-legacy.el.
2851         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2852
2853         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2854
2855 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2856
2857         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2858         (elmo-msgdb-message-entity-field): Ditto.
2859         (elmo-msgdb-message-entity-number): Ditto.
2860
2861 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2862
2863         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2864         Fixed how to set extra field into entity.
2865         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2866         symbol.
2867
2868         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2869         Fixed how to set extra field into entity.
2870         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2871         symbol.
2872
2873 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2874
2875         * modb.el (elmo-message-entity-db): New function.
2876         (elmo-msgdb-make-message-entity): New API.
2877         (elmo-msgdb-message-entity-number): Ditto.
2878         (elmo-msgdb-message-entity-set-number): Ditto.
2879         (elmo-msgdb-message-entity-field): Ditto.
2880         (elmo-msgdb-message-entity-set-field): Ditto.
2881         (elmo-msgdb-copy-message-entity): Ditto.
2882         (elmo-msgdb-create-message-entity-from-file): Ditto.
2883         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2884         (elmo-msgdb-match-condition-internal): Ditto.
2885
2886         * modb-standard.el (modb-legacy): Require modb-legacy.
2887         (modb-standard-make-message-entity): New inline function.
2888         (elmo-msgdb-make-message-entity): Define.
2889         (elmo-msgdb-create-message-entity-from-file): Ditto.
2890         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2891         (elmo-msgdb-message-entity-field): Ditto.
2892         (elmo-msgdb-message-entity-set-field): Ditto.
2893         (elmo-msgdb-copy-message-entity): Ditto.
2894         (elmo-msgdb-match-condition-internal): Ditto.
2895
2896         * modb-legacy.el: Don't require modb-entity.
2897         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2898         (elmo-msgdb-match-condition-primitive): Ditto.
2899         (elmo-msgdb-get-decoded-cache): Ditto.
2900         (elmo-msgdb-overview-entity-get-id): Ditto.
2901         (elmo-msgdb-overview-entity-get-number): Ditto.
2902         (elmo-msgdb-overview-entity-set-number): Ditto.
2903         (elmo-msgdb-overview-entity-get-references): Ditto.
2904         (elmo-msgdb-overview-entity-set-references): Ditto.
2905         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2906         (elmo-msgdb-overview-entity-get-from): Ditto.
2907         (elmo-msgdb-overview-entity-set-from): Ditto.
2908         (elmo-msgdb-overview-entity-get-subject): Ditto.
2909         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2910         (elmo-msgdb-overview-entity-set-subject): Ditto.
2911         (elmo-msgdb-overview-entity-get-date): Ditto.
2912         (elmo-msgdb-overview-entity-set-date): Ditto.
2913         (elmo-msgdb-overview-entity-get-to): Ditto.
2914         (elmo-msgdb-overview-entity-get-cc): Ditto.
2915         (elmo-msgdb-overview-entity-get-size): Ditto.
2916         (elmo-msgdb-overview-entity-set-size): Ditto.
2917         (elmo-msgdb-overview-entity-get-extra): Ditto.
2918         (elmo-msgdb-overview-entity-set-extra): Ditto.
2919         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2920         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2921         (elmo-msgdb-number-load): Ditto.
2922         (elmo-msgdb-overview-load): Ditto.
2923         (elmo-msgdb-mark-load): Ditto.
2924         (elmo-msgdb-number-save): Ditto.
2925         (elmo-msgdb-mark-save): Ditto.
2926         (elmo-msgdb-overview-save): Ditto.
2927         (modb-legacy-make-message-entity): New inline function.
2928         (elmo-msgdb-insert-file-header): Ditto.
2929         (elmo-msgdb-make-message-entity): Define.
2930         (elmo-msgdb-create-message-entity-from-file): Ditto.
2931         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2932         (elmo-msgdb-message-entity-number): Ditto.
2933         (elmo-msgdb-message-entity-set-number): Ditto.
2934         (elmo-msgdb-message-entity-field): Ditto.
2935         (elmo-msgdb-message-entity-set-field): Ditto.
2936         (elmo-msgdb-copy-message-entity): Ditto.
2937         (elmo-msgdb-match-condition-internal): Ditto.
2938
2939         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2940         (elmo-message-copy-entity): Rewrite.
2941         (elmo-message-entity-number): Ditto.
2942         (elmo-message-entity-set-number): Ditto.
2943         (elmo-message-entity-field): Use elmo-message-entity-db.
2944         (elmo-message-entity-set-field): Ditto.
2945         (elmo-message-field): Rewrite.
2946
2947         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2948         elmo-msgdb.el
2949         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2950
2951         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2952         elmo-message-entity-field.
2953         (elmo-shimbun-folder-shimbun-header): Ditto.
2954         (elmo-shimbun-entity-to-header): Ditto.
2955         (elmo-folder-msgdb-create): Ditto.
2956         (elmo-shimbun-msgdb-create-entity): Ditto;
2957         Use elmo-msgdb-create-message-entity-from-buffer.
2958         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2959         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2960
2961         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2962         elmo-msgdb-create-message-entity-from-file and 
2963         elmo-message-entity-field.
2964
2965         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2966         elmo-message-entity-number.
2967         (elmo-pop3-msgdb-create-message): Use
2968         elmo-msgdb-create-message-entity-from-buffer,
2969         elmo-message-entity-set-field, elmo-message-entity-number and
2970         elmo-message-entity-set-number.
2971
2972         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2973         the API change in elmo-msgdb-make-message-entity.
2974         (elmo-nntp-msgdb-create-message): Use
2975         elmo-msgdb-create-message-entity-from-buffer.
2976
2977         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2978         elmo-message-entity-field and
2979         elmo-msgdb-create-message-entity-from-file.
2980
2981         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2982         (elmo-msgdb-get-field): Abolish.
2983         (elmo-msgdb-get-number): Rewrite.
2984         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2985         (elmo-msgdb-flag-table): Ditto.
2986         (elmo-msgdb-get-last-message-id,
2987         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2988         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2989         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2990         (elmo-msgdb-create-overview-from-buffer,
2991         elmo-msgdb-overview-get-parent-entity): Abolish.
2992
2993         * elmo-mime.el (elmo-mime-display-as-is): Use
2994         elmo-message-entity-field.
2995
2996         * elmo-map.el (elmo-folder-pack-numbers): Use
2997         elmo-message-entity-set-number.
2998
2999         * elmo-maildir.el (elmo-folder-msgdb-create): 
3000         elmo-msgdb-create-message-entity-from-file instead of
3001         elmo-msgdb-create-overview-entity-from-file.
3002
3003         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3004         msgdb.
3005         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3006         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3007
3008         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3009         elmo-messge-entity-field and elmo-message-entity-number.
3010         (elmo-imap4-fetch-callback-1): Call
3011         elmo-msgdb-create-message-entity-from-buffer instead of
3012         elmo-msgdb-create-overview-from-buffer. 
3013         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3014         (elmo-find-fetch-strategy): Likewise.
3015
3016         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3017         elmo-localdir-msgdb-create-entity with argument msgdb.
3018
3019         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3020         and elmo-message-entity-set-number.
3021
3022         * elmo-cache.el (elmo-folder-msgdb-create): Use
3023         elmo-message-entity-field.
3024         (elmo-folder-msgdb-create): Call
3025         elmo-msgdb-create-message-entity-from-file instead of
3026         elmo-msgdb-create-overview-entity-from-file.
3027
3028         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3029         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3030         instead of elmo-msgdb-create-overview-from-buffer.
3031         (elmo-archive-msgdb-create-entity): Ditto.
3032         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3033         elmo-message-entity-field.
3034         (elmo-archive-parse-mmdf): Ditto.
3035
3036         * modb-entity.el: Removed.
3037
3038         * elmo-version.el (elmo-version): Up to 2.11.16.
3039
3040 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3041
3042         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3043         `is-local'.
3044         (elmo-folder-flag-as-answered): Ditto.
3045
3046 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3047
3048         * modb-standard.el: New file.
3049
3050         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3051         elmo-msgdb-convert-type is `sync'.
3052
3053         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3054         (elmo-msgdb-convert-type): New user option.
3055
3056         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3057         (elmo-load-msgdb): Auto detect saved type.
3058
3059         * elmo-version.el (elmo-version): Up to 2.11.15.
3060
3061 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3062
3063         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3064
3065         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3066         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3067         with argument `delete-if-none' when dst-folder is 'null.
3068
3069         * elmo-flag.el (elmo-folder-append-messages): Defined.
3070         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3071
3072 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3073
3074         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3075
3076 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3077
3078         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3079         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3080         (elmo-folder-commit): Ditto.
3081
3082 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3083
3084         * elmo-flag.el: New file.
3085
3086         * elmo-mark.el: Removed.
3087
3088         * modb-legacy.el (modb-legacy-new-mark,
3089         modb-legacy-unread-uncached-mark,
3090         modb-legacy-unread-cached-mark,
3091         modb-legacy-read-uncached-mark,
3092         modb-legacy-answered-cached-mark,
3093         modb-legacy-answered-uncached-mark,
3094         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3095         All other related portions are changed.
3096
3097         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3098         (elmo-folder-list-messages-with-global-mark): Abolish.
3099         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3100         (elmo-folder-flag-as-important): Ditto.
3101         (elmo-folder-unflag-read): Ditto.
3102         (elmo-folder-flag-as-read): Ditto.
3103         (elmo-folder-unflag-answered): Ditto.
3104         (elmo-folder-flag-as-answered): Ditto.
3105         (elmo-message-encache): Return the cache path.
3106         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3107         (elmo-message-set-flag): Transitional implementation.
3108         (elmo-message-unset-flag): Ditto.
3109         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3110         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3111         (elmo-init): Call elmo-global-flag-initialize.
3112         (toplevel): Added autoload settings for elmo-flag.
3113
3114         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3115
3116         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3117         (elmo-file-cache-delete): Don't treat global-mark.
3118
3119         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3120
3121         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3122
3123         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3124         `elmo-global-flags-set'.
3125
3126         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3127         `flag'.
3128         (elmo-folder-unflag-read): Ditto.
3129         (elmo-folder-unflag-important): Ditto.
3130         (elmo-folder-flag-as-important): Ditto.
3131         (elmo-folder-unflag-answered): Ditto.
3132         (elmo-folder-flag-as-answered): Ditto.
3133
3134         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3135         `elmo-global-flags-set'.
3136         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3137
3138         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3139
3140         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3141         `flag'.
3142         (elmo-folder-flag-as-important): Ditto.
3143         (elmo-folder-unflag-important): Ditto.
3144         (elmo-folder-flag-as-important): Ditto.
3145         (elmo-folder-unflag-read): Ditto.
3146         (elmo-folder-flag-as-read): Ditto.
3147         (elmo-folder-unflag-answered): Ditto.
3148         (elmo-folder-flag-as-answered): Ditto.
3149
3150         * elmo-multi.el (elmo-folder-list-importants): Don't call
3151         elmo-folder-list-messages-with-global-mark.
3152         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3153         (elmo-folder-unflag-important): Ditto.
3154         (elmo-folder-flag-as-read): Ditto.
3155         (elmo-folder-unflag-read): Ditto.
3156         (elmo-folder-flag-as-answered): Ditto.
3157         (elmo-folder-unflag-answered): Ditto.
3158
3159         * elmo-msgdb.el (elmo-msgdb-new-mark,
3160         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3161         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3162         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3163         (Moved to modb-legacy.el).
3164         (elmo-flag-table-get): Treat important flag too.
3165
3166         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3167         `mark' to `flag'.
3168         (elmo-map-folder-flag-as-important): Ditto.
3169         (elmo-map-folder-unflag-read): Ditto.
3170         (elmo-map-folder-flag-as-read): Ditto.
3171         (elmo-map-folder-unflag-answered): Ditto.
3172         (elmo-map-folder-flag-as-answered): Ditto.
3173         (elmo-folder-unflag-important): Ditto.
3174         (elmo-folder-flag-as-important): Ditto.
3175         (elmo-folder-unflag-read): Ditto.
3176         (elmo-folder-flag-as-read): Ditto.
3177         (elmo-folder-unflag-answered): Ditto.
3178         (elmo-folder-flag-as-answered): Ditto.
3179
3180         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3181         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3182         `flag'.
3183         (elmo-map-folder-unflag-important): Ditto.
3184         (elmo-map-folder-flag-as-read): Ditto.
3185         (elmo-map-folder-unflag-read): Ditto.
3186         (elmo-map-folder-flag-as-answered): Ditto.
3187         (elmo-map-folder-unflag-answered): Ditto.
3188
3189         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3190         `elmo-global-flags-set'.
3191         (elmo-global-flags-set): Added autoload setting.
3192
3193         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3194         `flag'.
3195
3196         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3197         `elmo-msgdb-global-mark-set'.
3198         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3199         Call `elmo-global-flags-set'.
3200         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3201         `flag'.
3202         (elmo-folder-flag-as-important-plugged): Ditto.
3203         (elmo-folder-unflag-read-plugged): Ditto.
3204         (elmo-folder-flag-as-read-plugged): Ditto.
3205         (elmo-folder-unflag-answered-plugged): Ditto.
3206         (elmo-folder-flag-as-answered-plugged): Ditto.
3207         (elmo-global-flags-set): Added autoload setting.
3208
3209         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3210         `flag'.
3211         (elmo-folder-unflag-read): Ditto.
3212         (elmo-folder-flag-as-important): Ditto.
3213         (elmo-folder-unflag-important): Ditto.
3214         (elmo-folder-flag-as-answered): Ditto.
3215         (elmo-folder-unflag-answered): Ditto.
3216
3217         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3218         change of `mark'->`flag'.
3219         (elmo-dop-queue-method-name-alist): Ditto.
3220         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3221         (elmo-folder-unflag-read-dop): Ditto.
3222         (elmo-folder-flag-as-important-dop): Ditto.
3223         (elmo-folder-unflag-important-dop): Ditto.
3224         (elmo-folder-flag-as-answered-dop): Ditto.
3225         (elmo-folder-unflag-answered-dop): Ditto.
3226
3227         * elmo-cache.el (elmo-folder-msgdb-create): Call
3228         `elmo-global-flags-set'.
3229
3230         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3231         Call `elmo-global-flags-set'.
3232         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3233         elmo-archive-parse-mmdf with argument `folder'.
3234         (elmo-archive-parse-mmdf): Added argument `folder';
3235         Call `elmo-global-flags-set'.
3236
3237         * elmo-version.el (elmo-version): Up to 2.11.14.
3238
3239 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3240
3241         * modb.el (elmo-msgdb-length): Define.
3242
3243         * elmo.el (elmo-make-folder): Fixed.
3244         (elmo-generic-folder-append-messages): Follow the API change.
3245
3246         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3247         API change.
3248
3249 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * modb.el: New file.
3252
3253         * modb-entity.el: Ditto.
3254
3255         * modb-legacy.el: Ditto.
3256
3257         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3258         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3259         of `elmo-msgdb-overview-get-entity'.
3260         (elmo-msgdb-get-field): Ditto.
3261         (elmo-msgdb-merge): Moved to `elmo.el'.
3262         (elmo-msgdb-length): Removed; redefine as modb method.
3263         (elmo-msgdb-change-mark): Abolish.
3264         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3265         (elmo-msgdb-match-condition): Don't use mark.
3266         (elmo-msgdb-overview-get-entity): Abolish.
3267         Split modb part into `modb*.el'.
3268
3269         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3270
3271         * elmo-shimbun.el (shimbun-mua-search-id): Use
3272         `elmo-msgdb-message-entity' instead of
3273         `elmo-msgdb-overview-get-entity'.
3274         (elmo-shimbun-folder-shimbun-header): Ditto.
3275         (elmo-shimbun-get-headers): Ditto.
3276         (elmo-shimbun-update-overview): Ditto.
3277
3278         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3279
3280         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3281
3282         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3283         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3284
3285         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3286         `elmo-msgdb-mark-to-flags'.
3287
3288         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3289         `elmo-msgdb-set-path'.
3290
3291         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3292  
3293         * elmo-version.el (elmo-version): Up to 2.11.13.
3294
3295         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3296
3297         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3298         of mark.
3299
3300 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3301
3302         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3303         mismatch.
3304
3305 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3306
3307         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3308         instead of `elmo-msgdb-get-cached'.
3309         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3310
3311         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3312         (elmo-msgdb-set-cached): Ditto.
3313         (elmo-msgdb-set-flag): Rewrite.
3314         (elmo-msgdb-unset-flag): Ditto.
3315
3316         * elmo-msgdb.el: Rewrite with luna.
3317
3318         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3319         (elmo-folder-msgdb): Follow the change above.
3320         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3321         (elmo-folder-unmark-important): Follow the API change.
3322         (elmo-folder-mark-as-important): Ditto.
3323         (elmo-folder-unmark-read): Ditto.
3324         (elmo-folder-mark-as-read): Ditto.
3325         (elmo-folder-unmark-answered): Ditto.
3326         (elmo-folder-mark-as-answered): Ditto.
3327         (elmo-folder-clear): Likewise.
3328
3329         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3330         instead of `elmo-msgdb-load' (renamed).
3331
3332         * elmo-version.el (elmo-version): Up to 2.11.12.
3333
3334 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3335
3336         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3337         change.
3338         (elmo-message-mark): Abolish.
3339         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3340         instead of `elmo-msgdb-change-mark'.
3341
3342         * elmo-pipe.el (elmo-message-mark): Abolish.
3343
3344         * elmo-multi.el (elmo-message-mark): Ditto.
3345
3346         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3347         (elmo-msgdb-unread-uncached-mark): Ditto.
3348         (elmo-msgdb-unread-cached-mark): Ditto.
3349         (elmo-msgdb-read-uncached-mark): Ditto.
3350         (elmo-msgdb-answered-cached-mark): Ditto.
3351         (elmo-msgdb-answered-uncached-mark): Ditto.
3352         (elmo-msgdb-important-mark): Ditto.
3353         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3354         `use-cache'.
3355         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3356         `flags'.
3357         (elmo-flag-table-load): Changed flag to list of flag.
3358         (elmo-flag-table-set): If flags is nil, set read flag.
3359         (elmo-flag-table-get): Return derived flags from global mark,
3360         cache status and saved flags.
3361         (elmo-msgdb-flag-table): Follow the change above.
3362         (elmo-msgdb-out-of-date-messages): New function.
3363
3364         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3365
3366         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3367
3368         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3369
3370         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3371         (elmo-nntp-msgdb-create-message): Ditto.
3372
3373         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3374
3375         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3376         independent.
3377         (elmo-folder-msgdb-create): Follow the API change.
3378
3379         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3380         (elmo-folder-append-messages): Ditto.
3381
3382         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3383         (elmo-folder-append-buffer): Ditto.
3384
3385         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3386
3387         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3388
3389         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3390         (elmo-archive-parse-mmdf): Ditto.
3391
3392         * elmo-version.el (elmo-version): Up to 2.11.11.
3393
3394 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3395
3396         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3397         `elmo-msgdb-mark'.
3398
3399         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3400
3401         * elmo-pipe.el (elmo-message-flags): Defined.
3402
3403         * elmo-multi.el (elmo-message-flags): Ditto.
3404
3405 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3406
3407         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3408         `elmo-msgdb-delete-msgs'.
3409
3410         * elmo.el (elmo-folder-count-flags): Don't use
3411         `elmo-msgdb-get-mark-alist'.
3412         (elmo-folder-detach-messages): Follow the API change.
3413
3414         * elmo.el (elmo-folder-list-messages): Append killed messages into
3415         result if `visible-only' is nil.
3416
3417         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3418         canceled messages.
3419         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3420         (elmo-folder-update-number): Likewise.
3421
3422         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3423         (elmo-pop3-sort-msgdb-by-original-number): Use
3424         `elmo-msgdb-sort-entities'.
3425
3426         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3427         (elmo-msgdb-sort-by-date): Use it.
3428         (elmo-msgdb-overview-sort-by-date): Abolish.
3429
3430         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3431
3432         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3433         (elmo-msgdb-flags): New function.
3434         (elmo-msgdb-merge): Use elmo-msgdb-append.
3435
3436         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3437         change.
3438
3439         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3440
3441         * elmo-dop.el (elmo-folder-status-dop): Use
3442         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3443
3444 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3445
3446         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3447
3448         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3449
3450         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3451
3452         * elmo-util.el (elmo-with-progress-display): New macro.
3453
3454         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3455
3456 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3457
3458         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3459         `elmo-folder-list-message-entities' instead of
3460         `elmo-msgdb-get-overview'.
3461         (elmo-map-folder-list-message-locations): Ditto.
3462
3463         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3464         methods instead of treat directly).
3465         (elmo-msgdb-clear): Ditto.
3466         (elmo-msgdb-delete-msgs): Ditto.
3467         (elmo-msgdb-sort-by-date): Ditto.
3468
3469         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3470         local variables.
3471         (elmo-nntp-folder-msgdb-create): Follow the API change.
3472
3473         * elmo-version.el (elmo-version): Up to 2.11.10.
3474
3475 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3476
3477         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3478         (elmo-msgdb-flags-to-mark): Ditto.
3479         (elmo-msgdb-append-entity): Ditto.
3480
3481         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3482         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3483         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3484         (elmo-archive-parse-mmdf): Ditto.
3485
3486         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3487
3488         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3489
3490         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3491
3492         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3493
3494         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3495
3496         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3497
3498         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3499
3500         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3501
3502         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3503         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3504         to empty msgdb.
3505
3506         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3507         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3508         instead of directly construction.
3509         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3510         instead of construct msgdb.
3511
3512         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3513         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3514         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3515         instead of construct msgdb.
3516
3517 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3518
3519         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3520         when field is from or subject.
3521
3522 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3523
3524         * elmo-multi.el (elmo-message-entity-parent): Define.
3525         (elmo-folder-search): Rewrite.
3526
3527 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3528
3529         * elmo-multi.el (elmo-message-cached-p): Define.
3530
3531         * elmo.el (elmo-message-cached-p): New method.
3532         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3533         (elmo-message-flags): New method.
3534         (elmo-message-flagged-p): New function.
3535
3536         * elmo-version.el (elmo-version): Up to 2.11.9.
3537
3538 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3539
3540         * elmo-version.el (elmo-version): Up to 2.11.8.
3541
3542         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3543
3544         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3545
3546 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3547
3548         * elmo.el (elmo-folder-detach-messages): Undo last change.
3549
3550 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3551
3552         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3553
3554         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3555         only when src folder type is pop3.
3556
3557 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3558
3559         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3560         elmo-msgdb-overview-entity-get-number instead of
3561         elmo-message-entity-number.
3562
3563 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3564
3565         * elmo-version.el (elmo-version): Up to 2.11.7.
3566
3567 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3568
3569         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3570         function.
3571
3572         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3573         (elmo-msgdb-merge): New function.
3574         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3575         (elmo-msgdb-make-index): Rewrite.
3576
3577         * elmo-version.el (elmo-version): Up to 2.11.6.
3578
3579         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3580         use it as a the path for loading message entities.
3581
3582         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3583
3584 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3587         message-modified slot of itself if it does not require target msgdb.
3588
3589         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3590         if folder length is zero.
3591         (elmo-mime-display-as-is): Ditto.
3592
3593         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3594
3595         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3596
3597 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3598
3599         * elmo.el (elmo-folder-set-message-modified): New method.
3600         (elmo-generic-folder-commit): Use it.
3601         (elmo-folder-synchronize): Ditto.
3602
3603         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3604         (elmo-folder-commit): Remove duplicate definition.
3605
3606 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3607
3608         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3609
3610 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3611
3612         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3613         (elmo-strict-folder-diff): Ditto.
3614         (elmo-folder-set-info-max-by-numdb): Simplify.
3615
3616         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3617         elmo-msgdb-list-messages.
3618
3619         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3620         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3621
3622 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3625         visible-only is non-nil.
3626         (elmo-folder-confirm-appends): Changed message.
3627         (elmo-folder-synchronize): Added argument disable-killed.
3628
3629         * elmo-multi.el (elmo-folder-synchronize): Added argument
3630         disable-killed.
3631
3632         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3633
3634         * elmo-version.el (elmo-version): Up to 2.11.5.
3635
3636         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3637         elmo-list-filter.
3638
3639         * elmo-util.el (elmo-list-filter): Simplify.
3640
3641         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3642         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3643         (elmo-generic-folder-diff): Abolish argument.
3644         (elmo-msgdb-load): Don't use number-alist.
3645
3646         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3647
3648         * elmo-pipe.el (elmo-folder-diff): Ditto.
3649
3650         * elmo-nmz.el (elmo-folder-diff): Ditto.
3651
3652         * elmo-net.el (elmo-folder-diff): Ditto.
3653
3654         * elmo-maildir.el (elmo-folder-diff): Ditto.
3655
3656         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3657
3658         * elmo-multi.el (elmo-folder-diff): Ditto
3659         (elmo-multi-folder-diff): Rewrite.
3660
3661 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3662
3663         * elmo-pipe.el (elmo-folder-msgdb): Define.
3664
3665 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3666
3667         * elmo.el (elmo-message-set-cached): Define as a method.
3668
3669         * elmo-pipe.el (elmo-message-set-cached): Define.
3670         (elmo-find-fetch-strategy): Ditto.
3671
3672         * elmo-multi.el (elmo-message-set-cached): Define.
3673         (elmo-find-fetch-strategy): Rewrite.
3674
3675         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3676
3677         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3678
3679 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3680
3681         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3682         instead of number-alist.
3683
3684         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3685         mark nor message-id when msgdb of source folder is not loaded.
3686
3687         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3688
3689         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3690
3691 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3692
3693         * elmo.el (elmo-folder-length): Don't require msgdb.
3694
3695 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3696
3697         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3698         (elmo-message-field): Ditto.
3699
3700         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3701         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3702         slot.
3703         (elmo-map-folder-list-answereds): Define.
3704         (elmo-maildir-list-location): Treat 'R' info.
3705         (elmo-folder-msgdb-create): Treat flag-table.
3706         (elmo-folder-append-messages): Save flag-table.
3707
3708 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3709
3710         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3711         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3712
3713 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3714
3715         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3716
3717         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3718         'read when mark is null.
3719
3720 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3721
3722         * elmo-version.el (elmo-version): Up to 2.11.4.
3723
3724 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3725
3726         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3727         (elmo-folder-mark-as-answered): Ditto.
3728
3729 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3730
3731         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3732         (elmo-pop3-get-session): Make msgdb directory after session.
3733         (elmo-folder-exists-p): Check exactly at the first time even when the
3734         elmo-pop3-exists-exactly is nil.
3735
3736         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3737         (elmo-folder-list-messages): Define instead of
3738         elmo-folder-list-messages-internal.
3739         (elmo-folder-check): Check destination folder.
3740         (elmo-folder-synchronize): Drain the pipe.
3741
3742         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3743         when msgdb is not loaded.
3744
3745         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3746
3747         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3748         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3749         messages.
3750
3751         * elmo.el (elmo-folder-kill-messages-before): New function.
3752         (elmo-folder-kill-messages): Ditto.
3753         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3754
3755         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3756         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3757         killed not by synchronize (e.g. scoring).
3758
3759 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3760
3761         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3762         treated.
3763         (elmo-folder-search): Follow the change above.
3764
3765         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3766         into the candidates of search field.
3767
3768 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3769
3770         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3771         (elmo-msgdb-unset-flag): Ditto.
3772
3773         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3774
3775 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3776
3777         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3778         (elmo-folder-commit): Define.
3779         (elmo-folder-synchronize): Ditto.
3780         (elmo-folder-list-flagged): Ditto.
3781         (elmo-folder-commit): Ditto.
3782         (elmo-folder-length): Ditto.
3783         (elmo-folder-count-flags): Ditto.
3784         (elmo-message-mark): Ditto.
3785         (elmo-message-field): Ditto.
3786         (elmo-message-entity): Ditto.
3787         (elmo-message-folder): Ditto.
3788
3789 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3790
3791         * elmo.el (elmo-message-field): Define as a method.
3792
3793         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3794         (elmo-message-field): Define.
3795
3796         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3797         (elmo-folder-list-importants): Ditto.
3798         (elmo-folder-list-answereds): Ditto.
3799
3800         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3801         qualifier.
3802         (elmo-folder-mark-as-read): Ditto.
3803         (elmo-folder-unmark-read): Ditto.
3804         (elmo-folder-mark-as-answered): Ditto.
3805         (elmo-folder-unmark-answered): Ditto.
3806         (elmo-folder-list-flagged): Define.
3807         (elmo-folder-commit): Ditto.
3808         (elmo-folder-length): Ditto.
3809         (elmo-folder-count-flags): Ditto.
3810
3811 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3812
3813         * elmo.el (elmo-folder-detach-messages): New method.
3814         (elmo-folder-move-messages): Use it.
3815         (elmo-folder-synchronize): Ditto.
3816
3817         * elmo-multi.el (elmo-folder-detach-messages): Define.
3818
3819         * elmo.el (elmo-message-copy-entity): New function.
3820         (elmo-message-entity-set-number): Ditto.
3821         (elmo-message-mark): Define as method.
3822
3823         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3824         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3825         (elmo-message-entity): Fixed last change.
3826         (elmo-message-mark): Define.
3827         (elmo-folder-msgdb-create): Abolish.
3828         (elmo-multi-folder-append-msgdb): Ditto.
3829         (elmo-multi-folder-diff): Fixed.
3830         (elmo-multi-split-number-alist): Removed.
3831         (elmo-multi-split-mark-alist): Removed.
3832         (elmo-folder-list-messages): Define.
3833         (elmo-folder-list-messages-internal): Removed.
3834
3835         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3836         local file messages.
3837         (elmo-folder-msgdb-create): Fixed read mark.
3838
3839 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3840
3841         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3842         if mark is nil.
3843
3844 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3845
3846         * elmo.el (elmo-folder-list-message-entities): Define as inline
3847         function.
3848         (elmo-folder-messages): Abolish.
3849
3850         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3851         folder.
3852         (elmo-folder-synchronize): Define.
3853         (elmo-message-entity): Define.
3854
3855 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3858         elmo-imap4-session-select-mailbox.
3859
3860         * elmo.el (elmo-folder-move-messages): Don't display any message.
3861
3862         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3863         parsing.
3864         (elmo-imap4-session-check): Don't wait CHECK response.
3865         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3866
3867 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3868
3869         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3870
3871 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3872
3873         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3874         API.
3875         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3876
3877
3878         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3879         (elmo-folder-list-message-entities): Added argument in-msgdb and
3880         numbers.
3881         (elmo-folder-synchronize): Define as a method.
3882
3883         * elmo-nntp.el (elmo-folder-initialize): Don't use
3884         elmo-nntp-default-user if zero-length username is specified
3885         explicitly.
3886
3887 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3888
3889         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3890         server name in case with username.
3891         (XXX: this is ad-hoc fix against username includes "@", it
3892         should be solved fundamentally)
3893
3894 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3895
3896         * elmo-nntp.el (elmo-nntp-debug): New function.
3897         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3898         (elmo-network-authenticate-session): Hide auth-info from the log.
3899
3900         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3901         user name if it is equal to elmo-nntp-default-user.
3902
3903 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3904
3905         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3906         instead of shimbun-server-internal;
3907         Use shimbun-current-group instead of shimbun-current-group-internal.
3908         (elmo-folder-plugged-p): Use shimbun-server instead of
3909         shimbun-server-internal.
3910         (elmo-folder-set-plugged): Ditto.
3911         (elmo-net-port-info): Ditto.
3912         (elmo-folder-check): Ditto.
3913         (elmo-folder-expand-msgdb-path): Ditto.
3914         (elmo-folder-list-subfolders): Ditto.
3915
3916 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3917
3918         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3919         Convert field-name to lower case.
3920         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3921
3922 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3923
3924         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3925         `message' and `error' take format string.
3926
3927 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3928
3929         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3930
3931 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3932
3933         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3934         recursive call (can't byte compile on emacs 20.7).
3935
3936 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3937
3938         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3939         (elmo-folder-list-message-entities): New API.
3940         (elmo-message-entity): Ditto.
3941         (elmo-message-entity-parent): Ditto.
3942         (elmo-folder-do-each-message-entity): Ditto.
3943         (elmo-message-entity-number): Ditto.
3944         (elmo-message-entity-field): Ditto.
3945         (elmo-message-entity-set-field): Ditto.
3946         (elmo-folder-count-flags): Ditto.
3947         (elmo-folder-length): Ditto.
3948
3949         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3950         not.
3951
3952         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3953         (elmo-msgdb-count-marks): Abolish.
3954         (elmo-msgdb-make-entity): Ditto.
3955         (elmo-msgdb-do-each-entity): Ditto.
3956         (elmo-msgdb-message-entity): New inline function.
3957         (elmo-msgdb-message-entity-field): Ditto.
3958         (elmo-msgdb-message-entity-set-field): Ditto.
3959         (elmo-msgdb-make-message-entity): New function.
3960
3961 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3962
3963         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3964         to flag. (All other related portions are changed.)
3965         (elmo-folder-msgdb-create): Likewise.
3966         (elmo-generic-folder-append-messages): Use flag-table instead of
3967         seen-list.
3968         (elmo-folder-move-messages): Removed redundant process.
3969         (elmo-folder-synchronize): Likewise.
3970
3971         * elmo-msgdb.el (elmo-flag-table-get): New function.
3972         (elmo-flag-table-save): Fixed.
3973         (elmo-msgdb-length): New inline function.
3974         (elmo-msgdb-flag-table): New function.
3975         (elmo-msgdb-mark): Add optional argument new.
3976         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3977         (elmo-msgdb-seen-list): Ditto.
3978         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3979
3980
3981 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3982
3983         * elmo.el (elmo-message-set-mark): Abolish.
3984         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3985         (All related portions are changed.)
3986
3987         * elmo-msgdb.el (toplevel): Added comment.
3988         (elmo-load-msgdb): Added 4th element `path'.
3989         (elmo-msgdb-append): Follow the change above.
3990         (elmo-msgdb-clear): Ditto.
3991         (elmo-msgdb-delete-msgs): Ditto.
3992         (elmo-msgdb-get-path): New inline function.
3993         (elmo-msgdb-set-path): Ditto.
3994         (elmo-flag-table-filename): New variable.
3995         (elmo-flag-table-load): New function.
3996         (elmo-flag-table-set): Ditto.
3997         (elmo-flag-table-save): Ditto.
3998         (elmo-msgdb-get-field-value): Abolish.
3999         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4000
4001 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4002
4003         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4004         the folder has been deleted successfully.
4005         * elmo-imap4.el (elmo-folder-delete): Ditto.
4006         * elmo-archive.el (elmo-folder-delete): Ditto.
4007         * elmo-localdir.el (elmo-folder-delete): Ditto.
4008         * elmo-maildir.el (elmo-folder-delete): Ditto.
4009
4010 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4011
4012         * elmo-util.el (elmo-string-member-ignore-case): New function.
4013         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4014         (elmo-imap4-fetch-callback-1-subr): Likewise.
4015
4016 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4017
4018         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4019         the case of the name attribute "\Noselect".
4020
4021 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4022
4023         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4024
4025         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4026         flist, is not always a member of onum-alist.
4027
4028 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4029
4030         * elmo-version.el (elmo-version): Up to 2.11.3.
4031
4032 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4033
4034         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4035         copied from localdir's one.
4036
4037         * elmo-pipe.el (elmo-folder-rename): New method, rename
4038         destination folder with leaving source folder as it is.
4039
4040 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4041
4042         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4043         replace-regexp.
4044
4045 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4046
4047         * elmo-version.el (elmo-version): Up to 2.11.2.
4048
4049 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4050
4051         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4052         shimbun-open in case of "@".
4053         (elmo-folder-open-internal): Cope with shimbun = nil case.
4054         (elmo-folder-plugged-p): Ditto.
4055         (elmo-folder-list-subfolders): Make list for "@/" group.
4056
4057 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4058
4059         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4060         mailbox (e.g. for %~/something).
4061
4062 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4063
4064         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4065         Replace nested conditional with guard clauses.
4066
4067 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4068
4069         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4070         error [wl:11327].
4071
4072         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4073         print-depth.
4074
4075 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4076
4077         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4078         Replace nested conditional with guard clauses.
4079
4080 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4081
4082         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4083         (elmo-passwd-alist-save): Ditto.
4084         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4085
4086 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4087
4088         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4089         dir-name only if it is absolute path.
4090         (TODO: distinguish +/something and +something)
4091
4092 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4093
4094         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4095         path for "+~/something".
4096
4097 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4098
4099         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4100         as non-directory, cause error before rename-file.
4101         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4102         apropriately, mimic localdir's one.
4103         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4104
4105 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4106
4107         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4108
4109 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4110
4111         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4112
4113         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4114         
4115         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4116         is included in the global-mark or not.
4117
4118 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4119
4120         * utf7.el (toplevel): Avoid error when the function
4121         find-coding-system does not exist.
4122
4123 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4124
4125         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4126         cache even if the folder is plugged.
4127         (elmo-nntp-search-primitive): Do nothing when body search is
4128         invoked (although it is not used by the change above).
4129         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4130
4131 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4132
4133         * elmo-version.el (elmo-version): Up to 2.11.1.
4134
4135 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4136
4137         * elmo-archive.el: Specify charset.
4138
4139 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4140
4141         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4142         process buffer lives or not.
4143
4144         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4145         while flushing queues (It causes infinite loop).
4146
4147 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4148
4149         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4150
4151 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4152
4153         * utf7.el (toplevel): Check the ucs features dynamically.
4154         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4155
4156         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4157         folder is creatabe or not if it already exists.
4158
4159 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4160
4161         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4162
4163         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4164
4165         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4166         (elmo-imap4-read-response): Take care of garbage response.
4167
4168 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4169
4170         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4171         just return nil instead of error.
4172
4173 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4174
4175         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4176         search-key is "body".
4177
4178 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4179
4180         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4181         of elmo-string-matched-assoc to use match-data.
4182         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4183
4184 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4185
4186         * elmo-split.el (elmo-split->): New function.
4187         (elmo-split-<): Ditto.
4188
4189 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4190
4191         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4192         workaround for invalid message-id.
4193
4194 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4195
4196         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4197         return normal pop3 session or pop3 biff session.
4198
4199 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4200
4201         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4202         info part to the cur files when the new files already have it.
4203         (Adviced by Jared Rhine <jared@wordzoo.com>)
4204
4205 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4206
4207         * elmo-split.el (elmo-split-default-action): New variable.
4208         (elmo-split-subr): Use it if all other conditions are passed.
4209         Extend `fname' and rename it as `action'. (implemented
4210         Teranishi-san's idea in [wl:10800])
4211
4212 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4213
4214         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4215         * elmo-util.el: Ditto.
4216
4217 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4218
4219         * elmo.el (elmo-message-accessible-p): Renamed from
4220         elmo-message-cached-p and rewritten.
4221
4222 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4223
4224         * elmo.el (elmo-folder-list-flagged): New generic function.
4225         (elmo-folder-list-importants): New implementation.
4226         (elmo-folder-list-answereds): Ditto.
4227         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4228         Added 'digest'.
4229         (elmo-message-cached-p): New function.
4230         (elmo-message-set-flag): Ditto (no content).
4231         (elmo-message-unset-flag): Ditto.
4232         (elmo-folder-list-messages-mark-match): Abolish.
4233
4234         * elmo-util.el (elmo-regexp-opt): New function.
4235
4236         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4237         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4238         Added 'digest'.
4239         (elmo-msgdb-list-flagged): New function.
4240
4241         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4242         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4243         Added 'digest'.
4244
4245         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4246
4247 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4248
4249         * elmo-version.el (elmo-version): Up to 2.11.0.
4250
4251 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4252
4253         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4254         `elmo-file-cache-exists-p'; use proper mark that depends on
4255         `use-cache'.
4256         (elmo-msgdb-unset-flag): Ditto.
4257         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4258
4259         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4260         with 4th argument `use-cache'.
4261
4262 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4263
4264         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4265         (elmo-folder-mark-as-important): Ditto.
4266         (elmo-folder-unmark-read): Ditto.
4267         (elmo-folder-mark-as-read): Ditto.
4268         (elmo-folder-unmark-answered): Ditto.
4269         (elmo-folder-mark-as-answered): Ditto.
4270
4271         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4272         message status.
4273         (elmo-msgdb-mark): Likewise.
4274         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4275         (elmo-msgdb-unset-flag): Likewise.
4276
4277         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4278
4279 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4280
4281         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4282         `last:' filter.
4283
4284 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4285
4286         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4287         set spool-length to 0.
4288
4289 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4290
4291         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4292         (elmo-dop-queue-flush): Fixed last change.
4293
4294 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4295
4296         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4297         if require-msgdb slot is nil.
4298         (elmo-folder-list-importants): Likewise.
4299
4300 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4301
4302         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4303         mark is changed.
4304
4305         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4306         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4307         is changed.
4308
4309 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4310
4311         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4312
4313 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4314
4315         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4316
4317         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4318
4319 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4320
4321         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4322         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4323
4324 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4325
4326         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4327         the problem reported by Sean Rima [wl-en:180].
4328
4329 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4330
4331         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4332
4333         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4334
4335         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4336
4337         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4338
4339         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4340
4341         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4342
4343         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4344
4345 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4346
4347         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4348         status number.
4349
4350 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4351
4352         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4353         (elmo-folder-mark-as-read): Follow the API change.
4354         (elmo-message-set-cached): New function.
4355
4356         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4357
4358         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4359
4360         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4361         (elmo-folder-mark-as-important): Ditto.
4362         (elmo-folder-unmark-read): Ditto.
4363         (elmo-folder-mark-as-read): Ditto.
4364         (elmo-folder-unmark-answered): Ditto.
4365         (elmo-folder-mark-as-answered): Ditto.
4366
4367         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4368         (elmo-folder-unmark-important): Ditto.
4369         (elmo-folder-mark-as-read): Ditto.
4370         (elmo-folder-unmark-read): Ditto.
4371         (elmo-folder-mark-as-answered): Ditto.
4372         (elmo-folder-unmark-answered): Ditto.
4373
4374         * elmo-mark.el (toplevel): Removed some mark method definitions.
4375
4376         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4377         (elmo-map-folder-mark-as-answered): Ditto.
4378         (elmo-folder-unmark-important): Add :before qualifier.
4379         (elmo-folder-mark-as-important): Ditto.
4380         (elmo-folder-unmark-read): Ditto.
4381         (elmo-folder-mark-as-read): Ditto.
4382         (elmo-folder-unmark-answered): Define.
4383         (elmo-folder-mark-as-answered): Ditto.
4384
4385         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4386         (elmo-map-folder-unmark-answered): Ditto.
4387
4388         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4389
4390         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4391         (elmo-folder-mark-as-important): Ditto.
4392         (elmo-folder-unmark-read): Ditto.
4393         (elmo-folder-mark-as-read): Ditto.
4394         (elmo-folder-unmark-answered): Ditto.
4395         (elmo-folder-mark-as-answered): Ditto.
4396
4397         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4398         `mark'; evaluate mark condition.
4399         (elmo-msgdb-match-condition-internal): New function.
4400         (elmo-msgdb-match-condition): Call it; changed argument.
4401
4402         * elmo.el (elmo-folder-search): Follow the API change on
4403         `elmo-msgdb-match-condition'.
4404
4405 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4406
4407         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4408         original mark is non-nil.
4409
4410 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4411
4412         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4413         (elmo-map-folder-list-answereds): New method.
4414         (elmo-folder-list-unreads): Add :around qualifier.
4415         (elmo-folder-list-importants): Ditto.
4416         (elmo-folder-list-answereds): Ditto.
4417
4418 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4419
4420         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4421
4422         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4423         method if msgdb is not required.
4424         (elmo-filter-folder-list-importants): Don't treat global-mark.
4425
4426         * elmo.el (elmo-folder-list-importants): Ditto.
4427
4428         * elmo-net.el (elmo-folder-list-importants): Ditto.
4429
4430         * elmo-map.el (elmo-folder-list-importants): Ditto.
4431
4432         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4433
4434         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4435         (elmo-imap4-folder-list-any-plugged): New function.
4436         (elmo-imap4-search-internal-primitive): Use it.
4437
4438         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4439         only when require-msgdb slot is non-nil.
4440         (elmo-folder-close): Clear target folder's msgdb.
4441
4442 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4443
4444         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4445         (elmo-pop3-msgdb-create-by-header): Ditto.
4446         (elmo-pop3-msgdb-create-message): Ditto.
4447
4448         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4449
4450         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4451
4452         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4453
4454         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4455         (elmo-folder-msgdb-create): Ditto.
4456         (elmo-nntp-folder-msgdb-create): Ditto.
4457         (elmo-nntp-msgdb-create-by-header): Ditto.
4458         (elmo-nntp-msgdb-create-message): Ditto.
4459         (elmo-folder-list-unreads): Define.
4460
4461         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4462         (elmo-folder-append-messages): Ditto.
4463         (elmo-folder-list-unreads): Define.
4464         (elmo-folder-list-importants): Ditto.
4465         (elmo-folder-list-answereds): Ditto.
4466
4467         * elmo-net.el (elmo-folder-list-unreads): Define.
4468         (elmo-folder-list-importants): Ditto.
4469         (elmo-folder-list-answereds): Ditto.
4470         (elmo-folder-list-answereds-plugged): Ditto.
4471         (elmo-folder-msgdb-create): Follow the API change.
4472         (elmo-folder-msgdb-create-unplugged): Ditto.
4473         (elmo-folder-unmark-answered): Define.
4474         (elmo-folder-mark-as-answered-unplugged): Ditto.
4475         (elmo-folder-unmark-answered-unplugged): Ditto.
4476
4477         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4478         (elmo-msgdb-unread-uncached-mark): Ditto.
4479         (elmo-msgdb-unread-cached-mark): Ditto.
4480         (elmo-msgdb-read-uncached-mark): Ditto.
4481         (elmo-msgdb-answered-cached-mark): Ditto.
4482         (elmo-msgdb-answered-uncached-mark): Ditto.
4483         (elmo-msgdb-important-mark): Ditto.
4484         (elmo-msgdb-set-mark): Rewrite.
4485         (elmo-msgdb-count-marks): Rewrite.
4486         (elmo-msgdb-mark-alist-set): Abolish.
4487         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4488         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4489
4490         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4491         (elmo-folder-close): Define.
4492         (elmo-folder-msgdb-create): Follow the API change.
4493         (elmo-folder-list-unreads): Rewrite.
4494         (elmo-folder-mark-as-important): Ditto.
4495         (elmo-folder-unmark-important): Ditto.
4496         (elmo-folder-mark-as-read): Ditto.
4497         (elmo-folder-unmark-read): Ditto.
4498         (elmo-folder-mark-as-answered): Define.
4499         (elmo-folder-unmark-answered): Ditto.
4500
4501         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4502         (elmo-folder-append-messages): Ditto.
4503
4504         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4505
4506         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4507         (elmo-folder-list-importants): Ditto.
4508
4509         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4510         (elmo-folder-append-messages): Ditto.
4511
4512         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4513         change.
4514         (elmo-folder-msgdb-create-plugged): Ditto.
4515         (elmo-folder-append-messages): Ditto.
4516         (elmo-folder-list-answereds-plugged): Define.
4517         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4518         (elmo-folder-unmark-answered-plugged): Define.
4519         (elmo-folder-mark-as-answered-plugged): Ditto.
4520         (elmo-folder-search-requires-msgdb-p): Ditto.
4521
4522         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4523         (elmo-folder-initialize): Set it.
4524         (elmo-folder-msgdb): Define.
4525         (elmo-folder-check): Call elmo-folder-synchronize.
4526         (elmo-folder-close): Define.
4527         (elmo-folder-commit): Ditto.
4528         (elmo-folder-msgdb-create): Rewrite.
4529         (elmo-folder-list-unreads): Ditto.
4530         (elmo-folder-list-importants): Ditto.
4531         (elmo-folder-mark-as-read): Ditto.
4532         (elmo-folder-unmark-read): Ditto.
4533         (elmo-folder-mark-as-important): Ditto.
4534         (elmo-folder-unmark-important): Ditto.
4535         (elmo-folder-mark-as-answered): Define.
4536         (elmo-folder-unmark-answered): Ditto.
4537
4538         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4539         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4540         (elmo-dop-queue-method-name-alist): Likewise.
4541         (elmo-folder-mark-as-answered-dop): New inline function.
4542         (elmo-folder-unmark-answered-dop): Ditto.
4543         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4544
4545         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4546         (elmo-folder-msgdb-create): Ditto.
4547         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4548         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4549         (elmo-archive-parse-mmdf): Ditto.
4550
4551         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4552         (elmo-folder-list-unreads-internal): Ditto.
4553
4554         * elmo.el (elmo-folder-msgdb): Define as generic function.
4555         (elmo-folder-list-messages): Added argument `in-msgdb'.
4556         (elmo-folder-list-unreads): Define as generic function.
4557         (elmo-folder-list-importants): Ditto.
4558         (elmo-folder-list-answereds): Ditto.
4559         (elmo-folder-list-messages-with-global-mark): New function.
4560         (elmo-folder-msgdb-create): Removed mark arguments.
4561         (elmo-folder-unmark-answered): New generic function.
4562         (elmo-folder-mark-as-answered): Ditto.
4563         (elmo-folder-append-messages): Removed argunment `unread-marks'
4564         (elmo-folder-list-unreads-internal): Abolish.
4565         (elmo-folder-list-importants-internal): Ditto.
4566         (elmo-folder-search-requires-msgdb-p): New generic function.
4567         (elmo-folder-search-requires-msgdb-p-internal): New function.
4568         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4569         elmo-msgdb-load.
4570         (elmo-folder-search-fast): Added key 'mark'.
4571         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4572         instead of unread-marks argument.
4573         (elmo-folder-move-messages): Removed argunment `unread-marks'
4574         (elmo-folder-unmark-important): Define.
4575         (elmo-folder-mark-as-important): Ditto.
4576         (elmo-folder-unmark-read): Ditto.
4577         (elmo-folder-mark-as-read): Ditto.
4578         (elmo-folder-unmark-answered): Ditto.
4579         (elmo-folder-mark-as-answered): Ditto.
4580         (elmo-folder-replace-marks): Abolish.
4581         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4582         duplicates.
4583         (elmo-folder-synchronize): Removed mark arguments;
4584         return crosspost only number.
4585
4586 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4587
4588         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4589         Remove redundunt connectivity check.
4590
4591 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4592
4593         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4594         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4595
4596 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4597
4598         * pldap.el (ldap-decode-string): Return string as-is if
4599         `ldap-coding-system' is nil.
4600         (ldap-encode-string): Ditto.
4601         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4602         (ldap-default-host): Fixed docstring.
4603
4604 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4605
4606         * elmo-util.el (elmo-warning): Define as a macro which uses
4607         `display-warning' if it is defined as a function.
4608
4609         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4610         (elmo-split-equal): Use it.
4611         (elmo-split-match): Ditto.
4612         (elmo-split-message-entity): New buffer-local variable.
4613         (elmo-split-subr): Set it.
4614
4615         * elmo-version.el (elmo-version): Up to 2.9.15.
4616
4617 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4618
4619         * elmo-imap4.el (elmo-network-initialize-session):
4620         Check capability after starttls.
4621
4622 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4623
4624         * elmo-util.el (elmo-list-delete): Added optional argument
4625         DELETE-FUNCTION.
4626
4627         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4628
4629         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4630
4631         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4632
4633         * elmo-imap4.el (elmo-folder-initialize): Don't use
4634         elmo-imap4-default-mailbox.
4635
4636 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4637
4638         * elmo-split.el (toplevel): Use `product-provide'.
4639         (elmo-split): Checkdoc.
4640
4641 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4642
4643         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4644         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4645         the function `elmo-imap4-debug-1'.
4646
4647 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4648
4649         * elmo-split.el (elmo-split): Moved to run hooks and to show
4650         message from elmo-split-subr.
4651         (elmo-split-subr): Follow the change above.
4652
4653         * elmo-split.el (elmo-split-subr): New function (renamed from
4654         elmo-split-subr).
4655         (elmo-split): Changed to call elmo-split-subr by element of
4656         elmo-split-folder.
4657         (elmo-split-folder): Changed customization type to choice.
4658
4659 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4660
4661         * elmo-split.el (elmo-split-and): Fixed condition.
4662
4663 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4664
4665         * elmo-split.el: New file.
4666         (elmo-split): Fixed logic.
4667         Display "Test:" instead of "Folder:" when reharsal.
4668
4669         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4670         explicitly.
4671
4672         * elmo-version.el (elmo-version): Up to 2.9.14.
4673
4674         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4675         wl-expand-newtext).
4676
4677 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4678
4679         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4680         message with no message-id field.
4681
4682 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4683
4684         * elmo-version.el (elmo-version): Up to 2.9.13.
4685
4686         * elmo-dop.el (elmo-folder-status-dop): Fix.
4687
4688 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4689
4690         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4691
4692         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4693         changing default value of default-mime-charset.
4694         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4695
4696         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4697
4698         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4699         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4700         instead of elmo-dop-queue-method-name-alist to check merging queue.
4701         (elmo-folder-delete-messages-dop): Delete from queue if negative
4702         message number.
4703         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4704         file is already removed.
4705
4706 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4707
4708         * elmo-vars.el: Bind colon keywords for old Emacsen.
4709
4710 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4711
4712         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4713         against non-exsisting charset.
4714
4715 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4716
4717         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4718         Use eword-decode-and-unfold-unstructured-field-body.
4719
4720         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4721         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4722         exists to decode raw subject string.
4723         (toplevel): Require 'mime.
4724
4725         * elmo-version.el (elmo-version): Up to 2.9.12.
4726
4727 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4728
4729         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4730         (elmo-msgdb-set-mark): Ditto.
4731
4732         * elmo-version.el (elmo-version): Up to 2.9.11.
4733
4734 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4735
4736         * elmo-util.el (elmo-delete-match-files): New function.
4737
4738         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4739         instead of elmo-delete-directory.
4740
4741         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4742         elmo-hash-minimun-size as 63.
4743
4744         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4745         elmo-diff-unread is nil.
4746
4747         * elmo-imap4.el (elmo-folder-open): Fix.
4748
4749         * elmo.el (elmo-message-mark): Rewrite.
4750         (elmo-message-field): Ditto.
4751         (elmo-message-set-mark): Ditto.
4752         (elmo-folder-replace-marks): New function.
4753         (elmo-generic-folder-append-msgdb): Removed third argument for
4754         elmo-msgdb-append.
4755         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4756         (elmo-msgdb-load): New implementation.
4757
4758         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4759
4760         * elmo-util.el (elmo-list-insert): New implementation.
4761
4762         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4763         argument for elmo-msgdb-append.
4764         
4765
4766         * elmo-msgdb.el (elmo-load-msgdb): New function.
4767         (elmo-make-msgdb): Ditto.
4768         (elmo-msgdb-get-index): New inline function.
4769         (elmo-msgdb-set-index): Ditto.
4770         (elmo-msgdb-get-entity-hashtb): Ditto.
4771         (elmo-msgdb-get-mark-hashtb): Ditto.
4772         (elmo-msgdb-get-mark): Ditto.
4773         (elmo-msgdb-set-mark): Ditto.
4774         (elmo-msgdb-count-marks): Ditto.
4775         (elmo-msgdb-get-number): Ditto.
4776         (elmo-msgdb-get-field): Ditto.
4777         (elmo-msgdb-seen-list): Ditto.
4778         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4779         (elmo-msgdb-delete-msgs): Follow the changes above.
4780         (elmo-msgdb-overview-get-entity): Ditto.
4781         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4782         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4783         and rewritten.
4784         (elmo-msgdb-make-index): Likewise.
4785         (elmo-msgdb-append): Removed third argument.
4786         (elmo-msgdb-clear): Clear index as nil.
4787         (elmo-folder-set-info-hashtb): Removed.
4788         (elmo-folder-set-info-max-by-numdb): Ditto.
4789         (elmo-folder-info-make-hashtb): Ditto.
4790
4791         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4792
4793         * elmo-map.el (elmo-folder-pack-number): Ditto.
4794
4795 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4796
4797         * elmo-version.el (elmo-version): Up to 2.9.10.
4798
4799         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4800
4801         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4802
4803 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4804
4805         * elmo-utils.el (elmo-make-directory): Add option.
4806         Default file mode is 700.
4807
4808 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4809
4810         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4811
4812 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4813
4814         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4815         mime-charset.
4816
4817         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4818         and "smaller".
4819
4820 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4821
4822         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4823         (elmo-shimbun-folder-entity-hash): New function.
4824         (elmo-shimbun-folder-shimbun-header): Ditto.
4825         (elmo-shimbun-entity-to-header): Ditto.
4826         (elmo-shimbun-msgdb-to-headers): Removed.
4827         (elmo-shimbun-folder-setup): Ditto.
4828         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4829         for hash key.
4830         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4831         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4832         Removed useless local bind.
4833         (elmo-folder-open-internal): Don't call
4834         `elmo-shimbun-folder-setup'.
4835         (elmo-folder-close-internal): Clear entity-hash slot.
4836         (elmo-folder-clear): Ditto.
4837         (elmo-shimbun-msgdb-create-entity): Use
4838         `elmo-shimbun-folder-shimbun-header'.
4839         (elmo-map-message-fetch): Ditto.
4840         (elmo-shimbun-update-overview): Use overview entity instead of
4841         shimbun header to lookup id by references.
4842         (elmo-map-folder-list-message-locations): Use not only headers but
4843         also overviews to list locations.
4844
4845 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4846
4847         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4848         msgdb path.
4849
4850         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4851
4852 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4853
4854         * elmo-util.el (elmo-read-search-condition-internal): Give default
4855         value for date.
4856
4857 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4858
4859         * elmo-util.el (elmo-condition-parse-search-value): Accept
4860         YYYY-MM-DD format to search.
4861         * elmo-date.el (elmo-date-get-datevec): Likewise.
4862
4863 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4864
4865         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4866         debugging code.
4867
4868 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4869
4870         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4871         from t.
4872
4873         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4874
4875         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4876         case from `elmo-folder-exists-p'.
4877         (elmo-folder-exists-p): Removed.
4878         (elmo-folder-creatable-p) Ditto.
4879
4880         * elmo-net.el (elmo-folder-create): Defined.
4881         (elmo-folder-create-unplugged): New function.
4882         (elmo-folder-exists-p): Changed default value to nil from t.
4883
4884         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4885         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4886
4887         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4888         `elmo-create-folder-dop' and append queue
4889         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4890         (elmo-folder-create-dop-delayed): New function.
4891
4892         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4893
4894         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4895
4896         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4897         (elmo-folder-writable-p) : Ditto.
4898
4899         * elmo-version.el (elmo-version): Up to 2.9.9.
4900
4901 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4902
4903         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4904         `elmo-message-use-cache-p' returns nil.
4905         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4906         (ignore cache file and refer the substance in local folders)
4907
4908 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4909
4910         * elmo-version.el (elmo-version): Up to 2.9.8.
4911
4912 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4913
4914         * elmo-version.el (elmo-version): Up to 2.9.7.
4915
4916         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4917
4918 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4919
4920         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4921
4922 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4923
4924         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4925         from --early.
4926         (elmo-map-folder-list-message-locations): Reverse location list.
4927
4928 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4929
4930         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4931
4932 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4935         as a key.
4936         (elmo-nntp-folder-list-subfolders): Follow the change above.
4937
4938 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4939
4940         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4941         name if authentication type is specified.
4942
4943 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4944
4945         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4946         variable.
4947         (elmo-default-nntp-stream-type): Ditto.
4948         (elmo-default-pop3-stream-type): Ditto.
4949
4950 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4951
4952         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4953
4954 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4955
4956         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4957         elmo-vars.el.
4958         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4959
4960         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4961         (elmo-maildir-folder-path): Ditto.
4962         (elmo-maildir-list): Ditto (abolished).
4963
4964 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4965
4966         * elmo-version.el (elmo-version): Up to 2.9.6.
4967
4968 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4969
4970         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4971         (elmo-maildir-folder-path): Ditto.
4972         (elmo-msgdb-directory): Ditto.
4973         (elmo-passwd-life-time): Ditto.
4974         (elmo-msgdb-extra-fields): Ditto.
4975         (elmo-enable-disconnected-operation): Ditto.
4976
4977 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4978
4979         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4980         other choices.
4981         (elmo-pop3-default-authenticate-type): Ditto.
4982
4983 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4984
4985         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4986         choices for custom.
4987         (elmo-pop3-default-authenticate-type): Ditto.
4988
4989 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4990
4991         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4992         mailbox to new-folder.
4993
4994 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4995
4996         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4997         less than new, set new as unread.
4998
4999         * elmo-util.el (elmo-string): Don't put text-property if nil.
5000
5001 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5002
5003         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5004         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5005
5006 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5007
5008         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5009         is nil on `completing-read'.
5010
5011 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5012
5013         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5014         for namespace part.
5015         (elmo-imap4-parse-namespace-subr): Ditto.
5016         (elmo-folder-list-subfolders): Append a delimiter when the specified
5017         folder path is a root with namespace and does not end with delimiter.
5018
5019 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5020
5021         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5022         was used.
5023
5024 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5025
5026         * elmo-util.el (elmo-save-buffer): The first argument of message
5027         is a format control string.
5028
5029 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5030
5031         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5032         `elmo-folder-diff').
5033         (elmo-diff-unread): Likewise.
5034
5035 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5036
5037         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5038         is t on `completing-read'.
5039
5040 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5041
5042         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5043         method of target folder with self mark-alist if MARK-ALIST is nil.
5044
5045 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5046
5047         * elmo-version.el (elmo-version): Up to 2.9.5.
5048
5049 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5050
5051         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5052         (elmo-dop-merge-funcs): Remove.
5053
5054 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5055
5056         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5057         Return t if PATH is directory, too.
5058         Use `dolist' instead of while loop.
5059
5060 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5061
5062         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5063         is deleted.
5064
5065 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5066
5067         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5068         return value to t.
5069         (elmo-folder-list-messages-unplugged): Return t if
5070         elmo-enable-disconnected-operation is nil.
5071
5072         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5073         `elmo-folder-list-messages-internal'.
5074
5075 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5076
5077         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5078         Change to looking-at `[23][0-9]+'.
5079         (elmo-network-initialize-session): Use 'error-msg'
5080         * elmo-net.el (elmo-network-open-session): Set unplugged
5081         if elmo-network-initialize-session returns 'elmo-open-err.
5082
5083 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5084
5085         * elmo-version.el (elmo-version): Up to 2.9.4.
5086
5087 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5088
5089         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5090         `elmo-folder-list-messages-internal'.
5091
5092 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5093
5094         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5095         (elmo-message-match-condition): New method.
5096         (elmo-folder-search-fast): New inline function.
5097         (elmo-msgdb-search): Removed.
5098
5099         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5100         target folder if it is unplugged.
5101         (elmo-folder-list-messages-internal): Return t if target folder is
5102         unplugged and itself is persistent; In this case, use list be
5103         searched already.
5104
5105         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5106         (elmo-msgdb-search-internal-primitive): Ditto.
5107         (elmo-msgdb-match-condition): New function.
5108         (elmo-msgdb-match-condition-primitive): Ditto.
5109
5110         * elmo-util.el (elmo-filter-condition-p): New macro.
5111
5112         * elmo-cache.el (elmo-folder-search): Removed.
5113
5114         * elmo-localdir.el (elmo-folder-search): Ditto.
5115
5116         * elmo-maildir.el (elmo-folder-search): Ditto.
5117
5118         * elmo-mark.el (elmo-folder-search): Ditto.
5119
5120         * elmo-nmz.el (elmo-folder-search): Ditto.
5121
5122         * elmo-sendlog.el (elmo-folder-search): Ditto.
5123
5124         * elmo-shimbun.el (elmo-folder-search): Ditto.
5125
5126         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5127         if folder is unplugged.
5128
5129         * elmo-nntp.el (elmo-folder-search): Likewise.
5130         (elmo-nntp-search-internal): New function.
5131
5132         * elmo-version.el (elmo-version): Up to 2.9.3.
5133
5134 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5135
5136         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5137
5138 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5139
5140         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5141
5142 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5143
5144         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5145
5146 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5147
5148         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5149         (elmo-map-folder-list-message-locations): Do drive letter conversion
5150         on Windows environment.
5151         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5152         (elmo-map-message-fetch): Ditto.
5153
5154 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5155
5156         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5157         (elmo-network-initialize-session): Ditto.
5158
5159 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5160
5161         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5162
5163         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5164
5165         * elmo-util.el (elmo-progress-clear): Ditto.
5166
5167         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5168         `DD-Mon-YYYY' type date.
5169
5170 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5171
5172         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5173         `elmo-date-make-sortable-string' instead of
5174         `timezone-make-date-sortable'.
5175
5176         * elmo-date.el (elmo-date-make-sortable-string): Use
5177         `timezone-make-time-string'.
5178
5179 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5180
5181         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5182
5183         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5184         `since'; Fix timezone.
5185
5186         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5187
5188         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5189
5190 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5191
5192         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5193
5194 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5195
5196         * elmo.el (elmo-generic-folder-append-messages): Make
5197         fetch-strategy with `use-cache' as 'maybe. Check return value of
5198         `elmo-message-fetch'.
5199         (elmo-message-fetch): Return return value of
5200         `elmo-message-fetch-with-cache-process'.
5201         (elmo-message-fetch-with-cache-process): Return non-nil if
5202         fetching was succeed. Load cache when fetching was failed and
5203         fetch-strategy-use-cache is 'maybe.
5204
5205         * elmo-util.el (elmo-file-cache-load): New function.
5206
5207         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5208         defun.
5209
5210         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5211         non-nil if fetching was succeed.
5212
5213         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5214
5215         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5216
5217         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5218         (elmo-message-fetch-with-cache-process): Likwise.
5219
5220         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5221
5222         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5223
5224         * elmo-version.el (elmo-version): Up to 2.9.2.
5225
5226 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5227
5228         * elmo.el (elmo-folder-delete): Delete msgdb path.
5229
5230         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5231
5232         * elmo-maildir.el (elmo-folder-delete): Ditto.
5233
5234         * elmo-localdir.el (elmo-folder-delete): Ditto.
5235
5236         * elmo-imap4.el (elmo-folder-delete): Ditto.
5237
5238 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5239
5240         * elmo.el (luna-define-class): Added `biff' slot.
5241
5242         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5243         (elmo-pop3-debug-inhibit-logging): Abolished.
5244         (elmo-network-close-session): Eliminated needless let.
5245         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5246         (elmo-pop3-send-command): Added `no-log' argument.
5247         (elmo-pop3-process-filter): Use `with-current-buffer'.
5248         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5249         if login failure.
5250         (elmo-pop3-auth-apop): Likewise.
5251         (elmo-network-authenticate-session): Likewise.
5252
5253         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5254         if biff folder.
5255
5256         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5257         string to determine protocol.
5258         (elmo-network-session-name-prefix): Abolished.
5259         (elmo-network-session-cache-key): Follow the change above.
5260         (elmo-network-open-session): Ditto.
5261
5262         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5263         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5264
5265         * elmo-version.el (elmo-version): Up to 2.9.1.
5266
5267         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5268         unmatch condition checking.
5269
5270         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5271         condition.
5272
5273 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5274
5275         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5276
5277 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5278
5279         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5280         test for while loop to execute at least one SEARCH command.
5281
5282 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5283
5284         * elmo-version.el (elmo-version): Up to 2.9.0.
5285
5286 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5287
5288         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5289         (elmo-archive-folder-path): Define.
5290         (elmo-folder-initialize): Setup `dir-name' slot.
5291         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5292         Use `dir-name' as prefix of each subfolders.
5293         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5294
5295 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5296
5297         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5298         (elmo-pipe-folder-list-target-messages): New internal function.
5299         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5300         `killed-list'.
5301         (elmo-pipe-folder-copied-list-load): New function.
5302         (elmo-pipe-folder-copied-list-save): Ditto.
5303         (elmo-folder-open-internal): Follow the change above.
5304         (elmo-folder-status): Fixed for copy.
5305
5306 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5307
5308         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5309
5310 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5311
5312         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5313         elmo-copy-file instead of elmo-add-name-to-file.
5314
5315         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5316
5317         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5318         "file://..." index.
5319
5320         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5321         of accept-process-output as 1.
5322         (elmo-pop3-read-contents): Ditto.
5323         (elmo-pop3-read-body): Ditto.
5324
5325 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5326
5327         * elmo-version.el (product-version-as-string): Remove define.
5328
5329 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5330
5331         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5332         (elmo-imap4-copy-messages): Chop number set using
5333         `elmo-imap4-number-set-chop-length'.
5334         (elmo-imap4-set-flag): Ditto.
5335         (elmo-imap4-search-internal-primitive): Ditto.
5336
5337 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5338
5339         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5340         `elmo-folder-make-temp-dir'
5341
5342         * elmo-vars.el (elmo-cache-directory): New variable.
5343         (elmo-cache-dir): Abolished.
5344         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5345
5346         * elmo-version.el (elmo-version): Up to 2.7.7.
5347
5348 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5349
5350         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5351         defcustom; Set default value as t.
5352
5353 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5354
5355         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5356         (ldap-search-program-arguments): Changed default value.
5357         (ldap-search-basic): Accept exit status 4.
5358         (ldap/field-body): Parse options.
5359         (ldap/collect-field): Ditto.
5360         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5361
5362         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5363         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5364         (elmo-imap4-accept-ok): Ditto.
5365         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5366         'notify-bye, only BYE error is reported.
5367         (elmo-folder-exists-p-plugged): Set no-error argument of
5368         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5369
5370         * elmo.el (elmo-imap4-bye-error): Changed message.
5371
5372         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5373         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5374         queues (It causes infinite loop).
5375
5376 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5377
5378         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5379         (RECENT UNSEEN MESSAGES) extension.
5380
5381 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5382
5383         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5384         Check number of overview fields.
5385
5386 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5387
5388         * elmo.el (elmo-folder-confirm-appends): Changed message.
5389         (elmo-folder-confirm-appends): Ditto.
5390
5391         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5392         `with-temp-buffer'.
5393         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5394
5395 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5396
5397         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5398         of elmo-folder-update-threshold is nil, which can be set by
5399         wl-summary-update-confirm-threshold.
5400
5401 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5402
5403         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5404         (elmo-nmz-index-alias-alist): Ditto.
5405         (elmo-map-folder-list-message-locations): Follow the change above.
5406
5407 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5408
5409         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5410
5411         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5412
5413         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5414
5415         * elmo-util.el (elmo-read): Ditto.
5416         (elmo-display-error): Ditto.
5417
5418         * elmo-vars.el (elmo-date-match): Ditto.
5419
5420         * pldap.el (ldap-coding-system): Ditto.
5421
5422         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5423         `elmo-inhibit-number-mapping' as nil.
5424
5425 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5426
5427         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5428         space delimiter for list response.
5429
5430 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5431
5432         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5433
5434 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5435
5436         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5437         (elmo-map-message-fetch): Fix.
5438         * elmo-map.el (elmo-folder-status): Fix for killed.
5439
5440 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5441
5442         * elmo-sendlog.el: New file.
5443         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5444
5445 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * acap.el (acap-logging-out): New buffer local variable.
5448         (acap-close): Set it.
5449         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5450         an error.
5451
5452 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5453
5454         * acap.el (acap-response-bye-p): New function.
5455         (acap-response-bye-message): Ditto.
5456         (acap-wait-for-response): If bye response is received, cause an error.
5457         (acap-parse-response): Make bye response when 'Bye' is received.
5458
5459 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5460
5461         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5462
5463 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5464
5465         * elmo-util.el (elmo-copy-file): Added argument
5466         `ok-if-already-exists'.
5467         (elmo-copy-file): Fixed typo.
5468
5469 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5470
5471         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5472
5473 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5474
5475         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5476
5477 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5478
5479         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5480         to killed-list.
5481
5482 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5483
5484         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5485         (elmo-folder-initialize): Fix for `copy'.
5486         (elmo-pipe-drain): Ditto.
5487         (elmo-folder-open-internal): Ditto.
5488         (elmo-folder-newsgroups): Fix.
5489
5490 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5491
5492         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5493         for each message.
5494
5495         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5496         recent value is returned from imap folder.
5497
5498         * elmo.el (elmo-folder-newsgroups): New generic function.
5499
5500         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5501         (elmo-folder-initialize): Set it.
5502         (elmo-folder-expand-msgdb-path): Use it.
5503         (elmo-folder-newsgroups): Define.
5504
5505         * elmo-filter.el (elmo-folder-newsgroups): Define.
5506
5507         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5508
5509         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5510
5511         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5512
5513 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5514
5515         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5516         user option.
5517         (elmo-shimbun-header-extra-field): New inline function.
5518         (elmo-shimbun-header-set-extra-field): Ditto.
5519         (elmo-shimbun-folder-header-hash-setup): Ditto.
5520         (elmo-shimbun-update-overview): Ditto.
5521         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5522         (elmo-shimbun-folder-setup): Use
5523         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5524         (elmo-shimbun-get-headers): Ditto.
5525         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5526         Insert `X-Shimbun-Id:' header if extra field is set.
5527         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5528         field's value instead of `shimbun-header-id'.
5529
5530         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5531         inline function.
5532         (elmo-msgdb-overview-entity-set-date): Ditto.
5533         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5534
5535 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5536
5537         * mmimap.el (mmimap-entity-section): Changed body node number from
5538         "0" to "1".
5539
5540 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5541
5542         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5543         `elmo-folder-delete-messages'.
5544
5545         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5546         (elmo-folder-initialize): Changed to expand alias into index path.
5547
5548         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5549         `elmo-mime-insert-header-from-buffer' with 6th arg
5550         `sorted-fields'.
5551
5552 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5553
5554         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5555
5556         * elmo.el (elmo-diff-new): New inline function.
5557         (elmo-diff-unread): Ditto.
5558         (elmo-diff-all): Ditto.
5559
5560         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5561         value from responseb.
5562         (elmo-imap4-folder-diff-plugged): Ditto.
5563         (elmo-imap4-server-diff-async): Added recent argument.
5564         (elmo-server-diff-async): Ditto.
5565         (elmo-imap4-folder-diff-plugged): Ditto.
5566
5567         * elmo-version.el (elmo-version): Up to 2.7.6.
5568
5569 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5570
5571         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5572         in quoted-stirng.
5573
5574 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5575
5576         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5577
5578         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5579
5580         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5581
5582         * elmo-multi.el (elmo-folder-initialize): Ditto.
5583
5584         * elmo-util.el (elmo-parse-token): New function.
5585         (elmo-parse-prefixed-element): Ditto.
5586
5587 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5588
5589         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5590         delete process.
5591         (elmo-imap4-accept-ok): Ditto.
5592
5593 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5594
5595         * mmimap.el (mime-imap-entity-header-string): Don't check first
5596         element of node-id is `0' (Follow last change).
5597
5598 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5599
5600         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5601         assigned irregular node-id to nested multipart section.
5602         (initialize-instance): Followed above change.
5603
5604 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5605
5606         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5607         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5608         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5609         `elmo-shimbun-get-headers');
5610         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5611         visible article on summary exists in headers).
5612         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5613
5614 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5615
5616         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5617         definition.
5618
5619 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5620
5621         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5622
5623 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5624
5625         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5626         header separator into loop condition.
5627
5628 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5629
5630         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5631         Return duplicate folder if it has subfolder.
5632
5633 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5634
5635         * elmo.el (elmo-make-folder): Add folder name error check.
5636
5637         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5638         (elmo-nntp-encode-group-string): New inline function.
5639         (elmo-nntp-decode-group-string): Ditto.
5640         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5641         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5642         Use `not' instead of `null';
5643         Use elmo-nntp-decode-group-string.
5644
5645         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5646
5647         * elmo-version.el (elmo-version): Up to 2.7.5.
5648
5649 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5650
5651         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5652         Hide progress gauge if `elmo-folder-move-messages' exits
5653         nonlocally.
5654
5655 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5656
5657         * elmo-imap4.el (elmo-folder-initialize): Use
5658         `elmo-imap4-encode-folder-string' for folder name.
5659
5660 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5661
5662         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5663         `done'.
5664
5665 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5666
5667         * elmo-util.el (elmo-progress-counter-alist): New internal
5668         variable.
5669         (elmo-progress-counter-value): New macro.
5670         (elmo-progress-counter-all-value): Ditto.
5671         (elmo-progress-counter-format): Ditto.
5672         (elmo-progress-counter-set-value): Ditto.
5673         (elmo-progress-set): New function.
5674         (elmo-progress-clear): Ditto.
5675         (elmo-progress-notify): Ditto.
5676
5677         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5678         counter.
5679
5680         * elmo.el (elmo-generic-folder-append-messages): Call
5681         `elmo-progress-notify'.
5682         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5683
5684         * elmo-archive.el (elmo-folder-append-messages): Call
5685         `elmo-progress-notify'.
5686
5687         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5688
5689         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5690
5691         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5692
5693 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5696         'Create'.
5697         (elmo-message-encache-dop): Added argument `read'.
5698
5699         * elmo-shimbun.el (elmo-message-encache): Ditto.
5700
5701         * elmo-net.el (elmo-message-encache): Ditto.
5702
5703         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5704         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5705         elmo-imap4-seen-messages.
5706         (elmo-folder-msgdb-create-plugged): Initialize
5707         elmo-imap4-seen-messages;
5708         Set seen mark on elmo-imap4-seen-messages.
5709
5710         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5711
5712         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5713         elmo-folder-append-buffer.
5714         (elmo-folder-encache): Added optional argument `read'.
5715         (elmo-message-encache): Ditto.
5716
5717         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5718
5719         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5720
5721         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5722         if append buffer content succeds.
5723
5724 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5725
5726         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5727         elmo-display-progress.
5728
5729         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5730         Set 4th argument of mime-display-message.
5731         (elmo-mime-display-as-is): Ditto.
5732
5733 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5734
5735         * elmo-nmz.el (toplevel): Require 'mime-edit.
5736         (elmo-nmz-content-type-alist): Abolished.
5737         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5738         content is not a message.
5739         (elmo-map-message-fetch): Changed behavior exept for message content;
5740         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5741         content-type, Add From: and Subject: field.
5742
5743 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5744
5745         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5746         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5747         not a message.
5748
5749 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5750
5751         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5752         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5753
5754         * elmo-archive.el (elmo-folder-writable-p): Defined.
5755
5756         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5757
5758         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5759
5760         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5761
5762         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5763
5764         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5765
5766         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5767
5768         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5769
5770         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5771
5772 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5773
5774         * elmo-util.el (elmo-address-quote-specials): New function;
5775         Renamed from `wl-address-quote-specials'.
5776
5777 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5778
5779         * elmo-version.el (elmo-version): Up to 2.7.4.
5780
5781 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5782
5783         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5784
5785 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5786
5787         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5788         both compile-time and run-time to avoid byte-compile warning.
5789
5790 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5791
5792         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5793
5794 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5795
5796         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5797         option.
5798         (elmo-mime-display-as-is-internal): Use it.
5799
5800         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5801         if `read-passwd' is not defined.
5802
5803 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5804
5805         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5806         by original number.
5807         (elmo-folder-status): Call `elmo-folder-open-internal';
5808         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5809         (elmo-folder-close-internal): Set location-alist as nil.
5810         (elmo-folder-clear): Define.
5811         (elmo-folder-check): Don't set location-alist as nil.
5812
5813         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5814
5815 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5818         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5819
5820         * mmimap.el (mime-imap-entity::requested): New slot.
5821         (mime-imap-location-fetch-entity-p): New generic function.
5822         (mime-decode-parameters): Define using `defun-maybe'.
5823         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5824         content-type structure.
5825         (mime-entity-body): Return empty body if
5826         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5827
5828         * elmo.el (elmo-message-displaying): New variable.
5829
5830         * elmo-mime.el (elmo-mime-message-display): Bind
5831         elmo-message-displaying as t.
5832
5833         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5834
5835 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5836
5837         * acap.el (acap-open): erase buffer before starting network process.
5838         (acap-store): Rewrite.
5839
5840 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5841
5842         * elmo-imap4.el (elmo-imap4-default-mailbox,
5843         elmo-imap4-default-server
5844         elmo-imap4-default-authenticate-type,
5845         elmo-imap4-default-user,
5846         elmo-imap4-default-port,
5847         elmo-imap4-default-stream-type,
5848         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5849
5850         * elmo-pop3.el (elmo-pop3-default-user,
5851         elmo-pop3-default-server,
5852         elmo-pop3-default-authenticate-type,
5853         elmo-pop3-default-port,
5854         elmo-pop3-default-stream-type,
5855         elmo-pop3-stream-type-alist): Ditto.
5856
5857         * elmo-nntp.el (elmo-nntp-default-server,
5858         elmo-nntp-default-user,
5859         elmo-nntp-default-port,
5860         elmo-nntp-default-stream-type,
5861         elmo-nntp-stream-type-alist): Ditto.
5862
5863         * elmo-vars.el: Follow changes above.
5864         (elmo-setting): New custom group; added 'elmo-setting group to
5865         above variables.
5866
5867         * elmo-version.el (elmo-version): Up to 2.7.3.
5868
5869         * acap.el (acap-parse-response): Don't delete process when BYE
5870         response (It causes hang-up on slow network environment).
5871         (toplevel): Added comment.
5872
5873 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5874
5875         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5876
5877         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5878         parsing NIL.
5879         (acap-parse-return-metadata): Ditto.
5880
5881         * slp.el: New file.
5882         (toplevel): Fixed typo.
5883
5884         * acap.el: New file.
5885         (acap-network-stream-open): Show "Connecting..." message.
5886         (acap-parse-response): Fixed problem for BYE untagged response.
5887         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5888         (toplevel): Added tiny comments.
5889
5890 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5891
5892         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5893         space delimiter for uidl response.
5894
5895 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5896
5897         * elmo-vars.el (elmo-use-semi): Eliminated.
5898
5899         * elmo-util.el (elmo-string-assoc-all): New function.
5900
5901 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5902
5903         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5904         property 'mime-preview-situation for `mime-preview-quit'.
5905
5906 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5907
5908         * elmo.el (elmo-message-fetch-with-cache-process): Call
5909         elmo-message-fetch-internal instead of causing an error when fetch
5910         strategy is 'entire but only 'section cache is available.
5911
5912 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5913
5914         * elmo-version.el (elmo-version): Up to 2.7.2.
5915
5916         * elmo.el (elmo-generic-folder-append-messages): Make
5917         fetch-strategy with `use-cache'.
5918
5919         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5920         (elmo-dop-queue-method-name): New macro.
5921
5922 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5923
5924         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5925         unbalanced parenthesis.
5926
5927 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5928
5929         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5930
5931 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5932
5933         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5934         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5935
5936 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5937
5938         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5939         local variables.
5940
5941 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5942
5943         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5944         (elmo-message-use-cache-p): Define.
5945         (elmo-folder-msgdb-create): Treat cache.
5946
5947 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5948
5949         * elmo-nntp.el (elmo-network-initialize-session): Call
5950         `elmo-nntp-send-mode-reader'.
5951         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5952
5953 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5956         alist.
5957         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5958         assoc.
5959
5960         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5961         for `elmo-plugged-p'.
5962         (elmo-open-network-stream): Fixed stream-type argument.
5963
5964 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5967         unknown archive type is specified.
5968
5969 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5970
5971         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5972
5973         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5974         while loading msgdb.
5975
5976         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5977         (elmo-folder-open-internal): Rewrite.
5978
5979 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5980
5981         * elmo-mime.el (elmo-mime-display-as-is-internal):
5982         Adjust buffer-multibyte status.
5983
5984 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5985
5986         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5987         of elmo-condition-find-key.
5988
5989         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5990         (elmo-condition-in-msgdb-p): Ditto.
5991         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5992         argument.
5993
5994 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5995
5996         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5997
5998 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5999
6000         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6001         label for elmo-display-progress.
6002
6003 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6004
6005         * elmo.el (elmo-folder-clear): New method.
6006         (elmo-folder-clear): Define.
6007         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6008
6009         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6010         (elmo-folder-clear): Define.
6011
6012         * elmo-map.el (elmo-folder-clear): Define.
6013
6014         * elmo-version.el (elmo-version): Up to 2.7.1.
6015
6016 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6017
6018         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6019         updates.
6020
6021 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6022
6023         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6024         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6025
6026 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6027
6028         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6029
6030         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6031         and re-written.
6032
6033         * elmo-imap4.el (elmo-folder-initialize): Use
6034         elmo-get-network-stream-type.
6035
6036         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6037
6038         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6039
6040 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo.el (elmo-message-encache): Set unread argument for
6043         elmo-message-fetch.
6044
6045         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6046
6047         * elmo.el (elmo-net-port-info): New method.
6048
6049         * elmo-shimbun.el (elmo-net-port-info): Define.
6050         (elmo-message-encache): Ditto.
6051
6052         * elmo-net.el (elmo-net-port-info): Define as method.
6053
6054         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6055         unplugged status when elmo-enable-disconnected-operation is t.
6056
6057         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6058         of spool folder before checking new number.
6059
6060 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6061
6062         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6063         (elmo-network-setup-session): Ditto.
6064         (elmo-message-fetch-plugged): Ditto.
6065         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6066         (elmo-network-initialize-session): Ditto.
6067         (elmo-pop3-read-response): Abolish 3rd argument.
6068         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6069         (elmo-pop3-read-contents): Ditto.
6070         (elmo-pop3-read-body): Ditto.
6071         (elmo-folder-status): Call elmo-folder-close.
6072         (elmo-pop3-lock): Abolish.
6073         (elmo-pop3-unlock): Ditto.
6074         (elmo-pop3-locked-p): Ditto.
6075         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6076
6077 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-version.el (elmo-version): Up to 2.7.0.
6080
6081         * elmo-pop3.el (elmo-pop3-debug): New variable.
6082         (elmo-pop3-debug-inhibit-logging): Ditto.
6083         (elmo-pop3-debug): New function.
6084         (elmo-pop3-send-command): Call elmo-pop3-debug.
6085         (elmo-pop3-read-response): Added keep-lock optional argument;
6086         Don't unlock if keep-lock is non-nil.
6087         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6088         (elmo-network-authenticate-session): Bind
6089         elmo-pop3-debug-inhibit-logging as t.
6090         (elmo-network-setup-session): Call elmo-pop3-read-response with
6091         keep-lock argument.
6092         (elmo-pop3-read-msg): Ditto.
6093         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6094         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6095         (elmo-network-initialize-session): Call elmo-pop3-lock.
6096         (elmo-folder-close-internal): Don't clear location-alist slot.
6097         (elmo-folder-check): Clear location-alist slot.
6098
6099 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6100
6101         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6102         (elmo-pop3-send-command): Call elmo-pop3-lock.
6103         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6104         (elmo-pop3-read-contents): Ditto.
6105         (elmo-pop3-lock): New function.
6106         (elmo-pop3-unlock): Ditto.
6107         (elmo-pop3-locked-p): Ditto.
6108         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6109         returns t.
6110
6111 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6114
6115         * elmo-util.el (elmo-file-field-primitive-condition-match):
6116         New inline function (Don't fetch file content if "first" or "last").
6117         (elmo-file-field-condition-match): Use
6118         elmo-file-field-primitive-condition-match.
6119
6120         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6121         "first".
6122
6123         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6124         (elmo-message-fetch-plugged): Fixed.
6125
6126         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6127
6128 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6129
6130         * elmo.el (elmo-folder-move-messages): Bind
6131         elmo-inhibit-display-retrieval-progress as t while moving messages.
6132
6133         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6134         New variable.
6135         (elmo-inhibit-display-retrieval-progress): Ditto.
6136
6137         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6138         for retrieval progress;
6139         Don't display progress when total buffer size is smaller than
6140         elmo-display-retrieval-progress-threshold.
6141         (elmo-message-fetch-plugged): Don't display progress when
6142         elmo-inhibit-display-retrieval-progress is non-nil.
6143
6144         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6145         for retrieval progress;
6146         Don't display progress when literal size is smaller than
6147         elmo-display-retrieval-progress-threshold.
6148         (elmo-imap4-message-fetch): Don't display progress when
6149         elmo-inhibit-display-retrieval-progress is non-nil.
6150
6151 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6152
6153         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6154         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6155         (elmo-imap4-message-fetch): Likewise.
6156
6157         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6158         (elmo-shimbun-index-range-alist): Ditto.
6159         (elmo-shimbun-use-entire-index): Abolish.
6160         (shimbun-mua-use-entire-index): Ditto.
6161         (elmo-shimbun-folder): Added new slot `range'.
6162         (elmo-folder-initialize): Setup slot `range'.
6163
6164 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6165
6166         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6167         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6168         (elmo-shimbun-get-headers): Use return value of
6169         `shimbun-article-expiration-days'.
6170         (elmo-folder-close-internal): Clean up last-check slot.
6171
6172         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6173         (elmo-pop3-total-size): New variable.
6174         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6175
6176         * elmo.el (elmo-folder-reserve-status-p): New method.
6177
6178         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6179         (elmo-shimbun-use-entire-index): New user option.
6180         (shimbun-elmo-mua): New class.
6181         (shimbun-mua-search-id): Define.
6182         (shimbun-mua-use-entire-index): Ditto.
6183         (elmo-shimbun-folder:last-check): New slot.
6184         (elmo-shimbun-headers-cache-header-list): Abolish.
6185         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6186         (elmo-shimbun-headers-cache-header-hash): Ditto.
6187         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6188         (elmo-shimbun-headers-cache-last-check): Ditto.
6189         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6190         (elmo-shimbun-headers-check-p): Rewrite.
6191         (elmo-shimbun-msgdb-to-headers): New function.
6192         (elmo-shimbun-get-headers): Rewrite.
6193         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6194         (elmo-folder-open-internal): Get headers only if
6195         `elmo-shimbun-headers-check-p' is non-nil.
6196         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6197         is non-nil.
6198         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6199         (elmo-quit): Removed.
6200
6201         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6202         function.
6203         (elmo-msgdb-overview-entity-set-extra): Ditto.
6204         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6205
6206         * elmo-map.el (elmo-folder-status): Don't call
6207         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6208         is non-nil.
6209
6210 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6211
6212         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6213         of `elmo-msgdb-search-internal-primitive' when condition's car is
6214         `and' or `or'.
6215
6216 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6217
6218         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6219
6220 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6221
6222         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6223         call `elmo-pipe-drain'.
6224
6225 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6226
6227         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6228         typo. (elmo-cache-folder -> elmo-mark-folder)
6229
6230 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6231
6232         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6233         `elmo-message-fetch'.
6234
6235 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6236
6237         * elmo-net.el (elmo-message-encache): Fixed typo.
6238         (elmo-message-fetch-unplugged): Changed call
6239         `elmo-message-fetch-internal' without argument `outbuf'.
6240
6241 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6242
6243         * elmo.el (elmo-message-encache): Define as generic function.
6244         (elmo-message-fetch-field): New generic function.
6245         (elmo-message-fetch-with-cache-process): Cause an error when
6246         fetch strategy is 'entire but only 'section cache is available.
6247         (toplevel): Fixed nmz folder definition.
6248
6249         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6250         (elmo-msgdb-resume-list-filename): Ditto.
6251         (elmo-queue-filename): Ditto.
6252         (elmo-enable-disconnected-operation): Changed default value to t.
6253
6254         * elmo-util.el (elmo-cache-path-section-p): New function.
6255         (elmo-file-cache-get): Use it.
6256         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6257         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6258         (elmo-dop-queue-save): Ditto.
6259
6260         * elmo-net.el (elmo-folder-status-unplugged): Call
6261         elmo-folder-status-dop.
6262         (elmo-folder-list-messages-unplugged): Implemented.
6263         (elmo-folder-delete-messages-unplugged): Define.
6264         (elmo-folder-msgdb-create): Define.
6265         (elmo-folder-msgdb-create-unplugged): Define.
6266         (elmo-folder-mark-as-read-unplugged): Ditto.
6267         (elmo-folder-unmark-read-unplugged): Ditto.
6268         (elmo-folder-mark-as-important-unplugged): Ditto.
6269         (elmo-folder-unmark-important-unplugged): Ditto.
6270         (elmo-message-encache): Ditto.
6271
6272         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6273         (elmo-dop-queue-save): Ditto.
6274
6275         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6276         `elmo-folder-msgdb-create'.
6277         (elmo-folder-append-buffer): Implemented unplugged operation.
6278         (elmo-folder-append-messages): Call parent method in unplugged status.
6279         (elmo-message-fetch-unplugged): Removed definition.
6280         (elmo-message-fetch-field): Implemented.
6281
6282         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6283         (elmo-dop-folder): Removed variable definition.
6284         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6285         (elmo-dop-queue-flush): Implemented.
6286         (elmo-dop-queue-merge): Removed definition (TODO).
6287         (elmo-dop-spool-folder): New function.
6288         (elmo-dop-spool-folder-append-buffer): Ditto.
6289         (elmo-dop-spool-folder-list-messages): Ditto.
6290         (elmo-dop-list-deleting-messages): Ditto.
6291         (elmo-folder-append-buffer-dop): Ditto.
6292         (elmo-folder-delete-messages-dop): Ditto.
6293         (elmo-message-encache-dop): New inline function.
6294         (elmo-create-folder-dop): Ditto.
6295         (elmo-folder-mark-as-read-dop): Ditto.
6296         (elmo-folder-unmark-read-dop): Ditto.
6297         (elmo-folder-mark-as-important-dop): Ditto.
6298         (elmo-folder-unmark-important-dop): Ditto.
6299         (elmo-folder-status-dop): Fixed.
6300         (elmo-folder-append-buffer-dop-delayed): New function.
6301         (elmo-folder-delete-messages-dop-delayed): Ditto.
6302         (elmo-dop-msgdb): Ditto.
6303
6304 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6305
6306         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6307
6308 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6309
6310         * elmo.el (elmo-folder-move-messages): Fixed problem when
6311         `dst-folder' is 'null.
6312
6313 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6314
6315         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6316         instead of current mark.
6317
6318         * elmo-multi.el (elmo-folder-list-importants-internal): No
6319         operation if importants is not list.
6320
6321         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6322         Return t if importants is not list.
6323
6324         * elmo-map.el (elmo-map-folder-list-importants): Define.
6325         (elmo-folder-list-importants-internal): Check return value of
6326         `elmo-map-folder-list-importants-internal'.
6327
6328         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6329
6330         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6331
6332         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6333
6334         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6335
6336 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6337
6338         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6339         (Patch is provided by <kita@coe.nttdata.co.jp>).
6340
6341 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6342
6343         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6344         mark folder.
6345
6346 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6347
6348         * elmo.el (elmo-message-fetch): Define.
6349         (elmo-message-fetch-with-cache-process): New generic method.
6350         (elmo-message-fetch-internal): New generic method.
6351         (elmo-folder-synchronize):
6352
6353         * elmo-archive.el (elmo-message-fetch-internal): Define.
6354         (elmo-message-fetch): Eliminated.
6355
6356         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6357         (elmo-message-fetch): Eliminated.
6358
6359         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6360         argument OUTBUF.
6361         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6362
6363         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6364         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6365
6366         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6367         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6368
6369         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6370
6371         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6372
6373         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6374
6375         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6376         (elmo-message-fetch-unplugged): New generic method.
6377         (elmo-message-fetch-internal): Remove cache process (Renamed from
6378         `elmo-message-fetch').
6379
6380         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6381         (elmo-message-fetch): Eliminated.
6382         (elmo-message-fetch-unplugged): Ditto.
6383
6384         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6385
6386 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6387
6388         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6389         of `to-be-deleted' from number-alist to number-list.
6390
6391 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6394         (elmo-folder-mark-as-important): Ditto.
6395
6396 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6397
6398         * elmo.el (elmo-folder): Added process-duplicates slot.
6399
6400         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6401         (elmo-folder-unmark-read): Ditto.
6402         (elmo-folder-unmark-important): Ditto.
6403         (elmo-folder-mark-as-important): Ditto.
6404
6405         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6406         duplicated message processing.
6407
6408         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6409
6410 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6411
6412         * elmo-util.el (elmo-list-subdirectories-1): New function.
6413         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6414         (elmo-mapcar-list-of-list): New function.
6415
6416         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6417         `elmo-mapcar-list-of-list' instead of `mapcar'.
6418
6419         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6420
6421         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6422         `elmo-have-link-count'. Return the fully qualified folder name.
6423
6424 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6425
6426         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6427         (elmo-shimbun-headers-cache): New internal variable.
6428         (elmo-shimbun-headers-cache-header-list): New inline function.
6429         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6430         (elmo-shimbun-headers-cache-header-hash): Ditto.
6431         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6432         (elmo-shimbun-headers-cache-last-check): Ditto.
6433         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6434         (elmo-shimbun-lapse-seconds): Ditto.
6435         (elmo-shimbun-headers-cache-check-p): Ditto.
6436         (elmo-shimbun-get-headers): New function.
6437         (elmo-folder-open-internal): Call it.
6438         (elmo-quit): Define (Clear headers-cache).
6439
6440 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6441
6442         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6443
6444         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6445         (elmo-msgdb-flist-save): Ditto.
6446
6447         * elmo-shimbun.el (elmo-folder-list-subfolders):
6448         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6449         (elmo-folder-exists-p): Ditto.
6450
6451         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6452         argument for `shimbun-header-insert'.
6453
6454 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6455
6456         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6457         at first time.
6458
6459         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6460         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6461
6462 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6465         (elmo-folder-plugged-p): Define.
6466         (elmo-folder-set-plugged): Ditto.
6467         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6468         (elmo-folder-list-messages-internal): Return t if unplugged.
6469         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6470
6471         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6472         when elmo-folder-list-messages-internal method of children returns t.
6473
6474         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6475         pair is nil.
6476         (elmo-folder-open-internal): Don't update if unplugged status.
6477
6478 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6481         new message.
6482
6483 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6486
6487         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6488         saving.
6489
6490 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6491
6492         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6493
6494         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6495         (elmo-folder-open-internal): Set up headers slot.
6496         (elmo-folder-check): Call elmo-folder-close-internal and
6497         elmo-folder-open-internal.
6498         (elmo-folder-close-internal): Clean up headers slot.
6499
6500 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6501
6502         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6503         exactly folder list.
6504         (elmo-folder-append-messages): Fixed append archive with prefix.
6505
6506         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6507         make temp files with start-number.
6508
6509         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6510
6511 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6512
6513         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6514         argument `visible-only'.
6515         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6516         instead of `if'.
6517
6518         * elmo-pop3.el (elmo-folder-open-internal): Check
6519         `elmo-inhibit-number-mapping' is non-nil.
6520
6521         * elmo-pipe.el (elmo-folder-status): Fixed.
6522
6523 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6524
6525         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6526
6527         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6528         (elmo-folder-open-internal): Setup `header-hash' slot.
6529         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6530         information.
6531         (elmo-map-message-fetch): Ditto.
6532
6533 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6534
6535         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6536         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6537         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6538         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6539
6540         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6541
6542 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6543
6544         * sb-airs.el: Added footer.
6545
6546         * shimbun.el (shimbun-article): Define as luna-method.
6547
6548         * sb-tcup.el: New file.
6549
6550         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6551         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6552
6553 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6554
6555         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6556         (shimbun-get-headers): Ditto.
6557
6558         * elmo.el: Moved obsolete variable definitions from
6559         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6560
6561         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6562         groups.
6563
6564         * shimbun.el: New file.
6565
6566         * elmo-shimbun.el: New file.
6567
6568         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6569         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6570         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6571         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6572
6573 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6574
6575         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6576         hierarchy is t.
6577
6578 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6579
6580         * elmo.el (elmo-folder-msgdb): Define as macro.
6581         (elmo-folder-open): Added argument `load-msgdb'.
6582         (elmo-generic-folder-open): Ditto.
6583         (elmo-folder-encache): New function.
6584
6585         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6586
6587         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6588
6589         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6590         Eliminated argument FOLDER and added argument MSGDB.
6591         (elmo-dop-queue-load): Moved from elmo-dop.el.
6592         (elmo-dop-queue-save): Ditto.
6593
6594         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6595
6596         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6597
6598         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6599         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6600         (elmo-filter-folder-list-importants-internal): Ditto.
6601
6602         * elmo-map.el (elmo-folder-pack-number): Ditto.
6603
6604         * elmo-mime.el (elmo-mime-message-display): Ditto.
6605
6606         * elmo.el (elmo-generic-folder-commit): Ditto.
6607         (elmo-folder-list-unreads): Ditto.
6608         (elmo-folder-list-importants): Ditto.
6609         (elmo-generic-folder-commit): Ditto.
6610         (elmo-message-set-mark): Ditto.
6611         (elmo-generic-folder-append-msgdb): Ditto.
6612         (elmo-folder-synchronize): Ditto.
6613         (elmo-folder-messages): Ditto.
6614         (elmo-init): Call elmo-dop-queue-load.
6615         (elmo-folder-list-messages): Ditto.
6616
6617         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6618         (elmo-nntp-folder-process-crosspost): Ditto.
6619         (elmo-folder-list-unreads-internal): Ditto.
6620
6621         * elmo-dop.el: Removed old functions.
6622
6623 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6624
6625         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6626         `folder' to `msgdb'.
6627
6628 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6629
6630         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6631         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6632
6633         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6634         case-fold-search.
6635
6636 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6637
6638         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6639         defined.
6640
6641         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6642         (mmimap-parse-parameters-from-list): Define as alias for
6643         `mime-decode-parameter-plist' if it is defined as function.
6644         (mmimap-make-mime-entity): Added argument `number'.
6645         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6646         as 0.
6647         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6648
6649         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6650
6651         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6652
6653         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6654
6655 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6656
6657         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6658
6659         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6660         when elmo-imap4-default-authenticate-type is nil.
6661         (elmo-folder-list-subfolders): Ditto
6662         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6663         (elmo-imap4-fetch-callback-1-subr): Renamed from
6664         `elmo-imap4-fetch-callback-1' and define as inline function.
6665         (elmo-imap4-fetch-callback-1):
6666         Renamed from `elmo-imap4-fetch-callback'.
6667         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6668
6669         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6670         msgdb path (To keep compatibility with main trunk).
6671
6672         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6673
6674         * elmo-util.el (elmo-make-file-cache): Moved position of
6675         some macros.
6676
6677         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6678         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6679         instead of `elmo-pop3-inhibit-uidl'.
6680         (elmo-folder-exists-p): Ditto.
6681         (elmo-pop3-folder-list-messages): Ditto.
6682
6683         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6684         instead of `elmo-pop3-inhibit-uidl'.
6685         (elmo-folder-status): Ditto.
6686
6687         * elmo-dop.el (elmo-dop-folder): New variable.
6688         (elmo-dop-lock-message): Eliminated.
6689         (elmo-dop-unlock-message): Ditto.
6690         (elmo-dop-lock-list-load): Ditto.
6691         (elmo-dop-lock-list-save): Ditto.
6692         (elmo-dop-delete-folder): Ditto.
6693         (elmo-dop-rename-folder): Ditto.
6694
6695         * elmo.el: Removed incomplete commentary.
6696
6697 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6698
6699         * elmo.el (toplevel): Require 'elmo-version first;
6700         for little `recursive-load-depth' settings.
6701         Fix "ends here" comment.
6702
6703 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6704
6705         * elmo-util.el (toplevel): Require 'poem;
6706         Some functions are moved from elmo-cache.el.
6707
6708         * elmo-net.el (toplevel): Require 'elmo-cache.
6709
6710         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6711
6712         * elmo.el (toplevel): Ditto.
6713
6714         * elmo-cache.el: Rewrite with luna;
6715         Some functions are moved to elmo-util.el.
6716
6717         * elmo-internal.el (elmo-internal-folder-list): New variable.
6718         (elmo-internal-folder-initialize): Rewrite.
6719         (elmo-folder-list-subfolders): Ditto.
6720
6721         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6722         (elmo-cache-collect-sub-directories): Ditto.
6723
6724 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-version.el (elmo-version): Up to 2.5.8.
6727
6728         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6729
6730         * elmo-util.el (elmo-list-insert): New function.
6731
6732 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6733
6734         * elmo.el (elmo-init): New function.
6735         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6736
6737         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6738         (Renamed from `elmo-localdir-header-chop-length').
6739
6740         * elmo-pop3.el (elmo-pop3-use-cache,
6741         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6742
6743         * elmo-nntp.el (elmo-message-fetch): Define.
6744         (elmo-message-fetch-unplugged): Ditto.
6745         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6746         (elmo-nntp-use-cache): Ditto.
6747         (elmo-nntp-max-number-precedes-list-active): Ditto.
6748
6749         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6750
6751         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6752         `elmo-msgdb-insert-file-header'.
6753         Use `elmo-msgdb-file-header-chop-length'.
6754
6755         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6756         `elmo-vars.el'.
6757
6758         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6759         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6760         `elmo-msgdb-insert-file-header'.
6761
6762         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6763         Use new variable;
6764         Define obsolete variables with `elmo-define-obsolete-variable',
6765
6766         * elmo-util.el (elmo-warning-buffer-name): New constant.
6767         (elmo-warning): New function.
6768         (elmo-obsolete-variable-alist): New variable.
6769         (elmo-obsolete-variable-show-warnings): New variable.
6770         (elmo-define-obsolete-variable): New function.
6771         (elmo-resque-obsolete-variable): Ditto.
6772         (elmo-resque-obsolete-variables): Ditto.
6773
6774 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6777         Eliminated.
6778
6779         * elmo-pop3.el, elmo-nntp.el: Use custom.
6780
6781 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6782
6783         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6784         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6785
6786 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6787
6788         * Luna-fy Kenichi OKADA's following changes.
6789         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6790         `nohide'.
6791         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6792
6793 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6794
6795         * elmo-util.el (elmo-display-progress): Prefer
6796         `progress-feedback-with-label' to `lprogress-display'.
6797
6798 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6799
6800         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6801
6802 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6803
6804         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6805         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6806         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6807         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6808         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6809         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6810         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6811         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6812         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6813         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6814         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6815         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6816         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6817
6818 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6819
6820         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6821         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6822
6823 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6824
6825         * elmo.el (elmo-folder-process-crosspost): New generic method.
6826         (elmo-folder-writable-p): Ditto.
6827         (elmo-folder-message-appendable-p): Eliminated.
6828         (elmo-generic-folder-append-msgdb): Rewrite.
6829         (elmo-newsgroups-hashtb): New internal variable.
6830         (elmo-crosspost-message-set): Eliminated.
6831         (elmo-crosspost-message-delete): Ditto.
6832         (elmo-setup-subscribed-newsgroups): New function.
6833         (elmo-crosspost-message-alist-modified): New internal variable.
6834         (elmo-crosspost-message-alist-load): New function (Renamed from
6835         `wl-crosspost-alist-load').
6836         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6837         `wl-crosspost-alist-save').
6838
6839         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6840
6841         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6842         `unreads'.
6843         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6844         elmo-newsgroups-hashtb).
6845         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6846         `elmo-nntp-folder-update-crosspost-message-alist'.
6847         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6848         `elmo-nntp-groups-hashtb'.
6849         (elmo-nntp-make-groups-hashtb): Eliminated.
6850         (elmo-nntp-parse-newsgroups): New function (Renamed from
6851         `wl-parse-newsgroups').
6852         (elmo-folder-creatable-p, elmo-folder-writable-p,
6853         elmo-folder-close-internal, elmo-folder-mark-as-read,
6854         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6855         Define.
6856         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6857
6858         * elmo-net.el (elmo-message-fetch): Check buffer size.
6859
6860         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6861
6862         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6863
6864         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6865         before `close' command.
6866
6867         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6868         `mark-alist' (All other related portions are changed).
6869
6870 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6871
6872         * elmo-util.el (elmo-create-hash-size): Eliminated.
6873         (elmo-make-hash) Make a hash with `one less than a power of two'
6874         length.
6875
6876         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6877         (elmo-hash-maximum-size): Changed value.
6878
6879 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6880
6881         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6882         (elmo-mime-message-display-as-is): Ditto.
6883
6884 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6885
6886         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6887         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6888
6889 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6890
6891         * elmo-mark.el: New file.
6892
6893         * elmo-internal.el: Rewrite (Almost empty).
6894
6895 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6896
6897         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6898         (mime-imap-entity-header-string): Ditto.
6899         (mmimap-entity-section): Rewrite.
6900
6901 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6902
6903         * elmo-nmz.el: New file.
6904
6905         * elmo-pipe.el: Rewrite with luna.
6906
6907 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6908
6909         * elmo-archive.el: Rewrite with luna.
6910
6911         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6912         (elmo-folder-list-importants-internal): Ditto.
6913
6914 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-archive.el (elmo-archive-version): Abolish.
6917         (toplevel) Removed `boso' comment.
6918
6919 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6920
6921         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6922         elmo-msgdb-add-msgs-to-seen-list-subr;
6923         Changed argument seen-marks to unread-marks.
6924
6925         * elmo-nntp.el: Rewrite with luna.
6926
6927 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6928
6929         * elmo-filter.el: Rewrite with luna.
6930
6931 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6932
6933         * elmo-pop3.el: Rewrite with luna.
6934
6935 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6936
6937         * elmo-multi.el: Rewrite with luna.
6938
6939         * elmo-vars.el (elmo-use-killed-list): Abolish.
6940         All other related portions are changed.
6941         (elmo-filename-replace-string-alist): Renamed from
6942         elmo-msgid-replace-string-alist.
6943
6944 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6947
6948         * elmo-map.el: New file.
6949         * elmo-maildir.el: Rewrite with luna.
6950
6951 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6952
6953         * elmo.el: Changed meaning of `elmo-folder-commit'.
6954         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6955
6956 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6957
6958         * elmo.el (elmo-folder-append-buffer): New function.
6959         (Renamed from `elmo-append-msg')
6960
6961 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6962
6963         * elmo-mime.el: New file.
6964
6965 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6966
6967         * elmo-cache.el: Rewrite.
6968
6969 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6970
6971         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6972
6973 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo-vars.el (elmo): New group.
6976         (elmo-strict-diff-folder-regexp): New variable.
6977
6978         * elmo-util.el (elmo-call-func): Abolish.
6979         (elmo-folder-get-type): Ditto.
6980         (elmo-*-get-spec): Ditto.
6981         (elmo-*-spec-*): Ditto.
6982         (elmo-imap4-identical-name-space-p): Ditto.
6983         (elmo-folder-identical-system-p): Ditto.
6984         (elmo-folder-direct-copy-alist): Ditto.
6985         (elmo-folder-direct-copy-p): Ditto.
6986
6987         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6988         (elmo-folder-initialize): Define.
6989         (elmo-folder-get-primitive-list): Ditto.
6990
6991         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6992         (elmo-folder-initialize): Define.
6993         Renamed `elmo-network-session-host-internal' to
6994         `elmo-network-session-server-internal'.
6995
6996         * elmo-multi.el (elmo-multi-folder): New luna class.
6997         (elmo-folder-initialize): Define.
6998         (elmo-folder-get-primitive-list): Ditto.
6999         (elmo-folder-contains-type): Ditto.
7000         (elmo-message-use-cache-p): Ditto.
7001
7002         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7003         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7004
7005         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7006         (elmo-folder-initialize): Define.
7007
7008         * elmo-filter.el (elmo-filter-folder): New luna class.
7009         (elmo-folder-initialize): Define.
7010         (elmo-folder-get-primitive-list): Ditto.
7011         (elmo-folder-contains-type): Ditto.
7012
7013 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7014
7015         * elmo-imap4.el: Rewrite with luna.
7016
7017         * mmimap.el: New file.
7018
7019         * mmelmo.el, mmelmo-imap4.el: Removed.
7020
7021         * elmo-net.el: Ditto.
7022
7023         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7024         (elmo-folder-initialize): Define.
7025
7026         * elmo-archive.el (elmo-archive-folder): New luna class.
7027         (elmo-folder-initialize): Define.
7028
7029         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7030         `elmo-folder-msgdb-path'.
7031         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7032         `elmo-make-folder'.
7033
7034 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7035
7036         * elmo.el: New file.
7037
7038         * elmo2.el: Renamed to elmo.el.
7039
7040 \f
7041 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7042
7043         * elmo-cache.el (elmo-cache-expire-by-size): Count
7044         a disk usage for a cache file entry in KB even when
7045         its kind is a directory.
7046
7047 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7048
7049         * elmo-version.el (elmo-version): Up to 2.5.7.
7050
7051 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7052
7053         * elmo-version.el (elmo-version): Up to 2.5.6.
7054
7055 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7056
7057         * elmo-version.el (elmo-version): Up to 2.5.5.
7058
7059 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7060
7061         * elmo-imap4.el (elmo-network-authenticate-session):
7062         Fixed a logic for response checking.
7063
7064 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7065
7066         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7067         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7068         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7069         `sasl-mechanisms'.
7070
7071         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7072         for `starttls-open-stream' and `starttls-negotiate'.
7073
7074         * elmo-nntp.el: Remove autoload settings for
7075         `starttls-open-stream' and `starttls-negotiate'.
7076
7077         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7078         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7079         `luna-define-class' with `eval-and-compile'.
7080
7081 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7082
7083         * elmo-util.el (elmo-read-search-condition-internal):
7084         Require an element of table for searching field.
7085
7086 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7087
7088         * elmo-version.el (elmo-version): Up to 2.5.4.
7089
7090 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7091
7092         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7093
7094 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7095
7096         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7097
7098 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7099
7100         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7101         before greeting.
7102
7103 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7104
7105         * elmo-imap4.el (elmo-imap4-delete-folder):
7106         Send "close" before "delete" (Use commented out line).
7107         (elmo-imap4-rename-folder): Ditto.
7108
7109         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7110         folder string itself.
7111         (elmo-dop-list-deleted): New function.
7112         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7113         killed.
7114
7115         * elmo-util.el (elmo-string-rassoc-all): New function.
7116
7117 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7118
7119         * elmo-version.el (elmo-version): Up to 2.5.3.
7120
7121         * elmo-net.el (elmo-network-get-session): Changed logic for
7122         checking process status.
7123
7124         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7125         process is nil;
7126         Changed logic for checking process status.
7127
7128 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7129
7130         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7131         before greeting.
7132         (elmo-network-setup-session): Set UIDL hash size according to
7133         the length of list response.
7134         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7135         according to the length of list response;
7136         Return the length of list response.
7137         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7138
7139 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7140
7141         * elmo-imap4.el (toplevel): Require 'ssl.
7142         Add autoload 'starttls.
7143         * elmo-pop3.el (toplevel): Ditto.
7144         * elmo-nntp.el (toplevel): Ditto.
7145
7146 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7147
7148         * elmo-imap4.el (toplevel): defun at compile time.
7149         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7150         sasl-next-step, sasl-step-data, sasl-step-set-data.
7151         * elmo-pop3.el (toplevel): Ditto.
7152
7153 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7154
7155         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7156
7157 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7158
7159         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7160         if error.
7161         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7162         and `elmo-pop-auth-apop'.
7163
7164 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7165
7166         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7167
7168 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7169
7170         * elmo-pop3.el (elmo-network-authenticate-session): Split
7171         encoded response value.
7172
7173 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7174
7175         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7176         `elmo-pop3-force-login'.
7177         Redefine `sasl-mechanisms'.
7178         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7179
7180 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7181
7182         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7183         Delete `elmo-imap4-authenticator-alist'.
7184         (elmo-imap4-auth-cram-md5): Delete.
7185         (elmo-imap4-auth-digest-md5): Delete.
7186
7187 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7188
7189         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7190         (elmo-pop3-auth-scram-md5): Ditto.
7191         (elmo-pop3-auth-cram-md5): Ditto.
7192
7193 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7194
7195         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7196         Delete `elmo-pop3-authenticator-alist'.
7197
7198 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7199
7200         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7201         new SASL API.
7202         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7203
7204 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7207
7208 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7209
7210         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7211         Fixed problem when `elmo-pop3-use-uidl' is nil.
7212         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7213
7214 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7215
7216         * elmo-version.el (elmo-version): Up to 2.5.2.
7217
7218 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7219
7220         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7221         New function.
7222         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7223         (elmo-pop3-msgdb-create-as-numlist): Use it.
7224
7225         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7226         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7227
7228         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7229         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7230
7231 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7232
7233         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7234         when elmo-mark-as-read is called with second argument nil.
7235
7236 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7237
7238         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7239         Moved to elmo-util.el.
7240
7241         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7242         Moved from elmo-pipe.el
7243
7244         * elmo-archive.el (elmo-archive-call-process): Enclose with
7245         static-if.
7246
7247         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7248         "RFC822" (because RFC822.PEEK is obsolete).
7249         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7250
7251 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7252
7253         * elmo-archive.el (elmo-archive-call-process): Don't check for
7254         the exit status when Nemacs is running.
7255
7256 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7257
7258         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7259         'plain.
7260
7261         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7262         (elmo-pop3-get-spec): Set default of auth to 'user.
7263
7264         * elmo-imap4.el (elmo-imap4-session-check):
7265         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7266         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7267         (elmo-imap4-auth-login): New function; Revival.
7268         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7269         `elmo-imap4-auth-login'.
7270
7271 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7272
7273         * elmo2.el (toplevel): Move `product-provide' declare.
7274         * mmelmo.el (toplevel): Ditto.
7275
7276 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7277
7278         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7279
7280 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7281
7282         * elmo-util.el (elmo-folder-get-store-type): New function.
7283         (elmo-folder-direct-copy-p): Use it.
7284
7285 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7286
7287         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7288         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7289         and result of `elmo-imap4-use-flag-p'.
7290         (elmo-imap4-fetch-callback-1): Set mark according to
7291         the result of `elmo-imap4-use-flag-p'.
7292
7293 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7294
7295         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7296         (elmo-generic-list-folder-unread): Ditto.
7297         (elmo-folder-get-info): Ditto.
7298         (elmo-folder-set-info-max-by-numdb): Ditto.
7299         (elmo-folder-get-info-max): Ditto.
7300         (elmo-folder-get-info-length): Ditto.
7301         (elmo-folder-get-info-unread): Ditto.
7302         (elmo-folder-info-make-hashtb): Ditto.
7303
7304         * elmo2.el: Removed above functions.
7305
7306 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7307
7308         * elmo-imap4.el (toplevel): Require 'ssl.
7309         Add autoload 'starttls.
7310         * elmo-pop3.el (toplevel): Ditto.
7311         * elmo-nntp.el (toplevel): Ditto.
7312
7313 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7314
7315         * elmo-imap4.el (toplevel): defun at compile time.
7316         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7317         sasl-next-step, sasl-step-data, sasl-step-set-data.
7318         * elmo-pop3.el (toplevel): Ditto.
7319
7320 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7321
7322         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7323
7324 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7325
7326         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7327         if error.
7328         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7329         and `elmo-pop-auth-apop'.
7330
7331 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7332
7333         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7334
7335 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7336
7337         * elmo-pop3.el (elmo-network-authenticate-session): Split
7338         encoded response value.
7339
7340 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7341
7342         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7343         `elmo-pop3-force-login'.
7344         Redefine `sasl-mechanisms'.
7345         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7346
7347 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7348
7349         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7350         Delete `elmo-imap4-authenticator-alist'.
7351         (elmo-imap4-auth-cram-md5): Delete.
7352         (elmo-imap4-auth-digest-md5): Delete.
7353
7354 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7355
7356         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7357         (elmo-pop3-auth-scram-md5): Ditto.
7358         (elmo-pop3-auth-cram-md5): Ditto.
7359
7360 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7361
7362         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7363         Delete `elmo-pop3-authenticator-alist'.
7364
7365 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7366
7367         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7368         new SASL API.
7369         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7370
7371 \f
7372 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7373
7374         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7375
7376 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7377
7378         * elmo-nntp.el (elmo-nntp-get-folders-info):
7379         Fixed problem when '\' character is contained in user-id.
7380         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7381
7382 \f
7383 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7384
7385         * elmo-imap4.el (elmo-imap4-delete-folder):
7386         Send "close" before "delete" (Use commented out line).
7387         (elmo-imap4-rename-folder): Ditto.
7388
7389         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7390         folder string itself.
7391         (elmo-dop-list-deleted): New function.
7392         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7393         killed.
7394
7395         * elmo-util.el (elmo-string-rassoc-all): New function.
7396
7397         * elmo-version.el (elmo-version): Up to 2.5.1.
7398
7399 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7400
7401         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7402
7403         * elmo-internal.el (elmo-internal-search): Fix last change.
7404
7405 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7406
7407         * elmo-internal.el (elmo-internal-search): Rewrite.
7408         (Fixed problem which is pointed out by Akihiro MOTOKI
7409         <motoki@da.jp.nec.com>)
7410
7411         * elmo-version.el (elmo-version): Up to 2.5.0.
7412
7413 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7414
7415         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7416
7417 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7418
7419         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7420         non-nil, make hierarchy.
7421
7422 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7423
7424         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7425         `elmo-pop3-use-uidl' must be bound to nil.
7426         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7427
7428 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7429
7430         * elmo-util.el (elmo-copy-file): Don't cause an error after
7431         `add-name-to-file' failed.
7432
7433         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7434         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7435
7436 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7437
7438         * elmo-version.el (elmo-version): Up to 2.3.93.
7439
7440 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7441
7442         * elmo-util.el (elmo-flatten): New function.
7443
7444 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7445
7446         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7447         sync Author header.
7448         * elmo-cache.el (toplevel): Ditto.
7449         * elmo-database.el (toplevel): Ditto.
7450         * elmo-date.el (toplevel): Ditto.
7451         * elmo-dop.el (toplevel): Ditto.
7452         * elmo-filter.el (toplevel): Ditto.
7453         * elmo-imap4.el (toplevel): Ditto.
7454         * elmo-internal.el (toplevel): Ditto.
7455         * elmo-localdir.el (toplevel): Ditto.
7456         * elmo-localnews.el (toplevel): Ditto.
7457         * elmo-maildir.el (toplevel): Ditto.
7458         * elmo-msgdb.el (toplevel): Ditto.
7459         * elmo-multi.el (toplevel): Ditto.
7460         * elmo-net.el (toplevel): Ditto.
7461         * elmo-nntp.el (toplevel): Ditto.
7462         * elmo-pipe.el (toplevel): Ditto.
7463         * elmo-pop3.el (toplevel): Ditto.
7464         * elmo-util.el (toplevel): Ditto.
7465         * elmo-vars.el (toplevel): Ditto.
7466         * elmo2.el (toplevel): Ditto.
7467         * mmelmo-imap4.el (toplevel): Ditto.
7468         * mmelmo.el (toplevel): Ditto.
7469
7470         * elmo-version.el (elmo-version): Move to top.
7471
7472         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7473         * elmo-imap4.el (toplevel): Ditto.
7474         * elmo-localdir.el (toplevel): Ditto.
7475         * elmo-msgdb.el (toplevel): Ditto.
7476         * elmo-nntp.el (toplevel): Ditto.
7477         * elmo-pop3.el (toplevel): Ditto.
7478         * elmo-version.el (toplevel): Ditto.
7479
7480         * elmo-localnews.el (toplevel): Added Keyword header.
7481
7482 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7483
7484         * elmo-version.el (product-version-as-string): Defined using
7485         `defun-maybe'.
7486         (toplevel): Use it.
7487
7488         * elmo-localdir.el (toplevel): Updated copyright notice.
7489         * elmo-version.el (toplevel): Ditto.
7490         * elmo-msgdb.el (toplevel): Ditto.
7491         * elmo-imap4.el (toplevel): Ditto.
7492         * elmo-nntp.el (toplevel): Ditto.
7493         * elmo-pop3.el (toplevel): Ditto.
7494
7495 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7496
7497         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7498         messages.
7499
7500         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7501         parameter value (It sometimes contains raw kanji).
7502
7503 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7504
7505         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7506         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7507
7508 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7509
7510         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7511
7512 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7513
7514         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7515         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7516
7517 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7518
7519         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7520         value if selecting folder succceeded.
7521         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7522
7523 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7524
7525         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7526         representation.
7527
7528         * elmo-util.el (elmo-string-matched-member): New function.
7529
7530 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7531
7532         * elmo-util.el (elmo-unintern): New macro.
7533         (elmo-number-set-member): Fixed docstring.
7534
7535         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7536         tag token.
7537
7538 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7539
7540         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7541         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7542
7543 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7544
7545         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7546         `no-error'.
7547         Added docstring.
7548         Return non-nil if selecting folder succeeded.
7549         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7550
7551 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7552
7553         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7554         `file-name-completion' returns t.
7555         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7556         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7557         directory if it does not exist.
7558         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7559         for iteration.
7560
7561 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7562
7563         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7564         enclosure (It's harmful in unplugged status).
7565
7566         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7567
7568         * mmelmo-1.el: Removed.
7569
7570         * mmelmo-2.el: Ditto.
7571
7572         * mmelmo-imap4-1.el: Ditto.
7573
7574         * mmelmo-imap4-2.el: Ditto.
7575
7576         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7577
7578         * mmelmo.el: Merged mmelmo-2.el.
7579
7580         * elmo-version.el (elmo-version): Up to 2.3.92.
7581
7582 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7583
7584         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7585         elmo-update-number): Remove last period in "...done." message.
7586         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7587         Ditto.
7588         * elmo-cache.el (elmo-cache-expire-by-size,
7589         elmo-cache-get-sorted-cache-file-list,
7590         elmo-cache-msgdb-create-as-numlist): Ditto.
7591         * elmo-dop.el (elmo-dop-save-pending-messages,
7592         (elmo-dop-flush-pending-append-operations): Ditto.
7593         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7594         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7595         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7596         (elmo-localdir-pack-number): Ditto.
7597         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7598         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7599         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7600         mime-write-entity-content): Ditto.
7601         * pldap.el (ldap-search-basic): Ditto.
7602
7603 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7604
7605         * elmo-version.el (elmo-version): Up to 2.3.91.
7606
7607         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7608         Only when filter is 'last'.
7609
7610         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7611         (elmo-condition-parse-search-value): Use it.
7612         (elmo-read-search-condition-internal): Quote value only when
7613         it is not an atom.
7614
7615 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7616
7617         * elmo2.el (elmo-generic-folder-diff): Fix.
7618
7619 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7620
7621         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7622         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7623         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7624         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7625         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7626         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7627
7628 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7629
7630         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7631         extra-fields.
7632
7633 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7634
7635         * elmo-version.el (elmo-version): Up to 2.3.90.
7636
7637         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7638         (elmo-imap4-list-folder-important): Ditto.
7639
7640 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7641
7642         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7643
7644 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7645
7646         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7647
7648 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7649
7650         * elmo-nntp.el (elmo-network-initialize-session):
7651         Add starttls negotiation.
7652
7653 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7654
7655         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7656         response.
7657         (elmo-network-setup-session): Define.
7658         Call `elmo-nntp-send-mode-reader' when session opened.
7659
7660 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7661
7662         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7663
7664 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7665
7666         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7667         an invalid SPACE character ahead of `SEARCH' command.  Move
7668         a valid SPACE character following `SEARCH' from conditional
7669         `format' arguments to control-strings.
7670
7671 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7672
7673         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7674         was succeeded.
7675
7676         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7677
7678 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7679
7680         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7681         `w32-get-true-file-link-count' as t.
7682
7683         * elmo-imap4.el (elmo-imap4-read): Abolished.
7684         (Renamed to `elmo-read' and moved to elmo-util.el)
7685         All other related portions are changed.
7686
7687         * elmo-util.el (elmo-read): New function.
7688         (elmo-condition-parse-search-value): Use it.
7689
7690 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7691
7692         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7693
7694         * elmo-nntp.el (elmo-nntp-session): Define.
7695         (elmo-nntp-setting): Abolished.
7696         All other related portions are changed.
7697         (elmo-nntp-get-server-command): Changed argument.
7698         (elmo-nntp-set-server-command): Ditto.
7699         (elmo-nntp-xover-p): Ditto.
7700         (elmo-nntp-set-xover): Ditto.
7701         (elmo-nntp-listgroup-p): Ditto.
7702         (elmo-nntp-set-listgroup): Ditto.
7703         (elmo-nntp-list-active-p): Ditto.
7704         (elmo-nntp-set-list-active): Ditto.
7705         (elmo-nntp-xhdr-p): Ditto.
7706         (elmo-nntp-set-xhdr): Ditto.
7707         (elmo-nntp-flush-connection): Abolished.
7708         (elmo-nntp-get-connection): Abolished.
7709         (elmo-nntp-get-session): New function.
7710         (elmo-network-initialize-session): Defined.
7711         (elmo-network-authenticate-session): Ditto.
7712         (elmo-nntp-send-mode-reader): Changed argument.
7713         (elmo-nntp-send-command): Changed argument.
7714         All other related portions are changed.
7715         (elmo-nntp-read-response): Ditto.
7716         (elmo-nntp-read-raw-response): Ditto.
7717         (elmo-nntp-read-contents): Ditto.
7718         (elmo-nntp-read-body): Ditto.
7719         (elmo-nntp-goto-folder): Abolished.
7720         (elmo-nntp-select-group): New function.
7721         All other related portions are changed.
7722         (This function substitutes `elmo-nntp-goto-folder')
7723         (elmo-nntp-msgdb-create-by-header): Rewrite.
7724         (elmo-nntp-get-overview): Eliminated.
7725         (elmo-nntp-get-message): Ditto.
7726         (elmo-nntp-open-connection) Abolished.
7727         (elmo-nntp-read-msg): Rewrite.
7728         (elmo-nntp-post): Ditto.
7729         (elmo-nntp-send-data): Abolished.
7730         (elmo-nntp-send-buffer): New function.
7731         (elmo-nntp-send-data-line): Define as inline function.
7732         (elmo-nntp-get-folders-info-prepare): Use session as key.
7733         (elmo-nntp-groups-read-response): Changed argument.
7734         (elmo-nntp-retrieve-headers): Ditto.
7735         (elmo-nntp-msgdb-create-message): Ditto.
7736
7737         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7738         when searching by 'since' or 'before'.
7739
7740 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7741
7742         * elmo-version.el (toplevel): Use product-version-as-string for set
7743         verstion-string, if defined.
7744
7745 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7746
7747         * elmo-util.el: Doc fixes.
7748
7749 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7750
7751         * elmo-archive.el (toplevel): Use product-provide.
7752         * elmo-cache.el (toplevel): Ditto.
7753         * elmo-database.el (toplevel): Ditto.
7754         * elmo-date.el (toplevel): Ditto.
7755         * elmo-dop.el (toplevel): Ditto.
7756         * elmo-filter.el (toplevel): Ditto.
7757         * elmo-imap4.el (toplevel): Ditto.
7758         * elmo-internal.el (toplevel): Ditto.
7759         * elmo-localdir.el (toplevel): Ditto.
7760         * elmo-localnews.el (toplevel): Ditto.
7761         * elmo-maildir.el (toplevel): Ditto.
7762         * elmo-msgdb.el (toplevel): Ditto.
7763         * elmo-multi.el (toplevel): Ditto.
7764         * elmo-net.el (toplevel): Ditto.
7765         * elmo-nntp.el (toplevel): Ditto.
7766         * elmo-pipe.el (toplevel): Ditto.
7767         * elmo-pop3.el (toplevel): Ditto.
7768         * elmo-util.el (toplevel): Ditto.
7769         * elmo-vars.el (toplevel): Ditto.
7770         * elmo2.el (toplevel): Ditto.
7771         * mmelmo-1.el (toplevel): Ditto.
7772         * mmelmo-2.el (toplevel): Ditto.
7773         * mmelmo-imap4-1.el (toplevel): Ditto.
7774         * mmelmo-imap4-2.el (toplevel): Ditto.
7775         * mmelmo-imap4.el (toplevel): Ditto.
7776         * mmelmo.el (toplevel): Ditto.
7777
7778 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7779
7780         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7781         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7782
7783 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7784
7785         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7786         before splitting.
7787         (elmo-multi-split-number-alist): Ditto.
7788
7789 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7790
7791         * elmo-version.el: New file.  Use product.el.
7792         * elmo2.el: Add (require 'elmo-version).
7793         * elmo-vars.el (elmo-appname, elmo-version): Move to
7794         elmo-version.el
7795
7796 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7797
7798         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7799         `elmo-msgdb-expand-path'.
7800         (elmo-msgdb-load): Ditto.
7801         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7802         (elmo-generic-list-folder-unread): Rewrite.
7803         (elmo-generic-list-folder-important): Changed argument.
7804         (elmo-list-folder-unread): Ditto.
7805         (elmo-list-folder-important): Ditto.
7806         (elmo-folder-diff): Rewrite.
7807         (elmo-generic-folder-diff): New function.
7808         (elmo-multi-get-number-alist-list): Abolished
7809         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7810         (elmo-multi-folder-diff): Moved to elmo-multi.el
7811         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7812
7813         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7814         `elmo-msgdb-expand-path'.
7815         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7816         (elmo-pop3-read-msg): Ditto.
7817         (elmo-pop3-delete-msgs): Ditto.
7818         (elmo-pop3-folder-diff): New alias.
7819
7820         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7821         `elmo-msgdb-expand-path'.
7822         (elmo-pipe-list-folder-unread): Changed arguments.
7823         (elmo-pipe-list-folder-important): Ditto.
7824         (elmo-pipe-folder-diff): New alias.
7825
7826         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7827         `elmo-msgdb-expand-path'.
7828         (elmo-nntp-max-of-folder): Ditto.
7829         (elmo-nntp-msgdb-create): Ditto.
7830         (elmo-nntp-delete-msgs): Ditto.
7831         (elmo-nntp-folder-diff): New alias.
7832
7833         * elmo-multi.el (elmo-multi-folder-diff): New function.
7834         (elmo-multi-split-mark-alist): Ditto.
7835         (elmo-multi-split-number-alist): Ditto.
7836         (elmo-multi-mark-alist-list): Abolished (Renamed to
7837         elmo-multi-split-mark-alist).
7838         (elmo-multi-list-folder-unread): Rewrite.
7839         (elmo-multi-list-folder-important): Ditto.
7840         (elmo-multi-list-folder): Set `spec' as 1st argument for
7841         `elmo-msgdb-expand-path'.
7842         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7843         instead of `elmo-multi-get-number-alist-list'.
7844
7845         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7846         If 1st argument is not string, treat as spec.
7847         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7848         `elmo-msgdb-expand-path'.
7849         (elmo-msgdb-flist-load): Ditto.
7850         (elmo-msgdb-flist-save): Ditto.
7851         (elmo-msgdb-delete-path): Ditto.
7852         (elmo-msgdb-rename-path): Ditto.
7853
7854         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7855         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7856         (elmo-maildir-delete-mark-msgs): Ditto.
7857         (elmo-maildir-msgdb-create): Ditto.
7858         (elmo-maildir-read-msg): Ditto.
7859         (elmo-maildir-delete-msgs): Ditto.
7860         (elmo-maildir-list-folder-subr): Ditto.
7861         (elmo-maildir-search): Ditto.
7862         (elmo-maildir-get-msg-filename): Ditto.
7863         (elmo-maildir-pack-number): Ditto.
7864         (elmo-maildir-folder-diff): New alias.
7865
7866         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7867
7868         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7869         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7870         (elmo-localdir-folder-diff): New alias.
7871
7872         * elmo-internal.el (elmo-internal-list-folder-subr):
7873         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7874         (elmo-internal-list-folder-by-location): Ditto.
7875         (elmo-internal-msgdb-create): Ditto.
7876         (elmo-internal-delete-msgs): Ditto.
7877         (elmo-internal-read-msg): Ditto.
7878         (elmo-internal-folder-diff): New alias.
7879
7880         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7881         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7882         `elmo-msgdb-expand-path'.
7883         (elmo-imap4-list-folder-unread): Changed arguments.
7884         (elmo-imap4-list-folder-important): Ditto.
7885
7886         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7887         (elmo-filter-list-folder-important): Ditto.
7888         (elmo-filter-folder-diff): New function.
7889
7890         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7891
7892         * elmo-cache.el (elmo-cache-list-folder):
7893         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7894         (elmo-cache-copy-msgs): Ditto.
7895         (elmo-cache-folder-diff): New alias.
7896
7897         * elmo-archive.el (elmo-archive-list-folder-subr):
7898         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7899         (elmo-archive-get-archive-name): Ditto.
7900         (elmo-archive-create-file): Ditto.
7901         (elmo-archive-append-msg): Ditto.
7902         (elmo-archive-copy-msgs): Ditto.
7903         (elmo-archive-copy-msgs-froms): Ditto.
7904         (elmo-archive-get-msg-filename): Ditto.
7905         (elmo-archive-folder-diff): New alias.
7906
7907 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7908
7909         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7910         (elmo-pop3-stream-type-alist): New variable.
7911         (elmo-nntp-stream-type-alist): New variable.
7912
7913         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7914         (elmo-kill-buffer): Ditto.
7915         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7916         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7917         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7918         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7919         (elmo-imap4-get-spec): Take into account
7920         `elmo-imap4-stream-type-alist'.
7921
7922 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7923
7924         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7925         (elmo-nntp-list-folders-get-cache): Ditto.
7926
7927 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7928
7929         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7930         character before 'uid'.
7931
7932 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7933
7934         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7935
7936         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7937
7938         * elmo-util.el (elmo-number-set-member): New function.
7939         (elmo-number-set-append-list): Ditto.
7940         (elmo-number-set-append): Ditto.
7941
7942         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7943         Use `elmo-number-set-member'.
7944         (elmo-living-messages): Ditto.
7945         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7946         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7947
7948         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7949         (elmo-imap4-add-to-cont-list): Abolished.
7950         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7951         instead of elmo-imap4-add-to-cont-list.
7952
7953         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7954         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7955
7956         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7957
7958 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7959
7960         * elmo-util.el (elmo-condition-parse-search-value):
7961         Fixed date parsing.
7962
7963 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7964
7965         * elmo-util.el (elmo-condition-find-key-internal): New function.
7966         (elmo-condition-find-key): Ditto.
7967
7968         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7969         (elmo-msgdb-search-internal): Ditto.
7970         (elmo-msgdb-search): Ditto.
7971
7972 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7973
7974         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7975         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7976
7977         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7978         (elmo-nntp-search-primitive): Fixed problem when condition is
7979         'unmatch'.
7980
7981         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7982
7983         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7984         (elmo-nntp-xhdr-p): New macro.
7985         (elmo-nntp-set-xhdr): Ditto.
7986         (elmo-nntp-parse-xhdr-response): New function.
7987         (elmo-nntp-retrieve-field): Ditto.
7988         (elmo-nntp-search-primitive): Ditto.
7989         (elmo-nntp-search): Implemented.
7990
7991         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7992
7993         * elmo-archive.el (elmo-archive-search): Set all number list to
7994         `elmo-archive-field-condition-match'
7995
7996         * elmo-localdir.el (elmo-localdir-search): Likewise.
7997
7998         * elmo-maildir.el (elmo-maildir-search): Likewise.
7999
8000 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8001
8002         * elmo-msgdb.el (elmo-living-messages): New function.
8003         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8004         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8005         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8006         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8007         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8008         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8009         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8010         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8011         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8012         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8013         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8014
8015 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8016
8017         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8018
8019         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8020
8021         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8022
8023         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8024         arguments for `SEARCH' command.
8025         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8026         All other related portions are changed.
8027
8028         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8029
8030         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8031         (elmo-list-folder-unread): Rewrite.
8032         (elmo-list-folder-important): Ditto.
8033
8034         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8035         (elmo-condition-parse-error): New inline function.
8036         (elmo-read-search-condition): New function.
8037         (elmo-read-search-condition-internal): Ditto.
8038         (elmo-parse-search-condition): Rewrite.
8039         (elmo-condition-parse): New function.
8040         (elmo-condition-parse-or-expr): Ditto.
8041         (elmo-condition-parse-and-expr): Ditto.
8042         (elmo-condition-parse-primitive): Ditto.
8043         (elmo-condition-parse-search-value): Ditto.
8044         (elmo-buffer-field-primitive-condition-match): Ditto.
8045         (elmo-buffer-field-condition-match): Rewrite.
8046         (elmo-file-field-condition-match): Ditto.
8047
8048         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8049         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8050
8051         * elmo-internal.el (elmo-internal-search): Set `number' and
8052         `number-list' argument of `elmo-file-field-condition-match'.
8053
8054         * elmo-maildir.el (elmo-maildir-search): Ditto.
8055
8056         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8057         `msgdb' as argument instead of `mark-alist'.
8058         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8059         `overview'.
8060
8061         * elmo-multi.el: Likewise.
8062
8063         * elmo-pipe.el: Likewise.
8064
8065         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8066         (elmo-imap4-search-internal): Rewrite.
8067         (elmo-imap4-search): Ditto.
8068
8069         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8070         (elmo-filter-list-folder-unread): Ditto.
8071         (elmo-filter-list-folder-important): Ditto.
8072         (elmo-filter-search): Rewrite.
8073
8074         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8075         `number-list' argument of `elmo-file-field-condition-match'.
8076         (elmo-cache-search): Ditto.
8077
8078         * elmo-localdir.el: Likewise.
8079
8080         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8081         number-list and pass it to `elmo-buffer-field-condition-match'.
8082         (elmo-archive-field-condition-match): Pass `number-list' to
8083         `elmo-archive-field-condition-match'
8084
8085 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8088         `listgroup'.
8089
8090         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8091         (elmo-folder-diff-async-callback-data): Ditto.
8092         (elmo-folder-diff-async): New function.
8093
8094         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8095         (elmo-network-session-cache-key): Use it as a prefix of the session
8096         name.
8097         (elmo-network-open-session): Ditto.
8098
8099         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8100         (elmo-imap4-status-callback-data): Ditto.
8101         (elmo-imap4-server-diff-async-callback): New variable.
8102         (elmo-imap4-server-diff-async-callback-data): Ditto.
8103         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8104         `elmo-imap4-status-callback-data'.
8105         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8106         `elmo-imap4-status-callback-data' as nil.
8107         (elmo-imap4-server-diff): Ditto.
8108         (elmo-imap4-server-diff-async-callback-1): New function.
8109         (elmo-imap4-server-diff-async): Ditto.
8110         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8111
8112 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8113
8114         * elmo-util.el (elmo-list-delete): Doc fix.
8115         (elmo-delete-lists): Abolish.
8116         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8117         instead of `elmo-delete-lists'.
8118
8119 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8120
8121         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8122         before `sort'.
8123
8124 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8125
8126         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8127         `elmo-imap4-literal-subr'.
8128         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8129         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8130
8131 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8132
8133         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8134         (elmo-archive-list-folder): Fix.
8135         (elmo-archive-max-of-folder): Fix.
8136
8137 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8138
8139         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8140          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8141         (elmo-localdir-append-msg): Ditto.
8142         (elmo-localdir-list-folder): Fix for `nonsort'.
8143         (elmo-localdir-list-folder-subr): Fix for `killed'.
8144         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8145         (elmo-maildir-list-folder-subr): Ditto.
8146         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8147         (elmo-archive-list-folder-subr): Ditto.
8148         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8149         (elmo-internal-list-folder-subr): Ditto.
8150
8151 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8152
8153         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8154
8155 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8156
8157         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8158
8159 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8160
8161         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8162         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8163
8164         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8165         before greeting.
8166         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8167         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8168
8169 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8170
8171         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8172
8173         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8174         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8175         before STORE command.
8176
8177 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8178
8179         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8180
8181         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8182         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8183         of `response'.
8184         (elmo-imap4-list-folders): Removed unused local variable.
8185         (elmo-network-initialize-session): Ditto.
8186         (elmo-imap4-delete-msg-by-id): Ditto.
8187         (elmo-imap4-parse-fetch): Ditto.
8188         (elmo-imap4-copy-msgs): Ditto.
8189         Use `dst-spec' instead of `dst-folder'.
8190         (elmo-network-authenticate-session): Check authenticate type `plain'.
8191
8192 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8193
8194         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8195         garbage checking.
8196         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8197         `elmo-imap4-response-value'.
8198         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8199
8200 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8201
8202         * elmo-imap4.el (elmo-imap4-send-command):
8203         Cause elmo-imap4-bye-error when current response is BYE.
8204         (elmo-imap4-arrival-filter): Changed greeting response value.
8205
8206         * elmo2.el (elmo-imap4-bye-error): Define.
8207
8208         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8209         (elmo-imap4-server-diff): Ditto.
8210         (elmo-imap4-response-bye-p): New macro.
8211         (elmo-imap4-response-error-text): Get text from BYE response.
8212         (elmo-imap4-read-response): Return if BYE response.
8213         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8214         (elmo-imap4-folder-exists-p): Ditto.
8215         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8216         (elmo-imap4-parse-bye): New function.
8217         (elmo-imap4-parse-response): Remove needless let.
8218         Call `elmo-imap4-parse-bye'.
8219
8220 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8221
8222         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8223         the mailbox does not exist.
8224         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8225
8226 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8227
8228         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8229
8230 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8231
8232         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8233
8234         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8235         (elmo-network-initialize-session-buffer): Defined.
8236
8237         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8238         Abolished.
8239         (mmelmo-imap4-get-mime-entity): Rewrite.
8240
8241         * elmo2.el (elmo-error): Capitalize error message.
8242
8243         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8244         (elmo-network-session-buffer): New macro.
8245         (elmo-network-open-session): Use it.
8246
8247         * elmo-imap4.el: Rewrite.
8248
8249 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8250
8251         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8252
8253 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8254
8255         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8256         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8257         (elmo-imap4-create-msgdb-from-overview-string): Use
8258         `elmo-msgdb-create-overview-from-buffer'.
8259
8260 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8261
8262         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8263         (elmo-imap4-default-hierarchy-delimiter): New variable.
8264         (elmo-imap4-list-folders): Use it.
8265
8266 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8267
8268         * elmo-net.el (elmo-network-open-session): Add user and
8269         stream-type for process-buffer name.
8270
8271         * elmo-pop3.el (elmo-network-initialize-session): Call
8272         buffer-disable-undo.
8273
8274         * elmo-imap4.el (elmo-network-initialize-session):
8275         Set current-buffer as an argument for `buffer-disable-undo'.
8276
8277         * elmo-pop3.el (elmo-network-close-session): Don't use
8278         `process-live-p'.
8279
8280         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8281         Set default as 'user.
8282
8283         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8284
8285         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8286         and `elmo-imap4-flush-connection'.
8287
8288         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8289         (elmo-pop3-get-spec): Assume auth as symbol.
8290         (elmo-open-network-stream): Moved to `elmo-net'.
8291
8292         * elmo-pop3.el (toplevel): Require 'elmo-net.
8293         Define `sasl-cram-md5' to silence byte compilier.
8294         (elmo-pop3-connection-cache) Abolished.
8295         (elmo-pop3-authenticator-alist) New variable.
8296         (elmo-pop3-session): Define.
8297         (elmo-pop3-connection-get-process): Abolished.
8298         (elmo-pop3-connection-get-buffer): Ditto.
8299         (elmo-pop3-close-connection): Ditto.
8300         (elmo-pop3-flush-connection): Ditto.
8301         (elmo-pop3-get-connection): Ditto.
8302         (elmo-pop3-get-session): New function.
8303         (Replacement for `elmo-pop3-get-connection').
8304         All other related modules are changed.
8305         (elmo-network-close-session): Define.
8306         (elmo-pop3-send-command): Abolished argument `buffer'.
8307         All other related modules are changed.
8308         (elmo-pop3-read-response): Likewise.
8309         (elmo-pop3-open-connection): Abolished.
8310         (elmo-pop3-auth-user): New function.
8311         (elmo-pop3-auth-apop): Ditto.
8312         (elmo-pop3-auth-cram-md5): Ditto.
8313         (elmo-pop3-auth-scram-md5): Ditto.
8314         (elmo-pop3-auth-digest-md5): Ditto.
8315         (elmo-network-initialize-session): Define.
8316         (elmo-network-authenticate-session): Ditto.
8317         (elmo-network-setup-session): Ditto.
8318
8319         * elmo-imap4.el (toplevel): Require 'elmo-net.
8320         (elmo-imap4-session): Define.
8321         (elmo-imap4-connection-cache): Abolished.
8322         (elmo-imap4-password-key): Ditto.
8323         (elmo-imap4-flush-connection): Ditto.
8324         (elmo-imap4-get-connection): Ditto.
8325         All other related modules are changed.
8326         (elmo-imap4-get-session): New function
8327         (Replacement for `elmo-imap4-get-connection').
8328         (elmo-imap4-read-response): Abolished argument `buffer'.
8329         All other related modules are changed.
8330         (elmo-imap4-send-command): Likewise.
8331         (elmo-imap4-select-folder): Abolished.
8332         All other related modules are changed.
8333         (elmo-imap4-select-mailbox): New function.
8334         (Replacement for `elmo-imap4-select-folder').
8335         (elmo-imap4-auth-login): Simplify.
8336         (Assume current buffer as process buffer)
8337         (elmo-imap4-auth-cram-md5): Ditto.
8338         (elmo-imap4-auth-digest-md5): Ditto.
8339         (elmo-imap4-login): Ditto.
8340         (elmo-imap4-open-connection): Abolished.
8341         (elmo-imap4-open-connection-1): Abolished.
8342         (elmo-network-initialize-sessoin): Define.
8343         (elmo-network-authenticate-session): Ditto.
8344         (elmo-network-setup-session): Ditto.
8345
8346         * elmo-net.el: New module.
8347
8348 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8349
8350         * elmo-util.el (elmo-define-error): New function.
8351
8352         * elmo2.el (elmo-error): Define.
8353         (elmo-open-error): Define.
8354         (elmo-authenticate-error): Define.
8355
8356         * elmo-imap4.el (elmo-imap4-error): Abolish.
8357         (elmo-imap4-error-type): Abolish.
8358         (elmo-imap4-error-process): Abolish.
8359         (elmo-imap4-error-message): Abolish
8360         (elmo-imap4-list-folders): Don't quote lambda.
8361         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8362         (elmo-imap4-parse-namespace): Ditto.
8363         (elmo-imap4-open-connection): Rewrite.
8364         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8365         (elmo-imap4-get-connection): Abolish local variable `result'.
8366
8367 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8368
8369         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8370         wrong-type-argument error when auth is nil.
8371
8372 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8373
8374         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8375         (elmo-default-nntp-stream-type): Ditto.
8376         (elmo-default-pop3-stream-type): Ditto.
8377         (elmo-network-stream-type-alist): Ditto.
8378         (elmo-default-imap4-ssl): Abolished.
8379         (elmo-default-nntp-ssl): Ditto.
8380         (elmo-default-pop3-ssl): Ditto.
8381
8382         * elmo-util.el: (toplevel): Removed needless requires.
8383         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8384         (elmo-open-network-stream): Open network stream according to
8385         the value of `elmo-network-stream-type-alist'.
8386         (elmo-get-network-stream-type): New function.
8387         (elmo-network-stream-type-spec-string): New macro.
8388         (elmo-network-stream-type-symbol): Ditto.
8389         (elmo-network-stream-type-function): Ditto.
8390
8391         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8392         network-stream-type. All other related portions are changed.
8393         (elmo-pop3-open-connection): Ditto.
8394
8395         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8396         network-stream-type. All other related portions are changed.
8397
8398         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8399         network-stream-type.All other related portions are changed.
8400         (elmo-imap4-error): New macro.
8401         (elmo-imap4-error-type): Ditto.
8402         (elmo-imap4-error-process): Ditto.
8403         (elmo-imap4-error-message): Ditto.
8404         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8405         (elmo-imap4-auth-cram-md5): Ditto.
8406         (elmo-imap4-auth-digest-md5): Ditto.
8407         (elmo-imap4-login): Ditto.
8408         (elmo-imap4-open-connection): Remove password entry if authentication
8409         was in vain.
8410         (elmo-imap4-user-at-host): Abolished.
8411         (elmo-imap4-password-key): New buffer local variable.
8412         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8413         using protocol, port, auth and stream-type.
8414
8415         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8416
8417 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8418
8419         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8420
8421         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8422
8423         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8424         (elmo-imap4-authenticator-alist): New variable.
8425         (elmo-imap4-open-connection-1): Rename from
8426         elmo-imap4-open-connection.
8427         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8428         only wraps elmo-imap4-open-connection-1.
8429         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8430         user-at-host.
8431         (elmo-imap4-auth-login): New function.
8432         (elmo-imap4-auth-cram-md5): New function.
8433         (elmo-imap4-auth-digest-md5): New function.
8434         (elmo-imap4-login): New function.
8435
8436 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8437
8438         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8439         function `error'.
8440
8441 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8442
8443         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8444
8445 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8446
8447         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8448
8449 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8450
8451         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8452         for server responses, quote `*' regardless of where it appears.
8453
8454 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8455
8456         * elmo-maildir.el (elmo-maildir-commit): New alias.
8457
8458 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8459
8460         * elmo-util.el (elmo-display-progress):
8461                 Use `progress-feedback-with-label'.
8462
8463 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8464
8465         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8466         (elmo-imap4-non-atom-char-regex): Ditto.
8467         (elmo-imap4-non-text-char-regex): Ditto.
8468         (elmo-imap4-literal-threshold): Ditto.
8469         (elmo-imap4-atom-p): New function.
8470         (elmo-imap4-quotable-p): Ditto.
8471         (elmo-imap4-nil): Ditto.
8472         (elmo-imap4-atom): Ditto.
8473         (elmo-imap4-quoted): Ditto.
8474         (elmo-imap4-literal-subr): Ditto.
8475         (elmo-imap4-literal): Ditto.
8476         (elmo-imap4-buffer-literal): Ditto.
8477         (elmo-imap4-string-subr): Ditto.
8478         (elmo-imap4-string): Ditto.
8479         (elmo-imap4-buffer-string): Ditto.
8480         (elmo-imap4-astring-subr): Ditto.
8481         (elmo-imap4-astring): Ditto.
8482         (elmo-imap4-buffer-astring): Ditto.
8483         (elmo-imap4-nstring): Ditto.
8484         (elmo-imap4-buffer-nstring): Ditto.
8485         (elmo-imap4-mailbox): New alias.
8486         (elmo-imap4-field-body): Ditto.
8487         (elmo-imap4-userid): Ditto.
8488         (elmo-imap4-password): Ditto.
8489         (elmo-imap4-format-quoted): New function.
8490         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8491         arguments and handle "atom", "quoted" and "literal" string here.
8492         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8493         `elmo-imap4-send-command'.
8494         (elmo-imap4-folder-exists-p): Likewise.
8495         (elmo-imap4-create-folder): Likewise.
8496         (elmo-imap4-delete-folder): Likewise.
8497         (elmo-imap4-rename-folder): Likewise.
8498         (elmo-imap4-max-of-folder): Likewise.
8499         (elmo-imap4-check-validity): Likewise.
8500         (elmo-imap4-sync-validity): Likewise.
8501         (elmo-imap4-server-diff): Likewise.
8502         (elmo-imap4-select-folder): Likewise.
8503         (elmo-imap4-copy-msgs): Likewise.
8504         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8505         (elmo-imap4-mark-set-on-msgs): Likewise.
8506         (elmo-imap4-read-part): Likewise.
8507         (elmo-imap4-read-msg): Likewise.
8508         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8509         `elmo-imap4-password' for `elmo-imap4-send-command'.
8510         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8511         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8512         `elmo-imap4-buffer-literal'.
8513         (elmo-imap4-append-msg): Likewise.
8514
8515         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8516         `delete' for removing dead connection from the connection cache.
8517         Move deletion of the process buffer after that.
8518         (elmo-imap4-list): Change `defsubst' to `defun'.
8519         (elmo-imap4-commit): Make error message verbose.
8520         (elmo-imap4-search): Ditto.
8521         (elmo-imap4-list): Ditto.
8522         (elmo-imap4-select-folder): Ditto.
8523         (elmo-imap4-copy-msgs): Ditto.
8524         (elmo-imap4-delete-msg-by-id): Ditto.
8525         (elmo-imap4-append-msg-by-id): Ditto.
8526         (elmo-imap4-append-msg): Ditto.
8527
8528 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8529
8530         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8531         when dired is used on XEmacs.
8532
8533 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8534
8535         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8536         instead of `append'.
8537         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8538         `elmo-plugged-p' directly.
8539         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8540         of `elmo-plugged-p' directly.
8541
8542         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8543         Eliminate unused variable.  Use `memq' for checking a process status.
8544         Use `cons' instead of `append' for updating the connection cache.
8545         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8546         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8547
8548 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8549
8550         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8551         `elmo-imap4-read-point' exactly.
8552
8553         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8554         the local variable `folder' to `mailbox'.
8555         Rename the argument `fld' to `folder'.
8556
8557 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8558
8559         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8560         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8561
8562 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8563
8564         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8565         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8566         (elmo-pop3-uidl-number-hash): Ditto.
8567         (elmo-pop3-size-hash): Ditto.
8568         (elmo-pop3-uidl-done): Ditto.
8569         (elmo-pop3-list-done): Ditto.
8570         (elmo-pop3-connection-get-process): New defmacro.
8571         (elmo-pop3-connection-get-buffer): Ditto.
8572         (elmo-pop3-close-connection): Delete buffer and process.
8573         (elmo-pop3-flush-connection): Don't delete buffer and process.
8574         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8575         Setup UIDL and size hash.
8576         (elmo-pop3-send-command-no-erase): Deleted
8577         (elmo-pop3-send-command): Added optional argument `no-erase'.
8578         (elmo-pop3-parse-uidl-response): New function.
8579         (elmo-pop3-parse-list-response): Set size hash.
8580         (elmo-pop3-list-location): New function.
8581         (elmo-pop3-list-by-uidl-subr): Ditto.
8582         (elmo-pop3-list-by-list): Ditto.
8583         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8584         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8585         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8586         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8587         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8588         Use uidl.
8589         (elmo-pop3-uidl-to-number): New function.
8590         (elmo-pop3-number-to-uidl): Ditto.
8591         (elmo-pop3-number-to-size): Ditto.
8592         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8593         Set number by use of uidl.
8594         (elmo-pop3-msgdb-create-message): Likewise.
8595         Set size, loc-alist in msgdb.
8596         (elmo-pop3-read-msg): Set number by use of uidl.
8597         Added optional argument `msgdb'.
8598         (elmo-pop3-delete-msg): Ditto.
8599         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8600         (elmo-pop3-commit): Close connection.
8601
8602         * elmo-pipe.el (elmo-pipe-max-of-folder):
8603         Bind `elmo-pop3-use-uidl' as nil.
8604         (elmo-pipe-drain): Ditto.
8605         Call `elmo-commit'.
8606
8607         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8608         (elmo-msgdb-overview-entity-set-size): New defsubst.
8609
8610 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8611
8612         * elmo-vars.el (elmo-use-killed-list): New variable
8613         (Renamed from `elmo-nntp-use-killed-list').
8614         (elmo-nntp-use-killed-list): Eliminated.
8615
8616         * elmo-msgdb.el (elmo-msgdb-expand-path):
8617         Changed expanding msgdb path for elmo-multi.
8618
8619         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8620         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8621         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8622         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8623         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8624         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8625         (toplevel): Deleted time-stamp line.
8626
8627         * elmo2.el (elmo-clear-killed ): Defined as function
8628         (Abolished defining as a backend function).
8629         All other related modules are changed.
8630
8631 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8632
8633         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8634
8635 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8636
8637         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8638
8639 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8640
8641         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8642
8643 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8644
8645         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8646         asynchronous folder check.
8647
8648         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8649
8650         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8651         `elmo-nntp-use-killed-list'.
8652         (elmo-nntp-list-folder): Use killed list.
8653         (elmo-nntp-max-of-folder): Ditto.
8654         (elmo-nntp-msgdb-create): Set killed list.
8655
8656         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8657
8658         * elmo2.el (elmo-clear-killed): New backend function.
8659         All other related modules are changed.
8660
8661 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8662
8663         * elmo-util.el (elmo-imap4-spec-folder): Use
8664         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8665         All callers changed.
8666
8667 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8668
8669         * mmelmo-2.el (initialize-instance):
8670         Use `mime-buffer-entity-buffer-internal' instead of
8671         `mime-entity-buffer'.
8672
8673         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8674         (mime-entity-body): Implemented.
8675         (mime-goto-header-start-point): Deleted.
8676         (mime-goto-body-end-point): Ditto.
8677         (mime-entity-point-min): Ditto.
8678         (mime-entity-point-max): Ditto.
8679         (mime-entity-children): Ditto.
8680         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8681         instead of `mime-entity-buffer'.
8682         (mime-entity-header-buffer): Ditto.
8683         (mime-entity-body-buffer): Ditto.
8684         (mime-write-entity-content): Ditto.
8685
8686         * pldap.el (ldap-static-if): New macro.
8687         (toplevel): Use it instead of `static-if'.
8688
8689 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8690
8691         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8692         included in `attrs' argument.
8693
8694 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8695
8696         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8697
8698         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8699         (ldap-ldif-safe-init-char-regexp): Ditto.
8700         (ldap-ldif-safe-string-regexp): Ditto.
8701         (ldap/ldif-safe-string-p): New macro.
8702         (ldap/ldif-insert-field): Ditto.
8703         (ldap-modify): Use it.
8704         (ldap-add): Ditto.
8705         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8706         (ldap-decode-attribute): Decode only when `attr' is consp.
8707         (ldap-delete): Bind `ret'.
8708         (toplevel): Require 'cl at compile time.
8709         Removed (require 'poe) and (require 'std11).
8710         (pldap-version): Eliminated.
8711         (ldap-search-basic): Removed auth and dn binding.
8712         (ldap-ldif-field-name-regexp): New constant.
8713         (ldap-ldif-field-head-regexp): Ditto.
8714         (ldap-ldif-next-field-head-regexp): Ditto.
8715         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8716         (ldap/field-end): New function.
8717         (ldap/field-body): Use it.
8718         (ldap/collect-field): Ditto.
8719         (ldap-search-basic): Use `ldap/field-body'.
8720
8721 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8722
8723         * pldap.el (ldap-default-attribute-encoder): New user option.
8724         (ldap/field-body): Decode base64 string.
8725         (ldap/collect-field): Ditto.
8726         (ldap-encode-attribute): New function.
8727         (ldap-add-entries): Use it.
8728         (ldap-modify-entries): Ditto.
8729         (ldap-search-entries): Enclosed decoding function with
8730         `with-temp-buffer' and set as unibyte.
8731         (ldap-search-basic): Set process buffer as unibyte.
8732
8733         * elmo-util.el (elmo-folder-identical-system-p):
8734         Eliminated name space checking.
8735
8736         * pldap.el: New module.
8737         toplevel: Changed condition to detect built-in ldap feature.
8738         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8739         (ldap-add): Added error handling.
8740         (ldap-modify): Ditto.
8741         (ldap-delete): Ditto.
8742
8743 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8744
8745         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8746         Initialize local variables with `let'.  Inline a temporary
8747         variable for the progress percentage.  Sort `setq' to reduce
8748         function call in the while-loop.
8749
8750         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8751         into the conditional branch.
8752
8753 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8754
8755         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8756         Move a conditional out of the while-loop.
8757
8758 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8759
8760         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8761         elmo-msgdb-overview-get-entity-by-number.
8762         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8763         throw.
8764
8765 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8766
8767         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8768         the local variable for a packed number self descriptively.
8769
8770 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8771
8772         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8773         * elmo-localdir.el (elmo-localdir-pack-number): Use
8774         `elmo-msgdb-overview-get-entity' instead of
8775         `elmo-msgdb-overview-get-entity-by-number'.
8776         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8777         (elmo-msgdb-search-overview-entity): Removed.
8778         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8779         by message-id or number.
8780         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8781         instead of `elmo-msgdb-overview-get-entity-by-number'.
8782
8783 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8784
8785         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8786         non-nil, use hash table for overview.
8787         (elmo-hash-maximum-size): New variable.
8788         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8789         (elmo-msgdb-make-overview-hashtb): New function.
8790         (elmo-msgdb-clear-overview-hashtb): New function.
8791         (elmo-clear-hash-val): New macro.
8792         All other related modules are changed.
8793
8794 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8795
8796         * elmo2.el (elmo-move-msgs): If there's other message with
8797         same message-id, don't use cache.
8798
8799 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8800
8801         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8802         number is already packed.
8803
8804 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8805
8806         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8807
8808 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8809
8810         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8811         All other related modules are changed.
8812
8813 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8814
8815         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8816         of refiling failure on Maildir.
8817
8818 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8819
8820         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8821         decoded mime-charset with cache.
8822         (elmo-msgdb-overview-entity-get-from): Ditto.
8823         (elmo-msgdb-overview-entity-get-subject): Ditto.
8824         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8825
8826 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8827
8828         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8829         (elmo-remove-passwd): Fill password with 0 before erase.
8830         * elmo-vars.el (elmo-passwd-life-time): New variable.
8831
8832 \f
8833 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8834
8835         * elmo-cache.el (elmo-buffer-cache-add):
8836         Set message cache buffer as unibyte.
8837
8838 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8839
8840         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8841         become nil.
8842
8843 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8844
8845         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8846         when display is finished.
8847         (elmo-nntp-msgdb-create): Ditto.
8848         (elmo-nntp-groups-read-response): Ditto.
8849         (elmo-nntp-retrieve-headers): Ditto.
8850         (elmo-nntp-msgdb-create-message): Ditto.
8851         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8852         (elmo-pop3-msgdb-create-message): Ditto.
8853
8854 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8855
8856         * elmo-maildir.el (elmo-maildir-msgdb-create):
8857         Use `elmo-msgdb-sort-by-date'.
8858
8859 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8860
8861         * elmo2.el (elmo-read-msg-no-cache):
8862         Eliminated arguments after `outbuf'.
8863         Don't use cache even if it exists.
8864         (elmo-read-msg): Don't pass arguments after `outbuf' to
8865         `elmo-read-msg-no-cache'.
8866
8867 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8868
8869         * elmo-archive.el (elmo-archive-list-folders):
8870         Use `file-name-directory' if base folder does not exist.
8871
8872 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8873
8874         * elmo-archive.el (elmo-archive-list-folders): Don't use
8875         `file-name-directory'.
8876
8877 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8878
8879         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8880         If `force' is non-nil, try flushing all operation queues.
8881
8882 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8883
8884         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8885         as-binary-process.
8886
8887 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8888
8889         * elmo-util.el (elmo-display-progress): Fixed.
8890
8891 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8892
8893         * elmo-util.el (elmo-display-progress): New function.
8894         All other related modules are changed.